]> Git Repo - J-linux.git/blob - crypto/testmgr.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.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 <[email protected]>
6  * Copyright (c) 2002 Jean-Francois Dive <[email protected]>
7  * Copyright (c) 2007 Nokia Siemens Networks
8  * Copyright (c) 2008 Herbert Xu <[email protected]>
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 ([email protected])
15  *              Adrian Hoban <[email protected]>
16  *              Gabriele Paoloni <[email protected]>
17  *              Tadeusz Struk ([email protected])
18  *     Copyright (c) 2010, Intel Corporation.
19  */
20 #ifndef _CRYPTO_TESTMGR_H
21 #define _CRYPTO_TESTMGR_H
22
23 #include <linux/oid_registry.h>
24 #include <crypto/internal/ecc.h>
25
26 #define MAX_IVLEN               32
27
28 /*
29  * hash_testvec:        structure to describe a hash (message digest) test
30  * @key:        Pointer to key (NULL if none)
31  * @plaintext:  Pointer to source data
32  * @digest:     Pointer to expected digest
33  * @psize:      Length of source data in bytes
34  * @ksize:      Length of @key in bytes (0 if no key)
35  * @setkey_error: Expected error from setkey()
36  * @digest_error: Expected error from digest()
37  * @fips_skip:  Skip the test vector in FIPS mode
38  */
39 struct hash_testvec {
40         const char *key;
41         const char *plaintext;
42         const char *digest;
43         unsigned int psize;
44         unsigned short ksize;
45         int setkey_error;
46         int digest_error;
47         bool fips_skip;
48 };
49
50 /*
51  * cipher_testvec:      structure to describe a symmetric cipher test
52  * @key:        Pointer to key
53  * @klen:       Length of @key in bytes
54  * @iv:         Pointer to IV.  If NULL, an all-zeroes IV is used.
55  * @iv_out:     Pointer to output IV, if applicable for the cipher.
56  * @ptext:      Pointer to plaintext
57  * @ctext:      Pointer to ciphertext
58  * @len:        Length of @ptext and @ctext in bytes
59  * @wk:         Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
60  *              ( e.g. test needs to fail due to a weak key )
61  * @fips_skip:  Skip the test vector in FIPS mode
62  * @generates_iv: Encryption should ignore the given IV, and output @iv_out.
63  *                Decryption takes @iv_out.  Needed for AES Keywrap ("kw(aes)").
64  * @setkey_error: Expected error from setkey()
65  * @crypt_error: Expected error from encrypt() and decrypt()
66  */
67 struct cipher_testvec {
68         const char *key;
69         const char *iv;
70         const char *iv_out;
71         const char *ptext;
72         const char *ctext;
73         unsigned char wk; /* weak key flag */
74         unsigned short klen;
75         unsigned int len;
76         bool fips_skip;
77         bool generates_iv;
78         int setkey_error;
79         int crypt_error;
80 };
81
82 /*
83  * aead_testvec:        structure to describe an AEAD test
84  * @key:        Pointer to key
85  * @iv:         Pointer to IV.  If NULL, an all-zeroes IV is used.
86  * @ptext:      Pointer to plaintext
87  * @assoc:      Pointer to associated data
88  * @ctext:      Pointer to the full authenticated ciphertext.  For AEADs that
89  *              produce a separate "ciphertext" and "authentication tag", these
90  *              two parts are concatenated: ciphertext || tag.
91  * @novrfy:     If set, this is an inauthentic input test: only decryption is
92  *              tested, and it is expected to fail with either -EBADMSG or
93  *              @crypt_error if it is nonzero.
94  * @wk:         Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
95  *              (e.g. setkey() needs to fail due to a weak key)
96  * @klen:       Length of @key in bytes
97  * @plen:       Length of @ptext in bytes
98  * @alen:       Length of @assoc in bytes
99  * @clen:       Length of @ctext in bytes
100  * @setkey_error: Expected error from setkey().  If set, neither encryption nor
101  *                decryption is tested.
102  * @setauthsize_error: Expected error from setauthsize().  If set, neither
103  *                     encryption nor decryption is tested.
104  * @crypt_error: When @novrfy=0, the expected error from encrypt().  When
105  *               @novrfy=1, an optional alternate error code that is acceptable
106  *               for decrypt() to return besides -EBADMSG.
107  */
108 struct aead_testvec {
109         const char *key;
110         const char *iv;
111         const char *ptext;
112         const char *assoc;
113         const char *ctext;
114         unsigned char novrfy;
115         unsigned char wk;
116         unsigned char klen;
117         unsigned int plen;
118         unsigned int clen;
119         unsigned int alen;
120         int setkey_error;
121         int setauthsize_error;
122         int crypt_error;
123 };
124
125 struct cprng_testvec {
126         const char *key;
127         const char *dt;
128         const char *v;
129         const char *result;
130         unsigned char klen;
131         unsigned short dtlen;
132         unsigned short vlen;
133         unsigned short rlen;
134         unsigned short loops;
135 };
136
137 struct drbg_testvec {
138         const unsigned char *entropy;
139         size_t entropylen;
140         const unsigned char *entpra;
141         const unsigned char *entprb;
142         size_t entprlen;
143         const unsigned char *addtla;
144         const unsigned char *addtlb;
145         size_t addtllen;
146         const unsigned char *pers;
147         size_t perslen;
148         const unsigned char *expected;
149         size_t expectedlen;
150 };
151
152 struct akcipher_testvec {
153         const unsigned char *key;
154         const unsigned char *m;
155         const unsigned char *c;
156         unsigned int key_len;
157         unsigned int m_size;
158         unsigned int c_size;
159         bool public_key_vec;
160 };
161
162 struct sig_testvec {
163         const unsigned char *key;
164         const unsigned char *params;
165         const unsigned char *m;
166         const unsigned char *c;
167         unsigned int key_len;
168         unsigned int param_len;
169         unsigned int m_size;
170         unsigned int c_size;
171         bool public_key_vec;
172         enum OID algo;
173 };
174
175 struct kpp_testvec {
176         const unsigned char *secret;
177         const unsigned char *b_secret;
178         const unsigned char *b_public;
179         const unsigned char *expected_a_public;
180         const unsigned char *expected_ss;
181         unsigned short secret_size;
182         unsigned short b_secret_size;
183         unsigned short b_public_size;
184         unsigned short expected_a_public_size;
185         unsigned short expected_ss_size;
186         bool genkey;
187 };
188
189 static const char zeroed_string[48];
190
191 /*
192  * RSA test vectors. Borrowed from openSSL.
193  */
194 static const struct akcipher_testvec rsa_tv_template[] = {
195         {
196 #ifndef CONFIG_CRYPTO_FIPS
197         .key =
198         "\x30\x82\x01\x38" /* sequence of 312 bytes */
199         "\x02\x01\x00" /* version - integer of 1 byte */
200         "\x02\x41" /* modulus - integer of 65 bytes */
201         "\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
202         "\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5"
203         "\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93"
204         "\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1"
205         "\xF5"
206         "\x02\x01\x11" /* public key - integer of 1 byte */
207         "\x02\x40" /* private key - integer of 64 bytes */
208         "\x0A\x03\x37\x48\x62\x64\x87\x69\x5F\x5F\x30\xBC\x38\xB9\x8B\x44"
209         "\xC2\xCD\x2D\xFF\x43\x40\x98\xCD\x20\xD8\xA1\x38\xD0\x90\xBF\x64"
210         "\x79\x7C\x3F\xA7\xA2\xCD\xCB\x3C\xD1\xE0\xBD\xBA\x26\x54\xB4\xF9"
211         "\xDF\x8E\x8A\xE5\x9D\x73\x3D\x9F\x33\xB3\x01\x62\x4A\xFD\x1D\x51"
212         "\x02\x21" /* prime1 - integer of 33 bytes */
213         "\x00\xD8\x40\xB4\x16\x66\xB4\x2E\x92\xEA\x0D\xA3\xB4\x32\x04\xB5"
214         "\xCF\xCE\x33\x52\x52\x4D\x04\x16\xA5\xA4\x41\xE7\x00\xAF\x46\x12"
215         "\x0D"
216         "\x02\x21" /* prime2 - integer of 33 bytes */
217         "\x00\xC9\x7F\xB1\xF0\x27\xF4\x53\xF6\x34\x12\x33\xEA\xAA\xD1\xD9"
218         "\x35\x3F\x6C\x42\xD0\x88\x66\xB1\xD0\x5A\x0F\x20\x35\x02\x8B\x9D"
219         "\x89"
220         "\x02\x20" /* exponent1 - integer of 32 bytes */
221         "\x59\x0B\x95\x72\xA2\xC2\xA9\xC4\x06\x05\x9D\xC2\xAB\x2F\x1D\xAF"
222         "\xEB\x7E\x8B\x4F\x10\xA7\x54\x9E\x8E\xED\xF5\xB4\xFC\xE0\x9E\x05"
223         "\x02\x21" /* exponent2 - integer of 33 bytes */
224         "\x00\x8E\x3C\x05\x21\xFE\x15\xE0\xEA\x06\xA3\x6F\xF0\xF1\x0C\x99"
225         "\x52\xC3\x5B\x7A\x75\x14\xFD\x32\x38\xB8\x0A\xAD\x52\x98\x62\x8D"
226         "\x51"
227         "\x02\x20" /* coefficient - integer of 32 bytes */
228         "\x36\x3F\xF7\x18\x9D\xA8\xE9\x0B\x1D\x34\x1F\x71\xD0\x9B\x76\xA8"
229         "\xA9\x43\xE1\x1D\x10\xB2\x4D\x24\x9F\x2D\xEA\xFE\xF8\x0C\x18\x26",
230         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
231         .c =
232         "\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63"
233         "\x7d\x24\xec\x83\xc3\x15\xe4\x7f\x73\x05\x34\xd1\xec\x22\xbb\x8a"
234         "\x5e\x32\x39\x6d\xc1\x1d\x7d\x50\x3b\x9f\x7a\xad\xf0\x2e\x25\x53"
235         "\x9f\x6e\xbd\x4c\x55\x84\x0c\x9b\xcf\x1a\x4b\x51\x1e\x9e\x0c\x06",
236         .key_len = 316,
237         .m_size = 8,
238         .c_size = 64,
239         }, {
240         .key =
241         "\x30\x82\x02\x5B" /* sequence of 603 bytes */
242         "\x02\x01\x00" /* version - integer of 1 byte */
243         "\x02\x81\x81" /* modulus - integer of 129 bytes */
244         "\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
245         "\xF7\x36\x8D\x07\xEE\xD4\x10\x43\xA4\x40\xD6\xB6\xF0\x74\x54\xF5"
246         "\x1F\xB8\xDF\xBA\xAF\x03\x5C\x02\xAB\x61\xEA\x48\xCE\xEB\x6F\xCD"
247         "\x48\x76\xED\x52\x0D\x60\xE1\xEC\x46\x19\x71\x9D\x8A\x5B\x8B\x80"
248         "\x7F\xAF\xB8\xE0\xA3\xDF\xC7\x37\x72\x3E\xE6\xB4\xB7\xD9\x3A\x25"
249         "\x84\xEE\x6A\x64\x9D\x06\x09\x53\x74\x88\x34\xB2\x45\x45\x98\x39"
250         "\x4E\xE0\xAA\xB1\x2D\x7B\x61\xA5\x1F\x52\x7A\x9A\x41\xF6\xC1\x68"
251         "\x7F\xE2\x53\x72\x98\xCA\x2A\x8F\x59\x46\xF8\xE5\xFD\x09\x1D\xBD"
252         "\xCB"
253         "\x02\x01\x11" /* public key - integer of 1 byte */
254         "\x02\x81\x81"  /* private key - integer of 129 bytes */
255         "\x00\xA5\xDA\xFC\x53\x41\xFA\xF2\x89\xC4\xB9\x88\xDB\x30\xC1\xCD"
256         "\xF8\x3F\x31\x25\x1E\x06\x68\xB4\x27\x84\x81\x38\x01\x57\x96\x41"
257         "\xB2\x94\x10\xB3\xC7\x99\x8D\x6B\xC4\x65\x74\x5E\x5C\x39\x26\x69"
258         "\xD6\x87\x0D\xA2\xC0\x82\xA9\x39\xE3\x7F\xDC\xB8\x2E\xC9\x3E\xDA"
259         "\xC9\x7F\xF3\xAD\x59\x50\xAC\xCF\xBC\x11\x1C\x76\xF1\xA9\x52\x94"
260         "\x44\xE5\x6A\xAF\x68\xC5\x6C\x09\x2C\xD3\x8D\xC3\xBE\xF5\xD2\x0A"
261         "\x93\x99\x26\xED\x4F\x74\xA1\x3E\xDD\xFB\xE1\xA1\xCE\xCC\x48\x94"
262         "\xAF\x94\x28\xC2\xB7\xB8\x88\x3F\xE4\x46\x3A\x4B\xC8\x5B\x1C\xB3"
263         "\xC1"
264         "\x02\x41" /* prime1 - integer of 65 bytes */
265         "\x00\xEE\xCF\xAE\x81\xB1\xB9\xB3\xC9\x08\x81\x0B\x10\xA1\xB5\x60"
266         "\x01\x99\xEB\x9F\x44\xAE\xF4\xFD\xA4\x93\xB8\x1A\x9E\x3D\x84\xF6"
267         "\x32\x12\x4E\xF0\x23\x6E\x5D\x1E\x3B\x7E\x28\xFA\xE7\xAA\x04\x0A"
268         "\x2D\x5B\x25\x21\x76\x45\x9D\x1F\x39\x75\x41\xBA\x2A\x58\xFB\x65"
269         "\x99"
270         "\x02\x41" /* prime2 - integer of 65 bytes */
271         "\x00\xC9\x7F\xB1\xF0\x27\xF4\x53\xF6\x34\x12\x33\xEA\xAA\xD1\xD9"
272         "\x35\x3F\x6C\x42\xD0\x88\x66\xB1\xD0\x5A\x0F\x20\x35\x02\x8B\x9D"
273         "\x86\x98\x40\xB4\x16\x66\xB4\x2E\x92\xEA\x0D\xA3\xB4\x32\x04\xB5"
274         "\xCF\xCE\x33\x52\x52\x4D\x04\x16\xA5\xA4\x41\xE7\x00\xAF\x46\x15"
275         "\x03"
276         "\x02\x40" /* exponent1 - integer of 64 bytes */
277         "\x54\x49\x4C\xA6\x3E\xBA\x03\x37\xE4\xE2\x40\x23\xFC\xD6\x9A\x5A"
278         "\xEB\x07\xDD\xDC\x01\x83\xA4\xD0\xAC\x9B\x54\xB0\x51\xF2\xB1\x3E"
279         "\xD9\x49\x09\x75\xEA\xB7\x74\x14\xFF\x59\xC1\xF7\x69\x2E\x9A\x2E"
280         "\x20\x2B\x38\xFC\x91\x0A\x47\x41\x74\xAD\xC9\x3C\x1F\x67\xC9\x81"
281         "\x02\x40" /* exponent2 - integer of 64 bytes */
282         "\x47\x1E\x02\x90\xFF\x0A\xF0\x75\x03\x51\xB7\xF8\x78\x86\x4C\xA9"
283         "\x61\xAD\xBD\x3A\x8A\x7E\x99\x1C\x5C\x05\x56\xA9\x4C\x31\x46\xA7"
284         "\xF9\x80\x3F\x8F\x6F\x8A\xE3\x42\xE9\x31\xFD\x8A\xE4\x7A\x22\x0D"
285         "\x1B\x99\xA4\x95\x84\x98\x07\xFE\x39\xF9\x24\x5A\x98\x36\xDA\x3D"
286         "\x02\x41" /* coefficient - integer of 65 bytes */
287         "\x00\xB0\x6C\x4F\xDA\xBB\x63\x01\x19\x8D\x26\x5B\xDB\xAE\x94\x23"
288         "\xB3\x80\xF2\x71\xF7\x34\x53\x88\x50\x93\x07\x7F\xCD\x39\xE2\x11"
289         "\x9F\xC9\x86\x32\x15\x4F\x58\x83\xB1\x67\xA9\x67\xBF\x40\x2B\x4E"
290         "\x9E\x2E\x0F\x96\x56\xE6\x98\xEA\x36\x66\xED\xFB\x25\x79\x80\x39"
291         "\xF7",
292         .key_len = 607,
293         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
294         .c =
295         "\x74\x1b\x55\xac\x47\xb5\x08\x0a\x6e\x2b\x2d\xf7\x94\xb8\x8a\x95"
296         "\xed\xa3\x6b\xc9\x29\xee\xb2\x2c\x80\xc3\x39\x3b\x8c\x62\x45\x72"
297         "\xc2\x7f\x74\x81\x91\x68\x44\x48\x5a\xdc\xa0\x7e\xa7\x0b\x05\x7f"
298         "\x0e\xa0\x6c\xe5\x8f\x19\x4d\xce\x98\x47\x5f\xbd\x5f\xfe\xe5\x34"
299         "\x59\x89\xaf\xf0\xba\x44\xd7\xf1\x1a\x50\x72\xef\x5e\x4a\xb6\xb7"
300         "\x54\x34\xd1\xc4\x83\x09\xdf\x0f\x91\x5f\x7d\x91\x70\x2f\xd4\x13"
301         "\xcc\x5e\xa4\x6c\xc3\x4d\x28\xef\xda\xaf\xec\x14\x92\xfc\xa3\x75"
302         "\x13\xb4\xc1\xa1\x11\xfc\x40\x2f\x4c\x9d\xdf\x16\x76\x11\x20\x6b",
303         .m_size = 8,
304         .c_size = 128,
305         }, {
306 #endif
307         .key =
308         "\x30\x82\x04\xA3" /* sequence of 1187 bytes */
309         "\x02\x01\x00" /* version - integer of 1 byte */
310         "\x02\x82\x01\x01\x00" /* modulus - integer of 256 bytes */
311         "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
312         "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
313         "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
314         "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
315         "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
316         "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
317         "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
318         "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
319         "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
320         "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
321         "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
322         "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
323         "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
324         "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
325         "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
326         "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
327         "\x02\x03\x01\x00\x01" /* public key - integer of 3 bytes */
328         "\x02\x82\x01\x00" /* private key - integer of 256 bytes */
329         "\x52\x41\xF4\xDA\x7B\xB7\x59\x55\xCA\xD4\x2F\x0F\x3A\xCB\xA4\x0D"
330         "\x93\x6C\xCC\x9D\xC1\xB2\xFB\xFD\xAE\x40\x31\xAC\x69\x52\x21\x92"
331         "\xB3\x27\xDF\xEA\xEE\x2C\x82\xBB\xF7\x40\x32\xD5\x14\xC4\x94\x12"
332         "\xEC\xB8\x1F\xCA\x59\xE3\xC1\x78\xF3\x85\xD8\x47\xA5\xD7\x02\x1A"
333         "\x65\x79\x97\x0D\x24\xF4\xF0\x67\x6E\x75\x2D\xBF\x10\x3D\xA8\x7D"
334         "\xEF\x7F\x60\xE4\xE6\x05\x82\x89\x5D\xDF\xC6\xD2\x6C\x07\x91\x33"
335         "\x98\x42\xF0\x02\x00\x25\x38\xC5\x85\x69\x8A\x7D\x2F\x95\x6C\x43"
336         "\x9A\xB8\x81\xE2\xD0\x07\x35\xAA\x05\x41\xC9\x1E\xAF\xE4\x04\x3B"
337         "\x19\xB8\x73\xA2\xAC\x4B\x1E\x66\x48\xD8\x72\x1F\xAC\xF6\xCB\xBC"
338         "\x90\x09\xCA\xEC\x0C\xDC\xF9\x2C\xD7\xEB\xAE\xA3\xA4\x47\xD7\x33"
339         "\x2F\x8A\xCA\xBC\x5E\xF0\x77\xE4\x97\x98\x97\xC7\x10\x91\x7D\x2A"
340         "\xA6\xFF\x46\x83\x97\xDE\xE9\xE2\x17\x03\x06\x14\xE2\xD7\xB1\x1D"
341         "\x77\xAF\x51\x27\x5B\x5E\x69\xB8\x81\xE6\x11\xC5\x43\x23\x81\x04"
342         "\x62\xFF\xE9\x46\xB8\xD8\x44\xDB\xA5\xCC\x31\x54\x34\xCE\x3E\x82"
343         "\xD6\xBF\x7A\x0B\x64\x21\x6D\x88\x7E\x5B\x45\x12\x1E\x63\x8D\x49"
344         "\xA7\x1D\xD9\x1E\x06\xCD\xE8\xBA\x2C\x8C\x69\x32\xEA\xBE\x60\x71"
345         "\x02\x81\x81" /* prime1 - integer of 129 bytes */
346         "\x00\xFA\xAC\xE1\x37\x5E\x32\x11\x34\xC6\x72\x58\x2D\x91\x06\x3E"
347         "\x77\xE7\x11\x21\xCD\x4A\xF8\xA4\x3F\x0F\xEF\x31\xE3\xF3\x55\xA0"
348         "\xB9\xAC\xB6\xCB\xBB\x41\xD0\x32\x81\x9A\x8F\x7A\x99\x30\x77\x6C"
349         "\x68\x27\xE2\x96\xB5\x72\xC9\xC3\xD4\x42\xAA\xAA\xCA\x95\x8F\xFF"
350         "\xC9\x9B\x52\x34\x30\x1D\xCF\xFE\xCF\x3C\x56\x68\x6E\xEF\xE7\x6C"
351         "\xD7\xFB\x99\xF5\x4A\xA5\x21\x1F\x2B\xEA\x93\xE8\x98\x26\xC4\x6E"
352         "\x42\x21\x5E\xA0\xA1\x2A\x58\x35\xBB\x10\xE7\xBA\x27\x0A\x3B\xB3"
353         "\xAF\xE2\x75\x36\x04\xAC\x56\xA0\xAB\x52\xDE\xCE\xDD\x2C\x28\x77"
354         "\x03"
355         "\x02\x81\x81" /* prime2 - integer of 129 bytes */
356         "\x00\xDF\xB7\x52\xB6\xD7\xC0\xE2\x96\xE7\xC9\xFE\x5D\x71\x5A\xC4"
357         "\x40\x96\x2F\xE5\x87\xEA\xF3\xA5\x77\x11\x67\x3C\x8D\x56\x08\xA7"
358         "\xB5\x67\xFA\x37\xA8\xB8\xCF\x61\xE8\x63\xD8\x38\x06\x21\x2B\x92"
359         "\x09\xA6\x39\x3A\xEA\xA8\xB4\x45\x4B\x36\x10\x4C\xE4\x00\x66\x71"
360         "\x65\xF8\x0B\x94\x59\x4F\x8C\xFD\xD5\x34\xA2\xE7\x62\x84\x0A\xA7"
361         "\xBB\xDB\xD9\x8A\xCD\x05\xE1\xCC\x57\x7B\xF1\xF1\x1F\x11\x9D\xBA"
362         "\x3E\x45\x18\x99\x1B\x41\x64\x43\xEE\x97\x5D\x77\x13\x5B\x74\x69"
363         "\x73\x87\x95\x05\x07\xBE\x45\x07\x17\x7E\x4A\x69\x22\xF3\xDB\x05"
364         "\x39"
365         "\x02\x81\x80" /* exponent1 - integer of 128 bytes */
366         "\x5E\xD8\xDC\xDA\x53\x44\xC4\x67\xE0\x92\x51\x34\xE4\x83\xA5\x4D"
367         "\x3E\xDB\xA7\x9B\x82\xBB\x73\x81\xFC\xE8\x77\x4B\x15\xBE\x17\x73"
368         "\x49\x9B\x5C\x98\xBC\xBD\x26\xEF\x0C\xE9\x2E\xED\x19\x7E\x86\x41"
369         "\x1E\x9E\x48\x81\xDD\x2D\xE4\x6F\xC2\xCD\xCA\x93\x9E\x65\x7E\xD5"
370         "\xEC\x73\xFD\x15\x1B\xA2\xA0\x7A\x0F\x0D\x6E\xB4\x53\x07\x90\x92"
371         "\x64\x3B\x8B\xA9\x33\xB3\xC5\x94\x9B\x4C\x5D\x9C\x7C\x46\xA4\xA5"
372         "\x56\xF4\xF3\xF8\x27\x0A\x7B\x42\x0D\x92\x70\x47\xE7\x42\x51\xA9"
373         "\xC2\x18\xB1\x58\xB1\x50\x91\xB8\x61\x41\xB6\xA9\xCE\xD4\x7C\xBB"
374         "\x02\x81\x80" /* exponent2 - integer of 128 bytes */
375         "\x54\x09\x1F\x0F\x03\xD8\xB6\xC5\x0C\xE8\xB9\x9E\x0C\x38\x96\x43"
376         "\xD4\xA6\xC5\x47\xDB\x20\x0E\xE5\xBD\x29\xD4\x7B\x1A\xF8\x41\x57"
377         "\x49\x69\x9A\x82\xCC\x79\x4A\x43\xEB\x4D\x8B\x2D\xF2\x43\xD5\xA5"
378         "\xBE\x44\xFD\x36\xAC\x8C\x9B\x02\xF7\x9A\x03\xE8\x19\xA6\x61\xAE"
379         "\x76\x10\x93\x77\x41\x04\xAB\x4C\xED\x6A\xCC\x14\x1B\x99\x8D\x0C"
380         "\x6A\x37\x3B\x86\x6C\x51\x37\x5B\x1D\x79\xF2\xA3\x43\x10\xC6\xA7"
381         "\x21\x79\x6D\xF9\xE9\x04\x6A\xE8\x32\xFF\xAE\xFD\x1C\x7B\x8C\x29"
382         "\x13\xA3\x0C\xB2\xAD\xEC\x6C\x0F\x8D\x27\x12\x7B\x48\xB2\xDB\x31"
383         "\x02\x81\x81" /* coefficient - integer of 129 bytes */
384         "\x00\x8D\x1B\x05\xCA\x24\x1F\x0C\x53\x19\x52\x74\x63\x21\xFA\x78"
385         "\x46\x79\xAF\x5C\xDE\x30\xA4\x6C\x20\x38\xE6\x97\x39\xB8\x7A\x70"
386         "\x0D\x8B\x6C\x6D\x13\x74\xD5\x1C\xDE\xA9\xF4\x60\x37\xFE\x68\x77"
387         "\x5E\x0B\x4E\x5E\x03\x31\x30\xDF\xD6\xAE\x85\xD0\x81\xBB\x61\xC7"
388         "\xB1\x04\x5A\xC4\x6D\x56\x1C\xD9\x64\xE7\x85\x7F\x88\x91\xC9\x60"
389         "\x28\x05\xE2\xC6\x24\x8F\xDD\x61\x64\xD8\x09\xDE\x7E\xD3\x4A\x61"
390         "\x1A\xD3\x73\x58\x4B\xD8\xA0\x54\x25\x48\x83\x6F\x82\x6C\xAF\x36"
391         "\x51\x2A\x5D\x14\x2F\x41\x25\x00\xDD\xF8\xF3\x95\xFE\x31\x25\x50"
392         "\x12",
393         .key_len = 1191,
394         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
395         .c =
396         "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
397         "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
398         "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
399         "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
400         "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
401         "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
402         "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
403         "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
404         "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
405         "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
406         "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
407         "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
408         "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
409         "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
410         "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
411         "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
412         .m_size = 8,
413         .c_size = 256,
414         }, {
415         .key =
416         "\x30\x82\x01\x09" /* sequence of 265 bytes */
417         "\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
418         "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
419         "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
420         "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
421         "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
422         "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
423         "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
424         "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
425         "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
426         "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
427         "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
428         "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
429         "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
430         "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
431         "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
432         "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
433         "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
434         "\x02\x03\x01\x00\x01", /* public key - integer of 3 bytes */
435         .key_len = 269,
436         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
437         .c =
438         "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
439         "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
440         "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
441         "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
442         "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
443         "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
444         "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
445         "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
446         "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
447         "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
448         "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
449         "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
450         "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
451         "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
452         "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
453         "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
454         .m_size = 8,
455         .c_size = 256,
456         .public_key_vec = true,
457 #ifndef CONFIG_CRYPTO_FIPS
458         }, {
459         .key =
460         "\x30\x82\x09\x29" /* sequence of 2345 bytes */
461         "\x02\x01\x00" /* version integer of 1 byte */
462         "\x02\x82\x02\x01" /* modulus - integer of 513 bytes */
463         "\x00\xC3\x8B\x55\x7B\x73\x4D\xFF\xE9\x9B\xC6\xDC\x67\x3C\xB4\x8E"
464         "\xA0\x86\xED\xF2\xB9\x50\x5C\x54\x5C\xBA\xE4\xA1\xB2\xA7\xAE\x2F"
465         "\x1B\x7D\xF1\xFB\xAC\x79\xC5\xDF\x1A\x00\xC9\xB2\xC1\x61\x25\x33"
466         "\xE6\x9C\xE9\xCF\xD6\x27\xC4\x4E\x44\x30\x44\x5E\x08\xA1\x87\x52"
467         "\xCC\x6B\x97\x70\x8C\xBC\xA5\x06\x31\x0C\xD4\x2F\xD5\x7D\x26\x24"
468         "\xA2\xE2\xAC\x78\xF4\x53\x14\xCE\xF7\x19\x2E\xD7\xF7\xE6\x0C\xB9"
469         "\x56\x7F\x0B\xF1\xB1\xE2\x43\x70\xBD\x86\x1D\xA1\xCC\x2B\x19\x08"
470         "\x76\xEF\x91\xAC\xBF\x20\x24\x0D\x38\xC0\x89\xB8\x9A\x70\xB3\x64"
471         "\xD9\x8F\x80\x41\x10\x5B\x9F\xB1\xCB\x76\x43\x00\x21\x25\x36\xD4"
472         "\x19\xFC\x55\x95\x10\xE4\x26\x74\x98\x2C\xD9\xBD\x0B\x2B\x04\xC2"
473         "\xAC\x82\x38\xB4\xDD\x4C\x04\x7E\x51\x36\x40\x1E\x0B\xC4\x7C\x25"
474         "\xDD\x4B\xB2\xE7\x20\x0A\x57\xF9\xB4\x94\xC3\x08\x33\x22\x6F\x8B"
475         "\x48\xDB\x03\x68\x5A\x5B\xBA\xAE\xF3\xAD\xCF\xC3\x6D\xBA\xF1\x28"
476         "\x67\x7E\x6C\x79\x07\xDE\xFC\xED\xE7\x96\xE3\x6C\xE0\x2C\x87\xF8"
477         "\x02\x01\x28\x38\x43\x21\x53\x84\x69\x75\x78\x15\x7E\xEE\xD2\x1B"
478         "\xB9\x23\x40\xA8\x86\x1E\x38\x83\xB2\x73\x1D\x53\xFB\x9E\x2A\x8A"
479         "\xB2\x75\x35\x01\xC3\xC3\xC4\x94\xE8\x84\x86\x64\x81\xF4\x42\xAA"
480         "\x3C\x0E\xD6\x4F\xBC\x0A\x09\x2D\xE7\x1B\xD4\x10\xA8\x54\xEA\x89"
481         "\x84\x8A\xCB\xF7\x5A\x3C\xCA\x76\x08\x29\x62\xB4\x6A\x22\xDF\x14"
482         "\x95\x71\xFD\xB6\x86\x39\xB8\x8B\xF8\x91\x7F\x38\xAA\x14\xCD\xE5"
483         "\xF5\x1D\xC2\x6D\x53\x69\x52\x84\x7F\xA3\x1A\x5E\x26\x04\x83\x06"
484         "\x73\x52\x56\xCF\x76\x26\xC9\xDD\x75\xD7\xFC\xF4\x69\xD8\x7B\x55"
485         "\xB7\x68\x13\x53\xB9\xE7\x89\xC3\xE8\xD6\x6E\xA7\x6D\xEA\x81\xFD"
486         "\xC4\xB7\x05\x5A\xB7\x41\x0A\x23\x8E\x03\x8A\x1C\xAE\xD3\x1E\xCE"
487         "\xE3\x5E\xFC\x19\x4A\xEE\x61\x9B\x8E\xE5\xE5\xDD\x85\xF9\x41\xEC"
488         "\x14\x53\x92\xF7\xDD\x06\x85\x02\x91\xE3\xEB\x6C\x43\x03\xB1\x36"
489         "\x7B\x89\x5A\xA8\xEB\xFC\xD5\xA8\x35\xDC\x81\xD9\x5C\xBD\xCA\xDC"
490         "\x9B\x98\x0B\x06\x5D\x0C\x5B\xEE\xF3\xD5\xCC\x57\xC9\x71\x2F\x90"
491         "\x3B\x3C\xF0\x8E\x4E\x35\x48\xAE\x63\x74\xA9\xFC\x72\x75\x8E\x34"
492         "\xA8\xF2\x1F\xEA\xDF\x3A\x37\x2D\xE5\x39\x39\xF8\x57\x58\x3C\x04"
493         "\xFE\x87\x06\x98\xBC\x7B\xD3\x21\x36\x60\x25\x54\xA7\x3D\xFA\x91"
494         "\xCC\xA8\x0B\x92\x8E\xB4\xF7\x06\xFF\x1E\x95\xCB\x07\x76\x97\x3B"
495         "\x9D"
496         "\x02\x03\x01\x00\x01" /* public key integer of 3 bytes */
497         "\x02\x82\x02\x00" /* private key integer of 512 bytes */
498         "\x74\xA9\xE0\x6A\x32\xB4\xCA\x85\xD9\x86\x9F\x60\x88\x7B\x40\xCC"
499         "\xCD\x33\x91\xA8\xB6\x25\x1F\xBF\xE3\x51\x1C\x97\xB6\x2A\xD9\xB8"
500         "\x11\x40\x19\xE3\x21\x13\xC8\xB3\x7E\xDC\xD7\x65\x40\x4C\x2D\xD6"
501         "\xDC\xAF\x32\x6C\x96\x75\x2C\x2C\xCA\x8F\x3F\x7A\xEE\xC4\x09\xC6"
502         "\x24\x3A\xC9\xCF\x6D\x8D\x17\x50\x94\x52\xD3\xE7\x0F\x2F\x7E\x94"
503         "\x1F\xA0\xBE\xD9\x25\xE8\x38\x42\x7C\x27\xD2\x79\xF8\x2A\x87\x38"
504         "\xEF\xBB\x74\x8B\xA8\x6E\x8C\x08\xC6\xC7\x4F\x0C\xBC\x79\xC6\xEF"
505         "\x0E\xA7\x5E\xE4\xF8\x8C\x09\xC7\x5E\x37\xCC\x87\x77\xCD\xCF\xD1"
506         "\x6D\x28\x1B\xA9\x62\xC0\xB8\x16\xA7\x8B\xF9\xBB\xCC\xB4\x15\x7F"
507         "\x1B\x69\x03\xF2\x7B\xEB\xE5\x8C\x14\xD6\x23\x4F\x52\x6F\x18\xA6"
508         "\x4B\x5B\x01\xAD\x35\xF9\x48\x53\xB3\x86\x35\x66\xD7\xE7\x29\xC0"
509         "\x09\xB5\xC6\xE6\xFA\xC4\xDA\x19\xBE\xD7\x4D\x41\x14\xBE\x6F\xDF"
510         "\x1B\xAB\xC0\xCA\x88\x07\xAC\xF1\x7D\x35\x83\x67\x28\x2D\x50\xE9"
511         "\xCE\x27\x71\x5E\x1C\xCF\xD2\x30\x65\x79\x72\x2F\x9C\xE1\xD2\x39"
512         "\x7F\xEF\x3B\x01\xF2\x14\x1D\xDF\xBD\x51\xD3\xA1\x53\x62\xCF\x5F"
513         "\x79\x84\xCE\x06\x96\x69\x29\x49\x82\x1C\x71\x4A\xA1\x66\xC8\x2F"
514         "\xFD\x7B\x96\x7B\xFC\xC4\x26\x58\xC4\xFC\x7C\xAF\xB5\xE8\x95\x83"
515         "\x87\xCB\x46\xDE\x97\xA7\xB3\xA2\x54\x5B\xD7\xAF\xAB\xEB\xC8\xF3"
516         "\x55\x9D\x48\x2B\x30\x9C\xDC\x26\x4B\xC2\x89\x45\x13\xB2\x01\x9A"
517         "\xA4\x65\xC3\xEC\x24\x2D\x26\x97\xEB\x80\x8A\x9D\x03\xBC\x59\x66"
518         "\x9E\xE2\xBB\xBB\x63\x19\x64\x93\x11\x7B\x25\x65\x30\xCD\x5B\x4B"
519         "\x2C\xFF\xDC\x2D\x30\x87\x1F\x3C\x88\x07\xD0\xFC\x48\xCC\x05\x8A"
520         "\xA2\xC8\x39\x3E\xD5\x51\xBC\x0A\xBE\x6D\xA8\xA0\xF6\x88\x06\x79"
521         "\x13\xFF\x1B\x45\xDA\x54\xC9\x24\x25\x8A\x75\x0A\x26\xD1\x69\x81"
522         "\x14\x14\xD1\x79\x7D\x8E\x76\xF2\xE0\xEB\xDD\x0F\xDE\xC2\xEC\x80"
523         "\xD7\xDC\x16\x99\x92\xBE\xCB\x40\x0C\xCE\x7C\x3B\x46\xA2\x5B\x5D"
524         "\x0C\x45\xEB\xE1\x00\xDE\x72\x50\xB1\xA6\x0B\x76\xC5\x8D\xFC\x82"
525         "\x38\x6D\x99\x14\x1D\x1A\x4A\xD3\x7C\x53\xB8\x12\x46\xA2\x30\x38"
526         "\x82\xF4\x96\x6E\x8C\xCE\x47\x0D\xAF\x0A\x3B\x45\xB7\x43\x95\x43"
527         "\x9E\x02\x2C\x44\x07\x6D\x1F\x3C\x66\x89\x09\xB6\x1F\x06\x30\xCC"
528         "\xAD\xCE\x7D\x9A\xDE\x3E\xFB\x6C\xE4\x58\x43\xD2\x4F\xA5\x9E\x5E"
529         "\xA7\x7B\xAE\x3A\xF6\x7E\xD9\xDB\xD3\xF5\xC5\x41\xAF\xE6\x9C\x91"
530         "\x02\x82\x01\x01" /* prime1 - integer of 257 bytes */
531         "\x00\xE0\xA6\x6C\xF0\xA2\xF8\x81\x85\x36\x43\xD0\x13\x0B\x33\x8B"
532         "\x8F\x78\x3D\xAC\xC7\x5E\x46\x6A\x7F\x05\xAE\x3E\x26\x0A\xA6\xD0"
533         "\x51\xF3\xC8\x61\xF5\x77\x22\x48\x10\x87\x4C\xD5\xA4\xD5\xAE\x2D"
534         "\x4E\x7A\xFE\x1C\x31\xE7\x6B\xFF\xA4\x69\x20\xF9\x2A\x0B\x99\xBE"
535         "\x7C\x32\x68\xAD\xB0\xC6\x94\x81\x41\x75\xDC\x06\x78\x0A\xB4\xCF"
536         "\xCD\x1B\x2D\x31\xE4\x7B\xEA\xA8\x35\x99\x75\x57\xC6\x0E\xF6\x78"
537         "\x4F\xA0\x92\x4A\x00\x1B\xE7\x96\xF2\x5B\xFD\x2C\x0A\x0A\x13\x81"
538         "\xAF\xCB\x59\x87\x31\xD9\x83\x65\xF2\x22\x48\xD0\x03\x67\x39\xF6"
539         "\xFF\xA8\x36\x07\x3A\x68\xE3\x7B\xA9\x64\xFD\x9C\xF7\xB1\x3D\xBF"
540         "\x26\x5C\xCC\x7A\xFC\xA2\x8F\x51\xD1\xE1\xE2\x3C\xEC\x06\x75\x7C"
541         "\x34\xF9\xA9\x33\x70\x11\xAD\x5A\xDC\x5F\xCF\x50\xF6\x23\x2F\x39"
542         "\xAC\x92\x48\x53\x4D\x01\x96\x3C\xD8\xDC\x1F\x23\x23\x78\x80\x34"
543         "\x54\x14\x76\x8B\xB6\xBB\xFB\x88\x78\x31\x59\x28\xD2\xB1\x75\x17"
544         "\x88\x04\x4A\x78\x62\x18\x2E\xF5\xFB\x9B\xEF\x15\xD8\x16\x47\xC6"
545         "\x42\xB1\x02\xDA\x9E\xE3\x84\x90\xB4\x2D\xC3\xCE\x13\xC9\x12\x7D"
546         "\x3E\xCD\x39\x39\xC9\xAD\xA1\x1A\xE6\xD5\xAD\x5A\x09\x4D\x1B\x0C"
547         "\xAB"
548         "\x02\x82\x01\x01" /* prime 2 - integer of 257 bytes */
549         "\x00\xDE\xD5\x1B\xF6\xCD\x83\xB1\xC6\x47\x7E\xB9\xC0\x6B\xA9\xB8"
550         "\x02\xF3\xAE\x40\x5D\xFC\xD3\xE5\x4E\xF1\xE3\x39\x04\x52\x84\x89"
551         "\x40\x37\xBB\xC2\xCD\x7F\x71\x77\x17\xDF\x6A\x4C\x31\x24\x7F\xB9"
552         "\x7E\x7F\xC8\x43\x4A\x3C\xEB\x8D\x1B\x7F\x21\x51\x67\x45\x8F\xA0"
553         "\x36\x29\x3A\x18\x45\xA5\x32\xEC\x74\x88\x3C\x98\x5D\x67\x3B\xD7"
554         "\x51\x1F\xE9\xAE\x09\x01\xDE\xDE\x7C\xFB\x60\xD1\xA5\x6C\xE9\x6A"
555         "\x93\x04\x02\x3A\xBB\x67\x02\xB9\xFD\x23\xF0\x02\x2B\x49\x85\xC9"
556         "\x5B\xE7\x4B\xDF\xA3\xF4\xEE\x59\x4C\x45\xEF\x8B\xC1\x6B\xDE\xDE"
557         "\xBC\x1A\xFC\xD2\x76\x3F\x33\x74\xA9\x8E\xA3\x7E\x0C\xC6\xCE\x70"
558         "\xA1\x5B\xA6\x77\xEA\x76\xEB\x18\xCE\xB9\xD7\x78\x8D\xAE\x06\xBB"
559         "\xD3\x1F\x16\x0D\x05\xAB\x4F\xC6\x52\xC8\x6B\x36\x51\x7D\x1D\x27"
560         "\xAF\x88\x9A\x6F\xCC\x25\x2E\x74\x06\x72\xCE\x9E\xDB\xE0\x9D\x30"
561         "\xEF\x55\xA5\x58\x21\xA7\x42\x12\x2C\x2C\x23\x87\xC1\x0F\xE8\x51"
562         "\xDA\x53\xDA\xFC\x05\x36\xDF\x08\x0E\x08\x36\xBE\x5C\x86\x9E\xCA"
563         "\x68\x90\x33\x12\x0B\x14\x82\xAB\x90\x1A\xD4\x49\x32\x9C\xBD\xAA"
564         "\xAB\x4E\x38\xF1\xEE\xED\x3D\x3F\xE8\xBD\x48\x56\xA6\x64\xEE\xC8"
565         "\xD7"
566         "\x02\x82\x01\x01" /* exponent 1 - integer of 257 bytes */
567         "\x00\x96\x5E\x6F\x8F\x06\xD6\xE6\x03\x1F\x96\x76\x81\x38\xBF\x30"
568         "\xCC\x40\x84\xAF\xD0\xE7\x06\xA5\x24\x0E\xCE\x59\xA5\x26\xFE\x0F"
569         "\x74\xBB\x83\xC6\x26\x02\xAF\x3C\xA3\x6B\x9C\xFF\x68\x0C\xEB\x40"
570         "\x42\x46\xCB\x2E\x5E\x2C\xF4\x3A\x32\x77\x77\xED\xAF\xBA\x02\x17"
571         "\xE1\x93\xF0\x43\x4A\x8F\x31\x39\xEF\x72\x0F\x6B\x79\x10\x59\x84"
572         "\xBA\x5A\x55\x7F\x0E\xDB\xEE\xEE\xD6\xA9\xB8\x44\x9F\x3A\xC6\xB9"
573         "\x33\x3B\x5C\x90\x11\xD0\x9B\xCC\x8A\xBF\x0E\x10\x5B\x4B\xF1\x50"
574         "\x9E\x35\xB3\xE0\x6D\x7A\x95\x9C\x38\x5D\xC0\x75\x13\xC2\x15\xA7"
575         "\x81\xEA\xBA\xF7\x4D\x9E\x85\x9D\xF1\x7D\xBA\xD0\x45\x6F\x2A\xD0"
576         "\x76\xC2\x28\xD0\xAD\xA7\xB5\xDC\xE3\x6A\x99\xFF\x83\x50\xB3\x75"
577         "\x07\x14\x91\xAF\xEF\x74\xB5\x9F\x9A\xE0\xBA\xA9\x0B\x87\xF3\x85"
578         "\x5C\x40\xB2\x0E\xA7\xFD\xC6\xED\x45\x8E\xD9\x7C\xB0\xB2\x68\xC6"
579         "\x1D\xFD\x70\x78\x06\x41\x7F\x95\x12\x36\x9D\xE2\x58\x5D\x15\xEE"
580         "\x41\x49\xF5\xFA\xEC\x56\x19\xA0\xE6\xE0\xB2\x40\xE1\xD9\xD0\x03"
581         "\x22\x02\xCF\xD1\x3C\x07\x38\x65\x8F\x65\x0E\xAA\x32\xCE\x25\x05"
582         "\x16\x73\x51\xB9\x9F\x88\x0B\xCD\x30\xF3\x97\xCC\x2B\x6B\xA4\x0E"
583         "\x6F"
584         "\x02\x82\x01\x00" /* exponent 2 - integer of 256 bytes */
585         "\x2A\x5F\x3F\xB8\x08\x90\x58\x47\xA9\xE4\xB1\x11\xA3\xE7\x5B\xF4"
586         "\x43\xBE\x08\xC3\x56\x86\x3C\x7E\x6C\x84\x96\x9C\xF9\xCB\xF6\x05"
587         "\x5E\x13\xB8\x11\x37\x80\xAD\xF2\xBE\x2B\x0A\x5D\xF5\xE0\xCB\xB7"
588         "\x00\x39\x66\x82\x41\x5F\x51\x2F\xBF\x56\xE8\x91\xC8\xAA\x6C\xFE"
589         "\x9F\x8C\x4A\x7D\x43\xD2\x91\x1F\xFF\x9F\xF6\x21\x1C\xB6\x46\x55"
590         "\x48\xCA\x38\xAB\xC1\xCD\x4D\x65\x5A\xAF\xA8\x6D\xDA\x6D\xF0\x34"
591         "\x10\x79\x14\x0D\xFA\xA2\x8C\x17\x54\xB4\x18\xD5\x7E\x5F\x90\x50"
592         "\x87\x84\xE7\xFB\xD7\x61\x53\x5D\xAB\x96\xC7\x6E\x7A\x42\xA0\xFC"
593         "\x07\xED\xB7\x5F\x80\xD9\x19\xFF\xFB\xFD\x9E\xC4\x73\x31\x62\x3D"
594         "\x6C\x9E\x15\x03\x62\xA5\x85\xCC\x19\x8E\x9D\x7F\xE3\x6D\xA8\x5D"
595         "\x96\xF5\xAC\x78\x3D\x81\x27\xE7\x29\xF1\x29\x1D\x09\xBB\x77\x86"
596         "\x6B\x65\x62\x88\xE1\x31\x1A\x22\xF7\xC5\xCE\x73\x65\x1C\xBE\xE7"
597         "\x63\xD3\xD3\x14\x63\x27\xAF\x28\xF3\x23\xB6\x76\xC1\xBD\x9D\x82"
598         "\xF4\x9B\x19\x7D\x2C\x57\xF0\xC2\x2A\x51\xAE\x95\x0D\x8C\x38\x54"
599         "\xF5\xC6\xA0\x51\xB7\x0E\xB9\xEC\xE7\x0D\x22\xF6\x1A\xD3\xFE\x16"
600         "\x21\x03\xB7\x0D\x85\xD3\x35\xC9\xDD\xE4\x59\x85\xBE\x7F\xA1\x75"
601         "\x02\x82\x01\x01" /* coefficient - integer of 257 bytes */
602         "\x00\xB9\x48\xD2\x54\x2F\x19\x54\x64\xAE\x62\x80\x61\x89\x80\xB4"
603         "\x48\x0B\x8D\x7E\x1B\x0F\x50\x08\x82\x3F\xED\x75\x84\xB7\x13\xE4"
604         "\xF8\x8D\xA8\xBB\x54\x21\x4C\x5A\x54\x07\x16\x4B\xB4\xA4\x9E\x30"
605         "\xBF\x7A\x30\x1B\x39\x60\xA3\x21\x53\xFB\xB0\xDC\x0F\x7C\x2C\xFB"
606         "\xAA\x95\x7D\x51\x39\x28\x33\x1F\x25\x31\x53\xF5\xD2\x64\x2B\xF2"
607         "\x1E\xB3\xC0\x6A\x0B\xC9\xA4\x42\x64\x5C\xFB\x15\xA3\xE8\x4C\x3A"
608         "\x9C\x3C\xBE\xA3\x39\x83\x23\xE3\x6D\x18\xCC\xC2\xDC\x63\x8D\xBA"
609         "\x98\xE0\xE0\x31\x4A\x2B\x37\x9C\x4D\x6B\xF3\x9F\x51\xE4\x43\x5C"
610         "\x83\x5F\xBF\x5C\xFE\x92\x45\x01\xAF\xF5\xC2\xF4\xB7\x56\x93\xA5"
611         "\xF4\xAA\x67\x3C\x48\x37\xBD\x9A\x3C\xFE\xA5\x9A\xB0\xD1\x6B\x85"
612         "\xDD\x81\xD4\xFA\xAD\x31\x83\xA8\x22\x9B\xFD\xB4\x61\xDC\x7A\x51"
613         "\x59\x62\x10\x1B\x7E\x44\xA3\xFE\x90\x51\x5A\x3E\x02\x87\xAD\xFA"
614         "\xDD\x0B\x1F\x3D\x35\xAF\xEE\x13\x85\x51\xA7\x42\xC0\xEE\x9E\x20"
615         "\xE9\xD0\x29\xB2\xE4\x21\xE4\x6D\x62\xB9\xF4\x48\x4A\xD8\x46\x8E"
616         "\x61\xA6\x2C\x5D\xDF\x8F\x97\x2B\x3A\x75\x1D\x83\x17\x6F\xC6\xB0"
617         "\xDE\xFC\x14\x25\x06\x5A\x60\xBB\xB8\x21\x89\xD1\xEF\x57\xF1\x71"
618         "\x3D",
619         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
620         .c =
621         "\x5c\xce\x9c\xd7\x9a\x9e\xa1\xfe\x7a\x82\x3c\x68\x27\x98\xe3\x5d"
622         "\xd5\xd7\x07\x29\xf5\xfb\xc3\x1a\x7f\x63\x1e\x62\x31\x3b\x19\x87"
623         "\x79\x4f\xec\x7b\xf3\xcb\xea\x9b\x95\x52\x3a\x40\xe5\x87\x7b\x72"
624         "\xd1\x72\xc9\xfb\x54\x63\xd8\xc9\xd7\x2c\xfc\x7b\xc3\x14\x1e\xbc"
625         "\x18\xb4\x34\xa1\xbf\x14\xb1\x37\x31\x6e\xf0\x1b\x35\x19\x54\x07"
626         "\xf7\x99\xec\x3e\x63\xe2\xcd\x61\x28\x65\xc3\xcd\xb1\x38\x36\xa5"
627         "\xb2\xd7\xb0\xdc\x1f\xf5\xef\x19\xc7\x53\x32\x2d\x1c\x26\xda\xe4"
628         "\x0d\xd6\x90\x7e\x28\xd8\xdc\xe4\x61\x05\xd2\x25\x90\x01\xd3\x96"
629         "\x6d\xa6\xcf\x58\x20\xbb\x03\xf4\x01\xbc\x79\xb9\x18\xd8\xb8\xba"
630         "\xbd\x93\xfc\xf2\x62\x5d\x8c\x66\x1e\x0e\x84\x59\x93\xdd\xe2\x93"
631         "\xa2\x62\x7d\x08\x82\x7a\xdd\xfc\xb8\xbc\xc5\x4f\x9c\x4e\xbf\xb4"
632         "\xfc\xf4\xc5\x01\xe8\x00\x70\x4d\x28\x26\xcc\x2e\xfe\x0e\x58\x41"
633         "\x8b\xec\xaf\x7c\x4b\x54\xd0\xa0\x64\xf9\x32\xf4\x2e\x47\x65\x0a"
634         "\x67\x88\x39\x3a\xdb\xb2\xdb\x7b\xb5\xf6\x17\xa8\xd9\xc6\x5e\x28"
635         "\x13\x82\x8a\x99\xdb\x60\x08\xa5\x23\x37\xfa\x88\x90\x31\xc8\x9d"
636         "\x8f\xec\xfb\x85\x9f\xb1\xce\xa6\x24\x50\x46\x44\x47\xcb\x65\xd1"
637         "\xdf\xc0\xb1\x6c\x90\x1f\x99\x8e\x4d\xd5\x9e\x31\x07\x66\x87\xdf"
638         "\x01\xaa\x56\x3c\x71\xe0\x2b\x6f\x67\x3b\x23\xed\xc2\xbd\x03\x30"
639         "\x79\x76\x02\x10\x10\x98\x85\x8a\xff\xfd\x0b\xda\xa5\xd9\x32\x48"
640         "\x02\xa0\x0b\xb9\x2a\x8a\x18\xca\xc6\x8f\x3f\xbb\x16\xb2\xaa\x98"
641         "\x27\xe3\x60\x43\xed\x15\x70\xd4\x57\x15\xfe\x19\xd4\x9b\x13\x78"
642         "\x8a\xf7\x21\xf1\xa2\xa2\x2d\xb3\x09\xcf\x44\x91\x6e\x08\x3a\x30"
643         "\x81\x3e\x90\x93\x8a\x67\x33\x00\x59\x54\x9a\x25\xd3\x49\x8e\x9f"
644         "\xc1\x4b\xe5\x86\xf3\x50\x4c\xbc\xc5\xd3\xf5\x3a\x54\xe1\x36\x3f"
645         "\xe2\x5a\xb4\x37\xc0\xeb\x70\x35\xec\xf6\xb7\xe8\x44\x3b\x7b\xf3"
646         "\xf1\xf2\x1e\xdb\x60\x7d\xd5\xbe\xf0\x71\x34\x90\x4c\xcb\xd4\x35"
647         "\x51\xc7\xdd\xd8\xc9\x81\xf5\x5d\x57\x46\x2c\xb1\x7b\x9b\xaa\xcb"
648         "\xd1\x22\x25\x49\x44\xa3\xd4\x6b\x29\x7b\xd8\xb2\x07\x93\xbf\x3d"
649         "\x52\x49\x84\x79\xef\xb8\xe5\xc4\xad\xca\xa8\xc6\xf6\xa6\x76\x70"
650         "\x5b\x0b\xe5\x83\xc6\x0e\xef\x55\xf2\xe7\xff\x04\xea\xe6\x13\xbe"
651         "\x40\xe1\x40\x45\x48\x66\x75\x31\xae\x35\x64\x91\x11\x6f\xda\xee"
652         "\x26\x86\x45\x6f\x0b\xd5\x9f\x03\xb1\x65\x5b\xdb\xa4\xe4\xf9\x45",
653         .key_len = 2349,
654         .m_size = 8,
655         .c_size = 512,
656 #endif
657         }
658 };
659
660 #ifdef CONFIG_CPU_BIG_ENDIAN
661 #define be64_to_cpua(b1, b2, b3, b4, b5, b6, b7, b8)                    \
662         0x##b1, 0x##b2, 0x##b3, 0x##b4, 0x##b5, 0x##b6, 0x##b7, 0x##b8
663 #else
664 #define be64_to_cpua(b1, b2, b3, b4, b5, b6, b7, b8)                    \
665         0x##b8, 0x##b7, 0x##b6, 0x##b5, 0x##b4, 0x##b3, 0x##b2, 0x##b1
666 #endif
667
668 /*
669  * ECDSA test vectors.
670  */
671 static const struct sig_testvec ecdsa_nist_p192_tv_template[] = {
672         {
673         .key = /* secp192r1(sha1) */
674         "\x04\xf7\x46\xf8\x2f\x15\xf6\x22\x8e\xd7\x57\x4f\xcc\xe7\xbb\xc1"
675         "\xd4\x09\x73\xcf\xea\xd0\x15\x07\x3d\xa5\x8a\x8a\x95\x43\xe4\x68"
676         "\xea\xc6\x25\xc1\xc1\x01\x25\x4c\x7e\xc3\x3c\xa6\x04\x0a\xe7\x08"
677         "\x98",
678         .key_len = 49,
679         .m =
680         "\xcd\xb9\xd2\x1c\xb7\x6f\xcd\x44\xb3\xfd\x63\xea\xa3\x66\x7f\xae"
681         "\x63\x85\xe7\x82",
682         .m_size = 20,
683         .c = (const unsigned char[]){
684         be64_to_cpua(ad, 59, ad, 88, 27, d6, 92, 6b),
685         be64_to_cpua(a0, 27, 91, c6, f6, 7f, c3, 09),
686         be64_to_cpua(ba, e5, 93, 83, 6e, b6, 3b, 63),
687         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
688         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
689         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
690         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
691         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
692         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
693         be64_to_cpua(86, 80, 6f, a5, 79, 77, da, d0),
694         be64_to_cpua(ef, 95, 52, 7b, a0, 0f, e4, 18),
695         be64_to_cpua(10, 68, 01, 9d, ba, ce, 83, 08),
696         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
697         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
698         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
699         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
700         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
701         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
702         .c_size = ECC_MAX_BYTES * 2,
703         .public_key_vec = true,
704         }, {
705         .key = /* secp192r1(sha224) */
706         "\x04\xb6\x4b\xb1\xd1\xac\xba\x24\x8f\x65\xb2\x60\x00\x90\xbf\xbd"
707         "\x78\x05\x73\xe9\x79\x1d\x6f\x7c\x0b\xd2\xc3\x93\xa7\x28\xe1\x75"
708         "\xf7\xd5\x95\x1d\x28\x10\xc0\x75\x50\x5c\x1a\x4f\x3f\x8f\xa5\xee"
709         "\xa3",
710         .key_len = 49,
711         .m =
712         "\x8d\xd6\xb8\x3e\xe5\xff\x23\xf6\x25\xa2\x43\x42\x74\x45\xa7\x40"
713         "\x3a\xff\x2f\xe1\xd3\xf6\x9f\xe8\x33\xcb\x12\x11",
714         .m_size = 28,
715         .c = (const unsigned char[]){
716         be64_to_cpua(83, 7b, 12, e6, b6, 5b, cb, d4),
717         be64_to_cpua(14, f8, 11, 2b, 55, dc, ae, 37),
718         be64_to_cpua(5a, 8b, 82, 69, 7e, 8a, 0a, 09),
719         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
720         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
721         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
722         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
723         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
724         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
725         be64_to_cpua(a3, e3, 5c, 99, db, 92, 5b, 36),
726         be64_to_cpua(eb, c3, 92, 0f, 1e, 72, ee, c4),
727         be64_to_cpua(6a, 14, 4f, 53, 75, c8, 02, 48),
728         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
729         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
730         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
731         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
732         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
733         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
734         .c_size = ECC_MAX_BYTES * 2,
735         .public_key_vec = true,
736         }, {
737         .key = /* secp192r1(sha256) */
738         "\x04\xe2\x51\x24\x9b\xf7\xb6\x32\x82\x39\x66\x3d\x5b\xec\x3b\xae"
739         "\x0c\xd5\xf2\x67\xd1\xc7\xe1\x02\xe4\xbf\x90\x62\xb8\x55\x75\x56"
740         "\x69\x20\x5e\xcb\x4e\xca\x33\xd6\xcb\x62\x6b\x94\xa9\xa2\xe9\x58"
741         "\x91",
742         .key_len = 49,
743         .m =
744         "\x35\xec\xa1\xa0\x9e\x14\xde\x33\x03\xb6\xf6\xbd\x0c\x2f\xb2\xfd"
745         "\x1f\x27\x82\xa5\xd7\x70\x3f\xef\xa0\x82\x69\x8e\x73\x31\x8e\xd7",
746         .m_size = 32,
747         .c = (const unsigned char[]){
748         be64_to_cpua(01, 48, fb, 5f, 72, 2a, d4, 8f),
749         be64_to_cpua(6b, 1a, 58, 56, f1, 8f, f7, fd),
750         be64_to_cpua(3f, 72, 3f, 1f, 42, d2, 3f, 1d),
751         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
752         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
753         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
754         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
755         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
756         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
757         be64_to_cpua(7d, 3a, 97, d9, cd, 1a, 6a, 49),
758         be64_to_cpua(32, dd, 41, 74, 6a, 51, c7, d9),
759         be64_to_cpua(b3, 69, 43, fd, 48, 19, 86, cf),
760         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
761         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
762         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
763         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
764         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
765         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
766         .c_size = ECC_MAX_BYTES * 2,
767         .public_key_vec = true,
768         }, {
769         .key = /* secp192r1(sha384) */
770         "\x04\x5a\x13\xfe\x68\x86\x4d\xf4\x17\xc7\xa4\xe5\x8c\x65\x57\xb7"
771         "\x03\x73\x26\x57\xfb\xe5\x58\x40\xd8\xfd\x49\x05\xab\xf1\x66\x1f"
772         "\xe2\x9d\x93\x9e\xc2\x22\x5a\x8b\x4f\xf3\x77\x22\x59\x7e\xa6\x4e"
773         "\x8b",
774         .key_len = 49,
775         .m =
776         "\x9d\x2e\x1a\x8f\xed\x6c\x4b\x61\xae\xac\xd5\x19\x79\xce\x67\xf9"
777         "\xa0\x34\xeb\xb0\x81\xf9\xd9\xdc\x6e\xb3\x5c\xa8\x69\xfc\x8a\x61"
778         "\x39\x81\xfb\xfd\x5c\x30\x6b\xa8\xee\xed\x89\xaf\xa3\x05\xe4\x78",
779         .m_size = 48,
780         .c = (const unsigned char[]){
781         be64_to_cpua(dd, 15, bb, d6, 8c, a7, 03, 78),
782         be64_to_cpua(cf, 7f, 34, b4, b4, e5, c5, 00),
783         be64_to_cpua(f0, a3, 38, ce, 2b, f8, 9d, 1a),
784         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
785         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
786         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
787         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
788         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
789         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
790         be64_to_cpua(93, 12, 3b, 3b, 28, fb, 6d, e1),
791         be64_to_cpua(d1, 01, 77, 44, 5d, 53, a4, 7c),
792         be64_to_cpua(64, bc, 5a, 1f, 82, 96, 61, d7),
793         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
794         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
795         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
796         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
797         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
798         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
799         .c_size = ECC_MAX_BYTES * 2,
800         .public_key_vec = true,
801         }, {
802         .key = /* secp192r1(sha512) */
803         "\x04\xd5\xf2\x6e\xc3\x94\x5c\x52\xbc\xdf\x86\x6c\x14\xd1\xca\xea"
804         "\xcc\x72\x3a\x8a\xf6\x7a\x3a\x56\x36\x3b\xca\xc6\x94\x0e\x17\x1d"
805         "\x9e\xa0\x58\x28\xf9\x4b\xe6\xd1\xa5\x44\x91\x35\x0d\xe7\xf5\x11"
806         "\x57",
807         .key_len = 49,
808         .m =
809         "\xd5\x4b\xe9\x36\xda\xd8\x6e\xc0\x50\x03\xbe\x00\x43\xff\xf0\x23"
810         "\xac\xa2\x42\xe7\x37\x77\x79\x52\x8f\x3e\xc0\x16\xc1\xfc\x8c\x67"
811         "\x16\xbc\x8a\x5d\x3b\xd3\x13\xbb\xb6\xc0\x26\x1b\xeb\x33\xcc\x70"
812         "\x4a\xf2\x11\x37\xe8\x1b\xba\x55\xac\x69\xe1\x74\x62\x7c\x6e\xb5",
813         .m_size = 64,
814         .c = (const unsigned char[]){
815         be64_to_cpua(2b, 11, 2d, 1c, b6, 06, c9, 6c),
816         be64_to_cpua(dd, 3f, 07, 87, 12, a0, d4, ac),
817         be64_to_cpua(88, 5b, 8f, 59, 43, bf, cf, c6),
818         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
819         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
820         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
821         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
822         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
823         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
824         be64_to_cpua(28, 6a, df, 97, fd, 82, 76, 24),
825         be64_to_cpua(a9, 14, 2a, 5e, f5, e5, fb, 72),
826         be64_to_cpua(73, b4, 22, 9a, 98, 73, 3c, 83),
827         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
828         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
829         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
830         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
831         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
832         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
833         .c_size = ECC_MAX_BYTES * 2,
834         .public_key_vec = true,
835         },
836 };
837
838 static const struct sig_testvec ecdsa_nist_p256_tv_template[] = {
839         {
840         .key = /* secp256r1(sha1) */
841         "\x04\xb9\x7b\xbb\xd7\x17\x64\xd2\x7e\xfc\x81\x5d\x87\x06\x83\x41"
842         "\x22\xd6\x9a\xaa\x87\x17\xec\x4f\x63\x55\x2f\x94\xba\xdd\x83\xe9"
843         "\x34\x4b\xf3\xe9\x91\x13\x50\xb6\xcb\xca\x62\x08\xe7\x3b\x09\xdc"
844         "\xc3\x63\x4b\x2d\xb9\x73\x53\xe4\x45\xe6\x7c\xad\xe7\x6b\xb0\xe8"
845         "\xaf",
846         .key_len = 65,
847         .m =
848         "\xc2\x2b\x5f\x91\x78\x34\x26\x09\x42\x8d\x6f\x51\xb2\xc5\xaf\x4c"
849         "\x0b\xde\x6a\x42",
850         .m_size = 20,
851         .c = (const unsigned char[]){
852         be64_to_cpua(ee, ca, 6a, 52, 0e, 48, 4d, cc),
853         be64_to_cpua(f7, d4, ad, 8d, 94, 5a, 69, 89),
854         be64_to_cpua(cf, d4, e7, b7, f0, 82, 56, 41),
855         be64_to_cpua(f9, 25, ce, 9f, 3a, a6, 35, 81),
856         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
857         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
858         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
859         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
860         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
861         be64_to_cpua(fb, 9d, 8b, de, d4, 8d, 6f, ad),
862         be64_to_cpua(f1, 03, 03, f3, 3b, e2, 73, f7),
863         be64_to_cpua(8a, fa, 54, 93, 29, a7, 70, 86),
864         be64_to_cpua(d7, e4, ef, 52, 66, d3, 5b, 9d),
865         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
866         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
867         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
868         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
869         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
870         .c_size = ECC_MAX_BYTES * 2,
871         .public_key_vec = true,
872         }, {
873         .key = /* secp256r1(sha224) */
874         "\x04\x8b\x6d\xc0\x33\x8e\x2d\x8b\x67\xf5\xeb\xc4\x7f\xa0\xf5\xd9"
875         "\x7b\x03\xa5\x78\x9a\xb5\xea\x14\xe4\x23\xd0\xaf\xd7\x0e\x2e\xa0"
876         "\xc9\x8b\xdb\x95\xf8\xb3\xaf\xac\x00\x2c\x2c\x1f\x7a\xfd\x95\x88"
877         "\x43\x13\xbf\xf3\x1c\x05\x1a\x14\x18\x09\x3f\xd6\x28\x3e\xc5\xa0"
878         "\xd4",
879         .key_len = 65,
880         .m =
881         "\x1a\x15\xbc\xa3\xe4\xed\x3a\xb8\x23\x67\xc6\xc4\x34\xf8\x6c\x41"
882         "\x04\x0b\xda\xc5\x77\xfa\x1c\x2d\xe6\x2c\x3b\xe0",
883         .m_size = 28,
884         .c = (const unsigned char[]){
885         be64_to_cpua(7d, 25, d8, 25, f5, 81, d2, 1e),
886         be64_to_cpua(34, 62, 79, cb, 6a, 91, 67, 2e),
887         be64_to_cpua(ae, ce, 77, 59, 1a, db, 59, d5),
888         be64_to_cpua(20, 43, fa, c0, 9f, 9d, 7b, e7),
889         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
890         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
891         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
892         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
893         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
894         be64_to_cpua(ce, d5, 2e, 8b, de, 5a, 04, 0e),
895         be64_to_cpua(bf, 50, 05, 58, 39, 0e, 26, 92),
896         be64_to_cpua(76, 20, 4a, 77, 22, ec, c8, 66),
897         be64_to_cpua(5f, f8, 74, f8, 57, d0, 5e, 54),
898         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
899         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
900         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
901         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
902         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
903         .c_size = ECC_MAX_BYTES * 2,
904         .public_key_vec = true,
905         }, {
906         .key = /* secp256r1(sha256) */
907         "\x04\xf1\xea\xc4\x53\xf3\xb9\x0e\x9f\x7e\xad\xe3\xea\xd7\x0e\x0f"
908         "\xd6\x98\x9a\xca\x92\x4d\x0a\x80\xdb\x2d\x45\xc7\xec\x4b\x97\x00"
909         "\x2f\xe9\x42\x6c\x29\xdc\x55\x0e\x0b\x53\x12\x9b\x2b\xad\x2c\xe9"
910         "\x80\xe6\xc5\x43\xc2\x1d\x5e\xbb\x65\x21\x50\xb6\x37\xb0\x03\x8e"
911         "\xb8",
912         .key_len = 65,
913         .m =
914         "\x8f\x43\x43\x46\x64\x8f\x6b\x96\xdf\x89\xdd\xa9\x01\xc5\x17\x6b"
915         "\x10\xa6\xd8\x39\x61\xdd\x3c\x1a\xc8\x8b\x59\xb2\xdc\x32\x7a\xa4",
916         .m_size = 32,
917         .c = (const unsigned char[]){
918         be64_to_cpua(91, dc, 02, 67, dc, 0c, d0, 82),
919         be64_to_cpua(ac, 44, c3, e8, 24, 11, 2d, a4),
920         be64_to_cpua(09, dc, 29, 63, a8, 1a, ad, fc),
921         be64_to_cpua(08, 31, fa, 74, 0d, 1d, 21, 5d),
922         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
923         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
924         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
925         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
926         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
927         be64_to_cpua(4f, 2a, 65, 35, 23, e3, 1d, fa),
928         be64_to_cpua(0a, 6e, 1b, c4, af, e1, 83, c3),
929         be64_to_cpua(f9, a9, 81, ac, 4a, 50, d0, 91),
930         be64_to_cpua(bd, ff, ce, ee, 42, c3, 97, ff),
931         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
932         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
933         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
934         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
935         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
936         .c_size = ECC_MAX_BYTES * 2,
937         .public_key_vec = true,
938         }, {
939         .key = /* secp256r1(sha384) */
940         "\x04\xc5\xc6\xea\x60\xc9\xce\xad\x02\x8d\xf5\x3e\x24\xe3\x52\x1d"
941         "\x28\x47\x3b\xc3\x6b\xa4\x99\x35\x99\x11\x88\x88\xc8\xf4\xee\x7e"
942         "\x8c\x33\x8f\x41\x03\x24\x46\x2b\x1a\x82\xf9\x9f\xe1\x97\x1b\x00"
943         "\xda\x3b\x24\x41\xf7\x66\x33\x58\x3d\x3a\x81\xad\xcf\x16\xe9\xe2"
944         "\x7c",
945         .key_len = 65,
946         .m =
947         "\x3e\x78\x70\xfb\xcd\x66\xba\x91\xa1\x79\xff\x1e\x1c\x6b\x78\xe6"
948         "\xc0\x81\x3a\x65\x97\x14\x84\x36\x14\x1a\x9a\xb7\xc5\xab\x84\x94"
949         "\x5e\xbb\x1b\x34\x71\xcb\x41\xe1\xf6\xfc\x92\x7b\x34\xbb\x86\xbb",
950         .m_size = 48,
951         .c = (const unsigned char[]){
952         be64_to_cpua(f2, e4, 6c, c7, 94, b1, d5, fe),
953         be64_to_cpua(08, b2, 6b, 24, 94, 48, 46, 5e),
954         be64_to_cpua(d0, 2e, 95, 54, d1, 95, 64, 93),
955         be64_to_cpua(8e, f3, 6f, dc, f8, 69, a6, 2e),
956         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
957         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
958         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
959         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
960         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
961         be64_to_cpua(c0, 60, 11, 92, dc, 17, 89, 12),
962         be64_to_cpua(69, f4, 3b, 4f, 47, cf, 9b, 16),
963         be64_to_cpua(19, fb, 5f, 92, f4, c9, 23, 37),
964         be64_to_cpua(eb, a7, 80, 26, dc, f9, 3a, 44),
965         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
966         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
967         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
968         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
969         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
970         .c_size = ECC_MAX_BYTES * 2,
971         .public_key_vec = true,
972         }, {
973         .key = /* secp256r1(sha512) */
974         "\x04\xd7\x27\x46\x49\xf6\x26\x85\x12\x40\x76\x8e\xe2\xe6\x2a\x7a"
975         "\x83\xb1\x4e\x7a\xeb\x3b\x5c\x67\x4a\xb5\xa4\x92\x8c\x69\xff\x38"
976         "\xee\xd9\x4e\x13\x29\x59\xad\xde\x6b\xbb\x45\x31\xee\xfd\xd1\x1b"
977         "\x64\xd3\xb5\xfc\xaf\x9b\x4b\x88\x3b\x0e\xb7\xd6\xdf\xf1\xd5\x92"
978         "\xbf",
979         .key_len = 65,
980         .m =
981         "\x57\xb7\x9e\xe9\x05\x0a\x8c\x1b\xc9\x13\xe5\x4a\x24\xc7\xe2\xe9"
982         "\x43\xc3\xd1\x76\x62\xf4\x98\x1a\x9c\x13\xb0\x20\x1b\xe5\x39\xca"
983         "\x4f\xd9\x85\x34\x95\xa2\x31\xbc\xbb\xde\xdd\x76\xbb\x61\xe3\xcf"
984         "\x9d\xc0\x49\x7a\xf3\x7a\xc4\x7d\xa8\x04\x4b\x8d\xb4\x4d\x5b\xd6",
985         .m_size = 64,
986         .c = (const unsigned char[]){
987         be64_to_cpua(76, f6, 04, 99, 09, 37, 4d, fa),
988         be64_to_cpua(ed, 8c, 73, 30, 6c, 22, b3, 97),
989         be64_to_cpua(40, ea, 44, 81, 00, 4e, 29, 08),
990         be64_to_cpua(b8, 6d, 87, 81, 43, df, fb, 9f),
991         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
992         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
993         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
994         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
995         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
996         be64_to_cpua(76, 31, 79, 4a, e9, 81, 6a, ee),
997         be64_to_cpua(5c, ad, c3, 78, 1c, c2, c1, 19),
998         be64_to_cpua(f8, 00, dd, ab, d4, c0, 2b, e6),
999         be64_to_cpua(1e, b9, 75, 31, f6, 04, a5, 4d),
1000         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1001         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1002         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1003         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1004         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
1005         .c_size = ECC_MAX_BYTES * 2,
1006         .public_key_vec = true,
1007         },
1008 };
1009
1010 static const struct sig_testvec ecdsa_nist_p384_tv_template[] = {
1011         {
1012         .key = /* secp384r1(sha1) */
1013         "\x04\x89\x25\xf3\x97\x88\xcb\xb0\x78\xc5\x72\x9a\x14\x6e\x7a\xb1"
1014         "\x5a\xa5\x24\xf1\x95\x06\x9e\x28\xfb\xc4\xb9\xbe\x5a\x0d\xd9\x9f"
1015         "\xf3\xd1\x4d\x2d\x07\x99\xbd\xda\xa7\x66\xec\xbb\xea\xba\x79\x42"
1016         "\xc9\x34\x89\x6a\xe7\x0b\xc3\xf2\xfe\x32\x30\xbe\xba\xf9\xdf\x7e"
1017         "\x4b\x6a\x07\x8e\x26\x66\x3f\x1d\xec\xa2\x57\x91\x51\xdd\x17\x0e"
1018         "\x0b\x25\xd6\x80\x5c\x3b\xe6\x1a\x98\x48\x91\x45\x7a\x73\xb0\xc3"
1019         "\xf1",
1020         .key_len = 97,
1021         .m =
1022         "\x12\x55\x28\xf0\x77\xd5\xb6\x21\x71\x32\x48\xcd\x28\xa8\x25\x22"
1023         "\x3a\x69\xc1\x93",
1024         .m_size = 20,
1025         .c = (const unsigned char[]){
1026         be64_to_cpua(ec, 7c, 7e, d0, 87, d7, d7, 6e),
1027         be64_to_cpua(78, f1, 4c, 26, e6, 5b, 86, cf),
1028         be64_to_cpua(3a, c6, f1, 32, 3c, ce, 70, 2b),
1029         be64_to_cpua(8d, 26, 8e, ae, 63, 3f, bc, 20),
1030         be64_to_cpua(57, 55, 07, 20, 43, 30, de, a0),
1031         be64_to_cpua(f5, 0f, 24, 4c, 07, 93, 6f, 21),
1032         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1033         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1034         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1035         be64_to_cpua(79, 12, 2a, b7, c5, 15, 92, c5),
1036         be64_to_cpua(4a, a1, 59, f1, 1c, a4, 58, 26),
1037         be64_to_cpua(74, a0, 0f, bf, af, c3, 36, 76),
1038         be64_to_cpua(df, 28, 8c, 1b, fa, f9, 95, 88),
1039         be64_to_cpua(5f, 63, b1, be, 5e, 4c, 0e, a1),
1040         be64_to_cpua(cd, bb, 7e, 81, 5d, 8f, 63, c0),
1041         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1042         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1043         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
1044         .c_size = ECC_MAX_BYTES * 2,
1045         .public_key_vec = true,
1046         }, {
1047         .key = /* secp384r1(sha224) */
1048         "\x04\x69\x6c\xcf\x62\xee\xd0\x0d\xe5\xb5\x2f\x70\x54\xcf\x26\xa0"
1049         "\xd9\x98\x8d\x92\x2a\xab\x9b\x11\xcb\x48\x18\xa1\xa9\x0d\xd5\x18"
1050         "\x3e\xe8\x29\x6e\xf6\xe4\xb5\x8e\xc7\x4a\xc2\x5f\x37\x13\x99\x05"
1051         "\xb6\xa4\x9d\xf9\xfb\x79\x41\xe7\xd7\x96\x9f\x73\x3b\x39\x43\xdc"
1052         "\xda\xf4\x06\xb9\xa5\x29\x01\x9d\x3b\xe1\xd8\x68\x77\x2a\xf4\x50"
1053         "\x6b\x93\x99\x6c\x66\x4c\x42\x3f\x65\x60\x6c\x1c\x0b\x93\x9b\x9d"
1054         "\xe0",
1055         .key_len = 97,
1056         .m =
1057         "\x12\x80\xb6\xeb\x25\xe2\x3d\xf0\x21\x32\x96\x17\x3a\x38\x39\xfd"
1058         "\x1f\x05\x34\x7b\xb8\xf9\x71\x66\x03\x4f\xd5\xe5",
1059         .m_size = 28,
1060         .c = (const unsigned char[]){
1061         be64_to_cpua(3f, dd, 15, 1b, 68, 2b, 9d, 8b),
1062         be64_to_cpua(c9, 9c, 11, b8, 10, 01, c5, 41),
1063         be64_to_cpua(c5, da, b4, e3, 93, 07, e0, 99),
1064         be64_to_cpua(97, f1, c8, 72, 26, cf, 5a, 5e),
1065         be64_to_cpua(ec, cb, e4, 89, 47, b2, f7, bc),
1066         be64_to_cpua(8a, 51, 84, ce, 13, 1e, d2, dc),
1067         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1068         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1069         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1070         be64_to_cpua(88, 2b, 82, 26, 5e, 1c, da, fb),
1071         be64_to_cpua(9f, 19, d0, 42, 8b, 93, c2, 11),
1072         be64_to_cpua(4d, d0, c6, 6e, b0, e9, fc, 14),
1073         be64_to_cpua(df, d8, 68, a2, 64, 42, 65, f3),
1074         be64_to_cpua(4b, 00, 08, 31, 6c, f5, d5, f6),
1075         be64_to_cpua(8b, 03, 2c, fc, 1f, d1, a9, a4),
1076         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1077         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1078         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
1079         .c_size = ECC_MAX_BYTES * 2,
1080         .public_key_vec = true,
1081         }, {
1082         .key = /* secp384r1(sha256) */
1083         "\x04\xee\xd6\xda\x3e\x94\x90\x00\x27\xed\xf8\x64\x55\xd6\x51\x9a"
1084         "\x1f\x52\x00\x63\x78\xf1\xa9\xfd\x75\x4c\x9e\xb2\x20\x1a\x91\x5a"
1085         "\xba\x7a\xa3\xe5\x6c\xb6\x25\x68\x4b\xe8\x13\xa6\x54\x87\x2c\x0e"
1086         "\xd0\x83\x95\xbc\xbf\xc5\x28\x4f\x77\x1c\x46\xa6\xf0\xbc\xd4\xa4"
1087         "\x8d\xc2\x8f\xb3\x32\x37\x40\xd6\xca\xf8\xae\x07\x34\x52\x39\x52"
1088         "\x17\xc3\x34\x29\xd6\x40\xea\x5c\xb9\x3f\xfb\x32\x2e\x12\x33\xbc"
1089         "\xab",
1090         .key_len = 97,
1091         .m =
1092         "\xaa\xe7\xfd\x03\x26\xcb\x94\x71\xe4\xce\x0f\xc5\xff\xa6\x29\xa3"
1093         "\xe1\xcc\x4c\x35\x4e\xde\xca\x80\xab\x26\x0c\x25\xe6\x68\x11\xc2",
1094         .m_size = 32,
1095         .c = (const unsigned char[]){
1096         be64_to_cpua(c8, 8d, 2c, 79, 3a, 8e, 32, c4),
1097         be64_to_cpua(b6, c6, fc, 70, 2e, 66, 3c, 77),
1098         be64_to_cpua(af, 06, 3f, 84, 04, e2, f9, 67),
1099         be64_to_cpua(cc, 47, 53, 87, bc, bd, 83, 3f),
1100         be64_to_cpua(8e, 3f, 7e, ce, 0a, 9b, aa, 59),
1101         be64_to_cpua(08, 09, 12, 9d, 6e, 96, 64, a6),
1102         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1103         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1104         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1105         be64_to_cpua(10, 0e, f4, 1f, 39, ca, 4d, 43),
1106         be64_to_cpua(4f, 8d, de, 1e, 93, 8d, 95, bb),
1107         be64_to_cpua(15, 68, c0, 75, 3e, 23, 5e, 36),
1108         be64_to_cpua(dd, ce, bc, b2, 97, f4, 9c, f3),
1109         be64_to_cpua(26, a2, b0, 89, 42, 0a, da, d9),
1110         be64_to_cpua(40, 34, b8, 90, a9, 80, ab, 47),
1111         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1112         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1113         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
1114         .c_size = ECC_MAX_BYTES * 2,
1115         .public_key_vec = true,
1116         }, {
1117         .key = /* secp384r1(sha384) */
1118         "\x04\x3a\x2f\x62\xe7\x1a\xcf\x24\xd0\x0b\x7c\xe0\xed\x46\x0a\x4f"
1119         "\x74\x16\x43\xe9\x1a\x25\x7c\x55\xff\xf0\x29\x68\x66\x20\x91\xf9"
1120         "\xdb\x2b\xf6\xb3\x6c\x54\x01\xca\xc7\x6a\x5c\x0d\xeb\x68\xd9\x3c"
1121         "\xf1\x01\x74\x1f\xf9\x6c\xe5\x5b\x60\xe9\x7f\x5d\xb3\x12\x80\x2a"
1122         "\xd8\x67\x92\xc9\x0e\x4c\x4c\x6b\xa1\xb2\xa8\x1e\xac\x1c\x97\xd9"
1123         "\x21\x67\xe5\x1b\x5a\x52\x31\x68\xd6\xee\xf0\x19\xb0\x55\xed\x89"
1124         "\x9e",
1125         .key_len = 97,
1126         .m =
1127         "\x8d\xf2\xc0\xe9\xa8\xf3\x8e\x44\xc4\x8c\x1a\xa0\xb8\xd7\x17\xdf"
1128         "\xf2\x37\x1b\xc6\xe3\xf5\x62\xcc\x68\xf5\xd5\x0b\xbf\x73\x2b\xb1"
1129         "\xb0\x4c\x04\x00\x31\xab\xfe\xc8\xd6\x09\xc8\xf2\xea\xd3\x28\xff",
1130         .m_size = 48,
1131         .c = (const unsigned char[]){
1132         be64_to_cpua(a2, a4, c8, f2, ea, 9d, 11, 1f),
1133         be64_to_cpua(3b, 1f, 07, 8f, 15, 02, fe, 1d),
1134         be64_to_cpua(29, e6, fb, ca, 8c, d6, b6, b4),
1135         be64_to_cpua(2d, 7a, 91, 5f, 49, 2d, 22, 08),
1136         be64_to_cpua(ee, 2e, 62, 35, 46, fa, 00, d8),
1137         be64_to_cpua(9b, 28, 68, c0, a1, ea, 8c, 50),
1138         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1139         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1140         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1141         be64_to_cpua(ab, 8d, 4e, de, e6, 6d, 9b, 66),
1142         be64_to_cpua(96, 17, 04, c9, 05, 77, f1, 8e),
1143         be64_to_cpua(44, 92, 8c, 86, 99, 65, b3, 97),
1144         be64_to_cpua(71, cd, 8f, 18, 99, f0, 0f, 13),
1145         be64_to_cpua(bf, e3, 75, 24, 49, ac, fb, c8),
1146         be64_to_cpua(fc, 50, f6, 43, bd, 50, 82, 0e),
1147         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1148         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1149         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
1150         .c_size = ECC_MAX_BYTES * 2,
1151         .public_key_vec = true,
1152         }, {
1153         .key = /* secp384r1(sha512) */
1154         "\x04\xb4\xe7\xc1\xeb\x64\x25\x22\x46\xc3\x86\x61\x80\xbe\x1e\x46"
1155         "\xcb\xf6\x05\xc2\xee\x73\x83\xbc\xea\x30\x61\x4d\x40\x05\x41\xf4"
1156         "\x8c\xe3\x0e\x5c\xf0\x50\xf2\x07\x19\xe8\x4f\x25\xbe\xee\x0c\x95"
1157         "\x54\x36\x86\xec\xc2\x20\x75\xf3\x89\xb5\x11\xa1\xb7\xf5\xaf\xbe"
1158         "\x81\xe4\xc3\x39\x06\xbd\xe4\xfe\x68\x1c\x6d\x99\x2b\x1b\x63\xfa"
1159         "\xdf\x42\x5c\xc2\x5a\xc7\x0c\xf4\x15\xf7\x1b\xa3\x2e\xd7\x00\xac"
1160         "\xa3",
1161         .key_len = 97,
1162         .m =
1163         "\xe8\xb7\x52\x7d\x1a\x44\x20\x05\x53\x6b\x3a\x68\xf2\xe7\x6c\xa1"
1164         "\xae\x9d\x84\xbb\xba\x52\x43\x3e\x2c\x42\x78\x49\xbf\x78\xb2\x71"
1165         "\xeb\xe1\xe0\xe8\x42\x7b\x11\xad\x2b\x99\x05\x1d\x36\xe6\xac\xfc"
1166         "\x55\x73\xf0\x15\x63\x39\xb8\x6a\x6a\xc5\x91\x5b\xca\x6a\xa8\x0e",
1167         .m_size = 64,
1168         .c = (const unsigned char[]){
1169         be64_to_cpua(3e, b3, c7, a8, b3, 17, 77, d1),
1170         be64_to_cpua(dc, 2b, 43, 0e, 6a, b3, 53, 6f),
1171         be64_to_cpua(4c, fc, 6f, 80, e3, af, b3, d9),
1172         be64_to_cpua(9a, 02, de, 93, e8, 83, e4, 84),
1173         be64_to_cpua(4d, c6, ef, da, 02, e7, 0f, 52),
1174         be64_to_cpua(00, 1d, 20, 94, 77, fe, 31, fa),
1175         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1176         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1177         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1178         be64_to_cpua(4e, 45, cf, 3c, 93, ff, 50, 5d),
1179         be64_to_cpua(34, e4, 8b, 80, a5, b6, da, 2c),
1180         be64_to_cpua(c4, 6a, 03, 5f, 8d, 7a, f9, fb),
1181         be64_to_cpua(ec, 63, e3, 0c, ec, 50, dc, cc),
1182         be64_to_cpua(de, 3a, 3d, 16, af, b4, 52, 6a),
1183         be64_to_cpua(63, f6, f0, 3d, 5f, 5f, 99, 3f),
1184         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1185         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1186         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
1187         .c_size = ECC_MAX_BYTES * 2,
1188         .public_key_vec = true,
1189         },
1190 };
1191
1192 static const struct sig_testvec ecdsa_nist_p521_tv_template[] = {
1193         {
1194         .key = /* secp521r1(sha224) */
1195         "\x04\x01\x4f\x43\x18\xb6\xa9\xc9\x5d\x68\xd3\xa9\x42\xf8\x98\xc0"
1196         "\xd2\xd1\xa9\x50\x3b\xe8\xc4\x40\xe6\x11\x78\x88\x4b\xbd\x76\xa7"
1197         "\x9a\xe0\xdd\x31\xa4\x67\x78\x45\x33\x9e\x8c\xd1\xc7\x44\xac\x61"
1198         "\x68\xc8\x04\xe7\x5c\x79\xb1\xf1\x41\x0c\x71\xc0\x53\xa8\xbc\xfb"
1199         "\xf5\xca\xd4\x01\x40\xfd\xa3\x45\xda\x08\xe0\xb4\xcb\x28\x3b\x0a"
1200         "\x02\x35\x5f\x02\x9f\x3f\xcd\xef\x08\x22\x40\x97\x74\x65\xb7\x76"
1201         "\x85\xc7\xc0\x5c\xfb\x81\xe1\xa5\xde\x0c\x4e\x8b\x12\x31\xb6\x47"
1202         "\xed\x37\x0f\x99\x3f\x26\xba\xa3\x8e\xff\x79\x34\x7c\x3a\xfe\x1f"
1203         "\x3b\x83\x82\x2f\x14",
1204         .key_len = 133,
1205         .m =
1206         "\xa2\x3a\x6a\x8c\x7b\x3c\xf2\x51\xf8\xbe\x5f\x4f\x3b\x15\x05\xc4"
1207         "\xb5\xbc\x19\xe7\x21\x85\xe9\x23\x06\x33\x62\xfb",
1208         .m_size = 28,
1209         .c = (const unsigned char[]){
1210         be64_to_cpua(46, 6b, c7, af, 7a, b9, 19, 0a),
1211         be64_to_cpua(6c, a6, 9b, 89, 8b, 1e, fd, 09),
1212         be64_to_cpua(98, 85, 29, 88, ff, 0b, 94, 94),
1213         be64_to_cpua(18, c6, 37, 8a, cb, a7, d8, 7d),
1214         be64_to_cpua(f8, 3f, 59, 0f, 74, f0, 3f, d8),
1215         be64_to_cpua(e2, ef, 07, 92, ee, 60, 94, 06),
1216         be64_to_cpua(35, f6, dc, 6d, 02, 7b, 22, ac),
1217         be64_to_cpua(d6, 43, e7, ff, 42, b2, ba, 74),
1218         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 01),
1219         be64_to_cpua(50, b1, a5, 98, 92, 2a, a5, 52),
1220         be64_to_cpua(1c, ad, 22, da, 82, 00, 35, a3),
1221         be64_to_cpua(0e, 64, cc, c4, e8, 43, d9, 0e),
1222         be64_to_cpua(30, 90, 0f, 1c, 8f, 78, d3, 9f),
1223         be64_to_cpua(26, 0b, 5f, 49, 32, 6b, 91, 99),
1224         be64_to_cpua(0f, f8, 65, 97, 6b, 09, 4d, 22),
1225         be64_to_cpua(5e, f9, 88, f3, d2, 32, 90, 57),
1226         be64_to_cpua(26, 0d, 55, cd, 23, 1e, 7d, a0),
1227         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 3a) },
1228         .c_size = ECC_MAX_BYTES * 2,
1229         .public_key_vec = true,
1230         },
1231         {
1232         .key = /* secp521r1(sha256) */
1233         "\x04\x01\x05\x3a\x6b\x3b\x5a\x0f\xa7\xb9\xb7\x32\x53\x4e\xe2\xae"
1234         "\x0a\x52\xc5\xda\xdd\x5a\x79\x1c\x30\x2d\x33\x07\x79\xd5\x70\x14"
1235         "\x61\x0c\xec\x26\x4d\xd8\x35\x57\x04\x1d\x88\x33\x4d\xce\x05\x36"
1236         "\xa5\xaf\x56\x84\xfa\x0b\x9e\xff\x7b\x30\x4b\x92\x1d\x06\xf8\x81"
1237         "\x24\x1e\x51\x00\x09\x21\x51\xf7\x46\x0a\x77\xdb\xb5\x0c\xe7\x9c"
1238         "\xff\x27\x3c\x02\x71\xd7\x85\x36\xf1\xaa\x11\x59\xd8\xb8\xdc\x09"
1239         "\xdc\x6d\x5a\x6f\x63\x07\x6c\xe1\xe5\x4d\x6e\x0f\x6e\xfb\x7c\x05"
1240         "\x8a\xe9\x53\xa8\xcf\xce\x43\x0e\x82\x20\x86\xbc\x88\x9c\xb7\xe3"
1241         "\xe6\x77\x1e\x1f\x8a",
1242         .key_len = 133,
1243         .m =
1244         "\xcc\x97\x73\x0c\x73\xa2\x53\x2b\xfa\xd7\x83\x1d\x0c\x72\x1b\x39"
1245         "\x80\x71\x8d\xdd\xc5\x9b\xff\x55\x32\x98\x25\xa2\x58\x2e\xb7\x73",
1246         .m_size = 32,
1247         .c = (const unsigned char[]){
1248         be64_to_cpua(de, 7e, d7, 59, 10, e9, d9, d5),
1249         be64_to_cpua(38, 1f, 46, 0b, 04, 64, 34, 79),
1250         be64_to_cpua(ae, ce, 54, 76, 9a, c2, 8f, b8),
1251         be64_to_cpua(95, 35, 6f, 02, 0e, af, e1, 4c),
1252         be64_to_cpua(56, 3c, f6, f0, d8, e1, b7, 5d),
1253         be64_to_cpua(50, 9f, 7d, 1f, ca, 8b, a8, 2d),
1254         be64_to_cpua(06, 0f, fd, 83, fc, 0e, d9, ce),
1255         be64_to_cpua(a5, 5f, 57, 52, 27, 78, 3a, b5),
1256         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, cd),
1257         be64_to_cpua(55, 38, b6, f6, 34, 65, c7, bd),
1258         be64_to_cpua(1c, 57, 56, 8f, 12, b7, 1d, 91),
1259         be64_to_cpua(03, 42, 02, 5f, 50, f0, a2, 0d),
1260         be64_to_cpua(fa, 10, dd, 9b, fb, 36, 1a, 31),
1261         be64_to_cpua(e0, 87, 2c, 44, 4b, 5a, ee, af),
1262         be64_to_cpua(a9, 79, 24, b9, 37, 35, dd, a0),
1263         be64_to_cpua(6b, 35, ae, 65, b5, 99, 12, 0a),
1264         be64_to_cpua(50, 85, 38, f9, 15, 83, 18, 04),
1265         be64_to_cpua(00, 00, 00, 00, 00, 00, 01, cf) },
1266         .c_size = ECC_MAX_BYTES * 2,
1267         .public_key_vec = true,
1268         },
1269         {
1270         .key = /* secp521r1(sha384) */
1271         "\x04\x00\x2e\xd6\x21\x04\x75\xc3\xdc\x7d\xff\x0e\xf3\x70\x25\x2b"
1272         "\xad\x72\xfc\x5a\x91\xf1\xd5\x9c\x64\xf3\x1f\x47\x11\x10\x62\x33"
1273         "\xfd\x2e\xe8\x32\xca\x9e\x6f\x0a\x4c\x5b\x35\x9a\x46\xc5\xe7\xd4"
1274         "\x38\xda\xb2\xf0\xf4\x87\xf3\x86\xf4\xea\x70\xad\x1e\xd4\x78\x8c"
1275         "\x36\x18\x17\x00\xa2\xa0\x34\x1b\x2e\x6a\xdf\x06\xd6\x99\x2d\x47"
1276         "\x50\x92\x1a\x8a\x72\x9c\x23\x44\xfa\xa7\xa9\xed\xa6\xef\x26\x14"
1277         "\xb3\x9d\xfe\x5e\xa3\x8c\xd8\x29\xf8\xdf\xad\xa6\xab\xfc\xdd\x46"
1278         "\x22\x6e\xd7\x35\xc7\x23\xb7\x13\xae\xb6\x34\xff\xd7\x80\xe5\x39"
1279         "\xb3\x3b\x5b\x1b\x94",
1280         .key_len = 133,
1281         .m =
1282         "\x36\x98\xd6\x82\xfa\xad\xed\x3c\xb9\x40\xb6\x4d\x9e\xb7\x04\x26"
1283         "\xad\x72\x34\x44\xd2\x81\xb4\x9b\xbe\x01\x04\x7a\xd8\x50\xf8\x59"
1284         "\xba\xad\x23\x85\x6b\x59\xbe\xfb\xf6\x86\xd4\x67\xa8\x43\x28\x76",
1285         .m_size = 48,
1286         .c = (const unsigned char[]){
1287         be64_to_cpua(b8, 6a, dd, fb, e6, 63, 4e, 28),
1288         be64_to_cpua(84, 59, fd, 1a, c4, 40, dd, 43),
1289         be64_to_cpua(32, 76, 06, d0, f9, c0, e4, e6),
1290         be64_to_cpua(e4, df, 9b, 7d, 9e, 47, ca, 33),
1291         be64_to_cpua(7e, 42, 71, 86, 57, 2d, f1, 7d),
1292         be64_to_cpua(f2, 4b, 64, 98, f7, ec, da, c7),
1293         be64_to_cpua(ec, 51, dc, e8, 35, 5e, ae, 16),
1294         be64_to_cpua(96, 76, 3c, 27, ea, aa, 9c, 26),
1295         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 93),
1296         be64_to_cpua(c6, 4f, ab, 2b, 62, c1, 42, b1),
1297         be64_to_cpua(e5, 5a, 94, 56, cf, 8f, b4, 22),
1298         be64_to_cpua(6a, c3, f3, 7a, d1, fa, e7, a7),
1299         be64_to_cpua(df, c4, c0, db, 54, db, 8a, 0d),
1300         be64_to_cpua(da, a7, cd, 26, 28, 76, 3b, 52),
1301         be64_to_cpua(e4, 3c, bc, 93, 65, 57, 1c, 30),
1302         be64_to_cpua(55, ce, 37, 97, c9, 05, 51, e5),
1303         be64_to_cpua(c3, 6a, 87, 6e, b5, 13, 1f, 20),
1304         be64_to_cpua(00, 00, 00, 00, 00, 00, 00, ff) },
1305         .c_size = ECC_MAX_BYTES * 2,
1306         .public_key_vec = true,
1307         },
1308         {
1309         .key = /* secp521r1(sha512) */
1310         "\x04\x00\xc7\x65\xee\x0b\x86\x7d\x8f\x02\xf1\x74\x5b\xb0\x4c\x3f"
1311         "\xa6\x35\x60\x9f\x55\x23\x11\xcc\xdf\xb8\x42\x99\xee\x6c\x96\x6a"
1312         "\x27\xa2\x56\xb2\x2b\x03\xad\x0f\xe7\x97\xde\x09\x5d\xb4\xc5\x5f"
1313         "\xbd\x87\x37\xbf\x5a\x16\x35\x56\x08\xfd\x6f\x06\x1a\x1c\x84\xee"
1314         "\xc3\x64\xb3\x00\x9e\xbd\x6e\x60\x76\xee\x69\xfd\x3a\xb8\xcd\x7e"
1315         "\x91\x68\x53\x57\x44\x13\x2e\x77\x09\x2a\xbe\x48\xbd\x91\xd8\xf6"
1316         "\x21\x16\x53\x99\xd5\xf0\x40\xad\xa6\xf8\x58\x26\xb6\x9a\xf8\x77"
1317         "\xfe\x3a\x05\x1a\xdb\xa9\x0f\xc0\x6c\x76\x30\x8c\xd8\xde\x44\xae"
1318         "\xd0\x17\xdf\x49\x6a",
1319         .key_len = 133,
1320         .m =
1321         "\x5c\xa6\xbc\x79\xb8\xa0\x1e\x11\x83\xf7\xe9\x05\xdf\xba\xf7\x69"
1322         "\x97\x22\x32\xe4\x94\x7c\x65\xbd\x74\xc6\x9a\x8b\xbd\x0d\xdc\xed"
1323         "\xf5\x9c\xeb\xe1\xc5\x68\x40\xf2\xc7\x04\xde\x9e\x0d\x76\xc5\xa3"
1324         "\xf9\x3c\x6c\x98\x08\x31\xbd\x39\xe8\x42\x7f\x80\x39\x6f\xfe\x68",
1325         .m_size = 64,
1326         .c = (const unsigned char[]){
1327         be64_to_cpua(28, b5, 04, b0, b6, 33, 1c, 7e),
1328         be64_to_cpua(80, a6, 13, fc, b6, 90, f7, bb),
1329         be64_to_cpua(27, 93, e8, 6c, 49, 7d, 28, fc),
1330         be64_to_cpua(1f, 12, 3e, b7, 7e, 51, ff, 7f),
1331         be64_to_cpua(fb, 62, 1e, 42, 03, 6c, 74, 8a),
1332         be64_to_cpua(63, 0e, 02, cc, 94, a9, 05, b9),
1333         be64_to_cpua(aa, 86, ec, a8, 05, 03, 52, 56),
1334         be64_to_cpua(71, 86, 96, ac, 21, 33, 7e, 4e),
1335         be64_to_cpua(00, 00, 00, 00, 00, 00, 01, 5c),
1336         be64_to_cpua(46, 1e, 77, 44, 78, e0, d1, 04),
1337         be64_to_cpua(72, 74, 13, 63, 39, a6, e5, 25),
1338         be64_to_cpua(00, 55, bb, 6a, b4, 73, 00, d2),
1339         be64_to_cpua(71, d0, e9, ca, a7, c0, cb, aa),
1340         be64_to_cpua(7a, 76, 37, 51, 47, 49, 98, 12),
1341         be64_to_cpua(88, 05, 3e, 43, 39, 01, bd, b7),
1342         be64_to_cpua(95, 35, 89, 4f, 41, 5f, 9e, 19),
1343         be64_to_cpua(43, 52, 1d, e3, c6, bd, 5a, 40),
1344         be64_to_cpua(00, 00, 00, 00, 00, 00, 01, 70) },
1345         .c_size = ECC_MAX_BYTES * 2,
1346         .public_key_vec = true,
1347         },
1348 };
1349
1350 /*
1351  * ECDSA X9.62 test vectors.
1352  *
1353  * Identical to ECDSA test vectors, except signature in "c" is X9.62 encoded.
1354  */
1355 static const struct sig_testvec x962_ecdsa_nist_p192_tv_template[] = {
1356         {
1357         .key = /* secp192r1(sha1) */
1358         "\x04\xf7\x46\xf8\x2f\x15\xf6\x22\x8e\xd7\x57\x4f\xcc\xe7\xbb\xc1"
1359         "\xd4\x09\x73\xcf\xea\xd0\x15\x07\x3d\xa5\x8a\x8a\x95\x43\xe4\x68"
1360         "\xea\xc6\x25\xc1\xc1\x01\x25\x4c\x7e\xc3\x3c\xa6\x04\x0a\xe7\x08"
1361         "\x98",
1362         .key_len = 49,
1363         .m =
1364         "\xcd\xb9\xd2\x1c\xb7\x6f\xcd\x44\xb3\xfd\x63\xea\xa3\x66\x7f\xae"
1365         "\x63\x85\xe7\x82",
1366         .m_size = 20,
1367         .c =
1368         "\x30\x35\x02\x19\x00\xba\xe5\x93\x83\x6e\xb6\x3b\x63\xa0\x27\x91"
1369         "\xc6\xf6\x7f\xc3\x09\xad\x59\xad\x88\x27\xd6\x92\x6b\x02\x18\x10"
1370         "\x68\x01\x9d\xba\xce\x83\x08\xef\x95\x52\x7b\xa0\x0f\xe4\x18\x86"
1371         "\x80\x6f\xa5\x79\x77\xda\xd0",
1372         .c_size = 55,
1373         .public_key_vec = true,
1374         }, {
1375         .key = /* secp192r1(sha224) */
1376         "\x04\xb6\x4b\xb1\xd1\xac\xba\x24\x8f\x65\xb2\x60\x00\x90\xbf\xbd"
1377         "\x78\x05\x73\xe9\x79\x1d\x6f\x7c\x0b\xd2\xc3\x93\xa7\x28\xe1\x75"
1378         "\xf7\xd5\x95\x1d\x28\x10\xc0\x75\x50\x5c\x1a\x4f\x3f\x8f\xa5\xee"
1379         "\xa3",
1380         .key_len = 49,
1381         .m =
1382         "\x8d\xd6\xb8\x3e\xe5\xff\x23\xf6\x25\xa2\x43\x42\x74\x45\xa7\x40"
1383         "\x3a\xff\x2f\xe1\xd3\xf6\x9f\xe8\x33\xcb\x12\x11",
1384         .m_size = 28,
1385         .c =
1386         "\x30\x34\x02\x18\x5a\x8b\x82\x69\x7e\x8a\x0a\x09\x14\xf8\x11\x2b"
1387         "\x55\xdc\xae\x37\x83\x7b\x12\xe6\xb6\x5b\xcb\xd4\x02\x18\x6a\x14"
1388         "\x4f\x53\x75\xc8\x02\x48\xeb\xc3\x92\x0f\x1e\x72\xee\xc4\xa3\xe3"
1389         "\x5c\x99\xdb\x92\x5b\x36",
1390         .c_size = 54,
1391         .public_key_vec = true,
1392         }, {
1393         .key = /* secp192r1(sha256) */
1394         "\x04\xe2\x51\x24\x9b\xf7\xb6\x32\x82\x39\x66\x3d\x5b\xec\x3b\xae"
1395         "\x0c\xd5\xf2\x67\xd1\xc7\xe1\x02\xe4\xbf\x90\x62\xb8\x55\x75\x56"
1396         "\x69\x20\x5e\xcb\x4e\xca\x33\xd6\xcb\x62\x6b\x94\xa9\xa2\xe9\x58"
1397         "\x91",
1398         .key_len = 49,
1399         .m =
1400         "\x35\xec\xa1\xa0\x9e\x14\xde\x33\x03\xb6\xf6\xbd\x0c\x2f\xb2\xfd"
1401         "\x1f\x27\x82\xa5\xd7\x70\x3f\xef\xa0\x82\x69\x8e\x73\x31\x8e\xd7",
1402         .m_size = 32,
1403         .c =
1404         "\x30\x35\x02\x18\x3f\x72\x3f\x1f\x42\xd2\x3f\x1d\x6b\x1a\x58\x56"
1405         "\xf1\x8f\xf7\xfd\x01\x48\xfb\x5f\x72\x2a\xd4\x8f\x02\x19\x00\xb3"
1406         "\x69\x43\xfd\x48\x19\x86\xcf\x32\xdd\x41\x74\x6a\x51\xc7\xd9\x7d"
1407         "\x3a\x97\xd9\xcd\x1a\x6a\x49",
1408         .c_size = 55,
1409         .public_key_vec = true,
1410         }, {
1411         .key = /* secp192r1(sha384) */
1412         "\x04\x5a\x13\xfe\x68\x86\x4d\xf4\x17\xc7\xa4\xe5\x8c\x65\x57\xb7"
1413         "\x03\x73\x26\x57\xfb\xe5\x58\x40\xd8\xfd\x49\x05\xab\xf1\x66\x1f"
1414         "\xe2\x9d\x93\x9e\xc2\x22\x5a\x8b\x4f\xf3\x77\x22\x59\x7e\xa6\x4e"
1415         "\x8b",
1416         .key_len = 49,
1417         .m =
1418         "\x9d\x2e\x1a\x8f\xed\x6c\x4b\x61\xae\xac\xd5\x19\x79\xce\x67\xf9"
1419         "\xa0\x34\xeb\xb0\x81\xf9\xd9\xdc\x6e\xb3\x5c\xa8\x69\xfc\x8a\x61"
1420         "\x39\x81\xfb\xfd\x5c\x30\x6b\xa8\xee\xed\x89\xaf\xa3\x05\xe4\x78",
1421         .m_size = 48,
1422         .c =
1423         "\x30\x35\x02\x19\x00\xf0\xa3\x38\xce\x2b\xf8\x9d\x1a\xcf\x7f\x34"
1424         "\xb4\xb4\xe5\xc5\x00\xdd\x15\xbb\xd6\x8c\xa7\x03\x78\x02\x18\x64"
1425         "\xbc\x5a\x1f\x82\x96\x61\xd7\xd1\x01\x77\x44\x5d\x53\xa4\x7c\x93"
1426         "\x12\x3b\x3b\x28\xfb\x6d\xe1",
1427         .c_size = 55,
1428         .public_key_vec = true,
1429         }, {
1430         .key = /* secp192r1(sha512) */
1431         "\x04\xd5\xf2\x6e\xc3\x94\x5c\x52\xbc\xdf\x86\x6c\x14\xd1\xca\xea"
1432         "\xcc\x72\x3a\x8a\xf6\x7a\x3a\x56\x36\x3b\xca\xc6\x94\x0e\x17\x1d"
1433         "\x9e\xa0\x58\x28\xf9\x4b\xe6\xd1\xa5\x44\x91\x35\x0d\xe7\xf5\x11"
1434         "\x57",
1435         .key_len = 49,
1436         .m =
1437         "\xd5\x4b\xe9\x36\xda\xd8\x6e\xc0\x50\x03\xbe\x00\x43\xff\xf0\x23"
1438         "\xac\xa2\x42\xe7\x37\x77\x79\x52\x8f\x3e\xc0\x16\xc1\xfc\x8c\x67"
1439         "\x16\xbc\x8a\x5d\x3b\xd3\x13\xbb\xb6\xc0\x26\x1b\xeb\x33\xcc\x70"
1440         "\x4a\xf2\x11\x37\xe8\x1b\xba\x55\xac\x69\xe1\x74\x62\x7c\x6e\xb5",
1441         .m_size = 64,
1442         .c =
1443         "\x30\x35\x02\x19\x00\x88\x5b\x8f\x59\x43\xbf\xcf\xc6\xdd\x3f\x07"
1444         "\x87\x12\xa0\xd4\xac\x2b\x11\x2d\x1c\xb6\x06\xc9\x6c\x02\x18\x73"
1445         "\xb4\x22\x9a\x98\x73\x3c\x83\xa9\x14\x2a\x5e\xf5\xe5\xfb\x72\x28"
1446         "\x6a\xdf\x97\xfd\x82\x76\x24",
1447         .c_size = 55,
1448         .public_key_vec = true,
1449         },
1450 };
1451
1452 static const struct sig_testvec x962_ecdsa_nist_p256_tv_template[] = {
1453         {
1454         .key = /* secp256r1(sha1) */
1455         "\x04\xb9\x7b\xbb\xd7\x17\x64\xd2\x7e\xfc\x81\x5d\x87\x06\x83\x41"
1456         "\x22\xd6\x9a\xaa\x87\x17\xec\x4f\x63\x55\x2f\x94\xba\xdd\x83\xe9"
1457         "\x34\x4b\xf3\xe9\x91\x13\x50\xb6\xcb\xca\x62\x08\xe7\x3b\x09\xdc"
1458         "\xc3\x63\x4b\x2d\xb9\x73\x53\xe4\x45\xe6\x7c\xad\xe7\x6b\xb0\xe8"
1459         "\xaf",
1460         .key_len = 65,
1461         .m =
1462         "\xc2\x2b\x5f\x91\x78\x34\x26\x09\x42\x8d\x6f\x51\xb2\xc5\xaf\x4c"
1463         "\x0b\xde\x6a\x42",
1464         .m_size = 20,
1465         .c =
1466         "\x30\x46\x02\x21\x00\xf9\x25\xce\x9f\x3a\xa6\x35\x81\xcf\xd4\xe7"
1467         "\xb7\xf0\x82\x56\x41\xf7\xd4\xad\x8d\x94\x5a\x69\x89\xee\xca\x6a"
1468         "\x52\x0e\x48\x4d\xcc\x02\x21\x00\xd7\xe4\xef\x52\x66\xd3\x5b\x9d"
1469         "\x8a\xfa\x54\x93\x29\xa7\x70\x86\xf1\x03\x03\xf3\x3b\xe2\x73\xf7"
1470         "\xfb\x9d\x8b\xde\xd4\x8d\x6f\xad",
1471         .c_size = 72,
1472         .public_key_vec = true,
1473         }, {
1474         .key = /* secp256r1(sha224) */
1475         "\x04\x8b\x6d\xc0\x33\x8e\x2d\x8b\x67\xf5\xeb\xc4\x7f\xa0\xf5\xd9"
1476         "\x7b\x03\xa5\x78\x9a\xb5\xea\x14\xe4\x23\xd0\xaf\xd7\x0e\x2e\xa0"
1477         "\xc9\x8b\xdb\x95\xf8\xb3\xaf\xac\x00\x2c\x2c\x1f\x7a\xfd\x95\x88"
1478         "\x43\x13\xbf\xf3\x1c\x05\x1a\x14\x18\x09\x3f\xd6\x28\x3e\xc5\xa0"
1479         "\xd4",
1480         .key_len = 65,
1481         .m =
1482         "\x1a\x15\xbc\xa3\xe4\xed\x3a\xb8\x23\x67\xc6\xc4\x34\xf8\x6c\x41"
1483         "\x04\x0b\xda\xc5\x77\xfa\x1c\x2d\xe6\x2c\x3b\xe0",
1484         .m_size = 28,
1485         .c =
1486         "\x30\x44\x02\x20\x20\x43\xfa\xc0\x9f\x9d\x7b\xe7\xae\xce\x77\x59"
1487         "\x1a\xdb\x59\xd5\x34\x62\x79\xcb\x6a\x91\x67\x2e\x7d\x25\xd8\x25"
1488         "\xf5\x81\xd2\x1e\x02\x20\x5f\xf8\x74\xf8\x57\xd0\x5e\x54\x76\x20"
1489         "\x4a\x77\x22\xec\xc8\x66\xbf\x50\x05\x58\x39\x0e\x26\x92\xce\xd5"
1490         "\x2e\x8b\xde\x5a\x04\x0e",
1491         .c_size = 70,
1492         .public_key_vec = true,
1493         }, {
1494         .key = /* secp256r1(sha256) */
1495         "\x04\xf1\xea\xc4\x53\xf3\xb9\x0e\x9f\x7e\xad\xe3\xea\xd7\x0e\x0f"
1496         "\xd6\x98\x9a\xca\x92\x4d\x0a\x80\xdb\x2d\x45\xc7\xec\x4b\x97\x00"
1497         "\x2f\xe9\x42\x6c\x29\xdc\x55\x0e\x0b\x53\x12\x9b\x2b\xad\x2c\xe9"
1498         "\x80\xe6\xc5\x43\xc2\x1d\x5e\xbb\x65\x21\x50\xb6\x37\xb0\x03\x8e"
1499         "\xb8",
1500         .key_len = 65,
1501         .m =
1502         "\x8f\x43\x43\x46\x64\x8f\x6b\x96\xdf\x89\xdd\xa9\x01\xc5\x17\x6b"
1503         "\x10\xa6\xd8\x39\x61\xdd\x3c\x1a\xc8\x8b\x59\xb2\xdc\x32\x7a\xa4",
1504         .m_size = 32,
1505         .c =
1506         "\x30\x45\x02\x20\x08\x31\xfa\x74\x0d\x1d\x21\x5d\x09\xdc\x29\x63"
1507         "\xa8\x1a\xad\xfc\xac\x44\xc3\xe8\x24\x11\x2d\xa4\x91\xdc\x02\x67"
1508         "\xdc\x0c\xd0\x82\x02\x21\x00\xbd\xff\xce\xee\x42\xc3\x97\xff\xf9"
1509         "\xa9\x81\xac\x4a\x50\xd0\x91\x0a\x6e\x1b\xc4\xaf\xe1\x83\xc3\x4f"
1510         "\x2a\x65\x35\x23\xe3\x1d\xfa",
1511         .c_size = 71,
1512         .public_key_vec = true,
1513         }, {
1514         .key = /* secp256r1(sha384) */
1515         "\x04\xc5\xc6\xea\x60\xc9\xce\xad\x02\x8d\xf5\x3e\x24\xe3\x52\x1d"
1516         "\x28\x47\x3b\xc3\x6b\xa4\x99\x35\x99\x11\x88\x88\xc8\xf4\xee\x7e"
1517         "\x8c\x33\x8f\x41\x03\x24\x46\x2b\x1a\x82\xf9\x9f\xe1\x97\x1b\x00"
1518         "\xda\x3b\x24\x41\xf7\x66\x33\x58\x3d\x3a\x81\xad\xcf\x16\xe9\xe2"
1519         "\x7c",
1520         .key_len = 65,
1521         .m =
1522         "\x3e\x78\x70\xfb\xcd\x66\xba\x91\xa1\x79\xff\x1e\x1c\x6b\x78\xe6"
1523         "\xc0\x81\x3a\x65\x97\x14\x84\x36\x14\x1a\x9a\xb7\xc5\xab\x84\x94"
1524         "\x5e\xbb\x1b\x34\x71\xcb\x41\xe1\xf6\xfc\x92\x7b\x34\xbb\x86\xbb",
1525         .m_size = 48,
1526         .c =
1527         "\x30\x46\x02\x21\x00\x8e\xf3\x6f\xdc\xf8\x69\xa6\x2e\xd0\x2e\x95"
1528         "\x54\xd1\x95\x64\x93\x08\xb2\x6b\x24\x94\x48\x46\x5e\xf2\xe4\x6c"
1529         "\xc7\x94\xb1\xd5\xfe\x02\x21\x00\xeb\xa7\x80\x26\xdc\xf9\x3a\x44"
1530         "\x19\xfb\x5f\x92\xf4\xc9\x23\x37\x69\xf4\x3b\x4f\x47\xcf\x9b\x16"
1531         "\xc0\x60\x11\x92\xdc\x17\x89\x12",
1532         .c_size = 72,
1533         .public_key_vec = true,
1534         }, {
1535         .key = /* secp256r1(sha512) */
1536         "\x04\xd7\x27\x46\x49\xf6\x26\x85\x12\x40\x76\x8e\xe2\xe6\x2a\x7a"
1537         "\x83\xb1\x4e\x7a\xeb\x3b\x5c\x67\x4a\xb5\xa4\x92\x8c\x69\xff\x38"
1538         "\xee\xd9\x4e\x13\x29\x59\xad\xde\x6b\xbb\x45\x31\xee\xfd\xd1\x1b"
1539         "\x64\xd3\xb5\xfc\xaf\x9b\x4b\x88\x3b\x0e\xb7\xd6\xdf\xf1\xd5\x92"
1540         "\xbf",
1541         .key_len = 65,
1542         .m =
1543         "\x57\xb7\x9e\xe9\x05\x0a\x8c\x1b\xc9\x13\xe5\x4a\x24\xc7\xe2\xe9"
1544         "\x43\xc3\xd1\x76\x62\xf4\x98\x1a\x9c\x13\xb0\x20\x1b\xe5\x39\xca"
1545         "\x4f\xd9\x85\x34\x95\xa2\x31\xbc\xbb\xde\xdd\x76\xbb\x61\xe3\xcf"
1546         "\x9d\xc0\x49\x7a\xf3\x7a\xc4\x7d\xa8\x04\x4b\x8d\xb4\x4d\x5b\xd6",
1547         .m_size = 64,
1548         .c =
1549         "\x30\x45\x02\x21\x00\xb8\x6d\x87\x81\x43\xdf\xfb\x9f\x40\xea\x44"
1550         "\x81\x00\x4e\x29\x08\xed\x8c\x73\x30\x6c\x22\xb3\x97\x76\xf6\x04"
1551         "\x99\x09\x37\x4d\xfa\x02\x20\x1e\xb9\x75\x31\xf6\x04\xa5\x4d\xf8"
1552         "\x00\xdd\xab\xd4\xc0\x2b\xe6\x5c\xad\xc3\x78\x1c\xc2\xc1\x19\x76"
1553         "\x31\x79\x4a\xe9\x81\x6a\xee",
1554         .c_size = 71,
1555         .public_key_vec = true,
1556         },
1557 };
1558
1559 static const struct sig_testvec x962_ecdsa_nist_p384_tv_template[] = {
1560         {
1561         .key = /* secp384r1(sha1) */
1562         "\x04\x89\x25\xf3\x97\x88\xcb\xb0\x78\xc5\x72\x9a\x14\x6e\x7a\xb1"
1563         "\x5a\xa5\x24\xf1\x95\x06\x9e\x28\xfb\xc4\xb9\xbe\x5a\x0d\xd9\x9f"
1564         "\xf3\xd1\x4d\x2d\x07\x99\xbd\xda\xa7\x66\xec\xbb\xea\xba\x79\x42"
1565         "\xc9\x34\x89\x6a\xe7\x0b\xc3\xf2\xfe\x32\x30\xbe\xba\xf9\xdf\x7e"
1566         "\x4b\x6a\x07\x8e\x26\x66\x3f\x1d\xec\xa2\x57\x91\x51\xdd\x17\x0e"
1567         "\x0b\x25\xd6\x80\x5c\x3b\xe6\x1a\x98\x48\x91\x45\x7a\x73\xb0\xc3"
1568         "\xf1",
1569         .key_len = 97,
1570         .m =
1571         "\x12\x55\x28\xf0\x77\xd5\xb6\x21\x71\x32\x48\xcd\x28\xa8\x25\x22"
1572         "\x3a\x69\xc1\x93",
1573         .m_size = 20,
1574         .c =
1575         "\x30\x66\x02\x31\x00\xf5\x0f\x24\x4c\x07\x93\x6f\x21\x57\x55\x07"
1576         "\x20\x43\x30\xde\xa0\x8d\x26\x8e\xae\x63\x3f\xbc\x20\x3a\xc6\xf1"
1577         "\x32\x3c\xce\x70\x2b\x78\xf1\x4c\x26\xe6\x5b\x86\xcf\xec\x7c\x7e"
1578         "\xd0\x87\xd7\xd7\x6e\x02\x31\x00\xcd\xbb\x7e\x81\x5d\x8f\x63\xc0"
1579         "\x5f\x63\xb1\xbe\x5e\x4c\x0e\xa1\xdf\x28\x8c\x1b\xfa\xf9\x95\x88"
1580         "\x74\xa0\x0f\xbf\xaf\xc3\x36\x76\x4a\xa1\x59\xf1\x1c\xa4\x58\x26"
1581         "\x79\x12\x2a\xb7\xc5\x15\x92\xc5",
1582         .c_size = 104,
1583         .public_key_vec = true,
1584         }, {
1585         .key = /* secp384r1(sha224) */
1586         "\x04\x69\x6c\xcf\x62\xee\xd0\x0d\xe5\xb5\x2f\x70\x54\xcf\x26\xa0"
1587         "\xd9\x98\x8d\x92\x2a\xab\x9b\x11\xcb\x48\x18\xa1\xa9\x0d\xd5\x18"
1588         "\x3e\xe8\x29\x6e\xf6\xe4\xb5\x8e\xc7\x4a\xc2\x5f\x37\x13\x99\x05"
1589         "\xb6\xa4\x9d\xf9\xfb\x79\x41\xe7\xd7\x96\x9f\x73\x3b\x39\x43\xdc"
1590         "\xda\xf4\x06\xb9\xa5\x29\x01\x9d\x3b\xe1\xd8\x68\x77\x2a\xf4\x50"
1591         "\x6b\x93\x99\x6c\x66\x4c\x42\x3f\x65\x60\x6c\x1c\x0b\x93\x9b\x9d"
1592         "\xe0",
1593         .key_len = 97,
1594         .m =
1595         "\x12\x80\xb6\xeb\x25\xe2\x3d\xf0\x21\x32\x96\x17\x3a\x38\x39\xfd"
1596         "\x1f\x05\x34\x7b\xb8\xf9\x71\x66\x03\x4f\xd5\xe5",
1597         .m_size = 28,
1598         .c =
1599         "\x30\x66\x02\x31\x00\x8a\x51\x84\xce\x13\x1e\xd2\xdc\xec\xcb\xe4"
1600         "\x89\x47\xb2\xf7\xbc\x97\xf1\xc8\x72\x26\xcf\x5a\x5e\xc5\xda\xb4"
1601         "\xe3\x93\x07\xe0\x99\xc9\x9c\x11\xb8\x10\x01\xc5\x41\x3f\xdd\x15"
1602         "\x1b\x68\x2b\x9d\x8b\x02\x31\x00\x8b\x03\x2c\xfc\x1f\xd1\xa9\xa4"
1603         "\x4b\x00\x08\x31\x6c\xf5\xd5\xf6\xdf\xd8\x68\xa2\x64\x42\x65\xf3"
1604         "\x4d\xd0\xc6\x6e\xb0\xe9\xfc\x14\x9f\x19\xd0\x42\x8b\x93\xc2\x11"
1605         "\x88\x2b\x82\x26\x5e\x1c\xda\xfb",
1606         .c_size = 104,
1607         .public_key_vec = true,
1608         }, {
1609         .key = /* secp384r1(sha256) */
1610         "\x04\xee\xd6\xda\x3e\x94\x90\x00\x27\xed\xf8\x64\x55\xd6\x51\x9a"
1611         "\x1f\x52\x00\x63\x78\xf1\xa9\xfd\x75\x4c\x9e\xb2\x20\x1a\x91\x5a"
1612         "\xba\x7a\xa3\xe5\x6c\xb6\x25\x68\x4b\xe8\x13\xa6\x54\x87\x2c\x0e"
1613         "\xd0\x83\x95\xbc\xbf\xc5\x28\x4f\x77\x1c\x46\xa6\xf0\xbc\xd4\xa4"
1614         "\x8d\xc2\x8f\xb3\x32\x37\x40\xd6\xca\xf8\xae\x07\x34\x52\x39\x52"
1615         "\x17\xc3\x34\x29\xd6\x40\xea\x5c\xb9\x3f\xfb\x32\x2e\x12\x33\xbc"
1616         "\xab",
1617         .key_len = 97,
1618         .m =
1619         "\xaa\xe7\xfd\x03\x26\xcb\x94\x71\xe4\xce\x0f\xc5\xff\xa6\x29\xa3"
1620         "\xe1\xcc\x4c\x35\x4e\xde\xca\x80\xab\x26\x0c\x25\xe6\x68\x11\xc2",
1621         .m_size = 32,
1622         .c =
1623         "\x30\x64\x02\x30\x08\x09\x12\x9d\x6e\x96\x64\xa6\x8e\x3f\x7e\xce"
1624         "\x0a\x9b\xaa\x59\xcc\x47\x53\x87\xbc\xbd\x83\x3f\xaf\x06\x3f\x84"
1625         "\x04\xe2\xf9\x67\xb6\xc6\xfc\x70\x2e\x66\x3c\x77\xc8\x8d\x2c\x79"
1626         "\x3a\x8e\x32\xc4\x02\x30\x40\x34\xb8\x90\xa9\x80\xab\x47\x26\xa2"
1627         "\xb0\x89\x42\x0a\xda\xd9\xdd\xce\xbc\xb2\x97\xf4\x9c\xf3\x15\x68"
1628         "\xc0\x75\x3e\x23\x5e\x36\x4f\x8d\xde\x1e\x93\x8d\x95\xbb\x10\x0e"
1629         "\xf4\x1f\x39\xca\x4d\x43",
1630         .c_size = 102,
1631         .public_key_vec = true,
1632         }, {
1633         .key = /* secp384r1(sha384) */
1634         "\x04\x3a\x2f\x62\xe7\x1a\xcf\x24\xd0\x0b\x7c\xe0\xed\x46\x0a\x4f"
1635         "\x74\x16\x43\xe9\x1a\x25\x7c\x55\xff\xf0\x29\x68\x66\x20\x91\xf9"
1636         "\xdb\x2b\xf6\xb3\x6c\x54\x01\xca\xc7\x6a\x5c\x0d\xeb\x68\xd9\x3c"
1637         "\xf1\x01\x74\x1f\xf9\x6c\xe5\x5b\x60\xe9\x7f\x5d\xb3\x12\x80\x2a"
1638         "\xd8\x67\x92\xc9\x0e\x4c\x4c\x6b\xa1\xb2\xa8\x1e\xac\x1c\x97\xd9"
1639         "\x21\x67\xe5\x1b\x5a\x52\x31\x68\xd6\xee\xf0\x19\xb0\x55\xed\x89"
1640         "\x9e",
1641         .key_len = 97,
1642         .m =
1643         "\x8d\xf2\xc0\xe9\xa8\xf3\x8e\x44\xc4\x8c\x1a\xa0\xb8\xd7\x17\xdf"
1644         "\xf2\x37\x1b\xc6\xe3\xf5\x62\xcc\x68\xf5\xd5\x0b\xbf\x73\x2b\xb1"
1645         "\xb0\x4c\x04\x00\x31\xab\xfe\xc8\xd6\x09\xc8\xf2\xea\xd3\x28\xff",
1646         .m_size = 48,
1647         .c =
1648         "\x30\x66\x02\x31\x00\x9b\x28\x68\xc0\xa1\xea\x8c\x50\xee\x2e\x62"
1649         "\x35\x46\xfa\x00\xd8\x2d\x7a\x91\x5f\x49\x2d\x22\x08\x29\xe6\xfb"
1650         "\xca\x8c\xd6\xb6\xb4\x3b\x1f\x07\x8f\x15\x02\xfe\x1d\xa2\xa4\xc8"
1651         "\xf2\xea\x9d\x11\x1f\x02\x31\x00\xfc\x50\xf6\x43\xbd\x50\x82\x0e"
1652         "\xbf\xe3\x75\x24\x49\xac\xfb\xc8\x71\xcd\x8f\x18\x99\xf0\x0f\x13"
1653         "\x44\x92\x8c\x86\x99\x65\xb3\x97\x96\x17\x04\xc9\x05\x77\xf1\x8e"
1654         "\xab\x8d\x4e\xde\xe6\x6d\x9b\x66",
1655         .c_size = 104,
1656         .public_key_vec = true,
1657         }, {
1658         .key = /* secp384r1(sha512) */
1659         "\x04\xb4\xe7\xc1\xeb\x64\x25\x22\x46\xc3\x86\x61\x80\xbe\x1e\x46"
1660         "\xcb\xf6\x05\xc2\xee\x73\x83\xbc\xea\x30\x61\x4d\x40\x05\x41\xf4"
1661         "\x8c\xe3\x0e\x5c\xf0\x50\xf2\x07\x19\xe8\x4f\x25\xbe\xee\x0c\x95"
1662         "\x54\x36\x86\xec\xc2\x20\x75\xf3\x89\xb5\x11\xa1\xb7\xf5\xaf\xbe"
1663         "\x81\xe4\xc3\x39\x06\xbd\xe4\xfe\x68\x1c\x6d\x99\x2b\x1b\x63\xfa"
1664         "\xdf\x42\x5c\xc2\x5a\xc7\x0c\xf4\x15\xf7\x1b\xa3\x2e\xd7\x00\xac"
1665         "\xa3",
1666         .key_len = 97,
1667         .m =
1668         "\xe8\xb7\x52\x7d\x1a\x44\x20\x05\x53\x6b\x3a\x68\xf2\xe7\x6c\xa1"
1669         "\xae\x9d\x84\xbb\xba\x52\x43\x3e\x2c\x42\x78\x49\xbf\x78\xb2\x71"
1670         "\xeb\xe1\xe0\xe8\x42\x7b\x11\xad\x2b\x99\x05\x1d\x36\xe6\xac\xfc"
1671         "\x55\x73\xf0\x15\x63\x39\xb8\x6a\x6a\xc5\x91\x5b\xca\x6a\xa8\x0e",
1672         .m_size = 64,
1673         .c =
1674         "\x30\x63\x02\x2f\x1d\x20\x94\x77\xfe\x31\xfa\x4d\xc6\xef\xda\x02"
1675         "\xe7\x0f\x52\x9a\x02\xde\x93\xe8\x83\xe4\x84\x4c\xfc\x6f\x80\xe3"
1676         "\xaf\xb3\xd9\xdc\x2b\x43\x0e\x6a\xb3\x53\x6f\x3e\xb3\xc7\xa8\xb3"
1677         "\x17\x77\xd1\x02\x30\x63\xf6\xf0\x3d\x5f\x5f\x99\x3f\xde\x3a\x3d"
1678         "\x16\xaf\xb4\x52\x6a\xec\x63\xe3\x0c\xec\x50\xdc\xcc\xc4\x6a\x03"
1679         "\x5f\x8d\x7a\xf9\xfb\x34\xe4\x8b\x80\xa5\xb6\xda\x2c\x4e\x45\xcf"
1680         "\x3c\x93\xff\x50\x5d",
1681         .c_size = 101,
1682         .public_key_vec = true,
1683         },
1684 };
1685
1686 static const struct sig_testvec x962_ecdsa_nist_p521_tv_template[] = {
1687         {
1688         .key = /* secp521r1(sha224) */
1689         "\x04\x01\x4f\x43\x18\xb6\xa9\xc9\x5d\x68\xd3\xa9\x42\xf8\x98\xc0"
1690         "\xd2\xd1\xa9\x50\x3b\xe8\xc4\x40\xe6\x11\x78\x88\x4b\xbd\x76\xa7"
1691         "\x9a\xe0\xdd\x31\xa4\x67\x78\x45\x33\x9e\x8c\xd1\xc7\x44\xac\x61"
1692         "\x68\xc8\x04\xe7\x5c\x79\xb1\xf1\x41\x0c\x71\xc0\x53\xa8\xbc\xfb"
1693         "\xf5\xca\xd4\x01\x40\xfd\xa3\x45\xda\x08\xe0\xb4\xcb\x28\x3b\x0a"
1694         "\x02\x35\x5f\x02\x9f\x3f\xcd\xef\x08\x22\x40\x97\x74\x65\xb7\x76"
1695         "\x85\xc7\xc0\x5c\xfb\x81\xe1\xa5\xde\x0c\x4e\x8b\x12\x31\xb6\x47"
1696         "\xed\x37\x0f\x99\x3f\x26\xba\xa3\x8e\xff\x79\x34\x7c\x3a\xfe\x1f"
1697         "\x3b\x83\x82\x2f\x14",
1698         .key_len = 133,
1699         .m =
1700         "\xa2\x3a\x6a\x8c\x7b\x3c\xf2\x51\xf8\xbe\x5f\x4f\x3b\x15\x05\xc4"
1701         "\xb5\xbc\x19\xe7\x21\x85\xe9\x23\x06\x33\x62\xfb",
1702         .m_size = 28,
1703         .c =
1704         "\x30\x81\x86\x02\x41\x01\xd6\x43\xe7\xff\x42\xb2\xba\x74\x35\xf6"
1705         "\xdc\x6d\x02\x7b\x22\xac\xe2\xef\x07\x92\xee\x60\x94\x06\xf8\x3f"
1706         "\x59\x0f\x74\xf0\x3f\xd8\x18\xc6\x37\x8a\xcb\xa7\xd8\x7d\x98\x85"
1707         "\x29\x88\xff\x0b\x94\x94\x6c\xa6\x9b\x89\x8b\x1e\xfd\x09\x46\x6b"
1708         "\xc7\xaf\x7a\xb9\x19\x0a\x02\x41\x3a\x26\x0d\x55\xcd\x23\x1e\x7d"
1709         "\xa0\x5e\xf9\x88\xf3\xd2\x32\x90\x57\x0f\xf8\x65\x97\x6b\x09\x4d"
1710         "\x22\x26\x0b\x5f\x49\x32\x6b\x91\x99\x30\x90\x0f\x1c\x8f\x78\xd3"
1711         "\x9f\x0e\x64\xcc\xc4\xe8\x43\xd9\x0e\x1c\xad\x22\xda\x82\x00\x35"
1712         "\xa3\x50\xb1\xa5\x98\x92\x2a\xa5\x52",
1713         .c_size = 137,
1714         .public_key_vec = true,
1715         },
1716         {
1717         .key = /* secp521r1(sha256) */
1718         "\x04\x01\x05\x3a\x6b\x3b\x5a\x0f\xa7\xb9\xb7\x32\x53\x4e\xe2\xae"
1719         "\x0a\x52\xc5\xda\xdd\x5a\x79\x1c\x30\x2d\x33\x07\x79\xd5\x70\x14"
1720         "\x61\x0c\xec\x26\x4d\xd8\x35\x57\x04\x1d\x88\x33\x4d\xce\x05\x36"
1721         "\xa5\xaf\x56\x84\xfa\x0b\x9e\xff\x7b\x30\x4b\x92\x1d\x06\xf8\x81"
1722         "\x24\x1e\x51\x00\x09\x21\x51\xf7\x46\x0a\x77\xdb\xb5\x0c\xe7\x9c"
1723         "\xff\x27\x3c\x02\x71\xd7\x85\x36\xf1\xaa\x11\x59\xd8\xb8\xdc\x09"
1724         "\xdc\x6d\x5a\x6f\x63\x07\x6c\xe1\xe5\x4d\x6e\x0f\x6e\xfb\x7c\x05"
1725         "\x8a\xe9\x53\xa8\xcf\xce\x43\x0e\x82\x20\x86\xbc\x88\x9c\xb7\xe3"
1726         "\xe6\x77\x1e\x1f\x8a",
1727         .key_len = 133,
1728         .m =
1729         "\xcc\x97\x73\x0c\x73\xa2\x53\x2b\xfa\xd7\x83\x1d\x0c\x72\x1b\x39"
1730         "\x80\x71\x8d\xdd\xc5\x9b\xff\x55\x32\x98\x25\xa2\x58\x2e\xb7\x73",
1731         .m_size = 32,
1732         .c =
1733         "\x30\x81\x88\x02\x42\x00\xcd\xa5\x5f\x57\x52\x27\x78\x3a\xb5\x06"
1734         "\x0f\xfd\x83\xfc\x0e\xd9\xce\x50\x9f\x7d\x1f\xca\x8b\xa8\x2d\x56"
1735         "\x3c\xf6\xf0\xd8\xe1\xb7\x5d\x95\x35\x6f\x02\x0e\xaf\xe1\x4c\xae"
1736         "\xce\x54\x76\x9a\xc2\x8f\xb8\x38\x1f\x46\x0b\x04\x64\x34\x79\xde"
1737         "\x7e\xd7\x59\x10\xe9\xd9\xd5\x02\x42\x01\xcf\x50\x85\x38\xf9\x15"
1738         "\x83\x18\x04\x6b\x35\xae\x65\xb5\x99\x12\x0a\xa9\x79\x24\xb9\x37"
1739         "\x35\xdd\xa0\xe0\x87\x2c\x44\x4b\x5a\xee\xaf\xfa\x10\xdd\x9b\xfb"
1740         "\x36\x1a\x31\x03\x42\x02\x5f\x50\xf0\xa2\x0d\x1c\x57\x56\x8f\x12"
1741         "\xb7\x1d\x91\x55\x38\xb6\xf6\x34\x65\xc7\xbd",
1742         .c_size = 139,
1743         .public_key_vec = true,
1744         },
1745         {
1746         .key = /* secp521r1(sha384) */
1747         "\x04\x00\x2e\xd6\x21\x04\x75\xc3\xdc\x7d\xff\x0e\xf3\x70\x25\x2b"
1748         "\xad\x72\xfc\x5a\x91\xf1\xd5\x9c\x64\xf3\x1f\x47\x11\x10\x62\x33"
1749         "\xfd\x2e\xe8\x32\xca\x9e\x6f\x0a\x4c\x5b\x35\x9a\x46\xc5\xe7\xd4"
1750         "\x38\xda\xb2\xf0\xf4\x87\xf3\x86\xf4\xea\x70\xad\x1e\xd4\x78\x8c"
1751         "\x36\x18\x17\x00\xa2\xa0\x34\x1b\x2e\x6a\xdf\x06\xd6\x99\x2d\x47"
1752         "\x50\x92\x1a\x8a\x72\x9c\x23\x44\xfa\xa7\xa9\xed\xa6\xef\x26\x14"
1753         "\xb3\x9d\xfe\x5e\xa3\x8c\xd8\x29\xf8\xdf\xad\xa6\xab\xfc\xdd\x46"
1754         "\x22\x6e\xd7\x35\xc7\x23\xb7\x13\xae\xb6\x34\xff\xd7\x80\xe5\x39"
1755         "\xb3\x3b\x5b\x1b\x94",
1756         .key_len = 133,
1757         .m =
1758         "\x36\x98\xd6\x82\xfa\xad\xed\x3c\xb9\x40\xb6\x4d\x9e\xb7\x04\x26"
1759         "\xad\x72\x34\x44\xd2\x81\xb4\x9b\xbe\x01\x04\x7a\xd8\x50\xf8\x59"
1760         "\xba\xad\x23\x85\x6b\x59\xbe\xfb\xf6\x86\xd4\x67\xa8\x43\x28\x76",
1761         .m_size = 48,
1762         .c =
1763         "\x30\x81\x88\x02\x42\x00\x93\x96\x76\x3c\x27\xea\xaa\x9c\x26\xec"
1764         "\x51\xdc\xe8\x35\x5e\xae\x16\xf2\x4b\x64\x98\xf7\xec\xda\xc7\x7e"
1765         "\x42\x71\x86\x57\x2d\xf1\x7d\xe4\xdf\x9b\x7d\x9e\x47\xca\x33\x32"
1766         "\x76\x06\xd0\xf9\xc0\xe4\xe6\x84\x59\xfd\x1a\xc4\x40\xdd\x43\xb8"
1767         "\x6a\xdd\xfb\xe6\x63\x4e\x28\x02\x42\x00\xff\xc3\x6a\x87\x6e\xb5"
1768         "\x13\x1f\x20\x55\xce\x37\x97\xc9\x05\x51\xe5\xe4\x3c\xbc\x93\x65"
1769         "\x57\x1c\x30\xda\xa7\xcd\x26\x28\x76\x3b\x52\xdf\xc4\xc0\xdb\x54"
1770         "\xdb\x8a\x0d\x6a\xc3\xf3\x7a\xd1\xfa\xe7\xa7\xe5\x5a\x94\x56\xcf"
1771         "\x8f\xb4\x22\xc6\x4f\xab\x2b\x62\xc1\x42\xb1",
1772         .c_size = 139,
1773         .public_key_vec = true,
1774         },
1775         {
1776         .key = /* secp521r1(sha512) */
1777         "\x04\x00\xc7\x65\xee\x0b\x86\x7d\x8f\x02\xf1\x74\x5b\xb0\x4c\x3f"
1778         "\xa6\x35\x60\x9f\x55\x23\x11\xcc\xdf\xb8\x42\x99\xee\x6c\x96\x6a"
1779         "\x27\xa2\x56\xb2\x2b\x03\xad\x0f\xe7\x97\xde\x09\x5d\xb4\xc5\x5f"
1780         "\xbd\x87\x37\xbf\x5a\x16\x35\x56\x08\xfd\x6f\x06\x1a\x1c\x84\xee"
1781         "\xc3\x64\xb3\x00\x9e\xbd\x6e\x60\x76\xee\x69\xfd\x3a\xb8\xcd\x7e"
1782         "\x91\x68\x53\x57\x44\x13\x2e\x77\x09\x2a\xbe\x48\xbd\x91\xd8\xf6"
1783         "\x21\x16\x53\x99\xd5\xf0\x40\xad\xa6\xf8\x58\x26\xb6\x9a\xf8\x77"
1784         "\xfe\x3a\x05\x1a\xdb\xa9\x0f\xc0\x6c\x76\x30\x8c\xd8\xde\x44\xae"
1785         "\xd0\x17\xdf\x49\x6a",
1786         .key_len = 133,
1787         .m =
1788         "\x5c\xa6\xbc\x79\xb8\xa0\x1e\x11\x83\xf7\xe9\x05\xdf\xba\xf7\x69"
1789         "\x97\x22\x32\xe4\x94\x7c\x65\xbd\x74\xc6\x9a\x8b\xbd\x0d\xdc\xed"
1790         "\xf5\x9c\xeb\xe1\xc5\x68\x40\xf2\xc7\x04\xde\x9e\x0d\x76\xc5\xa3"
1791         "\xf9\x3c\x6c\x98\x08\x31\xbd\x39\xe8\x42\x7f\x80\x39\x6f\xfe\x68",
1792         .m_size = 64,
1793         .c =
1794         "\x30\x81\x88\x02\x42\x01\x5c\x71\x86\x96\xac\x21\x33\x7e\x4e\xaa"
1795         "\x86\xec\xa8\x05\x03\x52\x56\x63\x0e\x02\xcc\x94\xa9\x05\xb9\xfb"
1796         "\x62\x1e\x42\x03\x6c\x74\x8a\x1f\x12\x3e\xb7\x7e\x51\xff\x7f\x27"
1797         "\x93\xe8\x6c\x49\x7d\x28\xfc\x80\xa6\x13\xfc\xb6\x90\xf7\xbb\x28"
1798         "\xb5\x04\xb0\xb6\x33\x1c\x7e\x02\x42\x01\x70\x43\x52\x1d\xe3\xc6"
1799         "\xbd\x5a\x40\x95\x35\x89\x4f\x41\x5f\x9e\x19\x88\x05\x3e\x43\x39"
1800         "\x01\xbd\xb7\x7a\x76\x37\x51\x47\x49\x98\x12\x71\xd0\xe9\xca\xa7"
1801         "\xc0\xcb\xaa\x00\x55\xbb\x6a\xb4\x73\x00\xd2\x72\x74\x13\x63\x39"
1802         "\xa6\xe5\x25\x46\x1e\x77\x44\x78\xe0\xd1\x04",
1803         .c_size = 139,
1804         .public_key_vec = true,
1805         },
1806 };
1807
1808 /*
1809  * ECDSA P1363 test vectors.
1810  *
1811  * Identical to ECDSA test vectors, except signature in "c" is P1363 encoded.
1812  */
1813 static const struct sig_testvec p1363_ecdsa_nist_p256_tv_template[] = {
1814         {
1815         .key = /* secp256r1(sha256) */
1816         "\x04\xf1\xea\xc4\x53\xf3\xb9\x0e\x9f\x7e\xad\xe3\xea\xd7\x0e\x0f"
1817         "\xd6\x98\x9a\xca\x92\x4d\x0a\x80\xdb\x2d\x45\xc7\xec\x4b\x97\x00"
1818         "\x2f\xe9\x42\x6c\x29\xdc\x55\x0e\x0b\x53\x12\x9b\x2b\xad\x2c\xe9"
1819         "\x80\xe6\xc5\x43\xc2\x1d\x5e\xbb\x65\x21\x50\xb6\x37\xb0\x03\x8e"
1820         "\xb8",
1821         .key_len = 65,
1822         .m =
1823         "\x8f\x43\x43\x46\x64\x8f\x6b\x96\xdf\x89\xdd\xa9\x01\xc5\x17\x6b"
1824         "\x10\xa6\xd8\x39\x61\xdd\x3c\x1a\xc8\x8b\x59\xb2\xdc\x32\x7a\xa4",
1825         .m_size = 32,
1826         .c =
1827         "\x08\x31\xfa\x74\x0d\x1d\x21\x5d\x09\xdc\x29\x63\xa8\x1a\xad\xfc"
1828         "\xac\x44\xc3\xe8\x24\x11\x2d\xa4\x91\xdc\x02\x67\xdc\x0c\xd0\x82"
1829         "\xbd\xff\xce\xee\x42\xc3\x97\xff\xf9\xa9\x81\xac\x4a\x50\xd0\x91"
1830         "\x0a\x6e\x1b\xc4\xaf\xe1\x83\xc3\x4f\x2a\x65\x35\x23\xe3\x1d\xfa",
1831         .c_size = 64,
1832         .public_key_vec = true,
1833         },
1834 };
1835
1836 /*
1837  * EC-RDSA test vectors are generated by gost-engine.
1838  */
1839 static const struct sig_testvec ecrdsa_tv_template[] = {
1840         {
1841         .key =
1842         "\x04\x40\xd5\xa7\x77\xf9\x26\x2f\x8c\xbd\xcc\xe3\x1f\x01\x94\x05"
1843         "\x3d\x2f\xec\xb5\x00\x34\xf5\x51\x6d\x3b\x90\x4b\x23\x28\x6f\x1d"
1844         "\xc8\x36\x61\x60\x36\xec\xbb\xb4\x0b\x95\x4e\x54\x4f\x15\x21\x05"
1845         "\xd8\x52\x66\x44\x31\x7e\x5d\xc5\xd1\x26\x00\x5f\x60\xd8\xf0\xc7"
1846         "\x27\xfc",
1847         .key_len = 66,
1848         .params = /* OID_gostCPSignA */
1849         "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x01\x06\x08\x2a\x85\x03"
1850         "\x07\x01\x01\x02\x02",
1851         .param_len = 21,
1852         .c =
1853         "\x41\x32\x09\x73\xa4\xc1\x38\xd6\x63\x7d\x8b\xf7\x50\x3f\xda\x9f"
1854         "\x68\x48\xc1\x50\xe3\x42\x3a\x9b\x2b\x28\x12\x2a\xa7\xc2\x75\x31"
1855         "\x65\x77\x8c\x3c\x9e\x0d\x56\xb2\xf9\xdc\x04\x33\x3e\xb0\x9e\xf9"
1856         "\x74\x4e\x59\xb3\x83\xf2\x91\x27\xda\x5e\xc7\x33\xc0\xc1\x8f\x41",
1857         .c_size = 64,
1858         .algo = OID_gost2012PKey256,
1859         .m =
1860         "\x75\x1b\x9b\x40\x25\xb9\x96\xd2\x9b\x00\x41\xb3\x58\xbf\x23\x14"
1861         "\x79\xd2\x76\x64\xa3\xbd\x66\x10\x79\x05\x5a\x06\x42\xec\xb9\xc9",
1862         .m_size = 32,
1863         .public_key_vec = true,
1864         },
1865         {
1866         .key =
1867         "\x04\x40\x66\x6f\xd6\xb7\x06\xd0\xf5\xa5\x6f\x69\x5c\xa5\x13\x45"
1868         "\x14\xdd\xcb\x12\x9c\x1b\xf5\x28\x64\x7a\x49\x48\x29\x14\x66\x42"
1869         "\xb8\x1b\x5c\xf9\x56\x6d\x08\x3b\xce\xbb\x62\x2f\xc2\x3c\xc5\x49"
1870         "\x93\x27\x70\x20\xcc\x79\xeb\xdc\x76\x8e\x48\x6e\x04\x96\xc3\x29"
1871         "\xa0\x73",
1872         .key_len = 66,
1873         .params = /* OID_gostCPSignB */
1874         "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x02\x06\x08\x2a\x85\x03"
1875         "\x07\x01\x01\x02\x02",
1876         .param_len = 21,
1877         .c =
1878         "\x45\x6d\x4a\x03\x1d\x5c\x0b\x17\x79\xe7\x19\xdb\xbf\x81\x9f\x82"
1879         "\xae\x06\xda\xf5\x47\x00\x05\x80\xc3\x16\x06\x9a\x8e\x7c\xb2\x8e"
1880         "\x7f\x74\xaa\xec\x6b\x7b\x7f\x8b\xc6\x0b\x10\x42\x4e\x91\x2c\xdf"
1881         "\x7b\x8b\x15\xf4\x9e\x59\x0f\xc7\xa4\x68\x2e\xce\x89\xdf\x84\xe9",
1882         .c_size = 64,
1883         .algo = OID_gost2012PKey256,
1884         .m =
1885         "\xd0\x54\x00\x27\x6a\xeb\xce\x6c\xf5\xf6\xfb\x57\x18\x18\x21\x13"
1886         "\x11\x23\x4a\x70\x43\x52\x7a\x68\x11\x65\x45\x37\xbb\x25\xb7\x40",
1887         .m_size = 32,
1888         .public_key_vec = true,
1889         },
1890         {
1891         .key =
1892         "\x04\x40\x05\x91\xa9\x7d\xcb\x87\xdc\x98\xa1\xbf\xff\xdd\x20\x61"
1893         "\xaa\x58\x3b\x2d\x8e\x9c\x41\x9d\x4f\xc6\x23\x17\xf9\xca\x60\x65"
1894         "\xbc\x97\x97\xf6\x6b\x24\xe8\xac\xb1\xa7\x61\x29\x3c\x71\xdc\xad"
1895         "\xcb\x20\xbe\x96\xe8\xf4\x44\x2e\x49\xd5\x2c\xb9\xc9\x3b\x9c\xaa"
1896         "\xba\x15",
1897         .key_len = 66,
1898         .params = /* OID_gostCPSignC */
1899         "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x03\x06\x08\x2a\x85\x03"
1900         "\x07\x01\x01\x02\x02",
1901         .param_len = 21,
1902         .c =
1903         "\x3b\x2e\x2e\x74\x74\x47\xda\xea\x93\x90\x6a\xe2\xf5\xf5\xe6\x46"
1904         "\x11\xfc\xab\xdc\x52\xbc\x58\xdb\x45\x44\x12\x4a\xf7\xd0\xab\xc9"
1905         "\x73\xba\x64\xab\x0d\xac\x4e\x72\x10\xa8\x04\xf6\x1e\xe0\x48\x6a"
1906         "\xcd\xe8\xe3\x78\x73\x77\x82\x24\x8d\xf1\xd3\xeb\x4c\x25\x7e\xc0",
1907         .c_size = 64,
1908         .algo = OID_gost2012PKey256,
1909         .m =
1910         "\x52\x33\xf4\x3f\x7b\x5d\xcf\x20\xee\xe4\x5c\xab\x0b\x3f\x14\xd6"
1911         "\x9f\x16\xc6\x1c\xb1\x3f\x84\x41\x69\xec\x34\xfd\xf1\xf9\xa3\x39",
1912         .m_size = 32,
1913         .public_key_vec = true,
1914         },
1915         {
1916         .key =
1917         "\x04\x81\x80\x85\x46\x8f\x16\xf8\x7a\x7e\x4a\xc3\x81\x9e\xf1\x6e"
1918         "\x94\x1e\x5d\x02\x87\xea\xfa\xa0\x0a\x17\x70\x49\x64\xad\x95\x68"
1919         "\x60\x0a\xf0\x57\x29\x41\x79\x30\x3c\x61\x69\xf2\xa6\x94\x87\x17"
1920         "\x54\xfa\x97\x2c\xe6\x1e\x0a\xbb\x55\x10\x57\xbe\xf7\xc1\x77\x2b"
1921         "\x11\x74\x0a\x50\x37\x14\x10\x2a\x45\xfc\x7a\xae\x1c\x4c\xce\x08"
1922         "\x05\xb7\xa4\x50\xc8\x3d\x39\x3d\xdc\x5c\x8f\x96\x6c\xe7\xfc\x21"
1923         "\xc3\x2d\x1e\x9f\x11\xb3\xec\x22\x18\x8a\x8c\x08\x6b\x8b\xed\xf5"
1924         "\xc5\x47\x3c\x7e\x73\x59\x44\x1e\x77\x83\x84\x52\x9e\x3b\x7d\xff"
1925         "\x9d\x86\x1a",
1926         .key_len = 131,
1927         .params = /* OID_gostTC26Sign512A */
1928         "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x01",
1929         .param_len = 13,
1930         .c =
1931         "\x92\x81\x74\x5f\x95\x48\x38\x87\xd9\x8f\x5e\xc8\x8a\xbb\x01\x4e"
1932         "\xb0\x75\x3c\x2f\xc7\x5a\x08\x4c\x68\xab\x75\x01\x32\x75\x75\xb5"
1933         "\x37\xe0\x74\x6d\x94\x84\x31\x2a\x6b\xf4\xf7\xb7\xa7\x39\x7b\x46"
1934         "\x07\xf0\x98\xbd\x33\x18\xa1\x72\xb2\x6d\x54\xe3\xde\x91\xc2\x2e"
1935         "\x4f\x6a\xf8\xb7\xec\xa8\x83\xc9\x8f\xd9\xce\x7c\x45\x06\x02\xf4"
1936         "\x4f\x21\xb5\x24\x3d\xb4\xb5\xd8\x58\x42\xbe\x2d\x29\xae\x93\xc0"
1937         "\x13\x41\x96\x35\x08\x69\xe8\x36\xc7\xd1\x83\x81\xd7\xca\xfb\xc0"
1938         "\xd2\xb7\x78\x32\x3e\x30\x1a\x1e\xce\xdc\x34\x35\xc6\xad\x68\x24",
1939         .c_size = 128,
1940         .algo = OID_gost2012PKey512,
1941         .m =
1942         "\x1f\x70\xb5\xe9\x55\x12\xd6\x88\xcc\x55\xb9\x0c\x7f\xc4\x94\xf2"
1943         "\x04\x77\x41\x12\x02\xd6\xf1\x1f\x83\x56\xe9\xd6\x5a\x6a\x72\xb9"
1944         "\x6e\x8e\x24\x2a\x84\xf1\xba\x67\xe8\xbf\xff\xc1\xd3\xde\xfb\xc6"
1945         "\xa8\xf6\x80\x01\xb9\x27\xac\xd8\x45\x96\x66\xa1\xee\x48\x08\x3f",
1946         .m_size = 64,
1947         .public_key_vec = true,
1948         },
1949         {
1950         .key =
1951         "\x04\x81\x80\x28\xf3\x2b\x92\x04\x32\xea\x66\x20\xde\xa0\x2f\x74"
1952         "\xbf\x2d\xf7\xb5\x30\x76\xb1\xc8\xee\x38\x9f\xea\xe5\xad\xc6\xa3"
1953         "\x28\x1e\x51\x3d\x67\xa3\x41\xcc\x6b\x81\xe2\xe2\x9e\x82\xf3\x78"
1954         "\x56\xd7\x2e\xb2\xb5\xbe\xb4\x50\x21\x05\xe5\x29\x82\xef\x15\x1b"
1955         "\xc0\xd7\x30\xd6\x2f\x96\xe8\xff\x99\x4c\x25\xcf\x9a\xfc\x54\x30"
1956         "\xce\xdf\x59\xe9\xc6\x45\xce\xe4\x22\xe8\x01\xd5\xcd\x2f\xaa\x78"
1957         "\x99\xc6\x04\x1e\x6f\x4c\x25\x6a\x76\xad\xff\x48\xf3\xb3\xb4\xd6"
1958         "\x14\x5c\x2c\x0e\xea\xa2\x4b\xb9\x7e\x89\x77\x02\x3a\x29\xc8\x16"
1959         "\x8e\x78\x48",
1960         .key_len = 131,
1961         .params = /* OID_gostTC26Sign512B */
1962         "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x02",
1963         .param_len = 13,
1964         .c =
1965         "\x0a\xed\xb6\x27\xea\xa7\xa6\x7e\x2f\xc1\x02\x21\x74\xce\x27\xd2"
1966         "\xee\x8a\x92\x4d\xa9\x43\x2d\xa4\x5b\xdc\x23\x02\xfc\x3a\xf3\xb2"
1967         "\x10\x93\x0b\x40\x1b\x75\x95\x3e\x39\x41\x37\xb9\xab\x51\x09\xeb"
1968         "\xf1\xb9\x49\x58\xec\x58\xc7\xf9\x2e\xb9\xc9\x40\xf2\x00\x39\x7e"
1969         "\x3f\xde\x72\xe3\x85\x67\x06\xbe\xd8\xb8\xc1\x81\x1e\xe3\x0a\xfe"
1970         "\xce\xd3\x77\x92\x56\x8c\x58\xf9\x37\x60\x2d\xe6\x8b\x66\xa3\xdd"
1971         "\xd2\xf0\xf8\xda\x1b\x20\xbc\x9c\xec\x29\x5d\xd1\x8f\xcc\x37\xd1"
1972         "\x3b\x8d\xb7\xc1\xe0\xb8\x3b\xef\x14\x1b\x87\xbc\xc1\x03\x9a\x93",
1973         .c_size = 128,
1974         .algo = OID_gost2012PKey512,
1975         .m =
1976         "\x11\x24\x21\x27\xf2\x42\x9f\xce\x5a\xf9\x01\x70\xe0\x07\x2b\x57"
1977         "\xfb\x7d\x77\x5e\x74\x66\xe6\xa5\x40\x4c\x1a\x85\x18\xff\xd0\x63"
1978         "\xe0\x39\xd3\xd6\xe5\x17\xf8\xc3\x4b\xc6\x1c\x33\x1a\xca\xa6\x66"
1979         "\x6d\xf4\xd2\x45\xc2\x83\xa0\x42\x95\x05\x9d\x89\x8e\x0a\xca\xcc",
1980         .m_size = 64,
1981         .public_key_vec = true,
1982         },
1983 };
1984
1985 /*
1986  * PKCS#1 RSA test vectors for hash algorithm "none"
1987  * (i.e. the hash in "m" is not prepended by a Full Hash Prefix)
1988  *
1989  * Obtained from:
1990  * https://vcsjones.dev/sometimes-valid-rsa-dotnet/
1991  * https://gist.github.com/vcsjones/ab4c2327b53ed018eada76b75ef4fd99
1992  */
1993 static const struct sig_testvec pkcs1_rsa_none_tv_template[] = {
1994         {
1995         .key =
1996         "\x30\x82\x01\x0a\x02\x82\x01\x01\x00\xa2\x63\x0b\x39\x44\xb8\xbb"
1997         "\x23\xa7\x44\x49\xbb\x0e\xff\xa1\xf0\x61\x0a\x53\x93\xb0\x98\xdb"
1998         "\xad\x2c\x0f\x4a\xc5\x6e\xff\x86\x3c\x53\x55\x0f\x15\xce\x04\x3f"
1999         "\x2b\xfd\xa9\x96\x96\xd9\xbe\x61\x79\x0b\x5b\xc9\x4c\x86\x76\xe5"
2000         "\xe0\x43\x4b\x22\x95\xee\xc2\x2b\x43\xc1\x9f\xd8\x68\xb4\x8e\x40"
2001         "\x4f\xee\x85\x38\xb9\x11\xc5\x23\xf2\x64\x58\xf0\x15\x32\x6f\x4e"
2002         "\x57\xa1\xae\x88\xa4\x02\xd7\x2a\x1e\xcd\x4b\xe1\xdd\x63\xd5\x17"
2003         "\x89\x32\x5b\xb0\x5e\x99\x5a\xa8\x9d\x28\x50\x0e\x17\xee\x96\xdb"
2004         "\x61\x3b\x45\x51\x1d\xcf\x12\x56\x0b\x92\x47\xfc\xab\xae\xf6\x66"
2005         "\x3d\x47\xac\x70\x72\xe7\x92\xe7\x5f\xcd\x10\xb9\xc4\x83\x64\x94"
2006         "\x19\xbd\x25\x80\xe1\xe8\xd2\x22\xa5\xd0\xba\x02\x7a\xa1\x77\x93"
2007         "\x5b\x65\xc3\xee\x17\x74\xbc\x41\x86\x2a\xdc\x08\x4c\x8c\x92\x8c"
2008         "\x91\x2d\x9e\x77\x44\x1f\x68\xd6\xa8\x74\x77\xdb\x0e\x5b\x32\x8b"
2009         "\x56\x8b\x33\xbd\xd9\x63\xc8\x49\x9d\x3a\xc5\xc5\xea\x33\x0b\xd2"
2010         "\xf1\xa3\x1b\xf4\x8b\xbe\xd9\xb3\x57\x8b\x3b\xde\x04\xa7\x7a\x22"
2011         "\xb2\x24\xae\x2e\xc7\x70\xc5\xbe\x4e\x83\x26\x08\xfb\x0b\xbd\xa9"
2012         "\x4f\x99\x08\xe1\x10\x28\x72\xaa\xcd\x02\x03\x01\x00\x01",
2013         .key_len = 270,
2014         .m =
2015         "\x68\xb4\xf9\x26\x34\x31\x25\xdd\x26\x50\x13\x68\xc1\x99\x26\x71"
2016         "\x19\xa2\xde\x81",
2017         .m_size = 20,
2018         .c =
2019         "\x6a\xdb\x39\xe5\x63\xb3\x25\xde\x58\xca\xc3\xf1\x36\x9c\x0b\x36"
2020         "\xb7\xd6\x69\xf9\xba\xa6\x68\x14\x8c\x24\x52\xd3\x25\xa5\xf3\xad"
2021         "\xc9\x47\x44\xde\x06\xd8\x0f\x56\xca\x2d\xfb\x0f\xe9\x99\xe2\x9d"
2022         "\x8a\xe8\x7f\xfb\x9a\x99\x96\xf1\x2c\x4a\xe4\xc0\xae\x4d\x29\x47"
2023         "\x38\x96\x51\x2f\x6d\x8e\xb8\x88\xbd\x1a\x0a\x70\xbc\x23\x38\x67"
2024         "\x62\x22\x01\x23\x71\xe5\xbb\x95\xea\x6b\x8d\x31\x62\xbf\xf0\xc4"
2025         "\xb9\x46\xd6\x67\xfc\x4c\xe6\x1f\xd6\x5d\xf7\xa9\xad\x3a\xf1\xbf"
2026         "\xa2\xf9\x66\xde\xb6\x8e\xec\x8f\x81\x8d\x1e\x3a\x12\x27\x6a\xfc"
2027         "\xae\x92\x9f\xc3\x87\xc3\xba\x8d\x04\xb8\x8f\x0f\x61\x68\x9a\x96"
2028         "\x2c\x80\x2c\x32\x40\xde\x9d\xb9\x9b\xe2\xe4\x45\x2e\x91\x47\x5c"
2029         "\x47\xa4\x9d\x02\x57\x59\xf7\x75\x5d\x5f\x32\x82\x75\x5d\xe5\x78"
2030         "\xc9\x19\x61\x46\x06\x9d\xa5\x1d\xd6\x32\x48\x9a\xdb\x09\x29\x81"
2031         "\x14\x2e\xf0\x27\xe9\x37\x13\x74\xec\xa5\xcd\x67\x6b\x19\xf6\x88"
2032         "\xf0\xc2\x8b\xa8\x7f\x2f\x76\x5a\x3e\x0c\x47\x5d\xe8\x82\x50\x27"
2033         "\x40\xce\x27\x41\x45\xa0\xcf\xaa\x2f\xd3\xad\x3c\xbf\x73\xff\x93"
2034         "\xe3\x78\x49\xd9\xa9\x78\x22\x81\x9a\xe5\xe2\x94\xe9\x40\xab\xf1",
2035         .c_size = 256,
2036         .public_key_vec = true,
2037         },
2038 };
2039
2040 /*
2041  * PKCS#1 RSA test vectors. Obtained from CAVS testing.
2042  */
2043 static const struct sig_testvec pkcs1_rsa_tv_template[] = {
2044         {
2045         .key =
2046         "\x30\x82\x04\xa5\x02\x01\x00\x02\x82\x01\x01\x00\xd7\x1e\x77\x82"
2047         "\x8c\x92\x31\xe7\x69\x02\xa2\xd5\x5c\x78\xde\xa2\x0c\x8f\xfe\x28"
2048         "\x59\x31\xdf\x40\x9c\x60\x61\x06\xb9\x2f\x62\x40\x80\x76\xcb\x67"
2049         "\x4a\xb5\x59\x56\x69\x17\x07\xfa\xf9\x4c\xbd\x6c\x37\x7a\x46\x7d"
2050         "\x70\xa7\x67\x22\xb3\x4d\x7a\x94\xc3\xba\x4b\x7c\x4b\xa9\x32\x7c"
2051         "\xb7\x38\x95\x45\x64\xa4\x05\xa8\x9f\x12\x7c\x4e\xc6\xc8\x2d\x40"
2052         "\x06\x30\xf4\x60\xa6\x91\xbb\x9b\xca\x04\x79\x11\x13\x75\xf0\xae"
2053         "\xd3\x51\x89\xc5\x74\xb9\xaa\x3f\xb6\x83\xe4\x78\x6b\xcd\xf9\x5c"
2054         "\x4c\x85\xea\x52\x3b\x51\x93\xfc\x14\x6b\x33\x5d\x30\x70\xfa\x50"
2055         "\x1b\x1b\x38\x81\x13\x8d\xf7\xa5\x0c\xc0\x8e\xf9\x63\x52\x18\x4e"
2056         "\xa9\xf9\xf8\x5c\x5d\xcd\x7a\x0d\xd4\x8e\x7b\xee\x91\x7b\xad\x7d"
2057         "\xb4\x92\xd5\xab\x16\x3b\x0a\x8a\xce\x8e\xde\x47\x1a\x17\x01\x86"
2058         "\x7b\xab\x99\xf1\x4b\x0c\x3a\x0d\x82\x47\xc1\x91\x8c\xbb\x2e\x22"
2059         "\x9e\x49\x63\x6e\x02\xc1\xc9\x3a\x9b\xa5\x22\x1b\x07\x95\xd6\x10"
2060         "\x02\x50\xfd\xfd\xd1\x9b\xbe\xab\xc2\xc0\x74\xd7\xec\x00\xfb\x11"
2061         "\x71\xcb\x7a\xdc\x81\x79\x9f\x86\x68\x46\x63\x82\x4d\xb7\xf1\xe6"
2062         "\x16\x6f\x42\x63\xf4\x94\xa0\xca\x33\xcc\x75\x13\x02\x03\x01\x00"
2063         "\x01\x02\x82\x01\x00\x62\xb5\x60\x31\x4f\x3f\x66\x16\xc1\x60\xac"
2064         "\x47\x2a\xff\x6b\x69\x00\x4a\xb2\x5c\xe1\x50\xb9\x18\x74\xa8\xe4"
2065         "\xdc\xa8\xec\xcd\x30\xbb\xc1\xc6\xe3\xc6\xac\x20\x2a\x3e\x5e\x8b"
2066         "\x12\xe6\x82\x08\x09\x38\x0b\xab\x7c\xb3\xcc\x9c\xce\x97\x67\xdd"
2067         "\xef\x95\x40\x4e\x92\xe2\x44\xe9\x1d\xc1\x14\xfd\xa9\xb1\xdc\x71"
2068         "\x9c\x46\x21\xbd\x58\x88\x6e\x22\x15\x56\xc1\xef\xe0\xc9\x8d\xe5"
2069         "\x80\x3e\xda\x7e\x93\x0f\x52\xf6\xf5\xc1\x91\x90\x9e\x42\x49\x4f"
2070         "\x8d\x9c\xba\x38\x83\xe9\x33\xc2\x50\x4f\xec\xc2\xf0\xa8\xb7\x6e"
2071         "\x28\x25\x56\x6b\x62\x67\xfe\x08\xf1\x56\xe5\x6f\x0e\x99\xf1\xe5"
2072         "\x95\x7b\xef\xeb\x0a\x2c\x92\x97\x57\x23\x33\x36\x07\xdd\xfb\xae"
2073         "\xf1\xb1\xd8\x33\xb7\x96\x71\x42\x36\xc5\xa4\xa9\x19\x4b\x1b\x52"
2074         "\x4c\x50\x69\x91\xf0\x0e\xfa\x80\x37\x4b\xb5\xd0\x2f\xb7\x44\x0d"
2075         "\xd4\xf8\x39\x8d\xab\x71\x67\x59\x05\x88\x3d\xeb\x48\x48\x33\x88"
2076         "\x4e\xfe\xf8\x27\x1b\xd6\x55\x60\x5e\x48\xb7\x6d\x9a\xa8\x37\xf9"
2077         "\x7a\xde\x1b\xcd\x5d\x1a\x30\xd4\xe9\x9e\x5b\x3c\x15\xf8\x9c\x1f"
2078         "\xda\xd1\x86\x48\x55\xce\x83\xee\x8e\x51\xc7\xde\x32\x12\x47\x7d"
2079         "\x46\xb8\x35\xdf\x41\x02\x81\x81\x00\xe4\x4c\xae\xde\x16\xfd\x9f"
2080         "\x83\x55\x5b\x84\x4a\xcf\x1c\xf1\x37\x95\xad\xca\x29\x7f\x2d\x6e"
2081         "\x32\x81\xa4\x2b\x26\x14\x96\x1d\x40\x05\xec\x0c\xaf\x3f\x2c\x6f"
2082         "\x2c\xe8\xbf\x1d\xee\xd0\xb3\xef\x7c\x5b\x9e\x88\x4f\x2a\x8b\x0e"
2083         "\x4a\xbd\xb7\x8c\xfa\x10\x0e\x3b\xda\x68\xad\x41\x2b\xe4\x96\xfa"
2084         "\x7f\x80\x52\x5f\x07\x9f\x0e\x3b\x5e\x96\x45\x1a\x13\x2b\x94\xce"
2085         "\x1f\x07\x69\x85\x35\xfc\x69\x63\x5b\xf8\xf8\x3f\xce\x9d\x40\x1e"
2086         "\x7c\xad\xfb\x9e\xce\xe0\x01\xf8\xef\x59\x5d\xdc\x00\x79\xab\x8a"
2087         "\x3f\x80\xa2\x76\x32\x94\xa9\xea\x65\x02\x81\x81\x00\xf1\x38\x60"
2088         "\x90\x0d\x0c\x2e\x3d\x34\xe5\x90\xea\x21\x43\x1f\x68\x63\x16\x7b"
2089         "\x25\x8d\xde\x82\x2b\x52\xf8\xa3\xfd\x0f\x39\xe7\xe9\x5e\x32\x75"
2090         "\x15\x7d\xd0\xc9\xce\x06\xe5\xfb\xa9\xcb\x22\xe5\xdb\x49\x09\xf2"
2091         "\xe6\xb7\xa5\xa7\x75\x2e\x91\x2d\x2b\x5d\xf1\x48\x61\x45\x43\xd7"
2092         "\xbd\xfc\x11\x73\xb5\x11\x9f\xb2\x18\x3a\x6f\x36\xa7\xc2\xd3\x18"
2093         "\x4d\xf0\xc5\x1f\x70\x8c\x9b\xc5\x1d\x95\xa8\x5a\x9e\x8c\xb1\x4b"
2094         "\x6a\x2a\x84\x76\x2c\xd8\x4f\x47\xb0\x81\x84\x02\x45\xf0\x85\xf8"
2095         "\x0c\x6d\xa7\x0c\x4d\x2c\xb2\x5b\x81\x70\xfd\x6e\x17\x02\x81\x81"
2096         "\x00\x8d\x07\xc5\xfa\x92\x4f\x48\xcb\xd3\xdd\xfe\x02\x4c\xa1\x7f"
2097         "\x6d\xab\xfc\x38\xe7\x9b\x95\xcf\xfe\x49\x51\xc6\x09\xf7\x2b\xa8"
2098         "\x94\x15\x54\x75\x9d\x88\xb4\x05\x55\xc3\xcd\xd4\x4a\xe4\x08\x53"
2099         "\xc8\x09\xbd\x0c\x4d\x83\x65\x75\x85\xbc\x5e\xf8\x2a\xbd\xe2\x5d"
2100         "\x1d\x16\x0e\xf9\x34\x89\x38\xaf\x34\x36\x6c\x2c\x22\x44\x22\x81"
2101         "\x90\x73\xd9\xea\x3a\xaf\x70\x74\x48\x7c\xc6\xb5\xb0\xdc\xe5\xa9"
2102         "\xa8\x76\x4b\xbc\xf7\x00\xf3\x4c\x22\x0f\x44\x62\x1d\x40\x0a\x57"
2103         "\xe2\x5b\xdd\x7c\x7b\x9a\xad\xda\x70\x52\x21\x8a\x4c\xc2\xc3\x98"
2104         "\x75\x02\x81\x81\x00\xed\x24\x5c\xa2\x21\x81\xa1\x0f\xa1\x2a\x33"
2105         "\x0e\x49\xc7\x00\x60\x92\x51\x6e\x9d\x9b\xdc\x6d\x22\x04\x7e\xd6"
2106         "\x51\x19\x9f\xf6\xe3\x91\x2c\x8f\xb8\xa2\x29\x19\xcc\x47\x31\xdf"
2107         "\xf8\xab\xf0\xd2\x02\x83\xca\x99\x16\xc2\xe2\xc3\x3f\x4b\x99\x83"
2108         "\xcb\x87\x9e\x86\x66\xc2\x3e\x91\x21\x80\x66\xf3\xd6\xc5\xcd\xb6"
2109         "\xbb\x64\xef\x22\xcf\x48\x94\x58\xe7\x7e\xd5\x7c\x34\x1c\xb7\xa2"
2110         "\xd0\x93\xe9\x9f\xb5\x11\x61\xd7\x5f\x37\x0f\x64\x52\x70\x11\x78"
2111         "\xcc\x08\x77\xeb\xf8\x30\x1e\xb4\x9e\x1b\x4a\xc7\xa8\x33\x51\xe0"
2112         "\xed\xdf\x53\xf6\xdf\x02\x81\x81\x00\x86\xd9\x4c\xee\x65\x61\xc1"
2113         "\x19\xa9\xd5\x74\x9b\xd5\xca\xf6\x83\x2b\x06\xb4\x20\xfe\x45\x29"
2114         "\xe8\xe3\xfa\xe1\x4f\x28\x8e\x63\x2f\x74\xc3\x3a\x5c\x9a\xf5\x9e"
2115         "\x0e\x0d\xc5\xfe\xa0\x4c\x00\xce\x7b\xa4\x19\x17\x59\xaf\x13\x3a"
2116         "\x03\x8f\x54\xf5\x60\x39\x2e\xd9\x06\xb3\x7c\xd6\x90\x06\x41\x77"
2117         "\xf3\x93\xe1\x7a\x01\x41\xc1\x8f\xfe\x4c\x88\x39\xdb\xde\x71\x9e"
2118         "\x58\xd1\x49\x50\x80\xb2\x5a\x4f\x69\x8b\xb8\xfe\x63\xd4\x42\x3d"
2119         "\x37\x61\xa8\x4c\xff\xb6\x99\x4c\xf4\x51\xe0\x44\xaa\x69\x79\x3f"
2120         "\x81\xa4\x61\x3d\x26\xe9\x04\x52\x64",
2121         .key_len = 1193,
2122         /*
2123          * m is SHA256 hash of following message:
2124          * "\x49\x41\xbe\x0a\x0c\xc9\xf6\x35\x51\xe4\x27\x56\x13\x71\x4b\xd0"
2125          * "\x36\x92\x84\x89\x1b\xf8\x56\x4a\x72\x61\x14\x69\x4f\x5e\x98\xa5"
2126          * "\x80\x5a\x37\x51\x1f\xd8\xf5\xb5\x63\xfc\xf4\xb1\xbb\x4d\x33\xa3"
2127          * "\x1e\xb9\x75\x8b\x9c\xda\x7e\x6d\x3a\x77\x85\xf7\xfc\x4e\xe7\x64"
2128          * "\x43\x10\x19\xa0\x59\xae\xe0\xad\x4b\xd3\xc4\x45\xf7\xb1\xc2\xc1"
2129          * "\x65\x01\x41\x39\x5b\x45\x47\xed\x2b\x51\xed\xe3\xd0\x09\x10\xd2"
2130          * "\x39\x6c\x4a\x3f\xe5\xd2\x20\xe6\xb0\x71\x7d\x5b\xed\x26\x60\xf1"
2131          * "\xb4\x73\xd1\xdb\x7d\xc4\x19\x91\xee\xf6\x32\x76\xf2\x19\x7d\xb7"
2132          */
2133         .m =
2134         "\x3e\xc8\xa1\x26\x20\x54\x44\x52\x48\x0d\xe5\x66\xf3\xb3\xf5\x04"
2135         "\xbe\x10\xa8\x48\x94\x22\x2d\xdd\xba\x7a\xb4\x76\x8d\x79\x98\x89",
2136         .m_size = 32,
2137         .c =
2138         "\xc7\xa3\x98\xeb\x43\xd1\x08\xc2\x3d\x78\x45\x04\x70\xc9\x01\xee"
2139         "\xf8\x85\x37\x7c\x0b\xf9\x19\x70\x5c\x45\x7b\x2f\x3a\x0b\xb7\x8b"
2140         "\xc4\x0d\x7b\x3a\x64\x0b\x0f\xdb\x78\xa9\x0b\xfd\x8d\x82\xa4\x86"
2141         "\x39\xbf\x21\xb8\x84\xc4\xce\x9f\xc2\xe8\xb6\x61\x46\x17\xb9\x4e"
2142         "\x0b\x57\x05\xb4\x4f\xf9\x9c\x93\x2d\x9b\xd5\x48\x1d\x80\x12\xef"
2143         "\x3a\x77\x7f\xbc\xb5\x8e\x2b\x6b\x7c\xfc\x9f\x8c\x9d\xa2\xc4\x85"
2144         "\xb0\x87\xe9\x17\x9b\xb6\x23\x62\xd2\xa9\x9f\x57\xe8\xf7\x04\x45"
2145         "\x24\x3a\x45\xeb\xeb\x6a\x08\x8e\xaf\xc8\xa0\x84\xbc\x5d\x13\x38"
2146         "\xf5\x17\x8c\xa3\x96\x9b\xa9\x38\x8d\xf0\x35\xad\x32\x8a\x72\x5b"
2147         "\xdf\x21\xab\x4b\x0e\xa8\x29\xbb\x61\x54\xbf\x05\xdb\x84\x84\xde"
2148         "\xdd\x16\x36\x31\xda\xf3\x42\x6d\x7a\x90\x22\x9b\x11\x29\xa6\xf8"
2149         "\x30\x61\xda\xd3\x8b\x54\x1e\x42\xd1\x47\x1d\x6f\xd1\xcd\x42\x0b"
2150         "\xd1\xe4\x15\x85\x7e\x08\xd6\x59\x64\x4c\x01\x34\x91\x92\x26\xe8"
2151         "\xb0\x25\x8c\xf8\xf4\xfa\x8b\xc9\x31\x33\x76\x72\xfb\x64\x92\x9f"
2152         "\xda\x62\x8d\xe1\x2a\x71\x91\x43\x40\x61\x3c\x5a\xbe\x86\xfc\x5b"
2153         "\xe6\xf9\xa9\x16\x31\x1f\xaf\x25\x6d\xc2\x4a\x23\x6e\x63\x02\xa2",
2154         .c_size = 256,
2155         }
2156 };
2157
2158 static const struct kpp_testvec dh_tv_template[] = {
2159         {
2160         .secret =
2161 #ifdef __LITTLE_ENDIAN
2162         "\x01\x00" /* type */
2163         "\x11\x02" /* len */
2164         "\x00\x01\x00\x00" /* key_size */
2165         "\x00\x01\x00\x00" /* p_size */
2166         "\x01\x00\x00\x00" /* g_size */
2167 #else
2168         "\x00\x01" /* type */
2169         "\x02\x11" /* len */
2170         "\x00\x00\x01\x00" /* key_size */
2171         "\x00\x00\x01\x00" /* p_size */
2172         "\x00\x00\x00\x01" /* g_size */
2173 #endif
2174         /* xa */
2175         "\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
2176         "\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
2177         "\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
2178         "\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
2179         "\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
2180         "\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
2181         "\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
2182         "\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
2183         "\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
2184         "\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
2185         "\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
2186         "\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
2187         "\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
2188         "\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
2189         "\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
2190         "\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
2191         /* p */
2192         "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
2193         "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
2194         "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
2195         "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
2196         "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
2197         "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
2198         "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
2199         "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
2200         "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
2201         "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
2202         "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
2203         "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
2204         "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
2205         "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
2206         "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
2207         "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
2208         /* g */
2209         "\x02",
2210         .b_public =
2211         "\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
2212         "\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
2213         "\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
2214         "\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
2215         "\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
2216         "\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
2217         "\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
2218         "\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
2219         "\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
2220         "\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
2221         "\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
2222         "\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
2223         "\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
2224         "\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
2225         "\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
2226         "\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
2227         .expected_a_public =
2228         "\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
2229         "\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
2230         "\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
2231         "\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
2232         "\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
2233         "\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
2234         "\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
2235         "\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
2236         "\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
2237         "\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
2238         "\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
2239         "\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
2240         "\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
2241         "\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
2242         "\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
2243         "\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
2244         .expected_ss =
2245         "\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
2246         "\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
2247         "\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
2248         "\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
2249         "\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
2250         "\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
2251         "\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
2252         "\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
2253         "\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
2254         "\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
2255         "\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
2256         "\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
2257         "\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
2258         "\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
2259         "\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
2260         "\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
2261         .secret_size = 529,
2262         .b_public_size = 256,
2263         .expected_a_public_size = 256,
2264         .expected_ss_size = 256,
2265         },
2266         {
2267         .secret =
2268 #ifdef __LITTLE_ENDIAN
2269         "\x01\x00" /* type */
2270         "\x11\x02" /* len */
2271         "\x00\x01\x00\x00" /* key_size */
2272         "\x00\x01\x00\x00" /* p_size */
2273         "\x01\x00\x00\x00" /* g_size */
2274 #else
2275         "\x00\x01" /* type */
2276         "\x02\x11" /* len */
2277         "\x00\x00\x01\x00" /* key_size */
2278         "\x00\x00\x01\x00" /* p_size */
2279         "\x00\x00\x00\x01" /* g_size */
2280 #endif
2281         /* xa */
2282         "\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
2283         "\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
2284         "\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
2285         "\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
2286         "\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
2287         "\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
2288         "\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
2289         "\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
2290         "\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
2291         "\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
2292         "\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
2293         "\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
2294         "\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
2295         "\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
2296         "\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
2297         "\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
2298         /* p */
2299         "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
2300         "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
2301         "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
2302         "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
2303         "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
2304         "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
2305         "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
2306         "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
2307         "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
2308         "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
2309         "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
2310         "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
2311         "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
2312         "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
2313         "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
2314         "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
2315         /* g */
2316         "\x02",
2317         .b_public =
2318         "\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
2319         "\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
2320         "\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
2321         "\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
2322         "\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
2323         "\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
2324         "\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
2325         "\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
2326         "\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
2327         "\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
2328         "\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
2329         "\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
2330         "\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
2331         "\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
2332         "\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
2333         "\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
2334         .expected_a_public =
2335         "\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
2336         "\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
2337         "\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
2338         "\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
2339         "\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
2340         "\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
2341         "\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
2342         "\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
2343         "\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
2344         "\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
2345         "\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
2346         "\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
2347         "\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
2348         "\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
2349         "\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
2350         "\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
2351         .expected_ss =
2352         "\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
2353         "\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
2354         "\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
2355         "\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
2356         "\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
2357         "\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
2358         "\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
2359         "\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
2360         "\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
2361         "\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
2362         "\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
2363         "\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
2364         "\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
2365         "\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
2366         "\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
2367         "\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
2368         .secret_size = 529,
2369         .b_public_size = 256,
2370         .expected_a_public_size = 256,
2371         .expected_ss_size = 256,
2372         }
2373 };
2374
2375 static const struct kpp_testvec ffdhe2048_dh_tv_template[] __maybe_unused = {
2376         {
2377         .secret =
2378 #ifdef __LITTLE_ENDIAN
2379         "\x01\x00" /* type */
2380         "\x10\x01" /* len */
2381         "\x00\x01\x00\x00" /* key_size */
2382         "\x00\x00\x00\x00" /* p_size */
2383         "\x00\x00\x00\x00" /* g_size */
2384 #else
2385         "\x00\x01" /* type */
2386         "\x01\x10" /* len */
2387         "\x00\x00\x01\x00" /* key_size */
2388         "\x00\x00\x00\x00" /* p_size */
2389         "\x00\x00\x00\x00" /* g_size */
2390 #endif
2391         /* xa */
2392         "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
2393         "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
2394         "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
2395         "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
2396         "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
2397         "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
2398         "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
2399         "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
2400         "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
2401         "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
2402         "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
2403         "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
2404         "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
2405         "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
2406         "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
2407         "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
2408         .b_public =
2409         "\x5c\x00\x6f\xda\xfe\x4c\x0c\xc2\x18\xff\xa9\xec\x7a\xbe\x8a\x51"
2410         "\x64\x6b\x57\xf8\xed\xe2\x36\x77\xc1\x23\xbf\x56\xa6\x48\x76\x34"
2411         "\x0e\xf3\x68\x05\x45\x6a\x98\x5b\x9e\x8b\xc0\x11\x29\xcb\x5b\x66"
2412         "\x2d\xc2\xeb\x4c\xf1\x7d\x85\x30\xaa\xd5\xf5\xb8\xd3\x62\x1e\x97"
2413         "\x1e\x34\x18\xf8\x76\x8c\x10\xca\x1f\xe4\x5d\x62\xe1\xbe\x61\xef"
2414         "\xaf\x2c\x8d\x97\x15\xa5\x86\xd5\xd3\x12\x6f\xec\xe2\xa4\xb2\x5a"
2415         "\x35\x1d\xd4\x91\xa6\xef\x13\x09\x65\x9c\x45\xc0\x12\xad\x7f\xee"
2416         "\x93\x5d\xfa\x89\x26\x7d\xae\xee\xea\x8c\xa3\xcf\x04\x2d\xa0\xc7"
2417         "\xd9\x14\x62\xaf\xdf\xa0\x33\xd7\x5e\x83\xa2\xe6\x0e\x0e\x5d\x77"
2418         "\xce\xe6\x72\xe4\xec\x9d\xff\x72\x9f\x38\x95\x19\x96\xba\x4c\xe3"
2419         "\x5f\xb8\x46\x4a\x1d\xe9\x62\x7b\xa8\xdc\xe7\x61\x90\x6b\xb9\xd4"
2420         "\xad\x0b\xa3\x06\xb3\x70\xfa\xea\x2b\xc4\x2c\xde\x43\x37\xf6\x8d"
2421         "\x72\xf0\x86\x9a\xbb\x3b\x8e\x7a\x71\x03\x30\x30\x2a\x5d\xcd\x1e"
2422         "\xe4\xd3\x08\x07\x75\x17\x17\x72\x1e\x77\x6c\x98\x0d\x29\x7f\xac"
2423         "\xe7\xb2\xee\xa9\x1c\x33\x9d\x08\x39\xe1\xd8\x5b\xe5\xbc\x48\xb2"
2424         "\xb6\xdf\xcd\xa0\x42\x06\xcc\xfb\xed\x60\x6f\xbc\x57\xac\x09\x45",
2425         .expected_a_public =
2426         "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
2427         "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
2428         "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
2429         "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
2430         "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
2431         "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
2432         "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
2433         "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
2434         "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
2435         "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
2436         "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
2437         "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
2438         "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
2439         "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
2440         "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
2441         "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
2442         .expected_ss =
2443         "\xf3\x0e\x64\x7b\x66\xd7\x82\x7e\xab\x7e\x4a\xbe\x13\x6f\x43\x3d"
2444         "\xea\x4f\x1f\x8b\x9d\x41\x56\x71\xe1\x06\x96\x02\x68\xfa\x44\x6e"
2445         "\xe7\xf2\x26\xd4\x01\x4a\xf0\x28\x25\x76\xad\xd7\xe0\x17\x74\xfe"
2446         "\xf9\xe1\x6d\xd3\xf7\xc7\xdf\xc0\x62\xa5\xf3\x4e\x1b\x5c\x77\x2a"
2447         "\xfb\x0b\x87\xc3\xde\x1e\xc1\xe0\xd3\x7a\xb8\x02\x02\xec\x9c\x97"
2448         "\xfb\x34\xa0\x20\x10\x23\x87\xb2\x9a\x72\xe3\x3d\xb2\x18\x50\xf3"
2449         "\x6a\xd3\xd3\x19\xc4\x36\xd5\x59\xd6\xd6\xa7\x5c\xc3\xf9\x09\x33"
2450         "\xa1\xf5\xb9\x4b\xf3\x0b\xe1\x4f\x79\x6b\x45\xf2\xec\x8b\xe5\x69"
2451         "\x9f\xc6\x05\x01\xfe\x3a\x13\xfd\x6d\xea\x03\x83\x29\x7c\x7f\xf5"
2452         "\x41\x55\x95\xde\x7e\x62\xae\xaf\x28\xdb\x7c\xa9\x90\x1e\xb2\xb1"
2453         "\x1b\xef\xf1\x2e\xde\x47\xaa\xa8\x92\x9a\x49\x3d\xc0\xe0\x8d\xbb"
2454         "\x0c\x42\x86\xaf\x00\xce\xb0\xab\x22\x7c\xe9\xbe\xb9\x72\x2f\xcf"
2455         "\x5e\x5d\x62\x52\x2a\xd1\xfe\xcc\xa2\xf3\x40\xfd\x01\xa7\x54\x0a"
2456         "\xa1\xfb\x1c\xf2\x44\xa6\x47\x30\x5a\xba\x2a\x05\xff\xd0\x6c\xab"
2457         "\xeb\xe6\x8f\xf6\xd7\x73\xa3\x0e\x6c\x0e\xcf\xfd\x8e\x16\x5d\xe0"
2458         "\x2c\x11\x05\x82\x3c\x22\x16\x6c\x52\x61\xcf\xbb\xff\xf8\x06\xd0",
2459         .secret_size = 272,
2460         .b_public_size = 256,
2461         .expected_a_public_size = 256,
2462         .expected_ss_size = 256,
2463         },
2464         {
2465         .secret =
2466 #ifdef __LITTLE_ENDIAN
2467         "\x01\x00" /* type */
2468         "\x10\x00" /* len */
2469         "\x00\x00\x00\x00" /* key_size */
2470         "\x00\x00\x00\x00" /* p_size */
2471         "\x00\x00\x00\x00", /* g_size */
2472 #else
2473         "\x00\x01" /* type */
2474         "\x00\x10" /* len */
2475         "\x00\x00\x00\x00" /* key_size */
2476         "\x00\x00\x00\x00" /* p_size */
2477         "\x00\x00\x00\x00", /* g_size */
2478 #endif
2479         .b_secret =
2480 #ifdef __LITTLE_ENDIAN
2481         "\x01\x00" /* type */
2482         "\x10\x01" /* len */
2483         "\x00\x01\x00\x00" /* key_size */
2484         "\x00\x00\x00\x00" /* p_size */
2485         "\x00\x00\x00\x00" /* g_size */
2486 #else
2487         "\x00\x01" /* type */
2488         "\x01\x10" /* len */
2489         "\x00\x00\x01\x00" /* key_size */
2490         "\x00\x00\x00\x00" /* p_size */
2491         "\x00\x00\x00\x00" /* g_size */
2492 #endif
2493         /* xa */
2494         "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
2495         "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
2496         "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
2497         "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
2498         "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
2499         "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
2500         "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
2501         "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
2502         "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
2503         "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
2504         "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
2505         "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
2506         "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
2507         "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
2508         "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
2509         "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
2510         .b_public =
2511         "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
2512         "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
2513         "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
2514         "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
2515         "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
2516         "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
2517         "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
2518         "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
2519         "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
2520         "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
2521         "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
2522         "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
2523         "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
2524         "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
2525         "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
2526         "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
2527         .secret_size = 16,
2528         .b_secret_size = 272,
2529         .b_public_size = 256,
2530         .expected_a_public_size = 256,
2531         .expected_ss_size = 256,
2532         .genkey = true,
2533         },
2534 };
2535
2536 static const struct kpp_testvec ffdhe3072_dh_tv_template[] __maybe_unused = {
2537         {
2538         .secret =
2539 #ifdef __LITTLE_ENDIAN
2540         "\x01\x00" /* type */
2541         "\x90\x01" /* len */
2542         "\x80\x01\x00\x00" /* key_size */
2543         "\x00\x00\x00\x00" /* p_size */
2544         "\x00\x00\x00\x00" /* g_size */
2545 #else
2546         "\x00\x01" /* type */
2547         "\x01\x90" /* len */
2548         "\x00\x00\x01\x80" /* key_size */
2549         "\x00\x00\x00\x00" /* p_size */
2550         "\x00\x00\x00\x00" /* g_size */
2551 #endif
2552         /* xa */
2553         "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
2554         "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
2555         "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
2556         "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
2557         "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
2558         "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
2559         "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
2560         "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
2561         "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
2562         "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
2563         "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
2564         "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
2565         "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
2566         "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
2567         "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
2568         "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
2569         "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
2570         "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
2571         "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
2572         "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
2573         "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
2574         "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
2575         "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
2576         "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
2577         .b_public =
2578         "\x73\x40\x8b\xce\xe8\x6a\x1c\x03\x50\x54\x42\x36\x22\xc6\x1d\xe8"
2579         "\xe1\xef\x5c\x89\xa5\x55\xc1\xc4\x1c\xd7\x4f\xee\x5d\xba\x62\x60"
2580         "\xfe\x93\x2f\xfd\x93\x2c\x8f\x70\xc6\x47\x17\x25\xb2\x95\xd7\x7d"
2581         "\x41\x81\x4d\x52\x1c\xbe\x4d\x57\x3e\x26\x51\x28\x03\x8f\x67\xf5"
2582         "\x22\x16\x1c\x67\xf7\x62\xcb\xfd\xa3\xee\x8d\xe0\xfa\x15\x9a\x53"
2583         "\xbe\x7b\x9f\xc0\x12\x7a\xfc\x5e\x77\x2d\x60\x06\xba\x71\xc5\xca"
2584         "\xd7\x26\xaf\x3b\xba\x6f\xd3\xc4\x82\x57\x19\x26\xb0\x16\x7b\xbd"
2585         "\x83\xf2\x21\x03\x79\xff\x0a\x6f\xc5\x7b\x00\x15\xad\x5b\xf4\x42"
2586         "\x1f\xcb\x7f\x3d\x34\x77\x3c\xc3\xe0\x38\xa5\x40\x51\xbe\x6f\xd9"
2587         "\xc9\x77\x9c\xfc\x0d\xc1\x8e\xef\x0f\xaa\x5e\xa8\xbb\x16\x4a\x3e"
2588         "\x26\x55\xae\xc1\xb6\x3e\xfd\x73\xf7\x59\xd2\xe5\x4b\x91\x8e\x28"
2589         "\x77\x1e\x5a\xe2\xcd\xce\x92\x35\xbb\x1e\xbb\xcf\x79\x94\xdf\x31"
2590         "\xde\x31\xa8\x75\xf6\xe0\xaa\x2e\xe9\x4f\x44\xc8\xba\xb9\xab\x80"
2591         "\x29\xa1\xea\x58\x2e\x40\x96\xa0\x1a\xf5\x2c\x38\x47\x43\x5d\x26"
2592         "\x2c\xd8\xad\xea\xd3\xad\xe8\x51\x49\xad\x45\x2b\x25\x7c\xde\xe4"
2593         "\xaf\x03\x2a\x39\x26\x86\x66\x10\xbc\xa8\x71\xda\xe0\xe8\xf1\xdd"
2594         "\x50\xff\x44\xb2\xd3\xc7\xff\x66\x63\xf6\x42\xe3\x97\x9d\x9e\xf4"
2595         "\xa6\x89\xb9\xab\x12\x17\xf2\x85\x56\x9c\x6b\x24\x71\x83\x57\x7d"
2596         "\x3c\x7b\x2b\x88\x92\x19\xd7\x1a\x00\xd5\x38\x94\x43\x60\x4d\xa7"
2597         "\x12\x9e\x0d\xf6\x5c\x9a\xd3\xe2\x9e\xb1\x21\xe8\xe2\x9e\xe9\x1e"
2598         "\x9d\xa5\x94\x95\xa6\x3d\x12\x15\xd8\x8b\xac\xe0\x8c\xde\xe6\x40"
2599         "\x98\xaa\x5e\x55\x4f\x3d\x86\x87\x0d\xe3\xc6\x68\x15\xe6\xde\x17"
2600         "\x78\x21\xc8\x6c\x06\xc7\x94\x56\xb4\xaf\xa2\x35\x0b\x0c\x97\xd7"
2601         "\xa4\x12\xee\xf4\xd2\xef\x80\x28\xb3\xee\xe9\x15\x8b\x01\x32\x79",
2602         .expected_a_public =
2603         "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
2604         "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
2605         "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
2606         "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
2607         "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
2608         "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
2609         "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
2610         "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
2611         "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
2612         "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
2613         "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
2614         "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
2615         "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
2616         "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
2617         "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
2618         "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
2619         "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
2620         "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
2621         "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
2622         "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
2623         "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
2624         "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
2625         "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
2626         "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
2627         .expected_ss =
2628         "\x47\x8e\xb2\x19\x09\xf0\x46\x99\x6b\x41\x86\xf7\x34\xad\xbf\x2a"
2629         "\x18\x1b\x7d\xec\xa9\xb2\x47\x2f\x40\xfb\x9a\x64\x30\x44\xf3\x4c"
2630         "\x01\x67\xad\x57\x5a\xbc\xd4\xc8\xef\x7e\x8a\x14\x74\x1d\x6d\x8c"
2631         "\x7b\xce\xc5\x57\x5f\x95\xe8\x72\xba\xdf\xa3\xcd\x00\xbe\x09\x4c"
2632         "\x06\x72\xe7\x17\xb0\xe5\xe5\xb7\x20\xa5\xcb\xd9\x68\x99\xad\x3f"
2633         "\xde\xf3\xde\x1d\x1c\x00\x74\xd2\xd1\x57\x55\x5d\xce\x76\x0c\xc4"
2634         "\x7a\xc4\x65\x7c\x19\x17\x0a\x09\x66\x7d\x3a\xab\xf7\x61\x3a\xe3"
2635         "\x5b\xac\xcf\x69\xb0\x8b\xee\x5d\x28\x36\xbb\x3f\x74\xce\x6e\x38"
2636         "\x1e\x39\xab\x26\xca\x89\xdc\x58\x59\xcb\x95\xe4\xbc\xd6\x19\x48"
2637         "\xd0\x55\x68\x7b\xb4\x27\x95\x3c\xd9\x58\x10\x4f\x8f\x55\x1c\x3f"
2638         "\x04\xce\x89\x1f\x82\x28\xe9\x48\x17\x47\x8f\xee\xb7\x8f\xeb\xb1"
2639         "\x29\xa8\x23\x18\x73\x33\x9f\x83\x08\xca\xcd\x54\x6e\xca\xec\x78"
2640         "\x7b\x16\x83\x3f\xdb\x0a\xef\xfd\x87\x94\x19\x08\x6e\x6e\x22\x57"
2641         "\xd7\xd2\x79\xf9\xf6\xeb\xe0\x6c\x93\x9d\x95\xfa\x41\x7a\xa9\xd6"
2642         "\x2a\xa3\x26\x9b\x24\x1b\x8b\xa0\xed\x04\xb2\xe4\x6c\x4e\xc4\x3f"
2643         "\x61\xe5\xe0\x4d\x09\x28\xaf\x58\x35\x25\x0b\xd5\x38\x18\x69\x51"
2644         "\x18\x51\x73\x7b\x28\x19\x9f\xe4\x69\xfc\x2c\x25\x08\x99\x8f\x62"
2645         "\x65\x62\xa5\x28\xf1\xf4\xfb\x02\x29\x27\xb0\x5e\xbb\x4f\xf9\x1a"
2646         "\xa7\xc4\x38\x63\x5b\x01\xfe\x00\x66\xe3\x47\x77\x21\x85\x17\xd5"
2647         "\x34\x19\xd3\x87\xab\x44\x62\x08\x59\xb2\x6b\x1f\x21\x0c\x23\x84"
2648         "\xf7\xba\x92\x67\xf9\x16\x85\x6a\xe0\xeb\xe7\x4f\x06\x80\x81\x81"
2649         "\x28\x9c\xe8\x2e\x71\x97\x48\xe0\xd1\xbc\xce\xe9\x42\x2c\x89\xdf"
2650         "\x0b\xa9\xa1\x07\x84\x33\x78\x7f\x49\x2f\x1c\x55\xc3\x7f\xc3\x37"
2651         "\x40\xdf\x13\xf4\xa0\x21\x79\x6e\x3a\xe3\xb8\x23\x9e\x8a\x6e\x9c",
2652         .secret_size = 400,
2653         .b_public_size = 384,
2654         .expected_a_public_size = 384,
2655         .expected_ss_size = 384,
2656         },
2657         {
2658         .secret =
2659 #ifdef __LITTLE_ENDIAN
2660         "\x01\x00" /* type */
2661         "\x10\x00" /* len */
2662         "\x00\x00\x00\x00" /* key_size */
2663         "\x00\x00\x00\x00" /* p_size */
2664         "\x00\x00\x00\x00", /* g_size */
2665 #else
2666         "\x00\x01" /* type */
2667         "\x00\x10" /* len */
2668         "\x00\x00\x00\x00" /* key_size */
2669         "\x00\x00\x00\x00" /* p_size */
2670         "\x00\x00\x00\x00", /* g_size */
2671 #endif
2672         .b_secret =
2673 #ifdef __LITTLE_ENDIAN
2674         "\x01\x00" /* type */
2675         "\x90\x01" /* len */
2676         "\x80\x01\x00\x00" /* key_size */
2677         "\x00\x00\x00\x00" /* p_size */
2678         "\x00\x00\x00\x00" /* g_size */
2679 #else
2680         "\x00\x01" /* type */
2681         "\x01\x90" /* len */
2682         "\x00\x00\x01\x80" /* key_size */
2683         "\x00\x00\x00\x00" /* p_size */
2684         "\x00\x00\x00\x00" /* g_size */
2685 #endif
2686         /* xa */
2687         "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
2688         "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
2689         "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
2690         "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
2691         "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
2692         "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
2693         "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
2694         "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
2695         "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
2696         "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
2697         "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
2698         "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
2699         "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
2700         "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
2701         "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
2702         "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
2703         "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
2704         "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
2705         "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
2706         "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
2707         "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
2708         "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
2709         "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
2710         "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
2711         .b_public =
2712         "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
2713         "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
2714         "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
2715         "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
2716         "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
2717         "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
2718         "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
2719         "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
2720         "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
2721         "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
2722         "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
2723         "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
2724         "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
2725         "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
2726         "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
2727         "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
2728         "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
2729         "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
2730         "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
2731         "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
2732         "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
2733         "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
2734         "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
2735         "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
2736         .secret_size = 16,
2737         .b_secret_size = 400,
2738         .b_public_size = 384,
2739         .expected_a_public_size = 384,
2740         .expected_ss_size = 384,
2741         .genkey = true,
2742         },
2743 };
2744
2745 static const struct kpp_testvec ffdhe4096_dh_tv_template[] __maybe_unused = {
2746         {
2747         .secret =
2748 #ifdef __LITTLE_ENDIAN
2749         "\x01\x00" /* type */
2750         "\x10\x02" /* len */
2751         "\x00\x02\x00\x00" /* key_size */
2752         "\x00\x00\x00\x00" /* p_size */
2753         "\x00\x00\x00\x00" /* g_size */
2754 #else
2755         "\x00\x01" /* type */
2756         "\x02\x10" /* len */
2757         "\x00\x00\x02\x00" /* key_size */
2758         "\x00\x00\x00\x00" /* p_size */
2759         "\x00\x00\x00\x00" /* g_size */
2760 #endif
2761         /* xa */
2762         "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
2763         "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
2764         "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
2765         "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
2766         "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
2767         "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
2768         "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
2769         "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
2770         "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
2771         "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
2772         "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
2773         "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
2774         "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
2775         "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
2776         "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
2777         "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
2778         "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
2779         "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
2780         "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
2781         "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
2782         "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
2783         "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
2784         "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
2785         "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
2786         "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
2787         "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
2788         "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
2789         "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
2790         "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
2791         "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
2792         "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
2793         "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
2794         .b_public =
2795         "\x24\x38\x02\x02\x2f\xeb\x54\xdd\x73\x21\x91\x4a\xd8\xa4\x0a\xbf"
2796         "\xf4\xf5\x9a\x45\xb5\xcd\x42\xa3\x57\xcc\x65\x4a\x23\x2e\xee\x59"
2797         "\xba\x6f\x14\x89\xae\x2e\x14\x0a\x72\x77\x23\x7f\x6c\x2e\xba\x52"
2798         "\x3f\x71\xbf\xe4\x60\x03\x16\xaa\x61\xf5\x80\x1d\x8a\x45\x9e\x53"
2799         "\x7b\x07\xd9\x7e\xfe\xaf\xcb\xda\xff\x20\x71\xba\x89\x39\x75\xc3"
2800         "\xb3\x65\x0c\xb1\xa7\xfa\x4a\xe7\xe0\x85\xc5\x4e\x91\x47\x41\xf4"
2801         "\xdd\xcd\xc5\x3d\x17\x12\xed\xee\xc0\x31\xb1\xaf\xc1\xd5\x3c\x07"
2802         "\xa1\x5a\xc4\x05\x45\xe3\x10\x0c\xc3\x14\xae\x65\xca\x40\xae\x31"
2803         "\x5c\x13\x0d\x32\x85\xa7\x6e\xf4\x5e\x29\x3d\x4e\xd3\xd7\x49\x58"
2804         "\xe1\x73\xbb\x0a\x7b\xd6\x13\xea\x49\xd7\x20\x3d\x31\xaa\x77\xab"
2805         "\x21\x74\xe9\x2f\xe9\x5e\xbe\x2f\xb4\xa2\x79\xf2\xbc\xcc\x51\x94"
2806         "\xd2\x1d\xb2\xe6\xc5\x39\x66\xd7\xe5\x46\x75\x53\x76\xed\x49\xea"
2807         "\x3b\xdd\x01\x27\xdb\x83\xa5\x9f\xd2\xee\xc8\xde\x9e\xde\xd2\xe7"
2808         "\x99\xad\x9c\xe0\x71\x66\x29\xd8\x0d\xfe\xdc\xd1\xbc\xc7\x9a\xbe"
2809         "\x8b\x26\x46\x57\xb6\x79\xfa\xad\x8b\x45\x2e\xb5\xe5\x89\x34\x01"
2810         "\x93\x00\x9d\xe9\x58\x74\x8b\xda\x07\x92\xb5\x01\x4a\xe1\x44\x36"
2811         "\xc7\x6c\xde\xc8\x7a\x17\xd0\xde\xee\x68\x92\xb5\xde\x21\x2b\x1c"
2812         "\xbc\x65\x30\x1e\xae\x15\x3d\x9a\xaf\x20\xa3\xc4\x21\x70\xfb\x2f"
2813         "\x36\x72\x31\xc0\xe8\x85\xdf\xc5\x50\x4c\x90\x10\x32\xa4\xc7\xee"
2814         "\x59\x5a\x21\xf4\xf1\x33\xcf\xbe\xac\x67\xb1\x40\x7c\x0b\x3f\x64"
2815         "\xe5\xd2\x2d\xb7\x7d\x0f\xce\xf7\x9b\x05\xee\x37\x61\xd2\x61\x9e"
2816         "\x1a\x80\x2e\x79\xe6\x1b\x25\xb3\x61\x3d\x53\xe7\xe5\x97\x9a\xc2"
2817         "\x39\xb1\xe3\x91\xc6\xee\x96\x2e\xa9\xb4\xb8\xad\xd8\x04\x3e\x11"
2818         "\x31\x67\xb8\x6a\xcb\x6e\x1a\x4c\x7f\x74\xc7\x1f\x09\xd1\xd0\x6b"
2819         "\x17\xde\xea\xe8\x0b\xe6\x6a\xee\x2f\xe3\x5b\x9c\x59\x5d\x00\x57"
2820         "\xbf\x24\x25\xba\x22\x34\xb9\xc5\x3c\xc4\x57\x26\xd0\x6d\x89\xee"
2821         "\x67\x79\x3c\x70\xf9\xc3\xb4\x30\xf0\x2e\xca\xfa\x74\x00\xd1\x00"
2822         "\x6d\x03\x97\xd5\x08\x3f\x0b\x8e\xb8\x1d\xa3\x91\x7f\xa9\x3a\xf0"
2823         "\x37\x57\x46\x87\x82\xa3\xb5\x8f\x51\xaa\xc7\x7b\xfe\x86\x26\xb9"
2824         "\xfa\xe6\x1e\xee\x92\x9d\x3a\xed\x5b\x5e\x3f\xe5\xca\x5e\x13\x01"
2825         "\xdd\x4c\x8d\x85\xf0\x60\x61\xb7\x60\x24\x83\x9f\xbe\x72\x21\x81"
2826         "\x55\x7e\x7e\x6d\xf3\x28\xc8\x77\x5a\xae\x5a\x32\x86\xd5\x61\xad",
2827         .expected_a_public =
2828         "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
2829         "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
2830         "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
2831         "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
2832         "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
2833         "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
2834         "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
2835         "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
2836         "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
2837         "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
2838         "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
2839         "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
2840         "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
2841         "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
2842         "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
2843         "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
2844         "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
2845         "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
2846         "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
2847         "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
2848         "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
2849         "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
2850         "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
2851         "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
2852         "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
2853         "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
2854         "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
2855         "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
2856         "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
2857         "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
2858         "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
2859         "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
2860         .expected_ss =
2861         "\xe2\xce\x0e\x4b\x64\xf3\x84\x62\x38\xfd\xe3\x6f\x69\x40\x22\xb0"
2862         "\x73\x27\x03\x12\x82\xa4\x6e\x03\x57\xec\x3d\xa0\xc1\x4f\x4b\x09"
2863         "\xa1\xd4\xe0\x1a\x5d\x91\x2e\x08\xad\x57\xfa\xcc\x55\x90\x5f\xa0"
2864         "\x52\x27\x62\x8d\xe5\x2d\xa1\x5f\xf0\x30\x43\x77\x4e\x3f\x02\x58"
2865         "\xcb\xa0\x51\xae\x1d\x24\xf9\x0a\xd1\x36\x0b\x95\x0f\x07\xd9\xf7"
2866         "\xe2\x36\x14\x2f\xf0\x11\xc2\xc9\xaf\x66\x4e\x0d\xb4\x60\x01\x4e"
2867         "\xa8\x49\xc6\xec\x5f\xb2\xbc\x05\x48\x91\x4e\xe1\xc3\x99\x9f\xeb"
2868         "\x4a\xc1\xde\x05\x9a\x65\x39\x7d\x2f\x89\x85\xb2\xcf\xec\x25\x27"
2869         "\x5f\x1c\x11\x63\xcf\x7b\x86\x98\x39\xae\xc2\x16\x8f\x79\xd1\x20"
2870         "\xd0\xb4\xa0\xba\x44\xd8\xf5\x3a\x0a\x08\x4c\xd1\xb9\xdd\x0a\x5b"
2871         "\x9e\x62\xf3\x52\x0c\x84\x12\x43\x9b\xd7\xdf\x86\x71\x03\xdd\x04"
2872         "\x98\x55\x0c\x7b\xe2\xe8\x03\x17\x25\x84\xd9\xbd\xe1\xce\x64\xbe"
2873         "\xca\x55\xd4\x5b\xef\x61\x5b\x68\x4b\x80\x37\x40\xae\x28\x87\x81"
2874         "\x55\x34\x96\x50\x21\x47\x49\xc0\xda\x26\x46\xb8\xe8\xcc\x5a\x27"
2875         "\x9c\x9d\x0a\x3d\xcc\x4c\x63\x27\x81\x82\x2e\xf4\xa8\x91\x37\x3e"
2876         "\xa7\x34\x6a\x0f\x60\x44\xdd\x2e\xdc\xf9\x19\xf2\x2e\x81\x05\x51"
2877         "\x16\xbc\xc0\x85\xa5\xd5\x08\x09\x1f\xcd\xed\xa4\xc5\xdb\x16\x43"
2878         "\xb5\x7a\x71\x66\x19\x2e\xef\x13\xbc\x40\x39\x0a\x00\x45\x7e\x61"
2879         "\xe9\x68\x60\x83\x00\x70\xd1\x71\xd3\xa2\x61\x3e\x00\x46\x93\x0d"
2880         "\xbf\xe6\xa2\x07\xe6\x40\x1a\xf4\x57\xc6\x67\x39\xd8\xd7\x6b\xc5"
2881         "\xa5\xd8\x38\x78\x12\xb4\x97\x12\xbe\x97\x13\xef\xe4\x74\x0c\xe0"
2882         "\x75\x89\x64\xf4\xe8\x85\xda\x84\x7b\x1d\xfe\xdd\x21\xba\xda\x01"
2883         "\x52\xdc\x59\xe5\x47\x50\x7e\x15\x20\xd0\x43\x37\x6e\x48\x39\x00"
2884         "\xee\xd9\x54\x6d\x00\x65\xc9\x4b\x85\xa2\x8a\x40\x55\xd0\x63\x0c"
2885         "\xb5\x7a\x0d\x37\x67\x27\x73\x18\x7f\x5a\xf5\x0e\x22\xb9\xb0\x3f"
2886         "\xda\xf1\xec\x7c\x24\x01\x49\xa9\x09\x0e\x0f\xc4\xa9\xef\xc8\x2b"
2887         "\x13\xd1\x0a\x6f\xf8\x92\x4b\x1d\xdd\x6c\x9c\x35\xde\x75\x46\x32"
2888         "\xe6\xfb\xda\x58\xba\x81\x08\xca\xa9\xb6\x69\x71\x96\x2a\x1f\x2e"
2889         "\x25\xe0\x37\xfe\xee\x4d\x27\xaa\x04\xda\x95\xbb\x93\xcf\x8f\xa2"
2890         "\x1d\x67\x35\xe3\x51\x8f\x87\x3b\xa9\x62\x05\xee\x44\xb7\x2e\xd0"
2891         "\x07\x63\x32\xf5\xcd\x64\x18\x20\xcf\x22\x42\x28\x22\x1a\xa8\xbb"
2892         "\x74\x8a\x6f\x2a\xea\x8a\x48\x0a\xad\xd7\xed\xba\xa3\x89\x37\x01",
2893         .secret_size = 528,
2894         .b_public_size = 512,
2895         .expected_a_public_size = 512,
2896         .expected_ss_size = 512,
2897         },
2898         {
2899         .secret =
2900 #ifdef __LITTLE_ENDIAN
2901         "\x01\x00" /* type */
2902         "\x10\x00" /* len */
2903         "\x00\x00\x00\x00" /* key_size */
2904         "\x00\x00\x00\x00" /* p_size */
2905         "\x00\x00\x00\x00", /* g_size */
2906 #else
2907         "\x00\x01" /* type */
2908         "\x00\x10" /* len */
2909         "\x00\x00\x00\x00" /* key_size */
2910         "\x00\x00\x00\x00" /* p_size */
2911         "\x00\x00\x00\x00", /* g_size */
2912 #endif
2913         .b_secret =
2914 #ifdef __LITTLE_ENDIAN
2915         "\x01\x00" /* type */
2916         "\x10\x02" /* len */
2917         "\x00\x02\x00\x00" /* key_size */
2918         "\x00\x00\x00\x00" /* p_size */
2919         "\x00\x00\x00\x00" /* g_size */
2920 #else
2921         "\x00\x01" /* type */
2922         "\x02\x10" /* len */
2923         "\x00\x00\x02\x00" /* key_size */
2924         "\x00\x00\x00\x00" /* p_size */
2925         "\x00\x00\x00\x00" /* g_size */
2926 #endif
2927         /* xa */
2928         "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
2929         "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
2930         "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
2931         "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
2932         "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
2933         "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
2934         "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
2935         "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
2936         "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
2937         "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
2938         "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
2939         "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
2940         "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
2941         "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
2942         "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
2943         "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
2944         "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
2945         "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
2946         "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
2947         "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
2948         "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
2949         "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
2950         "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
2951         "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
2952         "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
2953         "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
2954         "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
2955         "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
2956         "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
2957         "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
2958         "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
2959         "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
2960         .b_public =
2961         "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
2962         "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
2963         "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
2964         "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
2965         "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
2966         "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
2967         "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
2968         "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
2969         "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
2970         "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
2971         "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
2972         "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
2973         "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
2974         "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
2975         "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
2976         "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
2977         "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
2978         "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
2979         "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
2980         "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
2981         "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
2982         "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
2983         "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
2984         "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
2985         "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
2986         "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
2987         "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
2988         "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
2989         "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
2990         "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
2991         "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
2992         "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
2993         .secret_size = 16,
2994         .b_secret_size = 528,
2995         .b_public_size = 512,
2996         .expected_a_public_size = 512,
2997         .expected_ss_size = 512,
2998         .genkey = true,
2999         },
3000 };
3001
3002 static const struct kpp_testvec ffdhe6144_dh_tv_template[] __maybe_unused = {
3003         {
3004         .secret =
3005 #ifdef __LITTLE_ENDIAN
3006         "\x01\x00" /* type */
3007         "\x10\x03" /* len */
3008         "\x00\x03\x00\x00" /* key_size */
3009         "\x00\x00\x00\x00" /* p_size */
3010         "\x00\x00\x00\x00" /* g_size */
3011 #else
3012         "\x00\x01" /* type */
3013         "\x03\x10" /* len */
3014         "\x00\x00\x03\x00" /* key_size */
3015         "\x00\x00\x00\x00" /* p_size */
3016         "\x00\x00\x00\x00" /* g_size */
3017 #endif
3018         /* xa */
3019         "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
3020         "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
3021         "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
3022         "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
3023         "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
3024         "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
3025         "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
3026         "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
3027         "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
3028         "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
3029         "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
3030         "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
3031         "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
3032         "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
3033         "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
3034         "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
3035         "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
3036         "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
3037         "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
3038         "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
3039         "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
3040         "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
3041         "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
3042         "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
3043         "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
3044         "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
3045         "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
3046         "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
3047         "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
3048         "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
3049         "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
3050         "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
3051         "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
3052         "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
3053         "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
3054         "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
3055         "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
3056         "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
3057         "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
3058         "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
3059         "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
3060         "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
3061         "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
3062         "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
3063         "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
3064         "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
3065         "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
3066         "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
3067         .b_public =
3068         "\x30\x31\xbe\x43\xd0\x14\x22\x6b\x4b\x8c\x9a\xca\xc6\xdd\xe5\x99"
3069         "\xce\xb8\x30\x23\xb6\xa8\x8c\x4d\xfa\xef\xad\xa6\x6a\x21\x50\xa6"
3070         "\x45\x2d\x19\x2a\x29\x81\xc5\xac\xb4\xa8\x5f\x6d\x5b\xc8\x5f\x12"
3071         "\x35\x21\xfb\x37\xaa\x0c\x79\xeb\xd4\x83\x01\xda\xa3\xf3\x51\x6e"
3072         "\x17\xf9\xef\x3f\xbd\x2f\xd2\x43\x82\x12\x48\xeb\x61\x4c\x8e\xf2"
3073         "\x6c\x76\xf9\x6d\x42\x2a\xcb\x10\x13\x3b\xf6\x9b\xcd\x46\x1e\xa2"
3074         "\xa7\x2c\x08\x56\xd2\x42\xf5\x03\xf0\x3e\xef\xa2\xa2\xf2\x4c\xf2"
3075         "\xdb\x4f\xeb\x40\x15\x53\x27\xf7\xd4\x8e\x58\x23\xf5\x2c\x88\x04"
3076         "\x1e\xb1\xb6\xe3\xd6\x9c\x49\x08\xa1\x4b\xb8\x33\xe4\x75\x85\xa1"
3077         "\x86\x97\xce\x1d\xe9\x9f\xe2\xd8\xf2\x7e\xad\xdc\x8a\x4d\xbd\x06"
3078         "\x52\x00\x9a\x2c\x69\xdd\x02\x0c\x69\x5a\xf9\x1d\xfd\xdc\xfb\x82"
3079         "\xb2\xe5\xf3\x24\xba\xd1\x09\x76\x90\xb5\x7a\x92\xa6\x6b\x97\xc0"
3080         "\xce\x13\x9b\x4b\xbc\x30\x91\xb2\x13\x8b\x57\x6c\x8b\x66\x6e\x58"
3081         "\x3e\x91\x50\xc7\x6c\xe1\x18\xec\xbf\x69\xcd\xcb\xa0\xbc\x0d\x05"
3082         "\xc4\xf8\x45\x92\xe0\x05\xd3\x08\xb3\x30\x19\xc8\x80\xf8\x17\x9f"
3083         "\x1e\x6a\x49\x8e\x43\xef\x7a\x49\xa5\x93\xd9\xed\xd1\x07\x03\xe4"
3084         "\xa3\x55\xeb\x1e\x2f\x69\xd7\x40\x8f\x6e\x1c\xb6\x94\xfb\xba\x4e"
3085         "\x46\xd0\x38\x71\x00\x88\x93\x6a\x55\xfc\x16\x95\x1f\xb1\xf6\x2f"
3086         "\x26\x45\x50\x54\x30\x62\x62\xe8\x80\xe5\x24\x0b\xe4\x15\x6b\x32"
3087         "\x16\xc2\x30\x9b\x56\xb4\xc9\x5e\x50\xb4\x27\x82\x86\x01\xda\x68"
3088         "\x44\x4b\x15\x81\x31\x13\x52\xd8\x08\xbc\xae\xf3\xa5\x94\x1c\x81"
3089         "\xe8\x42\xd6\x42\xd6\xff\x99\x58\x0f\x61\x3e\x82\x9e\x2d\x13\x03"
3090         "\x54\x02\x74\xf4\x6b\x43\x43\xce\x54\x44\x36\x3f\x55\xfa\xb2\x56"
3091         "\xdc\xac\xb5\x65\x89\xbe\x36\xd2\x58\x65\x79\x4c\xf3\xe2\x01\xf1"
3092         "\x69\x96\x29\x20\x5d\xee\xf5\x8a\x8b\x9f\x72\xf7\x27\x02\xde\x3b"
3093         "\xc7\x52\x19\xdc\x8e\x22\x36\x09\x14\x59\x07\xbb\x1e\x49\x69\x4f"
3094         "\x00\x7b\x9a\x5d\x23\xe9\xbe\x0d\x52\x90\xa3\x0d\xde\xe7\x80\x57"
3095         "\x53\x69\x39\xe6\xf8\x33\xeb\x92\x0d\x9e\x04\x8b\x16\x16\x16\x1c"
3096         "\xa9\xe6\xe3\x0e\x0a\xc6\xf6\x61\xd1\x44\x2b\x3e\x5e\x02\xfe\xaa"
3097         "\xe3\xf3\x8f\xf9\xc8\x20\x37\xad\xbc\x95\xb8\xc5\xe7\x95\xda\xfb"
3098         "\x80\x5b\xf6\x40\x28\xae\xc1\x4c\x09\xde\xff\x1e\xbf\x51\xd2\xfe"
3099         "\x08\xdc\xb0\x48\x21\xf5\x4c\x43\xdc\x7b\x69\x83\xc8\x69\x5c\xc4"
3100         "\xa9\x98\x76\x4b\xc4\x4a\xac\x1d\xa5\x52\xe3\x35\x43\xdd\x30\xd4"
3101         "\xa0\x51\x9c\xc2\x62\x4c\x7e\xa5\xfb\xd3\x2c\x8a\x09\x7f\x53\xa3"
3102         "\xcd\xca\x58\x1b\x4c\xaf\xba\x21\x8b\x88\x1d\xc0\xe9\x0a\x17\x30"
3103         "\x33\xd6\xa2\xa5\x49\x50\x61\x3b\xff\x37\x71\x66\xef\x61\xbc\xb2"
3104         "\x53\x82\xe5\x70\xef\x32\xff\x9d\x97\xe0\x82\xe0\xbb\x49\xc2\x29"
3105         "\x58\x89\xdd\xe9\x62\x52\xfb\xba\x22\xa6\xd9\x16\xfa\x55\xb3\x06"
3106         "\xed\x6d\x70\x6e\xdc\x47\x7c\x67\x1a\xcc\x27\x98\xd4\xd7\xe6\xf0"
3107         "\xf8\x9f\x51\x3e\xf0\xee\xad\xb6\x78\x69\x71\xb5\xcb\x09\xa3\xa6"
3108         "\x3f\x29\x24\x46\xe0\x65\xbc\x9f\x6c\xe9\xf9\x49\x49\x96\x75\xe5"
3109         "\xe1\xff\x82\x70\xf4\x7e\xff\x8f\xec\x47\x98\x6d\x5b\x88\x60\xee"
3110         "\x43\xb1\xe2\x14\xc1\x49\x95\x74\x46\xd3\x3f\x73\xb2\xe9\x88\xe0"
3111         "\xd3\xb1\xc4\x2c\xef\xee\xdd\x6c\xc5\xa1\x29\xef\x86\xd2\x36\x8a"
3112         "\x2f\x7c\x9d\x28\x0a\x6d\xc9\x5a\xdb\xd4\x04\x06\x36\x96\x09\x03"
3113         "\x71\x5d\x38\x67\xa2\x08\x2a\x04\xe7\xd6\x51\x5a\x19\x9d\xe7\xf1"
3114         "\x5d\x6f\xe2\xff\x48\x37\xb7\x8b\xb1\x14\xb4\x96\xcd\xf0\xa7\xbd"
3115         "\xef\x20\xff\x0a\x8d\x08\xb7\x15\x98\x5a\x13\xd2\xda\x2a\x27\x75",
3116         .expected_a_public =
3117         "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
3118         "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
3119         "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
3120         "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
3121         "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
3122         "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
3123         "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
3124         "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
3125         "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
3126         "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
3127         "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
3128         "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
3129         "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
3130         "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
3131         "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
3132         "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
3133         "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
3134         "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
3135         "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
3136         "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
3137         "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
3138         "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
3139         "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
3140         "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
3141         "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
3142         "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
3143         "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
3144         "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
3145         "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
3146         "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
3147         "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
3148         "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
3149         "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
3150         "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
3151         "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
3152         "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
3153         "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
3154         "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
3155         "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
3156         "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
3157         "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
3158         "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
3159         "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
3160         "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
3161         "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
3162         "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
3163         "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
3164         "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
3165         .expected_ss =
3166         "\x9a\x9c\x1c\xb7\x73\x2f\xf2\x12\xed\x59\x01\xbb\x75\xf7\xf5\xe4"
3167         "\xa0\xa8\xbc\x3f\x3f\xb6\xf7\x74\x6e\xc4\xba\x6d\x6c\x4d\x93\x31"
3168         "\x2b\xa7\xa4\xb3\x47\x8f\x77\x04\xb5\xa5\xab\xca\x6b\x5a\xe2\x86"
3169         "\x02\x60\xca\xb4\xd7\x5e\xe0\x0f\x73\xdd\xa2\x38\x7c\xae\x0f\x5a"
3170         "\x1a\xd7\xfd\xb6\xc8\x6f\xdd\xe0\x98\xd5\x07\xea\x1f\x2a\xbb\x9e"
3171         "\xef\x01\x24\x04\xee\xf5\x89\xb1\x12\x26\x54\x95\xef\xcb\x84\xe9"
3172         "\xae\x05\xef\x63\x25\x15\x65\x79\x79\x79\x91\xc3\x76\x72\xb4\x85"
3173         "\x86\xd9\xd3\x03\xb0\xff\x04\x96\x05\x3c\xde\xbf\x47\x34\x76\x70"
3174         "\x17\xd2\x24\x83\xb9\xbb\xcf\x70\x7c\xb8\xc6\x7b\x4e\x01\x86\x36"
3175         "\xc7\xc5\xe5\x8b\x7c\x69\x74\x9a\xfe\x1f\x58\x85\x0f\x00\xf8\x4e"
3176         "\xf1\x56\xdc\xd1\x11\x28\x2c\xcf\x6c\xb9\xc9\x57\x17\x2e\x19\x19"
3177         "\x55\xb3\x4c\xd8\xfb\xe7\x6f\x70\x63\xf9\x53\x45\xdd\xd5\x62\x95"
3178         "\xd3\x7d\x7e\xa0\x00\x1a\x62\x9f\x96\x0a\x5d\x0a\x25\x02\xbb\xff"
3179         "\x5a\xe8\x9e\x5a\x66\x08\x93\xbc\x92\xaf\xd2\x28\x04\x97\xc1\x54"
3180         "\xfe\xcc\x0a\x25\xa2\xf4\x1d\x5a\x9a\xb1\x3e\x9c\xba\x78\xe2\xcf"
3181         "\x71\x70\xe3\x40\xea\xba\x69\x9b\x03\xdd\x99\x26\x09\x84\x9d\x69"
3182         "\x4d\x3d\x0b\xe9\x3f\x51\xcd\x05\xe5\x00\xaf\x2c\xd3\xf6\xc0\x68"
3183         "\xb5\x23\x53\x33\x14\xbd\x39\x1c\xbd\x1b\xe6\x72\x90\xcc\xc2\x86"
3184         "\x1a\x42\x83\x55\xb3\xed\x0b\x62\x6d\x0e\xbb\x9e\x2a\x42\x32\x05"
3185         "\x3f\xf2\x2c\xc8\x9f\x3c\xd2\xb1\x0b\xb6\x4c\xa0\x22\x36\xee\xb9"
3186         "\x55\x23\x3e\x80\xc7\x28\x7c\x39\x11\xd3\x4a\x96\x2e\xef\x52\x34"
3187         "\xf2\xda\xb1\xc6\xf5\x02\x10\xbf\x56\x6b\x50\x56\xcd\x2c\xfe\xe1"
3188         "\x94\x14\x19\x24\x6e\x9a\xdf\x0c\xb8\xe2\xb8\xd5\xa3\xc1\x22\x8e"
3189         "\x84\x92\x00\x16\xf1\x3f\x83\xf6\x36\x31\xa5\x38\xc6\xcf\xf8\x9b"
3190         "\x03\xc7\x6f\xb9\xa1\x04\xdf\x20\x0f\x0b\x0f\x70\xff\x57\x36\x7f"
3191         "\xb3\x6b\xcb\x8f\x48\xf7\xb2\xdb\x85\x05\xd1\xfe\x34\x05\xf6\x57"
3192         "\xb4\x5b\xcc\x3f\x0e\xba\x36\x59\xb0\xfd\x4d\xf6\xf4\x5e\xd2\x65"
3193         "\x1d\x98\x87\xb4\x5e\xff\x29\xaa\x84\x9b\x44\x0f\x06\x36\x61\xbd"
3194         "\xdb\x51\xda\x56\xc2\xd6\x19\xe2\x57\x4f\xd0\x29\x71\xc8\xe4\xd6"
3195         "\xfb\x8c\xd0\xfc\x4f\x25\x09\xa6\xfc\x67\xe2\xb8\xac\xd3\x88\x8f"
3196         "\x1f\xf6\xa1\xe3\x45\xa6\x34\xe3\xb1\x6b\xb7\x37\x0e\x06\xc7\x63"
3197         "\xde\xac\x3b\xac\x07\x91\x64\xcc\x12\x10\x46\x85\x14\x0b\x6b\x03"
3198         "\xba\x4a\x85\xae\xc5\x8c\xa5\x9d\x36\x38\x33\xca\x42\x9c\x4b\x0c"
3199         "\x46\xe1\x77\xe9\x1f\x80\xfe\xb7\x1d\x5a\xf4\xc6\x11\x26\x78\xea"
3200         "\x81\x25\x77\x47\xed\x8b\x59\xc2\x6b\x49\xff\x83\x56\xec\xa5\xf0"
3201         "\xe0\x8b\x15\xd4\x99\x40\x2a\x65\x2a\x98\xf4\x71\x35\x63\x84\x08"
3202         "\x4d\xcd\x71\x85\x55\xbc\xa4\x1c\x90\x93\x03\x41\xde\xed\x78\x62"
3203         "\x07\x30\x50\xac\x60\x21\x06\xc3\xab\xa4\x04\xc0\xc2\x32\x07\xc4"
3204         "\x1f\x2f\xec\xe2\x32\xbf\xbe\x5e\x50\x5b\x2a\x19\x71\x44\x37\x76"
3205         "\x8b\xbc\xdb\x73\x98\x65\x78\xc9\x33\x97\x7e\xdc\x60\xa8\x87\xf2"
3206         "\xb5\x96\x55\x7f\x44\x07\xcb\x3b\xf3\xd7\x82\xfd\x77\x21\x82\x21"
3207         "\x1a\x8b\xa2\xf5\x1f\x66\xd0\x57\x00\x4f\xa9\xa5\x33\xb8\x69\x91"
3208         "\xe8\x2e\xf7\x73\x47\x89\x30\x9b\xb1\xfd\xe1\x5d\x11\xfd\x84\xd9"
3209         "\xa2\x91\x1f\x8a\xa7\x7a\x77\x8e\x3b\x10\x1d\x0a\x59\x50\x34\xb0"
3210         "\xc3\x90\x9f\x56\xb7\x43\xeb\x51\x99\x2b\x8e\x6d\x7b\x58\xe7\xc0"
3211         "\x7f\x3d\xa0\x27\x50\xf2\x6e\xc8\x1e\x7f\x84\xb3\xe1\xf7\x09\x85"
3212         "\xd2\x9b\x56\x6b\xba\xa5\x19\x2e\xec\xd8\x5c\xf5\x4e\x43\x36\x2e"
3213         "\x89\x85\x41\x7f\x9c\x91\x2e\x62\xc3\x41\xcf\x0e\xa1\x7f\xeb\x50",
3214         .secret_size = 784,
3215         .b_public_size = 768,
3216         .expected_a_public_size = 768,
3217         .expected_ss_size = 768,
3218         },
3219         {
3220         .secret =
3221 #ifdef __LITTLE_ENDIAN
3222         "\x01\x00" /* type */
3223         "\x10\x00" /* len */
3224         "\x00\x00\x00\x00" /* key_size */
3225         "\x00\x00\x00\x00" /* p_size */
3226         "\x00\x00\x00\x00", /* g_size */
3227 #else
3228         "\x00\x01" /* type */
3229         "\x00\x10" /* len */
3230         "\x00\x00\x00\x00" /* key_size */
3231         "\x00\x00\x00\x00" /* p_size */
3232         "\x00\x00\x00\x00", /* g_size */
3233 #endif
3234         .b_secret =
3235 #ifdef __LITTLE_ENDIAN
3236         "\x01\x00" /* type */
3237         "\x10\x03" /* len */
3238         "\x00\x03\x00\x00" /* key_size */
3239         "\x00\x00\x00\x00" /* p_size */
3240         "\x00\x00\x00\x00" /* g_size */
3241 #else
3242         "\x00\x01" /* type */
3243         "\x03\x10" /* len */
3244         "\x00\x00\x03\x00" /* key_size */
3245         "\x00\x00\x00\x00" /* p_size */
3246         "\x00\x00\x00\x00" /* g_size */
3247 #endif
3248         /* xa */
3249         "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
3250         "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
3251         "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
3252         "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
3253         "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
3254         "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
3255         "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
3256         "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
3257         "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
3258         "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
3259         "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
3260         "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
3261         "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
3262         "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
3263         "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
3264         "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
3265         "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
3266         "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
3267         "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
3268         "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
3269         "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
3270         "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
3271         "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
3272         "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
3273         "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
3274         "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
3275         "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
3276         "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
3277         "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
3278         "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
3279         "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
3280         "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
3281         "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
3282         "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
3283         "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
3284         "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
3285         "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
3286         "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
3287         "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
3288         "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
3289         "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
3290         "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
3291         "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
3292         "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
3293         "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
3294         "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
3295         "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
3296         "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
3297         .b_public =
3298         "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
3299         "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
3300         "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
3301         "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
3302         "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
3303         "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
3304         "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
3305         "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
3306         "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
3307         "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
3308         "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
3309         "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
3310         "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
3311         "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
3312         "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
3313         "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
3314         "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
3315         "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
3316         "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
3317         "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
3318         "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
3319         "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
3320         "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
3321         "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
3322         "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
3323         "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
3324         "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
3325         "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
3326         "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
3327         "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
3328         "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
3329         "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
3330         "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
3331         "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
3332         "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
3333         "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
3334         "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
3335         "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
3336         "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
3337         "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
3338         "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
3339         "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
3340         "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
3341         "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
3342         "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
3343         "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
3344         "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
3345         "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
3346         .secret_size = 16,
3347         .b_secret_size = 784,
3348         .b_public_size = 768,
3349         .expected_a_public_size = 768,
3350         .expected_ss_size = 768,
3351         .genkey = true,
3352         },
3353 };
3354
3355 static const struct kpp_testvec ffdhe8192_dh_tv_template[] __maybe_unused = {
3356         {
3357         .secret =
3358 #ifdef __LITTLE_ENDIAN
3359         "\x01\x00" /* type */
3360         "\x10\x04" /* len */
3361         "\x00\x04\x00\x00" /* key_size */
3362         "\x00\x00\x00\x00" /* p_size */
3363         "\x00\x00\x00\x00" /* g_size */
3364 #else
3365         "\x00\x01" /* type */
3366         "\x04\x10" /* len */
3367         "\x00\x00\x04\x00" /* key_size */
3368         "\x00\x00\x00\x00" /* p_size */
3369         "\x00\x00\x00\x00" /* g_size */
3370 #endif
3371         /* xa */
3372         "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
3373         "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
3374         "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
3375         "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
3376         "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
3377         "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
3378         "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
3379         "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
3380         "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
3381         "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
3382         "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
3383         "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
3384         "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
3385         "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
3386         "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
3387         "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
3388         "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
3389         "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
3390         "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
3391         "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
3392         "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
3393         "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
3394         "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
3395         "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
3396         "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
3397         "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
3398         "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
3399         "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
3400         "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
3401         "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
3402         "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
3403         "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
3404         "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
3405         "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
3406         "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
3407         "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
3408         "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
3409         "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
3410         "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
3411         "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
3412         "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
3413         "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
3414         "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
3415         "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
3416         "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
3417         "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
3418         "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
3419         "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
3420         "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
3421         "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
3422         "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
3423         "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
3424         "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
3425         "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
3426         "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
3427         "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
3428         "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
3429         "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
3430         "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
3431         "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
3432         "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
3433         "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
3434         "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
3435         "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
3436         .b_public =
3437         "\x26\xa8\x3a\x97\xe0\x52\x76\x07\x26\xa7\xbb\x21\xfd\xe5\x69\xde"
3438         "\xe6\xe0\xb5\xa0\xf1\xaa\x51\x2b\x56\x1c\x3c\x6c\xe5\x9f\x8f\x75"
3439         "\x71\x04\x86\xf6\x43\x2f\x20\x7f\x45\x4f\x5c\xb9\xf3\x90\xbe\xa9"
3440         "\xa0\xd7\xe8\x03\x0e\xfe\x99\x9b\x8a\x1c\xbe\xa7\x63\xe8\x2b\x45"
3441         "\xd4\x2c\x65\x25\x4c\x33\xda\xc5\x85\x77\x5d\x62\xea\x93\xe4\x45"
3442         "\x59\xff\xa1\xd2\xf1\x73\x11\xed\x02\x64\x8a\x1a\xfb\xe1\x88\xa6"
3443         "\x50\x6f\xff\x87\x12\xbb\xfc\x10\xcf\x19\x41\xb0\x35\x44\x7d\x51"
3444         "\xe9\xc0\x77\xf2\x73\x21\x2e\x62\xbf\x65\xa5\xd1\x3b\xb1\x3e\x19"
3445         "\x75\x4b\xb7\x8e\x03\xc3\xdf\xc8\xb2\xe6\xec\x2d\x7d\xa5\x6a\xba"
3446         "\x93\x47\x50\xeb\x6e\xdb\x88\x05\x45\xad\x03\x8c\xf7\x9a\xe1\xc9"
3447         "\x1e\x16\x96\x37\xa5\x3e\xe9\xb9\xa8\xdc\xb9\xa9\xf6\xa1\x3d\xed"
3448         "\xbe\x12\x29\x8a\x3d\x3d\x90\xfc\x94\xfe\x66\x28\x1c\x1b\xa4\x89"
3449         "\x47\x66\x4f\xac\x14\x00\x22\x2d\x5c\x03\xea\x71\x4d\x19\x7d\xd6"
3450         "\x58\x39\x4c\x3d\x06\x2b\x30\xa6\xdc\x2c\x8d\xd1\xde\x79\x77\xfa"
3451         "\x9c\x6b\x72\x11\x8a\x7f\x7d\x37\x28\x2a\x88\xbf\x0a\xdb\xac\x3b"
3452         "\xc5\xa5\xd5\x7e\x25\xec\xa6\x7f\x5b\x53\x75\x83\x49\xd4\x77\xcc"
3453         "\x7d\x7e\xd3\x3d\x30\x2c\x98\x3f\x18\x9a\x11\x8a\x37\xda\x99\x0f"
3454         "\x3b\x06\xe1\x87\xd5\xe9\x4e\xe0\x9c\x0e\x39\x34\xe2\xdd\xf6\x58"
3455         "\x60\x63\xa6\xea\xe8\xc0\xb4\xde\xdf\xa0\xbc\x21\xc3\x2d\xf4\xa4"
3456         "\xc8\x6f\x62\x6c\x0f\x71\x88\xf9\xda\x2d\x30\xd5\x95\xe1\xfc\x6d"
3457         "\x88\xc5\xc3\x95\x51\x83\xde\x41\x46\x6f\x7e\x1b\x10\x48\xad\x2b"
3458         "\x82\x88\xa2\x6f\x57\x4d\x4a\xbd\x90\xc8\x06\x8f\x52\x5d\x6e\xee"
3459         "\x09\xe6\xa3\xcb\x30\x9c\x14\xf6\xac\x66\x9b\x81\x0a\x75\x42\x6b"
3460         "\xab\x27\xec\x76\xfb\x8d\xc5\xbf\x0e\x93\x81\x7b\x81\xd4\x85\xa6"
3461         "\x90\x5a\xa6\xa2\x8b\xa9\xb7\x34\xe6\x15\x36\x93\x8b\xe2\x99\xc7"
3462         "\xad\x66\x7e\xd6\x89\xa9\xc8\x15\xcb\xc5\xeb\x06\x85\xd4\x2f\x6e"
3463         "\x9b\x95\x7a\x06\x6c\xfa\x31\x1d\xc4\xe5\x7d\xfb\x10\x35\x88\xc2"
3464         "\xbe\x1c\x16\x5d\xc2\xf4\x0d\xf3\xc9\x94\xb2\x7e\xa7\xbd\x9c\x03"
3465         "\x32\xaf\x8b\x1a\xc8\xcc\x82\xd8\x87\x96\x6e\x3d\xcc\x93\xd2\x43"
3466         "\x73\xf9\xde\xec\x49\x49\xf4\x56\x2a\xc8\x6e\x32\x70\x48\xf8\x70"
3467         "\xa3\x96\x31\xf4\xf2\x08\xc5\x12\xd2\xeb\xb6\xea\xa3\x07\x05\x61"
3468         "\x74\xa3\x04\x2f\x17\x82\x40\x5e\x4c\xd1\x51\xb8\x10\x5b\xc8\x9f"
3469         "\x87\x73\x80\x0d\x6f\xc6\xb9\xf6\x7c\x31\x0a\xcc\xd9\x03\x0f\x7a"
3470         "\x47\x69\xb1\x55\xab\xe9\xb5\x75\x62\x9e\x95\xbe\x7b\xa9\x53\x6e"
3471         "\x28\x73\xdc\xb3\xa4\x8a\x1c\x91\xf5\x8a\xf9\x32\x2b\xbd\xa5\xdc"
3472         "\x07\xb5\xaf\x49\xdb\x9c\x35\xc9\x69\xde\xac\xb1\xd0\x86\xcb\x31"
3473         "\x0b\xc4\x4f\x63\x4e\x70\xa7\x80\xe3\xbc\x0b\x73\x0e\xf2\x8c\x87"
3474         "\x88\x7b\xa9\x6d\xde\x8a\x73\x14\xb9\x80\x55\x03\x2b\x29\x64\x6a"
3475         "\xda\x48\x0e\x78\x07\x40\x48\x46\x58\xa9\x4e\x68\x1d\xd1\xc1\xc8"
3476         "\x3b\x35\x53\x61\xd5\xe3\x0d\x4c\x42\x74\x10\x67\x85\x9f\x66\x2a"
3477         "\xf7\x2b\x7b\x77\x8b\x6e\xda\x2c\xc1\x5a\x20\x34\x3f\xf5\x8b\x6f"
3478         "\xe4\x61\xf5\x58\xab\x72\x1a\xf1\x8d\x28\xcc\xa5\x30\x68\xb5\x50"
3479         "\x7b\x81\x43\x89\x8e\xa9\xac\x63\x3a\x4a\x78\x7b\xd2\x45\xe6\xe0"
3480         "\xdc\x5d\xf2\x1a\x2b\x54\x50\xa5\x9d\xf6\xe7\x9f\x25\xaf\x56\x6a"
3481         "\x84\x2a\x75\xa3\x9a\xc7\xfa\x94\xec\x83\xab\xa5\xaa\xe1\xf9\x89"
3482         "\x29\xa9\xf6\x53\x24\x24\xae\x4a\xe8\xbc\xe8\x9e\x5c\xd7\x54\x7c"
3483         "\x65\x20\x97\x28\x94\x76\xf9\x9e\x81\xcf\x98\x6a\x3a\x7b\xec\xf3"
3484         "\x09\x60\x2e\x43\x18\xb5\xf6\x8c\x44\x0f\xf2\x0a\x17\x5b\xac\x98"
3485         "\x30\xab\x6e\xd5\xb3\xef\x25\x68\x50\xb6\xe1\xc0\xe4\x5a\x63\x43"
3486         "\xea\xca\xda\x23\xc1\xc2\xe9\x30\xec\xb3\x9f\xbf\x1f\x09\x76\xaf"
3487         "\x65\xbc\xb5\xab\x30\xac\x0b\x05\xef\x5c\xa3\x65\x77\x33\x1c\xc5"
3488         "\xdf\xc9\x39\xab\xca\xf4\x3b\x88\x25\x6d\x50\x87\xb1\x79\xc2\x23"
3489         "\x9d\xb5\x21\x01\xaa\xa3\xb7\x61\xa3\x48\x91\x72\x3d\x54\x85\x86"
3490         "\x91\x81\x35\x78\xbf\x8f\x27\x57\xcb\x9b\x34\xab\x63\x40\xf1\xbc"
3491         "\x23\x5a\x26\x6a\xba\x57\xe2\x8f\x2a\xdc\x82\xe0\x3b\x7f\xec\xd3"
3492         "\xd8\x9d\xd3\x13\x54\x70\x64\xc3\xfd\xbf\xa3\x46\xa7\x53\x42\x7f"
3493         "\xc1\xbd\x7b\xb3\x13\x47\x2a\x45\x1e\x76\x2c\x0d\x6d\x46\x26\x24"
3494         "\xa8\xc7\x00\x2b\x10\x7f\x2a\x6c\xfc\x68\x4e\x6e\x85\x53\x00\xaf"
3495         "\xd5\xfb\x59\x64\xc7\x9b\x24\xd1\x05\xdc\x34\x53\x6d\x27\xa9\x79"
3496         "\xff\xd7\x5e\x7a\x40\x81\x8e\xc3\xf2\x38\xc9\x8d\x87\xb5\x38\xda"
3497         "\x43\x64\x1b\x59\x62\x88\xc1\x6e\x85\x84\x33\xcd\x6d\x7b\x62\x1d"
3498         "\x60\xf9\x98\xf7\xd1\xb1\xd4\xbe\x56\x6e\xa8\x6f\xff\xe7\x8b\x60"
3499         "\x53\x80\xc7\x7c\xe0\x78\x89\xa9\xab\x42\x8f\x8e\x4d\x92\xac\xa7"
3500         "\xfd\x47\x11\xc7\xdb\x7c\x77\xfb\xa4\x1d\x70\xaf\x56\x14\x52\xb0",
3501         .expected_a_public =
3502         "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
3503         "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
3504         "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
3505         "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
3506         "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
3507         "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
3508         "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
3509         "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
3510         "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
3511         "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
3512         "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
3513         "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
3514         "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
3515         "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
3516         "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
3517         "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
3518         "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
3519         "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
3520         "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
3521         "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
3522         "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
3523         "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
3524         "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
3525         "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
3526         "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
3527         "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
3528         "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
3529         "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
3530         "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
3531         "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
3532         "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
3533         "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
3534         "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
3535         "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
3536         "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
3537         "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
3538         "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
3539         "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
3540         "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
3541         "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
3542         "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
3543         "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
3544         "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
3545         "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
3546         "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
3547         "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
3548         "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
3549         "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
3550         "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
3551         "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
3552         "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
3553         "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
3554         "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
3555         "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
3556         "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
3557         "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
3558         "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
3559         "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
3560         "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
3561         "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
3562         "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
3563         "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
3564         "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
3565         "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
3566         .expected_ss =
3567         "\xf9\x55\x4f\x48\x38\x74\xb7\x46\xa3\xc4\x2e\x88\xf0\x34\xab\x1d"
3568         "\xcd\xa5\x58\xa7\x95\x88\x36\x62\x6f\x8a\xbd\xf2\xfb\x6f\x3e\xb9"
3569         "\x91\x65\x58\xef\x70\x2f\xd5\xc2\x97\x70\xcb\xce\x8b\x78\x1c\xe0"
3570         "\xb9\xfa\x77\x34\xd2\x4a\x19\x58\x11\xfd\x93\x84\x40\xc0\x8c\x19"
3571         "\x8b\x98\x50\x83\xba\xfb\xe2\xad\x8b\x81\x84\x63\x90\x41\x4b\xf8"
3572         "\xe8\x78\x86\x04\x09\x8d\x84\xd1\x43\xfd\xa3\x58\x21\x2a\x3b\xb1"
3573         "\xa2\x5b\x48\x74\x3c\xa9\x16\x34\x28\xf0\x8e\xde\xe2\xcf\x8e\x68"
3574         "\x53\xab\x65\x06\xb7\x86\xb1\x08\x4f\x73\x97\x00\x10\x95\xd1\x84"
3575         "\x72\xcf\x14\xdb\xff\xa7\x80\xd8\xe5\xf2\x2c\x89\x37\xb0\x81\x2c"
3576         "\xf5\xd6\x7d\x1b\xb0\xe2\x8e\x87\x32\x3d\x37\x6a\x79\xaa\xe7\x08"
3577         "\xc9\x67\x55\x5f\x1c\xae\xa6\xf5\xef\x79\x3a\xaf\x3f\x82\x14\xe2"
3578         "\xf3\x69\x91\xed\xb7\x9e\xc9\xde\xd0\x29\x70\xd9\xeb\x0f\xf5\xc7"
3579         "\xf6\x7c\xa7\x7f\xec\xed\xe1\xbd\x13\xe1\x43\xe4\x42\x30\xe3\x5f"
3580         "\xe0\xf3\x15\x55\x2f\x7a\x42\x17\x67\xcb\xc2\x4f\xd0\x85\xfc\x6c"
3581         "\xec\xe8\xfc\x25\x78\x4b\xe4\x0f\xd4\x3d\x78\x28\xd3\x53\x79\xcb"
3582         "\x2c\x82\x67\x9a\xdc\x32\x55\xd2\xda\xae\xd8\x61\xce\xd6\x59\x0b"
3583         "\xc5\x44\xeb\x08\x81\x8c\x65\xb2\xb7\xa6\xff\xf7\xbf\x99\xc6\x8a"
3584         "\xbe\xde\xc2\x17\x56\x05\x6e\xd2\xf1\x1e\xa2\x04\xeb\x02\x74\xaa"
3585         "\x04\xfc\xf0\x6b\xd4\xfc\xf0\x7a\x5f\xfe\xe2\x74\x7f\xeb\x9b\x6a"
3586         "\x8a\x09\x96\x5d\xe1\x91\xb6\x9e\x37\xd7\x63\xd7\xb3\x5c\xb5\xa3"
3587         "\x5f\x62\x00\xdf\xc5\xbf\x85\xba\xa7\xa9\xb6\x1f\x76\x78\x65\x01"
3588         "\xfe\x1d\x6c\xfe\x15\x9e\xf4\xb1\xbc\x8d\xad\x3c\xec\x69\x27\x57"
3589         "\xa4\x89\x77\x46\xe1\x49\xc7\x22\xde\x79\xe0\xf7\x3a\xa1\x59\x8b"
3590         "\x59\x71\xcc\xd6\x18\x24\xc1\x8a\x2f\xe3\xdf\xdd\x6c\xf7\x62\xaa"
3591         "\x15\xaa\x39\x37\x3b\xaf\x7d\x6e\x88\xeb\x19\xa8\xa0\x26\xd3\xaa"
3592         "\x2d\xcc\x5f\x56\x99\x86\xa9\xed\x4d\x02\x31\x40\x97\x70\x83\xa7"
3593         "\x08\x98\x7e\x49\x46\xd9\x75\xb5\x7a\x6a\x40\x69\xa0\x6d\xb2\x18"
3594         "\xc0\xad\x88\x05\x02\x95\x6f\xf7\x8f\xcb\xa2\xe4\x7b\xab\x4a\x0f"
3595         "\x9a\x1b\xef\xcc\xd1\x6a\x5d\x1e\x6a\x2a\x8b\x5b\x80\xbc\x5f\x38"
3596         "\xdd\xaf\xad\x44\x15\xb4\xaf\x26\x1c\x1a\x4d\xa7\x4b\xec\x88\x33"
3597         "\x24\x42\xb5\x0c\x9c\x56\xd4\xba\xa7\xb9\x65\xd5\x76\xb2\xbc\x16"
3598         "\x8e\xfa\x0c\x7a\xc0\xa2\x2c\x5a\x39\x56\x7d\xe6\xf8\xa9\xf4\x49"
3599         "\xd0\x50\xf2\x5e\x4b\x0a\x43\xe4\x9a\xbb\xea\x35\x28\x99\x84\x83"
3600         "\xec\xc1\xa0\x68\x15\x9a\x2b\x01\x04\x48\x09\x11\x1b\xb6\xa4\xd8"
3601         "\x03\xad\xb6\x4c\x9e\x1d\x90\xae\x88\x0f\x75\x95\x25\xa0\x27\x13"
3602         "\xb7\x4f\xe2\x3e\xd5\x59\x1a\x7c\xde\x95\x14\x28\xd1\xde\x84\xe4"
3603         "\x07\x7c\x5b\x06\xd6\xe6\x9c\x8a\xbe\xd2\xb4\x62\xd1\x67\x8a\x9c"
3604         "\xac\x4f\xfa\x70\xd6\xc8\xc0\xeb\x5e\xf6\x3e\xdc\x48\x8e\xce\x3f"
3605         "\x92\x3e\x60\x77\x63\x60\x6b\x76\x04\xa5\xba\xc9\xab\x92\x4e\x0d"
3606         "\xdc\xca\x82\x44\x5f\x3a\x42\xeb\x01\xe7\xe0\x33\xb3\x32\xaf\x4b"
3607         "\x81\x35\x2d\xb6\x57\x15\xfe\x52\xc7\x54\x2e\x41\x3b\x22\x6b\x12"
3608         "\x72\xdb\x5c\x66\xd0\xb6\xb4\xfe\x90\xc0\x20\x34\x95\xf9\xe4\xc7"
3609         "\x7e\x71\x89\x4f\x6f\xfb\x2a\xf3\xdf\x3f\xe3\xcf\x0e\x1a\xd9\xf2"
3610         "\xc1\x02\x67\x5d\xdc\xf1\x7d\xe8\xcf\x64\x77\x4d\x12\x03\x77\x2c"
3611         "\xfb\xe1\x59\xf7\x2c\x96\x9c\xaf\x46\x9c\xc7\x67\xcf\xee\x94\x50"
3612         "\xc7\xa1\x23\xe6\x9f\x4d\x73\x92\xad\xf9\x4a\xce\xdb\x44\xd5\xe3"
3613         "\x17\x05\x37\xdb\x9c\x6c\xc5\x7e\xb7\xd4\x11\x4a\x8c\x51\x03\xaa"
3614         "\x73\x4b\x16\xd9\x79\xf5\xf1\x67\x20\x9b\x25\xe5\x41\x52\x59\x06"
3615         "\x8b\xf2\x23\x2f\x6e\xea\xf3\x24\x0a\x94\xbb\xb8\x7e\xd9\x23\x4a"
3616         "\x9f\x1f\xe1\x13\xb5\xfe\x85\x2f\x4c\xbe\x6a\x66\x02\x1d\x90\xd2"
3617         "\x01\x25\x8a\xfd\x78\x3a\x28\xb8\x18\xc1\x38\x16\x21\x6b\xb4\xf9"
3618         "\x64\x0f\xf1\x73\xc4\x5c\xd1\x41\xf2\xfe\xe7\x26\xad\x79\x12\x75"
3619         "\x49\x48\xdb\x21\x71\x35\xf7\xb7\x46\x5a\xa1\x81\x25\x47\x31\xea"
3620         "\x1d\x76\xbb\x32\x5a\x90\xb0\x42\x1a\x47\xe8\x0c\x82\x92\x43\x1c"
3621         "\x0b\xdd\xe5\x25\xce\xd3\x06\xcc\x59\x5a\xc9\xa0\x01\xac\x29\x12"
3622         "\x31\x2e\x3d\x1a\xed\x3b\xf3\xa7\xef\x52\xc2\x0d\x18\x1f\x03\x28"
3623         "\xc9\x2b\x38\x61\xa4\x01\xc9\x3c\x11\x08\x14\xd4\xe5\x31\xe9\x3c"
3624         "\x1d\xad\xf8\x76\xc4\x84\x9f\xea\x16\x61\x3d\x6d\xa3\x32\x31\xcd"
3625         "\x1c\xca\xb8\x74\xc2\x45\xf3\x01\x9c\x7a\xaf\xfd\xe7\x1e\x5a\x18"
3626         "\xb1\x9d\xbb\x7a\x2d\x34\x40\x17\x49\xad\x1f\xeb\x2d\xa2\x26\xb8"
3627         "\x16\x28\x4b\x72\xdd\xd0\x8d\x85\x4c\xdd\xf8\x57\x48\xd5\x1d\xfb"
3628         "\xbd\xec\x11\x5d\x1e\x9c\x26\x81\xbf\xf1\x16\x12\x32\xc3\xf3\x07"
3629         "\x0e\x6e\x7f\x17\xec\xfb\xf4\x5d\xe2\xb1\xca\x97\xca\x46\x20\x2d"
3630         "\x09\x85\x19\x25\x89\xa8\x9b\x51\x74\xae\xc9\x1b\x4c\xb6\x80\x62",
3631         .secret_size = 1040,
3632         .b_public_size = 1024,
3633         .expected_a_public_size = 1024,
3634         .expected_ss_size = 1024,
3635         },
3636         {
3637         .secret =
3638 #ifdef __LITTLE_ENDIAN
3639         "\x01\x00" /* type */
3640         "\x10\x00" /* len */
3641         "\x00\x00\x00\x00" /* key_size */
3642         "\x00\x00\x00\x00" /* p_size */
3643         "\x00\x00\x00\x00", /* g_size */
3644 #else
3645         "\x00\x01" /* type */
3646         "\x00\x10" /* len */
3647         "\x00\x00\x00\x00" /* key_size */
3648         "\x00\x00\x00\x00" /* p_size */
3649         "\x00\x00\x00\x00", /* g_size */
3650 #endif
3651         .b_secret =
3652 #ifdef __LITTLE_ENDIAN
3653         "\x01\x00" /* type */
3654         "\x10\x04" /* len */
3655         "\x00\x04\x00\x00" /* key_size */
3656         "\x00\x00\x00\x00" /* p_size */
3657         "\x00\x00\x00\x00" /* g_size */
3658 #else
3659         "\x00\x01" /* type */
3660         "\x04\x10" /* len */
3661         "\x00\x00\x04\x00" /* key_size */
3662         "\x00\x00\x00\x00" /* p_size */
3663         "\x00\x00\x00\x00" /* g_size */
3664 #endif
3665         /* xa */
3666         "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
3667         "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
3668         "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
3669         "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
3670         "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
3671         "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
3672         "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
3673         "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
3674         "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
3675         "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
3676         "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
3677         "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
3678         "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
3679         "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
3680         "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
3681         "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
3682         "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
3683         "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
3684         "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
3685         "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
3686         "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
3687         "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
3688         "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
3689         "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
3690         "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
3691         "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
3692         "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
3693         "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
3694         "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
3695         "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
3696         "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
3697         "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
3698         "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
3699         "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
3700         "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
3701         "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
3702         "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
3703         "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
3704         "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
3705         "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
3706         "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
3707         "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
3708         "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
3709         "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
3710         "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
3711         "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
3712         "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
3713         "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
3714         "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
3715         "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
3716         "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
3717         "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
3718         "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
3719         "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
3720         "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
3721         "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
3722         "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
3723         "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
3724         "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
3725         "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
3726         "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
3727         "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
3728         "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
3729         "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
3730         .b_public =
3731         "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
3732         "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
3733         "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
3734         "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
3735         "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
3736         "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
3737         "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
3738         "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
3739         "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
3740         "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
3741         "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
3742         "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
3743         "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
3744         "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
3745         "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
3746         "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
3747         "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
3748         "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
3749         "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
3750         "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
3751         "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
3752         "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
3753         "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
3754         "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
3755         "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
3756         "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
3757         "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
3758         "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
3759         "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
3760         "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
3761         "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
3762         "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
3763         "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
3764         "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
3765         "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
3766         "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
3767         "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
3768         "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
3769         "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
3770         "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
3771         "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
3772         "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
3773         "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
3774         "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
3775         "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
3776         "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
3777         "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
3778         "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
3779         "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
3780         "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
3781         "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
3782         "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
3783         "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
3784         "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
3785         "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
3786         "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
3787         "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
3788         "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
3789         "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
3790         "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
3791         "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
3792         "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
3793         "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
3794         "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
3795         .secret_size = 16,
3796         .b_secret_size = 1040,
3797         .b_public_size = 1024,
3798         .expected_a_public_size = 1024,
3799         .expected_ss_size = 1024,
3800         .genkey = true,
3801         },
3802 };
3803
3804 static const struct kpp_testvec curve25519_tv_template[] = {
3805 {
3806         .secret = (u8[32]){ 0x77, 0x07, 0x6d, 0x0a, 0x73, 0x18, 0xa5, 0x7d,
3807                      0x3c, 0x16, 0xc1, 0x72, 0x51, 0xb2, 0x66, 0x45,
3808                      0xdf, 0x4c, 0x2f, 0x87, 0xeb, 0xc0, 0x99, 0x2a,
3809                      0xb1, 0x77, 0xfb, 0xa5, 0x1d, 0xb9, 0x2c, 0x2a },
3810         .b_public = (u8[32]){ 0xde, 0x9e, 0xdb, 0x7d, 0x7b, 0x7d, 0xc1, 0xb4,
3811                     0xd3, 0x5b, 0x61, 0xc2, 0xec, 0xe4, 0x35, 0x37,
3812                     0x3f, 0x83, 0x43, 0xc8, 0x5b, 0x78, 0x67, 0x4d,
3813                     0xad, 0xfc, 0x7e, 0x14, 0x6f, 0x88, 0x2b, 0x4f },
3814         .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
3815                     0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
3816                     0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
3817                     0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
3818         .secret_size = 32,
3819         .b_public_size = 32,
3820         .expected_ss_size = 32,
3821
3822 },
3823 {
3824         .secret = (u8[32]){ 0x5d, 0xab, 0x08, 0x7e, 0x62, 0x4a, 0x8a, 0x4b,
3825                      0x79, 0xe1, 0x7f, 0x8b, 0x83, 0x80, 0x0e, 0xe6,
3826                      0x6f, 0x3b, 0xb1, 0x29, 0x26, 0x18, 0xb6, 0xfd,
3827                      0x1c, 0x2f, 0x8b, 0x27, 0xff, 0x88, 0xe0, 0xeb },
3828         .b_public = (u8[32]){ 0x85, 0x20, 0xf0, 0x09, 0x89, 0x30, 0xa7, 0x54,
3829                     0x74, 0x8b, 0x7d, 0xdc, 0xb4, 0x3e, 0xf7, 0x5a,
3830                     0x0d, 0xbf, 0x3a, 0x0d, 0x26, 0x38, 0x1a, 0xf4,
3831                     0xeb, 0xa4, 0xa9, 0x8e, 0xaa, 0x9b, 0x4e, 0x6a },
3832         .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
3833                     0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
3834                     0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
3835                     0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
3836         .secret_size = 32,
3837         .b_public_size = 32,
3838         .expected_ss_size = 32,
3839
3840 },
3841 {
3842         .secret = (u8[32]){ 1 },
3843         .b_public = (u8[32]){ 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3844                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3845                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3846                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3847         .expected_ss = (u8[32]){ 0x3c, 0x77, 0x77, 0xca, 0xf9, 0x97, 0xb2, 0x64,
3848                     0x41, 0x60, 0x77, 0x66, 0x5b, 0x4e, 0x22, 0x9d,
3849                     0x0b, 0x95, 0x48, 0xdc, 0x0c, 0xd8, 0x19, 0x98,
3850                     0xdd, 0xcd, 0xc5, 0xc8, 0x53, 0x3c, 0x79, 0x7f },
3851         .secret_size = 32,
3852         .b_public_size = 32,
3853         .expected_ss_size = 32,
3854
3855 },
3856 {
3857         .secret = (u8[32]){ 1 },
3858         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3859                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3860                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3861                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3862         .expected_ss = (u8[32]){ 0xb3, 0x2d, 0x13, 0x62, 0xc2, 0x48, 0xd6, 0x2f,
3863                     0xe6, 0x26, 0x19, 0xcf, 0xf0, 0x4d, 0xd4, 0x3d,
3864                     0xb7, 0x3f, 0xfc, 0x1b, 0x63, 0x08, 0xed, 0xe3,
3865                     0x0b, 0x78, 0xd8, 0x73, 0x80, 0xf1, 0xe8, 0x34 },
3866         .secret_size = 32,
3867         .b_public_size = 32,
3868         .expected_ss_size = 32,
3869
3870 },
3871 {
3872         .secret = (u8[32]){ 0xa5, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
3873                      0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
3874                      0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
3875                      0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0xc4 },
3876         .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
3877                     0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
3878                     0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
3879                     0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
3880         .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
3881                     0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
3882                     0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
3883                     0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
3884         .secret_size = 32,
3885         .b_public_size = 32,
3886         .expected_ss_size = 32,
3887
3888 },
3889 {
3890         .secret = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x0a, 0xff, 0xff, 0xff,
3891                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3892                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3893                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3894         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3895                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3896                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3897                     0xff, 0xff, 0xff, 0xff, 0x0a, 0x00, 0xfb, 0x9f },
3898         .expected_ss = (u8[32]){ 0x77, 0x52, 0xb6, 0x18, 0xc1, 0x2d, 0x48, 0xd2,
3899                     0xc6, 0x93, 0x46, 0x83, 0x81, 0x7c, 0xc6, 0x57,
3900                     0xf3, 0x31, 0x03, 0x19, 0x49, 0x48, 0x20, 0x05,
3901                     0x42, 0x2b, 0x4e, 0xae, 0x8d, 0x1d, 0x43, 0x23 },
3902         .secret_size = 32,
3903         .b_public_size = 32,
3904         .expected_ss_size = 32,
3905
3906 },
3907 {
3908         .secret = (u8[32]){ 0x8e, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3909                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3910                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3911                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3912         .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3913                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3914                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3915                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x06 },
3916         .expected_ss = (u8[32]){ 0x5a, 0xdf, 0xaa, 0x25, 0x86, 0x8e, 0x32, 0x3d,
3917                     0xae, 0x49, 0x62, 0xc1, 0x01, 0x5c, 0xb3, 0x12,
3918                     0xe1, 0xc5, 0xc7, 0x9e, 0x95, 0x3f, 0x03, 0x99,
3919                     0xb0, 0xba, 0x16, 0x22, 0xf3, 0xb6, 0xf7, 0x0c },
3920         .secret_size = 32,
3921         .b_public_size = 32,
3922         .expected_ss_size = 32,
3923
3924 },
3925 /* wycheproof - normal case */
3926 {
3927         .secret = (u8[32]){ 0x48, 0x52, 0x83, 0x4d, 0x9d, 0x6b, 0x77, 0xda,
3928                      0xde, 0xab, 0xaa, 0xf2, 0xe1, 0x1d, 0xca, 0x66,
3929                      0xd1, 0x9f, 0xe7, 0x49, 0x93, 0xa7, 0xbe, 0xc3,
3930                      0x6c, 0x6e, 0x16, 0xa0, 0x98, 0x3f, 0xea, 0xba },
3931         .b_public = (u8[32]){ 0x9c, 0x64, 0x7d, 0x9a, 0xe5, 0x89, 0xb9, 0xf5,
3932                     0x8f, 0xdc, 0x3c, 0xa4, 0x94, 0x7e, 0xfb, 0xc9,
3933                     0x15, 0xc4, 0xb2, 0xe0, 0x8e, 0x74, 0x4a, 0x0e,
3934                     0xdf, 0x46, 0x9d, 0xac, 0x59, 0xc8, 0xf8, 0x5a },
3935         .expected_ss = (u8[32]){ 0x87, 0xb7, 0xf2, 0x12, 0xb6, 0x27, 0xf7, 0xa5,
3936                     0x4c, 0xa5, 0xe0, 0xbc, 0xda, 0xdd, 0xd5, 0x38,
3937                     0x9d, 0x9d, 0xe6, 0x15, 0x6c, 0xdb, 0xcf, 0x8e,
3938                     0xbe, 0x14, 0xff, 0xbc, 0xfb, 0x43, 0x65, 0x51 },
3939         .secret_size = 32,
3940         .b_public_size = 32,
3941         .expected_ss_size = 32,
3942
3943 },
3944 /* wycheproof - public key on twist */
3945 {
3946         .secret = (u8[32]){ 0x58, 0x8c, 0x06, 0x1a, 0x50, 0x80, 0x4a, 0xc4,
3947                      0x88, 0xad, 0x77, 0x4a, 0xc7, 0x16, 0xc3, 0xf5,
3948                      0xba, 0x71, 0x4b, 0x27, 0x12, 0xe0, 0x48, 0x49,
3949                      0x13, 0x79, 0xa5, 0x00, 0x21, 0x19, 0x98, 0xa8 },
3950         .b_public = (u8[32]){ 0x63, 0xaa, 0x40, 0xc6, 0xe3, 0x83, 0x46, 0xc5,
3951                     0xca, 0xf2, 0x3a, 0x6d, 0xf0, 0xa5, 0xe6, 0xc8,
3952                     0x08, 0x89, 0xa0, 0x86, 0x47, 0xe5, 0x51, 0xb3,
3953                     0x56, 0x34, 0x49, 0xbe, 0xfc, 0xfc, 0x97, 0x33 },
3954         .expected_ss = (u8[32]){ 0xb1, 0xa7, 0x07, 0x51, 0x94, 0x95, 0xff, 0xff,
3955                     0xb2, 0x98, 0xff, 0x94, 0x17, 0x16, 0xb0, 0x6d,
3956                     0xfa, 0xb8, 0x7c, 0xf8, 0xd9, 0x11, 0x23, 0xfe,
3957                     0x2b, 0xe9, 0xa2, 0x33, 0xdd, 0xa2, 0x22, 0x12 },
3958         .secret_size = 32,
3959         .b_public_size = 32,
3960         .expected_ss_size = 32,
3961
3962 },
3963 /* wycheproof - public key on twist */
3964 {
3965         .secret = (u8[32]){ 0xb0, 0x5b, 0xfd, 0x32, 0xe5, 0x53, 0x25, 0xd9,
3966                      0xfd, 0x64, 0x8c, 0xb3, 0x02, 0x84, 0x80, 0x39,
3967                      0x00, 0x0b, 0x39, 0x0e, 0x44, 0xd5, 0x21, 0xe5,
3968                      0x8a, 0xab, 0x3b, 0x29, 0xa6, 0x96, 0x0b, 0xa8 },
3969         .b_public = (u8[32]){ 0x0f, 0x83, 0xc3, 0x6f, 0xde, 0xd9, 0xd3, 0x2f,
3970                     0xad, 0xf4, 0xef, 0xa3, 0xae, 0x93, 0xa9, 0x0b,
3971                     0xb5, 0xcf, 0xa6, 0x68, 0x93, 0xbc, 0x41, 0x2c,
3972                     0x43, 0xfa, 0x72, 0x87, 0xdb, 0xb9, 0x97, 0x79 },
3973         .expected_ss = (u8[32]){ 0x67, 0xdd, 0x4a, 0x6e, 0x16, 0x55, 0x33, 0x53,
3974                     0x4c, 0x0e, 0x3f, 0x17, 0x2e, 0x4a, 0xb8, 0x57,
3975                     0x6b, 0xca, 0x92, 0x3a, 0x5f, 0x07, 0xb2, 0xc0,
3976                     0x69, 0xb4, 0xc3, 0x10, 0xff, 0x2e, 0x93, 0x5b },
3977         .secret_size = 32,
3978         .b_public_size = 32,
3979         .expected_ss_size = 32,
3980
3981 },
3982 /* wycheproof - public key on twist */
3983 {
3984         .secret = (u8[32]){ 0x70, 0xe3, 0x4b, 0xcb, 0xe1, 0xf4, 0x7f, 0xbc,
3985                      0x0f, 0xdd, 0xfd, 0x7c, 0x1e, 0x1a, 0xa5, 0x3d,
3986                      0x57, 0xbf, 0xe0, 0xf6, 0x6d, 0x24, 0x30, 0x67,
3987                      0xb4, 0x24, 0xbb, 0x62, 0x10, 0xbe, 0xd1, 0x9c },
3988         .b_public = (u8[32]){ 0x0b, 0x82, 0x11, 0xa2, 0xb6, 0x04, 0x90, 0x97,
3989                     0xf6, 0x87, 0x1c, 0x6c, 0x05, 0x2d, 0x3c, 0x5f,
3990                     0xc1, 0xba, 0x17, 0xda, 0x9e, 0x32, 0xae, 0x45,
3991                     0x84, 0x03, 0xb0, 0x5b, 0xb2, 0x83, 0x09, 0x2a },
3992         .expected_ss = (u8[32]){ 0x4a, 0x06, 0x38, 0xcf, 0xaa, 0x9e, 0xf1, 0x93,
3993                     0x3b, 0x47, 0xf8, 0x93, 0x92, 0x96, 0xa6, 0xb2,
3994                     0x5b, 0xe5, 0x41, 0xef, 0x7f, 0x70, 0xe8, 0x44,
3995                     0xc0, 0xbc, 0xc0, 0x0b, 0x13, 0x4d, 0xe6, 0x4a },
3996         .secret_size = 32,
3997         .b_public_size = 32,
3998         .expected_ss_size = 32,
3999
4000 },
4001 /* wycheproof - public key on twist */
4002 {
4003         .secret = (u8[32]){ 0x68, 0xc1, 0xf3, 0xa6, 0x53, 0xa4, 0xcd, 0xb1,
4004                      0xd3, 0x7b, 0xba, 0x94, 0x73, 0x8f, 0x8b, 0x95,
4005                      0x7a, 0x57, 0xbe, 0xb2, 0x4d, 0x64, 0x6e, 0x99,
4006                      0x4d, 0xc2, 0x9a, 0x27, 0x6a, 0xad, 0x45, 0x8d },
4007         .b_public = (u8[32]){ 0x34, 0x3a, 0xc2, 0x0a, 0x3b, 0x9c, 0x6a, 0x27,
4008                     0xb1, 0x00, 0x81, 0x76, 0x50, 0x9a, 0xd3, 0x07,
4009                     0x35, 0x85, 0x6e, 0xc1, 0xc8, 0xd8, 0xfc, 0xae,
4010                     0x13, 0x91, 0x2d, 0x08, 0xd1, 0x52, 0xf4, 0x6c },
4011         .expected_ss = (u8[32]){ 0x39, 0x94, 0x91, 0xfc, 0xe8, 0xdf, 0xab, 0x73,
4012                     0xb4, 0xf9, 0xf6, 0x11, 0xde, 0x8e, 0xa0, 0xb2,
4013                     0x7b, 0x28, 0xf8, 0x59, 0x94, 0x25, 0x0b, 0x0f,
4014                     0x47, 0x5d, 0x58, 0x5d, 0x04, 0x2a, 0xc2, 0x07 },
4015         .secret_size = 32,
4016         .b_public_size = 32,
4017         .expected_ss_size = 32,
4018
4019 },
4020 /* wycheproof - public key on twist */
4021 {
4022         .secret = (u8[32]){ 0xd8, 0x77, 0xb2, 0x6d, 0x06, 0xdf, 0xf9, 0xd9,
4023                      0xf7, 0xfd, 0x4c, 0x5b, 0x37, 0x69, 0xf8, 0xcd,
4024                      0xd5, 0xb3, 0x05, 0x16, 0xa5, 0xab, 0x80, 0x6b,
4025                      0xe3, 0x24, 0xff, 0x3e, 0xb6, 0x9e, 0xa0, 0xb2 },
4026         .b_public = (u8[32]){ 0xfa, 0x69, 0x5f, 0xc7, 0xbe, 0x8d, 0x1b, 0xe5,
4027                     0xbf, 0x70, 0x48, 0x98, 0xf3, 0x88, 0xc4, 0x52,
4028                     0xba, 0xfd, 0xd3, 0xb8, 0xea, 0xe8, 0x05, 0xf8,
4029                     0x68, 0x1a, 0x8d, 0x15, 0xc2, 0xd4, 0xe1, 0x42 },
4030         .expected_ss = (u8[32]){ 0x2c, 0x4f, 0xe1, 0x1d, 0x49, 0x0a, 0x53, 0x86,
4031                     0x17, 0x76, 0xb1, 0x3b, 0x43, 0x54, 0xab, 0xd4,
4032                     0xcf, 0x5a, 0x97, 0x69, 0x9d, 0xb6, 0xe6, 0xc6,
4033                     0x8c, 0x16, 0x26, 0xd0, 0x76, 0x62, 0xf7, 0x58 },
4034         .secret_size = 32,
4035         .b_public_size = 32,
4036         .expected_ss_size = 32,
4037
4038 },
4039 /* wycheproof - edge case on twist */
4040 {
4041         .secret = (u8[32]){ 0x38, 0xdd, 0xe9, 0xf3, 0xe7, 0xb7, 0x99, 0x04,
4042                      0x5f, 0x9a, 0xc3, 0x79, 0x3d, 0x4a, 0x92, 0x77,
4043                      0xda, 0xde, 0xad, 0xc4, 0x1b, 0xec, 0x02, 0x90,
4044                      0xf8, 0x1f, 0x74, 0x4f, 0x73, 0x77, 0x5f, 0x84 },
4045         .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4046                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4047                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4048                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
4049         .expected_ss = (u8[32]){ 0x9a, 0x2c, 0xfe, 0x84, 0xff, 0x9c, 0x4a, 0x97,
4050                     0x39, 0x62, 0x5c, 0xae, 0x4a, 0x3b, 0x82, 0xa9,
4051                     0x06, 0x87, 0x7a, 0x44, 0x19, 0x46, 0xf8, 0xd7,
4052                     0xb3, 0xd7, 0x95, 0xfe, 0x8f, 0x5d, 0x16, 0x39 },
4053         .secret_size = 32,
4054         .b_public_size = 32,
4055         .expected_ss_size = 32,
4056
4057 },
4058 /* wycheproof - edge case on twist */
4059 {
4060         .secret = (u8[32]){ 0x98, 0x57, 0xa9, 0x14, 0xe3, 0xc2, 0x90, 0x36,
4061                      0xfd, 0x9a, 0x44, 0x2b, 0xa5, 0x26, 0xb5, 0xcd,
4062                      0xcd, 0xf2, 0x82, 0x16, 0x15, 0x3e, 0x63, 0x6c,
4063                      0x10, 0x67, 0x7a, 0xca, 0xb6, 0xbd, 0x6a, 0xa5 },
4064         .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4065                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4066                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4067                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
4068         .expected_ss = (u8[32]){ 0x4d, 0xa4, 0xe0, 0xaa, 0x07, 0x2c, 0x23, 0x2e,
4069                     0xe2, 0xf0, 0xfa, 0x4e, 0x51, 0x9a, 0xe5, 0x0b,
4070                     0x52, 0xc1, 0xed, 0xd0, 0x8a, 0x53, 0x4d, 0x4e,
4071                     0xf3, 0x46, 0xc2, 0xe1, 0x06, 0xd2, 0x1d, 0x60 },
4072         .secret_size = 32,
4073         .b_public_size = 32,
4074         .expected_ss_size = 32,
4075
4076 },
4077 /* wycheproof - edge case on twist */
4078 {
4079         .secret = (u8[32]){ 0x48, 0xe2, 0x13, 0x0d, 0x72, 0x33, 0x05, 0xed,
4080                      0x05, 0xe6, 0xe5, 0x89, 0x4d, 0x39, 0x8a, 0x5e,
4081                      0x33, 0x36, 0x7a, 0x8c, 0x6a, 0xac, 0x8f, 0xcd,
4082                      0xf0, 0xa8, 0x8e, 0x4b, 0x42, 0x82, 0x0d, 0xb7 },
4083         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0x03, 0x00, 0x00, 0xf8, 0xff,
4084                     0xff, 0x1f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0xff,
4085                     0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x07, 0x00,
4086                     0x00, 0xf0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00 },
4087         .expected_ss = (u8[32]){ 0x9e, 0xd1, 0x0c, 0x53, 0x74, 0x7f, 0x64, 0x7f,
4088                     0x82, 0xf4, 0x51, 0x25, 0xd3, 0xde, 0x15, 0xa1,
4089                     0xe6, 0xb8, 0x24, 0x49, 0x6a, 0xb4, 0x04, 0x10,
4090                     0xff, 0xcc, 0x3c, 0xfe, 0x95, 0x76, 0x0f, 0x3b },
4091         .secret_size = 32,
4092         .b_public_size = 32,
4093         .expected_ss_size = 32,
4094
4095 },
4096 /* wycheproof - edge case on twist */
4097 {
4098         .secret = (u8[32]){ 0x28, 0xf4, 0x10, 0x11, 0x69, 0x18, 0x51, 0xb3,
4099                      0xa6, 0x2b, 0x64, 0x15, 0x53, 0xb3, 0x0d, 0x0d,
4100                      0xfd, 0xdc, 0xb8, 0xff, 0xfc, 0xf5, 0x37, 0x00,
4101                      0xa7, 0xbe, 0x2f, 0x6a, 0x87, 0x2e, 0x9f, 0xb0 },
4102         .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0xfc, 0xff, 0xff, 0x07, 0x00,
4103                     0x00, 0xe0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00,
4104                     0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0xf8, 0xff,
4105                     0xff, 0x0f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x7f },
4106         .expected_ss = (u8[32]){ 0xcf, 0x72, 0xb4, 0xaa, 0x6a, 0xa1, 0xc9, 0xf8,
4107                     0x94, 0xf4, 0x16, 0x5b, 0x86, 0x10, 0x9a, 0xa4,
4108                     0x68, 0x51, 0x76, 0x48, 0xe1, 0xf0, 0xcc, 0x70,
4109                     0xe1, 0xab, 0x08, 0x46, 0x01, 0x76, 0x50, 0x6b },
4110         .secret_size = 32,
4111         .b_public_size = 32,
4112         .expected_ss_size = 32,
4113
4114 },
4115 /* wycheproof - edge case on twist */
4116 {
4117         .secret = (u8[32]){ 0x18, 0xa9, 0x3b, 0x64, 0x99, 0xb9, 0xf6, 0xb3,
4118                      0x22, 0x5c, 0xa0, 0x2f, 0xef, 0x41, 0x0e, 0x0a,
4119                      0xde, 0xc2, 0x35, 0x32, 0x32, 0x1d, 0x2d, 0x8e,
4120                      0xf1, 0xa6, 0xd6, 0x02, 0xa8, 0xc6, 0x5b, 0x83 },
4121         .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
4122                     0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
4123                     0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
4124                     0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x7f },
4125         .expected_ss = (u8[32]){ 0x5d, 0x50, 0xb6, 0x28, 0x36, 0xbb, 0x69, 0x57,
4126                     0x94, 0x10, 0x38, 0x6c, 0xf7, 0xbb, 0x81, 0x1c,
4127                     0x14, 0xbf, 0x85, 0xb1, 0xc7, 0xb1, 0x7e, 0x59,
4128                     0x24, 0xc7, 0xff, 0xea, 0x91, 0xef, 0x9e, 0x12 },
4129         .secret_size = 32,
4130         .b_public_size = 32,
4131         .expected_ss_size = 32,
4132
4133 },
4134 /* wycheproof - edge case on twist */
4135 {
4136         .secret = (u8[32]){ 0xc0, 0x1d, 0x13, 0x05, 0xa1, 0x33, 0x8a, 0x1f,
4137                      0xca, 0xc2, 0xba, 0x7e, 0x2e, 0x03, 0x2b, 0x42,
4138                      0x7e, 0x0b, 0x04, 0x90, 0x31, 0x65, 0xac, 0xa9,
4139                      0x57, 0xd8, 0xd0, 0x55, 0x3d, 0x87, 0x17, 0xb0 },
4140         .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4141                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4142                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4143                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
4144         .expected_ss = (u8[32]){ 0x19, 0x23, 0x0e, 0xb1, 0x48, 0xd5, 0xd6, 0x7c,
4145                     0x3c, 0x22, 0xab, 0x1d, 0xae, 0xff, 0x80, 0xa5,
4146                     0x7e, 0xae, 0x42, 0x65, 0xce, 0x28, 0x72, 0x65,
4147                     0x7b, 0x2c, 0x80, 0x99, 0xfc, 0x69, 0x8e, 0x50 },
4148         .secret_size = 32,
4149         .b_public_size = 32,
4150         .expected_ss_size = 32,
4151
4152 },
4153 /* wycheproof - edge case for public key */
4154 {
4155         .secret = (u8[32]){ 0x38, 0x6f, 0x7f, 0x16, 0xc5, 0x07, 0x31, 0xd6,
4156                      0x4f, 0x82, 0xe6, 0xa1, 0x70, 0xb1, 0x42, 0xa4,
4157                      0xe3, 0x4f, 0x31, 0xfd, 0x77, 0x68, 0xfc, 0xb8,
4158                      0x90, 0x29, 0x25, 0xe7, 0xd1, 0xe2, 0x1a, 0xbe },
4159         .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4160                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4161                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4162                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
4163         .expected_ss = (u8[32]){ 0x0f, 0xca, 0xb5, 0xd8, 0x42, 0xa0, 0x78, 0xd7,
4164                     0xa7, 0x1f, 0xc5, 0x9b, 0x57, 0xbf, 0xb4, 0xca,
4165                     0x0b, 0xe6, 0x87, 0x3b, 0x49, 0xdc, 0xdb, 0x9f,
4166                     0x44, 0xe1, 0x4a, 0xe8, 0xfb, 0xdf, 0xa5, 0x42 },
4167         .secret_size = 32,
4168         .b_public_size = 32,
4169         .expected_ss_size = 32,
4170
4171 },
4172 /* wycheproof - edge case for public key */
4173 {
4174         .secret = (u8[32]){ 0xe0, 0x23, 0xa2, 0x89, 0xbd, 0x5e, 0x90, 0xfa,
4175                      0x28, 0x04, 0xdd, 0xc0, 0x19, 0xa0, 0x5e, 0xf3,
4176                      0xe7, 0x9d, 0x43, 0x4b, 0xb6, 0xea, 0x2f, 0x52,
4177                      0x2e, 0xcb, 0x64, 0x3a, 0x75, 0x29, 0x6e, 0x95 },
4178         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
4179                     0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
4180                     0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
4181                     0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 },
4182         .expected_ss = (u8[32]){ 0x54, 0xce, 0x8f, 0x22, 0x75, 0xc0, 0x77, 0xe3,
4183                     0xb1, 0x30, 0x6a, 0x39, 0x39, 0xc5, 0xe0, 0x3e,
4184                     0xef, 0x6b, 0xbb, 0x88, 0x06, 0x05, 0x44, 0x75,
4185                     0x8d, 0x9f, 0xef, 0x59, 0xb0, 0xbc, 0x3e, 0x4f },
4186         .secret_size = 32,
4187         .b_public_size = 32,
4188         .expected_ss_size = 32,
4189
4190 },
4191 /* wycheproof - edge case for public key */
4192 {
4193         .secret = (u8[32]){ 0x68, 0xf0, 0x10, 0xd6, 0x2e, 0xe8, 0xd9, 0x26,
4194                      0x05, 0x3a, 0x36, 0x1c, 0x3a, 0x75, 0xc6, 0xea,
4195                      0x4e, 0xbd, 0xc8, 0x60, 0x6a, 0xb2, 0x85, 0x00,
4196                      0x3a, 0x6f, 0x8f, 0x40, 0x76, 0xb0, 0x1e, 0x83 },
4197         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4198                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4199                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4200                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
4201         .expected_ss = (u8[32]){ 0xf1, 0x36, 0x77, 0x5c, 0x5b, 0xeb, 0x0a, 0xf8,
4202                     0x11, 0x0a, 0xf1, 0x0b, 0x20, 0x37, 0x23, 0x32,
4203                     0x04, 0x3c, 0xab, 0x75, 0x24, 0x19, 0x67, 0x87,
4204                     0x75, 0xa2, 0x23, 0xdf, 0x57, 0xc9, 0xd3, 0x0d },
4205         .secret_size = 32,
4206         .b_public_size = 32,
4207         .expected_ss_size = 32,
4208
4209 },
4210 /* wycheproof - edge case for public key */
4211 {
4212         .secret = (u8[32]){ 0x58, 0xeb, 0xcb, 0x35, 0xb0, 0xf8, 0x84, 0x5c,
4213                      0xaf, 0x1e, 0xc6, 0x30, 0xf9, 0x65, 0x76, 0xb6,
4214                      0x2c, 0x4b, 0x7b, 0x6c, 0x36, 0xb2, 0x9d, 0xeb,
4215                      0x2c, 0xb0, 0x08, 0x46, 0x51, 0x75, 0x5c, 0x96 },
4216         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xfb, 0xff,
4217                     0xff, 0xdf, 0xff, 0xff, 0xdf, 0xff, 0xff, 0xff,
4218                     0xfe, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xf7, 0xff,
4219                     0xff, 0xf7, 0xff, 0xff, 0xbf, 0xff, 0xff, 0x3f },
4220         .expected_ss = (u8[32]){ 0xbf, 0x9a, 0xff, 0xd0, 0x6b, 0x84, 0x40, 0x85,
4221                     0x58, 0x64, 0x60, 0x96, 0x2e, 0xf2, 0x14, 0x6f,
4222                     0xf3, 0xd4, 0x53, 0x3d, 0x94, 0x44, 0xaa, 0xb0,
4223                     0x06, 0xeb, 0x88, 0xcc, 0x30, 0x54, 0x40, 0x7d },
4224         .secret_size = 32,
4225         .b_public_size = 32,
4226         .expected_ss_size = 32,
4227
4228 },
4229 /* wycheproof - edge case for public key */
4230 {
4231         .secret = (u8[32]){ 0x18, 0x8c, 0x4b, 0xc5, 0xb9, 0xc4, 0x4b, 0x38,
4232                      0xbb, 0x65, 0x8b, 0x9b, 0x2a, 0xe8, 0x2d, 0x5b,
4233                      0x01, 0x01, 0x5e, 0x09, 0x31, 0x84, 0xb1, 0x7c,
4234                      0xb7, 0x86, 0x35, 0x03, 0xa7, 0x83, 0xe1, 0xbb },
4235         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4236                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4237                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4238                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
4239         .expected_ss = (u8[32]){ 0xd4, 0x80, 0xde, 0x04, 0xf6, 0x99, 0xcb, 0x3b,
4240                     0xe0, 0x68, 0x4a, 0x9c, 0xc2, 0xe3, 0x12, 0x81,
4241                     0xea, 0x0b, 0xc5, 0xa9, 0xdc, 0xc1, 0x57, 0xd3,
4242                     0xd2, 0x01, 0x58, 0xd4, 0x6c, 0xa5, 0x24, 0x6d },
4243         .secret_size = 32,
4244         .b_public_size = 32,
4245         .expected_ss_size = 32,
4246
4247 },
4248 /* wycheproof - edge case for public key */
4249 {
4250         .secret = (u8[32]){ 0xe0, 0x6c, 0x11, 0xbb, 0x2e, 0x13, 0xce, 0x3d,
4251                      0xc7, 0x67, 0x3f, 0x67, 0xf5, 0x48, 0x22, 0x42,
4252                      0x90, 0x94, 0x23, 0xa9, 0xae, 0x95, 0xee, 0x98,
4253                      0x6a, 0x98, 0x8d, 0x98, 0xfa, 0xee, 0x23, 0xa2 },
4254         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
4255                     0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
4256                     0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
4257                     0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f },
4258         .expected_ss = (u8[32]){ 0x4c, 0x44, 0x01, 0xcc, 0xe6, 0xb5, 0x1e, 0x4c,
4259                     0xb1, 0x8f, 0x27, 0x90, 0x24, 0x6c, 0x9b, 0xf9,
4260                     0x14, 0xdb, 0x66, 0x77, 0x50, 0xa1, 0xcb, 0x89,
4261                     0x06, 0x90, 0x92, 0xaf, 0x07, 0x29, 0x22, 0x76 },
4262         .secret_size = 32,
4263         .b_public_size = 32,
4264         .expected_ss_size = 32,
4265
4266 },
4267 /* wycheproof - edge case for public key */
4268 {
4269         .secret = (u8[32]){ 0xc0, 0x65, 0x8c, 0x46, 0xdd, 0xe1, 0x81, 0x29,
4270                      0x29, 0x38, 0x77, 0x53, 0x5b, 0x11, 0x62, 0xb6,
4271                      0xf9, 0xf5, 0x41, 0x4a, 0x23, 0xcf, 0x4d, 0x2c,
4272                      0xbc, 0x14, 0x0a, 0x4d, 0x99, 0xda, 0x2b, 0x8f },
4273         .b_public = (u8[32]){ 0xeb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4274                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4275                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4276                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
4277         .expected_ss = (u8[32]){ 0x57, 0x8b, 0xa8, 0xcc, 0x2d, 0xbd, 0xc5, 0x75,
4278                     0xaf, 0xcf, 0x9d, 0xf2, 0xb3, 0xee, 0x61, 0x89,
4279                     0xf5, 0x33, 0x7d, 0x68, 0x54, 0xc7, 0x9b, 0x4c,
4280                     0xe1, 0x65, 0xea, 0x12, 0x29, 0x3b, 0x3a, 0x0f },
4281         .secret_size = 32,
4282         .b_public_size = 32,
4283         .expected_ss_size = 32,
4284
4285 },
4286 /* wycheproof - public key >= p */
4287 {
4288         .secret = (u8[32]){ 0xf0, 0x1e, 0x48, 0xda, 0xfa, 0xc9, 0xd7, 0xbc,
4289                      0xf5, 0x89, 0xcb, 0xc3, 0x82, 0xc8, 0x78, 0xd1,
4290                      0x8b, 0xda, 0x35, 0x50, 0x58, 0x9f, 0xfb, 0x5d,
4291                      0x50, 0xb5, 0x23, 0xbe, 0xbe, 0x32, 0x9d, 0xae },
4292         .b_public = (u8[32]){ 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4293                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4294                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4295                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
4296         .expected_ss = (u8[32]){ 0xbd, 0x36, 0xa0, 0x79, 0x0e, 0xb8, 0x83, 0x09,
4297                     0x8c, 0x98, 0x8b, 0x21, 0x78, 0x67, 0x73, 0xde,
4298                     0x0b, 0x3a, 0x4d, 0xf1, 0x62, 0x28, 0x2c, 0xf1,
4299                     0x10, 0xde, 0x18, 0xdd, 0x48, 0x4c, 0xe7, 0x4b },
4300         .secret_size = 32,
4301         .b_public_size = 32,
4302         .expected_ss_size = 32,
4303
4304 },
4305 /* wycheproof - public key >= p */
4306 {
4307         .secret = (u8[32]){ 0x28, 0x87, 0x96, 0xbc, 0x5a, 0xff, 0x4b, 0x81,
4308                      0xa3, 0x75, 0x01, 0x75, 0x7b, 0xc0, 0x75, 0x3a,
4309                      0x3c, 0x21, 0x96, 0x47, 0x90, 0xd3, 0x86, 0x99,
4310                      0x30, 0x8d, 0xeb, 0xc1, 0x7a, 0x6e, 0xaf, 0x8d },
4311         .b_public = (u8[32]){ 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4312                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4313                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4314                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
4315         .expected_ss = (u8[32]){ 0xb4, 0xe0, 0xdd, 0x76, 0xda, 0x7b, 0x07, 0x17,
4316                     0x28, 0xb6, 0x1f, 0x85, 0x67, 0x71, 0xaa, 0x35,
4317                     0x6e, 0x57, 0xed, 0xa7, 0x8a, 0x5b, 0x16, 0x55,
4318                     0xcc, 0x38, 0x20, 0xfb, 0x5f, 0x85, 0x4c, 0x5c },
4319         .secret_size = 32,
4320         .b_public_size = 32,
4321         .expected_ss_size = 32,
4322
4323 },
4324 /* wycheproof - public key >= p */
4325 {
4326         .secret = (u8[32]){ 0x98, 0xdf, 0x84, 0x5f, 0x66, 0x51, 0xbf, 0x11,
4327                      0x38, 0x22, 0x1f, 0x11, 0x90, 0x41, 0xf7, 0x2b,
4328                      0x6d, 0xbc, 0x3c, 0x4a, 0xce, 0x71, 0x43, 0xd9,
4329                      0x9f, 0xd5, 0x5a, 0xd8, 0x67, 0x48, 0x0d, 0xa8 },
4330         .b_public = (u8[32]){ 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4331                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4332                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4333                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
4334         .expected_ss = (u8[32]){ 0x6f, 0xdf, 0x6c, 0x37, 0x61, 0x1d, 0xbd, 0x53,
4335                     0x04, 0xdc, 0x0f, 0x2e, 0xb7, 0xc9, 0x51, 0x7e,
4336                     0xb3, 0xc5, 0x0e, 0x12, 0xfd, 0x05, 0x0a, 0xc6,
4337                     0xde, 0xc2, 0x70, 0x71, 0xd4, 0xbf, 0xc0, 0x34 },
4338         .secret_size = 32,
4339         .b_public_size = 32,
4340         .expected_ss_size = 32,
4341
4342 },
4343 /* wycheproof - public key >= p */
4344 {
4345         .secret = (u8[32]){ 0xf0, 0x94, 0x98, 0xe4, 0x6f, 0x02, 0xf8, 0x78,
4346                      0x82, 0x9e, 0x78, 0xb8, 0x03, 0xd3, 0x16, 0xa2,
4347                      0xed, 0x69, 0x5d, 0x04, 0x98, 0xa0, 0x8a, 0xbd,
4348                      0xf8, 0x27, 0x69, 0x30, 0xe2, 0x4e, 0xdc, 0xb0 },
4349         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4350                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4351                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4352                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
4353         .expected_ss = (u8[32]){ 0x4c, 0x8f, 0xc4, 0xb1, 0xc6, 0xab, 0x88, 0xfb,
4354                     0x21, 0xf1, 0x8f, 0x6d, 0x4c, 0x81, 0x02, 0x40,
4355                     0xd4, 0xe9, 0x46, 0x51, 0xba, 0x44, 0xf7, 0xa2,
4356                     0xc8, 0x63, 0xce, 0xc7, 0xdc, 0x56, 0x60, 0x2d },
4357         .secret_size = 32,
4358         .b_public_size = 32,
4359         .expected_ss_size = 32,
4360
4361 },
4362 /* wycheproof - public key >= p */
4363 {
4364         .secret = (u8[32]){ 0x18, 0x13, 0xc1, 0x0a, 0x5c, 0x7f, 0x21, 0xf9,
4365                      0x6e, 0x17, 0xf2, 0x88, 0xc0, 0xcc, 0x37, 0x60,
4366                      0x7c, 0x04, 0xc5, 0xf5, 0xae, 0xa2, 0xdb, 0x13,
4367                      0x4f, 0x9e, 0x2f, 0xfc, 0x66, 0xbd, 0x9d, 0xb8 },
4368         .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4369                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4370                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4371                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
4372         .expected_ss = (u8[32]){ 0x1c, 0xd0, 0xb2, 0x82, 0x67, 0xdc, 0x54, 0x1c,
4373                     0x64, 0x2d, 0x6d, 0x7d, 0xca, 0x44, 0xa8, 0xb3,
4374                     0x8a, 0x63, 0x73, 0x6e, 0xef, 0x5c, 0x4e, 0x65,
4375                     0x01, 0xff, 0xbb, 0xb1, 0x78, 0x0c, 0x03, 0x3c },
4376         .secret_size = 32,
4377         .b_public_size = 32,
4378         .expected_ss_size = 32,
4379
4380 },
4381 /* wycheproof - public key >= p */
4382 {
4383         .secret = (u8[32]){ 0x78, 0x57, 0xfb, 0x80, 0x86, 0x53, 0x64, 0x5a,
4384                      0x0b, 0xeb, 0x13, 0x8a, 0x64, 0xf5, 0xf4, 0xd7,
4385                      0x33, 0xa4, 0x5e, 0xa8, 0x4c, 0x3c, 0xda, 0x11,
4386                      0xa9, 0xc0, 0x6f, 0x7e, 0x71, 0x39, 0x14, 0x9e },
4387         .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4388                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4389                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4390                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
4391         .expected_ss = (u8[32]){ 0x87, 0x55, 0xbe, 0x01, 0xc6, 0x0a, 0x7e, 0x82,
4392                     0x5c, 0xff, 0x3e, 0x0e, 0x78, 0xcb, 0x3a, 0xa4,
4393                     0x33, 0x38, 0x61, 0x51, 0x6a, 0xa5, 0x9b, 0x1c,
4394                     0x51, 0xa8, 0xb2, 0xa5, 0x43, 0xdf, 0xa8, 0x22 },
4395         .secret_size = 32,
4396         .b_public_size = 32,
4397         .expected_ss_size = 32,
4398
4399 },
4400 /* wycheproof - public key >= p */
4401 {
4402         .secret = (u8[32]){ 0xe0, 0x3a, 0xa8, 0x42, 0xe2, 0xab, 0xc5, 0x6e,
4403                      0x81, 0xe8, 0x7b, 0x8b, 0x9f, 0x41, 0x7b, 0x2a,
4404                      0x1e, 0x59, 0x13, 0xc7, 0x23, 0xee, 0xd2, 0x8d,
4405                      0x75, 0x2f, 0x8d, 0x47, 0xa5, 0x9f, 0x49, 0x8f },
4406         .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4407                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4408                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4409                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
4410         .expected_ss = (u8[32]){ 0x54, 0xc9, 0xa1, 0xed, 0x95, 0xe5, 0x46, 0xd2,
4411                     0x78, 0x22, 0xa3, 0x60, 0x93, 0x1d, 0xda, 0x60,
4412                     0xa1, 0xdf, 0x04, 0x9d, 0xa6, 0xf9, 0x04, 0x25,
4413                     0x3c, 0x06, 0x12, 0xbb, 0xdc, 0x08, 0x74, 0x76 },
4414         .secret_size = 32,
4415         .b_public_size = 32,
4416         .expected_ss_size = 32,
4417
4418 },
4419 /* wycheproof - public key >= p */
4420 {
4421         .secret = (u8[32]){ 0xf8, 0xf7, 0x07, 0xb7, 0x99, 0x9b, 0x18, 0xcb,
4422                      0x0d, 0x6b, 0x96, 0x12, 0x4f, 0x20, 0x45, 0x97,
4423                      0x2c, 0xa2, 0x74, 0xbf, 0xc1, 0x54, 0xad, 0x0c,
4424                      0x87, 0x03, 0x8c, 0x24, 0xc6, 0xd0, 0xd4, 0xb2 },
4425         .b_public = (u8[32]){ 0xda, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4426                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4427                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4428                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
4429         .expected_ss = (u8[32]){ 0xcc, 0x1f, 0x40, 0xd7, 0x43, 0xcd, 0xc2, 0x23,
4430                     0x0e, 0x10, 0x43, 0xda, 0xba, 0x8b, 0x75, 0xe8,
4431                     0x10, 0xf1, 0xfb, 0xab, 0x7f, 0x25, 0x52, 0x69,
4432                     0xbd, 0x9e, 0xbb, 0x29, 0xe6, 0xbf, 0x49, 0x4f },
4433         .secret_size = 32,
4434         .b_public_size = 32,
4435         .expected_ss_size = 32,
4436
4437 },
4438 /* wycheproof - public key >= p */
4439 {
4440         .secret = (u8[32]){ 0xa0, 0x34, 0xf6, 0x84, 0xfa, 0x63, 0x1e, 0x1a,
4441                      0x34, 0x81, 0x18, 0xc1, 0xce, 0x4c, 0x98, 0x23,
4442                      0x1f, 0x2d, 0x9e, 0xec, 0x9b, 0xa5, 0x36, 0x5b,
4443                      0x4a, 0x05, 0xd6, 0x9a, 0x78, 0x5b, 0x07, 0x96 },
4444         .b_public = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4445                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4446                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4447                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
4448         .expected_ss = (u8[32]){ 0x54, 0x99, 0x8e, 0xe4, 0x3a, 0x5b, 0x00, 0x7b,
4449                     0xf4, 0x99, 0xf0, 0x78, 0xe7, 0x36, 0x52, 0x44,
4450                     0x00, 0xa8, 0xb5, 0xc7, 0xe9, 0xb9, 0xb4, 0x37,
4451                     0x71, 0x74, 0x8c, 0x7c, 0xdf, 0x88, 0x04, 0x12 },
4452         .secret_size = 32,
4453         .b_public_size = 32,
4454         .expected_ss_size = 32,
4455
4456 },
4457 /* wycheproof - public key >= p */
4458 {
4459         .secret = (u8[32]){ 0x30, 0xb6, 0xc6, 0xa0, 0xf2, 0xff, 0xa6, 0x80,
4460                      0x76, 0x8f, 0x99, 0x2b, 0xa8, 0x9e, 0x15, 0x2d,
4461                      0x5b, 0xc9, 0x89, 0x3d, 0x38, 0xc9, 0x11, 0x9b,
4462                      0xe4, 0xf7, 0x67, 0xbf, 0xab, 0x6e, 0x0c, 0xa5 },
4463         .b_public = (u8[32]){ 0xdc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4464                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4465                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4466                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
4467         .expected_ss = (u8[32]){ 0xea, 0xd9, 0xb3, 0x8e, 0xfd, 0xd7, 0x23, 0x63,
4468                     0x79, 0x34, 0xe5, 0x5a, 0xb7, 0x17, 0xa7, 0xae,
4469                     0x09, 0xeb, 0x86, 0xa2, 0x1d, 0xc3, 0x6a, 0x3f,
4470                     0xee, 0xb8, 0x8b, 0x75, 0x9e, 0x39, 0x1e, 0x09 },
4471         .secret_size = 32,
4472         .b_public_size = 32,
4473         .expected_ss_size = 32,
4474
4475 },
4476 /* wycheproof - public key >= p */
4477 {
4478         .secret = (u8[32]){ 0x90, 0x1b, 0x9d, 0xcf, 0x88, 0x1e, 0x01, 0xe0,
4479                      0x27, 0x57, 0x50, 0x35, 0xd4, 0x0b, 0x43, 0xbd,
4480                      0xc1, 0xc5, 0x24, 0x2e, 0x03, 0x08, 0x47, 0x49,
4481                      0x5b, 0x0c, 0x72, 0x86, 0x46, 0x9b, 0x65, 0x91 },
4482         .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4483                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4484                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4485                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
4486         .expected_ss = (u8[32]){ 0x60, 0x2f, 0xf4, 0x07, 0x89, 0xb5, 0x4b, 0x41,
4487                     0x80, 0x59, 0x15, 0xfe, 0x2a, 0x62, 0x21, 0xf0,
4488                     0x7a, 0x50, 0xff, 0xc2, 0xc3, 0xfc, 0x94, 0xcf,
4489                     0x61, 0xf1, 0x3d, 0x79, 0x04, 0xe8, 0x8e, 0x0e },
4490         .secret_size = 32,
4491         .b_public_size = 32,
4492         .expected_ss_size = 32,
4493
4494 },
4495 /* wycheproof - public key >= p */
4496 {
4497         .secret = (u8[32]){ 0x80, 0x46, 0x67, 0x7c, 0x28, 0xfd, 0x82, 0xc9,
4498                      0xa1, 0xbd, 0xb7, 0x1a, 0x1a, 0x1a, 0x34, 0xfa,
4499                      0xba, 0x12, 0x25, 0xe2, 0x50, 0x7f, 0xe3, 0xf5,
4500                      0x4d, 0x10, 0xbd, 0x5b, 0x0d, 0x86, 0x5f, 0x8e },
4501         .b_public = (u8[32]){ 0xeb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4502                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4503                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4504                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
4505         .expected_ss = (u8[32]){ 0xe0, 0x0a, 0xe8, 0xb1, 0x43, 0x47, 0x12, 0x47,
4506                     0xba, 0x24, 0xf1, 0x2c, 0x88, 0x55, 0x36, 0xc3,
4507                     0xcb, 0x98, 0x1b, 0x58, 0xe1, 0xe5, 0x6b, 0x2b,
4508                     0xaf, 0x35, 0xc1, 0x2a, 0xe1, 0xf7, 0x9c, 0x26 },
4509         .secret_size = 32,
4510         .b_public_size = 32,
4511         .expected_ss_size = 32,
4512
4513 },
4514 /* wycheproof - public key >= p */
4515 {
4516         .secret = (u8[32]){ 0x60, 0x2f, 0x7e, 0x2f, 0x68, 0xa8, 0x46, 0xb8,
4517                      0x2c, 0xc2, 0x69, 0xb1, 0xd4, 0x8e, 0x93, 0x98,
4518                      0x86, 0xae, 0x54, 0xfd, 0x63, 0x6c, 0x1f, 0xe0,
4519                      0x74, 0xd7, 0x10, 0x12, 0x7d, 0x47, 0x24, 0x91 },
4520         .b_public = (u8[32]){ 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4521                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4522                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4523                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
4524         .expected_ss = (u8[32]){ 0x98, 0xcb, 0x9b, 0x50, 0xdd, 0x3f, 0xc2, 0xb0,
4525                     0xd4, 0xf2, 0xd2, 0xbf, 0x7c, 0x5c, 0xfd, 0xd1,
4526                     0x0c, 0x8f, 0xcd, 0x31, 0xfc, 0x40, 0xaf, 0x1a,
4527                     0xd4, 0x4f, 0x47, 0xc1, 0x31, 0x37, 0x63, 0x62 },
4528         .secret_size = 32,
4529         .b_public_size = 32,
4530         .expected_ss_size = 32,
4531
4532 },
4533 /* wycheproof - public key >= p */
4534 {
4535         .secret = (u8[32]){ 0x60, 0x88, 0x7b, 0x3d, 0xc7, 0x24, 0x43, 0x02,
4536                      0x6e, 0xbe, 0xdb, 0xbb, 0xb7, 0x06, 0x65, 0xf4,
4537                      0x2b, 0x87, 0xad, 0xd1, 0x44, 0x0e, 0x77, 0x68,
4538                      0xfb, 0xd7, 0xe8, 0xe2, 0xce, 0x5f, 0x63, 0x9d },
4539         .b_public = (u8[32]){ 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4540                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4541                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4542                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
4543         .expected_ss = (u8[32]){ 0x38, 0xd6, 0x30, 0x4c, 0x4a, 0x7e, 0x6d, 0x9f,
4544                     0x79, 0x59, 0x33, 0x4f, 0xb5, 0x24, 0x5b, 0xd2,
4545                     0xc7, 0x54, 0x52, 0x5d, 0x4c, 0x91, 0xdb, 0x95,
4546                     0x02, 0x06, 0x92, 0x62, 0x34, 0xc1, 0xf6, 0x33 },
4547         .secret_size = 32,
4548         .b_public_size = 32,
4549         .expected_ss_size = 32,
4550
4551 },
4552 /* wycheproof - public key >= p */
4553 {
4554         .secret = (u8[32]){ 0x78, 0xd3, 0x1d, 0xfa, 0x85, 0x44, 0x97, 0xd7,
4555                      0x2d, 0x8d, 0xef, 0x8a, 0x1b, 0x7f, 0xb0, 0x06,
4556                      0xce, 0xc2, 0xd8, 0xc4, 0x92, 0x46, 0x47, 0xc9,
4557                      0x38, 0x14, 0xae, 0x56, 0xfa, 0xed, 0xa4, 0x95 },
4558         .b_public = (u8[32]){ 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4559                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4560                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4561                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
4562         .expected_ss = (u8[32]){ 0x78, 0x6c, 0xd5, 0x49, 0x96, 0xf0, 0x14, 0xa5,
4563                     0xa0, 0x31, 0xec, 0x14, 0xdb, 0x81, 0x2e, 0xd0,
4564                     0x83, 0x55, 0x06, 0x1f, 0xdb, 0x5d, 0xe6, 0x80,
4565                     0xa8, 0x00, 0xac, 0x52, 0x1f, 0x31, 0x8e, 0x23 },
4566         .secret_size = 32,
4567         .b_public_size = 32,
4568         .expected_ss_size = 32,
4569
4570 },
4571 /* wycheproof - public key >= p */
4572 {
4573         .secret = (u8[32]){ 0xc0, 0x4c, 0x5b, 0xae, 0xfa, 0x83, 0x02, 0xdd,
4574                      0xde, 0xd6, 0xa4, 0xbb, 0x95, 0x77, 0x61, 0xb4,
4575                      0xeb, 0x97, 0xae, 0xfa, 0x4f, 0xc3, 0xb8, 0x04,
4576                      0x30, 0x85, 0xf9, 0x6a, 0x56, 0x59, 0xb3, 0xa5 },
4577         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4578                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4579                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4580                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
4581         .expected_ss = (u8[32]){ 0x29, 0xae, 0x8b, 0xc7, 0x3e, 0x9b, 0x10, 0xa0,
4582                     0x8b, 0x4f, 0x68, 0x1c, 0x43, 0xc3, 0xe0, 0xac,
4583                     0x1a, 0x17, 0x1d, 0x31, 0xb3, 0x8f, 0x1a, 0x48,
4584                     0xef, 0xba, 0x29, 0xae, 0x63, 0x9e, 0xa1, 0x34 },
4585         .secret_size = 32,
4586         .b_public_size = 32,
4587         .expected_ss_size = 32,
4588
4589 },
4590 /* wycheproof - RFC 7748 */
4591 {
4592         .secret = (u8[32]){ 0xa0, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
4593                      0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
4594                      0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
4595                      0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0x44 },
4596         .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
4597                     0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
4598                     0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
4599                     0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
4600         .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
4601                     0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
4602                     0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
4603                     0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
4604         .secret_size = 32,
4605         .b_public_size = 32,
4606         .expected_ss_size = 32,
4607
4608 },
4609 /* wycheproof - RFC 7748 */
4610 {
4611         .secret = (u8[32]){ 0x48, 0x66, 0xe9, 0xd4, 0xd1, 0xb4, 0x67, 0x3c,
4612                      0x5a, 0xd2, 0x26, 0x91, 0x95, 0x7d, 0x6a, 0xf5,
4613                      0xc1, 0x1b, 0x64, 0x21, 0xe0, 0xea, 0x01, 0xd4,
4614                      0x2c, 0xa4, 0x16, 0x9e, 0x79, 0x18, 0xba, 0x4d },
4615         .b_public = (u8[32]){ 0xe5, 0x21, 0x0f, 0x12, 0x78, 0x68, 0x11, 0xd3,
4616                     0xf4, 0xb7, 0x95, 0x9d, 0x05, 0x38, 0xae, 0x2c,
4617                     0x31, 0xdb, 0xe7, 0x10, 0x6f, 0xc0, 0x3c, 0x3e,
4618                     0xfc, 0x4c, 0xd5, 0x49, 0xc7, 0x15, 0xa4, 0x13 },
4619         .expected_ss = (u8[32]){ 0x95, 0xcb, 0xde, 0x94, 0x76, 0xe8, 0x90, 0x7d,
4620                     0x7a, 0xad, 0xe4, 0x5c, 0xb4, 0xb8, 0x73, 0xf8,
4621                     0x8b, 0x59, 0x5a, 0x68, 0x79, 0x9f, 0xa1, 0x52,
4622                     0xe6, 0xf8, 0xf7, 0x64, 0x7a, 0xac, 0x79, 0x57 },
4623         .secret_size = 32,
4624         .b_public_size = 32,
4625         .expected_ss_size = 32,
4626
4627 },
4628 /* wycheproof - edge case for shared secret */
4629 {
4630         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4631                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4632                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4633                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4634         .b_public = (u8[32]){ 0x0a, 0xb4, 0xe7, 0x63, 0x80, 0xd8, 0x4d, 0xde,
4635                     0x4f, 0x68, 0x33, 0xc5, 0x8f, 0x2a, 0x9f, 0xb8,
4636                     0xf8, 0x3b, 0xb0, 0x16, 0x9b, 0x17, 0x2b, 0xe4,
4637                     0xb6, 0xe0, 0x59, 0x28, 0x87, 0x74, 0x1a, 0x36 },
4638         .expected_ss = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4639                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4640                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4641                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
4642         .secret_size = 32,
4643         .b_public_size = 32,
4644         .expected_ss_size = 32,
4645
4646 },
4647 /* wycheproof - edge case for shared secret */
4648 {
4649         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4650                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4651                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4652                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4653         .b_public = (u8[32]){ 0x89, 0xe1, 0x0d, 0x57, 0x01, 0xb4, 0x33, 0x7d,
4654                     0x2d, 0x03, 0x21, 0x81, 0x53, 0x8b, 0x10, 0x64,
4655                     0xbd, 0x40, 0x84, 0x40, 0x1c, 0xec, 0xa1, 0xfd,
4656                     0x12, 0x66, 0x3a, 0x19, 0x59, 0x38, 0x80, 0x00 },
4657         .expected_ss = (u8[32]){ 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4658                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4659                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4660                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
4661         .secret_size = 32,
4662         .b_public_size = 32,
4663         .expected_ss_size = 32,
4664
4665 },
4666 /* wycheproof - edge case for shared secret */
4667 {
4668         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4669                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4670                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4671                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4672         .b_public = (u8[32]){ 0x2b, 0x55, 0xd3, 0xaa, 0x4a, 0x8f, 0x80, 0xc8,
4673                     0xc0, 0xb2, 0xae, 0x5f, 0x93, 0x3e, 0x85, 0xaf,
4674                     0x49, 0xbe, 0xac, 0x36, 0xc2, 0xfa, 0x73, 0x94,
4675                     0xba, 0xb7, 0x6c, 0x89, 0x33, 0xf8, 0xf8, 0x1d },
4676         .expected_ss = (u8[32]){ 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4677                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4678                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4679                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
4680         .secret_size = 32,
4681         .b_public_size = 32,
4682         .expected_ss_size = 32,
4683
4684 },
4685 /* wycheproof - edge case for shared secret */
4686 {
4687         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4688                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4689                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4690                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4691         .b_public = (u8[32]){ 0x63, 0xe5, 0xb1, 0xfe, 0x96, 0x01, 0xfe, 0x84,
4692                     0x38, 0x5d, 0x88, 0x66, 0xb0, 0x42, 0x12, 0x62,
4693                     0xf7, 0x8f, 0xbf, 0xa5, 0xaf, 0xf9, 0x58, 0x5e,
4694                     0x62, 0x66, 0x79, 0xb1, 0x85, 0x47, 0xd9, 0x59 },
4695         .expected_ss = (u8[32]){ 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4696                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4697                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4698                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
4699         .secret_size = 32,
4700         .b_public_size = 32,
4701         .expected_ss_size = 32,
4702
4703 },
4704 /* wycheproof - edge case for shared secret */
4705 {
4706         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4707                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4708                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4709                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4710         .b_public = (u8[32]){ 0xe4, 0x28, 0xf3, 0xda, 0xc1, 0x78, 0x09, 0xf8,
4711                     0x27, 0xa5, 0x22, 0xce, 0x32, 0x35, 0x50, 0x58,
4712                     0xd0, 0x73, 0x69, 0x36, 0x4a, 0xa7, 0x89, 0x02,
4713                     0xee, 0x10, 0x13, 0x9b, 0x9f, 0x9d, 0xd6, 0x53 },
4714         .expected_ss = (u8[32]){ 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4715                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4716                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4717                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
4718         .secret_size = 32,
4719         .b_public_size = 32,
4720         .expected_ss_size = 32,
4721
4722 },
4723 /* wycheproof - edge case for shared secret */
4724 {
4725         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4726                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4727                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4728                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4729         .b_public = (u8[32]){ 0xb3, 0xb5, 0x0e, 0x3e, 0xd3, 0xa4, 0x07, 0xb9,
4730                     0x5d, 0xe9, 0x42, 0xef, 0x74, 0x57, 0x5b, 0x5a,
4731                     0xb8, 0xa1, 0x0c, 0x09, 0xee, 0x10, 0x35, 0x44,
4732                     0xd6, 0x0b, 0xdf, 0xed, 0x81, 0x38, 0xab, 0x2b },
4733         .expected_ss = (u8[32]){ 0xf9, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4734                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4735                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4736                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
4737         .secret_size = 32,
4738         .b_public_size = 32,
4739         .expected_ss_size = 32,
4740
4741 },
4742 /* wycheproof - edge case for shared secret */
4743 {
4744         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4745                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4746                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4747                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4748         .b_public = (u8[32]){ 0x21, 0x3f, 0xff, 0xe9, 0x3d, 0x5e, 0xa8, 0xcd,
4749                     0x24, 0x2e, 0x46, 0x28, 0x44, 0x02, 0x99, 0x22,
4750                     0xc4, 0x3c, 0x77, 0xc9, 0xe3, 0xe4, 0x2f, 0x56,
4751                     0x2f, 0x48, 0x5d, 0x24, 0xc5, 0x01, 0xa2, 0x0b },
4752         .expected_ss = (u8[32]){ 0xf3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4753                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4754                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4755                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
4756         .secret_size = 32,
4757         .b_public_size = 32,
4758         .expected_ss_size = 32,
4759
4760 },
4761 /* wycheproof - edge case for shared secret */
4762 {
4763         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4764                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4765                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4766                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4767         .b_public = (u8[32]){ 0x91, 0xb2, 0x32, 0xa1, 0x78, 0xb3, 0xcd, 0x53,
4768                     0x09, 0x32, 0x44, 0x1e, 0x61, 0x39, 0x41, 0x8f,
4769                     0x72, 0x17, 0x22, 0x92, 0xf1, 0xda, 0x4c, 0x18,
4770                     0x34, 0xfc, 0x5e, 0xbf, 0xef, 0xb5, 0x1e, 0x3f },
4771         .expected_ss = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4772                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4773                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4774                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
4775         .secret_size = 32,
4776         .b_public_size = 32,
4777         .expected_ss_size = 32,
4778
4779 },
4780 /* wycheproof - edge case for shared secret */
4781 {
4782         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4783                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4784                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4785                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4786         .b_public = (u8[32]){ 0x04, 0x5c, 0x6e, 0x11, 0xc5, 0xd3, 0x32, 0x55,
4787                     0x6c, 0x78, 0x22, 0xfe, 0x94, 0xeb, 0xf8, 0x9b,
4788                     0x56, 0xa3, 0x87, 0x8d, 0xc2, 0x7c, 0xa0, 0x79,
4789                     0x10, 0x30, 0x58, 0x84, 0x9f, 0xab, 0xcb, 0x4f },
4790         .expected_ss = (u8[32]){ 0xe5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4791                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4792                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4793                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
4794         .secret_size = 32,
4795         .b_public_size = 32,
4796         .expected_ss_size = 32,
4797
4798 },
4799 /* wycheproof - edge case for shared secret */
4800 {
4801         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4802                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4803                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4804                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4805         .b_public = (u8[32]){ 0x1c, 0xa2, 0x19, 0x0b, 0x71, 0x16, 0x35, 0x39,
4806                     0x06, 0x3c, 0x35, 0x77, 0x3b, 0xda, 0x0c, 0x9c,
4807                     0x92, 0x8e, 0x91, 0x36, 0xf0, 0x62, 0x0a, 0xeb,
4808                     0x09, 0x3f, 0x09, 0x91, 0x97, 0xb7, 0xf7, 0x4e },
4809         .expected_ss = (u8[32]){ 0xe3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4810                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4811                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4812                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
4813         .secret_size = 32,
4814         .b_public_size = 32,
4815         .expected_ss_size = 32,
4816
4817 },
4818 /* wycheproof - edge case for shared secret */
4819 {
4820         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4821                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4822                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4823                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4824         .b_public = (u8[32]){ 0xf7, 0x6e, 0x90, 0x10, 0xac, 0x33, 0xc5, 0x04,
4825                     0x3b, 0x2d, 0x3b, 0x76, 0xa8, 0x42, 0x17, 0x10,
4826                     0x00, 0xc4, 0x91, 0x62, 0x22, 0xe9, 0xe8, 0x58,
4827                     0x97, 0xa0, 0xae, 0xc7, 0xf6, 0x35, 0x0b, 0x3c },
4828         .expected_ss = (u8[32]){ 0xdd, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4829                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4830                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4831                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
4832         .secret_size = 32,
4833         .b_public_size = 32,
4834         .expected_ss_size = 32,
4835
4836 },
4837 /* wycheproof - edge case for shared secret */
4838 {
4839         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4840                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4841                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4842                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4843         .b_public = (u8[32]){ 0xbb, 0x72, 0x68, 0x8d, 0x8f, 0x8a, 0xa7, 0xa3,
4844                     0x9c, 0xd6, 0x06, 0x0c, 0xd5, 0xc8, 0x09, 0x3c,
4845                     0xde, 0xc6, 0xfe, 0x34, 0x19, 0x37, 0xc3, 0x88,
4846                     0x6a, 0x99, 0x34, 0x6c, 0xd0, 0x7f, 0xaa, 0x55 },
4847         .expected_ss = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4848                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4849                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4850                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
4851         .secret_size = 32,
4852         .b_public_size = 32,
4853         .expected_ss_size = 32,
4854
4855 },
4856 /* wycheproof - edge case for shared secret */
4857 {
4858         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4859                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4860                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4861                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4862         .b_public = (u8[32]){ 0x88, 0xfd, 0xde, 0xa1, 0x93, 0x39, 0x1c, 0x6a,
4863                     0x59, 0x33, 0xef, 0x9b, 0x71, 0x90, 0x15, 0x49,
4864                     0x44, 0x72, 0x05, 0xaa, 0xe9, 0xda, 0x92, 0x8a,
4865                     0x6b, 0x91, 0xa3, 0x52, 0xba, 0x10, 0xf4, 0x1f },
4866         .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4867                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4868                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4869                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 },
4870         .secret_size = 32,
4871         .b_public_size = 32,
4872         .expected_ss_size = 32,
4873
4874 },
4875 /* wycheproof - edge case for shared secret */
4876 {
4877         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4878                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4879                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4880                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4881         .b_public = (u8[32]){ 0x30, 0x3b, 0x39, 0x2f, 0x15, 0x31, 0x16, 0xca,
4882                     0xd9, 0xcc, 0x68, 0x2a, 0x00, 0xcc, 0xc4, 0x4c,
4883                     0x95, 0xff, 0x0d, 0x3b, 0xbe, 0x56, 0x8b, 0xeb,
4884                     0x6c, 0x4e, 0x73, 0x9b, 0xaf, 0xdc, 0x2c, 0x68 },
4885         .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4886                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4887                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4888                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00 },
4889         .secret_size = 32,
4890         .b_public_size = 32,
4891         .expected_ss_size = 32,
4892
4893 },
4894 /* wycheproof - checking for overflow */
4895 {
4896         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4897                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4898                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4899                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4900         .b_public = (u8[32]){ 0xfd, 0x30, 0x0a, 0xeb, 0x40, 0xe1, 0xfa, 0x58,
4901                     0x25, 0x18, 0x41, 0x2b, 0x49, 0xb2, 0x08, 0xa7,
4902                     0x84, 0x2b, 0x1e, 0x1f, 0x05, 0x6a, 0x04, 0x01,
4903                     0x78, 0xea, 0x41, 0x41, 0x53, 0x4f, 0x65, 0x2d },
4904         .expected_ss = (u8[32]){ 0xb7, 0x34, 0x10, 0x5d, 0xc2, 0x57, 0x58, 0x5d,
4905                     0x73, 0xb5, 0x66, 0xcc, 0xb7, 0x6f, 0x06, 0x27,
4906                     0x95, 0xcc, 0xbe, 0xc8, 0x91, 0x28, 0xe5, 0x2b,
4907                     0x02, 0xf3, 0xe5, 0x96, 0x39, 0xf1, 0x3c, 0x46 },
4908         .secret_size = 32,
4909         .b_public_size = 32,
4910         .expected_ss_size = 32,
4911
4912 },
4913 /* wycheproof - checking for overflow */
4914 {
4915         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4916                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4917                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4918                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4919         .b_public = (u8[32]){ 0xc8, 0xef, 0x79, 0xb5, 0x14, 0xd7, 0x68, 0x26,
4920                     0x77, 0xbc, 0x79, 0x31, 0xe0, 0x6e, 0xe5, 0xc2,
4921                     0x7c, 0x9b, 0x39, 0x2b, 0x4a, 0xe9, 0x48, 0x44,
4922                     0x73, 0xf5, 0x54, 0xe6, 0x67, 0x8e, 0xcc, 0x2e },
4923         .expected_ss = (u8[32]){ 0x64, 0x7a, 0x46, 0xb6, 0xfc, 0x3f, 0x40, 0xd6,
4924                     0x21, 0x41, 0xee, 0x3c, 0xee, 0x70, 0x6b, 0x4d,
4925                     0x7a, 0x92, 0x71, 0x59, 0x3a, 0x7b, 0x14, 0x3e,
4926                     0x8e, 0x2e, 0x22, 0x79, 0x88, 0x3e, 0x45, 0x50 },
4927         .secret_size = 32,
4928         .b_public_size = 32,
4929         .expected_ss_size = 32,
4930
4931 },
4932 /* wycheproof - checking for overflow */
4933 {
4934         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4935                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4936                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4937                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4938         .b_public = (u8[32]){ 0x64, 0xae, 0xac, 0x25, 0x04, 0x14, 0x48, 0x61,
4939                     0x53, 0x2b, 0x7b, 0xbc, 0xb6, 0xc8, 0x7d, 0x67,
4940                     0xdd, 0x4c, 0x1f, 0x07, 0xeb, 0xc2, 0xe0, 0x6e,
4941                     0xff, 0xb9, 0x5a, 0xec, 0xc6, 0x17, 0x0b, 0x2c },
4942         .expected_ss = (u8[32]){ 0x4f, 0xf0, 0x3d, 0x5f, 0xb4, 0x3c, 0xd8, 0x65,
4943                     0x7a, 0x3c, 0xf3, 0x7c, 0x13, 0x8c, 0xad, 0xce,
4944                     0xcc, 0xe5, 0x09, 0xe4, 0xeb, 0xa0, 0x89, 0xd0,
4945                     0xef, 0x40, 0xb4, 0xe4, 0xfb, 0x94, 0x61, 0x55 },
4946         .secret_size = 32,
4947         .b_public_size = 32,
4948         .expected_ss_size = 32,
4949
4950 },
4951 /* wycheproof - checking for overflow */
4952 {
4953         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4954                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4955                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4956                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4957         .b_public = (u8[32]){ 0xbf, 0x68, 0xe3, 0x5e, 0x9b, 0xdb, 0x7e, 0xee,
4958                     0x1b, 0x50, 0x57, 0x02, 0x21, 0x86, 0x0f, 0x5d,
4959                     0xcd, 0xad, 0x8a, 0xcb, 0xab, 0x03, 0x1b, 0x14,
4960                     0x97, 0x4c, 0xc4, 0x90, 0x13, 0xc4, 0x98, 0x31 },
4961         .expected_ss = (u8[32]){ 0x21, 0xce, 0xe5, 0x2e, 0xfd, 0xbc, 0x81, 0x2e,
4962                     0x1d, 0x02, 0x1a, 0x4a, 0xf1, 0xe1, 0xd8, 0xbc,
4963                     0x4d, 0xb3, 0xc4, 0x00, 0xe4, 0xd2, 0xa2, 0xc5,
4964                     0x6a, 0x39, 0x26, 0xdb, 0x4d, 0x99, 0xc6, 0x5b },
4965         .secret_size = 32,
4966         .b_public_size = 32,
4967         .expected_ss_size = 32,
4968
4969 },
4970 /* wycheproof - checking for overflow */
4971 {
4972         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4973                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4974                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4975                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4976         .b_public = (u8[32]){ 0x53, 0x47, 0xc4, 0x91, 0x33, 0x1a, 0x64, 0xb4,
4977                     0x3d, 0xdc, 0x68, 0x30, 0x34, 0xe6, 0x77, 0xf5,
4978                     0x3d, 0xc3, 0x2b, 0x52, 0xa5, 0x2a, 0x57, 0x7c,
4979                     0x15, 0xa8, 0x3b, 0xf2, 0x98, 0xe9, 0x9f, 0x19 },
4980         .expected_ss = (u8[32]){ 0x18, 0xcb, 0x89, 0xe4, 0xe2, 0x0c, 0x0c, 0x2b,
4981                     0xd3, 0x24, 0x30, 0x52, 0x45, 0x26, 0x6c, 0x93,
4982                     0x27, 0x69, 0x0b, 0xbe, 0x79, 0xac, 0xb8, 0x8f,
4983                     0x5b, 0x8f, 0xb3, 0xf7, 0x4e, 0xca, 0x3e, 0x52 },
4984         .secret_size = 32,
4985         .b_public_size = 32,
4986         .expected_ss_size = 32,
4987
4988 },
4989 /* wycheproof - private key == -1 (mod order) */
4990 {
4991         .secret = (u8[32]){ 0xa0, 0x23, 0xcd, 0xd0, 0x83, 0xef, 0x5b, 0xb8,
4992                      0x2f, 0x10, 0xd6, 0x2e, 0x59, 0xe1, 0x5a, 0x68,
4993                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4994                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50 },
4995         .b_public = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
4996                     0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
4997                     0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
4998                     0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
4999         .expected_ss = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
5000                     0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
5001                     0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
5002                     0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
5003         .secret_size = 32,
5004         .b_public_size = 32,
5005         .expected_ss_size = 32,
5006
5007 },
5008 /* wycheproof - private key == 1 (mod order) on twist */
5009 {
5010         .secret = (u8[32]){ 0x58, 0x08, 0x3d, 0xd2, 0x61, 0xad, 0x91, 0xef,
5011                      0xf9, 0x52, 0x32, 0x2e, 0xc8, 0x24, 0xc6, 0x82,
5012                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
5013                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x5f },
5014         .b_public = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
5015                     0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
5016                     0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
5017                     0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
5018         .expected_ss = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
5019                     0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
5020                     0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
5021                     0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
5022         .secret_size = 32,
5023         .b_public_size = 32,
5024         .expected_ss_size = 32,
5025
5026 }
5027 };
5028
5029 static const struct kpp_testvec ecdh_p192_tv_template[] = {
5030         {
5031         .secret =
5032 #ifdef __LITTLE_ENDIAN
5033         "\x02\x00" /* type */
5034         "\x1e\x00" /* len */
5035         "\x18\x00" /* key_size */
5036 #else
5037         "\x00\x02" /* type */
5038         "\x00\x1e" /* len */
5039         "\x00\x18" /* key_size */
5040 #endif
5041         "\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
5042         "\x4e\x19\x1e\x62\x1f\x23\x23\x31"
5043         "\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
5044         .b_public =
5045         "\xc3\xba\x67\x4b\x71\xec\xd0\x76"
5046         "\x7a\x99\x75\x64\x36\x13\x9a\x94"
5047         "\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
5048         "\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
5049         "\x83\x87\xdd\x67\x09\xf8\x8d\x96"
5050         "\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
5051         .expected_a_public =
5052         "\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
5053         "\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
5054         "\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
5055         "\x22\x90\x21\x02\xf9\x1b\x81\x5d"
5056         "\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
5057         "\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
5058         .expected_ss =
5059         "\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
5060         "\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
5061         "\x99\x80\x81\x28\xaf\xc5\x51\x74",
5062         .secret_size = 30,
5063         .b_public_size = 48,
5064         .expected_a_public_size = 48,
5065         .expected_ss_size = 24
5066         }
5067 };
5068
5069 static const struct kpp_testvec ecdh_p256_tv_template[] = {
5070         {
5071         .secret =
5072 #ifdef __LITTLE_ENDIAN
5073         "\x02\x00" /* type */
5074         "\x26\x00" /* len */
5075         "\x20\x00" /* key_size */
5076 #else
5077         "\x00\x02" /* type */
5078         "\x00\x26" /* len */
5079         "\x00\x20" /* key_size */
5080 #endif
5081         "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
5082         "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
5083         "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
5084         "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
5085         .expected_a_public =
5086         "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
5087         "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
5088         "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
5089         "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
5090         "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
5091         "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
5092         "\x6a\x02\x6e\x41\x87\x68\x38\x77"
5093         "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
5094         .expected_ss =
5095         "\xea\x17\x6f\x7e\x6e\x57\x26\x38"
5096         "\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
5097         "\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
5098         "\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
5099         .b_public =
5100         "\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
5101         "\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
5102         "\x29\xb2\x47\x03\x19\xab\xdd\x34"
5103         "\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
5104         "\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
5105         "\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
5106         "\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
5107         "\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
5108         .secret_size = 38,
5109         .b_public_size = 64,
5110         .expected_a_public_size = 64,
5111         .expected_ss_size = 32
5112         }, {
5113         .secret =
5114 #ifdef __LITTLE_ENDIAN
5115         "\x02\x00" /* type */
5116         "\x06\x00" /* len */
5117         "\x00\x00", /* key_size */
5118 #else
5119         "\x00\x02" /* type */
5120         "\x00\x06" /* len */
5121         "\x00\x00", /* key_size */
5122 #endif
5123         .b_secret =
5124 #ifdef __LITTLE_ENDIAN
5125         "\x02\x00" /* type */
5126         "\x26\x00" /* len */
5127         "\x20\x00" /* key_size */
5128 #else
5129         "\x00\x02" /* type */
5130         "\x00\x26" /* len */
5131         "\x00\x20" /* key_size */
5132 #endif
5133         "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
5134         "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
5135         "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
5136         "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
5137         .b_public =
5138         "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
5139         "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
5140         "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
5141         "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
5142         "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
5143         "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
5144         "\x6a\x02\x6e\x41\x87\x68\x38\x77"
5145         "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
5146         .secret_size = 6,
5147         .b_secret_size = 38,
5148         .b_public_size = 64,
5149         .expected_a_public_size = 64,
5150         .expected_ss_size = 32,
5151         .genkey = true,
5152         }
5153 };
5154
5155 /*
5156  * NIST P384 test vectors from RFC5903
5157  */
5158 static const struct kpp_testvec ecdh_p384_tv_template[] = {
5159         {
5160         .secret =
5161 #ifdef __LITTLE_ENDIAN
5162         "\x02\x00" /* type */
5163         "\x36\x00" /* len */
5164         "\x30\x00" /* key_size */
5165 #else
5166         "\x00\x02" /* type */
5167         "\x00\x36" /* len */
5168         "\x00\x30" /* key_size */
5169 #endif
5170         "\x09\x9F\x3C\x70\x34\xD4\xA2\xC6"
5171         "\x99\x88\x4D\x73\xA3\x75\xA6\x7F"
5172         "\x76\x24\xEF\x7C\x6B\x3C\x0F\x16"
5173         "\x06\x47\xB6\x74\x14\xDC\xE6\x55"
5174         "\xE3\x5B\x53\x80\x41\xE6\x49\xEE"
5175         "\x3F\xAE\xF8\x96\x78\x3A\xB1\x94",
5176         .b_public =
5177         "\xE5\x58\xDB\xEF\x53\xEE\xCD\xE3"
5178         "\xD3\xFC\xCF\xC1\xAE\xA0\x8A\x89"
5179         "\xA9\x87\x47\x5D\x12\xFD\x95\x0D"
5180         "\x83\xCF\xA4\x17\x32\xBC\x50\x9D"
5181         "\x0D\x1A\xC4\x3A\x03\x36\xDE\xF9"
5182         "\x6F\xDA\x41\xD0\x77\x4A\x35\x71"
5183         "\xDC\xFB\xEC\x7A\xAC\xF3\x19\x64"
5184         "\x72\x16\x9E\x83\x84\x30\x36\x7F"
5185         "\x66\xEE\xBE\x3C\x6E\x70\xC4\x16"
5186         "\xDD\x5F\x0C\x68\x75\x9D\xD1\xFF"
5187         "\xF8\x3F\xA4\x01\x42\x20\x9D\xFF"
5188         "\x5E\xAA\xD9\x6D\xB9\xE6\x38\x6C",
5189         .expected_a_public =
5190         "\x66\x78\x42\xD7\xD1\x80\xAC\x2C"
5191         "\xDE\x6F\x74\xF3\x75\x51\xF5\x57"
5192         "\x55\xC7\x64\x5C\x20\xEF\x73\xE3"
5193         "\x16\x34\xFE\x72\xB4\xC5\x5E\xE6"
5194         "\xDE\x3A\xC8\x08\xAC\xB4\xBD\xB4"
5195         "\xC8\x87\x32\xAE\xE9\x5F\x41\xAA"
5196         "\x94\x82\xED\x1F\xC0\xEE\xB9\xCA"
5197         "\xFC\x49\x84\x62\x5C\xCF\xC2\x3F"
5198         "\x65\x03\x21\x49\xE0\xE1\x44\xAD"
5199         "\xA0\x24\x18\x15\x35\xA0\xF3\x8E"
5200         "\xEB\x9F\xCF\xF3\xC2\xC9\x47\xDA"
5201         "\xE6\x9B\x4C\x63\x45\x73\xA8\x1C",
5202         .expected_ss =
5203         "\x11\x18\x73\x31\xC2\x79\x96\x2D"
5204         "\x93\xD6\x04\x24\x3F\xD5\x92\xCB"
5205         "\x9D\x0A\x92\x6F\x42\x2E\x47\x18"
5206         "\x75\x21\x28\x7E\x71\x56\xC5\xC4"
5207         "\xD6\x03\x13\x55\x69\xB9\xE9\xD0"
5208         "\x9C\xF5\xD4\xA2\x70\xF5\x97\x46",
5209         .secret_size = 54,
5210         .b_public_size = 96,
5211         .expected_a_public_size = 96,
5212         .expected_ss_size = 48
5213         }
5214 };
5215
5216 /*
5217  * MD4 test vectors from RFC1320
5218  */
5219 static const struct hash_testvec md4_tv_template[] = {
5220         {
5221                 .plaintext = "",
5222                 .digest = "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
5223                           "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
5224         }, {
5225                 .plaintext = "a",
5226                 .psize  = 1,
5227                 .digest = "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
5228                           "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
5229         }, {
5230                 .plaintext = "abc",
5231                 .psize  = 3,
5232                 .digest = "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
5233                           "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
5234         }, {
5235                 .plaintext = "message digest",
5236                 .psize  = 14,
5237                 .digest = "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
5238                         "\x18\x87\x48\x06\xe1\xc7\x01\x4b",
5239         }, {
5240                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
5241                 .psize  = 26,
5242                 .digest = "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
5243                           "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
5244         }, {
5245                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
5246                 .psize  = 62,
5247                 .digest = "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
5248                           "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
5249         }, {
5250                 .plaintext = "123456789012345678901234567890123456789012345678901234567890123"
5251                            "45678901234567890",
5252                 .psize  = 80,
5253                 .digest = "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
5254                           "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
5255         },
5256 };
5257
5258 static const struct hash_testvec sha3_224_tv_template[] = {
5259         {
5260                 .plaintext = "",
5261                 .digest = "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
5262                                 "\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
5263                                 "\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
5264                                 "\x5b\x5a\x6b\xc7",
5265         }, {
5266                 .plaintext = "a",
5267                 .psize  = 1,
5268                 .digest = "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
5269                                 "\x40\x5f\x08\x12\x69\x68\x5b\x38"
5270                                 "\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
5271                                 "\x48\x2b\x6a\x8b",
5272         }, {
5273                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
5274                                 "jklmklmnlmnomnopnopq",
5275                 .psize  = 56,
5276                 .digest = "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
5277                                 "\xc9\xfd\x55\x74\x49\x44\x79\xba"
5278                                 "\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
5279                                 "\xd0\xfc\xce\x33",
5280         }, {
5281                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5282                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5283                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5284                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5285                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5286                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5287                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5288                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5289                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5290                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5291                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5292                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5293                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5294                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5295                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5296                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5297                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5298                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5299                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5300                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5301                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5302                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5303                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5304                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5305                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5306                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5307                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5308                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5309                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5310                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5311                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5312                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5313                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5314                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5315                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5316                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5317                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5318                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5319                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5320                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5321                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5322                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5323                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5324                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5325                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5326                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5327                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5328                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5329                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5330                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5331                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5332                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5333                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5334                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5335                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5336                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5337                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5338                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5339                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5340                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5341                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5342                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5343                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5344                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5345                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5346                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5347                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5348                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5349                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5350                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5351                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5352                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5353                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5354                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5355                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5356                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5357                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5358                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5359                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5360                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5361                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5362                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5363                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5364                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5365                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5366                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5367                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5368                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5369                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5370                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5371                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5372                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5373                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5374                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5375                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5376                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5377                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5378                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5379                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5380                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5381                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5382                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5383                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5384                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5385                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5386                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5387                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5388                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5389                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5390                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5391                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5392                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5393                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5394                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5395                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5396                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5397                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5398                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5399                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5400                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5401                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5402                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5403                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5404                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5405                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5406                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5407                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5408                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5409                 .psize     = 1023,
5410                 .digest    = "\x7d\x0f\x2f\xb7\x65\x3b\xa7\x26"
5411                              "\xc3\x88\x20\x71\x15\x06\xe8\x2d"
5412                              "\xa3\x92\x44\xab\x3e\xe7\xff\x86"
5413                              "\xb6\x79\x10\x72",
5414         },
5415 };
5416
5417 static const struct hash_testvec sha3_256_tv_template[] = {
5418         {
5419                 .plaintext = "",
5420                 .digest = "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
5421                                 "\x51\xc1\x47\x56\xa0\x61\xd6\x62"
5422                                 "\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
5423                                 "\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
5424         }, {
5425                 .plaintext = "a",
5426                 .psize  = 1,
5427                 .digest = "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
5428                                 "\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
5429                                 "\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
5430                                 "\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
5431         }, {
5432                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
5433                              "jklmklmnlmnomnopnopq",
5434                 .psize  = 56,
5435                 .digest = "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
5436                                 "\x49\x10\x03\x76\xa8\x23\x5e\x2c"
5437                                 "\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
5438                                 "\xdb\x32\xdd\x97\x49\x6d\x33\x76",
5439         }, {
5440                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5441                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5442                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5443                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5444                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5445                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5446                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5447                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5448                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5449                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5450                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5451                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5452                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5453                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5454                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5455                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5456                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5457                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5458                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5459                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5460                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5461                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5462                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5463                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5464                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5465                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5466                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5467                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5468                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5469                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5470                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5471                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5472                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5473                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5474                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5475                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5476                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5477                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5478                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5479                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5480                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5481                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5482                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5483                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5484                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5485                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5486                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5487                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5488                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5489                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5490                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5491                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5492                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5493                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5494                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5495                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5496                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5497                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5498                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5499                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5500                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5501                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5502                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5503                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5504                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5505                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5506                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5507                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5508                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5509                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5510                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5511                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5512                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5513                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5514                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5515                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5516                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5517                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5518                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5519                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5520                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5521                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5522                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5523                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5524                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5525                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5526                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5527                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5528                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5529                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5530                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5531                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5532                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5533                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5534                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5535                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5536                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5537                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5538                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5539                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5540                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5541                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5542                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5543                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5544                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5545                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5546                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5547                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5548                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5549                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5550                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5551                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5552                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5553                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5554                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5555                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5556                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5557                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5558                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5559                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5560                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5561                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5562                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5563                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5564                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5565                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5566                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5567                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5568                 .psize     = 1023,
5569                 .digest    = "\xde\x41\x04\xbd\xda\xda\xd9\x71"
5570                              "\xf7\xfa\x80\xf5\xea\x11\x03\xb1"
5571                              "\x3b\x6a\xbc\x5f\xb9\x66\x26\xf7"
5572                              "\x8a\x97\xbb\xf2\x07\x08\x38\x30",
5573         },
5574 };
5575
5576
5577 static const struct hash_testvec sha3_384_tv_template[] = {
5578         {
5579                 .plaintext = "",
5580                 .digest = "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
5581                                 "\x01\x10\x7d\x85\x2e\x4c\x24\x85"
5582                                 "\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
5583                                 "\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
5584                                 "\xc3\x71\x38\x31\x26\x4a\xdb\x47"
5585                                 "\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
5586         }, {
5587                 .plaintext = "a",
5588                 .psize  = 1,
5589                 .digest = "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
5590                                 "\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
5591                                 "\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
5592                                 "\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
5593                                 "\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
5594                                 "\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
5595         }, {
5596                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
5597                              "jklmklmnlmnomnopnopq",
5598                 .psize  = 56,
5599                 .digest = "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
5600                                 "\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
5601                                 "\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
5602                                 "\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
5603                                 "\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
5604                                 "\x9e\xef\x51\xac\xd0\x65\x7c\x22",
5605         }, {
5606                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5607                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5608                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5609                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5610                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5611                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5612                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5613                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5614                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5615                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5616                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5617                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5618                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5619                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5620                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5621                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5622                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5623                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5624                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5625                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5626                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5627                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5628                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5629                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5630                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5631                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5632                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5633                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5634                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5635                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5636                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5637                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5638                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5639                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5640                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5641                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5642                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5643                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5644                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5645                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5646                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5647                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5648                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5649                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5650                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5651                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5652                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5653                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5654                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5655                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5656                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5657                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5658                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5659                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5660                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5661                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5662                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5663                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5664                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5665                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5666                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5667                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5668                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5669                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5670                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5671                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5672                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5673                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5674                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5675                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5676                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5677                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5678                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5679                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5680                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5681                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5682                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5683                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5684                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5685                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5686                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5687                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5688                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5689                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5690                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5691                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5692                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5693                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5694                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5695                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5696                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5697                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5698                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5699                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5700                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5701                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5702                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5703                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5704                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5705                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5706                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5707                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5708                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5709                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5710                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5711                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5712                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5713                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5714                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5715                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5716                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5717                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5718                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5719                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5720                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5721                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5722                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5723                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5724                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5725                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5726                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5727                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5728                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5729                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5730                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5731                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5732                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5733                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5734                 .psize     = 1023,
5735                 .digest    = "\x1b\x19\x4d\x8f\xd5\x36\x87\x71"
5736                              "\xcf\xca\x30\x85\x9b\xc1\x25\xc7"
5737                              "\x00\xcb\x73\x8a\x8e\xd4\xfe\x2b"
5738                              "\x1a\xa2\xdc\x2e\x41\xfd\x52\x51"
5739                              "\xd2\x21\xae\x2d\xc7\xae\x8c\x40"
5740                              "\xb9\xe6\x56\x48\x03\xcd\x88\x6b",
5741         },
5742 };
5743
5744
5745 static const struct hash_testvec sha3_512_tv_template[] = {
5746         {
5747                 .plaintext = "",
5748                 .digest = "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
5749                                 "\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
5750                                 "\x97\xc9\x82\x16\x4f\xe2\x58\x59"
5751                                 "\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
5752                                 "\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
5753                                 "\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
5754                                 "\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
5755                                 "\x01\x75\x85\x86\x28\x1d\xcd\x26",
5756         }, {
5757                 .plaintext = "a",
5758                 .psize  = 1,
5759                 .digest = "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
5760                                 "\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
5761                                 "\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
5762                                 "\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
5763                                 "\x3f\x4f\x93\xff\x24\x39\x35\x86"
5764                                 "\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
5765                                 "\x69\x42\x0c\xe5\x33\x32\x71\x2f"
5766                                 "\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
5767         }, {
5768                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
5769                              "jklmklmnlmnomnopnopq",
5770                 .psize  = 56,
5771                 .digest = "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
5772                                 "\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
5773                                 "\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
5774                                 "\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
5775                                 "\xee\x69\x1f\xbe\x0c\x98\x53\x02"
5776                                 "\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
5777                                 "\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
5778                                 "\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
5779         }, {
5780                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5781                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5782                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5783                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5784                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5785                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5786                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5787                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5788                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5789                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5790                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5791                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5792                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5793                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5794                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5795                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5796                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5797                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5798                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5799                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5800                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5801                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5802                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5803                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5804                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5805                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5806                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5807                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5808                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5809                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5810                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5811                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5812                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5813                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5814                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5815                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5816                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5817                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5818                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5819                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5820                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5821                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5822                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5823                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5824                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5825                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5826                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5827                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5828                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5829                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5830                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5831                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5832                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5833                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5834                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5835                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5836                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5837                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5838                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5839                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5840                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5841                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5842                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5843                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5844                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5845                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5846                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5847                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5848                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5849                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5850                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5851                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5852                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5853                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5854                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5855                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5856                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5857                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5858                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5859                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5860                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5861                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5862                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5863                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5864                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5865                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5866                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5867                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5868                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5869                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5870                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5871                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5872                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5873                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5874                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5875                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5876                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5877                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5878                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5879                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5880                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5881                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5882                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5883                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5884                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5885                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5886                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5887                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5888                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5889                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5890                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5891                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5892                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5893                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5894                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5895                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5896                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5897                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5898                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5899                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5900                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5901                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5902                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5903                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5904                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5905                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5906                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5907                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5908                 .psize     = 1023,
5909                 .digest    = "\x59\xda\x30\xe3\x90\xe4\x3d\xde"
5910                              "\xf0\xc6\x42\x17\xd7\xb2\x26\x47"
5911                              "\x90\x28\xa6\x84\xe8\x49\x7a\x86"
5912                              "\xd6\xb8\x9e\xf8\x07\x59\x21\x03"
5913                              "\xad\xd2\xed\x48\xa3\xb9\xa5\xf0"
5914                              "\xb3\xae\x02\x2b\xb8\xaf\xc3\x3b"
5915                              "\xd6\xb0\x8f\xcb\x76\x8b\xa7\x41"
5916                              "\x32\xc2\x8e\x50\x91\x86\x90\xfb",
5917         },
5918 };
5919
5920
5921 /*
5922  * MD5 test vectors from RFC1321
5923  */
5924 static const struct hash_testvec md5_tv_template[] = {
5925         {
5926                 .digest = "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
5927                           "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
5928         }, {
5929                 .plaintext = "a",
5930                 .psize  = 1,
5931                 .digest = "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
5932                           "\x31\xc3\x99\xe2\x69\x77\x26\x61",
5933         }, {
5934                 .plaintext = "abc",
5935                 .psize  = 3,
5936                 .digest = "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
5937                           "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
5938         }, {
5939                 .plaintext = "message digest",
5940                 .psize  = 14,
5941                 .digest = "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
5942                           "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
5943         }, {
5944                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
5945                 .psize  = 26,
5946                 .digest = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
5947                           "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
5948         }, {
5949                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
5950                 .psize  = 62,
5951                 .digest = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
5952                           "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
5953         }, {
5954                 .plaintext = "12345678901234567890123456789012345678901234567890123456789012"
5955                            "345678901234567890",
5956                 .psize  = 80,
5957                 .digest = "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
5958                           "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
5959         }
5960
5961 };
5962
5963 /*
5964  * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
5965  */
5966 static const struct hash_testvec rmd160_tv_template[] = {
5967         {
5968                 .digest = "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
5969                           "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
5970         }, {
5971                 .plaintext = "a",
5972                 .psize  = 1,
5973                 .digest = "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
5974                           "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
5975         }, {
5976                 .plaintext = "abc",
5977                 .psize  = 3,
5978                 .digest = "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
5979                           "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
5980         }, {
5981                 .plaintext = "message digest",
5982                 .psize  = 14,
5983                 .digest = "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
5984                           "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
5985         }, {
5986                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
5987                 .psize  = 26,
5988                 .digest = "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
5989                           "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
5990         }, {
5991                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
5992                              "fghijklmnopqrstuvwxyz0123456789",
5993                 .psize  = 62,
5994                 .digest = "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
5995                           "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
5996         }, {
5997                 .plaintext = "1234567890123456789012345678901234567890"
5998                              "1234567890123456789012345678901234567890",
5999                 .psize  = 80,
6000                 .digest = "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
6001                           "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
6002         }, {
6003                 .plaintext = "abcdbcdecdefdefgefghfghighij"
6004                              "hijkijkljklmklmnlmnomnopnopq",
6005                 .psize  = 56,
6006                 .digest = "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
6007                           "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
6008         }, {
6009                 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
6010                              "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
6011                              "lmnopqrsmnopqrstnopqrstu",
6012                 .psize  = 112,
6013                 .digest = "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
6014                           "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
6015         }, {
6016                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
6017                 .psize  = 32,
6018                 .digest = "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
6019                           "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
6020         }
6021 };
6022
6023 static const u8 zeroes[4096] = { [0 ... 4095] = 0 };
6024 static const u8 ones[4096] = { [0 ... 4095] = 0xff };
6025
6026 static const struct hash_testvec crc64_rocksoft_tv_template[] = {
6027         {
6028                 .plaintext      = zeroes,
6029                 .psize          = 4096,
6030                 .digest         = "\x4e\xb6\x22\xeb\x67\xd3\x82\x64",
6031         }, {
6032                 .plaintext      = ones,
6033                 .psize          = 4096,
6034                 .digest         = "\xac\xa3\xec\x02\x73\xba\xdd\xc0",
6035         }
6036 };
6037
6038 static const struct hash_testvec crct10dif_tv_template[] = {
6039         {
6040                 .plaintext      = "abc",
6041                 .psize          = 3,
6042                 .digest         = (u8 *)(u16 []){ 0x443b },
6043         }, {
6044                 .plaintext      = "1234567890123456789012345678901234567890"
6045                                   "123456789012345678901234567890123456789",
6046                 .psize          = 79,
6047                 .digest         = (u8 *)(u16 []){ 0x4b70 },
6048         }, {
6049                 .plaintext      = "abcdddddddddddddddddddddddddddddddddddddddd"
6050                                   "ddddddddddddd",
6051                 .psize          = 56,
6052                 .digest         = (u8 *)(u16 []){ 0x9ce3 },
6053         }, {
6054                 .plaintext      = "1234567890123456789012345678901234567890"
6055                                   "1234567890123456789012345678901234567890"
6056                                   "1234567890123456789012345678901234567890"
6057                                   "1234567890123456789012345678901234567890"
6058                                   "1234567890123456789012345678901234567890"
6059                                   "1234567890123456789012345678901234567890"
6060                                   "1234567890123456789012345678901234567890"
6061                                   "123456789012345678901234567890123456789",
6062                 .psize          = 319,
6063                 .digest         = (u8 *)(u16 []){ 0x44c6 },
6064         }, {
6065                 .plaintext =    "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
6066                                 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
6067                                 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
6068                                 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
6069                                 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
6070                                 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
6071                                 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
6072                                 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
6073                                 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
6074                                 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
6075                                 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
6076                                 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
6077                                 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
6078                                 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
6079                                 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
6080                                 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
6081                                 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
6082                                 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
6083                                 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
6084                                 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
6085                                 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
6086                                 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
6087                                 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
6088                                 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
6089                                 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
6090                                 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
6091                                 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
6092                                 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
6093                                 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
6094                                 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
6095                                 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
6096                                 "\x47\xde\x75\x0c\x80\x17\xae\x22"
6097                                 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
6098                                 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
6099                                 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
6100                                 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
6101                                 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
6102                                 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
6103                                 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
6104                                 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
6105                                 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
6106                                 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
6107                                 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
6108                                 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
6109                                 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
6110                                 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
6111                                 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
6112                                 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
6113                                 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
6114                                 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
6115                                 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
6116                                 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
6117                                 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
6118                                 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
6119                                 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
6120                                 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
6121                                 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
6122                                 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
6123                                 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
6124                                 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
6125                                 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
6126                                 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
6127                                 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
6128                                 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
6129                                 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
6130                                 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
6131                                 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
6132                                 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
6133                                 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
6134                                 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
6135                                 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
6136                                 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
6137                                 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
6138                                 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
6139                                 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
6140                                 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
6141                                 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
6142                                 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
6143                                 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
6144                                 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
6145                                 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
6146                                 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
6147                                 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
6148                                 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
6149                                 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
6150                                 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
6151                                 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
6152                                 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
6153                                 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
6154                                 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
6155                                 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
6156                                 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
6157                                 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
6158                                 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
6159                                 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
6160                                 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
6161                                 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
6162                                 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
6163                                 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
6164                                 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
6165                                 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
6166                                 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
6167                                 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
6168                                 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
6169                                 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
6170                                 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
6171                                 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
6172                                 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
6173                                 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
6174                                 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
6175                                 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
6176                                 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
6177                                 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
6178                                 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
6179                                 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
6180                                 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
6181                                 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
6182                                 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
6183                                 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
6184                                 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
6185                                 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
6186                                 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
6187                                 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
6188                                 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
6189                                 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
6190                                 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
6191                                 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
6192                                 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
6193                                 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
6194                                 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
6195                                 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
6196                                 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
6197                                 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
6198                                 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
6199                                 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
6200                                 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
6201                                 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
6202                                 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
6203                                 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
6204                                 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
6205                                 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
6206                                 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
6207                                 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
6208                                 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
6209                                 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
6210                                 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
6211                                 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
6212                                 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
6213                                 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
6214                                 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
6215                                 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
6216                                 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
6217                                 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
6218                                 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
6219                                 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
6220                                 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
6221                                 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
6222                                 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
6223                                 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
6224                                 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
6225                                 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
6226                                 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
6227                                 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
6228                                 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
6229                                 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
6230                                 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
6231                                 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
6232                                 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
6233                                 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
6234                                 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
6235                                 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
6236                                 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
6237                                 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
6238                                 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
6239                                 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
6240                                 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
6241                                 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
6242                                 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
6243                                 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
6244                                 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
6245                                 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
6246                                 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
6247                                 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
6248                                 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
6249                                 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
6250                                 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
6251                                 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
6252                                 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
6253                                 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
6254                                 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
6255                                 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
6256                                 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
6257                                 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
6258                                 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
6259                                 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
6260                                 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
6261                                 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
6262                                 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
6263                                 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
6264                                 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
6265                                 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
6266                                 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
6267                                 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
6268                                 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
6269                                 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
6270                                 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
6271                                 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
6272                                 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
6273                                 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
6274                                 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
6275                                 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
6276                                 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
6277                                 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
6278                                 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
6279                                 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
6280                                 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
6281                                 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
6282                                 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
6283                                 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
6284                                 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
6285                                 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
6286                                 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
6287                                 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
6288                                 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
6289                                 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
6290                                 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
6291                                 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
6292                                 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
6293                                 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
6294                                 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
6295                                 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
6296                                 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
6297                                 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
6298                                 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
6299                                 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
6300                                 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
6301                                 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
6302                                 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
6303                                 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
6304                                 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
6305                                 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
6306                                 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
6307                                 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
6308                                 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
6309                                 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
6310                                 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
6311                                 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
6312                                 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
6313                                 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
6314                                 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
6315                                 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
6316                                 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
6317                                 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
6318                                 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
6319                                 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
6320                                 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
6321                 .psize = 2048,
6322                 .digest         = (u8 *)(u16 []){ 0x23ca },
6323         }
6324 };
6325
6326 /*
6327  * Streebog test vectors from RFC 6986 and GOST R 34.11-2012
6328  */
6329 static const struct hash_testvec streebog256_tv_template[] = {
6330         { /* M1 */
6331                 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
6332                 .psize = 63,
6333                 .digest =
6334                         "\x9d\x15\x1e\xef\xd8\x59\x0b\x89"
6335                         "\xda\xa6\xba\x6c\xb7\x4a\xf9\x27"
6336                         "\x5d\xd0\x51\x02\x6b\xb1\x49\xa4"
6337                         "\x52\xfd\x84\xe5\xe5\x7b\x55\x00",
6338         },
6339         { /* M2 */
6340                 .plaintext =
6341                         "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
6342                         "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
6343                         "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
6344                         "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
6345                         "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
6346                         "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
6347                         "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
6348                         "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
6349                         "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
6350                 .psize = 72,
6351                 .digest =
6352                         "\x9d\xd2\xfe\x4e\x90\x40\x9e\x5d"
6353                         "\xa8\x7f\x53\x97\x6d\x74\x05\xb0"
6354                         "\xc0\xca\xc6\x28\xfc\x66\x9a\x74"
6355                         "\x1d\x50\x06\x3c\x55\x7e\x8f\x50",
6356         },
6357 };
6358
6359 static const struct hash_testvec streebog512_tv_template[] = {
6360         { /* M1 */
6361                 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
6362                 .psize = 63,
6363                 .digest =
6364                         "\x1b\x54\xd0\x1a\x4a\xf5\xb9\xd5"
6365                         "\xcc\x3d\x86\xd6\x8d\x28\x54\x62"
6366                         "\xb1\x9a\xbc\x24\x75\x22\x2f\x35"
6367                         "\xc0\x85\x12\x2b\xe4\xba\x1f\xfa"
6368                         "\x00\xad\x30\xf8\x76\x7b\x3a\x82"
6369                         "\x38\x4c\x65\x74\xf0\x24\xc3\x11"
6370                         "\xe2\xa4\x81\x33\x2b\x08\xef\x7f"
6371                         "\x41\x79\x78\x91\xc1\x64\x6f\x48",
6372         },
6373         { /* M2 */
6374                 .plaintext =
6375                         "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
6376                         "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
6377                         "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
6378                         "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
6379                         "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
6380                         "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
6381                         "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
6382                         "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
6383                         "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
6384                 .psize = 72,
6385                 .digest =
6386                         "\x1e\x88\xe6\x22\x26\xbf\xca\x6f"
6387                         "\x99\x94\xf1\xf2\xd5\x15\x69\xe0"
6388                         "\xda\xf8\x47\x5a\x3b\x0f\xe6\x1a"
6389                         "\x53\x00\xee\xe4\x6d\x96\x13\x76"
6390                         "\x03\x5f\xe8\x35\x49\xad\xa2\xb8"
6391                         "\x62\x0f\xcd\x7c\x49\x6c\xe5\xb3"
6392                         "\x3f\x0c\xb9\xdd\xdc\x2b\x64\x60"
6393                         "\x14\x3b\x03\xda\xba\xc9\xfb\x28",
6394         },
6395 };
6396
6397 /*
6398  * Two HMAC-Streebog test vectors from RFC 7836 and R 50.1.113-2016 A
6399  */
6400 static const struct hash_testvec hmac_streebog256_tv_template[] = {
6401         {
6402                 .key =  "\x00\x01\x02\x03\x04\x05\x06\x07"
6403                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
6404                         "\x10\x11\x12\x13\x14\x15\x16\x17"
6405                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
6406                 .ksize  = 32,
6407                 .plaintext =
6408                         "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
6409                         "\x43\x41\x45\x65\x63\x78\x01\x00",
6410                 .psize  = 16,
6411                 .digest =
6412                         "\xa1\xaa\x5f\x7d\xe4\x02\xd7\xb3"
6413                         "\xd3\x23\xf2\x99\x1c\x8d\x45\x34"
6414                         "\x01\x31\x37\x01\x0a\x83\x75\x4f"
6415                         "\xd0\xaf\x6d\x7c\xd4\x92\x2e\xd9",
6416         },
6417 };
6418
6419 static const struct hash_testvec hmac_streebog512_tv_template[] = {
6420         {
6421                 .key =  "\x00\x01\x02\x03\x04\x05\x06\x07"
6422                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
6423                         "\x10\x11\x12\x13\x14\x15\x16\x17"
6424                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
6425                 .ksize  = 32,
6426                 .plaintext =
6427                         "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
6428                         "\x43\x41\x45\x65\x63\x78\x01\x00",
6429                 .psize  = 16,
6430                 .digest =
6431                         "\xa5\x9b\xab\x22\xec\xae\x19\xc6"
6432                         "\x5f\xbd\xe6\xe5\xf4\xe9\xf5\xd8"
6433                         "\x54\x9d\x31\xf0\x37\xf9\xdf\x9b"
6434                         "\x90\x55\x00\xe1\x71\x92\x3a\x77"
6435                         "\x3d\x5f\x15\x30\xf2\xed\x7e\x96"
6436                         "\x4c\xb2\xee\xdc\x29\xe9\xad\x2f"
6437                         "\x3a\xfe\x93\xb2\x81\x4f\x79\xf5"
6438                         "\x00\x0f\xfc\x03\x66\xc2\x51\xe6",
6439         },
6440 };
6441
6442 /* Example vectors below taken from
6443  * http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
6444  *
6445  * The rest taken from
6446  * https://github.com/adamws/oscca-sm3
6447  */
6448 static const struct hash_testvec sm3_tv_template[] = {
6449         {
6450                 .plaintext = "",
6451                 .psize = 0,
6452                 .digest = (u8 *)(u8 []) {
6453                         0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F,
6454                         0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F,
6455                         0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74,
6456                         0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B }
6457         }, {
6458                 .plaintext = "a",
6459                 .psize = 1,
6460                 .digest = (u8 *)(u8 []) {
6461                         0x62, 0x34, 0x76, 0xAC, 0x18, 0xF6, 0x5A, 0x29,
6462                         0x09, 0xE4, 0x3C, 0x7F, 0xEC, 0x61, 0xB4, 0x9C,
6463                         0x7E, 0x76, 0x4A, 0x91, 0xA1, 0x8C, 0xCB, 0x82,
6464                         0xF1, 0x91, 0x7A, 0x29, 0xC8, 0x6C, 0x5E, 0x88 }
6465         }, {
6466                 /* A.1. Example 1 */
6467                 .plaintext = "abc",
6468                 .psize = 3,
6469                 .digest = (u8 *)(u8 []) {
6470                         0x66, 0xC7, 0xF0, 0xF4, 0x62, 0xEE, 0xED, 0xD9,
6471                         0xD1, 0xF2, 0xD4, 0x6B, 0xDC, 0x10, 0xE4, 0xE2,
6472                         0x41, 0x67, 0xC4, 0x87, 0x5C, 0xF2, 0xF7, 0xA2,
6473                         0x29, 0x7D, 0xA0, 0x2B, 0x8F, 0x4B, 0xA8, 0xE0 }
6474         }, {
6475                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
6476                 .psize = 26,
6477                 .digest = (u8 *)(u8 []) {
6478                         0xB8, 0x0F, 0xE9, 0x7A, 0x4D, 0xA2, 0x4A, 0xFC,
6479                         0x27, 0x75, 0x64, 0xF6, 0x6A, 0x35, 0x9E, 0xF4,
6480                         0x40, 0x46, 0x2A, 0xD2, 0x8D, 0xCC, 0x6D, 0x63,
6481                         0xAD, 0xB2, 0x4D, 0x5C, 0x20, 0xA6, 0x15, 0x95 }
6482         }, {
6483                 /* A.1. Example 2 */
6484                 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdab"
6485                              "cdabcdabcdabcdabcd",
6486                 .psize = 64,
6487                 .digest = (u8 *)(u8 []) {
6488                         0xDE, 0xBE, 0x9F, 0xF9, 0x22, 0x75, 0xB8, 0xA1,
6489                         0x38, 0x60, 0x48, 0x89, 0xC1, 0x8E, 0x5A, 0x4D,
6490                         0x6F, 0xDB, 0x70, 0xE5, 0x38, 0x7E, 0x57, 0x65,
6491                         0x29, 0x3D, 0xCB, 0xA3, 0x9C, 0x0C, 0x57, 0x32 }
6492         }, {
6493                 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
6494                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
6495                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
6496                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
6497                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
6498                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
6499                              "abcdabcdabcdabcdabcdabcdabcdabcd",
6500                 .psize = 256,
6501                 .digest = (u8 *)(u8 []) {
6502                         0xB9, 0x65, 0x76, 0x4C, 0x8B, 0xEB, 0xB0, 0x91,
6503                         0xC7, 0x60, 0x2B, 0x74, 0xAF, 0xD3, 0x4E, 0xEF,
6504                         0xB5, 0x31, 0xDC, 0xCB, 0x4E, 0x00, 0x76, 0xD9,
6505                         0xB7, 0xCD, 0x81, 0x31, 0x99, 0xB4, 0x59, 0x71 }
6506         }
6507 };
6508
6509 /* Example vectors below taken from
6510  * GM/T 0042-2015 Appendix D.3
6511  */
6512 static const struct hash_testvec hmac_sm3_tv_template[] = {
6513         {
6514                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
6515                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6516                           "\x11\x12\x13\x14\x15\x16\x17\x18"
6517                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
6518                 .ksize  = 32,
6519                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
6520                              "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6521                 .psize  = 112,
6522                 .digest = "\xca\x05\xe1\x44\xed\x05\xd1\x85"
6523                           "\x78\x40\xd1\xf3\x18\xa4\xa8\x66"
6524                           "\x9e\x55\x9f\xc8\x39\x1f\x41\x44"
6525                           "\x85\xbf\xdf\x7b\xb4\x08\x96\x3a",
6526         }, {
6527                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
6528                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6529                           "\x11\x12\x13\x14\x15\x16\x17\x18"
6530                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
6531                           "\x21\x22\x23\x24\x25",
6532                 .ksize  = 37,
6533                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6534                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6535                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6536                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
6537                 .psize  = 50,
6538                 .digest = "\x22\x0b\xf5\x79\xde\xd5\x55\x39"
6539                           "\x3f\x01\x59\xf6\x6c\x99\x87\x78"
6540                           "\x22\xa3\xec\xf6\x10\xd1\x55\x21"
6541                           "\x54\xb4\x1d\x44\xb9\x4d\xb3\xae",
6542         }, {
6543                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6544                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6545                          "\x0b\x0b\x0b\x0b\x0b\x0b",
6546                 .ksize  = 32,
6547                 .plaintext = "Hi There",
6548                 .psize  = 8,
6549                 .digest = "\xc0\xba\x18\xc6\x8b\x90\xc8\x8b"
6550                           "\xc0\x7d\xe7\x94\xbf\xc7\xd2\xc8"
6551                           "\xd1\x9e\xc3\x1e\xd8\x77\x3b\xc2"
6552                           "\xb3\x90\xc9\x60\x4e\x0b\xe1\x1e",
6553         }, {
6554                 .key    = "Jefe",
6555                 .ksize  = 4,
6556                 .plaintext = "what do ya want for nothing?",
6557                 .psize  = 28,
6558                 .digest = "\x2e\x87\xf1\xd1\x68\x62\xe6\xd9"
6559                           "\x64\xb5\x0a\x52\x00\xbf\x2b\x10"
6560                           "\xb7\x64\xfa\xa9\x68\x0a\x29\x6a"
6561                           "\x24\x05\xf2\x4b\xec\x39\xf8\x82",
6562         },
6563 };
6564
6565 /*
6566  * SHA1 test vectors from FIPS PUB 180-1
6567  * Long vector from CAVS 5.0
6568  */
6569 static const struct hash_testvec sha1_tv_template[] = {
6570         {
6571                 .plaintext = "",
6572                 .psize  = 0,
6573                 .digest = "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
6574                           "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
6575         }, {
6576                 .plaintext = "abc",
6577                 .psize  = 3,
6578                 .digest = "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
6579                           "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
6580         }, {
6581                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6582                 .psize  = 56,
6583                 .digest = "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
6584                           "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
6585         }, {
6586                 .plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
6587                              "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
6588                              "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
6589                              "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
6590                              "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
6591                              "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
6592                              "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
6593                              "\x72\x28\x26\xc0\x66\x86\x9e\xda"
6594                              "\xcd\x73\xb2\x54\x80\x35\x18\x58"
6595                              "\x13\xe2\x26\x34\xa9\xda\x44\x00"
6596                              "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
6597                              "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
6598                              "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
6599                              "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
6600                              "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
6601                              "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
6602                              "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
6603                              "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
6604                              "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
6605                              "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
6606                              "\x5a\x90\x11",
6607                 .psize  = 163,
6608                 .digest = "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
6609                           "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
6610         }, {
6611                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
6612                 .psize  = 64,
6613                 .digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
6614                           "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
6615         }, {
6616                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
6617                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
6618                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
6619                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
6620                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
6621                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
6622                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
6623                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
6624                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
6625                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
6626                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
6627                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
6628                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
6629                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
6630                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
6631                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
6632                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
6633                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
6634                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
6635                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
6636                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
6637                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
6638                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
6639                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
6640                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
6641                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
6642                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
6643                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
6644                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
6645                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
6646                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
6647                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
6648                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
6649                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
6650                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
6651                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
6652                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
6653                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
6654                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
6655                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
6656                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
6657                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
6658                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
6659                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
6660                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
6661                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
6662                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
6663                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
6664                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
6665                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
6666                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
6667                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
6668                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
6669                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
6670                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
6671                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
6672                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
6673                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
6674                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
6675                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
6676                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
6677                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
6678                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
6679                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
6680                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
6681                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
6682                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
6683                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
6684                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
6685                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
6686                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
6687                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
6688                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
6689                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
6690                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
6691                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
6692                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
6693                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
6694                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
6695                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
6696                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
6697                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
6698                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
6699                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
6700                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
6701                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
6702                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
6703                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
6704                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
6705                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
6706                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
6707                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
6708                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
6709                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
6710                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
6711                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
6712                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
6713                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
6714                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
6715                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
6716                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
6717                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
6718                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
6719                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
6720                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
6721                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
6722                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
6723                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
6724                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
6725                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
6726                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
6727                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
6728                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
6729                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
6730                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
6731                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
6732                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
6733                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
6734                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
6735                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
6736                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
6737                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
6738                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
6739                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
6740                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
6741                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
6742                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
6743                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
6744                 .psize     = 1023,
6745                 .digest    = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
6746                              "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
6747                              "\x30\xd6\xc9\x85",
6748         }
6749 };
6750
6751
6752 /*
6753  * SHA224 test vectors from FIPS PUB 180-2
6754  */
6755 static const struct hash_testvec sha224_tv_template[] = {
6756         {
6757                 .plaintext = "",
6758                 .psize  = 0,
6759                 .digest = "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
6760                           "\x47\x61\x02\xbb\x28\x82\x34\xc4"
6761                           "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
6762                           "\xc5\xb3\xe4\x2f",
6763         }, {
6764                 .plaintext = "abc",
6765                 .psize  = 3,
6766                 .digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
6767                           "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
6768                           "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
6769                           "\xE3\x6C\x9D\xA7",
6770         }, {
6771                 .plaintext =
6772                 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6773                 .psize  = 56,
6774                 .digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
6775                           "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
6776                           "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
6777                           "\x52\x52\x25\x25",
6778         }, {
6779                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
6780                 .psize  = 64,
6781                 .digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
6782                           "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
6783                           "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
6784                           "\xef\x3b\xcb\x0e",
6785         }, {
6786                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
6787                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
6788                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
6789                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
6790                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
6791                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
6792                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
6793                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
6794                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
6795                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
6796                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
6797                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
6798                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
6799                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
6800                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
6801                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
6802                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
6803                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
6804                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
6805                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
6806                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
6807                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
6808                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
6809                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
6810                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
6811                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
6812                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
6813                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
6814                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
6815                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
6816                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
6817                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
6818                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
6819                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
6820                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
6821                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
6822                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
6823                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
6824                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
6825                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
6826                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
6827                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
6828                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
6829                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
6830                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
6831                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
6832                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
6833                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
6834                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
6835                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
6836                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
6837                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
6838                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
6839                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
6840                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
6841                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
6842                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
6843                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
6844                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
6845                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
6846                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
6847                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
6848                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
6849                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
6850                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
6851                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
6852                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
6853                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
6854                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
6855                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
6856                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
6857                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
6858                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
6859                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
6860                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
6861                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
6862                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
6863                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
6864                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
6865                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
6866                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
6867                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
6868                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
6869                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
6870                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
6871                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
6872                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
6873                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
6874                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
6875                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
6876                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
6877                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
6878                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
6879                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
6880                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
6881                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
6882                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
6883                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
6884                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
6885                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
6886                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
6887                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
6888                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
6889                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
6890                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
6891                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
6892                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
6893                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
6894                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
6895                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
6896                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
6897                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
6898                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
6899                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
6900                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
6901                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
6902                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
6903                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
6904                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
6905                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
6906                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
6907                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
6908                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
6909                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
6910                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
6911                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
6912                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
6913                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
6914                 .psize     = 1023,
6915                 .digest    = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
6916                              "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
6917                              "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
6918                              "\xe6\xf9\x4f\xcc",
6919         }
6920 };
6921
6922 /*
6923  * SHA256 test vectors from NIST
6924  */
6925 static const struct hash_testvec sha256_tv_template[] = {
6926         {
6927                 .plaintext = "",
6928                 .psize  = 0,
6929                 .digest = "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
6930                           "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
6931                           "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
6932                           "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
6933         }, {
6934                 .plaintext = "abc",
6935                 .psize  = 3,
6936                 .digest = "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
6937                           "\x41\x41\x40\xde\x5d\xae\x22\x23"
6938                           "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
6939                           "\xb4\x10\xff\x61\xf2\x00\x15\xad",
6940         }, {
6941                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6942                 .psize  = 56,
6943                 .digest = "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
6944                           "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
6945                           "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
6946                           "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
6947         }, {
6948                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
6949                 .psize  = 64,
6950                 .digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
6951                           "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
6952                           "\xd6\xff\x94\xa3\x72\x91\x85\x66"
6953                           "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
6954         }, {
6955                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
6956                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
6957                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
6958                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
6959                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
6960                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
6961                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
6962                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
6963                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
6964                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
6965                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
6966                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
6967                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
6968                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
6969                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
6970                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
6971                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
6972                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
6973                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
6974                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
6975                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
6976                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
6977                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
6978                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
6979                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
6980                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
6981                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
6982                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
6983                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
6984                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
6985                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
6986                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
6987                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
6988                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
6989                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
6990                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
6991                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
6992                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
6993                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
6994                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
6995                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
6996                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
6997                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
6998                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
6999                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
7000                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
7001                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
7002                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
7003                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
7004                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
7005                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
7006                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
7007                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
7008                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
7009                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
7010                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
7011                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
7012                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
7013                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
7014                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
7015                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
7016                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
7017                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
7018                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
7019                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
7020                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
7021                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
7022                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
7023                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
7024                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
7025                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
7026                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
7027                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
7028                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
7029                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
7030                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
7031                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
7032                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
7033                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
7034                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
7035                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
7036                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
7037                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
7038                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
7039                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
7040                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
7041                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
7042                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
7043                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
7044                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
7045                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
7046                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
7047                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
7048                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
7049                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
7050                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
7051                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
7052                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
7053                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
7054                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
7055                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
7056                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
7057                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
7058                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
7059                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
7060                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
7061                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
7062                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
7063                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
7064                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
7065                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
7066                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
7067                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
7068                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
7069                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
7070                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
7071                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
7072                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
7073                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
7074                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
7075                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
7076                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
7077                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
7078                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
7079                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
7080                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
7081                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
7082                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
7083                 .psize     = 1023,
7084                 .digest    = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
7085                              "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
7086                              "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
7087                              "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
7088         }
7089 };
7090
7091 /*
7092  * SHA384 test vectors from NIST and kerneli
7093  */
7094 static const struct hash_testvec sha384_tv_template[] = {
7095         {
7096                 .plaintext = "",
7097                 .psize  = 0,
7098                 .digest = "\x38\xb0\x60\xa7\x51\xac\x96\x38"
7099                           "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
7100                           "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
7101                           "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
7102                           "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
7103                           "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
7104         }, {
7105                 .plaintext= "abc",
7106                 .psize  = 3,
7107                 .digest = "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
7108                           "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
7109                           "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
7110                           "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
7111                           "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
7112                           "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
7113         }, {
7114                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
7115                 .psize  = 56,
7116                 .digest = "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
7117                           "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
7118                           "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
7119                           "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
7120                           "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
7121                           "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
7122         }, {
7123                 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
7124                            "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
7125                 .psize  = 112,
7126                 .digest = "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
7127                           "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
7128                           "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
7129                           "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
7130                           "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
7131                           "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
7132         }, {
7133                 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
7134                            "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
7135                 .psize  = 104,
7136                 .digest = "\x3d\x20\x89\x73\xab\x35\x08\xdb"
7137                           "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
7138                           "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
7139                           "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
7140                           "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
7141                           "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
7142         }, {
7143                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
7144                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
7145                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
7146                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
7147                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
7148                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
7149                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
7150                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
7151                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
7152                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
7153                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
7154                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
7155                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
7156                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
7157                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
7158                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
7159                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
7160                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
7161                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
7162                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
7163                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
7164                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
7165                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
7166                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
7167                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
7168                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
7169                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
7170                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
7171                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
7172                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
7173                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
7174                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
7175                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
7176                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
7177                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
7178                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
7179                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
7180                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
7181                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
7182                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
7183                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
7184                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
7185                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
7186                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
7187                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
7188                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
7189                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
7190                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
7191                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
7192                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
7193                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
7194                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
7195                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
7196                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
7197                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
7198                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
7199                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
7200                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
7201                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
7202                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
7203                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
7204                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
7205                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
7206                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
7207                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
7208                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
7209                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
7210                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
7211                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
7212                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
7213                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
7214                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
7215                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
7216                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
7217                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
7218                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
7219                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
7220                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
7221                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
7222                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
7223                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
7224                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
7225                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
7226                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
7227                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
7228                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
7229                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
7230                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
7231                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
7232                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
7233                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
7234                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
7235                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
7236                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
7237                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
7238                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
7239                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
7240                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
7241                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
7242                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
7243                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
7244                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
7245                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
7246                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
7247                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
7248                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
7249                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
7250                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
7251                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
7252                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
7253                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
7254                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
7255                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
7256                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
7257                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
7258                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
7259                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
7260                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
7261                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
7262                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
7263                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
7264                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
7265                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
7266                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
7267                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
7268                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
7269                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
7270                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
7271                 .psize     = 1023,
7272                 .digest    = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
7273                              "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
7274                              "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
7275                              "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
7276                              "\x75\x29\x62\x83\xae\x3f\x17\xab"
7277                              "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
7278         }
7279 };
7280
7281 /*
7282  * SHA512 test vectors from NIST and kerneli
7283  */
7284 static const struct hash_testvec sha512_tv_template[] = {
7285         {
7286                 .plaintext = "",
7287                 .psize  = 0,
7288                 .digest = "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
7289                           "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
7290                           "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
7291                           "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
7292                           "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
7293                           "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
7294                           "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
7295                           "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
7296         }, {
7297                 .plaintext = "abc",
7298                 .psize  = 3,
7299                 .digest = "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
7300                           "\xcc\x41\x73\x49\xae\x20\x41\x31"
7301                           "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
7302                           "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
7303                           "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
7304                           "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
7305                           "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
7306                           "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
7307         }, {
7308                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
7309                 .psize  = 56,
7310                 .digest = "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
7311                           "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
7312                           "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
7313                           "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
7314                           "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
7315                           "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
7316                           "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
7317                           "\x54\xec\x63\x12\x38\xca\x34\x45",
7318         }, {
7319                 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
7320                            "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
7321                 .psize  = 112,
7322                 .digest = "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
7323                           "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
7324                           "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
7325                           "\x72\x99\xae\xad\xb6\x88\x90\x18"
7326                           "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
7327                           "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
7328                           "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
7329                           "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
7330         }, {
7331                 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
7332                            "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
7333                 .psize  = 104,
7334                 .digest = "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
7335                           "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
7336                           "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
7337                           "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
7338                           "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
7339                           "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
7340                           "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
7341                           "\xed\xb4\x19\x87\x23\x28\x50\xc9",
7342         }, {
7343                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
7344                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
7345                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
7346                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
7347                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
7348                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
7349                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
7350                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
7351                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
7352                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
7353                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
7354                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
7355                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
7356                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
7357                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
7358                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
7359                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
7360                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
7361                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
7362                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
7363                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
7364                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
7365                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
7366                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
7367                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
7368                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
7369                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
7370                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
7371                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
7372                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
7373                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
7374                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
7375                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
7376                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
7377                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
7378                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
7379                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
7380                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
7381                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
7382                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
7383                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
7384                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
7385                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
7386                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
7387                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
7388                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
7389                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
7390                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
7391                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
7392                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
7393                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
7394                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
7395                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
7396                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
7397                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
7398                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
7399                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
7400                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
7401                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
7402                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
7403                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
7404                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
7405                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
7406                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
7407                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
7408                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
7409                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
7410                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
7411                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
7412                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
7413                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
7414                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
7415                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
7416                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
7417                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
7418                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
7419                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
7420                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
7421                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
7422                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
7423                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
7424                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
7425                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
7426                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
7427                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
7428                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
7429                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
7430                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
7431                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
7432                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
7433                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
7434                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
7435                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
7436                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
7437                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
7438                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
7439                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
7440                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
7441                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
7442                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
7443                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
7444                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
7445                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
7446                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
7447                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
7448                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
7449                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
7450                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
7451                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
7452                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
7453                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
7454                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
7455                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
7456                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
7457                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
7458                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
7459                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
7460                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
7461                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
7462                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
7463                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
7464                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
7465                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
7466                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
7467                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
7468                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
7469                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
7470                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
7471                 .psize     = 1023,
7472                 .digest    = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
7473                              "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
7474                              "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
7475                              "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
7476                              "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
7477                              "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
7478                              "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
7479                              "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
7480         }
7481 };
7482
7483
7484 /*
7485  * WHIRLPOOL test vectors from Whirlpool package
7486  * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
7487  * submission
7488  */
7489 static const struct hash_testvec wp512_tv_template[] = {
7490         {
7491                 .plaintext = "",
7492                 .psize  = 0,
7493                 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
7494                           "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
7495                           "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
7496                           "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
7497                           "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
7498                           "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
7499                           "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
7500                           "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
7501
7502
7503         }, {
7504                 .plaintext = "a",
7505                 .psize  = 1,
7506                 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
7507                           "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
7508                           "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
7509                           "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
7510                           "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
7511                           "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
7512                           "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
7513                           "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
7514         }, {
7515                 .plaintext = "abc",
7516                 .psize  = 3,
7517                 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
7518                           "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
7519                           "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
7520                           "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
7521                           "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
7522                           "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
7523                           "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
7524                           "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
7525         }, {
7526                 .plaintext = "message digest",
7527                 .psize  = 14,
7528                 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
7529                           "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
7530                           "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
7531                           "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
7532                           "\x84\x21\x55\x76\x59\xEF\x55\xC1"
7533                           "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
7534                           "\x92\xED\x92\x00\x52\x83\x8F\x33"
7535                           "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
7536         }, {
7537                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
7538                 .psize  = 26,
7539                 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
7540                           "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
7541                           "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
7542                           "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
7543                           "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
7544                           "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
7545                           "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
7546                           "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
7547         }, {
7548                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
7549                            "abcdefghijklmnopqrstuvwxyz0123456789",
7550                 .psize  = 62,
7551                 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
7552                           "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
7553                           "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
7554                           "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
7555                           "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
7556                           "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
7557                           "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
7558                           "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
7559         }, {
7560                 .plaintext = "1234567890123456789012345678901234567890"
7561                            "1234567890123456789012345678901234567890",
7562                 .psize  = 80,
7563                 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
7564                           "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
7565                           "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
7566                           "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
7567                           "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
7568                           "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
7569                           "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
7570                           "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
7571         }, {
7572                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
7573                 .psize  = 32,
7574                 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
7575                           "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
7576                           "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
7577                           "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
7578                           "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
7579                           "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
7580                           "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
7581                           "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
7582         },
7583 };
7584
7585 static const struct hash_testvec wp384_tv_template[] = {
7586         {
7587                 .plaintext = "",
7588                 .psize  = 0,
7589                 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
7590                           "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
7591                           "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
7592                           "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
7593                           "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
7594                           "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
7595
7596
7597         }, {
7598                 .plaintext = "a",
7599                 .psize  = 1,
7600                 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
7601                           "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
7602                           "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
7603                           "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
7604                           "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
7605                           "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
7606         }, {
7607                 .plaintext = "abc",
7608                 .psize  = 3,
7609                 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
7610                           "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
7611                           "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
7612                           "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
7613                           "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
7614                           "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
7615         }, {
7616                 .plaintext = "message digest",
7617                 .psize  = 14,
7618                 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
7619                           "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
7620                           "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
7621                           "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
7622                           "\x84\x21\x55\x76\x59\xEF\x55\xC1"
7623                           "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
7624         }, {
7625                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
7626                 .psize  = 26,
7627                 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
7628                           "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
7629                           "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
7630                           "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
7631                           "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
7632                           "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
7633         }, {
7634                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
7635                            "abcdefghijklmnopqrstuvwxyz0123456789",
7636                 .psize  = 62,
7637                 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
7638                           "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
7639                           "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
7640                           "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
7641                           "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
7642                           "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
7643         }, {
7644                 .plaintext = "1234567890123456789012345678901234567890"
7645                            "1234567890123456789012345678901234567890",
7646                 .psize  = 80,
7647                 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
7648                           "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
7649                           "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
7650                           "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
7651                           "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
7652                           "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
7653         }, {
7654                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
7655                 .psize  = 32,
7656                 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
7657                           "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
7658                           "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
7659                           "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
7660                           "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
7661                           "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
7662         },
7663 };
7664
7665 static const struct hash_testvec wp256_tv_template[] = {
7666         {
7667                 .plaintext = "",
7668                 .psize  = 0,
7669                 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
7670                           "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
7671                           "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
7672                           "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
7673
7674
7675         }, {
7676                 .plaintext = "a",
7677                 .psize  = 1,
7678                 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
7679                           "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
7680                           "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
7681                           "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
7682         }, {
7683                 .plaintext = "abc",
7684                 .psize  = 3,
7685                 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
7686                           "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
7687                           "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
7688                           "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
7689         }, {
7690                 .plaintext = "message digest",
7691                 .psize  = 14,
7692                 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
7693                           "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
7694                           "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
7695                           "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
7696         }, {
7697                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
7698                 .psize  = 26,
7699                 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
7700                           "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
7701                           "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
7702                           "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
7703         }, {
7704                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
7705                            "abcdefghijklmnopqrstuvwxyz0123456789",
7706                 .psize  = 62,
7707                 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
7708                           "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
7709                           "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
7710                           "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
7711         }, {
7712                 .plaintext = "1234567890123456789012345678901234567890"
7713                            "1234567890123456789012345678901234567890",
7714                 .psize  = 80,
7715                 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
7716                           "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
7717                           "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
7718                           "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
7719         }, {
7720                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
7721                 .psize  = 32,
7722                 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
7723                           "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
7724                           "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
7725                           "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
7726         },
7727 };
7728
7729 static const struct hash_testvec ghash_tv_template[] =
7730 {
7731         {
7732                 .key    = "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
7733                           "\xff\xca\xff\x95\xf8\x30\xf0\x61",
7734                 .ksize  = 16,
7735                 .plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
7736                              "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
7737                 .psize  = 16,
7738                 .digest = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
7739                           "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
7740         }, {
7741                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7742                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
7743                 .ksize  = 16,
7744                 .plaintext = "what do ya want for nothing?",
7745                 .psize  = 28,
7746                 .digest = "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
7747                           "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
7748         }, {
7749                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7750                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
7751                 .ksize  = 16,
7752                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7753                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7754                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7755                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
7756                 .psize  = 50,
7757                 .digest = "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
7758                           "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
7759         }, {
7760                 .key    = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
7761                           "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
7762                 .ksize  = 16,
7763                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7764                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7765                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7766                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
7767                 .psize  = 50,
7768                 .digest = "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
7769                           "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
7770         }, {
7771                 .key    = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
7772                           "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
7773                 .ksize  = 16,
7774                 .plaintext = "Test With Truncation",
7775                 .psize  = 20,
7776                 .digest = "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
7777                           "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
7778         }, {
7779                 .key    = "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
7780                         "\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
7781                 .ksize  = 16,
7782                 .plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
7783                         "\x65\x72\x20\x4c\x61\x75\x73\x63"
7784                         "\x68\x65\x6e\x20\x75\x6e\x64\x20"
7785                         "\x53\x74\x61\x75\x6e\x65\x6e\x20"
7786                         "\x73\x65\x69\x20\x73\x74\x69\x6c"
7787                         "\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
7788                         "\x69\x6e\x20\x74\x69\x65\x66\x74"
7789                         "\x69\x65\x66\x65\x73\x20\x4c\x65"
7790                         "\x62\x65\x6e\x3b\x0a\x64\x61\x73"
7791                         "\x73\x20\x64\x75\x20\x77\x65\x69"
7792                         "\xc3\x9f\x74\x20\x77\x61\x73\x20"
7793                         "\x64\x65\x72\x20\x57\x69\x6e\x64"
7794                         "\x20\x64\x69\x72\x20\x77\x69\x6c"
7795                         "\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
7796                         "\x63\x68\x20\x64\x69\x65\x20\x42"
7797                         "\x69\x72\x6b\x65\x6e\x20\x62\x65"
7798                         "\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
7799                         "\x64\x20\x77\x65\x6e\x6e\x20\x64"
7800                         "\x69\x72\x20\x65\x69\x6e\x6d\x61"
7801                         "\x6c\x20\x64\x61\x73\x20\x53\x63"
7802                         "\x68\x77\x65\x69\x67\x65\x6e\x20"
7803                         "\x73\x70\x72\x61\x63\x68\x2c\x0a"
7804                         "\x6c\x61\x73\x73\x20\x64\x65\x69"
7805                         "\x6e\x65\x20\x53\x69\x6e\x6e\x65"
7806                         "\x20\x62\x65\x73\x69\x65\x67\x65"
7807                         "\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
7808                         "\x20\x48\x61\x75\x63\x68\x65\x20"
7809                         "\x67\x69\x62\x74\x20\x64\x69\x63"
7810                         "\x68\x2c\x20\x67\x69\x62\x20\x6e"
7811                         "\x61\x63\x68\x2c\x0a\x65\x72\x20"
7812                         "\x77\x69\x72\x64\x20\x64\x69\x63"
7813                         "\x68\x20\x6c\x69\x65\x62\x65\x6e"
7814                         "\x20\x75\x6e\x64\x20\x77\x69\x65"
7815                         "\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
7816                         "\x64\x20\x64\x61\x6e\x6e\x20\x6d"
7817                         "\x65\x69\x6e\x65\x20\x53\x65\x65"
7818                         "\x6c\x65\x20\x73\x65\x69\x74\x20"
7819                         "\x77\x65\x69\x74\x2c\x20\x73\x65"
7820                         "\x69\x20\x77\x65\x69\x74\x2c\x0a"
7821                         "\x64\x61\x73\x73\x20\x64\x69\x72"
7822                         "\x20\x64\x61\x73\x20\x4c\x65\x62"
7823                         "\x65\x6e\x20\x67\x65\x6c\x69\x6e"
7824                         "\x67\x65\x2c\x0a\x62\x72\x65\x69"
7825                         "\x74\x65\x20\x64\x69\x63\x68\x20"
7826                         "\x77\x69\x65\x20\x65\x69\x6e\x20"
7827                         "\x46\x65\x69\x65\x72\x6b\x6c\x65"
7828                         "\x69\x64\x0a\xc3\xbc\x62\x65\x72"
7829                         "\x20\x64\x69\x65\x20\x73\x69\x6e"
7830                         "\x6e\x65\x6e\x64\x65\x6e\x20\x44"
7831                         "\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
7832                 .psize  = 400,
7833                 .digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
7834                         "\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
7835         },
7836 };
7837
7838 /*
7839  * HMAC-MD5 test vectors from RFC2202
7840  * (These need to be fixed to not use strlen).
7841  */
7842 static const struct hash_testvec hmac_md5_tv_template[] =
7843 {
7844         {
7845                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
7846                 .ksize  = 16,
7847                 .plaintext = "Hi There",
7848                 .psize  = 8,
7849                 .digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
7850                           "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
7851         }, {
7852                 .key    = "Jefe",
7853                 .ksize  = 4,
7854                 .plaintext = "what do ya want for nothing?",
7855                 .psize  = 28,
7856                 .digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
7857                           "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
7858         }, {
7859                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
7860                 .ksize  = 16,
7861                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7862                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7863                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7864                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
7865                 .psize  = 50,
7866                 .digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
7867                           "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
7868         }, {
7869                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7870                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7871                           "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
7872                 .ksize  = 25,
7873                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7874                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7875                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7876                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
7877                 .psize  = 50,
7878                 .digest = "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
7879                           "\x3a\x75\x16\x47\x46\xff\xaa\x79",
7880         }, {
7881                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
7882                 .ksize  = 16,
7883                 .plaintext = "Test With Truncation",
7884                 .psize  = 20,
7885                 .digest = "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
7886                           "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
7887         }, {
7888                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7889                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7890                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7891                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7892                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7893                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7894                         "\xaa\xaa",
7895                 .ksize  = 80,
7896                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
7897                 .psize  = 54,
7898                 .digest = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
7899                           "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
7900         }, {
7901                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7902                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7903                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7904                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7905                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7906                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7907                         "\xaa\xaa",
7908                 .ksize  = 80,
7909                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
7910                            "Block-Size Data",
7911                 .psize  = 73,
7912                 .digest = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
7913                           "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
7914         },
7915 };
7916
7917 /*
7918  * HMAC-RIPEMD160 test vectors from RFC2286
7919  */
7920 static const struct hash_testvec hmac_rmd160_tv_template[] = {
7921         {
7922                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
7923                 .ksize  = 20,
7924                 .plaintext = "Hi There",
7925                 .psize  = 8,
7926                 .digest = "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
7927                           "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
7928         }, {
7929                 .key    = "Jefe",
7930                 .ksize  = 4,
7931                 .plaintext = "what do ya want for nothing?",
7932                 .psize  = 28,
7933                 .digest = "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
7934                           "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
7935         }, {
7936                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
7937                 .ksize  = 20,
7938                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7939                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7940                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7941                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
7942                 .psize  = 50,
7943                 .digest = "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
7944                           "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
7945         }, {
7946                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7947                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7948                           "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
7949                 .ksize  = 25,
7950                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7951                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7952                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7953                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
7954                 .psize  = 50,
7955                 .digest = "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
7956                           "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
7957         }, {
7958                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
7959                 .ksize  = 20,
7960                 .plaintext = "Test With Truncation",
7961                 .psize  = 20,
7962                 .digest = "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
7963                           "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
7964         }, {
7965                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7966                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7967                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7968                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7969                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7970                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7971                         "\xaa\xaa",
7972                 .ksize  = 80,
7973                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
7974                 .psize  = 54,
7975                 .digest = "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
7976                           "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
7977         }, {
7978                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7979                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7980                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7981                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7982                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7983                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7984                         "\xaa\xaa",
7985                 .ksize  = 80,
7986                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
7987                            "Block-Size Data",
7988                 .psize  = 73,
7989                 .digest = "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
7990                           "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
7991         },
7992 };
7993
7994 /*
7995  * HMAC-SHA1 test vectors from RFC2202
7996  */
7997 static const struct hash_testvec hmac_sha1_tv_template[] = {
7998         {
7999                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
8000                 .ksize  = 20,
8001                 .plaintext = "Hi There",
8002                 .psize  = 8,
8003                 .digest = "\xb6\x17\x31\x86\x55\x05\x72\x64"
8004                           "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
8005                           "\x46\xbe",
8006         }, {
8007                 .key    = "Jefe",
8008                 .ksize  = 4,
8009                 .plaintext = "what do ya want for nothing?",
8010                 .psize  = 28,
8011                 .digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
8012                           "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
8013                 .fips_skip = 1,
8014         }, {
8015                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
8016                 .ksize  = 20,
8017                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
8018                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
8019                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
8020                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
8021                 .psize  = 50,
8022                 .digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
8023                           "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
8024         }, {
8025                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
8026                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
8027                           "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
8028                 .ksize  = 25,
8029                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
8030                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
8031                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
8032                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
8033                 .psize  = 50,
8034                 .digest = "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
8035                           "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
8036         }, {
8037                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
8038                 .ksize  = 20,
8039                 .plaintext = "Test With Truncation",
8040                 .psize  = 20,
8041                 .digest = "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
8042                           "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
8043         }, {
8044                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8045                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8046                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8047                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8048                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8049                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8050                         "\xaa\xaa",
8051                 .ksize  = 80,
8052                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
8053                 .psize  = 54,
8054                 .digest = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
8055                           "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
8056         }, {
8057                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8058                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8059                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8060                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8061                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8062                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8063                         "\xaa\xaa",
8064                 .ksize  = 80,
8065                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
8066                            "Block-Size Data",
8067                 .psize  = 73,
8068                 .digest = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
8069                           "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
8070         },
8071 };
8072
8073
8074 /*
8075  * SHA224 HMAC test vectors from RFC4231
8076  */
8077 static const struct hash_testvec hmac_sha224_tv_template[] = {
8078         {
8079                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8080                         "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8081                         "\x0b\x0b\x0b\x0b",
8082                 .ksize  = 20,
8083                 /*  ("Hi There") */
8084                 .plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
8085                 .psize  = 8,
8086                 .digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
8087                         "\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
8088                         "\x47\xb4\xb1\x16\x99\x12\xba\x4f"
8089                         "\x53\x68\x4b\x22",
8090         }, {
8091                 .key    = "Jefe",
8092                 .ksize  = 4,
8093                 /* ("what do ya want for nothing?") */
8094                 .plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
8095                         "\x79\x61\x20\x77\x61\x6e\x74\x20"
8096                         "\x66\x6f\x72\x20\x6e\x6f\x74\x68"
8097                         "\x69\x6e\x67\x3f",
8098                 .psize  = 28,
8099                 .digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
8100                         "\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
8101                         "\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
8102                         "\x8f\xd0\x5e\x44",
8103                 .fips_skip = 1,
8104         }, {
8105                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8106                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8107                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8108                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8109                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8110                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8111                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8112                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8113                         "\xaa\xaa\xaa\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",
8122                 .ksize  = 131,
8123                 /* ("Test Using Larger Than Block-Size Key - Hash Key First") */
8124                 .plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
8125                         "\x6e\x67\x20\x4c\x61\x72\x67\x65"
8126                         "\x72\x20\x54\x68\x61\x6e\x20\x42"
8127                         "\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
8128                         "\x65\x20\x4b\x65\x79\x20\x2d\x20"
8129                         "\x48\x61\x73\x68\x20\x4b\x65\x79"
8130                         "\x20\x46\x69\x72\x73\x74",
8131                 .psize  = 54,
8132                 .digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
8133                         "\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
8134                         "\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
8135                         "\x3f\xa6\x87\x0e",
8136         }, {
8137                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8138                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8139                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8140                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8141                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8142                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8143                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8144                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8145                         "\xaa\xaa\xaa\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",
8154                 .ksize  = 131,
8155                 /* ("This is a test using a larger than block-size key and a")
8156                 (" larger than block-size data. The key needs to be")
8157                         (" hashed before being used by the HMAC algorithm.") */
8158                 .plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
8159                         "\x61\x20\x74\x65\x73\x74\x20\x75"
8160                         "\x73\x69\x6e\x67\x20\x61\x20\x6c"
8161                         "\x61\x72\x67\x65\x72\x20\x74\x68"
8162                         "\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
8163                         "\x2d\x73\x69\x7a\x65\x20\x6b\x65"
8164                         "\x79\x20\x61\x6e\x64\x20\x61\x20"
8165                         "\x6c\x61\x72\x67\x65\x72\x20\x74"
8166                         "\x68\x61\x6e\x20\x62\x6c\x6f\x63"
8167                         "\x6b\x2d\x73\x69\x7a\x65\x20\x64"
8168                         "\x61\x74\x61\x2e\x20\x54\x68\x65"
8169                         "\x20\x6b\x65\x79\x20\x6e\x65\x65"
8170                         "\x64\x73\x20\x74\x6f\x20\x62\x65"
8171                         "\x20\x68\x61\x73\x68\x65\x64\x20"
8172                         "\x62\x65\x66\x6f\x72\x65\x20\x62"
8173                         "\x65\x69\x6e\x67\x20\x75\x73\x65"
8174                         "\x64\x20\x62\x79\x20\x74\x68\x65"
8175                         "\x20\x48\x4d\x41\x43\x20\x61\x6c"
8176                         "\x67\x6f\x72\x69\x74\x68\x6d\x2e",
8177                 .psize  = 152,
8178                 .digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
8179                         "\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
8180                         "\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
8181                         "\xf6\xf5\x65\xd1",
8182         },
8183 };
8184
8185 /*
8186  * HMAC-SHA256 test vectors from
8187  * draft-ietf-ipsec-ciph-sha-256-01.txt
8188  */
8189 static const struct hash_testvec hmac_sha256_tv_template[] = {
8190         {
8191                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
8192                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
8193                           "\x11\x12\x13\x14\x15\x16\x17\x18"
8194                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
8195                 .ksize  = 32,
8196                 .plaintext = "abc",
8197                 .psize  = 3,
8198                 .digest = "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
8199                           "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
8200                           "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
8201                           "\x92\x75\x90\x21\xcf\xab\x81\x81",
8202         }, {
8203                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
8204                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
8205                           "\x11\x12\x13\x14\x15\x16\x17\x18"
8206                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
8207                 .ksize  = 32,
8208                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
8209                 .psize  = 56,
8210                 .digest = "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
8211                           "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
8212                           "\xe6\x98\xe3\x61\x19\x42\x11\x49"
8213                           "\xea\x8c\x71\x24\x56\x69\x7d\x30",
8214         }, {
8215                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
8216                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
8217                           "\x11\x12\x13\x14\x15\x16\x17\x18"
8218                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
8219                 .ksize  = 32,
8220                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
8221                            "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
8222                 .psize  = 112,
8223                 .digest = "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
8224                           "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
8225                           "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
8226                           "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
8227         }, {
8228                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8229                         "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8230                         "\x0b\x0b\x0b\x0b\x0b\x0b",
8231                 .ksize  = 32,
8232                 .plaintext = "Hi There",
8233                 .psize  = 8,
8234                 .digest = "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
8235                           "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
8236                           "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
8237                           "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
8238         }, {
8239                 .key    = "Jefe",
8240                 .ksize  = 4,
8241                 .plaintext = "what do ya want for nothing?",
8242                 .psize  = 28,
8243                 .digest = "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
8244                           "\x6a\x04\x24\x26\x08\x95\x75\xc7"
8245                           "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
8246                           "\x9d\xec\x58\xb9\x64\xec\x38\x43",
8247                 .fips_skip = 1,
8248         }, {
8249                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8250                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8251                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
8252                 .ksize  = 32,
8253                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
8254                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
8255                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
8256                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
8257                 .psize  = 50,
8258                 .digest = "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
8259                           "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
8260                           "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
8261                           "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
8262         }, {
8263                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
8264                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
8265                           "\x11\x12\x13\x14\x15\x16\x17\x18"
8266                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
8267                           "\x21\x22\x23\x24\x25",
8268                 .ksize  = 37,
8269                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
8270                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
8271                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
8272                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
8273                 .psize  = 50,
8274                 .digest = "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
8275                           "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
8276                           "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
8277                           "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
8278         }, {
8279                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
8280                         "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
8281                         "\x0c\x0c\x0c\x0c\x0c\x0c",
8282                 .ksize  = 32,
8283                 .plaintext = "Test With Truncation",
8284                 .psize  = 20,
8285                 .digest = "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
8286                           "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
8287                           "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
8288                           "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
8289         }, {
8290                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8291                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8292                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8293                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8294                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8295                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8296                         "\xaa\xaa",
8297                 .ksize  = 80,
8298                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
8299                 .psize  = 54,
8300                 .digest = "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
8301                           "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
8302                           "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
8303                           "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
8304         }, {
8305                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8306                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8307                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8308                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8309                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8310                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8311                         "\xaa\xaa",
8312                 .ksize  = 80,
8313                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
8314                            "One Block-Size Data",
8315                 .psize  = 73,
8316                 .digest = "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
8317                           "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
8318                           "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
8319                           "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
8320         },
8321 };
8322
8323 static const struct hash_testvec aes_cmac128_tv_template[] = {
8324         { /* From NIST Special Publication 800-38B, AES-128 */
8325                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
8326                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
8327                 .plaintext      = zeroed_string,
8328                 .digest         = "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
8329                                   "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
8330                 .psize          = 0,
8331                 .ksize          = 16,
8332         }, {
8333                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
8334                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
8335                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
8336                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
8337                 .digest         = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
8338                                   "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
8339                 .psize          = 16,
8340                 .ksize          = 16,
8341         }, {
8342                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
8343                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
8344                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
8345                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
8346                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
8347                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
8348                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
8349                 .digest         = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
8350                                   "\x30\xca\x32\x61\x14\x97\xc8\x27",
8351                 .psize          = 40,
8352                 .ksize          = 16,
8353         }, {
8354                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
8355                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
8356                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
8357                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
8358                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
8359                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
8360                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
8361                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
8362                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
8363                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
8364                 .digest         = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
8365                                   "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
8366                 .psize          = 64,
8367                 .ksize          = 16,
8368         }, { /* From NIST Special Publication 800-38B, AES-256 */
8369                 .key            = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
8370                                   "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
8371                                   "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
8372                                   "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
8373                 .plaintext      = zeroed_string,
8374                 .digest         = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
8375                                   "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
8376                 .psize          = 0,
8377                 .ksize          = 32,
8378         }, {
8379                 .key            = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
8380                                   "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
8381                                   "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
8382                                   "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
8383                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
8384                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
8385                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
8386                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
8387                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
8388                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
8389                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
8390                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
8391                 .digest         = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
8392                                   "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
8393                 .psize          = 64,
8394                 .ksize          = 32,
8395         }
8396 };
8397
8398 static const struct hash_testvec aes_cbcmac_tv_template[] = {
8399         {
8400                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
8401                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
8402                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
8403                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
8404                 .digest         = "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
8405                                   "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
8406                 .psize          = 16,
8407                 .ksize          = 16,
8408         }, {
8409                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
8410                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
8411                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
8412                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
8413                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
8414                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
8415                                   "\x30",
8416                 .digest         = "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
8417                                   "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
8418                 .psize          = 33,
8419                 .ksize          = 16,
8420         }, {
8421                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
8422                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
8423                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
8424                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
8425                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
8426                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
8427                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
8428                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
8429                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
8430                                   "\xad\x2b\x41\x7b\xe6\x6c\x37",
8431                 .digest         = "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
8432                                   "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
8433                 .psize          = 63,
8434                 .ksize          = 16,
8435         }, {
8436                 .key            = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
8437                                   "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
8438                                   "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
8439                                   "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
8440                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
8441                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
8442                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
8443                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
8444                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
8445                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
8446                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
8447                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
8448                                   "\x1c",
8449                 .digest         = "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
8450                                   "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
8451                 .psize          = 65,
8452                 .ksize          = 32,
8453         }
8454 };
8455
8456 static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
8457 /*
8458  * From NIST Special Publication 800-38B, Three Key TDEA
8459  * Corrected test vectors from:
8460  *  http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
8461  */
8462         {
8463                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
8464                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
8465                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
8466                 .plaintext      = zeroed_string,
8467                 .digest         = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
8468                 .psize          = 0,
8469                 .ksize          = 24,
8470         }, {
8471                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
8472                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
8473                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
8474                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
8475                 .digest         = "\x8e\x8f\x29\x31\x36\x28\x37\x97",
8476                 .psize          = 8,
8477                 .ksize          = 24,
8478         }, {
8479                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
8480                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
8481                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
8482                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
8483                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
8484                                   "\xae\x2d\x8a\x57",
8485                 .digest         = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
8486                 .psize          = 20,
8487                 .ksize          = 24,
8488         }, {
8489                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
8490                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
8491                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
8492                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
8493                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
8494                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
8495                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
8496                 .digest         = "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
8497                 .psize          = 32,
8498                 .ksize          = 24,
8499         }
8500 };
8501
8502 static const struct hash_testvec aes_xcbc128_tv_template[] = {
8503         {
8504                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
8505                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8506                 .plaintext = zeroed_string,
8507                 .digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
8508                           "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
8509                 .psize  = 0,
8510                 .ksize  = 16,
8511         }, {
8512                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
8513                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8514                 .plaintext = "\x00\x01\x02",
8515                 .digest = "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
8516                           "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
8517                 .psize  = 3,
8518                 .ksize  = 16,
8519         } , {
8520                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
8521                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8522                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
8523                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8524                 .digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
8525                           "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
8526                 .psize  = 16,
8527                 .ksize  = 16,
8528         }, {
8529                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
8530                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8531                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
8532                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8533                              "\x10\x11\x12\x13",
8534                 .digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
8535                           "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
8536                 .psize  = 20,
8537                 .ksize  = 16,
8538         }, {
8539                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
8540                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8541                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
8542                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8543                              "\x10\x11\x12\x13\x14\x15\x16\x17"
8544                              "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
8545                 .digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
8546                           "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
8547                 .psize  = 32,
8548                 .ksize  = 16,
8549         }, {
8550                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
8551                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8552                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
8553                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8554                              "\x10\x11\x12\x13\x14\x15\x16\x17"
8555                              "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
8556                              "\x20\x21",
8557                 .digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
8558                           "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
8559                 .psize  = 34,
8560                 .ksize  = 16,
8561         }
8562 };
8563
8564 static const char vmac64_string1[144] = {
8565         '\0',     '\0',   '\0',   '\0',   '\0',   '\0',   '\0',   '\0',
8566         '\0',     '\0',   '\0',   '\0',   '\0',   '\0',   '\0',   '\0',
8567         '\x01', '\x01', '\x01', '\x01', '\x02', '\x03', '\x02', '\x02',
8568         '\x02', '\x04', '\x01', '\x07', '\x04', '\x01', '\x04', '\x03',
8569 };
8570
8571 static const char vmac64_string2[144] = {
8572         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
8573         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
8574          'a',  'b',  'c',
8575 };
8576
8577 static const char vmac64_string3[144] = {
8578         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
8579         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
8580          'a',  'b',  'c',  'a',  'b',  'c',  'a',  'b',
8581          'c',  'a',  'b',  'c',  'a',  'b',  'c',  'a',
8582          'b',  'c',  'a',  'b',  'c',  'a',  'b',  'c',
8583          'a',  'b',  'c',  'a',  'b',  'c',  'a',  'b',
8584          'c',  'a',  'b',  'c',  'a',  'b',  'c',  'a',
8585          'b',  'c',  'a',  'b',  'c',  'a',  'b',  'c',
8586 };
8587
8588 static const char vmac64_string4[33] = {
8589         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
8590         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
8591         'b',   'c',  'e',  'f',  'i',  'j',  'l',  'm',
8592         'o',   'p',  'r',  's',  't',  'u',  'w',  'x',
8593         'z',
8594 };
8595
8596 static const char vmac64_string5[143] = {
8597         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
8598         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
8599          'r',  'm',  'b',  't',  'c',  'o',  'l',  'k',
8600          ']',  '%',  '9',  '2',  '7',  '!',  'A',
8601 };
8602
8603 static const char vmac64_string6[145] = {
8604         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
8605         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
8606          'p',  't',  '*',  '7',  'l',  'i',  '!',  '#',
8607          'w',  '0',  'z',  '/',  '4',  'A',  'n',
8608 };
8609
8610 static const struct hash_testvec vmac64_aes_tv_template[] = {
8611         { /* draft-krovetz-vmac-01 test vector 1 */
8612                 .key    = "abcdefghijklmnop",
8613                 .ksize  = 16,
8614                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi",
8615                 .psize  = 16,
8616                 .digest = "\x25\x76\xbe\x1c\x56\xd8\xb8\x1b",
8617         }, { /* draft-krovetz-vmac-01 test vector 2 */
8618                 .key    = "abcdefghijklmnop",
8619                 .ksize  = 16,
8620                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghiabc",
8621                 .psize  = 19,
8622                 .digest = "\x2d\x37\x6c\xf5\xb1\x81\x3c\xe5",
8623         }, { /* draft-krovetz-vmac-01 test vector 3 */
8624                 .key    = "abcdefghijklmnop",
8625                 .ksize  = 16,
8626                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
8627                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
8628                 .psize  = 64,
8629                 .digest = "\xe8\x42\x1f\x61\xd5\x73\xd2\x98",
8630         }, { /* draft-krovetz-vmac-01 test vector 4 */
8631                 .key    = "abcdefghijklmnop",
8632                 .ksize  = 16,
8633                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
8634                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
8635                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
8636                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
8637                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
8638                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
8639                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
8640                 .psize  = 316,
8641                 .digest = "\x44\x92\xdf\x6c\x5c\xac\x1b\xbe",
8642         }, {
8643                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
8644                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8645                 .ksize  = 16,
8646                 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
8647                           "\x00\x00\x00\x00\x00\x00\x00\x00",
8648                 .psize  = 16,
8649                 .digest = "\x54\x7b\xa4\x77\x35\x80\x58\x07",
8650         }, {
8651                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
8652                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8653                 .ksize  = 16,
8654                 .plaintext = vmac64_string1,
8655                 .psize  = sizeof(vmac64_string1),
8656                 .digest = "\xa1\x8c\x68\xae\xd3\x3c\xf5\xce",
8657         }, {
8658                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
8659                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8660                 .ksize  = 16,
8661                 .plaintext = vmac64_string2,
8662                 .psize  = sizeof(vmac64_string2),
8663                 .digest = "\x2d\x14\xbd\x81\x73\xb0\x27\xc9",
8664         }, {
8665                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
8666                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8667                 .ksize  = 16,
8668                 .plaintext = vmac64_string3,
8669                 .psize  = sizeof(vmac64_string3),
8670                 .digest = "\x19\x0b\x47\x98\x8c\x95\x1a\x8d",
8671         }, {
8672                 .key    = "abcdefghijklmnop",
8673                 .ksize  = 16,
8674                 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
8675                           "\x00\x00\x00\x00\x00\x00\x00\x00",
8676                 .psize  = 16,
8677                 .digest = "\x84\x8f\x55\x9e\x26\xa1\x89\x3b",
8678         }, {
8679                 .key    = "abcdefghijklmnop",
8680                 .ksize  = 16,
8681                 .plaintext = vmac64_string1,
8682                 .psize  = sizeof(vmac64_string1),
8683                 .digest = "\xc2\x74\x8d\xf6\xb0\xab\x5e\xab",
8684         }, {
8685                 .key    = "abcdefghijklmnop",
8686                 .ksize  = 16,
8687                 .plaintext = vmac64_string2,
8688                 .psize  = sizeof(vmac64_string2),
8689                 .digest = "\xdf\x09\x7b\x3d\x42\x68\x15\x11",
8690         }, {
8691                 .key    = "abcdefghijklmnop",
8692                 .ksize  = 16,
8693                 .plaintext = vmac64_string3,
8694                 .psize  = sizeof(vmac64_string3),
8695                 .digest = "\xd4\xfa\x8f\xed\xe1\x8f\x32\x8b",
8696         }, {
8697                 .key    = "a09b5cd!f#07K\x00\x00\x00",
8698                 .ksize  = 16,
8699                 .plaintext = vmac64_string4,
8700                 .psize  = sizeof(vmac64_string4),
8701                 .digest = "\x5f\xa1\x4e\x42\xea\x0f\xa5\xab",
8702         }, {
8703                 .key    = "a09b5cd!f#07K\x00\x00\x00",
8704                 .ksize  = 16,
8705                 .plaintext = vmac64_string5,
8706                 .psize  = sizeof(vmac64_string5),
8707                 .digest = "\x60\x67\xe8\x1d\xbc\x98\x31\x25",
8708         }, {
8709                 .key    = "a09b5cd!f#07K\x00\x00\x00",
8710                 .ksize  = 16,
8711                 .plaintext = vmac64_string6,
8712                 .psize  = sizeof(vmac64_string6),
8713                 .digest = "\x41\xeb\x65\x95\x47\x9b\xae\xc4",
8714         },
8715 };
8716
8717 /*
8718  * SHA384 HMAC test vectors from RFC4231
8719  */
8720
8721 static const struct hash_testvec hmac_sha384_tv_template[] = {
8722         {
8723                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8724                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8725                           "\x0b\x0b\x0b\x0b",
8726                 .ksize  = 20,
8727                 .plaintext = "Hi There",
8728                 .psize  = 8,
8729                 .digest = "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
8730                           "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
8731                           "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
8732                           "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
8733                           "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
8734                           "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
8735         }, {
8736                 .key    = "Jefe",
8737                 .ksize  = 4,
8738                 .plaintext = "what do ya want for nothing?",
8739                 .psize  = 28,
8740                 .digest = "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
8741                           "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
8742                           "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
8743                           "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
8744                           "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
8745                           "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
8746                 .fips_skip = 1,
8747         }, {
8748                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8749                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8750                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8751                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8752                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8753                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8754                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8755                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8756                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8757                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8758                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8759                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8760                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8761                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8762                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8763                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8764                           "\xaa\xaa\xaa",
8765                 .ksize  = 131,
8766                 .plaintext = "Test Using Larger Than Block-Siz"
8767                            "e Key - Hash Key First",
8768                 .psize  = 54,
8769                 .digest = "\x4e\xce\x08\x44\x85\x81\x3e\x90"
8770                           "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
8771                           "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
8772                           "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
8773                           "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
8774                           "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
8775         }, {
8776                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8777                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8778                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8779                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8780                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8781                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8782                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8783                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8784                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8785                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8786                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8787                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8788                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8789                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8790                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8791                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8792                           "\xaa\xaa\xaa",
8793                 .ksize  = 131,
8794                 .plaintext = "This is a test u"
8795                            "sing a larger th"
8796                            "an block-size ke"
8797                            "y and a larger t"
8798                            "han block-size d"
8799                            "ata. The key nee"
8800                            "ds to be hashed "
8801                            "before being use"
8802                            "d by the HMAC al"
8803                            "gorithm.",
8804                 .psize  = 152,
8805                 .digest = "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
8806                           "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
8807                           "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
8808                           "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
8809                           "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
8810                           "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
8811         },
8812 };
8813
8814 /*
8815  * SHA512 HMAC test vectors from RFC4231
8816  */
8817
8818 static const struct hash_testvec hmac_sha512_tv_template[] = {
8819         {
8820                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8821                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8822                           "\x0b\x0b\x0b\x0b",
8823                 .ksize  = 20,
8824                 .plaintext = "Hi There",
8825                 .psize  = 8,
8826                 .digest = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
8827                           "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
8828                           "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
8829                           "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
8830                           "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
8831                           "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
8832                           "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
8833                           "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
8834         }, {
8835                 .key    = "Jefe",
8836                 .ksize  = 4,
8837                 .plaintext = "what do ya want for nothing?",
8838                 .psize  = 28,
8839                 .digest = "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
8840                           "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
8841                           "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
8842                           "\x10\x27\x0c\xd7\xea\x25\x05\x54"
8843                           "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
8844                           "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
8845                           "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
8846                           "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
8847                 .fips_skip = 1,
8848         }, {
8849                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8850                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8851                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8852                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8853                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8854                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8855                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8856                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8857                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8858                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8859                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8860                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8861                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8862                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8863                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8864                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8865                           "\xaa\xaa\xaa",
8866                 .ksize  = 131,
8867                 .plaintext = "Test Using Large"
8868                            "r Than Block-Siz"
8869                            "e Key - Hash Key"
8870                            " First",
8871                 .psize  = 54,
8872                 .digest = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
8873                         "\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
8874                         "\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
8875                         "\x12\x1b\x01\x37\x83\xf8\xf3\x52"
8876                         "\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
8877                         "\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
8878                         "\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
8879                         "\x8b\x91\x5a\x98\x5d\x78\x65\x98",
8880         }, {
8881                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8882                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8883                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8884                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8885                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8886                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8887                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8888                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8889                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8890                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8891                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8892                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8893                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8894                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8895                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8896                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8897                         "\xaa\xaa\xaa",
8898                 .ksize  = 131,
8899                 .plaintext =
8900                           "This is a test u"
8901                           "sing a larger th"
8902                           "an block-size ke"
8903                           "y and a larger t"
8904                           "han block-size d"
8905                           "ata. The key nee"
8906                           "ds to be hashed "
8907                           "before being use"
8908                           "d by the HMAC al"
8909                           "gorithm.",
8910                 .psize  = 152,
8911                 .digest = "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
8912                         "\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
8913                         "\xde\xbd\x71\xf8\x86\x72\x89\x86"
8914                         "\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
8915                         "\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
8916                         "\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
8917                         "\x13\x46\x76\xfb\x6d\xe0\x44\x60"
8918                         "\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
8919         },
8920 };
8921
8922 static const struct hash_testvec hmac_sha3_224_tv_template[] = {
8923         {
8924                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8925                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8926                           "\x0b\x0b\x0b\x0b",
8927                 .ksize  = 20,
8928                 .plaintext = "Hi There",
8929                 .psize  = 8,
8930                 .digest = "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
8931                           "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
8932                           "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
8933                           "\xf3\xc8\x60\xf7",
8934         }, {
8935                 .key    = "Jefe",
8936                 .ksize  = 4,
8937                 .plaintext = "what do ya want for nothing?",
8938                 .psize  = 28,
8939                 .digest = "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
8940                           "\x1b\x79\x86\x34\xad\x38\x68\x11"
8941                           "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
8942                           "\xba\xce\x5e\x66",
8943                 .fips_skip = 1,
8944         }, {
8945                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8946                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8947                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8948                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8949                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8950                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8951                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8952                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8953                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8954                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8955                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8956                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8957                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8958                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8959                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8960                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8961                           "\xaa\xaa\xaa",
8962                 .ksize  = 131,
8963                 .plaintext = "Test Using Large"
8964                            "r Than Block-Siz"
8965                            "e Key - Hash Key"
8966                            " First",
8967                 .psize  = 54,
8968                 .digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
8969                           "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
8970                           "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
8971                           "\x5f\xb9\x99\x5f",
8972         }, {
8973                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8974                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8975                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8976                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8977                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8978                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8979                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8980                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8981                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8982                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8983                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8984                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8985                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8986                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8987                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8988                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8989                           "\xaa\xaa\xaa",
8990                 .ksize  = 131,
8991                 .plaintext =
8992                           "This is a test u"
8993                           "sing a larger th"
8994                           "an block-size ke"
8995                           "y and a larger t"
8996                           "han block-size d"
8997                           "ata. The key nee"
8998                           "ds to be hashed "
8999                           "before being use"
9000                           "d by the HMAC al"
9001                           "gorithm.",
9002                 .psize  = 152,
9003                 .digest = "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
9004                           "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
9005                           "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
9006                           "\x29\xcd\x62\xa0",
9007         },
9008 };
9009
9010 static const struct hash_testvec hmac_sha3_256_tv_template[] = {
9011         {
9012                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
9013                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
9014                           "\x0b\x0b\x0b\x0b",
9015                 .ksize  = 20,
9016                 .plaintext = "Hi There",
9017                 .psize  = 8,
9018                 .digest = "\xba\x85\x19\x23\x10\xdf\xfa\x96"
9019                           "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
9020                           "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
9021                           "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
9022         }, {
9023                 .key    = "Jefe",
9024                 .ksize  = 4,
9025                 .plaintext = "what do ya want for nothing?",
9026                 .psize  = 28,
9027                 .digest = "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
9028                           "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
9029                           "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
9030                           "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
9031                 .fips_skip = 1,
9032         }, {
9033                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9034                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9035                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9036                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9037                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9038                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9039                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9040                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9041                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9042                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9043                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9044                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9045                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9046                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9047                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9048                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9049                           "\xaa\xaa\xaa",
9050                 .ksize  = 131,
9051                 .plaintext = "Test Using Large"
9052                            "r Than Block-Siz"
9053                            "e Key - Hash Key"
9054                            " First",
9055                 .psize  = 54,
9056                 .digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
9057                           "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
9058                           "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
9059                           "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
9060         }, {
9061                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9062                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9063                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9064                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9065                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9066                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9067                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9068                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9069                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9070                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9071                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9072                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9073                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9074                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9075                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9076                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9077                           "\xaa\xaa\xaa",
9078                 .ksize  = 131,
9079                 .plaintext =
9080                           "This is a test u"
9081                           "sing a larger th"
9082                           "an block-size ke"
9083                           "y and a larger t"
9084                           "han block-size d"
9085                           "ata. The key nee"
9086                           "ds to be hashed "
9087                           "before being use"
9088                           "d by the HMAC al"
9089                           "gorithm.",
9090                 .psize  = 152,
9091                 .digest = "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
9092                           "\x7a\xef\x87\x63\x26\x1e\x49\xad"
9093                           "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
9094                           "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
9095         },
9096 };
9097
9098 static const struct hash_testvec hmac_sha3_384_tv_template[] = {
9099         {
9100                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
9101                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
9102                           "\x0b\x0b\x0b\x0b",
9103                 .ksize  = 20,
9104                 .plaintext = "Hi There",
9105                 .psize  = 8,
9106                 .digest = "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
9107                           "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
9108                           "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
9109                           "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
9110                           "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
9111                           "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
9112         }, {
9113                 .key    = "Jefe",
9114                 .ksize  = 4,
9115                 .plaintext = "what do ya want for nothing?",
9116                 .psize  = 28,
9117                 .digest = "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
9118                           "\x67\x64\xd2\xed\x61\x90\x3f\x21"
9119                           "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
9120                           "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
9121                           "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
9122                           "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
9123                 .fips_skip = 1,
9124         }, {
9125                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9126                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9127                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9128                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9129                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9130                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9131                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9132                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9133                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9134                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9135                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9136                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9137                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9138                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9139                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9140                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9141                           "\xaa\xaa\xaa",
9142                 .ksize  = 131,
9143                 .plaintext = "Test Using Large"
9144                            "r Than Block-Siz"
9145                            "e Key - Hash Key"
9146                            " First",
9147                 .psize  = 54,
9148                 .digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
9149                           "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
9150                           "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
9151                           "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
9152                           "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
9153                           "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
9154         }, {
9155                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9156                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9157                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9158                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9159                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9160                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9161                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9162                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9163                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9164                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9165                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9166                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9167                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9168                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9169                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9170                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9171                           "\xaa\xaa\xaa",
9172                 .ksize  = 131,
9173                 .plaintext =
9174                           "This is a test u"
9175                           "sing a larger th"
9176                           "an block-size ke"
9177                           "y and a larger t"
9178                           "han block-size d"
9179                           "ata. The key nee"
9180                           "ds to be hashed "
9181                           "before being use"
9182                           "d by the HMAC al"
9183                           "gorithm.",
9184                 .psize  = 152,
9185                 .digest = "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
9186                           "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
9187                           "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
9188                           "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
9189                           "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
9190                           "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
9191         },
9192 };
9193
9194 static const struct hash_testvec hmac_sha3_512_tv_template[] = {
9195         {
9196                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
9197                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
9198                           "\x0b\x0b\x0b\x0b",
9199                 .ksize  = 20,
9200                 .plaintext = "Hi There",
9201                 .psize  = 8,
9202                 .digest = "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
9203                           "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
9204                           "\xec\x15\x77\x0a\x7c\xab\xac\x53"
9205                           "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
9206                           "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
9207                           "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
9208                           "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
9209                           "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
9210         }, {
9211                 .key    = "Jefe",
9212                 .ksize  = 4,
9213                 .plaintext = "what do ya want for nothing?",
9214                 .psize  = 28,
9215                 .digest = "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
9216                           "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
9217                           "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
9218                           "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
9219                           "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
9220                           "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
9221                           "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
9222                           "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
9223                 .fips_skip = 1,
9224         }, {
9225                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9226                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9227                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9228                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9229                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9230                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9231                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9232                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9233                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9234                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9235                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9236                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9237                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9238                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9239                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9240                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9241                           "\xaa\xaa\xaa",
9242                 .ksize  = 131,
9243                 .plaintext = "Test Using Large"
9244                            "r Than Block-Siz"
9245                            "e Key - Hash Key"
9246                            " First",
9247                 .psize  = 54,
9248                 .digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
9249                           "\x90\xed\x69\x11\xa4\xb6\x55\x24"
9250                           "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
9251                           "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
9252                           "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
9253                           "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
9254                           "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
9255                           "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
9256         }, {
9257                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9258                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9259                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9260                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9261                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9262                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9263                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9264                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9265                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9266                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9267                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9268                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9269                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9270                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9271                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9272                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
9273                           "\xaa\xaa\xaa",
9274                 .ksize  = 131,
9275                 .plaintext =
9276                           "This is a test u"
9277                           "sing a larger th"
9278                           "an block-size ke"
9279                           "y and a larger t"
9280                           "han block-size d"
9281                           "ata. The key nee"
9282                           "ds to be hashed "
9283                           "before being use"
9284                           "d by the HMAC al"
9285                           "gorithm.",
9286                 .psize  = 152,
9287                 .digest = "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
9288                           "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
9289                           "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
9290                           "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
9291                           "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
9292                           "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
9293                           "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
9294                           "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
9295         },
9296 };
9297
9298 /*
9299  * Poly1305 test vectors from RFC7539 A.3.
9300  */
9301
9302 static const struct hash_testvec poly1305_tv_template[] = {
9303         { /* Test Vector #1 */
9304                 .plaintext      = "\x00\x00\x00\x00\x00\x00\x00\x00"
9305                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9306                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9307                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9308                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9309                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9310                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9311                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9312                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9313                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9314                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9315                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
9316                 .psize          = 96,
9317                 .digest         = "\x00\x00\x00\x00\x00\x00\x00\x00"
9318                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
9319         }, { /* Test Vector #2 */
9320                 .plaintext      = "\x00\x00\x00\x00\x00\x00\x00\x00"
9321                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9322                                   "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
9323                                   "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
9324                                   "\x41\x6e\x79\x20\x73\x75\x62\x6d"
9325                                   "\x69\x73\x73\x69\x6f\x6e\x20\x74"
9326                                   "\x6f\x20\x74\x68\x65\x20\x49\x45"
9327                                   "\x54\x46\x20\x69\x6e\x74\x65\x6e"
9328                                   "\x64\x65\x64\x20\x62\x79\x20\x74"
9329                                   "\x68\x65\x20\x43\x6f\x6e\x74\x72"
9330                                   "\x69\x62\x75\x74\x6f\x72\x20\x66"
9331                                   "\x6f\x72\x20\x70\x75\x62\x6c\x69"
9332                                   "\x63\x61\x74\x69\x6f\x6e\x20\x61"
9333                                   "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
9334                                   "\x20\x70\x61\x72\x74\x20\x6f\x66"
9335                                   "\x20\x61\x6e\x20\x49\x45\x54\x46"
9336                                   "\x20\x49\x6e\x74\x65\x72\x6e\x65"
9337                                   "\x74\x2d\x44\x72\x61\x66\x74\x20"
9338                                   "\x6f\x72\x20\x52\x46\x43\x20\x61"
9339                                   "\x6e\x64\x20\x61\x6e\x79\x20\x73"
9340                                   "\x74\x61\x74\x65\x6d\x65\x6e\x74"
9341                                   "\x20\x6d\x61\x64\x65\x20\x77\x69"
9342                                   "\x74\x68\x69\x6e\x20\x74\x68\x65"
9343                                   "\x20\x63\x6f\x6e\x74\x65\x78\x74"
9344                                   "\x20\x6f\x66\x20\x61\x6e\x20\x49"
9345                                   "\x45\x54\x46\x20\x61\x63\x74\x69"
9346                                   "\x76\x69\x74\x79\x20\x69\x73\x20"
9347                                   "\x63\x6f\x6e\x73\x69\x64\x65\x72"
9348                                   "\x65\x64\x20\x61\x6e\x20\x22\x49"
9349                                   "\x45\x54\x46\x20\x43\x6f\x6e\x74"
9350                                   "\x72\x69\x62\x75\x74\x69\x6f\x6e"
9351                                   "\x22\x2e\x20\x53\x75\x63\x68\x20"
9352                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
9353                                   "\x74\x73\x20\x69\x6e\x63\x6c\x75"
9354                                   "\x64\x65\x20\x6f\x72\x61\x6c\x20"
9355                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
9356                                   "\x74\x73\x20\x69\x6e\x20\x49\x45"
9357                                   "\x54\x46\x20\x73\x65\x73\x73\x69"
9358                                   "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
9359                                   "\x77\x65\x6c\x6c\x20\x61\x73\x20"
9360                                   "\x77\x72\x69\x74\x74\x65\x6e\x20"
9361                                   "\x61\x6e\x64\x20\x65\x6c\x65\x63"
9362                                   "\x74\x72\x6f\x6e\x69\x63\x20\x63"
9363                                   "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
9364                                   "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
9365                                   "\x64\x65\x20\x61\x74\x20\x61\x6e"
9366                                   "\x79\x20\x74\x69\x6d\x65\x20\x6f"
9367                                   "\x72\x20\x70\x6c\x61\x63\x65\x2c"
9368                                   "\x20\x77\x68\x69\x63\x68\x20\x61"
9369                                   "\x72\x65\x20\x61\x64\x64\x72\x65"
9370                                   "\x73\x73\x65\x64\x20\x74\x6f",
9371                 .psize          = 407,
9372                 .digest         = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
9373                                   "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
9374         }, { /* Test Vector #3 */
9375                 .plaintext      = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
9376                                   "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
9377                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9378                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9379                                   "\x41\x6e\x79\x20\x73\x75\x62\x6d"
9380                                   "\x69\x73\x73\x69\x6f\x6e\x20\x74"
9381                                   "\x6f\x20\x74\x68\x65\x20\x49\x45"
9382                                   "\x54\x46\x20\x69\x6e\x74\x65\x6e"
9383                                   "\x64\x65\x64\x20\x62\x79\x20\x74"
9384                                   "\x68\x65\x20\x43\x6f\x6e\x74\x72"
9385                                   "\x69\x62\x75\x74\x6f\x72\x20\x66"
9386                                   "\x6f\x72\x20\x70\x75\x62\x6c\x69"
9387                                   "\x63\x61\x74\x69\x6f\x6e\x20\x61"
9388                                   "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
9389                                   "\x20\x70\x61\x72\x74\x20\x6f\x66"
9390                                   "\x20\x61\x6e\x20\x49\x45\x54\x46"
9391                                   "\x20\x49\x6e\x74\x65\x72\x6e\x65"
9392                                   "\x74\x2d\x44\x72\x61\x66\x74\x20"
9393                                   "\x6f\x72\x20\x52\x46\x43\x20\x61"
9394                                   "\x6e\x64\x20\x61\x6e\x79\x20\x73"
9395                                   "\x74\x61\x74\x65\x6d\x65\x6e\x74"
9396                                   "\x20\x6d\x61\x64\x65\x20\x77\x69"
9397                                   "\x74\x68\x69\x6e\x20\x74\x68\x65"
9398                                   "\x20\x63\x6f\x6e\x74\x65\x78\x74"
9399                                   "\x20\x6f\x66\x20\x61\x6e\x20\x49"
9400                                   "\x45\x54\x46\x20\x61\x63\x74\x69"
9401                                   "\x76\x69\x74\x79\x20\x69\x73\x20"
9402                                   "\x63\x6f\x6e\x73\x69\x64\x65\x72"
9403                                   "\x65\x64\x20\x61\x6e\x20\x22\x49"
9404                                   "\x45\x54\x46\x20\x43\x6f\x6e\x74"
9405                                   "\x72\x69\x62\x75\x74\x69\x6f\x6e"
9406                                   "\x22\x2e\x20\x53\x75\x63\x68\x20"
9407                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
9408                                   "\x74\x73\x20\x69\x6e\x63\x6c\x75"
9409                                   "\x64\x65\x20\x6f\x72\x61\x6c\x20"
9410                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
9411                                   "\x74\x73\x20\x69\x6e\x20\x49\x45"
9412                                   "\x54\x46\x20\x73\x65\x73\x73\x69"
9413                                   "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
9414                                   "\x77\x65\x6c\x6c\x20\x61\x73\x20"
9415                                   "\x77\x72\x69\x74\x74\x65\x6e\x20"
9416                                   "\x61\x6e\x64\x20\x65\x6c\x65\x63"
9417                                   "\x74\x72\x6f\x6e\x69\x63\x20\x63"
9418                                   "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
9419                                   "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
9420                                   "\x64\x65\x20\x61\x74\x20\x61\x6e"
9421                                   "\x79\x20\x74\x69\x6d\x65\x20\x6f"
9422                                   "\x72\x20\x70\x6c\x61\x63\x65\x2c"
9423                                   "\x20\x77\x68\x69\x63\x68\x20\x61"
9424                                   "\x72\x65\x20\x61\x64\x64\x72\x65"
9425                                   "\x73\x73\x65\x64\x20\x74\x6f",
9426                 .psize          = 407,
9427                 .digest         = "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
9428                                   "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
9429         }, { /* Test Vector #4 */
9430                 .plaintext      = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
9431                                   "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
9432                                   "\x47\x39\x17\xc1\x40\x2b\x80\x09"
9433                                   "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
9434                                   "\x27\x54\x77\x61\x73\x20\x62\x72"
9435                                   "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
9436                                   "\x6e\x64\x20\x74\x68\x65\x20\x73"
9437                                   "\x6c\x69\x74\x68\x79\x20\x74\x6f"
9438                                   "\x76\x65\x73\x0a\x44\x69\x64\x20"
9439                                   "\x67\x79\x72\x65\x20\x61\x6e\x64"
9440                                   "\x20\x67\x69\x6d\x62\x6c\x65\x20"
9441                                   "\x69\x6e\x20\x74\x68\x65\x20\x77"
9442                                   "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
9443                                   "\x20\x6d\x69\x6d\x73\x79\x20\x77"
9444                                   "\x65\x72\x65\x20\x74\x68\x65\x20"
9445                                   "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
9446                                   "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
9447                                   "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
9448                                   "\x72\x61\x74\x68\x73\x20\x6f\x75"
9449                                   "\x74\x67\x72\x61\x62\x65\x2e",
9450                 .psize          = 159,
9451                 .digest         = "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
9452                                   "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
9453         }, { /* Test Vector #5 */
9454                 .plaintext      = "\x02\x00\x00\x00\x00\x00\x00\x00"
9455                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9456                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9457                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9458                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9459                                   "\xff\xff\xff\xff\xff\xff\xff\xff",
9460                 .psize          = 48,
9461                 .digest         = "\x03\x00\x00\x00\x00\x00\x00\x00"
9462                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
9463         }, { /* Test Vector #6 */
9464                 .plaintext      = "\x02\x00\x00\x00\x00\x00\x00\x00"
9465                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9466                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9467                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9468                                   "\x02\x00\x00\x00\x00\x00\x00\x00"
9469                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
9470                 .psize          = 48,
9471                 .digest         = "\x03\x00\x00\x00\x00\x00\x00\x00"
9472                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
9473         }, { /* Test Vector #7 */
9474                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
9475                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9476                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9477                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9478                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9479                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9480                                   "\xf0\xff\xff\xff\xff\xff\xff\xff"
9481                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9482                                   "\x11\x00\x00\x00\x00\x00\x00\x00"
9483                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
9484                 .psize          = 80,
9485                 .digest         = "\x05\x00\x00\x00\x00\x00\x00\x00"
9486                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
9487         }, { /* Test Vector #8 */
9488                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
9489                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9490                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9491                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9492                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9493                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9494                                   "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
9495                                   "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
9496                                   "\x01\x01\x01\x01\x01\x01\x01\x01"
9497                                   "\x01\x01\x01\x01\x01\x01\x01\x01",
9498                 .psize          = 80,
9499                 .digest         = "\x00\x00\x00\x00\x00\x00\x00\x00"
9500                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
9501         }, { /* Test Vector #9 */
9502                 .plaintext      = "\x02\x00\x00\x00\x00\x00\x00\x00"
9503                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9504                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9505                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9506                                   "\xfd\xff\xff\xff\xff\xff\xff\xff"
9507                                   "\xff\xff\xff\xff\xff\xff\xff\xff",
9508                 .psize          = 48,
9509                 .digest         = "\xfa\xff\xff\xff\xff\xff\xff\xff"
9510                                   "\xff\xff\xff\xff\xff\xff\xff\xff",
9511         }, { /* Test Vector #10 */
9512                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
9513                                   "\x04\x00\x00\x00\x00\x00\x00\x00"
9514                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9515                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9516                                   "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
9517                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9518                                   "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
9519                                   "\x01\x00\x00\x00\x00\x00\x00\x00"
9520                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9521                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9522                                   "\x01\x00\x00\x00\x00\x00\x00\x00"
9523                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
9524                 .psize          = 96,
9525                 .digest         = "\x14\x00\x00\x00\x00\x00\x00\x00"
9526                                   "\x55\x00\x00\x00\x00\x00\x00\x00",
9527         }, { /* Test Vector #11 */
9528                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
9529                                   "\x04\x00\x00\x00\x00\x00\x00\x00"
9530                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9531                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9532                                   "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
9533                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9534                                   "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
9535                                   "\x01\x00\x00\x00\x00\x00\x00\x00"
9536                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
9537                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
9538                 .psize          = 80,
9539                 .digest         = "\x13\x00\x00\x00\x00\x00\x00\x00"
9540                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
9541         }, { /* Regression test for overflow in AVX2 implementation */
9542                 .plaintext      = "\xff\xff\xff\xff\xff\xff\xff\xff"
9543                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9544                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9545                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9546                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9547                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9548                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9549                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9550                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9551                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9552                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9553                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9554                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9555                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9556                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9557                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9558                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9559                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9560                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9561                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9562                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9563                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9564                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9565                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9566                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9567                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9568                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9569                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9570                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9571                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9572                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9573                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9574                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9575                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9576                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9577                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9578                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
9579                                   "\xff\xff\xff\xff",
9580                 .psize          = 300,
9581                 .digest         = "\xfb\x5e\x96\xd8\x61\xd5\xc7\xc8"
9582                                   "\x78\xe5\x87\xcc\x2d\x5a\x22\xe1",
9583         }
9584 };
9585
9586 /* NHPoly1305 test vectors from https://github.com/google/adiantum */
9587 static const struct hash_testvec nhpoly1305_tv_template[] = {
9588         {
9589                 .key    = "\xd2\x5d\x4c\xdd\x8d\x2b\x7f\x7a"
9590                           "\xd9\xbe\x71\xec\xd1\x83\x52\xe3"
9591                           "\xe1\xad\xd7\x5c\x0a\x75\x9d\xec"
9592                           "\x1d\x13\x7e\x5d\x71\x07\xc9\xe4"
9593                           "\x57\x2d\x44\x68\xcf\xd8\xd6\xc5"
9594                           "\x39\x69\x7d\x32\x75\x51\x4f\x7e"
9595                           "\xb2\x4c\xc6\x90\x51\x6e\xd9\xd6"
9596                           "\xa5\x8b\x2d\xf1\x94\xf9\xf7\x5e"
9597                           "\x2c\x84\x7b\x41\x0f\x88\x50\x89"
9598                           "\x30\xd9\xa1\x38\x46\x6c\xc0\x4f"
9599                           "\xe8\xdf\xdc\x66\xab\x24\x43\x41"
9600                           "\x91\x55\x29\x65\x86\x28\x5e\x45"
9601                           "\xd5\x2d\xb7\x80\x08\x9a\xc3\xd4"
9602                           "\x9a\x77\x0a\xd4\xef\x3e\xe6\x3f"
9603                           "\x6f\x2f\x9b\x3a\x7d\x12\x1e\x80"
9604                           "\x6c\x44\xa2\x25\xe1\xf6\x60\xe9"
9605                           "\x0d\xaf\xc5\x3c\xa5\x79\xae\x64"
9606                           "\xbc\xa0\x39\xa3\x4d\x10\xe5\x4d"
9607                           "\xd5\xe7\x89\x7a\x13\xee\x06\x78"
9608                           "\xdc\xa4\xdc\x14\x27\xe6\x49\x38"
9609                           "\xd0\xe0\x45\x25\x36\xc5\xf4\x79"
9610                           "\x2e\x9a\x98\x04\xe4\x2b\x46\x52"
9611                           "\x7c\x33\xca\xe2\x56\x51\x50\xe2"
9612                           "\xa5\x9a\xae\x18\x6a\x13\xf8\xd2"
9613                           "\x21\x31\x66\x02\xe2\xda\x8d\x7e"
9614                           "\x41\x19\xb2\x61\xee\x48\x8f\xf1"
9615                           "\x65\x24\x2e\x1e\x68\xce\x05\xd9"
9616                           "\x2a\xcf\xa5\x3a\x57\xdd\x35\x91"
9617                           "\x93\x01\xca\x95\xfc\x2b\x36\x04"
9618                           "\xe6\x96\x97\x28\xf6\x31\xfe\xa3"
9619                           "\x9d\xf6\x6a\x1e\x80\x8d\xdc\xec"
9620                           "\xaf\x66\x11\x13\x02\x88\xd5\x27"
9621                           "\x33\xb4\x1a\xcd\xa3\xf6\xde\x31"
9622                           "\x8e\xc0\x0e\x6c\xd8\x5a\x97\x5e"
9623                           "\xdd\xfd\x60\x69\x38\x46\x3f\x90"
9624                           "\x5e\x97\xd3\x32\x76\xc7\x82\x49"
9625                           "\xfe\xba\x06\x5f\x2f\xa2\xfd\xff"
9626                           "\x80\x05\x40\xe4\x33\x03\xfb\x10"
9627                           "\xc0\xde\x65\x8c\xc9\x8d\x3a\x9d"
9628                           "\xb5\x7b\x36\x4b\xb5\x0c\xcf\x00"
9629                           "\x9c\x87\xe4\x49\xad\x90\xda\x4a"
9630                           "\xdd\xbd\xff\xe2\x32\x57\xd6\x78"
9631                           "\x36\x39\x6c\xd3\x5b\x9b\x88\x59"
9632                           "\x2d\xf0\x46\xe4\x13\x0e\x2b\x35"
9633                           "\x0d\x0f\x73\x8a\x4f\x26\x84\x75"
9634                           "\x88\x3c\xc5\x58\x66\x18\x1a\xb4"
9635                           "\x64\x51\x34\x27\x1b\xa4\x11\xc9"
9636                           "\x6d\x91\x8a\xfa\x32\x60\x9d\xd7"
9637                           "\x87\xe5\xaa\x43\x72\xf8\xda\xd1"
9638                           "\x48\x44\x13\x61\xdc\x8c\x76\x17"
9639                           "\x0c\x85\x4e\xf3\xdd\xa2\x42\xd2"
9640                           "\x74\xc1\x30\x1b\xeb\x35\x31\x29"
9641                           "\x5b\xd7\x4c\x94\x46\x35\xa1\x23"
9642                           "\x50\xf2\xa2\x8e\x7e\x4f\x23\x4f"
9643                           "\x51\xff\xe2\xc9\xa3\x7d\x56\x8b"
9644                           "\x41\xf2\xd0\xc5\x57\x7e\x59\xac"
9645                           "\xbb\x65\xf3\xfe\xf7\x17\xef\x63"
9646                           "\x7c\x6f\x23\xdd\x22\x8e\xed\x84"
9647                           "\x0e\x3b\x09\xb3\xf3\xf4\x8f\xcd"
9648                           "\x37\xa8\xe1\xa7\x30\xdb\xb1\xa2"
9649                           "\x9c\xa2\xdf\x34\x17\x3e\x68\x44"
9650                           "\xd0\xde\x03\x50\xd1\x48\x6b\x20"
9651                           "\xe2\x63\x45\xa5\xea\x87\xc2\x42"
9652                           "\x95\x03\x49\x05\xed\xe0\x90\x29"
9653                           "\x1a\xb8\xcf\x9b\x43\xcf\x29\x7a"
9654                           "\x63\x17\x41\x9f\xe0\xc9\x10\xfd"
9655                           "\x2c\x56\x8c\x08\x55\xb4\xa9\x27"
9656                           "\x0f\x23\xb1\x05\x6a\x12\x46\xc7"
9657                           "\xe1\xfe\x28\x93\x93\xd7\x2f\xdc"
9658                           "\x98\x30\xdb\x75\x8a\xbe\x97\x7a"
9659                           "\x02\xfb\x8c\xba\xbe\x25\x09\xbe"
9660                           "\xce\xcb\xa2\xef\x79\x4d\x0e\x9d"
9661                           "\x1b\x9d\xb6\x39\x34\x38\xfa\x07"
9662                           "\xec\xe8\xfc\x32\x85\x1d\xf7\x85"
9663                           "\x63\xc3\x3c\xc0\x02\x75\xd7\x3f"
9664                           "\xb2\x68\x60\x66\x65\x81\xc6\xb1"
9665                           "\x42\x65\x4b\x4b\x28\xd7\xc7\xaa"
9666                           "\x9b\xd2\xdc\x1b\x01\xe0\x26\x39"
9667                           "\x01\xc1\x52\x14\xd1\x3f\xb7\xe6"
9668                           "\x61\x41\xc7\x93\xd2\xa2\x67\xc6"
9669                           "\xf7\x11\xb5\xf5\xea\xdd\x19\xfb"
9670                           "\x4d\x21\x12\xd6\x7d\xf1\x10\xb0"
9671                           "\x89\x07\xc7\x5a\x52\x73\x70\x2f"
9672                           "\x32\xef\x65\x2b\x12\xb2\xf0\xf5"
9673                           "\x20\xe0\x90\x59\x7e\x64\xf1\x4c"
9674                           "\x41\xb3\xa5\x91\x08\xe6\x5e\x5f"
9675                           "\x05\x56\x76\xb4\xb0\xcd\x70\x53"
9676                           "\x10\x48\x9c\xff\xc2\x69\x55\x24"
9677                           "\x87\xef\x84\xea\xfb\xa7\xbf\xa0"
9678                           "\x91\x04\xad\x4f\x8b\x57\x54\x4b"
9679                           "\xb6\xe9\xd1\xac\x37\x2f\x1d\x2e"
9680                           "\xab\xa5\xa4\xe8\xff\xfb\xd9\x39"
9681                           "\x2f\xb7\xac\xd1\xfe\x0b\x9a\x80"
9682                           "\x0f\xb6\xf4\x36\x39\x90\x51\xe3"
9683                           "\x0a\x2f\xb6\x45\x76\x89\xcd\x61"
9684                           "\xfe\x48\x5f\x75\x1d\x13\x00\x62"
9685                           "\x80\x24\x47\xe7\xbc\x37\xd7\xe3"
9686                           "\x15\xe8\x68\x22\xaf\x80\x6f\x4b"
9687                           "\xa8\x9f\x01\x10\x48\x14\xc3\x02"
9688                           "\x52\xd2\xc7\x75\x9b\x52\x6d\x30"
9689                           "\xac\x13\x85\xc8\xf7\xa3\x58\x4b"
9690                           "\x49\xf7\x1c\x45\x55\x8c\x39\x9a"
9691                           "\x99\x6d\x97\x27\x27\xe6\xab\xdd"
9692                           "\x2c\x42\x1b\x35\xdd\x9d\x73\xbb"
9693                           "\x6c\xf3\x64\xf1\xfb\xb9\xf7\xe6"
9694                           "\x4a\x3c\xc0\x92\xc0\x2e\xb7\x1a"
9695                           "\xbe\xab\xb3\x5a\xe5\xea\xb1\x48"
9696                           "\x58\x13\x53\x90\xfd\xc3\x8e\x54"
9697                           "\xf9\x18\x16\x73\xe8\xcb\x6d\x39"
9698                           "\x0e\xd7\xe0\xfe\xb6\x9f\x43\x97"
9699                           "\xe8\xd0\x85\x56\x83\x3e\x98\x68"
9700                           "\x7f\xbd\x95\xa8\x9a\x61\x21\x8f"
9701                           "\x06\x98\x34\xa6\xc8\xd6\x1d\xf3"
9702                           "\x3d\x43\xa4\x9a\x8c\xe5\xd3\x5a"
9703                           "\x32\xa2\x04\x22\xa4\x19\x1a\x46"
9704                           "\x42\x7e\x4d\xe5\xe0\xe6\x0e\xca"
9705                           "\xd5\x58\x9d\x2c\xaf\xda\x33\x5c"
9706                           "\xb0\x79\x9e\xc9\xfc\xca\xf0\x2f"
9707                           "\xa8\xb2\x77\xeb\x7a\xa2\xdd\x37"
9708                           "\x35\x83\x07\xd6\x02\x1a\xb6\x6c"
9709                           "\x24\xe2\x59\x08\x0e\xfd\x3e\x46"
9710                           "\xec\x40\x93\xf4\x00\x26\x4f\x2a"
9711                           "\xff\x47\x2f\xeb\x02\x92\x26\x5b"
9712                           "\x53\x17\xc2\x8d\x2a\xc7\xa3\x1b"
9713                           "\xcd\xbc\xa7\xe8\xd1\x76\xe3\x80"
9714                           "\x21\xca\x5d\x3b\xe4\x9c\x8f\xa9"
9715                           "\x5b\x7f\x29\x7f\x7c\xd8\xed\x6d"
9716                           "\x8c\xb2\x86\x85\xe7\x77\xf2\x85"
9717                           "\xab\x38\xa9\x9d\xc1\x4e\xc5\x64"
9718                           "\x33\x73\x8b\x59\x03\xad\x05\xdf"
9719                           "\x25\x98\x31\xde\xef\x13\xf1\x9b"
9720                           "\x3c\x91\x9d\x7b\xb1\xfa\xe6\xbf"
9721                           "\x5b\xed\xa5\x55\xe6\xea\x6c\x74"
9722                           "\xf4\xb9\xe4\x45\x64\x72\x81\xc2"
9723                           "\x4c\x28\xd4\xcd\xac\xe2\xde\xf9"
9724                           "\xeb\x5c\xeb\x61\x60\x5a\xe5\x28",
9725                 .ksize  = 1088,
9726                 .plaintext      = "",
9727                 .psize  = 0,
9728                 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
9729                           "\x00\x00\x00\x00\x00\x00\x00\x00",
9730         }, {
9731                 .key    = "\x29\x21\x43\xcb\xcb\x13\x07\xde"
9732                           "\xbf\x48\xdf\x8a\x7f\xa2\x84\xde"
9733                           "\x72\x23\x9d\xf5\xf0\x07\xf2\x4c"
9734                           "\x20\x3a\x93\xb9\xcd\x5d\xfe\xcb"
9735                           "\x99\x2c\x2b\x58\xc6\x50\x5f\x94"
9736                           "\x56\xc3\x7c\x0d\x02\x3f\xb8\x5e"
9737                           "\x7b\xc0\x6c\x51\x34\x76\xc0\x0e"
9738                           "\xc6\x22\xc8\x9e\x92\xa0\x21\xc9"
9739                           "\x85\x5c\x7c\xf8\xe2\x64\x47\xc9"
9740                           "\xe4\xa2\x57\x93\xf8\xa2\x69\xcd"
9741                           "\x62\x98\x99\xf4\xd7\x7b\x14\xb1"
9742                           "\xd8\x05\xff\x04\x15\xc9\xe1\x6e"
9743                           "\x9b\xe6\x50\x6b\x0b\x3f\x22\x1f"
9744                           "\x08\xde\x0c\x5b\x08\x7e\xc6\x2f"
9745                           "\x6c\xed\xd6\xb2\x15\xa4\xb3\xf9"
9746                           "\xa7\x46\x38\x2a\xea\x69\xa5\xde"
9747                           "\x02\xc3\x96\x89\x4d\x55\x3b\xed"
9748                           "\x3d\x3a\x85\x77\xbf\x97\x45\x5c"
9749                           "\x9e\x02\x69\xe2\x1b\x68\xbe\x96"
9750                           "\xfb\x64\x6f\x0f\xf6\x06\x40\x67"
9751                           "\xfa\x04\xe3\x55\xfa\xbe\xa4\x60"
9752                           "\xef\x21\x66\x97\xe6\x9d\x5c\x1f"
9753                           "\x62\x37\xaa\x31\xde\xe4\x9c\x28"
9754                           "\x95\xe0\x22\x86\xf4\x4d\xf3\x07"
9755                           "\xfd\x5f\x3a\x54\x2c\x51\x80\x71"
9756                           "\xba\x78\x69\x5b\x65\xab\x1f\x81"
9757                           "\xed\x3b\xff\x34\xa3\xfb\xbc\x73"
9758                           "\x66\x7d\x13\x7f\xdf\x6e\xe2\xe2"
9759                           "\xeb\x4f\x6c\xda\x7d\x33\x57\xd0"
9760                           "\xd3\x7c\x95\x4f\x33\x58\x21\xc7"
9761                           "\xc0\xe5\x6f\x42\x26\xc6\x1f\x5e"
9762                           "\x85\x1b\x98\x9a\xa2\x1e\x55\x77"
9763                           "\x23\xdf\x81\x5e\x79\x55\x05\xfc"
9764                           "\xfb\xda\xee\xba\x5a\xba\xf7\x77"
9765                           "\x7f\x0e\xd3\xe1\x37\xfe\x8d\x2b"
9766                           "\xd5\x3f\xfb\xd0\xc0\x3c\x0b\x3f"
9767                           "\xcf\x3c\x14\xcf\xfb\x46\x72\x4c"
9768                           "\x1f\x39\xe2\xda\x03\x71\x6d\x23"
9769                           "\xef\x93\xcd\x39\xd9\x37\x80\x4d"
9770                           "\x65\x61\xd1\x2c\x03\xa9\x47\x72"
9771                           "\x4d\x1e\x0e\x16\x33\x0f\x21\x17"
9772                           "\xec\x92\xea\x6f\x37\x22\xa4\xd8"
9773                           "\x03\x33\x9e\xd8\x03\x69\x9a\xe8"
9774                           "\xb2\x57\xaf\x78\x99\x05\x12\xab"
9775                           "\x48\x90\x80\xf0\x12\x9b\x20\x64"
9776                           "\x7a\x1d\x47\x5f\xba\x3c\xf9\xc3"
9777                           "\x0a\x0d\x8d\xa1\xf9\x1b\x82\x13"
9778                           "\x3e\x0d\xec\x0a\x83\xc0\x65\xe1"
9779                           "\xe9\x95\xff\x97\xd6\xf2\xe4\xd5"
9780                           "\x86\xc0\x1f\x29\x27\x63\xd7\xde"
9781                           "\xb7\x0a\x07\x99\x04\x2d\xa3\x89"
9782                           "\xa2\x43\xcf\xf3\xe1\x43\xac\x4a"
9783                           "\x06\x97\xd0\x05\x4f\x87\xfa\xf9"
9784                           "\x9b\xbf\x52\x70\xbd\xbc\x6c\xf3"
9785                           "\x03\x13\x60\x41\x28\x09\xec\xcc"
9786                           "\xb1\x1a\xec\xd6\xfb\x6f\x2a\x89"
9787                           "\x5d\x0b\x53\x9c\x59\xc1\x84\x21"
9788                           "\x33\x51\x47\x19\x31\x9c\xd4\x0a"
9789                           "\x4d\x04\xec\x50\x90\x61\xbd\xbc"
9790                           "\x7e\xc8\xd9\x6c\x98\x1d\x45\x41"
9791                           "\x17\x5e\x97\x1c\xc5\xa8\xe8\xea"
9792                           "\x46\x58\x53\xf7\x17\xd5\xad\x11"
9793                           "\xc8\x54\xf5\x7a\x33\x90\xf5\x19"
9794                           "\xba\x36\xb4\xfc\x52\xa5\x72\x3d"
9795                           "\x14\xbb\x55\xa7\xe9\xe3\x12\xf7"
9796                           "\x1c\x30\xa2\x82\x03\xbf\x53\x91"
9797                           "\x2e\x60\x41\x9f\x5b\x69\x39\xf6"
9798                           "\x4d\xc8\xf8\x46\x7a\x7f\xa4\x98"
9799                           "\x36\xff\x06\xcb\xca\xe7\x33\xf2"
9800                           "\xc0\x4a\xf4\x3c\x14\x44\x5f\x6b"
9801                           "\x75\xef\x02\x36\x75\x08\x14\xfd"
9802                           "\x10\x8e\xa5\x58\xd0\x30\x46\x49"
9803                           "\xaf\x3a\xf8\x40\x3d\x35\xdb\x84"
9804                           "\x11\x2e\x97\x6a\xb7\x87\x7f\xad"
9805                           "\xf1\xfa\xa5\x63\x60\xd8\x5e\xbf"
9806                           "\x41\x78\x49\xcf\x77\xbb\x56\xbb"
9807                           "\x7d\x01\x67\x05\x22\xc8\x8f\x41"
9808                           "\xba\x81\xd2\xca\x2c\x38\xac\x76"
9809                           "\x06\xc1\x1a\xc2\xce\xac\x90\x67"
9810                           "\x57\x3e\x20\x12\x5b\xd9\x97\x58"
9811                           "\x65\x05\xb7\x04\x61\x7e\xd8\x3a"
9812                           "\xbf\x55\x3b\x13\xe9\x34\x5a\x37"
9813                           "\x36\xcb\x94\x45\xc5\x32\xb3\xa0"
9814                           "\x0c\x3e\x49\xc5\xd3\xed\xa7\xf0"
9815                           "\x1c\x69\xcc\xea\xcc\x83\xc9\x16"
9816                           "\x95\x72\x4b\xf4\x89\xd5\xb9\x10"
9817                           "\xf6\x2d\x60\x15\xea\x3c\x06\x66"
9818                           "\x9f\x82\xad\x17\xce\xd2\xa4\x48"
9819                           "\x7c\x65\xd9\xf8\x02\x4d\x9b\x4c"
9820                           "\x89\x06\x3a\x34\x85\x48\x89\x86"
9821                           "\xf9\x24\xa9\x54\x72\xdb\x44\x95"
9822                           "\xc7\x44\x1c\x19\x11\x4c\x04\xdc"
9823                           "\x13\xb9\x67\xc8\xc3\x3a\x6a\x50"
9824                           "\xfa\xd1\xfb\xe1\x88\xb6\xf1\xa3"
9825                           "\xc5\x3b\xdc\x38\x45\x16\x26\x02"
9826                           "\x3b\xb8\x8f\x8b\x58\x7d\x23\x04"
9827                           "\x50\x6b\x81\x9f\xae\x66\xac\x6f"
9828                           "\xcf\x2a\x9d\xf1\xfd\x1d\x57\x07"
9829                           "\xbe\x58\xeb\x77\x0c\xe3\xc2\x19"
9830                           "\x14\x74\x1b\x51\x1c\x4f\x41\xf3"
9831                           "\x32\x89\xb3\xe7\xde\x62\xf6\x5f"
9832                           "\xc7\x6a\x4a\x2a\x5b\x0f\x5f\x87"
9833                           "\x9c\x08\xb9\x02\x88\xc8\x29\xb7"
9834                           "\x94\x52\xfa\x52\xfe\xaa\x50\x10"
9835                           "\xba\x48\x75\x5e\x11\x1b\xe6\x39"
9836                           "\xd7\x82\x2c\x87\xf1\x1e\xa4\x38"
9837                           "\x72\x3e\x51\xe7\xd8\x3e\x5b\x7b"
9838                           "\x31\x16\x89\xba\xd6\xad\x18\x5e"
9839                           "\xba\xf8\x12\xb3\xf4\x6c\x47\x30"
9840                           "\xc0\x38\x58\xb3\x10\x8d\x58\x5d"
9841                           "\xb4\xfb\x19\x7e\x41\xc3\x66\xb8"
9842                           "\xd6\x72\x84\xe1\x1a\xc2\x71\x4c"
9843                           "\x0d\x4a\x21\x7a\xab\xa2\xc0\x36"
9844                           "\x15\xc5\xe9\x46\xd7\x29\x17\x76"
9845                           "\x5e\x47\x36\x7f\x72\x05\xa7\xcc"
9846                           "\x36\x63\xf9\x47\x7d\xe6\x07\x3c"
9847                           "\x8b\x79\x1d\x96\x61\x8d\x90\x65"
9848                           "\x7c\xf5\xeb\x4e\x6e\x09\x59\x6d"
9849                           "\x62\x50\x1b\x0f\xe0\xdc\x78\xf2"
9850                           "\x5b\x83\x1a\xa1\x11\x75\xfd\x18"
9851                           "\xd7\xe2\x8d\x65\x14\x21\xce\xbe"
9852                           "\xb5\x87\xe3\x0a\xda\x24\x0a\x64"
9853                           "\xa9\x9f\x03\x8d\x46\x5d\x24\x1a"
9854                           "\x8a\x0c\x42\x01\xca\xb1\x5f\x7c"
9855                           "\xa5\xac\x32\x4a\xb8\x07\x91\x18"
9856                           "\x6f\xb0\x71\x3c\xc9\xb1\xa8\xf8"
9857                           "\x5f\x69\xa5\xa1\xca\x9e\x7a\xaa"
9858                           "\xac\xe9\xc7\x47\x41\x75\x25\xc3"
9859                           "\x73\xe2\x0b\xdd\x6d\x52\x71\xbe"
9860                           "\xc5\xdc\xb4\xe7\x01\x26\x53\x77"
9861                           "\x86\x90\x85\x68\x6b\x7b\x03\x53"
9862                           "\xda\x52\x52\x51\x68\xc8\xf3\xec"
9863                           "\x6c\xd5\x03\x7a\xa3\x0e\xb4\x02"
9864                           "\x5f\x1a\xab\xee\xca\x67\x29\x7b"
9865                           "\xbd\x96\x59\xb3\x8b\x32\x7a\x92"
9866                           "\x9f\xd8\x25\x2b\xdf\xc0\x4c\xda",
9867                 .ksize  = 1088,
9868                 .plaintext      = "\xbc\xda\x81\xa8\x78\x79\x1c\xbf"
9869                           "\x77\x53\xba\x4c\x30\x5b\xb8\x33",
9870                 .psize  = 16,
9871                 .digest = "\x04\xbf\x7f\x6a\xce\x72\xea\x6a"
9872                           "\x79\xdb\xb0\xc9\x60\xf6\x12\xcc",
9873         }, {
9874                 .key    = "\x2e\x77\x1e\x2c\x63\x76\x34\x3f"
9875                           "\x71\x08\x4f\x5a\xe3\x3d\x74\x56"
9876                           "\xc7\x98\x46\x52\xe5\x8a\xba\x0d"
9877                           "\x72\x41\x11\x15\x14\x72\x50\x8a"
9878                           "\xd5\xec\x60\x09\xdd\x71\xcc\xb9"
9879                           "\x59\x81\x65\x2d\x9e\x50\x18\xf3"
9880                           "\x32\xf3\xf1\xe7\x01\x82\x1c\xad"
9881                           "\x88\xa0\x21\x0c\x4b\x80\x5e\x62"
9882                           "\xfc\x81\xec\x52\xaa\xe4\xa5\x86"
9883                           "\xc2\xe6\x03\x11\xdc\x66\x09\x86"
9884                           "\x3c\x3b\xf0\x59\x0f\xb3\xf7\x44"
9885                           "\x24\xb7\x88\xc5\xfc\xc8\x77\x9f"
9886                           "\x8c\x44\xc4\x11\x55\xce\x7a\xa3"
9887                           "\xe0\xa2\xb8\xbf\xb5\x3d\x07\x2c"
9888                           "\x32\xb6\x6c\xfc\xb4\x42\x95\x95"
9889                           "\x98\x32\x81\xc4\xe7\xe2\xd9\x6a"
9890                           "\x87\xf4\xf4\x1e\x74\x7c\xb5\xcd"
9891                           "\x51\x45\x68\x38\x51\xdb\x30\x74"
9892                           "\x11\xe0\xaa\xae\x19\x8f\x15\x55"
9893                           "\xdd\x47\x4a\x35\xb9\x0c\xb4\x4e"
9894                           "\xa9\xce\x2f\xfa\x8f\xc1\x8a\x5e"
9895                           "\x5b\xec\xa5\x81\x3b\xb3\x43\x06"
9896                           "\x24\x81\xf4\x24\xe2\x21\xfa\xcb"
9897                           "\x49\xa8\xf8\xbd\x31\x4a\x5b\x2d"
9898                           "\x64\x0a\x07\xf0\x80\xc9\x0d\x81"
9899                           "\x14\x58\x54\x2b\xba\x22\x31\xba"
9900                           "\xef\x66\xc9\x49\x69\x69\x83\x0d"
9901                           "\xf2\xf9\x80\x9d\x30\x36\xfb\xe3"
9902                           "\xc0\x72\x2b\xcc\x5a\x81\x2c\x5d"
9903                           "\x3b\x5e\xf8\x2b\xd3\x14\x28\x73"
9904                           "\xf9\x1c\x70\xe6\xd8\xbb\xac\x30"
9905                           "\xf9\xd9\xa0\xe2\x33\x7c\x33\x34"
9906                           "\xa5\x6a\x77\x6d\xd5\xaf\xf4\xf3"
9907                           "\xc7\xb3\x0e\x83\x3d\xcb\x01\xcc"
9908                           "\x81\xc0\xf9\x4a\xae\x36\x92\xf7"
9909                           "\x69\x7b\x65\x01\xc3\xc8\xb8\xae"
9910                           "\x16\xd8\x30\xbb\xba\x6d\x78\x6e"
9911                           "\x0d\xf0\x7d\x84\xb7\x87\xda\x28"
9912                           "\x7a\x18\x10\x0b\x29\xec\x29\xf3"
9913                           "\xb0\x7b\xa1\x28\xbf\xbc\x2b\x2c"
9914                           "\x92\x2c\x16\xfb\x02\x39\xf9\xa6"
9915                           "\xa2\x15\x05\xa6\x72\x10\xbc\x62"
9916                           "\x4a\x6e\xb8\xb5\x5d\x59\xae\x3c"
9917                           "\x32\xd3\x68\xd7\x8e\x5a\xcd\x1b"
9918                           "\xef\xf6\xa7\x5e\x10\x51\x15\x4b"
9919                           "\x2c\xe3\xba\x70\x4f\x2c\xa0\x1c"
9920                           "\x7b\x97\xd7\xb2\xa5\x05\x17\xcc"
9921                           "\xf7\x3a\x29\x6f\xd5\x4b\xb8\x24"
9922                           "\xf4\x65\x95\x12\xc0\x86\xd1\x64"
9923                           "\x81\xdf\x46\x55\x0d\x22\x06\x77"
9924                           "\xd8\xca\x8d\xc8\x87\xc3\xfa\xb9"
9925                           "\xe1\x98\x94\xe6\x7b\xed\x65\x66"
9926                           "\x0e\xc7\x25\x15\xee\x4a\xe6\x7e"
9927                           "\xea\x1b\x58\xee\x96\xa0\x75\x9a"
9928                           "\xa3\x00\x9e\x42\xc2\x26\x20\x8c"
9929                           "\x3d\x22\x1f\x94\x3e\x74\x43\x72"
9930                           "\xe9\x1d\xa6\xa1\x6c\xa7\xb8\x03"
9931                           "\xdf\xb9\x7a\xaf\xe9\xe9\x3b\xfe"
9932                           "\xdf\x91\xc1\x01\xa8\xba\x5d\x29"
9933                           "\xa5\xe0\x98\x9b\x13\xe5\x13\x11"
9934                           "\x7c\x04\x3a\xe8\x44\x7e\x78\xfc"
9935                           "\xd6\x96\xa8\xbc\x7d\xc1\x89\x3d"
9936                           "\x75\x64\xa9\x0e\x86\x33\xfb\x73"
9937                           "\xf7\x15\xbc\x2c\x9a\x3f\x29\xce"
9938                           "\x1c\x9d\x10\x4e\x85\xe1\x77\x41"
9939                           "\x01\xe2\xbc\x88\xec\x81\xef\xc2"
9940                           "\x6a\xed\x4f\xf7\xdf\xac\x10\x71"
9941                           "\x94\xed\x71\xa4\x01\xd4\xd6\xbe"
9942                           "\xfe\x3e\xc3\x92\x6a\xf2\x2b\xb5"
9943                           "\xab\x15\x96\xb7\x88\x2c\xc2\xe1"
9944                           "\xb0\x04\x22\xe7\x3d\xa9\xc9\x7d"
9945                           "\x2c\x7c\x21\xff\x97\x86\x6b\x0c"
9946                           "\x2b\x5b\xe0\xb6\x48\x74\x8f\x24"
9947                           "\xef\x8e\xdd\x0f\x2a\x5f\xff\x33"
9948                           "\xf4\x8e\xc5\xeb\x9c\xd7\x2a\x45"
9949                           "\xf3\x50\xf1\xc0\x91\x8f\xc7\xf9"
9950                           "\x97\xc1\x3c\x9c\xf4\xed\x8a\x23"
9951                           "\x61\x5b\x40\x1a\x09\xee\x23\xa8"
9952                           "\x7c\x7a\x96\xe1\x31\x55\x3d\x12"
9953                           "\x04\x1f\x21\x78\x72\xf0\x0f\xa5"
9954                           "\x80\x58\x7c\x2f\x37\xb5\x67\x24"
9955                           "\x2f\xce\xf9\xf6\x86\x9f\xb3\x34"
9956                           "\x0c\xfe\x0a\xaf\x27\xe6\x5e\x0a"
9957                           "\x21\x44\x68\xe1\x5d\x84\x25\xae"
9958                           "\x2c\x5a\x94\x66\x9a\x3f\x0e\x5a"
9959                           "\xd0\x60\x2a\xd5\x3a\x4e\x2f\x40"
9960                           "\x87\xe9\x27\x3e\xee\x92\xe1\x07"
9961                           "\x22\x43\x52\xed\x67\x49\x13\xdd"
9962                           "\x68\xd7\x54\xc2\x76\x72\x7e\x75"
9963                           "\xaf\x24\x98\x5c\xe8\x22\xaa\x35"
9964                           "\x0f\x9a\x1c\x4c\x0b\x43\x68\x99"
9965                           "\x45\xdd\xbf\x82\xa5\x6f\x0a\xef"
9966                           "\x44\x90\x85\xe7\x57\x23\x22\x41"
9967                           "\x2e\xda\x24\x28\x65\x7f\x96\x85"
9968                           "\x9f\x4b\x0d\x43\xb9\xa8\xbd\x84"
9969                           "\xad\x0b\x09\xcc\x2c\x4a\x0c\xec"
9970                           "\x71\x58\xba\xf1\xfc\x49\x4c\xca"
9971                           "\x5c\x5d\xb2\x77\x0c\x99\xae\x1c"
9972                           "\xce\x70\x05\x5b\x73\x6b\x7c\x28"
9973                           "\x3b\xeb\x21\x3f\xa3\x71\xe1\x6a"
9974                           "\xf4\x87\xd0\xbf\x73\xaa\x0b\x0b"
9975                           "\xed\x70\xb3\xd4\xa3\xca\x76\x3a"
9976                           "\xdb\xfa\xd8\x08\x95\xec\xac\x59"
9977                           "\xd0\x79\x90\xc2\x33\x7b\xcc\x28"
9978                           "\x65\xb6\x5f\x92\xc4\xac\x23\x40"
9979                           "\xd1\x20\x44\x1f\xd7\x29\xab\x46"
9980                           "\x79\x32\xc6\x8f\x79\xe5\xaa\x2c"
9981                           "\xa6\x76\x70\x3a\x9e\x46\x3f\x8c"
9982                           "\x1a\x89\x32\x28\x61\x5c\xcf\x93"
9983                           "\x1e\xde\x9e\x98\xbe\x06\x30\x23"
9984                           "\xc4\x8b\xda\x1c\xd1\x67\x46\x93"
9985                           "\x9d\x41\xa2\x8c\x03\x22\xbd\x55"
9986                           "\x7e\x91\x51\x13\xdc\xcf\x5c\x1e"
9987                           "\xcb\x5d\xfb\x14\x16\x1a\x44\x56"
9988                           "\x27\x77\xfd\xed\x7d\xbd\xd1\x49"
9989                           "\x7f\x0d\xc3\x59\x48\x6b\x3c\x02"
9990                           "\x6b\xb5\xd0\x83\xd5\x81\x29\xe7"
9991                           "\xe0\xc9\x36\x23\x8d\x41\x33\x77"
9992                           "\xff\x5f\x54\xde\x4d\x3f\xd2\x4e"
9993                           "\xb6\x4d\xdd\x85\xf8\x9b\x20\x7d"
9994                           "\x39\x27\x68\x63\xd3\x8e\x61\x39"
9995                           "\xfa\xe1\xc3\x04\x74\x27\x5a\x34"
9996                           "\x7f\xec\x59\x2d\xc5\x6e\x54\x23"
9997                           "\xf5\x7b\x4b\xbe\x58\x2b\xf2\x81"
9998                           "\x93\x63\xcc\x13\xd9\x90\xbb\x6a"
9999                           "\x41\x03\x8d\x95\xeb\xbb\x5d\x06"
10000                           "\x38\x4c\x0e\xd6\xa9\x5b\x84\x97"
10001                           "\x3e\x64\x72\xe9\x96\x07\x0f\x73"
10002                           "\x6e\xc6\x3b\x32\xbe\xac\x13\x14"
10003                           "\xd0\x0a\x17\x5f\xb9\x9c\x3e\x34"
10004                           "\xd9\xec\xd6\x8f\x89\xbf\x1e\xd3"
10005                           "\xda\x80\xb2\x29\xff\x28\x96\xb3"
10006                           "\x46\x50\x5b\x15\x80\x97\xee\x1f"
10007                           "\x6c\xd8\xe8\xe0\xbd\x09\xe7\x20"
10008                           "\x8c\x23\x8e\xd9\xbb\x92\xfa\x82"
10009                           "\xaa\x0f\xb5\xf8\x78\x60\x11\xf0",
10010                 .ksize  = 1088,
10011                 .plaintext      = "\x0b\xb2\x31\x2d\xad\xfe\xce\xf9"
10012                           "\xec\x5d\x3d\x64\x5f\x3f\x75\x43"
10013                           "\x05\x5b\x97",
10014                 .psize  = 19,
10015                 .digest = "\x5f\x02\xae\x65\x6c\x13\x21\x67"
10016                           "\x77\x9e\xc4\x43\x58\x68\xde\x8f",
10017         }, {
10018                 .key    = "\x65\x4d\xe3\xf8\xd2\x4c\xac\x28"
10019                           "\x68\xf5\xb3\x81\x71\x4b\xa1\xfa"
10020                           "\x04\x0e\xd3\x81\x36\xbe\x0c\x81"
10021                           "\x5e\xaf\xbc\x3a\xa4\xc0\x8e\x8b"
10022                           "\x55\x63\xd3\x52\x97\x88\xd6\x19"
10023                           "\xbc\x96\xdf\x49\xff\x04\x63\xf5"
10024                           "\x0c\x11\x13\xaa\x9e\x1f\x5a\xf7"
10025                           "\xdd\xbd\x37\x80\xc3\xd0\xbe\xa7"
10026                           "\x05\xc8\x3c\x98\x1e\x05\x3c\x84"
10027                           "\x39\x61\xc4\xed\xed\x71\x1b\xc4"
10028                           "\x74\x45\x2c\xa1\x56\x70\x97\xfd"
10029                           "\x44\x18\x07\x7d\xca\x60\x1f\x73"
10030                           "\x3b\x6d\x21\xcb\x61\x87\x70\x25"
10031                           "\x46\x21\xf1\x1f\x21\x91\x31\x2d"
10032                           "\x5d\xcc\xb7\xd1\x84\x3e\x3d\xdb"
10033                           "\x03\x53\x2a\x82\xa6\x9a\x95\xbc"
10034                           "\x1a\x1e\x0a\x5e\x07\x43\xab\x43"
10035                           "\xaf\x92\x82\x06\x91\x04\x09\xf4"
10036                           "\x17\x0a\x9a\x2c\x54\xdb\xb8\xf4"
10037                           "\xd0\xf0\x10\x66\x24\x8d\xcd\xda"
10038                           "\xfe\x0e\x45\x9d\x6f\xc4\x4e\xf4"
10039                           "\x96\xaf\x13\xdc\xa9\xd4\x8c\xc4"
10040                           "\xc8\x57\x39\x3c\xc2\xd3\x0a\x76"
10041                           "\x4a\x1f\x75\x83\x44\xc7\xd1\x39"
10042                           "\xd8\xb5\x41\xba\x73\x87\xfa\x96"
10043                           "\xc7\x18\x53\xfb\x9b\xda\xa0\x97"
10044                           "\x1d\xee\x60\x85\x9e\x14\xc3\xce"
10045                           "\xc4\x05\x29\x3b\x95\x30\xa3\xd1"
10046                           "\x9f\x82\x6a\x04\xf5\xa7\x75\x57"
10047                           "\x82\x04\xfe\x71\x51\x71\xb1\x49"
10048                           "\x50\xf8\xe0\x96\xf1\xfa\xa8\x88"
10049                           "\x3f\xa0\x86\x20\xd4\x60\x79\x59"
10050                           "\x17\x2d\xd1\x09\xf4\xec\x05\x57"
10051                           "\xcf\x62\x7e\x0e\x7e\x60\x78\xe6"
10052                           "\x08\x60\x29\xd8\xd5\x08\x1a\x24"
10053                           "\xc4\x6c\x24\xe7\x92\x08\x3d\x8a"
10054                           "\x98\x7a\xcf\x99\x0a\x65\x0e\xdc"
10055                           "\x8c\x8a\xbe\x92\x82\x91\xcc\x62"
10056                           "\x30\xb6\xf4\x3f\xc6\x8a\x7f\x12"
10057                           "\x4a\x8a\x49\xfa\x3f\x5c\xd4\x5a"
10058                           "\xa6\x82\xa3\xe6\xaa\x34\x76\xb2"
10059                           "\xab\x0a\x30\xef\x6c\x77\x58\x3f"
10060                           "\x05\x6b\xcc\x5c\xae\xdc\xd7\xb9"
10061                           "\x51\x7e\x8d\x32\x5b\x24\x25\xbe"
10062                           "\x2b\x24\x01\xcf\x80\xda\x16\xd8"
10063                           "\x90\x72\x2c\xad\x34\x8d\x0c\x74"
10064                           "\x02\xcb\xfd\xcf\x6e\xef\x97\xb5"
10065                           "\x4c\xf2\x68\xca\xde\x43\x9e\x8a"
10066                           "\xc5\x5f\x31\x7f\x14\x71\x38\xec"
10067                           "\xbd\x98\xe5\x71\xc4\xb5\xdb\xef"
10068                           "\x59\xd2\xca\xc0\xc1\x86\x75\x01"
10069                           "\xd4\x15\x0d\x6f\xa4\xf7\x7b\x37"
10070                           "\x47\xda\x18\x93\x63\xda\xbe\x9e"
10071                           "\x07\xfb\xb2\x83\xd5\xc4\x34\x55"
10072                           "\xee\x73\xa1\x42\x96\xf9\x66\x41"
10073                           "\xa4\xcc\xd2\x93\x6e\xe1\x0a\xbb"
10074                           "\xd2\xdd\x18\x23\xe6\x6b\x98\x0b"
10075                           "\x8a\x83\x59\x2c\xc3\xa6\x59\x5b"
10076                           "\x01\x22\x59\xf7\xdc\xb0\x87\x7e"
10077                           "\xdb\x7d\xf4\x71\x41\xab\xbd\xee"
10078                           "\x79\xbe\x3c\x01\x76\x0b\x2d\x0a"
10079                           "\x42\xc9\x77\x8c\xbb\x54\x95\x60"
10080                           "\x43\x2e\xe0\x17\x52\xbd\x90\xc9"
10081                           "\xc2\x2c\xdd\x90\x24\x22\x76\x40"
10082                           "\x5c\xb9\x41\xc9\xa1\xd5\xbd\xe3"
10083                           "\x44\xe0\xa4\xab\xcc\xb8\xe2\x32"
10084                           "\x02\x15\x04\x1f\x8c\xec\x5d\x14"
10085                           "\xac\x18\xaa\xef\x6e\x33\x19\x6e"
10086                           "\xde\xfe\x19\xdb\xeb\x61\xca\x18"
10087                           "\xad\xd8\x3d\xbf\x09\x11\xc7\xa5"
10088                           "\x86\x0b\x0f\xe5\x3e\xde\xe8\xd9"
10089                           "\x0a\x69\x9e\x4c\x20\xff\xf9\xc5"
10090                           "\xfa\xf8\xf3\x7f\xa5\x01\x4b\x5e"
10091                           "\x0f\xf0\x3b\x68\xf0\x46\x8c\x2a"
10092                           "\x7a\xc1\x8f\xa0\xfe\x6a\x5b\x44"
10093                           "\x70\x5c\xcc\x92\x2c\x6f\x0f\xbd"
10094                           "\x25\x3e\xb7\x8e\x73\x58\xda\xc9"
10095                           "\xa5\xaa\x9e\xf3\x9b\xfd\x37\x3e"
10096                           "\xe2\x88\xa4\x7b\xc8\x5c\xa8\x93"
10097                           "\x0e\xe7\x9a\x9c\x2e\x95\x18\x9f"
10098                           "\xc8\x45\x0c\x88\x9e\x53\x4f\x3a"
10099                           "\x76\xc1\x35\xfa\x17\xd8\xac\xa0"
10100                           "\x0c\x2d\x47\x2e\x4f\x69\x9b\xf7"
10101                           "\xd0\xb6\x96\x0c\x19\xb3\x08\x01"
10102                           "\x65\x7a\x1f\xc7\x31\x86\xdb\xc8"
10103                           "\xc1\x99\x8f\xf8\x08\x4a\x9d\x23"
10104                           "\x22\xa8\xcf\x27\x01\x01\x88\x93"
10105                           "\x9c\x86\x45\xbd\xe0\x51\xca\x52"
10106                           "\x84\xba\xfe\x03\xf7\xda\xc5\xce"
10107                           "\x3e\x77\x75\x86\xaf\x84\xc8\x05"
10108                           "\x44\x01\x0f\x02\xf3\x58\xb0\x06"
10109                           "\x5a\xd7\x12\x30\x8d\xdf\x1f\x1f"
10110                           "\x0a\xe6\xd2\xea\xf6\x3a\x7a\x99"
10111                           "\x63\xe8\xd2\xc1\x4a\x45\x8b\x40"
10112                           "\x4d\x0a\xa9\x76\x92\xb3\xda\x87"
10113                           "\x36\x33\xf0\x78\xc3\x2f\x5f\x02"
10114                           "\x1a\x6a\x2c\x32\xcd\x76\xbf\xbd"
10115                           "\x5a\x26\x20\x28\x8c\x8c\xbc\x52"
10116                           "\x3d\x0a\xc9\xcb\xab\xa4\x21\xb0"
10117                           "\x54\x40\x81\x44\xc7\xd6\x1c\x11"
10118                           "\x44\xc6\x02\x92\x14\x5a\xbf\x1a"
10119                           "\x09\x8a\x18\xad\xcd\x64\x3d\x53"
10120                           "\x4a\xb6\xa5\x1b\x57\x0e\xef\xe0"
10121                           "\x8c\x44\x5f\x7d\xbd\x6c\xfd\x60"
10122                           "\xae\x02\x24\xb6\x99\xdd\x8c\xaf"
10123                           "\x59\x39\x75\x3c\xd1\x54\x7b\x86"
10124                           "\xcc\x99\xd9\x28\x0c\xb0\x94\x62"
10125                           "\xf9\x51\xd1\x19\x96\x2d\x66\xf5"
10126                           "\x55\xcf\x9e\x59\xe2\x6b\x2c\x08"
10127                           "\xc0\x54\x48\x24\x45\xc3\x8c\x73"
10128                           "\xea\x27\x6e\x66\x7d\x1d\x0e\x6e"
10129                           "\x13\xe8\x56\x65\x3a\xb0\x81\x5c"
10130                           "\xf0\xe8\xd8\x00\x6b\xcd\x8f\xad"
10131                           "\xdd\x53\xf3\xa4\x6c\x43\xd6\x31"
10132                           "\xaf\xd2\x76\x1e\x91\x12\xdb\x3c"
10133                           "\x8c\xc2\x81\xf0\x49\xdb\xe2\x6b"
10134                           "\x76\x62\x0a\x04\xe4\xaa\x8a\x7c"
10135                           "\x08\x0b\x5d\xd0\xee\x1d\xfb\xc4"
10136                           "\x02\x75\x42\xd6\xba\xa7\x22\xa8"
10137                           "\x47\x29\xb7\x85\x6d\x93\x3a\xdb"
10138                           "\x00\x53\x0b\xa2\xeb\xf8\xfe\x01"
10139                           "\x6f\x8a\x31\xd6\x17\x05\x6f\x67"
10140                           "\x88\x95\x32\xfe\x4f\xa6\x4b\xf8"
10141                           "\x03\xe4\xcd\x9a\x18\xe8\x4e\x2d"
10142                           "\xf7\x97\x9a\x0c\x7d\x9f\x7e\x44"
10143                           "\x69\x51\xe0\x32\x6b\x62\x86\x8f"
10144                           "\xa6\x8e\x0b\x21\x96\xe5\xaf\x77"
10145                           "\xc0\x83\xdf\xa5\x0e\xd0\xa1\x04"
10146                           "\xaf\xc1\x10\xcb\x5a\x40\xe4\xe3"
10147                           "\x38\x7e\x07\xe8\x4d\xfa\xed\xc5"
10148                           "\xf0\x37\xdf\xbb\x8a\xcf\x3d\xdc"
10149                           "\x61\xd2\xc6\x2b\xff\x07\xc9\x2f"
10150                           "\x0c\x2d\x5c\x07\xa8\x35\x6a\xfc"
10151                           "\xae\x09\x03\x45\x74\x51\x4d\xc4"
10152                           "\xb8\x23\x87\x4a\x99\x27\x20\x87"
10153                           "\x62\x44\x0a\x4a\xce\x78\x47\x22",
10154                 .ksize  = 1088,
10155                 .plaintext      = "\x8e\xb0\x4c\xde\x9c\x4a\x04\x5a"
10156                           "\xf6\xa9\x7f\x45\x25\xa5\x7b\x3a"
10157                           "\xbc\x4d\x73\x39\x81\xb5\xbd\x3d"
10158                           "\x21\x6f\xd7\x37\x50\x3c\x7b\x28"
10159                           "\xd1\x03\x3a\x17\xed\x7b\x7c\x2a"
10160                           "\x16\xbc\xdf\x19\x89\x52\x71\x31"
10161                           "\xb6\xc0\xfd\xb5\xd3\xba\x96\x99"
10162                           "\xb6\x34\x0b\xd0\x99\x93\xfc\x1a"
10163                           "\x01\x3c\x85\xc6\x9b\x78\x5c\x8b"
10164                           "\xfe\xae\xd2\xbf\xb2\x6f\xf9\xed"
10165                           "\xc8\x25\x17\xfe\x10\x3b\x7d\xda"
10166                           "\xf4\x8d\x35\x4b\x7c\x7b\x82\xe7"
10167                           "\xc2\xb3\xee\x60\x4a\x03\x86\xc9"
10168                           "\x4e\xb5\xc4\xbe\xd2\xbd\x66\xf1"
10169                           "\x13\xf1\x09\xab\x5d\xca\x63\x1f"
10170                           "\xfc\xfb\x57\x2a\xfc\xca\x66\xd8"
10171                           "\x77\x84\x38\x23\x1d\xac\xd3\xb3"
10172                           "\x7a\xad\x4c\x70\xfa\x9c\xc9\x61"
10173                           "\xa6\x1b\xba\x33\x4b\x4e\x33\xec"
10174                           "\xa0\xa1\x64\x39\x40\x05\x1c\xc2"
10175                           "\x3f\x49\x9d\xae\xf2\xc5\xf2\xc5"
10176                           "\xfe\xe8\xf4\xc2\xf9\x96\x2d\x28"
10177                           "\x92\x30\x44\xbc\xd2\x7f\xe1\x6e"
10178                           "\x62\x02\x8f\x3d\x1c\x80\xda\x0e"
10179                           "\x6a\x90\x7e\x75\xff\xec\x3e\xc4"
10180                           "\xcd\x16\x34\x3b\x05\x6d\x4d\x20"
10181                           "\x1c\x7b\xf5\x57\x4f\xfa\x3d\xac"
10182                           "\xd0\x13\x55\xe8\xb3\xe1\x1b\x78"
10183                           "\x30\xe6\x9f\x84\xd4\x69\xd1\x08"
10184                           "\x12\x77\xa7\x4a\xbd\xc0\xf2\xd2"
10185                           "\x78\xdd\xa3\x81\x12\xcb\x6c\x14"
10186                           "\x90\x61\xe2\x84\xc6\x2b\x16\xcc"
10187                           "\x40\x99\x50\x88\x01\x09\x64\x4f"
10188                           "\x0a\x80\xbe\x61\xae\x46\xc9\x0a"
10189                           "\x5d\xe0\xfb\x72\x7a\x1a\xdd\x61"
10190                           "\x63\x20\x05\xa0\x4a\xf0\x60\x69"
10191                           "\x7f\x92\xbc\xbf\x4e\x39\x4d\xdd"
10192                           "\x74\xd1\xb7\xc0\x5a\x34\xb7\xae"
10193                           "\x76\x65\x2e\xbc\x36\xb9\x04\x95"
10194                           "\x42\xe9\x6f\xca\x78\xb3\x72\x07"
10195                           "\xa3\xba\x02\x94\x67\x4c\xb1\xd7"
10196                           "\xe9\x30\x0d\xf0\x3b\xb8\x10\x6d"
10197                           "\xea\x2b\x21\xbf\x74\x59\x82\x97"
10198                           "\x85\xaa\xf1\xd7\x54\x39\xeb\x05"
10199                           "\xbd\xf3\x40\xa0\x97\xe6\x74\xfe"
10200                           "\xb4\x82\x5b\xb1\x36\xcb\xe8\x0d"
10201                           "\xce\x14\xd9\xdf\xf1\x94\x22\xcd"
10202                           "\xd6\x00\xba\x04\x4c\x05\x0c\xc0"
10203                           "\xd1\x5a\xeb\x52\xd5\xa8\x8e\xc8"
10204                           "\x97\xa1\xaa\xc1\xea\xc1\xbe\x7c"
10205                           "\x36\xb3\x36\xa0\xc6\x76\x66\xc5"
10206                           "\xe2\xaf\xd6\x5c\xe2\xdb\x2c\xb3"
10207                           "\x6c\xb9\x99\x7f\xff\x9f\x03\x24"
10208                           "\xe1\x51\x44\x66\xd8\x0c\x5d\x7f"
10209                           "\x5c\x85\x22\x2a\xcf\x6d\x79\x28"
10210                           "\xab\x98\x01\x72\xfe\x80\x87\x5f"
10211                           "\x46\xba\xef\x81\x24\xee\xbf\xb0"
10212                           "\x24\x74\xa3\x65\x97\x12\xc4\xaf"
10213                           "\x8b\xa0\x39\xda\x8a\x7e\x74\x6e"
10214                           "\x1b\x42\xb4\x44\x37\xfc\x59\xfd"
10215                           "\x86\xed\xfb\x8c\x66\x33\xda\x63"
10216                           "\x75\xeb\xe1\xa4\x85\x4f\x50\x8f"
10217                           "\x83\x66\x0d\xd3\x37\xfa\xe6\x9c"
10218                           "\x4f\x30\x87\x35\x18\xe3\x0b\xb7"
10219                           "\x6e\x64\x54\xcd\x70\xb3\xde\x54"
10220                           "\xb7\x1d\xe6\x4c\x4d\x55\x12\x12"
10221                           "\xaf\x5f\x7f\x5e\xee\x9d\xe8\x8e"
10222                           "\x32\x9d\x4e\x75\xeb\xc6\xdd\xaa"
10223                           "\x48\x82\xa4\x3f\x3c\xd7\xd3\xa8"
10224                           "\x63\x9e\x64\xfe\xe3\x97\x00\x62"
10225                           "\xe5\x40\x5d\xc3\xad\x72\xe1\x28"
10226                           "\x18\x50\xb7\x75\xef\xcd\x23\xbf"
10227                           "\x3f\xc0\x51\x36\xf8\x41\xc3\x08"
10228                           "\xcb\xf1\x8d\x38\x34\xbd\x48\x45"
10229                           "\x75\xed\xbc\x65\x7b\xb5\x0c\x9b"
10230                           "\xd7\x67\x7d\x27\xb4\xc4\x80\xd7"
10231                           "\xa9\xb9\xc7\x4a\x97\xaa\xda\xc8"
10232                           "\x3c\x74\xcf\x36\x8f\xe4\x41\xe3"
10233                           "\xd4\xd3\x26\xa7\xf3\x23\x9d\x8f"
10234                           "\x6c\x20\x05\x32\x3e\xe0\xc3\xc8"
10235                           "\x56\x3f\xa7\x09\xb7\xfb\xc7\xf7"
10236                           "\xbe\x2a\xdd\x0f\x06\x7b\x0d\xdd"
10237                           "\xb0\xb4\x86\x17\xfd\xb9\x04\xe5"
10238                           "\xc0\x64\x5d\xad\x2a\x36\x38\xdb"
10239                           "\x24\xaf\x5b\xff\xca\xf9\x41\xe8"
10240                           "\xf9\x2f\x1e\x5e\xf9\xf5\xd5\xf2"
10241                           "\xb2\x88\xca\xc9\xa1\x31\xe2\xe8"
10242                           "\x10\x95\x65\xbf\xf1\x11\x61\x7a"
10243                           "\x30\x1a\x54\x90\xea\xd2\x30\xf6"
10244                           "\xa5\xad\x60\xf9\x4d\x84\x21\x1b"
10245                           "\xe4\x42\x22\xc8\x12\x4b\xb0\x58"
10246                           "\x3e\x9c\x2d\x32\x95\x0a\x8e\xb0"
10247                           "\x0a\x7e\x77\x2f\xe8\x97\x31\x6a"
10248                           "\xf5\x59\xb4\x26\xe6\x37\x12\xc9"
10249                           "\xcb\xa0\x58\x33\x6f\xd5\x55\x55"
10250                           "\x3c\xa1\x33\xb1\x0b\x7e\x2e\xb4"
10251                           "\x43\x2a\x84\x39\xf0\x9c\xf4\x69"
10252                           "\x4f\x1e\x79\xa6\x15\x1b\x87\xbb"
10253                           "\xdb\x9b\xe0\xf1\x0b\xba\xe3\x6e"
10254                           "\xcc\x2f\x49\x19\x22\x29\xfc\x71"
10255                           "\xbb\x77\x38\x18\x61\xaf\x85\x76"
10256                           "\xeb\xd1\x09\xcc\x86\x04\x20\x9a"
10257                           "\x66\x53\x2f\x44\x8b\xc6\xa3\xd2"
10258                           "\x5f\xc7\x79\x82\x66\xa8\x6e\x75"
10259                           "\x7d\x94\xd1\x86\x75\x0f\xa5\x4f"
10260                           "\x3c\x7a\x33\xce\xd1\x6e\x9d\x7b"
10261                           "\x1f\x91\x37\xb8\x37\x80\xfb\xe0"
10262                           "\x52\x26\xd0\x9a\xd4\x48\x02\x41"
10263                           "\x05\xe3\x5a\x94\xf1\x65\x61\x19"
10264                           "\xb8\x88\x4e\x2b\xea\xba\x8b\x58"
10265                           "\x8b\x42\x01\x00\xa8\xfe\x00\x5c"
10266                           "\xfe\x1c\xee\x31\x15\x69\xfa\xb3"
10267                           "\x9b\x5f\x22\x8e\x0d\x2c\xe3\xa5"
10268                           "\x21\xb9\x99\x8a\x8e\x94\x5a\xef"
10269                           "\x13\x3e\x99\x96\x79\x6e\xd5\x42"
10270                           "\x36\x03\xa9\xe2\xca\x65\x4e\x8a"
10271                           "\x8a\x30\xd2\x7d\x74\xe7\xf0\xaa"
10272                           "\x23\x26\xdd\xcb\x82\x39\xfc\x9d"
10273                           "\x51\x76\x21\x80\xa2\xbe\x93\x03"
10274                           "\x47\xb0\xc1\xb6\xdc\x63\xfd\x9f"
10275                           "\xca\x9d\xa5\xca\x27\x85\xe2\xd8"
10276                           "\x15\x5b\x7e\x14\x7a\xc4\x89\xcc"
10277                           "\x74\x14\x4b\x46\xd2\xce\xac\x39"
10278                           "\x6b\x6a\x5a\xa4\x0e\xe3\x7b\x15"
10279                           "\x94\x4b\x0f\x74\xcb\x0c\x7f\xa9"
10280                           "\xbe\x09\x39\xa3\xdd\x56\x5c\xc7"
10281                           "\x99\x56\x65\x39\xf4\x0b\x7d\x87"
10282                           "\xec\xaa\xe3\x4d\x22\x65\x39\x4e",
10283                 .psize  = 1024,
10284                 .digest = "\x64\x3a\xbc\xc3\x3f\x74\x40\x51"
10285                           "\x6e\x56\x01\x1a\x51\xec\x36\xde",
10286         }, {
10287                 .key    = "\x1b\x82\x2e\x1b\x17\x23\xb9\x6d"
10288                           "\xdc\x9c\xda\x99\x07\xe3\x5f\xd8"
10289                           "\xd2\xf8\x43\x80\x8d\x86\x7d\x80"
10290                           "\x1a\xd0\xcc\x13\xb9\x11\x05\x3f"
10291                           "\x7e\xcf\x7e\x80\x0e\xd8\x25\x48"
10292                           "\x8b\xaa\x63\x83\x92\xd0\x72\xf5"
10293                           "\x4f\x67\x7e\x50\x18\x25\xa4\xd1"
10294                           "\xe0\x7e\x1e\xba\xd8\xa7\x6e\xdb"
10295                           "\x1a\xcc\x0d\xfe\x9f\x6d\x22\x35"
10296                           "\xe1\xe6\xe0\xa8\x7b\x9c\xb1\x66"
10297                           "\xa3\xf8\xff\x4d\x90\x84\x28\xbc"
10298                           "\xdc\x19\xc7\x91\x49\xfc\xf6\x33"
10299                           "\xc9\x6e\x65\x7f\x28\x6f\x68\x2e"
10300                           "\xdf\x1a\x75\xe9\xc2\x0c\x96\xb9"
10301                           "\x31\x22\xc4\x07\xc6\x0a\x2f\xfd"
10302                           "\x36\x06\x5f\x5c\xc5\xb1\x3a\xf4"
10303                           "\x5e\x48\xa4\x45\x2b\x88\xa7\xee"
10304                           "\xa9\x8b\x52\xcc\x99\xd9\x2f\xb8"
10305                           "\xa4\x58\x0a\x13\xeb\x71\x5a\xfa"
10306                           "\xe5\x5e\xbe\xf2\x64\xad\x75\xbc"
10307                           "\x0b\x5b\x34\x13\x3b\x23\x13\x9a"
10308                           "\x69\x30\x1e\x9a\xb8\x03\xb8\x8b"
10309                           "\x3e\x46\x18\x6d\x38\xd9\xb3\xd8"
10310                           "\xbf\xf1\xd0\x28\xe6\x51\x57\x80"
10311                           "\x5e\x99\xfb\xd0\xce\x1e\x83\xf7"
10312                           "\xe9\x07\x5a\x63\xa9\xef\xce\xa5"
10313                           "\xfb\x3f\x37\x17\xfc\x0b\x37\x0e"
10314                           "\xbb\x4b\x21\x62\xb7\x83\x0e\xa9"
10315                           "\x9e\xb0\xc4\xad\x47\xbe\x35\xe7"
10316                           "\x51\xb2\xf2\xac\x2b\x65\x7b\x48"
10317                           "\xe3\x3f\x5f\xb6\x09\x04\x0c\x58"
10318                           "\xce\x99\xa9\x15\x2f\x4e\xc1\xf2"
10319                           "\x24\x48\xc0\xd8\x6c\xd3\x76\x17"
10320                           "\x83\x5d\xe6\xe3\xfd\x01\x8e\xf7"
10321                           "\x42\xa5\x04\x29\x30\xdf\xf9\x00"
10322                           "\x4a\xdc\x71\x22\x1a\x33\x15\xb6"
10323                           "\xd7\x72\xfb\x9a\xb8\xeb\x2b\x38"
10324                           "\xea\xa8\x61\xa8\x90\x11\x9d\x73"
10325                           "\x2e\x6c\xce\x81\x54\x5a\x9f\xcd"
10326                           "\xcf\xd5\xbd\x26\x5d\x66\xdb\xfb"
10327                           "\xdc\x1e\x7c\x10\xfe\x58\x82\x10"
10328                           "\x16\x24\x01\xce\x67\x55\x51\xd1"
10329                           "\xdd\x6b\x44\xa3\x20\x8e\xa9\xa6"
10330                           "\x06\xa8\x29\x77\x6e\x00\x38\x5b"
10331                           "\xde\x4d\x58\xd8\x1f\x34\xdf\xf9"
10332                           "\x2c\xac\x3e\xad\xfb\x92\x0d\x72"
10333                           "\x39\xa4\xac\x44\x10\xc0\x43\xc4"
10334                           "\xa4\x77\x3b\xfc\xc4\x0d\x37\xd3"
10335                           "\x05\x84\xda\x53\x71\xf8\x80\xd3"
10336                           "\x34\x44\xdb\x09\xb4\x2b\x8e\xe3"
10337                           "\x00\x75\x50\x9e\x43\x22\x00\x0b"
10338                           "\x7c\x70\xab\xd4\x41\xf1\x93\xcd"
10339                           "\x25\x2d\x84\x74\xb5\xf2\x92\xcd"
10340                           "\x0a\x28\xea\x9a\x49\x02\x96\xcb"
10341                           "\x85\x9e\x2f\x33\x03\x86\x1d\xdc"
10342                           "\x1d\x31\xd5\xfc\x9d\xaa\xc5\xe9"
10343                           "\x9a\xc4\x57\xf5\x35\xed\xf4\x4b"
10344                           "\x3d\x34\xc2\x29\x13\x86\x36\x42"
10345                           "\x5d\xbf\x90\x86\x13\x77\xe5\xc3"
10346                           "\x62\xb4\xfe\x0b\x70\x39\x35\x65"
10347                           "\x02\xea\xf6\xce\x57\x0c\xbb\x74"
10348                           "\x29\xe3\xfd\x60\x90\xfd\x10\x38"
10349                           "\xd5\x4e\x86\xbd\x37\x70\xf0\x97"
10350                           "\xa6\xab\x3b\x83\x64\x52\xca\x66"
10351                           "\x2f\xf9\xa4\xca\x3a\x55\x6b\xb0"
10352                           "\xe8\x3a\x34\xdb\x9e\x48\x50\x2f"
10353                           "\x3b\xef\xfd\x08\x2d\x5f\xc1\x37"
10354                           "\x5d\xbe\x73\xe4\xd8\xe9\xac\xca"
10355                           "\x8a\xaa\x48\x7c\x5c\xf4\xa6\x96"
10356                           "\x5f\xfa\x70\xa6\xb7\x8b\x50\xcb"
10357                           "\xa6\xf5\xa9\xbd\x7b\x75\x4c\x22"
10358                           "\x0b\x19\x40\x2e\xc9\x39\x39\x32"
10359                           "\x83\x03\xa8\xa4\x98\xe6\x8e\x16"
10360                           "\xb9\xde\x08\xc5\xfc\xbf\xad\x39"
10361                           "\xa8\xc7\x93\x6c\x6f\x23\xaf\xc1"
10362                           "\xab\xe1\xdf\xbb\x39\xae\x93\x29"
10363                           "\x0e\x7d\x80\x8d\x3e\x65\xf3\xfd"
10364                           "\x96\x06\x65\x90\xa1\x28\x64\x4b"
10365                           "\x69\xf9\xa8\x84\x27\x50\xfc\x87"
10366                           "\xf7\xbf\x55\x8e\x56\x13\x58\x7b"
10367                           "\x85\xb4\x6a\x72\x0f\x40\xf1\x4f"
10368                           "\x83\x81\x1f\x76\xde\x15\x64\x7a"
10369                           "\x7a\x80\xe4\xc7\x5e\x63\x01\x91"
10370                           "\xd7\x6b\xea\x0b\x9b\xa2\x99\x3b"
10371                           "\x6c\x88\xd8\xfd\x59\x3c\x8d\x22"
10372                           "\x86\x56\xbe\xab\xa1\x37\x08\x01"
10373                           "\x50\x85\x69\x29\xee\x9f\xdf\x21"
10374                           "\x3e\x20\x20\xf5\xb0\xbb\x6b\xd0"
10375                           "\x9c\x41\x38\xec\x54\x6f\x2d\xbd"
10376                           "\x0f\xe1\xbd\xf1\x2b\x6e\x60\x56"
10377                           "\x29\xe5\x7a\x70\x1c\xe2\xfc\x97"
10378                           "\x82\x68\x67\xd9\x3d\x1f\xfb\xd8"
10379                           "\x07\x9f\xbf\x96\x74\xba\x6a\x0e"
10380                           "\x10\x48\x20\xd8\x13\x1e\xb5\x44"
10381                           "\xf2\xcc\xb1\x8b\xfb\xbb\xec\xd7"
10382                           "\x37\x70\x1f\x7c\x55\xd2\x4b\xb9"
10383                           "\xfd\x70\x5e\xa3\x91\x73\x63\x52"
10384                           "\x13\x47\x5a\x06\xfb\x01\x67\xa5"
10385                           "\xc0\xd0\x49\x19\x56\x66\x9a\x77"
10386                           "\x64\xaf\x8c\x25\x91\x52\x87\x0e"
10387                           "\x18\xf3\x5f\x97\xfd\x71\x13\xf8"
10388                           "\x05\xa5\x39\xcc\x65\xd3\xcc\x63"
10389                           "\x5b\xdb\x5f\x7e\x5f\x6e\xad\xc4"
10390                           "\xf4\xa0\xc5\xc2\x2b\x4d\x97\x38"
10391                           "\x4f\xbc\xfa\x33\x17\xb4\x47\xb9"
10392                           "\x43\x24\x15\x8d\xd2\xed\x80\x68"
10393                           "\x84\xdb\x04\x80\xca\x5e\x6a\x35"
10394                           "\x2c\x2c\xe7\xc5\x03\x5f\x54\xb0"
10395                           "\x5e\x4f\x1d\x40\x54\x3d\x78\x9a"
10396                           "\xac\xda\x80\x27\x4d\x15\x4c\x1a"
10397                           "\x6e\x80\xc9\xc4\x3b\x84\x0e\xd9"
10398                           "\x2e\x93\x01\x8c\xc3\xc8\x91\x4b"
10399                           "\xb3\xaa\x07\x04\x68\x5b\x93\xa5"
10400                           "\xe7\xc4\x9d\xe7\x07\xee\xf5\x3b"
10401                           "\x40\x89\xcc\x60\x34\x9d\xb4\x06"
10402                           "\x1b\xef\x92\xe6\xc1\x2a\x7d\x0f"
10403                           "\x81\xaa\x56\xe3\xd7\xed\xa7\xd4"
10404                           "\xa7\x3a\x49\xc4\xad\x81\x5c\x83"
10405                           "\x55\x8e\x91\x54\xb7\x7d\x65\xa5"
10406                           "\x06\x16\xd5\x9a\x16\xc1\xb0\xa2"
10407                           "\x06\xd8\x98\x47\x73\x7e\x73\xa0"
10408                           "\xb8\x23\xb1\x52\xbf\x68\x74\x5d"
10409                           "\x0b\xcb\xfa\x8c\x46\xe3\x24\xe6"
10410                           "\xab\xd4\x69\x8d\x8c\xf2\x8a\x59"
10411                           "\xbe\x48\x46\x50\x8c\x9a\xe8\xe3"
10412                           "\x31\x55\x0a\x06\xed\x4f\xf8\xb7"
10413                           "\x4f\xe3\x85\x17\x30\xbd\xd5\x20"
10414                           "\xe7\x5b\xb2\x32\xcf\x6b\x16\x44"
10415                           "\xd2\xf5\x7e\xd7\xd1\x2f\xee\x64"
10416                           "\x3e\x9d\x10\xef\x27\x35\x43\x64"
10417                           "\x67\xfb\x7a\x7b\xe0\x62\x31\x9a"
10418                           "\x4d\xdf\xa5\xab\xc0\x20\xbb\x01"
10419                           "\xe9\x7b\x54\xf1\xde\xb2\x79\x50"
10420                           "\x6c\x4b\x91\xdb\x7f\xbb\x50\xc1"
10421                           "\x55\x44\x38\x9a\xe0\x9f\xe8\x29"
10422                           "\x6f\x15\xf8\x4e\xa6\xec\xa0\x60",
10423                 .ksize  = 1088,
10424                 .plaintext      = "\x15\x68\x9e\x2f\xad\x15\x52\xdf"
10425                           "\xf0\x42\x62\x24\x2a\x2d\xea\xbf"
10426                           "\xc7\xf3\xb4\x1a\xf5\xed\xb2\x08"
10427                           "\x15\x60\x1c\x00\x77\xbf\x0b\x0e"
10428                           "\xb7\x2c\xcf\x32\x3a\xc7\x01\x77"
10429                           "\xef\xa6\x75\xd0\x29\xc7\x68\x20"
10430                           "\xb2\x92\x25\xbf\x12\x34\xe9\xa4"
10431                           "\xfd\x32\x7b\x3f\x7c\xbd\xa5\x02"
10432                           "\x38\x41\xde\xc9\xc1\x09\xd9\xfc"
10433                           "\x6e\x78\x22\x83\x18\xf7\x50\x8d"
10434                           "\x8f\x9c\x2d\x02\xa5\x30\xac\xff"
10435                           "\xea\x63\x2e\x80\x37\x83\xb0\x58"
10436                           "\xda\x2f\xef\x21\x55\xba\x7b\xb1"
10437                           "\xb6\xed\xf5\xd2\x4d\xaa\x8c\xa9"
10438                           "\xdd\xdb\x0f\xb4\xce\xc1\x9a\xb1"
10439                           "\xc1\xdc\xbd\xab\x86\xc2\xdf\x0b"
10440                           "\xe1\x2c\xf9\xbe\xf6\xd8\xda\x62"
10441                           "\x72\xdd\x98\x09\x52\xc0\xc4\xb6"
10442                           "\x7b\x17\x5c\xf5\xd8\x4b\x88\xd6"
10443                           "\x6b\xbf\x84\x4a\x3f\xf5\x4d\xd2"
10444                           "\x94\xe2\x9c\xff\xc7\x3c\xd9\xc8"
10445                           "\x37\x38\xbc\x8c\xf3\xe7\xb7\xd0"
10446                           "\x1d\x78\xc4\x39\x07\xc8\x5e\x79"
10447                           "\xb6\x5a\x90\x5b\x6e\x97\xc9\xd4"
10448                           "\x82\x9c\xf3\x83\x7a\xe7\x97\xfc"
10449                           "\x1d\xbb\xef\xdb\xce\xe0\x82\xad"
10450                           "\xca\x07\x6c\x54\x62\x6f\x81\xe6"
10451                           "\x7a\x5a\x96\x6e\x80\x3a\xa2\x37"
10452                           "\x6f\xc6\xa4\x29\xc3\x9e\x19\x94"
10453                           "\x9f\xb0\x3e\x38\xfb\x3c\x2b\x7d"
10454                           "\xaa\xb8\x74\xda\x54\x23\x51\x12"
10455                           "\x4b\x96\x36\x8f\x91\x4f\x19\x37"
10456                           "\x83\xc9\xdd\xc7\x1a\x32\x2d\xab"
10457                           "\xc7\x89\xe2\x07\x47\x6c\xe8\xa6"
10458                           "\x70\x6b\x8e\x0c\xda\x5c\x6a\x59"
10459                           "\x27\x33\x0e\xe1\xe1\x20\xe8\xc8"
10460                           "\xae\xdc\xd0\xe3\x6d\xa8\xa6\x06"
10461                           "\x41\xb4\xd4\xd4\xcf\x91\x3e\x06"
10462                           "\xb0\x9a\xf7\xf1\xaa\xa6\x23\x92"
10463                           "\x10\x86\xf0\x94\xd1\x7c\x2e\x07"
10464                           "\x30\xfb\xc5\xd8\xf3\x12\xa9\xe8"
10465                           "\x22\x1c\x97\x1a\xad\x96\xb0\xa1"
10466                           "\x72\x6a\x6b\xb4\xfd\xf7\xe8\xfa"
10467                           "\xe2\x74\xd8\x65\x8d\x35\x17\x4b"
10468                           "\x00\x23\x5c\x8c\x70\xad\x71\xa2"
10469                           "\xca\xc5\x6c\x59\xbf\xb4\xc0\x6d"
10470                           "\x86\x98\x3e\x19\x5a\x90\x92\xb1"
10471                           "\x66\x57\x6a\x91\x68\x7c\xbc\xf3"
10472                           "\xf1\xdb\x94\xf8\x48\xf1\x36\xd8"
10473                           "\x78\xac\x1c\xa9\xcc\xd6\x27\xba"
10474                           "\x91\x54\x22\xf5\xe6\x05\x3f\xcc"
10475                           "\xc2\x8f\x2c\x3b\x2b\xc3\x2b\x2b"
10476                           "\x3b\xb8\xb6\x29\xb7\x2f\x94\xb6"
10477                           "\x7b\xfc\x94\x3e\xd0\x7a\x41\x59"
10478                           "\x7b\x1f\x9a\x09\xa6\xed\x4a\x82"
10479                           "\x9d\x34\x1c\xbd\x4e\x1c\x3a\x66"
10480                           "\x80\x74\x0e\x9a\x4f\x55\x54\x47"
10481                           "\x16\xba\x2a\x0a\x03\x35\x99\xa3"
10482                           "\x5c\x63\x8d\xa2\x72\x8b\x17\x15"
10483                           "\x68\x39\x73\xeb\xec\xf2\xe8\xf5"
10484                           "\x95\x32\x27\xd6\xc4\xfe\xb0\x51"
10485                           "\xd5\x0c\x50\xc5\xcd\x6d\x16\xb3"
10486                           "\xa3\x1e\x95\x69\xad\x78\x95\x06"
10487                           "\xb9\x46\xf2\x6d\x24\x5a\x99\x76"
10488                           "\x73\x6a\x91\xa6\xac\x12\xe1\x28"
10489                           "\x79\xbc\x08\x4e\x97\x00\x98\x63"
10490                           "\x07\x1c\x4e\xd1\x68\xf3\xb3\x81"
10491                           "\xa8\xa6\x5f\xf1\x01\xc9\xc1\xaf"
10492                           "\x3a\x96\xf9\x9d\xb5\x5a\x5f\x8f"
10493                           "\x7e\xc1\x7e\x77\x0a\x40\xc8\x8e"
10494                           "\xfc\x0e\xed\xe1\x0d\xb0\xe5\x5e"
10495                           "\x5e\x6f\xf5\x7f\xab\x33\x7d\xcd"
10496                           "\xf0\x09\x4b\xb2\x11\x37\xdc\x65"
10497                           "\x97\x32\x62\x71\x3a\x29\x54\xb9"
10498                           "\xc7\xa4\xbf\x75\x0f\xf9\x40\xa9"
10499                           "\x8d\xd7\x8b\xa7\xe0\x9a\xbe\x15"
10500                           "\xc6\xda\xd8\x00\x14\x69\x1a\xaf"
10501                           "\x5f\x79\xc3\xf5\xbb\x6c\x2a\x9d"
10502                           "\xdd\x3c\x5f\x97\x21\xe1\x3a\x03"
10503                           "\x84\x6a\xe9\x76\x11\x1f\xd3\xd5"
10504                           "\xf0\x54\x20\x4d\xc2\x91\xc3\xa4"
10505                           "\x36\x25\xbe\x1b\x2a\x06\xb7\xf3"
10506                           "\xd1\xd0\x55\x29\x81\x4c\x83\xa3"
10507                           "\xa6\x84\x1e\x5c\xd1\xd0\x6c\x90"
10508                           "\xa4\x11\xf0\xd7\x63\x6a\x48\x05"
10509                           "\xbc\x48\x18\x53\xcd\xb0\x8d\xdb"
10510                           "\xdc\xfe\x55\x11\x5c\x51\xb3\xab"
10511                           "\xab\x63\x3e\x31\x5a\x8b\x93\x63"
10512                           "\x34\xa9\xba\x2b\x69\x1a\xc0\xe3"
10513                           "\xcb\x41\xbc\xd7\xf5\x7f\x82\x3e"
10514                           "\x01\xa3\x3c\x72\xf4\xfe\xdf\xbe"
10515                           "\xb1\x67\x17\x2b\x37\x60\x0d\xca"
10516                           "\x6f\xc3\x94\x2c\xd2\x92\x6d\x9d"
10517                           "\x75\x18\x77\xaa\x29\x38\x96\xed"
10518                           "\x0e\x20\x70\x92\xd5\xd0\xb4\x00"
10519                           "\xc0\x31\xf2\xc9\x43\x0e\x75\x1d"
10520                           "\x4b\x64\xf2\x1f\xf2\x29\x6c\x7b"
10521                           "\x7f\xec\x59\x7d\x8c\x0d\xd4\xd3"
10522                           "\xac\x53\x4c\xa3\xde\x42\x92\x95"
10523                           "\x6d\xa3\x4f\xd0\xe6\x3d\xe7\xec"
10524                           "\x7a\x4d\x68\xf1\xfe\x67\x66\x09"
10525                           "\x83\x22\xb1\x98\x43\x8c\xab\xb8"
10526                           "\x45\xe6\x6d\xdf\x5e\x50\x71\xce"
10527                           "\xf5\x4e\x40\x93\x2b\xfa\x86\x0e"
10528                           "\xe8\x30\xbd\x82\xcc\x1c\x9c\x5f"
10529                           "\xad\xfd\x08\x31\xbe\x52\xe7\xe6"
10530                           "\xf2\x06\x01\x62\x25\x15\x99\x74"
10531                           "\x33\x51\x52\x57\x3f\x57\x87\x61"
10532                           "\xb9\x7f\x29\x3d\xcd\x92\x5e\xa6"
10533                           "\x5c\x3b\xf1\xed\x5f\xeb\x82\xed"
10534                           "\x56\x7b\x61\xe7\xfd\x02\x47\x0e"
10535                           "\x2a\x15\xa4\xce\x43\x86\x9b\xe1"
10536                           "\x2b\x4c\x2a\xd9\x42\x97\xf7\x9a"
10537                           "\xe5\x47\x46\x48\xd3\x55\x6f\x4d"
10538                           "\xd9\xeb\x4b\xdd\x7b\x21\x2f\xb3"
10539                           "\xa8\x36\x28\xdf\xca\xf1\xf6\xd9"
10540                           "\x10\xf6\x1c\xfd\x2e\x0c\x27\xe0"
10541                           "\x01\xb3\xff\x6d\x47\x08\x4d\xd4"
10542                           "\x00\x25\xee\x55\x4a\xe9\xe8\x5b"
10543                           "\xd8\xf7\x56\x12\xd4\x50\xb2\xe5"
10544                           "\x51\x6f\x34\x63\x69\xd2\x4e\x96"
10545                           "\x4e\xbc\x79\xbf\x18\xae\xc6\x13"
10546                           "\x80\x92\x77\xb0\xb4\x0f\x29\x94"
10547                           "\x6f\x4c\xbb\x53\x11\x36\xc3\x9f"
10548                           "\x42\x8e\x96\x8a\x91\xc8\xe9\xfc"
10549                           "\xfe\xbf\x7c\x2d\x6f\xf9\xb8\x44"
10550                           "\x89\x1b\x09\x53\x0a\x2a\x92\xc3"
10551                           "\x54\x7a\x3a\xf9\xe2\xe4\x75\x87"
10552                           "\xa0\x5e\x4b\x03\x7a\x0d\x8a\xf4"
10553                           "\x55\x59\x94\x2b\x63\x96\x0e\xf5",
10554                 .psize  = 1040,
10555                 .digest = "\xb5\xb9\x08\xb3\x24\x3e\x03\xf0"
10556                           "\xd6\x0b\x57\xbc\x0a\x6d\x89\x59",
10557         }, {
10558                 .key    = "\xf6\x34\x42\x71\x35\x52\x8b\x58"
10559                           "\x02\x3a\x8e\x4a\x8d\x41\x13\xe9"
10560                           "\x7f\xba\xb9\x55\x9d\x73\x4d\xf8"
10561                           "\x3f\x5d\x73\x15\xff\xd3\x9e\x7f"
10562                           "\x20\x2a\x6a\xa8\xd1\xf0\x8f\x12"
10563                           "\x6b\x02\xd8\x6c\xde\xba\x80\x22"
10564                           "\x19\x37\xc8\xd0\x4e\x89\x17\x7c"
10565                           "\x7c\xdd\x88\xfd\x41\xc0\x04\xb7"
10566                           "\x1d\xac\x19\xe3\x20\xc7\x16\xcf"
10567                           "\x58\xee\x1d\x7a\x61\x69\xa9\x12"
10568                           "\x4b\xef\x4f\xb6\x38\xdd\x78\xf8"
10569                           "\x28\xee\x70\x08\xc7\x7c\xcc\xc8"
10570                           "\x1e\x41\xf5\x80\x86\x70\xd0\xf0"
10571                           "\xa3\x87\x6b\x0a\x00\xd2\x41\x28"
10572                           "\x74\x26\xf1\x24\xf3\xd0\x28\x77"
10573                           "\xd7\xcd\xf6\x2d\x61\xf4\xa2\x13"
10574                           "\x77\xb4\x6f\xa0\xf4\xfb\xd6\xb5"
10575                           "\x38\x9d\x5a\x0c\x51\xaf\xad\x63"
10576                           "\x27\x67\x8c\x01\xea\x42\x1a\x66"
10577                           "\xda\x16\x7c\x3c\x30\x0c\x66\x53"
10578                           "\x1c\x88\xa4\x5c\xb2\xe3\x78\x0a"
10579                           "\x13\x05\x6d\xe2\xaf\xb3\xe4\x75"
10580                           "\x00\x99\x58\xee\x76\x09\x64\xaa"
10581                           "\xbb\x2e\xb1\x81\xec\xd8\x0e\xd3"
10582                           "\x0c\x33\x5d\xb7\x98\xef\x36\xb6"
10583                           "\xd2\x65\x69\x41\x70\x12\xdc\x25"
10584                           "\x41\x03\x99\x81\x41\x19\x62\x13"
10585                           "\xd1\x0a\x29\xc5\x8c\xe0\x4c\xf3"
10586                           "\xd6\xef\x4c\xf4\x1d\x83\x2e\x6d"
10587                           "\x8e\x14\x87\xed\x80\xe0\xaa\xd3"
10588                           "\x08\x04\x73\x1a\x84\x40\xf5\x64"
10589                           "\xbd\x61\x32\x65\x40\x42\xfb\xb0"
10590                           "\x40\xf6\x40\x8d\xc7\x7f\x14\xd0"
10591                           "\x83\x99\xaa\x36\x7e\x60\xc6\xbf"
10592                           "\x13\x8a\xf9\x21\xe4\x7e\x68\x87"
10593                           "\xf3\x33\x86\xb4\xe0\x23\x7e\x0a"
10594                           "\x21\xb1\xf5\xad\x67\x3c\x9c\x9d"
10595                           "\x09\xab\xaf\x5f\xba\xe0\xd0\x82"
10596                           "\x48\x22\x70\xb5\x6d\x53\xd6\x0e"
10597                           "\xde\x64\x92\x41\xb0\xd3\xfb\xda"
10598                           "\x21\xfe\xab\xea\x20\xc4\x03\x58"
10599                           "\x18\x2e\x7d\x2f\x03\xa9\x47\x66"
10600                           "\xdf\x7b\xa4\x6b\x34\x6b\x55\x9c"
10601                           "\x4f\xd7\x9c\x47\xfb\xa9\x42\xec"
10602                           "\x5a\x12\xfd\xfe\x76\xa0\x92\x9d"
10603                           "\xfe\x1e\x16\xdd\x24\x2a\xe4\x27"
10604                           "\xd5\xa9\xf2\x05\x4f\x83\xa2\xaf"
10605                           "\xfe\xee\x83\x7a\xad\xde\xdf\x9a"
10606                           "\x80\xd5\x81\x14\x93\x16\x7e\x46"
10607                           "\x47\xc2\x14\xef\x49\x6e\xb9\xdb"
10608                           "\x40\xe8\x06\x6f\x9c\x2a\xfd\x62"
10609                           "\x06\x46\xfd\x15\x1d\x36\x61\x6f"
10610                           "\x77\x77\x5e\x64\xce\x78\x1b\x85"
10611                           "\xbf\x50\x9a\xfd\x67\xa6\x1a\x65"
10612                           "\xad\x5b\x33\x30\xf1\x71\xaa\xd9"
10613                           "\x23\x0d\x92\x24\x5f\xae\x57\xb0"
10614                           "\x24\x37\x0a\x94\x12\xfb\xb5\xb1"
10615                           "\xd3\xb8\x1d\x12\x29\xb0\x80\x24"
10616                           "\x2d\x47\x9f\x96\x1f\x95\xf1\xb1"
10617                           "\xda\x35\xf6\x29\xe0\xe1\x23\x96"
10618                           "\xc7\xe8\x22\x9b\x7c\xac\xf9\x41"
10619                           "\x39\x01\xe5\x73\x15\x5e\x99\xec"
10620                           "\xb4\xc1\xf4\xe7\xa7\x97\x6a\xd5"
10621                           "\x90\x9a\xa0\x1d\xf3\x5a\x8b\x5f"
10622                           "\xdf\x01\x52\xa4\x93\x31\x97\xb0"
10623                           "\x93\x24\xb5\xbc\xb2\x14\x24\x98"
10624                           "\x4a\x8f\x19\x85\xc3\x2d\x0f\x74"
10625                           "\x9d\x16\x13\x80\x5e\x59\x62\x62"
10626                           "\x25\xe0\xd1\x2f\x64\xef\xba\xac"
10627                           "\xcd\x09\x07\x15\x8a\xcf\x73\xb5"
10628                           "\x8b\xc9\xd8\x24\xb0\x53\xd5\x6f"
10629                           "\xe1\x2b\x77\xb1\xc5\xe4\xa7\x0e"
10630                           "\x18\x45\xab\x36\x03\x59\xa8\xbd"
10631                           "\x43\xf0\xd8\x2c\x1a\x69\x96\xbb"
10632                           "\x13\xdf\x6c\x33\x77\xdf\x25\x34"
10633                           "\x5b\xa5\x5b\x8c\xf9\x51\x05\xd4"
10634                           "\x8b\x8b\x44\x87\x49\xfc\xa0\x8f"
10635                           "\x45\x15\x5b\x40\x42\xc4\x09\x92"
10636                           "\x98\x0c\x4d\xf4\x26\x37\x1b\x13"
10637                           "\x76\x01\x93\x8d\x4f\xe6\xed\x18"
10638                           "\xd0\x79\x7b\x3f\x44\x50\xcb\xee"
10639                           "\xf7\x4a\xc9\x9e\xe0\x96\x74\xa7"
10640                           "\xe6\x93\xb2\x53\xca\x55\xa8\xdc"
10641                           "\x1e\x68\x07\x87\xb7\x2e\xc1\x08"
10642                           "\xb2\xa4\x5b\xaf\xc6\xdb\x5c\x66"
10643                           "\x41\x1c\x51\xd9\xb0\x07\x00\x0d"
10644                           "\xf0\x4c\xdc\x93\xde\xa9\x1e\x8e"
10645                           "\xd3\x22\x62\xd8\x8b\x88\x2c\xea"
10646                           "\x5e\xf1\x6e\x14\x40\xc7\xbe\xaa"
10647                           "\x42\x28\xd0\x26\x30\x78\x01\x9b"
10648                           "\x83\x07\xbc\x94\xc7\x57\xa2\x9f"
10649                           "\x03\x07\xff\x16\xff\x3c\x6e\x48"
10650                           "\x0a\xd0\xdd\x4c\xf6\x64\x9a\xf1"
10651                           "\xcd\x30\x12\x82\x2c\x38\xd3\x26"
10652                           "\x83\xdb\xab\x3e\xc6\xf8\xe6\xfa"
10653                           "\x77\x0a\x78\x82\x75\xf8\x63\x51"
10654                           "\x59\xd0\x8d\x24\x9f\x25\xe6\xa3"
10655                           "\x4c\xbc\x34\xfc\xe3\x10\xc7\x62"
10656                           "\xd4\x23\xc8\x3d\xa7\xc6\xa6\x0a"
10657                           "\x4f\x7e\x29\x9d\x6d\xbe\xb5\xf1"
10658                           "\xdf\xa4\x53\xfa\xc0\x23\x0f\x37"
10659                           "\x84\x68\xd0\xb5\xc8\xc6\xae\xf8"
10660                           "\xb7\x8d\xb3\x16\xfe\x8f\x87\xad"
10661                           "\xd0\xc1\x08\xee\x12\x1c\x9b\x1d"
10662                           "\x90\xf8\xd1\x63\xa4\x92\x3c\xf0"
10663                           "\xc7\x34\xd8\xf1\x14\xed\xa3\xbc"
10664                           "\x17\x7e\xd4\x62\x42\x54\x57\x2c"
10665                           "\x3e\x7a\x35\x35\x17\x0f\x0b\x7f"
10666                           "\x81\xa1\x3f\xd0\xcd\xc8\x3b\x96"
10667                           "\xe9\xe0\x4a\x04\xe1\xb6\x3c\xa1"
10668                           "\xd6\xca\xc4\xbd\xb6\xb5\x95\x34"
10669                           "\x12\x9d\xc5\x96\xf2\xdf\xba\x54"
10670                           "\x76\xd1\xb2\x6b\x3b\x39\xe0\xb9"
10671                           "\x18\x62\xfb\xf7\xfc\x12\xf1\x5f"
10672                           "\x7e\xc7\xe3\x59\x4c\xa6\xc2\x3d"
10673                           "\x40\x15\xf9\xa3\x95\x64\x4c\x74"
10674                           "\x8b\x73\x77\x33\x07\xa7\x04\x1d"
10675                           "\x33\x5a\x7e\x8f\xbd\x86\x01\x4f"
10676                           "\x3e\xb9\x27\x6f\xe2\x41\xf7\x09"
10677                           "\x67\xfd\x29\x28\xc5\xe4\xf6\x18"
10678                           "\x4c\x1b\x49\xb2\x9c\x5b\xf6\x81"
10679                           "\x4f\xbb\x5c\xcc\x0b\xdf\x84\x23"
10680                           "\x58\xd6\x28\x34\x93\x3a\x25\x97"
10681                           "\xdf\xb2\xc3\x9e\x97\x38\x0b\x7d"
10682                           "\x10\xb3\x54\x35\x23\x8c\x64\xee"
10683                           "\xf0\xd8\x66\xff\x8b\x22\xd2\x5b"
10684                           "\x05\x16\x3c\x89\xf7\xb1\x75\xaf"
10685                           "\xc0\xae\x6a\x4f\x3f\xaf\x9a\xf4"
10686                           "\xf4\x9a\x24\xd9\x80\x82\xc0\x12"
10687                           "\xde\x96\xd1\xbe\x15\x0b\x8d\x6a"
10688                           "\xd7\x12\xe4\x85\x9f\x83\xc9\xc3"
10689                           "\xff\x0b\xb5\xaf\x3b\xd8\x6d\x67"
10690                           "\x81\x45\xe6\xac\xec\xc1\x7b\x16"
10691                           "\x18\x0a\xce\x4b\xc0\x2e\x76\xbc"
10692                           "\x1b\xfa\xb4\x34\xb8\xfc\x3e\xc8"
10693                           "\x5d\x90\x71\x6d\x7a\x79\xef\x06",
10694                 .ksize  = 1088,
10695                 .plaintext      = "\xaa\x5d\x54\xcb\xea\x1e\x46\x0f"
10696                           "\x45\x87\x70\x51\x8a\x66\x7a\x33"
10697                           "\xb4\x18\xff\xa9\x82\xf9\x45\x4b"
10698                           "\x93\xae\x2e\x7f\xab\x98\xfe\xbf"
10699                           "\x01\xee\xe5\xa0\x37\x8f\x57\xa6"
10700                           "\xb0\x76\x0d\xa4\xd6\x28\x2b\x5d"
10701                           "\xe1\x03\xd6\x1c\x6f\x34\x0d\xe7"
10702                           "\x61\x2d\x2e\xe5\xae\x5d\x47\xc7"
10703                           "\x80\x4b\x18\x8f\xa8\x99\xbc\x28"
10704                           "\xed\x1d\x9d\x86\x7d\xd7\x41\xd1"
10705                           "\xe0\x2b\xe1\x8c\x93\x2a\xa7\x80"
10706                           "\xe1\x07\xa0\xa9\x9f\x8c\x8d\x1a"
10707                           "\x55\xfc\x6b\x24\x7a\xbd\x3e\x51"
10708                           "\x68\x4b\x26\x59\xc8\xa7\x16\xd9"
10709                           "\xb9\x61\x13\xde\x8b\x63\x1c\xf6"
10710                           "\x60\x01\xfb\x08\xb3\x5b\x0a\xbf"
10711                           "\x34\x73\xda\x87\x87\x3d\x6f\x97"
10712                           "\x4a\x0c\xa3\x58\x20\xa2\xc0\x81"
10713                           "\x5b\x8c\xef\xa9\xc2\x01\x1e\x64"
10714                           "\x83\x8c\xbc\x03\xb6\xd0\x29\x9f"
10715                           "\x54\xe2\xce\x8b\xc2\x07\x85\x78"
10716                           "\x25\x38\x96\x4c\xb4\xbe\x17\x4a"
10717                           "\x65\xa6\xfa\x52\x9d\x66\x9d\x65"
10718                           "\x4a\xd1\x01\x01\xf0\xcb\x13\xcc"
10719                           "\xa5\x82\xf3\xf2\x66\xcd\x3f\x9d"
10720                           "\xd1\xaa\xe4\x67\xea\xf2\xad\x88"
10721                           "\x56\x76\xa7\x9b\x59\x3c\xb1\x5d"
10722                           "\x78\xfd\x69\x79\x74\x78\x43\x26"
10723                           "\x7b\xde\x3f\xf1\xf5\x4e\x14\xd9"
10724                           "\x15\xf5\x75\xb5\x2e\x19\xf3\x0c"
10725                           "\x48\x72\xd6\x71\x6d\x03\x6e\xaa"
10726                           "\xa7\x08\xf9\xaa\x70\xa3\x0f\x4d"
10727                           "\x12\x8a\xdd\xe3\x39\x73\x7e\xa7"
10728                           "\xea\x1f\x6d\x06\x26\x2a\xf2\xc5"
10729                           "\x52\xb4\xbf\xfd\x52\x0c\x06\x60"
10730                           "\x90\xd1\xb2\x7b\x56\xae\xac\x58"
10731                           "\x5a\x6b\x50\x2a\xf5\xe0\x30\x3c"
10732                           "\x2a\x98\x0f\x1b\x5b\x0a\x84\x6c"
10733                           "\x31\xae\x92\xe2\xd4\xbb\x7f\x59"
10734                           "\x26\x10\xb9\x89\x37\x68\x26\xbf"
10735                           "\x41\xc8\x49\xc4\x70\x35\x7d\xff"
10736                           "\x2d\x7f\xf6\x8a\x93\x68\x8c\x78"
10737                           "\x0d\x53\xce\x7d\xff\x7d\xfb\xae"
10738                           "\x13\x1b\x75\xc4\x78\xd7\x71\xd8"
10739                           "\xea\xd3\xf4\x9d\x95\x64\x8e\xb4"
10740                           "\xde\xb8\xe4\xa6\x68\xc8\xae\x73"
10741                           "\x58\xaf\xa8\xb0\x5a\x20\xde\x87"
10742                           "\x43\xb9\x0f\xe3\xad\x41\x4b\xd5"
10743                           "\xb7\xad\x16\x00\xa6\xff\xf6\x74"
10744                           "\xbf\x8c\x9f\xb3\x58\x1b\xb6\x55"
10745                           "\xa9\x90\x56\x28\xf0\xb5\x13\x4e"
10746                           "\x9e\xf7\x25\x86\xe0\x07\x7b\x98"
10747                           "\xd8\x60\x5d\x38\x95\x3c\xe4\x22"
10748                           "\x16\x2f\xb2\xa2\xaf\xe8\x90\x17"
10749                           "\xec\x11\x83\x1a\xf4\xa9\x26\xda"
10750                           "\x39\x72\xf5\x94\x61\x05\x51\xec"
10751                           "\xa8\x30\x8b\x2c\x13\xd0\x72\xac"
10752                           "\xb9\xd2\xa0\x4c\x4b\x78\xe8\x6e"
10753                           "\x04\x85\xe9\x04\x49\x82\x91\xff"
10754                           "\x89\xe5\xab\x4c\xaa\x37\x03\x12"
10755                           "\xca\x8b\x74\x10\xfd\x9e\xd9\x7b"
10756                           "\xcb\xdb\x82\x6e\xce\x2e\x33\x39"
10757                           "\xce\xd2\x84\x6e\x34\x71\x51\x6e"
10758                           "\x0d\xd6\x01\x87\xc7\xfa\x0a\xd3"
10759                           "\xad\x36\xf3\x4c\x9f\x96\x5e\x62"
10760                           "\x62\x54\xc3\x03\x78\xd6\xab\xdd"
10761                           "\x89\x73\x55\x25\x30\xf8\xa7\xe6"
10762                           "\x4f\x11\x0c\x7c\x0a\xa1\x2b\x7b"
10763                           "\x3d\x0d\xde\x81\xd4\x9d\x0b\xae"
10764                           "\xdf\x00\xf9\x4c\xb6\x90\x8e\x16"
10765                           "\xcb\x11\xc8\xd1\x2e\x73\x13\x75"
10766                           "\x75\x3e\xaa\xf5\xee\x02\xb3\x18"
10767                           "\xa6\x2d\xf5\x3b\x51\xd1\x1f\x47"
10768                           "\x6b\x2c\xdb\xc4\x10\xe0\xc8\xba"
10769                           "\x9d\xac\xb1\x9d\x75\xd5\x41\x0e"
10770                           "\x7e\xbe\x18\x5b\xa4\x1f\xf8\x22"
10771                           "\x4c\xc1\x68\xda\x6d\x51\x34\x6c"
10772                           "\x19\x59\xec\xb5\xb1\xec\xa7\x03"
10773                           "\xca\x54\x99\x63\x05\x6c\xb1\xac"
10774                           "\x9c\x31\xd6\xdb\xba\x7b\x14\x12"
10775                           "\x7a\xc3\x2f\xbf\x8d\xdc\x37\x46"
10776                           "\xdb\xd2\xbc\xd4\x2f\xab\x30\xd5"
10777                           "\xed\x34\x99\x8e\x83\x3e\xbe\x4c"
10778                           "\x86\x79\x58\xe0\x33\x8d\x9a\xb8"
10779                           "\xa9\xa6\x90\x46\xa2\x02\xb8\xdd"
10780                           "\xf5\xf9\x1a\x5c\x8c\x01\xaa\x6e"
10781                           "\xb4\x22\x12\xf5\x0c\x1b\x9b\x7a"
10782                           "\xc3\x80\xf3\x06\x00\x5f\x30\xd5"
10783                           "\x06\xdb\x7d\x82\xc2\xd4\x0b\x4c"
10784                           "\x5f\xe9\xc5\xf5\xdf\x97\x12\xbf"
10785                           "\x56\xaf\x9b\x69\xcd\xee\x30\xb4"
10786                           "\xa8\x71\xff\x3e\x7d\x73\x7a\xb4"
10787                           "\x0d\xa5\x46\x7a\xf3\xf4\x15\x87"
10788                           "\x5d\x93\x2b\x8c\x37\x64\xb5\xdd"
10789                           "\x48\xd1\xe5\x8c\xae\xd4\xf1\x76"
10790                           "\xda\xf4\xba\x9e\x25\x0e\xad\xa3"
10791                           "\x0d\x08\x7c\xa8\x82\x16\x8d\x90"
10792                           "\x56\x40\x16\x84\xe7\x22\x53\x3a"
10793                           "\x58\xbc\xb9\x8f\x33\xc8\xc2\x84"
10794                           "\x22\xe6\x0d\xe7\xb3\xdc\x5d\xdf"
10795                           "\xd7\x2a\x36\xe4\x16\x06\x07\xd2"
10796                           "\x97\x60\xb2\xf5\x5e\x14\xc9\xfd"
10797                           "\x8b\x05\xd1\xce\xee\x9a\x65\x99"
10798                           "\xb7\xae\x19\xb7\xc8\xbc\xd5\xa2"
10799                           "\x7b\x95\xe1\xcc\xba\x0d\xdc\x8a"
10800                           "\x1d\x59\x52\x50\xaa\x16\x02\x82"
10801                           "\xdf\x61\x33\x2e\x44\xce\x49\xc7"
10802                           "\xe5\xc6\x2e\x76\xcf\x80\x52\xf0"
10803                           "\x3d\x17\x34\x47\x3f\xd3\x80\x48"
10804                           "\xa2\xba\xd5\xc7\x7b\x02\x28\xdb"
10805                           "\xac\x44\xc7\x6e\x05\x5c\xc2\x79"
10806                           "\xb3\x7d\x6a\x47\x77\x66\xf1\x38"
10807                           "\xf0\xf5\x4f\x27\x1a\x31\xca\x6c"
10808                           "\x72\x95\x92\x8e\x3f\xb0\xec\x1d"
10809                           "\xc7\x2a\xff\x73\xee\xdf\x55\x80"
10810                           "\x93\xd2\xbd\x34\xd3\x9f\x00\x51"
10811                           "\xfb\x2e\x41\xba\x6c\x5a\x7c\x17"
10812                           "\x7f\xe6\x70\xac\x8d\x39\x3f\x77"
10813                           "\xe2\x23\xac\x8f\x72\x4e\xe4\x53"
10814                           "\xcc\xf1\x1b\xf1\x35\xfe\x52\xa4"
10815                           "\xd6\xb8\x40\x6b\xc1\xfd\xa0\xa1"
10816                           "\xf5\x46\x65\xc2\x50\xbb\x43\xe2"
10817                           "\xd1\x43\x28\x34\x74\xf5\x87\xa0"
10818                           "\xf2\x5e\x27\x3b\x59\x2b\x3e\x49"
10819                           "\xdf\x46\xee\xaf\x71\xd7\x32\x36"
10820                           "\xc7\x14\x0b\x58\x6e\x3e\x2d\x41"
10821                           "\xfa\x75\x66\x3a\x54\xe0\xb2\xb9"
10822                           "\xaf\xdd\x04\x80\x15\x19\x3f\x6f"
10823                           "\xce\x12\xb4\xd8\xe8\x89\x3c\x05"
10824                           "\x30\xeb\xf3\x3d\xcd\x27\xec\xdc"
10825                           "\x56\x70\x12\xcf\x78\x2b\x77\xbf"
10826                           "\x22\xf0\x1b\x17\x9c\xcc\xd6\x1b"
10827                           "\x2d\x3d\xa0\x3b\xd8\xc9\x70\xa4"
10828                           "\x7a\x3e\x07\xb9\x06\xc3\xfa\xb0"
10829                           "\x33\xee\xc1\xd8\xf6\xe0\xf0\xb2"
10830                           "\x61\x12\x69\xb0\x5f\x28\x99\xda"
10831                           "\xc3\x61\x48\xfa\x07\x16\x03\xc4"
10832                           "\xa8\xe1\x3c\xe8\x0e\x64\x15\x30"
10833                           "\xc1\x9d\x84\x2f\x73\x98\x0e\x3a"
10834                           "\xf2\x86\x21\xa4\x9e\x1d\xb5\x86"
10835                           "\x16\xdb\x2b\x9a\x06\x64\x8e\x79"
10836                           "\x8d\x76\x3e\xc3\xc2\x64\x44\xe3"
10837                           "\xda\xbc\x1a\x52\xd7\x61\x03\x65"
10838                           "\x54\x32\x77\x01\xed\x9d\x8a\x43"
10839                           "\x25\x24\xe3\xc1\xbe\xb8\x2f\xcb"
10840                           "\x89\x14\x64\xab\xf6\xa0\x6e\x02"
10841                           "\x57\xe4\x7d\xa9\x4e\x9a\x03\x36"
10842                           "\xad\xf1\xb1\xfc\x0b\xe6\x79\x51"
10843                           "\x9f\x81\x77\xc4\x14\x78\x9d\xbf"
10844                           "\xb6\xd6\xa3\x8c\xba\x0b\x26\xe7"
10845                           "\xc8\xb9\x5c\xcc\xe1\x5f\xd5\xc6"
10846                           "\xc4\xca\xc2\xa3\x45\xba\x94\x13"
10847                           "\xb2\x8f\xc3\x54\x01\x09\xe7\x8b"
10848                           "\xda\x2a\x0a\x11\x02\x43\xcb\x57"
10849                           "\xc9\xcc\xb5\x5c\xab\xc4\xec\x54"
10850                           "\x00\x06\x34\xe1\x6e\x03\x89\x7c"
10851                           "\xc6\xfb\x6a\xc7\x60\x43\xd6\xc5"
10852                           "\xb5\x68\x72\x89\x8f\x42\xc3\x74"
10853                           "\xbd\x25\xaa\x9f\x67\xb5\xdf\x26"
10854                           "\x20\xe8\xb7\x01\x3c\xe4\x77\xce"
10855                           "\xc4\x65\xa7\x23\x79\xea\x33\xc7"
10856                           "\x82\x14\x5c\x82\xf2\x4e\x3d\xf6"
10857                           "\xc6\x4a\x0e\x29\xbb\xec\x44\xcd"
10858                           "\x2f\xd1\x4f\x21\x71\xa9\xce\x0f"
10859                           "\x5c\xf2\x72\x5c\x08\x2e\x21\xd2"
10860                           "\xc3\x29\x13\xd8\xac\xc3\xda\x13"
10861                           "\x1a\x9d\xa7\x71\x1d\x27\x1d\x27"
10862                           "\x1d\xea\xab\x44\x79\xad\xe5\xeb"
10863                           "\xef\x1f\x22\x0a\x44\x4f\xcb\x87"
10864                           "\xa7\x58\x71\x0e\x66\xf8\x60\xbf"
10865                           "\x60\x74\x4a\xb4\xec\x2e\xfe\xd3"
10866                           "\xf5\xb8\xfe\x46\x08\x50\x99\x6c"
10867                           "\x66\xa5\xa8\x34\x44\xb5\xe5\xf0"
10868                           "\xdd\x2c\x67\x4e\x35\x96\x8e\x67"
10869                           "\x48\x3f\x5f\x37\x44\x60\x51\x2e"
10870                           "\x14\x91\x5e\x57\xc3\x0e\x79\x77"
10871                           "\x2f\x03\xf4\xe2\x1c\x72\xbf\x85"
10872                           "\x5d\xd3\x17\xdf\x6c\xc5\x70\x24"
10873                           "\x42\xdf\x51\x4e\x2a\xb2\xd2\x5b"
10874                           "\x9e\x69\x83\x41\x11\xfe\x73\x22"
10875                           "\xde\x8a\x9e\xd8\x8a\xfb\x20\x38"
10876                           "\xd8\x47\x6f\xd5\xed\x8f\x41\xfd"
10877                           "\x13\x7a\x18\x03\x7d\x0f\xcd\x7d"
10878                           "\xa6\x7d\x31\x9e\xf1\x8f\x30\xa3"
10879                           "\x8b\x4c\x24\xb7\xf5\x48\xd7\xd9"
10880                           "\x12\xe7\x84\x97\x5c\x31\x6d\xfb"
10881                           "\xdf\xf3\xd3\xd1\xd5\x0c\x30\x06"
10882                           "\x01\x6a\xbc\x6c\x78\x7b\xa6\x50"
10883                           "\xfa\x0f\x3c\x42\x2d\xa5\xa3\x3b"
10884                           "\xcf\x62\x50\xff\x71\x6d\xe7\xda"
10885                           "\x27\xab\xc6\x67\x16\x65\x68\x64"
10886                           "\xc7\xd5\x5f\x81\xa9\xf6\x65\xb3"
10887                           "\x5e\x43\x91\x16\xcd\x3d\x55\x37"
10888                           "\x55\xb3\xf0\x28\xc5\x54\x19\xc0"
10889                           "\xe0\xd6\x2a\x61\xd4\xc8\x72\x51"
10890                           "\xe9\xa1\x7b\x48\x21\xad\x44\x09"
10891                           "\xe4\x01\x61\x3c\x8a\x5b\xf9\xa1"
10892                           "\x6e\x1b\xdf\xc0\x04\xa8\x8b\xf2"
10893                           "\x21\xbe\x34\x7b\xfc\xa1\xcd\xc9"
10894                           "\xa9\x96\xf4\xa4\x4c\xf7\x4e\x8f"
10895                           "\x84\xcc\xd3\xa8\x92\x77\x8f\x36"
10896                           "\xe2\x2e\x8c\x33\xe8\x84\xa6\x0c"
10897                           "\x6c\x8a\xda\x14\x32\xc2\x96\xff"
10898                           "\xc6\x4a\xc2\x9b\x30\x7f\xd1\x29"
10899                           "\xc0\xd5\x78\x41\x00\x80\x80\x03"
10900                           "\x2a\xb1\xde\x26\x03\x48\x49\xee"
10901                           "\x57\x14\x76\x51\x3c\x36\x5d\x0a"
10902                           "\x5c\x9f\xe8\xd8\x53\xdb\x4f\xd4"
10903                           "\x38\xbf\x66\xc9\x75\x12\x18\x75"
10904                           "\x34\x2d\x93\x22\x96\x51\x24\x6e"
10905                           "\x4e\xd9\x30\xea\x67\xff\x92\x1c"
10906                           "\x16\x26\xe9\xb5\x33\xab\x8c\x22"
10907                           "\x47\xdb\xa0\x2c\x08\xf0\x12\x69"
10908                           "\x7e\x93\x52\xda\xa5\xe5\xca\xc1"
10909                           "\x0f\x55\x2a\xbd\x09\x30\x88\x1b"
10910                           "\x9c\xc6\x9f\xe6\xdb\xa6\x92\xeb"
10911                           "\xf4\xbd\x5c\xc4\xdb\xc6\x71\x09"
10912                           "\xab\x5e\x48\x0c\xed\x6f\xda\x8e"
10913                           "\x8d\x0c\x98\x71\x7d\x10\xd0\x9c"
10914                           "\x20\x9b\x79\x53\x26\x5d\xb9\x85"
10915                           "\x8a\x31\xb8\xc5\x1c\x97\xde\x88"
10916                           "\x61\x55\x7f\x7c\x21\x06\xea\xc4"
10917                           "\x5f\xaf\xf2\xf0\xd5\x5e\x7d\xb4"
10918                           "\x6e\xcf\xe9\xae\x1b\x0e\x11\x80"
10919                           "\xc1\x9a\x74\x7e\x52\x6f\xa0\xb7"
10920                           "\x24\xcd\x8d\x0a\x11\x40\x63\x72"
10921                           "\xfa\xe2\xc5\xb3\x94\xef\x29\xa2"
10922                           "\x1a\x23\x43\x04\x37\x55\x0d\xe9"
10923                           "\x83\xb2\x29\x51\x49\x64\xa0\xbd"
10924                           "\xde\x73\xfd\xa5\x7c\x95\x70\x62"
10925                           "\x58\xdc\xe2\xd0\xbf\x98\xf5\x8a"
10926                           "\x6a\xfd\xce\xa8\x0e\x42\x2a\xeb"
10927                           "\xd2\xff\x83\x27\x53\x5c\xa0\x6e"
10928                           "\x93\xef\xe2\xb9\x5d\x35\xd6\x98"
10929                           "\xf6\x71\x19\x7a\x54\xa1\xa7\xe8"
10930                           "\x09\xfe\xf6\x9e\xc7\xbd\x3e\x29"
10931                           "\xbd\x6b\x17\xf4\xe7\x3e\x10\x5c"
10932                           "\xc1\xd2\x59\x4f\x4b\x12\x1a\x5b"
10933                           "\x50\x80\x59\xb9\xec\x13\x66\xa8"
10934                           "\xd2\x31\x7b\x6a\x61\x22\xdd\x7d"
10935                           "\x61\xee\x87\x16\x46\x9f\xf9\xc7"
10936                           "\x41\xee\x74\xf8\xd0\x96\x2c\x76"
10937                           "\x2a\xac\x7d\x6e\x9f\x0e\x7f\x95"
10938                           "\xfe\x50\x16\xb2\x23\xca\x62\xd5"
10939                           "\x68\xcf\x07\x3f\x3f\x97\x85\x2a"
10940                           "\x0c\x25\x45\xba\xdb\x32\xcb\x83"
10941                           "\x8c\x4f\xe0\x6d\x9a\x99\xf9\xc9"
10942                           "\xda\xd4\x19\x31\xc1\x7c\x6d\xd9"
10943                           "\x9c\x56\xd3\xec\xc1\x81\x4c\xed"
10944                           "\x28\x9d\x87\xeb\x19\xd7\x1a\x4f"
10945                           "\x04\x6a\xcb\x1f\xcf\x1f\xa2\x16"
10946                           "\xfc\x2a\x0d\xa1\x14\x2d\xfa\xc5"
10947                           "\x5a\xd2\xc5\xf9\x19\x7c\x20\x1f"
10948                           "\x2d\x10\xc0\x66\x7c\xd9\x2d\xe5"
10949                           "\x88\x70\x59\xa7\x85\xd5\x2e\x7c"
10950                           "\x5c\xe3\xb7\x12\xd6\x97\x3f\x29",
10951                 .psize  = 2048,
10952                 .digest = "\x37\x90\x92\xc2\xeb\x01\x87\xd9"
10953                           "\x95\xc7\x91\xc3\x17\x8b\x38\x52",
10954         }
10955 };
10956
10957
10958 /*
10959  * DES test vectors.
10960  */
10961 static const struct cipher_testvec des_tv_template[] = {
10962         { /* From Applied Cryptography */
10963                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10964                 .klen   = 8,
10965                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
10966                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
10967                 .len    = 8,
10968         }, { /* Same key, different plaintext block */
10969                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10970                 .klen   = 8,
10971                 .ptext  = "\x22\x33\x44\x55\x66\x77\x88\x99",
10972                 .ctext  = "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
10973                 .len    = 8,
10974         }, { /* Sbox test from NBS */
10975                 .key    = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
10976                 .klen   = 8,
10977                 .ptext  = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
10978                 .ctext  = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
10979                 .len    = 8,
10980         }, { /* Three blocks */
10981                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10982                 .klen   = 8,
10983                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
10984                           "\x22\x33\x44\x55\x66\x77\x88\x99"
10985                           "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
10986                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
10987                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
10988                           "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
10989                 .len    = 24,
10990         }, { /* Weak key */
10991                 .setkey_error = -EINVAL,
10992                 .wk     = 1,
10993                 .key    = "\x01\x01\x01\x01\x01\x01\x01\x01",
10994                 .klen   = 8,
10995                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
10996                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
10997                 .len    = 8,
10998         }, { /* Two blocks -- for testing encryption across pages */
10999                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11000                 .klen   = 8,
11001                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
11002                           "\x22\x33\x44\x55\x66\x77\x88\x99",
11003                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
11004                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
11005                 .len    = 16,
11006         }, {
11007                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11008                 .klen   = 8,
11009                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
11010                           "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
11011                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
11012                           "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
11013                 .len    = 16,
11014         }, { /* Four blocks -- for testing encryption with chunking */
11015                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11016                 .klen   = 8,
11017                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
11018                           "\x22\x33\x44\x55\x66\x77\x88\x99"
11019                           "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
11020                           "\x22\x33\x44\x55\x66\x77\x88\x99",
11021                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
11022                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
11023                           "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
11024                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
11025                 .len    = 32,
11026         }, { /* Generated with Crypto++ */
11027                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
11028                 .klen   = 8,
11029                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
11030                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
11031                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
11032                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
11033                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
11034                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
11035                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
11036                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
11037                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
11038                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
11039                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
11040                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
11041                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
11042                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
11043                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
11044                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
11045                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
11046                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
11047                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
11048                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
11049                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
11050                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
11051                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
11052                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
11053                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
11054                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
11055                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
11056                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
11057                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
11058                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
11059                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
11060                 .ctext  = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
11061                           "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
11062                           "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
11063                           "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
11064                           "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
11065                           "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
11066                           "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
11067                           "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
11068                           "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
11069                           "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
11070                           "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
11071                           "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
11072                           "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
11073                           "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
11074                           "\x2E\x51\x16\xCA\x09\x89\x54\x62"
11075                           "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
11076                           "\x62\xF0\x02\x58\x83\xAF\x30\x87"
11077                           "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
11078                           "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
11079                           "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
11080                           "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
11081                           "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
11082                           "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
11083                           "\xE9\x95\x61\x74\x12\xED\x07\xD7"
11084                           "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
11085                           "\x51\x96\x16\xF7\x94\x61\xB8\x87"
11086                           "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
11087                           "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
11088                           "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
11089                           "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
11090                           "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
11091                 .len    = 248,
11092         },
11093 };
11094
11095 static const struct cipher_testvec des_cbc_tv_template[] = {
11096         { /* From OpenSSL */
11097                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11098                 .klen   = 8,
11099                 .iv     = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11100                 .iv_out = "\x46\x8e\x91\x15\x78\x88\xba\x68",
11101                 .ptext  = "\x37\x36\x35\x34\x33\x32\x31\x20"
11102                           "\x4e\x6f\x77\x20\x69\x73\x20\x74"
11103                           "\x68\x65\x20\x74\x69\x6d\x65\x20",
11104                 .ctext  = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
11105                           "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
11106                           "\x46\x8e\x91\x15\x78\x88\xba\x68",
11107                 .len    = 24,
11108         }, { /* FIPS Pub 81 */
11109                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11110                 .klen   = 8,
11111                 .iv     = "\x12\x34\x56\x78\x90\xab\xcd\xef",
11112                 .iv_out = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
11113                 .ptext  = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
11114                 .ctext  = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
11115                 .len    = 8,
11116         }, {
11117                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11118                 .klen   = 8,
11119                 .iv     = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
11120                 .iv_out = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
11121                 .ptext  = "\x68\x65\x20\x74\x69\x6d\x65\x20",
11122                 .ctext  = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
11123                 .len    = 8,
11124         }, {
11125                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11126                 .klen   = 8,
11127                 .iv     = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
11128                 .iv_out = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
11129                 .ptext  = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
11130                 .ctext  = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
11131                 .len    = 8,
11132         }, { /* Generated with Crypto++ */
11133                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
11134                 .klen   = 8,
11135                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
11136                 .iv_out =  "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
11137                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
11138                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
11139                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
11140                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
11141                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
11142                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
11143                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
11144                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
11145                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
11146                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
11147                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
11148                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
11149                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
11150                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
11151                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
11152                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
11153                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
11154                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
11155                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
11156                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
11157                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
11158                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
11159                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
11160                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
11161                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
11162                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
11163                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
11164                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
11165                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
11166                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
11167                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
11168                 .ctext  = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
11169                           "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
11170                           "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
11171                           "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
11172                           "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
11173                           "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
11174                           "\x81\x72\x74\xDE\x30\x19\x69\x49"
11175                           "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
11176                           "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
11177                           "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
11178                           "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
11179                           "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
11180                           "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
11181                           "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
11182                           "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
11183                           "\x49\x90\x88\x6A\x09\x8F\x76\x59"
11184                           "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
11185                           "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
11186                           "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
11187                           "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
11188                           "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
11189                           "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
11190                           "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
11191                           "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
11192                           "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
11193                           "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
11194                           "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
11195                           "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
11196                           "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
11197                           "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
11198                           "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
11199                 .len    = 248,
11200         },
11201 };
11202
11203 static const struct cipher_testvec des_ctr_tv_template[] = {
11204         { /* Generated with Crypto++ */
11205                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
11206                 .klen   = 8,
11207                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
11208                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x1C",
11209                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
11210                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
11211                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
11212                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
11213                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
11214                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
11215                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
11216                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
11217                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
11218                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
11219                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
11220                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
11221                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
11222                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
11223                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
11224                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
11225                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
11226                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
11227                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
11228                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
11229                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
11230                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
11231                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
11232                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
11233                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
11234                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
11235                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
11236                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
11237                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
11238                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
11239                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
11240                 .ctext  = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
11241                           "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
11242                           "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
11243                           "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
11244                           "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
11245                           "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
11246                           "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
11247                           "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
11248                           "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
11249                           "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
11250                           "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
11251                           "\xBE\x4C\x91\x43\x22\x65\x72\x48"
11252                           "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
11253                           "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
11254                           "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
11255                           "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
11256                           "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
11257                           "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
11258                           "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
11259                           "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
11260                           "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
11261                           "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
11262                           "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
11263                           "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
11264                           "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
11265                           "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
11266                           "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
11267                           "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
11268                           "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
11269                           "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
11270                           "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
11271                 .len    = 248,
11272         }, { /* Generated with Crypto++ */
11273                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
11274                 .klen   = 8,
11275                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
11276                 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x66",
11277                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
11278                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
11279                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
11280                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
11281                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
11282                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
11283                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
11284                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
11285                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
11286                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
11287                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
11288                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
11289                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
11290                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
11291                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
11292                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
11293                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
11294                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
11295                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
11296                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
11297                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
11298                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
11299                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
11300                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
11301                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
11302                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
11303                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
11304                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
11305                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
11306                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
11307                           "\xC6\x2F\xBB\x24\x8D\x19\x82",
11308                 .ctext  = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
11309                           "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
11310                           "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
11311                           "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
11312                           "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
11313                           "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
11314                           "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
11315                           "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
11316                           "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
11317                           "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
11318                           "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
11319                           "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
11320                           "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
11321                           "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
11322                           "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
11323                           "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
11324                           "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
11325                           "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
11326                           "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
11327                           "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
11328                           "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
11329                           "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
11330                           "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
11331                           "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
11332                           "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
11333                           "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
11334                           "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
11335                           "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
11336                           "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
11337                           "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
11338                           "\x91\x45\x05\x3E\x58\xBF\x32",
11339                 .len    = 247,
11340         },
11341 };
11342
11343 static const struct cipher_testvec des3_ede_tv_template[] = {
11344         { /* These are from openssl */
11345                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
11346                           "\x55\x55\x55\x55\x55\x55\x55\x55"
11347                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11348                 .klen   = 24,
11349                 .ptext  = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
11350                 .ctext  = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
11351                 .len    = 8,
11352         }, {
11353                 .key    = "\x03\x52\x02\x07\x67\x20\x82\x17"
11354                           "\x86\x02\x87\x66\x59\x08\x21\x98"
11355                           "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
11356                 .klen   = 24,
11357                 .ptext  = "\x73\x71\x75\x69\x67\x67\x6c\x65",
11358                 .ctext  = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
11359                 .len    = 8,
11360         }, {
11361                 .key    = "\x10\x46\x10\x34\x89\x98\x80\x20"
11362                           "\x91\x07\xd0\x15\x89\x19\x01\x01"
11363                           "\x19\x07\x92\x10\x98\x1a\x01\x01",
11364                 .klen   = 24,
11365                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
11366                 .ctext  = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
11367                 .len    = 8,
11368         }, { /* Generated with Crypto++ */
11369                 .key    = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
11370                           "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
11371                           "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
11372                 .klen   = 24,
11373                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
11374                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
11375                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
11376                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
11377                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
11378                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
11379                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
11380                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
11381                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
11382                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
11383                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
11384                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
11385                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
11386                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
11387                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
11388                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
11389                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
11390                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
11391                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
11392                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
11393                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
11394                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
11395                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
11396                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
11397                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
11398                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
11399                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
11400                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
11401                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
11402                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
11403                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
11404                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
11405                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
11406                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
11407                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
11408                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
11409                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
11410                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
11411                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
11412                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
11413                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
11414                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
11415                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
11416                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
11417                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
11418                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
11419                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
11420                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
11421                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
11422                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
11423                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
11424                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
11425                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
11426                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
11427                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
11428                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
11429                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
11430                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
11431                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
11432                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
11433                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
11434                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
11435                 .ctext  = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
11436                           "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
11437                           "\x81\x01\x04\x00\x76\xFA\xED\xD3"
11438                           "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
11439                           "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
11440                           "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
11441                           "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
11442                           "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
11443                           "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
11444                           "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
11445                           "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
11446                           "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
11447                           "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
11448                           "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
11449                           "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
11450                           "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
11451                           "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
11452                           "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
11453                           "\x45\x86\x50\x01\x70\x35\x99\x92"
11454                           "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
11455                           "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
11456                           "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
11457                           "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
11458                           "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
11459                           "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
11460                           "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
11461                           "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
11462                           "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
11463                           "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
11464                           "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
11465                           "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
11466                           "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
11467                           "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
11468                           "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
11469                           "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
11470                           "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
11471                           "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
11472                           "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
11473                           "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
11474                           "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
11475                           "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
11476                           "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
11477                           "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
11478                           "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
11479                           "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
11480                           "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
11481                           "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
11482                           "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
11483                           "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
11484                           "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
11485                           "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
11486                           "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
11487                           "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
11488                           "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
11489                           "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
11490                           "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
11491                           "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
11492                           "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
11493                           "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
11494                           "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
11495                           "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
11496                           "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
11497                 .len    = 496,
11498         },
11499 };
11500
11501 static const struct cipher_testvec des3_ede_cbc_tv_template[] = {
11502         { /* Generated from openssl */
11503                 .key    = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
11504                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
11505                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
11506                 .klen   = 24,
11507                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
11508                 .iv_out = "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
11509                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
11510                           "\x53\x20\x63\x65\x65\x72\x73\x74"
11511                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
11512                           "\x20\x79\x65\x53\x72\x63\x74\x65"
11513                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
11514                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
11515                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
11516                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
11517                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
11518                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
11519                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
11520                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
11521                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
11522                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
11523                           "\x63\x65\x65\x72\x73\x74\x54\x20"
11524                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
11525                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
11526                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
11527                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
11528                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
11529                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
11530                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
11531                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
11532                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
11533                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
11534                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
11535                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
11536                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
11537                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
11538                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
11539                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
11540                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
11541                 .len    = 128,
11542         }, { /* Generated with Crypto++ */
11543                 .key    = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
11544                           "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
11545                           "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
11546                 .klen   = 24,
11547                 .iv     = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
11548                           "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
11549                 .iv_out = "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
11550                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
11551                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
11552                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
11553                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
11554                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
11555                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
11556                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
11557                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
11558                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
11559                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
11560                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
11561                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
11562                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
11563                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
11564                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
11565                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
11566                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
11567                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
11568                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
11569                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
11570                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
11571                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
11572                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
11573                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
11574                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
11575                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
11576                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
11577                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
11578                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
11579                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
11580                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
11581                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
11582                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
11583                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
11584                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
11585                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
11586                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
11587                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
11588                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
11589                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
11590                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
11591                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
11592                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
11593                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
11594                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
11595                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
11596                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
11597                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
11598                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
11599                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
11600                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
11601                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
11602                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
11603                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
11604                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
11605                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
11606                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
11607                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
11608                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
11609                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
11610                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
11611                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
11612                 .ctext  = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
11613                           "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
11614                           "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
11615                           "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
11616                           "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
11617                           "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
11618                           "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
11619                           "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
11620                           "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
11621                           "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
11622                           "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
11623                           "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
11624                           "\x11\x35\x61\x94\x88\x7B\x1C\x48"
11625                           "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
11626                           "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
11627                           "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
11628                           "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
11629                           "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
11630                           "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
11631                           "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
11632                           "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
11633                           "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
11634                           "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
11635                           "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
11636                           "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
11637                           "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
11638                           "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
11639                           "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
11640                           "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
11641                           "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
11642                           "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
11643                           "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
11644                           "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
11645                           "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
11646                           "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
11647                           "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
11648                           "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
11649                           "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
11650                           "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
11651                           "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
11652                           "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
11653                           "\x73\x50\x08\x56\x20\x9B\x94\x23"
11654                           "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
11655                           "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
11656                           "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
11657                           "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
11658                           "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
11659                           "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
11660                           "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
11661                           "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
11662                           "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
11663                           "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
11664                           "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
11665                           "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
11666                           "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
11667                           "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
11668                           "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
11669                           "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
11670                           "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
11671                           "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
11672                           "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
11673                           "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
11674                 .len    = 496,
11675         },
11676 };
11677
11678 static const struct cipher_testvec des3_ede_ctr_tv_template[] = {
11679         { /* Generated with Crypto++ */
11680                 .key    = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
11681                           "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
11682                           "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
11683                 .klen   = 24,
11684                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",
11685                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3D",
11686                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
11687                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
11688                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
11689                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
11690                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
11691                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
11692                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
11693                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
11694                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
11695                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
11696                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
11697                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
11698                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
11699                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
11700                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
11701                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
11702                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
11703                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
11704                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
11705                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
11706                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
11707                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
11708                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
11709                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
11710                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
11711                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
11712                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
11713                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
11714                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
11715                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
11716                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
11717                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
11718                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
11719                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
11720                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
11721                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
11722                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
11723                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
11724                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
11725                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
11726                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
11727                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
11728                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
11729                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
11730                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
11731                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
11732                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
11733                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
11734                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
11735                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
11736                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
11737                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
11738                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
11739                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
11740                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
11741                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
11742                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
11743                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
11744                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
11745                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
11746                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
11747                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
11748                 .ctext  = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
11749                           "\x19\xCD\x6F\x32\x53\x05\x22\x15"
11750                           "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
11751                           "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
11752                           "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
11753                           "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
11754                           "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
11755                           "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
11756                           "\x13\x78\xDC\x89\x12\x12\x43\xFA"
11757                           "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
11758                           "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
11759                           "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
11760                           "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
11761                           "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
11762                           "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
11763                           "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
11764                           "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
11765                           "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
11766                           "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
11767                           "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
11768                           "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
11769                           "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
11770                           "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
11771                           "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
11772                           "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
11773                           "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
11774                           "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
11775                           "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
11776                           "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
11777                           "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
11778                           "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
11779                           "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
11780                           "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
11781                           "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
11782                           "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
11783                           "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
11784                           "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
11785                           "\x83\x37\x4F\x1F\x48\x30\xED\x04"
11786                           "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
11787                           "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
11788                           "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
11789                           "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
11790                           "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
11791                           "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
11792                           "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
11793                           "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
11794                           "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
11795                           "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
11796                           "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
11797                           "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
11798                           "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
11799                           "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
11800                           "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
11801                           "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
11802                           "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
11803                           "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
11804                           "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
11805                           "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
11806                           "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
11807                           "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
11808                           "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
11809                           "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
11810                 .len    = 496,
11811         }, { /* Generated with Crypto++ */
11812                 .key    = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
11813                           "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
11814                           "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
11815                 .klen   = 24,
11816                 .iv     = "\xB2\xD7\x48\xED\x06\x44\xF9\x12",
11817                 .iv_out = "\xB2\xD7\x48\xED\x06\x44\xF9\x51",
11818                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
11819                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
11820                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
11821                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
11822                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
11823                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
11824                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
11825                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
11826                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
11827                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
11828                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
11829                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
11830                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
11831                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
11832                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
11833                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
11834                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
11835                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
11836                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
11837                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
11838                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
11839                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
11840                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
11841                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
11842                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
11843                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
11844                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
11845                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
11846                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
11847                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
11848                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
11849                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
11850                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
11851                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
11852                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
11853                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
11854                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
11855                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
11856                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
11857                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
11858                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
11859                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
11860                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
11861                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
11862                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
11863                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
11864                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
11865                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
11866                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
11867                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
11868                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
11869                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
11870                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
11871                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
11872                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
11873                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
11874                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
11875                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
11876                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
11877                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
11878                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
11879                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
11880                           "\x2E\xB1\x18",
11881                 .ctext  = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
11882                           "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
11883                           "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
11884                           "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
11885                           "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
11886                           "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
11887                           "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
11888                           "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
11889                           "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
11890                           "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
11891                           "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
11892                           "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
11893                           "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
11894                           "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
11895                           "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
11896                           "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
11897                           "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
11898                           "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
11899                           "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
11900                           "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
11901                           "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
11902                           "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
11903                           "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
11904                           "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
11905                           "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
11906                           "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
11907                           "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
11908                           "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
11909                           "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
11910                           "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
11911                           "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
11912                           "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
11913                           "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
11914                           "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
11915                           "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
11916                           "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
11917                           "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
11918                           "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
11919                           "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
11920                           "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
11921                           "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
11922                           "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
11923                           "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
11924                           "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
11925                           "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
11926                           "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
11927                           "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
11928                           "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
11929                           "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
11930                           "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
11931                           "\x8A\x19\x08\xE1\x08\x48\x59\x51"
11932                           "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
11933                           "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
11934                           "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
11935                           "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
11936                           "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
11937                           "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
11938                           "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
11939                           "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
11940                           "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
11941                           "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
11942                           "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
11943                           "\xF2\x79\xD9",
11944                 .len    = 499,
11945         },
11946 };
11947
11948 /*
11949  * Blowfish test vectors.
11950  */
11951 static const struct cipher_testvec bf_tv_template[] = {
11952         { /* DES test vectors from OpenSSL */
11953                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00",
11954                 .klen   = 8,
11955                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
11956                 .ctext  = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
11957                 .len    = 8,
11958         }, {
11959                 .key    = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
11960                 .klen   = 8,
11961                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11962                 .ctext  = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
11963                 .len    = 8,
11964         }, {
11965                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
11966                 .klen   = 8,
11967                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11968                 .ctext  = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
11969                 .len    = 8,
11970         }, { /* Vary the keylength... */
11971                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
11972                           "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
11973                 .klen   = 16,
11974                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11975                 .ctext  = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
11976                 .len    = 8,
11977         }, {
11978                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
11979                           "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
11980                           "\x00\x11\x22\x33\x44",
11981                 .klen   = 21,
11982                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11983                 .ctext  = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
11984                 .len    = 8,
11985         }, { /* Generated with bf488 */
11986                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
11987                           "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
11988                           "\x00\x11\x22\x33\x44\x55\x66\x77"
11989                           "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
11990                           "\x58\x40\x23\x64\x1a\xba\x61\x76"
11991                           "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
11992                           "\xff\xff\xff\xff\xff\xff\xff\xff",
11993                 .klen   = 56,
11994                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11995                 .ctext  = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
11996                 .len    = 8,
11997         }, { /* Generated with Crypto++ */
11998                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11999                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12000                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12001                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12002                 .klen   = 32,
12003                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12004                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12005                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12006                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12007                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12008                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12009                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12010                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12011                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12012                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12013                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12014                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12015                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12016                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12017                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12018                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12019                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12020                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12021                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12022                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12023                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12024                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12025                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12026                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12027                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12028                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12029                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12030                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12031                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12032                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12033                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12034                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12035                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12036                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12037                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12038                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12039                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12040                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12041                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12042                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12043                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12044                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12045                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12046                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12047                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12048                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12049                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12050                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12051                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12052                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12053                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12054                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12055                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12056                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12057                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12058                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12059                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12060                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12061                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12062                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12063                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12064                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12065                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
12066                 .ctext  = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
12067                           "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
12068                           "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
12069                           "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
12070                           "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
12071                           "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
12072                           "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
12073                           "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
12074                           "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
12075                           "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
12076                           "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
12077                           "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
12078                           "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
12079                           "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
12080                           "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
12081                           "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
12082                           "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
12083                           "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
12084                           "\x47\x82\x98\x23\x33\x36\xBC\x1B"
12085                           "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
12086                           "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
12087                           "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
12088                           "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
12089                           "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
12090                           "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
12091                           "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
12092                           "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
12093                           "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
12094                           "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
12095                           "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
12096                           "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
12097                           "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
12098                           "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
12099                           "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
12100                           "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
12101                           "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
12102                           "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
12103                           "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
12104                           "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
12105                           "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
12106                           "\x3E\x42\x14\x49\x88\x51\xBF\x68"
12107                           "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
12108                           "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
12109                           "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
12110                           "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
12111                           "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
12112                           "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
12113                           "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
12114                           "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
12115                           "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
12116                           "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
12117                           "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
12118                           "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
12119                           "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
12120                           "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
12121                           "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
12122                           "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
12123                           "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
12124                           "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
12125                           "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
12126                           "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
12127                           "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
12128                           "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
12129                 .len    = 504,
12130         },
12131 };
12132
12133 static const struct cipher_testvec bf_cbc_tv_template[] = {
12134         { /* From OpenSSL */
12135                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
12136                           "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
12137                 .klen   = 16,
12138                 .iv     = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
12139                 .iv_out = "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
12140                 .ptext  = "\x37\x36\x35\x34\x33\x32\x31\x20"
12141                           "\x4e\x6f\x77\x20\x69\x73\x20\x74"
12142                           "\x68\x65\x20\x74\x69\x6d\x65\x20"
12143                           "\x66\x6f\x72\x20\x00\x00\x00\x00",
12144                 .ctext  = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
12145                           "\x05\xb1\x56\xe2\x74\x03\x97\x93"
12146                           "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
12147                           "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
12148                 .len    = 32,
12149         }, { /* Generated with Crypto++ */
12150                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12151                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12152                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12153                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12154                 .klen   = 32,
12155                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
12156                 .iv_out = "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
12157                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12158                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12159                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12160                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12161                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12162                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12163                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12164                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12165                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12166                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12167                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12168                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12169                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12170                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12171                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12172                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12173                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12174                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12175                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12176                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12177                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12178                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12179                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12180                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12181                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12182                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12183                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12184                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12185                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12186                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12187                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12188                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12189                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12190                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12191                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12192                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12193                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12194                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12195                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12196                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12197                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12198                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12199                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12200                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12201                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12202                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12203                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12204                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12205                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12206                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12207                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12208                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12209                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12210                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12211                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12212                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12213                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12214                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12215                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12216                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12217                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12218                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12219                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
12220                 .ctext  = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
12221                           "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
12222                           "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
12223                           "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
12224                           "\x01\x9C\x93\x63\x51\x60\x82\xD2"
12225                           "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
12226                           "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
12227                           "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
12228                           "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
12229                           "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
12230                           "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
12231                           "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
12232                           "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
12233                           "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
12234                           "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
12235                           "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
12236                           "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
12237                           "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
12238                           "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
12239                           "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
12240                           "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
12241                           "\x65\xFE\x15\x40\xD0\x62\x41\x02"
12242                           "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
12243                           "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
12244                           "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
12245                           "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
12246                           "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
12247                           "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
12248                           "\x04\xF0\x86\x08\x78\x18\x42\xE0"
12249                           "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
12250                           "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
12251                           "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
12252                           "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
12253                           "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
12254                           "\x97\x18\x92\xFF\x15\x11\xCE\xED"
12255                           "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
12256                           "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
12257                           "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
12258                           "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
12259                           "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
12260                           "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
12261                           "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
12262                           "\x43\x12\x73\x77\xDB\x91\x83\x5B"
12263                           "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
12264                           "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
12265                           "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
12266                           "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
12267                           "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
12268                           "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
12269                           "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
12270                           "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
12271                           "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
12272                           "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
12273                           "\xC5\xF8\x69\x83\x28\x84\x87\x56"
12274                           "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
12275                           "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
12276                           "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
12277                           "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
12278                           "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
12279                           "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
12280                           "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
12281                           "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
12282                           "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
12283                 .len    = 504,
12284         },
12285 };
12286
12287 static const struct cipher_testvec bf_ctr_tv_template[] = {
12288         { /* Generated with Crypto++ */
12289                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12290                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12291                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12292                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12293                 .klen   = 32,
12294                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
12295                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
12296                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12297                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12298                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12299                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12300                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12301                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12302                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12303                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12304                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12305                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12306                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12307                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12308                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12309                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12310                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12311                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12312                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12313                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12314                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12315                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12316                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12317                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12318                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12319                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12320                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12321                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12322                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12323                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12324                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12325                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12326                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12327                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12328                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12329                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12330                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12331                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12332                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12333                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12334                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12335                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12336                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12337                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12338                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12339                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12340                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12341                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12342                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12343                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12344                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12345                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12346                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12347                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12348                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12349                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12350                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12351                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12352                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12353                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12354                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12355                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12356                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12357                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12358                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
12359                 .ctext  = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
12360                           "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
12361                           "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
12362                           "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
12363                           "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
12364                           "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
12365                           "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
12366                           "\x97\xEB\x98\x75\xC4\x73\x45\x83"
12367                           "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
12368                           "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
12369                           "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
12370                           "\x13\xD2\x96\x68\x69\x10\x67\x0C"
12371                           "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
12372                           "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
12373                           "\x88\x09\x40\x59\xBD\x12\x64\xB5"
12374                           "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
12375                           "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
12376                           "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
12377                           "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
12378                           "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
12379                           "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
12380                           "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
12381                           "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
12382                           "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
12383                           "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
12384                           "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
12385                           "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
12386                           "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
12387                           "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
12388                           "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
12389                           "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
12390                           "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
12391                           "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
12392                           "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
12393                           "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
12394                           "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
12395                           "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
12396                           "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
12397                           "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
12398                           "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
12399                           "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
12400                           "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
12401                           "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
12402                           "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
12403                           "\x82\x63\x11\xB3\x54\x49\x00\x08"
12404                           "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
12405                           "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
12406                           "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
12407                           "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
12408                           "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
12409                           "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
12410                           "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
12411                           "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
12412                           "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
12413                           "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
12414                           "\x91\x04\x94\x99\x03\x3B\x42\x6D"
12415                           "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
12416                           "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
12417                           "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
12418                           "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
12419                           "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
12420                           "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
12421                           "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
12422                 .len    = 504,
12423         }, { /* Generated with Crypto++ */
12424                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12425                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12426                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12427                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12428                 .klen   = 32,
12429                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
12430                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
12431                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12432                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12433                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12434                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12435                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12436                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12437                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12438                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12439                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12440                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12441                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12442                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12443                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12444                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12445                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12446                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12447                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12448                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12449                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12450                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12451                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12452                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12453                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12454                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12455                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12456                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12457                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12458                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12459                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12460                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12461                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12462                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12463                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12464                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12465                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12466                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12467                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12468                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12469                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12470                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12471                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12472                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12473                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12474                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12475                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12476                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12477                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12478                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12479                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12480                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12481                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12482                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12483                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12484                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12485                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12486                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12487                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12488                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12489                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12490                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12491                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12492                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12493                           "\x2B\xC2\x59\xF0\x64\xFB\x92",
12494                 .ctext  = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
12495                           "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
12496                           "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
12497                           "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
12498                           "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
12499                           "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
12500                           "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
12501                           "\x97\xEB\x98\x75\xC4\x73\x45\x83"
12502                           "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
12503                           "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
12504                           "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
12505                           "\x13\xD2\x96\x68\x69\x10\x67\x0C"
12506                           "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
12507                           "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
12508                           "\x88\x09\x40\x59\xBD\x12\x64\xB5"
12509                           "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
12510                           "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
12511                           "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
12512                           "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
12513                           "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
12514                           "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
12515                           "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
12516                           "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
12517                           "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
12518                           "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
12519                           "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
12520                           "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
12521                           "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
12522                           "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
12523                           "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
12524                           "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
12525                           "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
12526                           "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
12527                           "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
12528                           "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
12529                           "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
12530                           "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
12531                           "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
12532                           "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
12533                           "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
12534                           "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
12535                           "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
12536                           "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
12537                           "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
12538                           "\x82\x63\x11\xB3\x54\x49\x00\x08"
12539                           "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
12540                           "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
12541                           "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
12542                           "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
12543                           "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
12544                           "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
12545                           "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
12546                           "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
12547                           "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
12548                           "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
12549                           "\x91\x04\x94\x99\x03\x3B\x42\x6D"
12550                           "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
12551                           "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
12552                           "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
12553                           "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
12554                           "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
12555                           "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
12556                           "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
12557                 .len    = 503,
12558         }, { /* Generated with Crypto++ */
12559                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12560                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12561                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12562                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12563                 .klen   = 32,
12564                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
12565                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3C",
12566                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12567                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12568                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12569                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12570                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12571                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12572                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12573                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12574                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12575                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12576                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12577                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12578                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12579                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12580                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12581                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12582                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12583                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12584                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12585                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12586                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12587                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12588                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12589                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12590                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12591                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12592                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12593                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12594                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12595                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12596                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12597                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12598                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12599                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12600                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12601                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12602                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12603                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12604                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12605                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12606                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12607                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12608                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12609                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12610                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12611                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12612                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12613                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12614                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12615                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12616                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12617                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12618                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12619                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12620                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12621                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12622                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12623                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12624                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12625                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12626                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12627                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12628                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
12629                 .ctext  = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
12630                           "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
12631                           "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
12632                           "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
12633                           "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
12634                           "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
12635                           "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
12636                           "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
12637                           "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
12638                           "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
12639                           "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
12640                           "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
12641                           "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
12642                           "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
12643                           "\x0B\x82\x59\x14\x26\x67\x08\x09"
12644                           "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
12645                           "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
12646                           "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
12647                           "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
12648                           "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
12649                           "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
12650                           "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
12651                           "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
12652                           "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
12653                           "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
12654                           "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
12655                           "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
12656                           "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
12657                           "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
12658                           "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
12659                           "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
12660                           "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
12661                           "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
12662                           "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
12663                           "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
12664                           "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
12665                           "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
12666                           "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
12667                           "\xB4\x19\xD8\x19\x45\x66\x27\x02"
12668                           "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
12669                           "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
12670                           "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
12671                           "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
12672                           "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
12673                           "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
12674                           "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
12675                           "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
12676                           "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
12677                           "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
12678                           "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
12679                           "\x91\x51\x4E\x71\xF2\x98\x85\x16"
12680                           "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
12681                           "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
12682                           "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
12683                           "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
12684                           "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
12685                           "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
12686                           "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
12687                           "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
12688                           "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
12689                           "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
12690                           "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
12691                           "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
12692                 .len    = 504,
12693         },
12694 };
12695
12696 /*
12697  * Twofish test vectors.
12698  */
12699 static const struct cipher_testvec tf_tv_template[] = {
12700         {
12701                 .key    = zeroed_string,
12702                 .klen   = 16,
12703                 .ptext  = zeroed_string,
12704                 .ctext  = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
12705                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
12706                 .len    = 16,
12707         }, {
12708                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
12709                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
12710                           "\x00\x11\x22\x33\x44\x55\x66\x77",
12711                 .klen   = 24,
12712                 .ptext  = zeroed_string,
12713                 .ctext  = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
12714                           "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
12715                 .len    = 16,
12716         }, {
12717                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
12718                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
12719                           "\x00\x11\x22\x33\x44\x55\x66\x77"
12720                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
12721                 .klen   = 32,
12722                 .ptext  = zeroed_string,
12723                 .ctext  = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
12724                           "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
12725                 .len    = 16,
12726         }, { /* Generated with Crypto++ */
12727                 .key    = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
12728                           "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
12729                           "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
12730                           "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
12731                 .klen   = 32,
12732                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12733                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12734                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12735                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12736                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12737                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12738                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12739                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12740                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12741                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12742                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12743                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12744                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12745                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12746                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12747                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12748                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12749                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12750                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12751                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12752                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12753                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12754                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12755                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12756                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12757                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12758                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12759                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12760                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12761                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12762                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12763                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12764                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12765                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12766                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12767                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12768                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12769                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12770                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12771                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12772                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12773                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12774                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12775                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12776                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12777                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12778                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12779                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12780                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12781                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12782                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12783                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12784                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12785                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12786                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12787                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12788                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12789                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12790                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12791                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12792                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12793                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12794                 .ctext  = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
12795                           "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
12796                           "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
12797                           "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
12798                           "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
12799                           "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
12800                           "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
12801                           "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
12802                           "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
12803                           "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
12804                           "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
12805                           "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
12806                           "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
12807                           "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
12808                           "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
12809                           "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
12810                           "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
12811                           "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
12812                           "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
12813                           "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
12814                           "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
12815                           "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
12816                           "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
12817                           "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
12818                           "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
12819                           "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
12820                           "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
12821                           "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
12822                           "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
12823                           "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
12824                           "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
12825                           "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
12826                           "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
12827                           "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
12828                           "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
12829                           "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
12830                           "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
12831                           "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
12832                           "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
12833                           "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
12834                           "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
12835                           "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
12836                           "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
12837                           "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
12838                           "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
12839                           "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
12840                           "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
12841                           "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
12842                           "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
12843                           "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
12844                           "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
12845                           "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
12846                           "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
12847                           "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
12848                           "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
12849                           "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
12850                           "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
12851                           "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
12852                           "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
12853                           "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
12854                           "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
12855                           "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
12856                 .len    = 496,
12857         },
12858 };
12859
12860 static const struct cipher_testvec tf_cbc_tv_template[] = {
12861         { /* Generated with Nettle */
12862                 .key    = zeroed_string,
12863                 .klen   = 16,
12864                 .iv     = zeroed_string,
12865                 .iv_out = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
12866                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
12867                 .ptext  = zeroed_string,
12868                 .ctext  = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
12869                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
12870                 .len    = 16,
12871         }, {
12872                 .key    = zeroed_string,
12873                 .klen   = 16,
12874                 .iv     = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
12875                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
12876                 .iv_out = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
12877                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
12878                 .ptext  = zeroed_string,
12879                 .ctext  = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
12880                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
12881                 .len    = 16,
12882         }, {
12883                 .key    = zeroed_string,
12884                 .klen   = 16,
12885                 .iv     = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
12886                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
12887                 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
12888                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
12889                 .ptext  = zeroed_string,
12890                 .ctext  = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
12891                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
12892                 .len    = 16,
12893         }, {
12894                 .key    = zeroed_string,
12895                 .klen   = 16,
12896                 .iv     = zeroed_string,
12897                 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
12898                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
12899                 .ptext  = zeroed_string,
12900                 .ctext  = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
12901                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
12902                           "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
12903                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
12904                           "\x05\xef\x8c\x61\xa8\x11\x58\x26"
12905                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
12906                 .len    = 48,
12907         }, { /* Generated with Crypto++ */
12908                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12909                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12910                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12911                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12912                 .klen   = 32,
12913                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12914                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12915                 .iv_out = "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
12916                           "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
12917                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12918                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12919                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12920                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12921                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12922                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12923                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12924                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12925                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12926                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12927                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12928                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12929                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12930                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12931                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12932                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12933                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12934                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12935                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12936                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12937                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12938                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12939                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12940                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12941                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12942                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12943                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12944                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12945                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12946                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12947                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12948                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12949                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12950                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12951                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12952                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12953                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12954                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12955                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12956                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12957                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12958                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12959                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12960                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12961                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12962                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12963                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12964                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12965                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12966                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12967                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12968                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12969                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12970                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12971                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12972                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12973                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12974                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12975                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12976                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12977                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12978                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12979                 .ctext  = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
12980                           "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
12981                           "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
12982                           "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
12983                           "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
12984                           "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
12985                           "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
12986                           "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
12987                           "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
12988                           "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
12989                           "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
12990                           "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
12991                           "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
12992                           "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
12993                           "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
12994                           "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
12995                           "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
12996                           "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
12997                           "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
12998                           "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
12999                           "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
13000                           "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
13001                           "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
13002                           "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
13003                           "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
13004                           "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
13005                           "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
13006                           "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
13007                           "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
13008                           "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
13009                           "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
13010                           "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
13011                           "\x75\x42\x62\x04\x31\x1F\x95\x7C"
13012                           "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
13013                           "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
13014                           "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
13015                           "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
13016                           "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
13017                           "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
13018                           "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
13019                           "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
13020                           "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
13021                           "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
13022                           "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
13023                           "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
13024                           "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
13025                           "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
13026                           "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
13027                           "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
13028                           "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
13029                           "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
13030                           "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
13031                           "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
13032                           "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
13033                           "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
13034                           "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
13035                           "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
13036                           "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
13037                           "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
13038                           "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
13039                           "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
13040                           "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
13041                 .len    = 496,
13042         },
13043 };
13044
13045 static const struct cipher_testvec tf_ctr_tv_template[] = {
13046         { /* Generated with Crypto++ */
13047                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13048                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13049                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13050                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13051                 .klen   = 32,
13052                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13053                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13054                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13055                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
13056                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13057                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13058                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13059                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13060                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13061                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13062                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13063                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13064                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13065                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13066                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13067                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13068                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13069                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13070                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13071                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13072                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13073                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13074                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13075                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13076                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13077                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13078                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13079                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13080                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13081                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13082                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13083                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13084                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13085                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13086                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13087                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13088                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13089                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13090                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13091                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13092                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13093                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13094                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13095                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13096                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13097                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13098                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13099                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13100                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13101                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13102                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13103                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13104                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13105                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13106                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13107                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13108                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13109                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13110                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13111                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13112                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13113                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13114                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13115                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13116                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13117                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13118                 .ctext  = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
13119                           "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
13120                           "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
13121                           "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
13122                           "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
13123                           "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
13124                           "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
13125                           "\x01\x41\x21\x12\x38\xAB\x52\x4F"
13126                           "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
13127                           "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
13128                           "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
13129                           "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
13130                           "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
13131                           "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
13132                           "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
13133                           "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
13134                           "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
13135                           "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
13136                           "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
13137                           "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
13138                           "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
13139                           "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
13140                           "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
13141                           "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
13142                           "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
13143                           "\x23\x61\x48\xEA\x80\x04\x27\xAA"
13144                           "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
13145                           "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
13146                           "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
13147                           "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
13148                           "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
13149                           "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
13150                           "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
13151                           "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
13152                           "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
13153                           "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
13154                           "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
13155                           "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
13156                           "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
13157                           "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
13158                           "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
13159                           "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
13160                           "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
13161                           "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
13162                           "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
13163                           "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
13164                           "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
13165                           "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
13166                           "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
13167                           "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
13168                           "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
13169                           "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
13170                           "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
13171                           "\x11\xE9\x43\x83\x76\xAA\x53\x37"
13172                           "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
13173                           "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
13174                           "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
13175                           "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
13176                           "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
13177                           "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
13178                           "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
13179                           "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
13180                 .len    = 496,
13181         }, { /* Generated with Crypto++ */
13182                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13183                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13184                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13185                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13186                 .klen   = 32,
13187                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
13188                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
13189                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
13190                           "\x00\x00\x00\x00\x00\x00\x00\x1C",
13191                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13192                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13193                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13194                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13195                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13196                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13197                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13198                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13199                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13200                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13201                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13202                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13203                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13204                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13205                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13206                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13207                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13208                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13209                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13210                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13211                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13212                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13213                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13214                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13215                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13216                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13217                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13218                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13219                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13220                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13221                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13222                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13223                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13224                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13225                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13226                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13227                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13228                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13229                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13230                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13231                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13232                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13233                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13234                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13235                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13236                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13237                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13238                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13239                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13240                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13241                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13242                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13243                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13244                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13245                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13246                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13247                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13248                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13249                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13250                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13251                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13252                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13253                 .ctext  = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
13254                           "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
13255                           "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
13256                           "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
13257                           "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
13258                           "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
13259                           "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
13260                           "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
13261                           "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
13262                           "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
13263                           "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
13264                           "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
13265                           "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
13266                           "\x39\x18\x09\xA4\x82\x59\x78\xE7"
13267                           "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
13268                           "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
13269                           "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
13270                           "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
13271                           "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
13272                           "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
13273                           "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
13274                           "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
13275                           "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
13276                           "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
13277                           "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
13278                           "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
13279                           "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
13280                           "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
13281                           "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
13282                           "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
13283                           "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
13284                           "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
13285                           "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
13286                           "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
13287                           "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
13288                           "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
13289                           "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
13290                           "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
13291                           "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
13292                           "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
13293                           "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
13294                           "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
13295                           "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
13296                           "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
13297                           "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
13298                           "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
13299                           "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
13300                           "\xDE\x55\x1B\x50\x14\x53\x44\x17"
13301                           "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
13302                           "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
13303                           "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
13304                           "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
13305                           "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
13306                           "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
13307                           "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
13308                           "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
13309                           "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
13310                           "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
13311                           "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
13312                           "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
13313                           "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
13314                           "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
13315                 .len    = 496,
13316         }, { /* Generated with Crypto++ */
13317                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13318                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13319                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13320                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13321                 .klen   = 32,
13322                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13323                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13324                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13325                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
13326                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13327                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13328                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13329                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13330                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13331                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13332                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13333                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13334                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13335                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13336                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13337                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13338                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13339                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13340                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13341                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13342                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13343                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13344                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13345                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13346                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13347                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13348                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13349                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13350                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13351                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13352                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13353                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13354                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13355                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13356                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13357                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13358                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13359                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13360                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13361                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13362                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13363                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13364                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13365                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13366                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13367                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13368                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13369                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13370                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13371                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13372                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13373                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13374                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13375                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13376                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13377                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13378                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13379                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13380                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13381                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13382                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13383                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13384                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13385                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13386                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13387                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
13388                           "\x2B\xC2\x59",
13389                 .ctext  = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
13390                           "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
13391                           "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
13392                           "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
13393                           "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
13394                           "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
13395                           "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
13396                           "\x01\x41\x21\x12\x38\xAB\x52\x4F"
13397                           "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
13398                           "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
13399                           "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
13400                           "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
13401                           "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
13402                           "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
13403                           "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
13404                           "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
13405                           "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
13406                           "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
13407                           "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
13408                           "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
13409                           "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
13410                           "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
13411                           "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
13412                           "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
13413                           "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
13414                           "\x23\x61\x48\xEA\x80\x04\x27\xAA"
13415                           "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
13416                           "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
13417                           "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
13418                           "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
13419                           "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
13420                           "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
13421                           "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
13422                           "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
13423                           "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
13424                           "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
13425                           "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
13426                           "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
13427                           "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
13428                           "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
13429                           "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
13430                           "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
13431                           "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
13432                           "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
13433                           "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
13434                           "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
13435                           "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
13436                           "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
13437                           "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
13438                           "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
13439                           "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
13440                           "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
13441                           "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
13442                           "\x11\xE9\x43\x83\x76\xAA\x53\x37"
13443                           "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
13444                           "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
13445                           "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
13446                           "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
13447                           "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
13448                           "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
13449                           "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
13450                           "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
13451                           "\x6C\x82\x9D",
13452                 .len    = 499,
13453         },
13454 };
13455
13456 static const struct cipher_testvec tf_lrw_tv_template[] = {
13457         /* Generated from AES-LRW test vectors */
13458         {
13459                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
13460                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
13461                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
13462                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
13463                 .klen   = 32,
13464                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13465                           "\x00\x00\x00\x00\x00\x00\x00\x01",
13466                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
13467                           "\x38\x39\x41\x42\x43\x44\x45\x46",
13468                 .ctext  = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
13469                           "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
13470                 .len    = 16,
13471         }, {
13472                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
13473                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
13474                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
13475                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
13476                 .klen   = 32,
13477                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13478                           "\x00\x00\x00\x00\x00\x00\x00\x02",
13479                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
13480                           "\x38\x39\x41\x42\x43\x44\x45\x46",
13481                 .ctext  = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
13482                           "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
13483                 .len    = 16,
13484         }, {
13485                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
13486                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
13487                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
13488                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
13489                 .klen   = 32,
13490                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13491                           "\x00\x00\x00\x02\x00\x00\x00\x00",
13492                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
13493                           "\x38\x39\x41\x42\x43\x44\x45\x46",
13494                 .ctext  = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
13495                           "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
13496                 .len    = 16,
13497         }, {
13498                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
13499                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
13500                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
13501                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
13502                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
13503                 .klen   = 40,
13504                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13505                           "\x00\x00\x00\x00\x00\x00\x00\x01",
13506                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
13507                           "\x38\x39\x41\x42\x43\x44\x45\x46",
13508                 .ctext  = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
13509                           "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
13510                 .len    = 16,
13511         }, {
13512                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
13513                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
13514                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
13515                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
13516                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
13517                 .klen   = 40,
13518                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13519                           "\x00\x00\x00\x02\x00\x00\x00\x00",
13520                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
13521                           "\x38\x39\x41\x42\x43\x44\x45\x46",
13522                 .ctext  = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
13523                           "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
13524                 .len    = 16,
13525         }, {
13526                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
13527                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
13528                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
13529                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
13530                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
13531                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
13532                 .klen   = 48,
13533                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13534                           "\x00\x00\x00\x00\x00\x00\x00\x01",
13535                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
13536                           "\x38\x39\x41\x42\x43\x44\x45\x46",
13537                 .ctext  = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
13538                           "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
13539                 .len    = 16,
13540         }, {
13541                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
13542                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
13543                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
13544                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
13545                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
13546                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
13547                 .klen   = 48,
13548                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13549                           "\x00\x00\x00\x02\x00\x00\x00\x00",
13550                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
13551                           "\x38\x39\x41\x42\x43\x44\x45\x46",
13552                 .ctext  = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
13553                           "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
13554                 .len    = 16,
13555         }, {
13556                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
13557                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
13558                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
13559                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
13560                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
13561                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
13562                 .klen   = 48,
13563                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13564                           "\x00\x00\x00\x00\x00\x00\x00\x01",
13565                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
13566                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
13567                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
13568                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
13569                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
13570                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
13571                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
13572                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
13573                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
13574                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
13575                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
13576                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
13577                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
13578                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
13579                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
13580                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
13581                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
13582                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
13583                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
13584                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
13585                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
13586                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
13587                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
13588                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
13589                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
13590                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
13591                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
13592                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
13593                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
13594                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
13595                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
13596                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
13597                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
13598                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
13599                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
13600                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
13601                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
13602                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
13603                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
13604                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
13605                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
13606                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
13607                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
13608                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
13609                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
13610                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
13611                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
13612                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
13613                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
13614                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
13615                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
13616                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
13617                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
13618                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
13619                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
13620                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
13621                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
13622                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
13623                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
13624                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
13625                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
13626                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
13627                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
13628                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
13629                 .ctext  = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
13630                           "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
13631                           "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
13632                           "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
13633                           "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
13634                           "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
13635                           "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
13636                           "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
13637                           "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
13638                           "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
13639                           "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
13640                           "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
13641                           "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
13642                           "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
13643                           "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
13644                           "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
13645                           "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
13646                           "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
13647                           "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
13648                           "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
13649                           "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
13650                           "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
13651                           "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
13652                           "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
13653                           "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
13654                           "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
13655                           "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
13656                           "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
13657                           "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
13658                           "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
13659                           "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
13660                           "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
13661                           "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
13662                           "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
13663                           "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
13664                           "\x3e\xae\x71\x90\x07\x70\x1c\x38"
13665                           "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
13666                           "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
13667                           "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
13668                           "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
13669                           "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
13670                           "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
13671                           "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
13672                           "\x93\x51\x1d\x3d\x62\x59\x83\x82"
13673                           "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
13674                           "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
13675                           "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
13676                           "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
13677                           "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
13678                           "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
13679                           "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
13680                           "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
13681                           "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
13682                           "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
13683                           "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
13684                           "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
13685                           "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
13686                           "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
13687                           "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
13688                           "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
13689                           "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
13690                           "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
13691                           "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
13692                           "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
13693                 .len    = 512,
13694         },
13695 };
13696
13697 static const struct cipher_testvec tf_xts_tv_template[] = {
13698         /* Generated from AES-XTS test vectors */
13699 {
13700                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
13701                           "\x00\x00\x00\x00\x00\x00\x00\x00"
13702                           "\x00\x00\x00\x00\x00\x00\x00\x00"
13703                           "\x00\x00\x00\x00\x00\x00\x00\x00",
13704                 .klen   = 32,
13705                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13706                           "\x00\x00\x00\x00\x00\x00\x00\x00",
13707                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
13708                           "\x00\x00\x00\x00\x00\x00\x00\x00"
13709                           "\x00\x00\x00\x00\x00\x00\x00\x00"
13710                           "\x00\x00\x00\x00\x00\x00\x00\x00",
13711                 .ctext  = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
13712                           "\x30\x74\xe4\x44\x52\x77\x97\x43"
13713                           "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
13714                           "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
13715                 .len    = 32,
13716         }, {
13717                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
13718                           "\x11\x11\x11\x11\x11\x11\x11\x11"
13719                           "\x22\x22\x22\x22\x22\x22\x22\x22"
13720                           "\x22\x22\x22\x22\x22\x22\x22\x22",
13721                 .klen   = 32,
13722                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
13723                           "\x00\x00\x00\x00\x00\x00\x00\x00",
13724                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
13725                           "\x44\x44\x44\x44\x44\x44\x44\x44"
13726                           "\x44\x44\x44\x44\x44\x44\x44\x44"
13727                           "\x44\x44\x44\x44\x44\x44\x44\x44",
13728                 .ctext  = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
13729                           "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
13730                           "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
13731                           "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
13732                 .len    = 32,
13733         }, {
13734                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
13735                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
13736                           "\x22\x22\x22\x22\x22\x22\x22\x22"
13737                           "\x22\x22\x22\x22\x22\x22\x22\x22",
13738                 .klen   = 32,
13739                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
13740                           "\x00\x00\x00\x00\x00\x00\x00\x00",
13741                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
13742                           "\x44\x44\x44\x44\x44\x44\x44\x44"
13743                           "\x44\x44\x44\x44\x44\x44\x44\x44"
13744                           "\x44\x44\x44\x44\x44\x44\x44\x44",
13745                 .ctext  = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
13746                           "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
13747                           "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
13748                           "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
13749                 .len    = 32,
13750         }, {
13751                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
13752                           "\x23\x53\x60\x28\x74\x71\x35\x26"
13753                           "\x31\x41\x59\x26\x53\x58\x97\x93"
13754                           "\x23\x84\x62\x64\x33\x83\x27\x95",
13755                 .klen   = 32,
13756                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13757                           "\x00\x00\x00\x00\x00\x00\x00\x00",
13758                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
13759                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13760                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13761                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13762                           "\x20\x21\x22\x23\x24\x25\x26\x27"
13763                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13764                           "\x30\x31\x32\x33\x34\x35\x36\x37"
13765                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13766                           "\x40\x41\x42\x43\x44\x45\x46\x47"
13767                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13768                           "\x50\x51\x52\x53\x54\x55\x56\x57"
13769                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13770                           "\x60\x61\x62\x63\x64\x65\x66\x67"
13771                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13772                           "\x70\x71\x72\x73\x74\x75\x76\x77"
13773                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13774                           "\x80\x81\x82\x83\x84\x85\x86\x87"
13775                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13776                           "\x90\x91\x92\x93\x94\x95\x96\x97"
13777                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13778                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13779                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13780                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13781                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13782                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13783                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13784                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13785                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13786                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13787                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13788                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13789                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13790                           "\x00\x01\x02\x03\x04\x05\x06\x07"
13791                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13792                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13793                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13794                           "\x20\x21\x22\x23\x24\x25\x26\x27"
13795                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13796                           "\x30\x31\x32\x33\x34\x35\x36\x37"
13797                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13798                           "\x40\x41\x42\x43\x44\x45\x46\x47"
13799                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13800                           "\x50\x51\x52\x53\x54\x55\x56\x57"
13801                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13802                           "\x60\x61\x62\x63\x64\x65\x66\x67"
13803                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13804                           "\x70\x71\x72\x73\x74\x75\x76\x77"
13805                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13806                           "\x80\x81\x82\x83\x84\x85\x86\x87"
13807                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13808                           "\x90\x91\x92\x93\x94\x95\x96\x97"
13809                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13810                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13811                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13812                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13813                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13814                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13815                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13816                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13817                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13818                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13819                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13820                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13821                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13822                 .ctext  = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
13823                           "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
13824                           "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
13825                           "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
13826                           "\xea\x35\x35\x8c\xb2\x46\x61\x06"
13827                           "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
13828                           "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
13829                           "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
13830                           "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
13831                           "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
13832                           "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
13833                           "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
13834                           "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
13835                           "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
13836                           "\x01\x73\x68\x32\x25\x19\xfa\xfb"
13837                           "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
13838                           "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
13839                           "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
13840                           "\x39\x80\x39\x09\x97\x65\xf2\x83"
13841                           "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
13842                           "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
13843                           "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
13844                           "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
13845                           "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
13846                           "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
13847                           "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
13848                           "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
13849                           "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
13850                           "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
13851                           "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
13852                           "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
13853                           "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
13854                           "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
13855                           "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
13856                           "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
13857                           "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
13858                           "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
13859                           "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
13860                           "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
13861                           "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
13862                           "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
13863                           "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
13864                           "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
13865                           "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
13866                           "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
13867                           "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
13868                           "\x04\x39\x73\x32\xb2\x86\x79\xe7"
13869                           "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
13870                           "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
13871                           "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
13872                           "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
13873                           "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
13874                           "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
13875                           "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
13876                           "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
13877                           "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
13878                           "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
13879                           "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
13880                           "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
13881                           "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
13882                           "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
13883                           "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
13884                           "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
13885                           "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
13886                 .len    = 512,
13887         }, {
13888                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
13889                           "\x23\x53\x60\x28\x74\x71\x35\x26"
13890                           "\x62\x49\x77\x57\x24\x70\x93\x69"
13891                           "\x99\x59\x57\x49\x66\x96\x76\x27"
13892                           "\x31\x41\x59\x26\x53\x58\x97\x93"
13893                           "\x23\x84\x62\x64\x33\x83\x27\x95"
13894                           "\x02\x88\x41\x97\x16\x93\x99\x37"
13895                           "\x51\x05\x82\x09\x74\x94\x45\x92",
13896                 .klen   = 64,
13897                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
13898                           "\x00\x00\x00\x00\x00\x00\x00\x00",
13899                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
13900                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13901                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13902                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13903                           "\x20\x21\x22\x23\x24\x25\x26\x27"
13904                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13905                           "\x30\x31\x32\x33\x34\x35\x36\x37"
13906                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13907                           "\x40\x41\x42\x43\x44\x45\x46\x47"
13908                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13909                           "\x50\x51\x52\x53\x54\x55\x56\x57"
13910                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13911                           "\x60\x61\x62\x63\x64\x65\x66\x67"
13912                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13913                           "\x70\x71\x72\x73\x74\x75\x76\x77"
13914                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13915                           "\x80\x81\x82\x83\x84\x85\x86\x87"
13916                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13917                           "\x90\x91\x92\x93\x94\x95\x96\x97"
13918                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13919                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13920                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13921                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13922                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13923                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13924                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13925                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13926                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13927                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13928                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13929                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13930                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13931                           "\x00\x01\x02\x03\x04\x05\x06\x07"
13932                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13933                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13934                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13935                           "\x20\x21\x22\x23\x24\x25\x26\x27"
13936                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13937                           "\x30\x31\x32\x33\x34\x35\x36\x37"
13938                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13939                           "\x40\x41\x42\x43\x44\x45\x46\x47"
13940                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13941                           "\x50\x51\x52\x53\x54\x55\x56\x57"
13942                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13943                           "\x60\x61\x62\x63\x64\x65\x66\x67"
13944                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13945                           "\x70\x71\x72\x73\x74\x75\x76\x77"
13946                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13947                           "\x80\x81\x82\x83\x84\x85\x86\x87"
13948                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13949                           "\x90\x91\x92\x93\x94\x95\x96\x97"
13950                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13951                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13952                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13953                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13954                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13955                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13956                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13957                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13958                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13959                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13960                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13961                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13962                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13963                 .ctext  = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
13964                           "\x35\x39\x71\x88\x76\x1e\xc9\xea"
13965                           "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
13966                           "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
13967                           "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
13968                           "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
13969                           "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
13970                           "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
13971                           "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
13972                           "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
13973                           "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
13974                           "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
13975                           "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
13976                           "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
13977                           "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
13978                           "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
13979                           "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
13980                           "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
13981                           "\x69\x35\x61\x86\xf8\x86\xb9\x89"
13982                           "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
13983                           "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
13984                           "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
13985                           "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
13986                           "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
13987                           "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
13988                           "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
13989                           "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
13990                           "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
13991                           "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
13992                           "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
13993                           "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
13994                           "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
13995                           "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
13996                           "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
13997                           "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
13998                           "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
13999                           "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
14000                           "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
14001                           "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
14002                           "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
14003                           "\xad\x12\x32\x31\x03\xf7\x21\xbe"
14004                           "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
14005                           "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
14006                           "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
14007                           "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
14008                           "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
14009                           "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
14010                           "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
14011                           "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
14012                           "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
14013                           "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
14014                           "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
14015                           "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
14016                           "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
14017                           "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
14018                           "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
14019                           "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
14020                           "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
14021                           "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
14022                           "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
14023                           "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
14024                           "\xf3\xea\x67\x52\x78\xc2\xce\x70"
14025                           "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
14026                           "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
14027                 .len    = 512,
14028         },
14029 };
14030
14031 /*
14032  * Serpent test vectors.  These are backwards because Serpent writes
14033  * octet sequences in right-to-left mode.
14034  */
14035 static const struct cipher_testvec serpent_tv_template[] = {
14036         {
14037                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14038                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14039                 .ctext  = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
14040                           "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
14041                 .len    = 16,
14042         }, {
14043                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
14044                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14045                 .klen   = 16,
14046                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14047                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14048                 .ctext  = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
14049                           "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
14050                 .len    = 16,
14051         }, {
14052                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
14053                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14054                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14055                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14056                 .klen   = 32,
14057                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14058                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14059                 .ctext  = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
14060                           "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
14061                 .len    = 16,
14062         }, {
14063                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
14064                 .klen   = 16,
14065                 .ptext  = zeroed_string,
14066                 .ctext  = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
14067                           "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
14068                 .len    = 16,
14069         }, { /* Generated with Crypto++ */
14070                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14071                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14072                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14073                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14074                 .klen   = 32,
14075                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14076                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14077                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14078                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14079                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14080                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14081                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14082                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14083                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14084                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14085                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14086                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14087                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14088                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14089                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14090                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14091                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14092                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14093                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14094                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14095                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14096                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14097                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14098                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14099                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14100                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14101                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14102                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14103                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14104                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14105                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14106                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14107                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14108                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14109                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14110                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14111                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14112                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14113                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14114                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14115                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14116                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14117                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14118                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14119                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14120                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14121                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14122                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14123                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14124                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14125                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14126                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14127                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14128                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14129                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14130                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14131                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14132                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14133                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14134                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14135                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14136                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14137                 .ctext  = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
14138                           "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
14139                           "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
14140                           "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
14141                           "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
14142                           "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
14143                           "\x99\x34\x89\x5B\x54\xE9\x12\x13"
14144                           "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
14145                           "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
14146                           "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
14147                           "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
14148                           "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
14149                           "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
14150                           "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
14151                           "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
14152                           "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
14153                           "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
14154                           "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
14155                           "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
14156                           "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
14157                           "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
14158                           "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
14159                           "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
14160                           "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
14161                           "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
14162                           "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
14163                           "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
14164                           "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
14165                           "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
14166                           "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
14167                           "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
14168                           "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
14169                           "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
14170                           "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
14171                           "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
14172                           "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
14173                           "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
14174                           "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
14175                           "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
14176                           "\x87\x70\x14\xD0\x01\x57\xCB\x42"
14177                           "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
14178                           "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
14179                           "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
14180                           "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
14181                           "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
14182                           "\x71\x80\x05\x35\x3F\x40\x0B\x21"
14183                           "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
14184                           "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
14185                           "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
14186                           "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
14187                           "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
14188                           "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
14189                           "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
14190                           "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
14191                           "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
14192                           "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
14193                           "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
14194                           "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
14195                           "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
14196                           "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
14197                           "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
14198                           "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
14199                 .len    = 496,
14200         },
14201 };
14202
14203 static const struct cipher_testvec serpent_cbc_tv_template[] = {
14204         { /* Generated with Crypto++ */
14205                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14206                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14207                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14208                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14209                 .klen   = 32,
14210                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14211                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14212                 .iv_out = "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
14213                           "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
14214                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14215                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14216                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14217                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14218                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14219                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14220                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14221                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14222                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14223                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14224                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14225                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14226                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14227                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14228                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14229                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14230                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14231                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14232                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14233                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14234                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14235                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14236                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14237                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14238                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14239                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14240                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14241                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14242                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14243                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14244                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14245                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14246                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14247                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14248                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14249                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14250                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14251                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14252                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14253                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14254                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14255                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14256                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14257                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14258                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14259                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14260                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14261                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14262                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14263                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14264                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14265                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14266                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14267                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14268                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14269                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14270                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14271                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14272                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14273                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14274                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14275                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14276                 .ctext  = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
14277                           "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
14278                           "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
14279                           "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
14280                           "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
14281                           "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
14282                           "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
14283                           "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
14284                           "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
14285                           "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
14286                           "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
14287                           "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
14288                           "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
14289                           "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
14290                           "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
14291                           "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
14292                           "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
14293                           "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
14294                           "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
14295                           "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
14296                           "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
14297                           "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
14298                           "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
14299                           "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
14300                           "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
14301                           "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
14302                           "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
14303                           "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
14304                           "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
14305                           "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
14306                           "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
14307                           "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
14308                           "\x81\x92\x66\x67\x15\x1E\x39\x98"
14309                           "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
14310                           "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
14311                           "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
14312                           "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
14313                           "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
14314                           "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
14315                           "\x04\x05\x46\xD3\x90\x0F\x64\x64"
14316                           "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
14317                           "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
14318                           "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
14319                           "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
14320                           "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
14321                           "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
14322                           "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
14323                           "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
14324                           "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
14325                           "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
14326                           "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
14327                           "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
14328                           "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
14329                           "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
14330                           "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
14331                           "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
14332                           "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
14333                           "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
14334                           "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
14335                           "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
14336                           "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
14337                           "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
14338                 .len    = 496,
14339         },
14340 };
14341
14342 static const struct cipher_testvec serpent_ctr_tv_template[] = {
14343         { /* Generated with Crypto++ */
14344                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14345                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14346                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14347                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14348                 .klen   = 32,
14349                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14350                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14351                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14352                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
14353                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14354                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14355                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14356                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14357                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14358                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14359                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14360                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14361                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14362                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14363                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14364                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14365                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14366                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14367                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14368                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14369                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14370                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14371                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14372                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14373                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14374                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14375                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14376                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14377                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14378                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14379                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14380                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14381                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14382                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14383                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14384                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14385                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14386                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14387                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14388                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14389                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14390                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14391                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14392                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14393                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14394                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14395                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14396                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14397                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14398                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14399                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14400                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14401                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14402                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14403                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14404                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14405                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14406                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14407                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14408                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14409                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14410                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14411                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14412                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14413                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14414                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14415                 .ctext  = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
14416                           "\x37\x69\xE3\x3A\x22\x85\x48\x46"
14417                           "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
14418                           "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
14419                           "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
14420                           "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
14421                           "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
14422                           "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
14423                           "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
14424                           "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
14425                           "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
14426                           "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
14427                           "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
14428                           "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
14429                           "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
14430                           "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
14431                           "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
14432                           "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
14433                           "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
14434                           "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
14435                           "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
14436                           "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
14437                           "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
14438                           "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
14439                           "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
14440                           "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
14441                           "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
14442                           "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
14443                           "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
14444                           "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
14445                           "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
14446                           "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
14447                           "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
14448                           "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
14449                           "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
14450                           "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
14451                           "\x07\x97\x38\x4B\x5C\x56\x98\x67"
14452                           "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
14453                           "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
14454                           "\x18\x06\x15\x9D\x5A\x10\x13\x37"
14455                           "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
14456                           "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
14457                           "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
14458                           "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
14459                           "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
14460                           "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
14461                           "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
14462                           "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
14463                           "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
14464                           "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
14465                           "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
14466                           "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
14467                           "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
14468                           "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
14469                           "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
14470                           "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
14471                           "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
14472                           "\x90\x47\x40\x92\xE6\x69\xD1\x96"
14473                           "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
14474                           "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
14475                           "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
14476                           "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
14477                 .len    = 496,
14478         }, { /* Generated with Crypto++ */
14479                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14480                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14481                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14482                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14483                 .klen   = 32,
14484                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14485                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14486                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14487                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
14488                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14489                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14490                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14491                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14492                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14493                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14494                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14495                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14496                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14497                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14498                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14499                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14500                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14501                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14502                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14503                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14504                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14505                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14506                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14507                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14508                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14509                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14510                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14511                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14512                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14513                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14514                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14515                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14516                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14517                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14518                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14519                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14520                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14521                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14522                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14523                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14524                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14525                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14526                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14527                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14528                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14529                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14530                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14531                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14532                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14533                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14534                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14535                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14536                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14537                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14538                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14539                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14540                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14541                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14542                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14543                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14544                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14545                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14546                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14547                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14548                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14549                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
14550                           "\x2B\xC2\x59",
14551                 .ctext  = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
14552                           "\x37\x69\xE3\x3A\x22\x85\x48\x46"
14553                           "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
14554                           "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
14555                           "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
14556                           "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
14557                           "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
14558                           "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
14559                           "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
14560                           "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
14561                           "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
14562                           "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
14563                           "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
14564                           "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
14565                           "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
14566                           "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
14567                           "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
14568                           "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
14569                           "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
14570                           "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
14571                           "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
14572                           "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
14573                           "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
14574                           "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
14575                           "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
14576                           "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
14577                           "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
14578                           "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
14579                           "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
14580                           "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
14581                           "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
14582                           "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
14583                           "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
14584                           "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
14585                           "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
14586                           "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
14587                           "\x07\x97\x38\x4B\x5C\x56\x98\x67"
14588                           "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
14589                           "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
14590                           "\x18\x06\x15\x9D\x5A\x10\x13\x37"
14591                           "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
14592                           "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
14593                           "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
14594                           "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
14595                           "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
14596                           "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
14597                           "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
14598                           "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
14599                           "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
14600                           "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
14601                           "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
14602                           "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
14603                           "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
14604                           "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
14605                           "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
14606                           "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
14607                           "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
14608                           "\x90\x47\x40\x92\xE6\x69\xD1\x96"
14609                           "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
14610                           "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
14611                           "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
14612                           "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
14613                           "\x38\xE2\xE5",
14614                 .len    = 499,
14615         }, { /* Generated with Crypto++ */
14616                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14617                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14618                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14619                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14620                 .klen   = 32,
14621                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
14622                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
14623                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
14624                           "\x00\x00\x00\x00\x00\x00\x00\x1C",
14625                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14626                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14627                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14628                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14629                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14630                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14631                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14632                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14633                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14634                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14635                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14636                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14637                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14638                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14639                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14640                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14641                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14642                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14643                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14644                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14645                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14646                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14647                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14648                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14649                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14650                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14651                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14652                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14653                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14654                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14655                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14656                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14657                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14658                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14659                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14660                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14661                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14662                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14663                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14664                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14665                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14666                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14667                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14668                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14669                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14670                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14671                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14672                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14673                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14674                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14675                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14676                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14677                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14678                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14679                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14680                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14681                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14682                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14683                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14684                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14685                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14686                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14687                 .ctext  = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
14688                           "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
14689                           "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
14690                           "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
14691                           "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
14692                           "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
14693                           "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
14694                           "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
14695                           "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
14696                           "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
14697                           "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
14698                           "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
14699                           "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
14700                           "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
14701                           "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
14702                           "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
14703                           "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
14704                           "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
14705                           "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
14706                           "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
14707                           "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
14708                           "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
14709                           "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
14710                           "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
14711                           "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
14712                           "\x29\x5E\x01\x47\x13\x32\x78\xBE"
14713                           "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
14714                           "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
14715                           "\x38\x35\x11\x26\x4A\xB4\x06\x32"
14716                           "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
14717                           "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
14718                           "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
14719                           "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
14720                           "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
14721                           "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
14722                           "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
14723                           "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
14724                           "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
14725                           "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
14726                           "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
14727                           "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
14728                           "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
14729                           "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
14730                           "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
14731                           "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
14732                           "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
14733                           "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
14734                           "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
14735                           "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
14736                           "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
14737                           "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
14738                           "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
14739                           "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
14740                           "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
14741                           "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
14742                           "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
14743                           "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
14744                           "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
14745                           "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
14746                           "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
14747                           "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
14748                           "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
14749                 .len    = 496,
14750         },
14751 };
14752
14753 static const struct cipher_testvec serpent_lrw_tv_template[] = {
14754         /* Generated from AES-LRW test vectors */
14755         {
14756                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
14757                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
14758                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
14759                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
14760                 .klen   = 32,
14761                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14762                           "\x00\x00\x00\x00\x00\x00\x00\x01",
14763                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14764                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14765                 .ctext  = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
14766                           "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
14767                 .len    = 16,
14768         }, {
14769                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
14770                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
14771                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
14772                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
14773                 .klen   = 32,
14774                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14775                           "\x00\x00\x00\x00\x00\x00\x00\x02",
14776                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14777                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14778                 .ctext  = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
14779                           "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
14780                 .len    = 16,
14781         }, {
14782                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
14783                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
14784                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
14785                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
14786                 .klen   = 32,
14787                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14788                           "\x00\x00\x00\x02\x00\x00\x00\x00",
14789                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14790                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14791                 .ctext  = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
14792                           "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
14793                 .len    = 16,
14794         }, {
14795                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
14796                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
14797                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
14798                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
14799                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
14800                 .klen   = 40,
14801                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14802                           "\x00\x00\x00\x00\x00\x00\x00\x01",
14803                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14804                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14805                 .ctext  = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
14806                           "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
14807                 .len    = 16,
14808         }, {
14809                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
14810                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
14811                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
14812                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
14813                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
14814                 .klen   = 40,
14815                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14816                           "\x00\x00\x00\x02\x00\x00\x00\x00",
14817                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14818                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14819                 .ctext  = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
14820                           "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
14821                 .len    = 16,
14822         }, {
14823                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14824                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14825                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14826                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14827                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14828                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14829                 .klen   = 48,
14830                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14831                           "\x00\x00\x00\x00\x00\x00\x00\x01",
14832                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14833                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14834                 .ctext  = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
14835                           "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
14836                 .len    = 16,
14837         }, {
14838                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
14839                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
14840                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
14841                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
14842                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
14843                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
14844                 .klen   = 48,
14845                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14846                           "\x00\x00\x00\x02\x00\x00\x00\x00",
14847                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14848                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14849                 .ctext  = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
14850                           "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
14851                 .len    = 16,
14852         }, {
14853                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14854                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14855                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14856                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14857                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14858                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14859                 .klen   = 48,
14860                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14861                           "\x00\x00\x00\x00\x00\x00\x00\x01",
14862                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
14863                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14864                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14865                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14866                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14867                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14868                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14869                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14870                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14871                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14872                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14873                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14874                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14875                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14876                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14877                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14878                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14879                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14880                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14881                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14882                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14883                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14884                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14885                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14886                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14887                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14888                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14889                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14890                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14891                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14892                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14893                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14894                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14895                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14896                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14897                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14898                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14899                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14900                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14901                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14902                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14903                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14904                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14905                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14906                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14907                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14908                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14909                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14910                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14911                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14912                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14913                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14914                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14915                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14916                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14917                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14918                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14919                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14920                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14921                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14922                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14923                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14924                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14925                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
14926                 .ctext  = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
14927                           "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
14928                           "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
14929                           "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
14930                           "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
14931                           "\xce\xab\xda\x33\x30\x20\x12\xfa"
14932                           "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
14933                           "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
14934                           "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
14935                           "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
14936                           "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
14937                           "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
14938                           "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
14939                           "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
14940                           "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
14941                           "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
14942                           "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
14943                           "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
14944                           "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
14945                           "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
14946                           "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
14947                           "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
14948                           "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
14949                           "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
14950                           "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
14951                           "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
14952                           "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
14953                           "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
14954                           "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
14955                           "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
14956                           "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
14957                           "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
14958                           "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
14959                           "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
14960                           "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
14961                           "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
14962                           "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
14963                           "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
14964                           "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
14965                           "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
14966                           "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
14967                           "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
14968                           "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
14969                           "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
14970                           "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
14971                           "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
14972                           "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
14973                           "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
14974                           "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
14975                           "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
14976                           "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
14977                           "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
14978                           "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
14979                           "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
14980                           "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
14981                           "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
14982                           "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
14983                           "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
14984                           "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
14985                           "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
14986                           "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
14987                           "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
14988                           "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
14989                           "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
14990                 .len    = 512,
14991         },
14992 };
14993
14994 static const struct cipher_testvec serpent_xts_tv_template[] = {
14995         /* Generated from AES-XTS test vectors */
14996         {
14997                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
14998                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14999                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15000                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15001                 .klen   = 32,
15002                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
15003                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15004                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
15005                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15006                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15007                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15008                 .ctext  = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
15009                           "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
15010                           "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
15011                           "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
15012                 .len    = 32,
15013         }, {
15014                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
15015                           "\x11\x11\x11\x11\x11\x11\x11\x11"
15016                           "\x22\x22\x22\x22\x22\x22\x22\x22"
15017                           "\x22\x22\x22\x22\x22\x22\x22\x22",
15018                 .klen   = 32,
15019                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
15020                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15021                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
15022                           "\x44\x44\x44\x44\x44\x44\x44\x44"
15023                           "\x44\x44\x44\x44\x44\x44\x44\x44"
15024                           "\x44\x44\x44\x44\x44\x44\x44\x44",
15025                 .ctext  = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
15026                           "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
15027                           "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
15028                           "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
15029                 .len    = 32,
15030         }, {
15031                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
15032                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
15033                           "\x22\x22\x22\x22\x22\x22\x22\x22"
15034                           "\x22\x22\x22\x22\x22\x22\x22\x22",
15035                 .klen   = 32,
15036                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
15037                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15038                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
15039                           "\x44\x44\x44\x44\x44\x44\x44\x44"
15040                           "\x44\x44\x44\x44\x44\x44\x44\x44"
15041                           "\x44\x44\x44\x44\x44\x44\x44\x44",
15042                 .ctext  = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
15043                           "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
15044                           "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
15045                           "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
15046                 .len    = 32,
15047         }, {
15048                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
15049                           "\x23\x53\x60\x28\x74\x71\x35\x26"
15050                           "\x31\x41\x59\x26\x53\x58\x97\x93"
15051                           "\x23\x84\x62\x64\x33\x83\x27\x95",
15052                 .klen   = 32,
15053                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
15054                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15055                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15056                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15057                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15058                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15059                           "\x20\x21\x22\x23\x24\x25\x26\x27"
15060                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15061                           "\x30\x31\x32\x33\x34\x35\x36\x37"
15062                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15063                           "\x40\x41\x42\x43\x44\x45\x46\x47"
15064                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15065                           "\x50\x51\x52\x53\x54\x55\x56\x57"
15066                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15067                           "\x60\x61\x62\x63\x64\x65\x66\x67"
15068                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15069                           "\x70\x71\x72\x73\x74\x75\x76\x77"
15070                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15071                           "\x80\x81\x82\x83\x84\x85\x86\x87"
15072                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15073                           "\x90\x91\x92\x93\x94\x95\x96\x97"
15074                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15075                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15076                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15077                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15078                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15079                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15080                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15081                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15082                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15083                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15084                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15085                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15086                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15087                           "\x00\x01\x02\x03\x04\x05\x06\x07"
15088                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15089                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15090                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15091                           "\x20\x21\x22\x23\x24\x25\x26\x27"
15092                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15093                           "\x30\x31\x32\x33\x34\x35\x36\x37"
15094                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15095                           "\x40\x41\x42\x43\x44\x45\x46\x47"
15096                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15097                           "\x50\x51\x52\x53\x54\x55\x56\x57"
15098                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15099                           "\x60\x61\x62\x63\x64\x65\x66\x67"
15100                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15101                           "\x70\x71\x72\x73\x74\x75\x76\x77"
15102                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15103                           "\x80\x81\x82\x83\x84\x85\x86\x87"
15104                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15105                           "\x90\x91\x92\x93\x94\x95\x96\x97"
15106                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15107                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15108                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15109                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15110                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15111                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15112                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15113                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15114                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15115                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15116                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15117                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15118                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15119                 .ctext  = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
15120                           "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
15121                           "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
15122                           "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
15123                           "\x00\x5c\x75\x14\x06\xd6\x25\x82"
15124                           "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
15125                           "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
15126                           "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
15127                           "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
15128                           "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
15129                           "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
15130                           "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
15131                           "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
15132                           "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
15133                           "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
15134                           "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
15135                           "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
15136                           "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
15137                           "\x58\xfa\x43\x91\x16\x85\x40\xbb"
15138                           "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
15139                           "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
15140                           "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
15141                           "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
15142                           "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
15143                           "\x6e\x29\x60\xbd\x10\x14\x84\x82"
15144                           "\x83\x82\x0c\x63\x73\x92\x02\x7c"
15145                           "\x55\x37\x20\x80\x17\x51\xc8\xbc"
15146                           "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
15147                           "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
15148                           "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
15149                           "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
15150                           "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
15151                           "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
15152                           "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
15153                           "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
15154                           "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
15155                           "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
15156                           "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
15157                           "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
15158                           "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
15159                           "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
15160                           "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
15161                           "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
15162                           "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
15163                           "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
15164                           "\x43\x42\x35\xd0\xcf\xec\x77\x67"
15165                           "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
15166                           "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
15167                           "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
15168                           "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
15169                           "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
15170                           "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
15171                           "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
15172                           "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
15173                           "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
15174                           "\x03\x57\xe6\x98\x52\x2f\x61\x62"
15175                           "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
15176                           "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
15177                           "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
15178                           "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
15179                           "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
15180                           "\xef\x91\x64\x1d\x18\x07\x4e\x31"
15181                           "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
15182                           "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
15183                 .len    = 512,
15184         }, {
15185                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
15186                           "\x23\x53\x60\x28\x74\x71\x35\x26"
15187                           "\x62\x49\x77\x57\x24\x70\x93\x69"
15188                           "\x99\x59\x57\x49\x66\x96\x76\x27"
15189                           "\x31\x41\x59\x26\x53\x58\x97\x93"
15190                           "\x23\x84\x62\x64\x33\x83\x27\x95"
15191                           "\x02\x88\x41\x97\x16\x93\x99\x37"
15192                           "\x51\x05\x82\x09\x74\x94\x45\x92",
15193                 .klen   = 64,
15194                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
15195                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15196                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15197                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15198                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15199                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15200                           "\x20\x21\x22\x23\x24\x25\x26\x27"
15201                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15202                           "\x30\x31\x32\x33\x34\x35\x36\x37"
15203                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15204                           "\x40\x41\x42\x43\x44\x45\x46\x47"
15205                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15206                           "\x50\x51\x52\x53\x54\x55\x56\x57"
15207                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15208                           "\x60\x61\x62\x63\x64\x65\x66\x67"
15209                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15210                           "\x70\x71\x72\x73\x74\x75\x76\x77"
15211                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15212                           "\x80\x81\x82\x83\x84\x85\x86\x87"
15213                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15214                           "\x90\x91\x92\x93\x94\x95\x96\x97"
15215                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15216                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15217                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15218                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15219                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15220                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15221                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15222                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15223                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15224                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15225                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15226                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15227                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15228                           "\x00\x01\x02\x03\x04\x05\x06\x07"
15229                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15230                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15231                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15232                           "\x20\x21\x22\x23\x24\x25\x26\x27"
15233                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15234                           "\x30\x31\x32\x33\x34\x35\x36\x37"
15235                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15236                           "\x40\x41\x42\x43\x44\x45\x46\x47"
15237                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15238                           "\x50\x51\x52\x53\x54\x55\x56\x57"
15239                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15240                           "\x60\x61\x62\x63\x64\x65\x66\x67"
15241                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15242                           "\x70\x71\x72\x73\x74\x75\x76\x77"
15243                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15244                           "\x80\x81\x82\x83\x84\x85\x86\x87"
15245                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15246                           "\x90\x91\x92\x93\x94\x95\x96\x97"
15247                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15248                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15249                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15250                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15251                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15252                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15253                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15254                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15255                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15256                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15257                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15258                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15259                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15260                 .ctext  = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
15261                           "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
15262                           "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
15263                           "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
15264                           "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
15265                           "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
15266                           "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
15267                           "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
15268                           "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
15269                           "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
15270                           "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
15271                           "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
15272                           "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
15273                           "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
15274                           "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
15275                           "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
15276                           "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
15277                           "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
15278                           "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
15279                           "\xec\x9a\xda\x64\x96\xb5\x61\xff"
15280                           "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
15281                           "\x81\x85\x14\xa8\x59\xac\x8c\x94"
15282                           "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
15283                           "\x82\xc6\x4d\xca\x86\xea\x53\x28"
15284                           "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
15285                           "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
15286                           "\x05\xca\x81\x7b\xda\xa2\xde\x63"
15287                           "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
15288                           "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
15289                           "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
15290                           "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
15291                           "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
15292                           "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
15293                           "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
15294                           "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
15295                           "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
15296                           "\xfd\x43\x7d\xda\x42\x51\x87\x43"
15297                           "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
15298                           "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
15299                           "\x27\x5f\x11\xac\x71\xc7\x48\x46"
15300                           "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
15301                           "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
15302                           "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
15303                           "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
15304                           "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
15305                           "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
15306                           "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
15307                           "\x50\x88\x97\x40\x69\xb1\x37\xf5"
15308                           "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
15309                           "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
15310                           "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
15311                           "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
15312                           "\xc1\x16\x73\x50\x77\xba\xa6\x65"
15313                           "\x20\x2d\xb0\x02\x27\x89\xda\x99"
15314                           "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
15315                           "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
15316                           "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
15317                           "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
15318                           "\xa3\x0e\x33\x74\x40\x18\x39\x72"
15319                           "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
15320                           "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
15321                           "\x30\x05\xc8\x92\x98\x80\xff\x7a"
15322                           "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
15323                           "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
15324                 .len    = 512,
15325         },
15326 };
15327
15328 /*
15329  * SM4 test vectors taken from the "The SM4 Blockcipher Algorithm And Its
15330  * Modes Of Operations" draft RFC
15331  * https://datatracker.ietf.org/doc/draft-ribose-cfrg-sm4
15332  */
15333
15334 static const struct cipher_testvec sm4_tv_template[] = {
15335         { /* GB/T 32907-2016 Example 1. */
15336                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
15337                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
15338                 .klen   = 16,
15339                 .ptext  = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
15340                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
15341                 .ctext  = "\x68\x1E\xDF\x34\xD2\x06\x96\x5E"
15342                           "\x86\xB3\xE9\x4F\x53\x6E\x42\x46",
15343                 .len    = 16,
15344         }, { /* Last 10 iterations of GB/T 32907-2016 Example 2. */
15345                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
15346                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
15347                 .klen   = 16,
15348                 .ptext  = "\x99\x4a\xc3\xe7\xc3\x57\x89\x6a"
15349                           "\x81\xfc\xa8\xe\x38\x3e\xef\x80"
15350                           "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
15351                           "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
15352                           "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
15353                           "\xad\x57\x15\xab\x31\x5d\xc\xef"
15354                           "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
15355                           "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
15356                           "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
15357                           "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
15358                           "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
15359                           "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
15360                           "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
15361                           "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
15362                           "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
15363                           "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
15364                           "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
15365                           "\xed\xce\x0\x19\xe\x16\x2\x6e"
15366                           "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
15367                           "\x31\x51\xec\x47\xc3\x51\x83\xc1",
15368                 .ctext  = "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
15369                           "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
15370                           "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
15371                           "\xad\x57\x15\xab\x31\x5d\xc\xef"
15372                           "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
15373                           "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
15374                           "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
15375                           "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
15376                           "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
15377                           "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
15378                           "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
15379                           "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
15380                           "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
15381                           "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
15382                           "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
15383                           "\xed\xce\x0\x19\xe\x16\x2\x6e"
15384                           "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
15385                           "\x31\x51\xec\x47\xc3\x51\x83\xc1"
15386                           "\x59\x52\x98\xc7\xc6\xfd\x27\x1f"
15387                           "\x4\x2\xf8\x4\xc3\x3d\x3f\x66",
15388                 .len    = 160
15389         }, { /* A.2.1.1 SM4-ECB Example 1 */
15390                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
15391                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
15392                 .klen   = 16,
15393                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
15394                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
15395                           "\xee\xee\xee\xee\xff\xff\xff\xff"
15396                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
15397                 .ctext  = "\x5e\xc8\x14\x3d\xe5\x09\xcf\xf7"
15398                           "\xb5\x17\x9f\x8f\x47\x4b\x86\x19"
15399                           "\x2f\x1d\x30\x5a\x7f\xb1\x7d\xf9"
15400                           "\x85\xf8\x1c\x84\x82\x19\x23\x04",
15401                 .len    = 32,
15402         }, { /* A.2.1.2 SM4-ECB Example 2 */
15403                 .key    = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
15404                           "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
15405                 .klen   = 16,
15406                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
15407                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
15408                           "\xee\xee\xee\xee\xff\xff\xff\xff"
15409                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
15410                 .ctext  = "\xC5\x87\x68\x97\xE4\xA5\x9B\xBB"
15411                           "\xA7\x2A\x10\xC8\x38\x72\x24\x5B"
15412                           "\x12\xDD\x90\xBC\x2D\x20\x06\x92"
15413                           "\xB5\x29\xA4\x15\x5A\xC9\xE6\x00",
15414                 .len    = 32,
15415         }
15416 };
15417
15418 static const struct cipher_testvec sm4_cbc_tv_template[] = {
15419         { /* A.2.2.1 SM4-CBC Example 1 */
15420                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
15421                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
15422                 .klen   = 16,
15423                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
15424                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
15425                           "\xee\xee\xee\xee\xff\xff\xff\xff"
15426                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
15427                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
15428                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
15429                 .iv_out = "\x4C\xB7\x01\x69\x51\x90\x92\x26"
15430                           "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
15431                 .ctext  = "\x78\xEB\xB1\x1C\xC4\x0B\x0A\x48"
15432                           "\x31\x2A\xAE\xB2\x04\x02\x44\xCB"
15433                           "\x4C\xB7\x01\x69\x51\x90\x92\x26"
15434                           "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
15435                 .len    = 32,
15436         }, { /* A.2.2.2 SM4-CBC Example 2 */
15437                 .key    = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
15438                           "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
15439                 .klen   = 16,
15440                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
15441                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
15442                           "\xee\xee\xee\xee\xff\xff\xff\xff"
15443                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
15444                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
15445                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
15446                 .iv_out = "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
15447                           "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
15448                 .ctext  = "\x0d\x3a\x6d\xdc\x2d\x21\xc6\x98"
15449                           "\x85\x72\x15\x58\x7b\x7b\xb5\x9a"
15450                           "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
15451                           "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
15452                 .len    = 32,
15453         }
15454 };
15455
15456 static const struct cipher_testvec sm4_ctr_tv_template[] = {
15457         { /* A.2.5.1 SM4-CTR Example 1 */
15458                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
15459                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
15460                 .klen   = 16,
15461                 .ptext  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
15462                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
15463                           "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
15464                           "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
15465                           "\xee\xee\xee\xee\xee\xee\xee\xee"
15466                           "\xff\xff\xff\xff\xff\xff\xff\xff"
15467                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
15468                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
15469                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
15470                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
15471                 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
15472                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
15473                 .ctext  = "\xac\x32\x36\xcb\x97\x0c\xc2\x07"
15474                           "\x91\x36\x4c\x39\x5a\x13\x42\xd1"
15475                           "\xa3\xcb\xc1\x87\x8c\x6f\x30\xcd"
15476                           "\x07\x4c\xce\x38\x5c\xdd\x70\xc7"
15477                           "\xf2\x34\xbc\x0e\x24\xc1\x19\x80"
15478                           "\xfd\x12\x86\x31\x0c\xe3\x7b\x92"
15479                           "\x6e\x02\xfc\xd0\xfa\xa0\xba\xf3"
15480                           "\x8b\x29\x33\x85\x1d\x82\x45\x14",
15481                 .len    = 64,
15482         }, { /* A.2.5.2 SM4-CTR Example 2 */
15483                 .key    = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
15484                           "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
15485                 .klen   = 16,
15486                 .ptext  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
15487                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
15488                           "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
15489                           "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
15490                           "\xee\xee\xee\xee\xee\xee\xee\xee"
15491                           "\xff\xff\xff\xff\xff\xff\xff\xff"
15492                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
15493                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
15494                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
15495                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
15496                 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
15497                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
15498                 .ctext  = "\x5d\xcc\xcd\x25\xb9\x5a\xb0\x74"
15499                           "\x17\xa0\x85\x12\xee\x16\x0e\x2f"
15500                           "\x8f\x66\x15\x21\xcb\xba\xb4\x4c"
15501                           "\xc8\x71\x38\x44\x5b\xc2\x9e\x5c"
15502                           "\x0a\xe0\x29\x72\x05\xd6\x27\x04"
15503                           "\x17\x3b\x21\x23\x9b\x88\x7f\x6c"
15504                           "\x8c\xb5\xb8\x00\x91\x7a\x24\x88"
15505                           "\x28\x4b\xde\x9e\x16\xea\x29\x06",
15506                 .len    = 64,
15507         }
15508 };
15509
15510 static const struct cipher_testvec sm4_ctr_rfc3686_tv_template[] = {
15511         {
15512                 .key    = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
15513                           "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
15514                           "\x00\x00\x00\x30",
15515                 .klen   = 20,
15516                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
15517                 .ptext  = "Single block msg",
15518                 .ctext  = "\x20\x9b\x77\x31\xd3\x65\xdb\xab"
15519                           "\x9e\x48\x74\x7e\xbd\x13\x83\xeb",
15520                 .len    = 16,
15521         }, {
15522                 .key    = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
15523                           "\x43\xd6\xce\x1f\x32\x53\x91\x63"
15524                           "\x00\x6c\xb6\xdb",
15525                 .klen   = 20,
15526                 .iv     = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
15527                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15528                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15529                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15530                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15531                 .ctext  = "\x33\xe0\x28\x01\x92\xed\xc9\x1e"
15532                           "\x97\x35\xd9\x4a\xec\xd4\xbc\x23"
15533                           "\x4f\x35\x9f\x1c\x55\x1f\xe0\x27"
15534                           "\xe0\xdf\xc5\x43\xbc\xb0\x23\x94",
15535                 .len    = 32,
15536         }
15537 };
15538
15539 static const struct cipher_testvec sm4_cts_tv_template[] = {
15540         /* Generated from AES-CTS test vectors */
15541         {
15542                 .klen   = 16,
15543                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
15544                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
15545                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
15546                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
15547                           "\x20",
15548                 .len    = 17,
15549                 .ctext  = "\x05\xfe\x23\xee\x17\xa2\x89\x98"
15550                           "\xbc\x97\x0a\x0b\x54\x67\xca\xd7"
15551                           "\xd6",
15552         }, {
15553                 .klen   = 16,
15554                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
15555                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
15556                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
15557                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
15558                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
15559                           "\x20\x47\x61\x75\x27\x73\x20",
15560                 .len    = 31,
15561                 .ctext  = "\x15\x46\xe4\x95\xa4\xec\xf0\xb8"
15562                           "\x49\xd6\x6a\x9d\x89\xc7\xfd\x70"
15563                           "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
15564                           "\x93\xf7\x70\xbb\xa8\x3f\xa3",
15565         }, {
15566                 .klen   = 16,
15567                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
15568                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
15569                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
15570                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
15571                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
15572                           "\x20\x47\x61\x75\x27\x73\x20\x43",
15573                 .len    = 32,
15574                 .ctext  = "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
15575                           "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3"
15576                           "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
15577                           "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf",
15578         }, {
15579                 .klen   = 16,
15580                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
15581                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
15582                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
15583                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
15584                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
15585                           "\x20\x47\x61\x75\x27\x73\x20\x43"
15586                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
15587                           "\x70\x6c\x65\x61\x73\x65\x2c",
15588                 .len    = 47,
15589                 .ctext  = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
15590                           "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
15591                           "\xd3\xe1\xdc\xeb\xfa\x04\x11\x99"
15592                           "\xde\xcf\x6f\x4d\x7b\x09\x92\x7f"
15593                           "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
15594                           "\x01\x6a\xbf\xd4\x3f\x79\x02",
15595         }, {
15596                 .klen   = 16,
15597                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
15598                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
15599                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
15600                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
15601                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
15602                           "\x20\x47\x61\x75\x27\x73\x20\x43"
15603                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
15604                           "\x70\x6c\x65\x61\x73\x65\x2c\x20",
15605                 .len    = 48,
15606                 .ctext  = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
15607                           "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
15608                           "\x9a\xbd\x7b\xfe\x82\xab\xcc\x7f"
15609                           "\xbd\x99\x21\x0c\x5e\x4d\xed\x20"
15610                           "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
15611                           "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3",
15612         }, {
15613                 .klen   = 16,
15614                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
15615                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
15616                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
15617                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
15618                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
15619                           "\x20\x47\x61\x75\x27\x73\x20\x43"
15620                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
15621                           "\x70\x6c\x65\x61\x73\x65\x2c\x20"
15622                           "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
15623                           "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
15624                 .len    = 64,
15625                 .ctext  = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
15626                           "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
15627                           "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
15628                           "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3"
15629                           "\x58\x19\xa4\x8f\xa9\x68\x5e\x6b"
15630                           "\x2c\x0f\x81\x60\x15\x98\x27\x4f"
15631                           "\x9a\xbd\x7b\xfe\x82\xab\xcc\x7f"
15632                           "\xbd\x99\x21\x0c\x5e\x4d\xed\x20",
15633         }
15634 };
15635
15636 static const struct cipher_testvec sm4_xts_tv_template[] = {
15637         /* Generated from AES-XTS test vectors */
15638         {
15639                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
15640                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15641                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15642                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15643                 .klen   = 32,
15644                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
15645                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15646                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
15647                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15648                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15649                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15650                 .ctext  = "\xd9\xb4\x21\xf7\x31\xc8\x94\xfd"
15651                           "\xc3\x5b\x77\x29\x1f\xe4\xe3\xb0"
15652                           "\x2a\x1f\xb7\x66\x98\xd5\x9f\x0e"
15653                           "\x51\x37\x6c\x4a\xda\x5b\xc7\x5d",
15654                 .len    = 32,
15655         }, {
15656                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
15657                           "\x11\x11\x11\x11\x11\x11\x11\x11"
15658                           "\x22\x22\x22\x22\x22\x22\x22\x22"
15659                           "\x22\x22\x22\x22\x22\x22\x22\x22",
15660                 .klen   = 32,
15661                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
15662                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15663                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
15664                           "\x44\x44\x44\x44\x44\x44\x44\x44"
15665                           "\x44\x44\x44\x44\x44\x44\x44\x44"
15666                           "\x44\x44\x44\x44\x44\x44\x44\x44",
15667                 .ctext  = "\xa7\x4d\x72\x6c\x11\x19\x6a\x32"
15668                           "\xbe\x04\xe0\x01\xff\x29\xd0\xc7"
15669                           "\x93\x2f\x9f\x3e\xc2\x9b\xfc\xb6"
15670                           "\x4d\xd1\x7f\x63\xcb\xd3\xea\x31",
15671                 .len    = 32,
15672         }, {
15673                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
15674                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
15675                           "\x22\x22\x22\x22\x22\x22\x22\x22"
15676                           "\x22\x22\x22\x22\x22\x22\x22\x22",
15677                 .klen   = 32,
15678                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
15679                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15680                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
15681                           "\x44\x44\x44\x44\x44\x44\x44\x44"
15682                           "\x44\x44\x44\x44\x44\x44\x44\x44"
15683                           "\x44\x44\x44\x44\x44\x44\x44\x44",
15684                 .ctext  = "\x7f\x76\x08\x8e\xff\xad\xf7\x0c"
15685                           "\x02\xea\x9f\x95\xda\x06\x28\xd3"
15686                           "\x51\xbf\xcb\x9e\xac\x05\x63\xbc"
15687                           "\xf1\x7b\x71\x0d\xab\x0a\x98\x26",
15688                 .len    = 32,
15689         }, {
15690                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
15691                           "\x23\x53\x60\x28\x74\x71\x35\x26"
15692                           "\x31\x41\x59\x26\x53\x58\x97\x93"
15693                           "\x23\x84\x62\x64\x33\x83\x27\x95",
15694                 .klen   = 32,
15695                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
15696                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15697                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15698                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15699                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15700                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15701                           "\x20\x21\x22\x23\x24\x25\x26\x27"
15702                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15703                           "\x30\x31\x32\x33\x34\x35\x36\x37"
15704                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15705                           "\x40\x41\x42\x43\x44\x45\x46\x47"
15706                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15707                           "\x50\x51\x52\x53\x54\x55\x56\x57"
15708                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15709                           "\x60\x61\x62\x63\x64\x65\x66\x67"
15710                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15711                           "\x70\x71\x72\x73\x74\x75\x76\x77"
15712                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15713                           "\x80\x81\x82\x83\x84\x85\x86\x87"
15714                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15715                           "\x90\x91\x92\x93\x94\x95\x96\x97"
15716                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15717                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15718                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15719                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15720                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15721                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15722                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15723                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15724                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15725                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15726                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15727                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15728                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15729                           "\x00\x01\x02\x03\x04\x05\x06\x07"
15730                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15731                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15732                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15733                           "\x20\x21\x22\x23\x24\x25\x26\x27"
15734                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15735                           "\x30\x31\x32\x33\x34\x35\x36\x37"
15736                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15737                           "\x40\x41\x42\x43\x44\x45\x46\x47"
15738                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15739                           "\x50\x51\x52\x53\x54\x55\x56\x57"
15740                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15741                           "\x60\x61\x62\x63\x64\x65\x66\x67"
15742                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15743                           "\x70\x71\x72\x73\x74\x75\x76\x77"
15744                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15745                           "\x80\x81\x82\x83\x84\x85\x86\x87"
15746                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15747                           "\x90\x91\x92\x93\x94\x95\x96\x97"
15748                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15749                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15750                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15751                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15752                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15753                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15754                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15755                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15756                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15757                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15758                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15759                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15760                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15761                 .ctext  = "\x54\xdd\x65\xb6\x32\x6f\xae\xa8"
15762                           "\xfa\xd1\xa8\x3c\x63\x61\x4a\xf3"
15763                           "\x9f\x72\x1d\x8d\xfe\x17\x7a\x30"
15764                           "\xb6\x6a\xbf\x6a\x44\x99\x80\xe1"
15765                           "\xcd\xbe\x06\xaf\xb7\x33\x36\xf3"
15766                           "\x7a\x4d\x39\xde\x96\x4a\x30\xd7"
15767                           "\xd0\x4a\x37\x99\x16\x9c\x60\x25"
15768                           "\x8f\x6b\x74\x8a\x61\x86\x1a\xa5"
15769                           "\xec\x92\xa2\xc1\x5b\x2b\x7c\x61"
15770                           "\x5a\x42\xab\xa4\x99\xbb\xd6\xb7"
15771                           "\x1d\xb9\xc7\x89\xb2\x18\x20\x89"
15772                           "\xa2\x5d\xd3\xdf\x80\x0e\xd1\x86"
15773                           "\x4d\x19\xf7\xed\x45\xfd\x17\xa9"
15774                           "\x48\x0b\x0f\xb8\x2d\x9b\x7f\xc3"
15775                           "\xed\x57\xe9\xa1\x14\x0e\xaa\x77"
15776                           "\x8d\xd2\xdd\x67\x9e\x3e\xdc\x3d"
15777                           "\xc4\xd5\x5c\x95\x0e\xbc\x53\x1d"
15778                           "\x95\x92\xf7\xc4\x63\x82\x56\xd5"
15779                           "\x65\x18\x29\x2a\x20\xaf\x98\xfd"
15780                           "\xd3\xa6\x36\x00\x35\x0a\x70\xab"
15781                           "\x5a\x40\xf4\xc2\x85\x03\x7c\xa0"
15782                           "\x1f\x25\x1f\x19\xec\xae\x03\x29"
15783                           "\xff\x77\xad\x88\xcd\x5a\x4c\xde"
15784                           "\xa2\xae\xab\xc2\x21\x48\xff\xbd"
15785                           "\x23\x9b\xd1\x05\x15\xbd\xe1\x13"
15786                           "\x1d\xec\x84\x04\xe4\x43\xdc\x76"
15787                           "\x31\x40\xd5\xf2\x2b\xf3\x3e\x0c"
15788                           "\x68\x72\xd6\xb8\x1d\x63\x0f\x6f"
15789                           "\x00\xcd\xd0\x58\xfe\x80\xf9\xcb"
15790                           "\xfb\x77\x70\x7f\x93\xce\xe2\xca"
15791                           "\x92\xb9\x15\xb8\x30\x40\x27\xc1"
15792                           "\x90\xa8\x4e\x2d\x65\xe0\x18\xcc"
15793                           "\x6a\x38\x7d\x37\x66\xac\xdb\x28"
15794                           "\x25\x32\x84\xe8\xdb\x9a\xcf\x8f"
15795                           "\x52\x28\x0d\xdc\x6d\x00\x33\xd2"
15796                           "\xcc\xaa\xa4\xf9\xae\xff\x12\x36"
15797                           "\x69\xbc\x02\x4f\xd6\x76\x8e\xdf"
15798                           "\x8b\xc1\xf8\xd6\x22\xc1\x9c\x60"
15799                           "\x9e\xf9\x7f\x60\x91\x90\xcd\x11"
15800                           "\x02\x41\xe7\xfb\x08\x4e\xd8\x94"
15801                           "\x2d\xa1\xf9\xb9\xcf\x1b\x51\x4b"
15802                           "\x61\xa3\x88\xb3\x0e\xa6\x1a\x4a"
15803                           "\x74\x5b\x38\x1e\xe7\xad\x6c\x4d"
15804                           "\xb1\x27\x54\x53\xb8\x41\x3f\x98"
15805                           "\xdf\x6e\x4a\x40\x98\x6e\xe4\xb5"
15806                           "\x9a\xf5\xdf\xae\xcd\x30\x12\x65"
15807                           "\x17\x90\x67\xa0\x0d\x7c\xa3\x5a"
15808                           "\xb9\x5a\xbd\x61\x7a\xde\xa2\x8e"
15809                           "\xc1\xc2\x6a\x97\xde\x28\xb8\xbf"
15810                           "\xe3\x01\x20\xd6\xae\xfb\xd2\x58"
15811                           "\xc5\x9e\x42\xd1\x61\xe8\x06\x5a"
15812                           "\x78\x10\x6b\xdc\xa5\xcd\x90\xfb"
15813                           "\x3a\xac\x4e\x93\x86\x6c\x8a\x7f"
15814                           "\x96\x76\x86\x0a\x79\x14\x5b\xd9"
15815                           "\x2e\x02\xe8\x19\xa9\x0b\xe0\xb9"
15816                           "\x7c\xc5\x22\xb3\x21\x06\x85\x6f"
15817                           "\xdf\x0e\x54\xd8\x8e\x46\x24\x15"
15818                           "\x5a\x2f\x1c\x14\xea\xea\xa1\x63"
15819                           "\xf8\x58\xe9\x9a\x80\x6e\x79\x1a"
15820                           "\xcd\x82\xf1\xb0\xe2\x9f\x00\x28"
15821                           "\xa4\xc3\x8e\x97\x6f\x57\x1a\x93"
15822                           "\xf4\xfd\x57\xd7\x87\xc2\x4d\xb0"
15823                           "\xe0\x1c\xa3\x04\xe5\xa5\xc4\xdd"
15824                           "\x50\xcf\x8b\xdb\xf4\x91\xe5\x7c",
15825                 .len    = 512,
15826         }, {
15827                 .key    = "\x62\x49\x77\x57\x24\x70\x93\x69"
15828                           "\x99\x59\x57\x49\x66\x96\x76\x27"
15829                           "\x02\x88\x41\x97\x16\x93\x99\x37"
15830                           "\x51\x05\x82\x09\x74\x94\x45\x92",
15831                 .klen   = 32,
15832                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
15833                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15834                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15835                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15836                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15837                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15838                           "\x20\x21\x22\x23\x24\x25\x26\x27"
15839                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15840                           "\x30\x31\x32\x33\x34\x35\x36\x37"
15841                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15842                           "\x40\x41\x42\x43\x44\x45\x46\x47"
15843                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15844                           "\x50\x51\x52\x53\x54\x55\x56\x57"
15845                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15846                           "\x60\x61\x62\x63\x64\x65\x66\x67"
15847                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15848                           "\x70\x71\x72\x73\x74\x75\x76\x77"
15849                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15850                           "\x80\x81\x82\x83\x84\x85\x86\x87"
15851                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15852                           "\x90\x91\x92\x93\x94\x95\x96\x97"
15853                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15854                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15855                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15856                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15857                           "\xf8\xf9\xfa\xfb\xfc",
15858                 .ctext  = "\xa2\x9f\x9e\x4e\x71\xdb\x28\x3c"
15859                           "\x80\x0e\xf6\xb7\x8e\x57\x1c\xba"
15860                           "\x90\xda\x3b\x6c\x22\x00\x68\x30"
15861                           "\x1d\x63\x0d\x9e\x6a\xad\x37\x55"
15862                           "\xbc\x77\x1e\xc9\xad\x83\x30\xd5"
15863                           "\x27\xb2\x66\x77\x18\x3c\xa6\x39"
15864                           "\x9c\x0a\xaa\x1f\x02\xe1\xd5\x65"
15865                           "\x9b\x8d\xc5\x97\x3d\xc5\x04\x53"
15866                           "\x78\x00\xe3\xb0\x1a\x43\x4e\xb7"
15867                           "\xc4\x9f\x38\xc5\x7b\xa4\x70\x64"
15868                           "\x78\xe6\x32\xd9\x65\x44\xc5\x64"
15869                           "\xb8\x42\x35\x99\xff\x66\x75\xb0"
15870                           "\x22\xd3\x9b\x6e\x8d\xcf\x6a\x24"
15871                           "\xfd\x92\xb7\x1b\x04\x28\x2a\x61"
15872                           "\xdc\x96\x2a\x20\x7a\x2c\xf1\xf9"
15873                           "\x12\x15\xf0\x4d\xcf\x2b\xde\x33"
15874                           "\x41\xbc\xe7\x85\x87\x22\xb7\x16"
15875                           "\x02\x1c\xd8\xa2\x0f\x1f\xa3\xe9"
15876                           "\xd8\x45\x48\xe7\xbe\x08\x4e\x4e"
15877                           "\x23\x79\x84\xdb\x40\x76\xf5\x13"
15878                           "\x78\x92\x4a\x2f\xf9\x1b\xf2\x80"
15879                           "\x25\x74\x51\x45\x9a\x77\x78\x97"
15880                           "\xd3\xe0\xc7\xc4\x35\x67\x2a\xe6"
15881                           "\xb3\x0d\x62\x9f\x8b",
15882                 .len    = 189,
15883         },
15884 };
15885
15886 static const struct aead_testvec sm4_gcm_tv_template[] = {
15887         { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.1 */
15888                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
15889                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
15890                 .klen   = 16,
15891                 .iv     = "\x00\x00\x12\x34\x56\x78\x00\x00"
15892                           "\x00\x00\xAB\xCD",
15893                 .ptext  = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
15894                           "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
15895                           "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
15896                           "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
15897                           "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
15898                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
15899                           "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
15900                           "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
15901                 .plen   = 64,
15902                 .assoc  = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
15903                           "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
15904                           "\xAB\xAD\xDA\xD2",
15905                 .alen   = 20,
15906                 .ctext  = "\x17\xF3\x99\xF0\x8C\x67\xD5\xEE"
15907                           "\x19\xD0\xDC\x99\x69\xC4\xBB\x7D"
15908                           "\x5F\xD4\x6F\xD3\x75\x64\x89\x06"
15909                           "\x91\x57\xB2\x82\xBB\x20\x07\x35"
15910                           "\xD8\x27\x10\xCA\x5C\x22\xF0\xCC"
15911                           "\xFA\x7C\xBF\x93\xD4\x96\xAC\x15"
15912                           "\xA5\x68\x34\xCB\xCF\x98\xC3\x97"
15913                           "\xB4\x02\x4A\x26\x91\x23\x3B\x8D"
15914                           "\x83\xDE\x35\x41\xE4\xC2\xB5\x81"
15915                           "\x77\xE0\x65\xA9\xBF\x7B\x62\xEC",
15916                 .clen   = 80,
15917         }, { /* Generated from AES-GCM test vectors */
15918                 .key    = zeroed_string,
15919                 .klen   = 16,
15920                 .ctext  = "\x23\x2f\x0c\xfe\x30\x8b\x49\xea"
15921                           "\x6f\xc8\x82\x29\xb5\xdc\x85\x8d",
15922                 .clen   = 16,
15923         }, {
15924                 .key    = zeroed_string,
15925                 .klen   = 16,
15926                 .ptext  = zeroed_string,
15927                 .plen   = 16,
15928                 .ctext  = "\x7d\xe2\xaa\x7f\x11\x10\x18\x82"
15929                           "\x18\x06\x3b\xe1\xbf\xeb\x6d\x89"
15930                           "\xb8\x51\xb5\xf3\x94\x93\x75\x2b"
15931                           "\xe5\x08\xf1\xbb\x44\x82\xc5\x57",
15932                 .clen   = 32,
15933         }, {
15934                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15935                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
15936                 .klen   = 16,
15937                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15938                           "\xde\xca\xf8\x88",
15939                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15940                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15941                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15942                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15943                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15944                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15945                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15946                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
15947                 .plen   = 64,
15948                 .ctext  = "\xe4\x11\x0f\xf1\xc1\x41\x97\xe6"
15949                           "\x76\x21\x6a\x33\x83\x10\x41\xeb"
15950                           "\x09\x58\x00\x11\x7b\xdc\x3f\x75"
15951                           "\x1a\x49\x6e\xfc\xf2\xbb\xdf\xdb"
15952                           "\x3a\x2e\x13\xfd\xc5\xc1\x9d\x07"
15953                           "\x1a\xe5\x48\x3f\xed\xde\x98\x5d"
15954                           "\x3f\x2d\x5b\x4e\xee\x0b\xb6\xdf"
15955                           "\xe3\x63\x36\x83\x23\xf7\x5b\x80"
15956                           "\x7d\xfe\x77\xef\x71\xb1\x5e\xc9"
15957                           "\x52\x6b\x09\xab\x84\x28\x4b\x8a",
15958                 .clen   = 80,
15959         }, {
15960                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15961                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
15962                 .klen   = 16,
15963                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15964                           "\xde\xca\xf8\x88",
15965                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15966                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15967                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15968                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15969                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15970                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15971                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15972                           "\xba\x63\x7b\x39",
15973                 .plen   = 60,
15974                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15975                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15976                           "\xab\xad\xda\xd2",
15977                 .alen   = 20,
15978                 .ctext  = "\xe4\x11\x0f\xf1\xc1\x41\x97\xe6"
15979                           "\x76\x21\x6a\x33\x83\x10\x41\xeb"
15980                           "\x09\x58\x00\x11\x7b\xdc\x3f\x75"
15981                           "\x1a\x49\x6e\xfc\xf2\xbb\xdf\xdb"
15982                           "\x3a\x2e\x13\xfd\xc5\xc1\x9d\x07"
15983                           "\x1a\xe5\x48\x3f\xed\xde\x98\x5d"
15984                           "\x3f\x2d\x5b\x4e\xee\x0b\xb6\xdf"
15985                           "\xe3\x63\x36\x83"
15986                           "\x89\xf6\xba\x35\xb8\x18\xd3\xcc"
15987                           "\x38\x6c\x05\xb3\x8a\xcb\xc9\xde",
15988                 .clen   = 76,
15989         }, {
15990                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15991                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
15992                 .klen   = 16,
15993                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15994                           "\xde\xca\xf8\x88",
15995                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15996                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15997                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15998                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15999                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
16000                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16001                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16002                           "\xba\x63\x7b\x39",
16003                 .plen   = 60,
16004                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16005                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16006                           "\xab\xad\xda\xd2",
16007                 .alen   = 20,
16008                 .ctext  = "\xc1\x11\x44\x51\xd9\x25\x87\x5b"
16009                           "\x0f\xd9\x06\xf3\x33\x44\xbb\x87"
16010                           "\x8b\xa3\x77\xd2\x0c\x60\xfa\xcc"
16011                           "\x85\x50\x6f\x96\x0c\x54\x54\xc1"
16012                           "\x58\x04\x88\x6e\xf4\x26\x35\x7e"
16013                           "\x94\x80\x48\x6c\xf2\xf4\x88\x1f"
16014                           "\x19\x63\xea\xae\xba\x81\x1a\x5d"
16015                           "\x0e\x6f\x59\x08"
16016                           "\x33\xac\x5b\xa8\x19\x60\xdb\x1d"
16017                           "\xdd\x2e\x22\x2e\xe0\x87\x51\x5d",
16018                 .clen   = 76,
16019         }, {
16020                 .key    = "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
16021                           "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
16022                 .klen   = 16,
16023                 .iv     = "\x00\xff\xff\xff\xff\x00\x00\xff"
16024                           "\xff\xff\x00\xff",
16025                 .ptext  = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
16026                           "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
16027                           "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
16028                           "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
16029                           "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
16030                           "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
16031                           "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
16032                           "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
16033                           "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
16034                           "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
16035                           "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
16036                           "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
16037                           "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
16038                           "\x35\x23\xf4\x20\x41\xd4\xad\x82"
16039                           "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
16040                           "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
16041                           "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
16042                           "\xad\x49\x3a\xae\x98\xce\xa6\x66"
16043                           "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
16044                           "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
16045                           "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
16046                           "\x57\xcc\x89\x09\x75\x9b\x78\x70"
16047                           "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
16048                           "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
16049                           "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
16050                           "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
16051                           "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
16052                           "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
16053                           "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
16054                           "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
16055                           "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
16056                           "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
16057                           "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
16058                           "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
16059                           "\x02\x66\x49\xca\x7c\x91\x05\xf2"
16060                           "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
16061                           "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
16062                           "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
16063                           "\x45\xea\x78\x73\xd9\xb7\x39\x11"
16064                           "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
16065                           "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
16066                           "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
16067                           "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
16068                           "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
16069                           "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
16070                           "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
16071                           "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
16072                           "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
16073                           "\x03\x25\x3c\x8d\x48\x58\x71\x34"
16074                           "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
16075                           "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
16076                           "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
16077                           "\x87\x79\x60\x38\x46\xb4\x25\x57"
16078                           "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
16079                           "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
16080                           "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
16081                           "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
16082                           "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
16083                           "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
16084                           "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
16085                           "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
16086                           "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
16087                           "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
16088                           "\x0b\x63\xde\x87\x42\x79\x8a\x68"
16089                           "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
16090                           "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
16091                           "\xe9\x83\x84\xcb\x28\x69\x09\x69"
16092                           "\xce\x99\x46\x00\x54\xcb\xd8\x38"
16093                           "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
16094                           "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
16095                           "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
16096                           "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
16097                           "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
16098                           "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
16099                           "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
16100                           "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
16101                           "\x78\xc6\x91\x22\x40\x91\x80\xbe"
16102                           "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
16103                           "\x67\x10\xa4\x83\x98\x79\x23\xe7"
16104                           "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
16105                           "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
16106                           "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
16107                           "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
16108                           "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
16109                           "\x3f\x73\x09\xe2\x45\x56\x31\x51"
16110                           "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
16111                           "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
16112                           "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
16113                           "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
16114                           "\xa4\x78\xdb\x74\x3d\x8b\xb5",
16115                 .plen   = 719,
16116                 .ctext  = "\xdc\xb1\x0f\x2a\xe8\x2d\x1c\x57"
16117                           "\xc4\x82\xfa\xd6\x87\xe6\x2f\x50"
16118                           "\xbd\x9e\x0a\x42\x31\xf2\xc7\xbb"
16119                           "\x21\x63\xa7\x05\x43\x33\xef\x33"
16120                           "\x5c\xd3\x47\x55\xce\x5c\xe4\xd4"
16121                           "\xe5\x07\x62\x22\xac\x01\xa8\x35"
16122                           "\x9c\x59\x34\x30\x8e\xff\x9f\xb4"
16123                           "\xd2\x4e\x74\x90\x64\xf2\x78\x5e"
16124                           "\x63\xb7\xc5\x08\x1b\x37\xa5\x9e"
16125                           "\xc0\xde\xff\xa9\x7f\x0b\xd3\x02"
16126                           "\x83\x6e\x33\xfa\x43\x11\xd3\xda"
16127                           "\x02\xcf\xcd\x4a\xc0\x78\x1f\x39"
16128                           "\x62\xcb\xa3\x95\x7e\x13\x92\x28"
16129                           "\xb2\xc4\x7a\xba\xd1\xc6\xf6\x1f"
16130                           "\xda\x0b\xf1\xd1\x99\x54\xd8\x3b"
16131                           "\x16\xf8\xe6\x97\x1e\xa7\xcf\x49"
16132                           "\x69\x84\x01\x4c\xdc\x7a\x34\xff"
16133                           "\x01\x08\xa3\x0b\x39\xac\x21\x37"
16134                           "\xd8\xb4\x04\x19\x8b\x7a\x7d\x17"
16135                           "\x44\xd1\x18\xaf\x1f\xa9\x29\xfe"
16136                           "\xfa\x77\xe0\x40\x42\x0c\x79\xb7"
16137                           "\xc3\x15\x1b\xd9\x0c\x82\xfc\x16"
16138                           "\x70\xd6\x2a\xe9\x94\x72\xc5\xa5"
16139                           "\x8a\x58\xbc\xfa\xe0\x88\x39\x4a"
16140                           "\x80\xe8\xec\xaf\x60\xac\xe7\xf8"
16141                           "\x9c\xf0\xfc\x61\x39\x07\x98\x6b"
16142                           "\x88\xe3\x98\x22\x28\x18\x4a\x2d"
16143                           "\x25\xef\x10\xe3\x83\x66\x3f\xfd"
16144                           "\xc7\x0b\xa3\xfd\x97\xa9\xf4\xbd"
16145                           "\xd8\x2a\xee\x4a\x50\xad\xcc\xb5"
16146                           "\xc7\xab\xb8\x79\x9c\xd1\xf1\x27"
16147                           "\x08\xf5\xf5\xe8\x1b\x66\xce\x41"
16148                           "\x56\x60\x94\x86\xf0\x78\xc2\xfa"
16149                           "\x5b\x63\x40\xb1\xd1\x1a\x38\x69"
16150                           "\x0b\x8c\xb2\xf5\xa2\xbe\x90\x9d"
16151                           "\x46\x23\x79\x8b\x3b\x4a\xf4\xbb"
16152                           "\x55\xf7\x58\x9d\xaf\x59\xff\x74"
16153                           "\xf3\xb9\xc4\x26\xb1\xf8\xe1\x28"
16154                           "\x8b\x5e\x8f\x6d\x64\xe7\xe8\x63"
16155                           "\xd2\x9e\xcb\xee\xae\x19\x04\x1d"
16156                           "\x05\xf0\x9d\x99\x7b\x33\x33\xae"
16157                           "\x6e\xe5\x09\xdd\x67\x51\xc4\xc8"
16158                           "\x6a\xc7\x36\x35\xc9\x93\x76\xa1"
16159                           "\xa8\x1c\xfa\x75\x92\x34\x0e\x7d"
16160                           "\x3d\x1d\xef\x00\xfd\xa5\x25\x12"
16161                           "\x7c\x91\x21\x41\xcc\x50\x47\xa9"
16162                           "\x22\x50\x24\x96\x34\x79\x3d\xe8"
16163                           "\x3f\xa0\x56\xaf\x98\x53\x55\xc3"
16164                           "\x46\x1b\x17\x54\xb8\xb0\xb7\xe0"
16165                           "\xe0\xab\x47\x6f\x06\xda\xcc\x75"
16166                           "\xa7\x96\xb7\x92\xf3\xa0\x5f\xe6"
16167                           "\xba\x97\xe3\x2f\x97\x05\xb2\x99"
16168                           "\xa0\x09\x10\x98\x9c\xd3\x2e\xd1"
16169                           "\x7e\x2a\x30\x54\x3c\xb9\x33\xe3"
16170                           "\xf2\xaf\xd3\xa5\xee\xd0\x0b\x8a"
16171                           "\x19\x54\x0f\x02\x51\x1f\x91\xdf"
16172                           "\x71\x9c\xad\x77\x35\x28\x55\x6d"
16173                           "\xcd\x7a\xd9\xa3\x41\x98\x6b\x37"
16174                           "\x19\x0f\xbe\xae\x69\xb2\x25\x01"
16175                           "\xee\x0e\x51\x4b\x53\xea\x0f\x5f"
16176                           "\x85\x74\x79\x36\x32\x0a\x2a\x40"
16177                           "\xad\x6b\x78\x41\x54\x99\xe9\xc1"
16178                           "\x2b\x6c\x9b\x42\x21\xef\xe2\x50"
16179                           "\x56\x8d\x78\xdf\x58\xbe\x0a\x0f"
16180                           "\xfc\xfc\x0d\x2e\xd0\xcb\xa6\x0a"
16181                           "\xa8\xd9\x1e\xa9\xd4\x7c\x99\x88"
16182                           "\xcf\x11\xad\x1c\xd3\x04\x63\x55"
16183                           "\xef\x85\x0b\x69\xa1\x40\xf1\x75"
16184                           "\x24\xf4\xe5\x2c\xd4\x7a\x24\x50"
16185                           "\x8f\xa2\x71\xc9\x92\x20\xcd\xcf"
16186                           "\xda\x40\xbe\xf6\xfe\x1a\xca\xc7"
16187                           "\x4a\x80\x45\x55\xcb\xdd\xb7\x01"
16188                           "\xb0\x8d\xcb\xd2\xae\xbd\xa4\xd0"
16189                           "\x5c\x10\x05\x66\x7b\xd4\xff\xd9"
16190                           "\xc4\x23\x9d\x8d\x6b\x24\xf8\x3f"
16191                           "\x73\x4d\x5c\x2b\x33\x4c\x5e\x63"
16192                           "\x74\x6d\x03\xa1\x7a\x35\x65\x17"
16193                           "\x38\x7f\x3b\xc1\x69\xcf\x61\x34"
16194                           "\x30\x21\xaf\x97\x47\x12\x3f\xa1"
16195                           "\xa7\x50\xc5\x87\xfb\x3f\x70\x32"
16196                           "\x86\x17\x5f\x25\xe4\x74\xc6\xd0"
16197                           "\x9b\x39\xe6\xe1\x5a\xec\x8f\x40"
16198                           "\xce\xcc\x37\x3b\xd8\x72\x1c\x31"
16199                           "\x75\xa4\xa6\x89\x8c\xdd\xd6\xd2"
16200                           "\x32\x3d\xe8\xc3\x54\xab\x1f\x35"
16201                           "\x52\xb4\x94\x81\xb0\x37\x3a\x03"
16202                           "\xbb\xb1\x99\x30\xa5\xf8\x21\xcd"
16203                           "\x93\x5d\xa7\x13\xed\xc7\x49\x09"
16204                           "\x70\xda\x08\x39\xaa\x15\x9e\x45"
16205                           "\x35\x2b\x0f\x5c\x8c\x8b\xc9"
16206                           "\xa8\xb8\x9f\xfd\x37\x36\x31\x7e"
16207                           "\x34\x4f\xc1\xc0\xca\x8a\x22\xfd",
16208                 .clen   = 735,
16209         }
16210 };
16211
16212 static const struct aead_testvec sm4_ccm_tv_template[] = {
16213         { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.2 */
16214                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
16215                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
16216                 .klen   = 16,
16217                 .iv     = "\x02\x00\x00\x12\x34\x56\x78\x00"
16218                           "\x00\x00\x00\xAB\xCD\x00\x00\x00",
16219                 .ptext  = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
16220                           "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
16221                           "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
16222                           "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
16223                           "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
16224                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
16225                           "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
16226                           "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
16227                 .plen   = 64,
16228                 .assoc  = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
16229                           "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
16230                           "\xAB\xAD\xDA\xD2",
16231                 .alen   = 20,
16232                 .ctext  = "\x48\xAF\x93\x50\x1F\xA6\x2A\xDB"
16233                           "\xCD\x41\x4C\xCE\x60\x34\xD8\x95"
16234                           "\xDD\xA1\xBF\x8F\x13\x2F\x04\x20"
16235                           "\x98\x66\x15\x72\xE7\x48\x30\x94"
16236                           "\xFD\x12\xE5\x18\xCE\x06\x2C\x98"
16237                           "\xAC\xEE\x28\xD9\x5D\xF4\x41\x6B"
16238                           "\xED\x31\xA2\xF0\x44\x76\xC1\x8B"
16239                           "\xB4\x0C\x84\xA7\x4B\x97\xDC\x5B"
16240                           "\x16\x84\x2D\x4F\xA1\x86\xF5\x6A"
16241                           "\xB3\x32\x56\x97\x1F\xA1\x10\xF4",
16242                 .clen   = 80,
16243         }, { /* Generated from AES-CCM test vectors */
16244                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16245                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
16246                 .klen   = 16,
16247                 .iv     = "\x01\x00\x00\x00\x03\x02\x01\x00"
16248                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
16249                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07",
16250                 .alen   = 8,
16251                 .ptext  = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16252                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16253                           "\x18\x19\x1a\x1b\x1c\x1d\x1e",
16254                 .plen   = 23,
16255                 .ctext  = "\x7b\xff\x4a\x15\xf5\x73\xce\x82"
16256                           "\x6e\xc2\x31\x1d\xe2\x53\x02\xac"
16257                           "\xa4\x48\xf9\xe4\xf5\x1f\x81\x70"
16258                           "\x18\xbc\xb6\x84\x01\xb8\xae",
16259                 .clen   = 31,
16260         }, {
16261                 .key    = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
16262                           "\x53\x14\x73\x66\x8d\x88\xf6\x80",
16263                 .klen   = 16,
16264                 .iv     = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
16265                           "\x50\x20\xda\xe2\x00\x00\x00\x00",
16266                 .assoc  = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
16267                           "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
16268                           "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
16269                           "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
16270                 .alen   = 32,
16271                 .ctext  = "\x23\x58\xce\xdc\x40\xb1\xcd\x92"
16272                           "\x47\x96\x59\xfc\x8a\x26\x4f\xcf",
16273                 .clen   = 16,
16274         }, {
16275                 .key    = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
16276                           "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
16277                 .klen   = 16,
16278                 .iv     = "\x03\xaf\x94\x87\x78\x35\x82\x81"
16279                           "\x7f\x88\x94\x68\x00\x00\x00\x00",
16280                 .alen   = 0,
16281                 .ptext  = "\x00",
16282                 .plen   = 0,
16283                 .ctext  = "\x72\x7e\xf5\xd6\x39\x7a\x2b\x43",
16284                 .clen   = 8,
16285         }, {
16286                 .key    = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
16287                           "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
16288                 .klen   = 16,
16289                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
16290                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
16291                 .assoc  = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
16292                           "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
16293                           "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
16294                           "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
16295                 .alen   = 32,
16296                 .ptext  = "\x00",
16297                 .plen   = 0,
16298                 .ctext  = "\xb0\x9d\xc6\xfb\x7d\xb5\xa1\x0e",
16299                 .clen   = 8,
16300         }, {
16301                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
16302                           "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
16303                 .klen   = 16,
16304                 .iv     = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
16305                           "\x44\x89\x40\x7b\x00\x00\x00\x00",
16306                 .assoc  = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
16307                           "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
16308                           "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
16309                           "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
16310                 .alen   = 32,
16311                 .ptext  = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
16312                           "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
16313                           "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
16314                           "\x04\x49\x3b\x19\x93\x57\x25\x5d",
16315                 .plen   = 32,
16316                 .ctext  = "\xc9\xae\xef\x1d\xf3\x2c\xd3\x38"
16317                           "\xc9\x7f\x7e\x28\xe8\xaa\xb3\x60"
16318                           "\x49\xdc\x66\xca\x7b\x3d\xe0\x3c"
16319                           "\xcb\x45\x9c\x1b\xb2\xbe\x07\x90"
16320                           "\x87\xa6\x6b\x89\x0d\x0f\x90\xaa"
16321                           "\x7d\xf6\x5a\x9a\x68\x2b\x81\x92",
16322                 .clen   = 48,
16323         }, {
16324                 .key    = "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
16325                           "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
16326                 .klen   = 16,
16327                 .iv     = "\x02\xff\xff\xff\xff\x00\x00\xff"
16328                           "\xff\xff\x00\xff\xff\x00\x00\x00",
16329                 .assoc  = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
16330                           "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
16331                           "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
16332                           "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe"
16333                           "\xc8\xf3\x5c\x52\x10\x63",
16334                 .alen   = 38,
16335                 .ptext  = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
16336                           "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
16337                           "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
16338                           "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
16339                           "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
16340                           "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
16341                           "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
16342                           "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
16343                           "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
16344                           "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
16345                           "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
16346                           "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
16347                           "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
16348                           "\x35\x23\xf4\x20\x41\xd4\xad\x82"
16349                           "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
16350                           "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
16351                           "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
16352                           "\xad\x49\x3a\xae\x98\xce\xa6\x66"
16353                           "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
16354                           "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
16355                           "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
16356                           "\x57\xcc\x89\x09\x75\x9b\x78\x70"
16357                           "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
16358                           "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
16359                           "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
16360                           "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
16361                           "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
16362                           "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
16363                           "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
16364                           "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
16365                           "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
16366                           "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
16367                           "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
16368                           "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
16369                           "\x02\x66\x49\xca\x7c\x91\x05\xf2"
16370                           "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
16371                           "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
16372                           "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
16373                           "\x45\xea\x78\x73\xd9\xb7\x39\x11"
16374                           "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
16375                           "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
16376                           "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
16377                           "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
16378                           "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
16379                           "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
16380                           "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
16381                           "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
16382                           "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
16383                           "\x03\x25\x3c\x8d\x48\x58\x71\x34"
16384                           "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
16385                           "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
16386                           "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
16387                           "\x87\x79\x60\x38\x46\xb4\x25\x57"
16388                           "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
16389                           "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
16390                           "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
16391                           "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
16392                           "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
16393                           "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
16394                           "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
16395                           "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
16396                           "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
16397                           "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
16398                           "\x0b\x63\xde\x87\x42\x79\x8a\x68"
16399                           "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
16400                           "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
16401                           "\xe9\x83\x84\xcb\x28\x69\x09\x69"
16402                           "\xce\x99\x46\x00\x54\xcb\xd8\x38"
16403                           "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
16404                           "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
16405                           "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
16406                           "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
16407                           "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
16408                           "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
16409                           "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
16410                           "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
16411                           "\x78\xc6\x91\x22\x40\x91\x80\xbe"
16412                           "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
16413                           "\x67\x10\xa4\x83\x98\x79\x23\xe7"
16414                           "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
16415                           "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
16416                           "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
16417                           "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
16418                           "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
16419                           "\x3f\x73\x09\xe2\x45\x56\x31\x51"
16420                           "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
16421                           "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
16422                           "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
16423                           "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
16424                           "\xa4\x78\xdb\x74\x3d\x8b\xb5",
16425                 .plen   = 719,
16426                 .ctext  = "\xc5\x50\x85\x02\x72\xa8\xb3\x62"
16427                           "\xf9\xcd\x77\x7b\x43\xa5\x04\x70"
16428                           "\x68\x40\x57\x21\x1c\xfe\xef\x05"
16429                           "\x4d\xb8\x44\xba\x59\xea\x62\x32"
16430                           "\xcb\x6b\x6a\x39\x9b\xf3\xe5\xa4"
16431                           "\x36\x38\xde\x7d\xcf\xb6\xcd\xe3"
16432                           "\x89\xbf\x37\xc9\x96\x3c\x70\x10"
16433                           "\x92\x47\xcc\xac\x6f\xf8\x55\x9a"
16434                           "\x26\x43\x34\xb4\x92\x7d\x68\xfc"
16435                           "\x60\x37\x74\x2a\x55\xba\xc7\xd7"
16436                           "\x98\x69\xb7\xcf\x42\xfd\xb2\x10"
16437                           "\xa0\x59\xe1\x2c\x73\x66\x12\x97"
16438                           "\x85\x8b\x28\xcc\x29\x02\x15\x89"
16439                           "\x23\xd3\x32\x92\x87\x57\x09\x13"
16440                           "\x04\x7e\x8b\x6c\x3a\xc1\x4e\x6c"
16441                           "\xe1\x9f\xc8\xcc\x47\x9c\xd8\x10"
16442                           "\xf4\xb7\x5c\x30\x7a\x8b\x0f\x01"
16443                           "\x52\x38\x02\x92\x99\xac\x03\x90"
16444                           "\x18\x32\x2d\x21\x6a\x0a\x2a\xe7"
16445                           "\xc2\xcc\x15\x84\x4e\x2b\x0b\x3a"
16446                           "\x4c\xdc\xb0\x6b\x10\xd1\x27\x10"
16447                           "\xf0\x4a\x5c\x43\xa0\x34\x34\x59"
16448                           "\x47\x43\x48\xcb\x69\xa7\xff\x52"
16449                           "\xb8\xca\x23\x09\x07\xd7\xc5\xe4"
16450                           "\x2a\x4f\x99\xd5\x83\x36\x2a\x2d"
16451                           "\x59\xd0\xca\xb0\xfa\x40\x8c\xab"
16452                           "\xdf\x69\x08\xd9\x79\x1d\xde\xa8"
16453                           "\x0b\x34\x74\x4d\xf5\xa0\x4c\x81"
16454                           "\x7f\x93\x06\x40\x24\xfe\x7d\xcd"
16455                           "\xe4\xfe\xf8\xf8\x30\xce\xd0\x5d"
16456                           "\x70\xfd\x0d\x5a\x78\x85\x74\x2d"
16457                           "\xe4\xb5\x40\x18\x99\x11\xe4\x6a"
16458                           "\xdf\xfa\x4f\x25\x2c\xde\x15\xb7"
16459                           "\x12\xd8\xc6\x90\x0d\x0f\xc9\xfb"
16460                           "\x21\xf1\xed\xfe\x98\xe1\x03\xe2"
16461                           "\x5c\xef\xb6\xc7\x87\x77\x0e\xcd"
16462                           "\xff\x78\x94\xc9\xbe\xd3\x47\xf7"
16463                           "\x8d\x37\x48\x01\x42\xe2\x17\x96"
16464                           "\xfc\xc0\xcb\x7b\x7b\x57\xaf\x3b"
16465                           "\xc9\xd0\x94\xce\x5e\x1b\xa9\x47"
16466                           "\x02\x4d\x74\xcc\x45\x1d\xd3\x2d"
16467                           "\x5f\x4f\x7f\xf2\x4b\xf9\x59\xee"
16468                           "\x9e\x9e\xb9\x95\x29\x19\xd1\x5f"
16469                           "\x72\xab\x8d\xf1\x28\xd1\x1c\xae"
16470                           "\xc2\xba\xf7\x22\x84\x2c\x83\x51"
16471                           "\x03\xad\xa3\xef\x81\xa7\xdc\xf1"
16472                           "\x44\x51\x50\x96\x70\xd1\xe5\x47"
16473                           "\x57\xf9\x30\x90\xe4\xbf\xfc\x75"
16474                           "\x14\xaa\x4d\xb7\xb1\xe7\x79\x33"
16475                           "\x43\xc2\x5c\xc1\xbc\x09\x92\x0f"
16476                           "\xa7\xaf\x68\x51\x51\xec\x0b\xc3"
16477                           "\x3d\x2b\x94\x30\x45\x29\x1b\x9e"
16478                           "\x70\x56\xf8\xd6\x67\x2d\x39\x3b"
16479                           "\x3c\xd2\xd0\xd3\xdc\x7d\x84\xe9"
16480                           "\x06\x31\x98\xa6\x5c\xbf\x10\x58"
16481                           "\xce\xbb\xa7\xe1\x65\x7e\x51\x87"
16482                           "\x70\x46\xb4\x7f\xf9\xec\x92\x1c"
16483                           "\x9b\x24\x49\xc1\x04\xbe\x1c\x5f"
16484                           "\xcc\xb3\x33\x8c\xad\xe7\xdc\x32"
16485                           "\x54\xa2\x0d\x83\x0f\x3c\x12\x5d"
16486                           "\x71\xe3\x9c\xae\x71\xa3\x2a\x10"
16487                           "\xc5\x91\xb4\x73\x96\x60\xdb\x5d"
16488                           "\x1f\xd5\x9a\xd2\x69\xc3\xd7\x4b"
16489                           "\xa2\x66\x81\x96\x4a\xaa\x02\xd6"
16490                           "\xd5\x44\x9b\x42\x3a\x15\x5f\xe7"
16491                           "\x4d\x7c\xf6\x71\x4a\xea\xe8\x43"
16492                           "\xd7\x68\xe4\xbc\x05\x87\x49\x05"
16493                           "\x3b\x47\xb2\x6d\x5f\xd1\x11\xa6"
16494                           "\x58\xd4\xa2\x45\xec\xb5\x54\x55"
16495                           "\xd3\xd6\xd2\x6a\x8b\x21\x9e\x2c"
16496                           "\xf1\x27\x4b\x5b\xe3\xff\xe0\xfd"
16497                           "\x4b\xf1\xe7\xe2\x84\xf2\x17\x37"
16498                           "\x11\x68\xc4\x92\x4b\x6b\xef\x8e"
16499                           "\x75\xf5\xc2\x7d\x5c\xe9\x7c\xfc"
16500                           "\x2b\x00\x33\x0e\x7d\x69\xd8\xd4"
16501                           "\x9b\xa8\x38\x54\x7e\x6d\x23\x51"
16502                           "\x2c\xd6\xc4\x58\x23\x1c\x22\x2a"
16503                           "\x59\xc5\x9b\xec\x9d\xbf\x03\x0f"
16504                           "\xb3\xdd\xba\x02\x22\xa0\x34\x37"
16505                           "\x19\x56\xc2\x5b\x32\x1d\x1e\x66"
16506                           "\x68\xf4\x47\x05\x04\x18\xa7\x28"
16507                           "\x80\xf2\xc7\x99\xed\x1e\x72\x48"
16508                           "\x8f\x97\x5d\xb3\x74\x42\xfd\x0c"
16509                           "\x0f\x5f\x29\x0c\xf1\x35\x22\x90"
16510                           "\xd6\x7c\xb8\xa3\x2a\x89\x38\x71"
16511                           "\xe9\x7a\x55\x3c\x3b\xf2\x6e\x1a"
16512                           "\x22\x8f\x07\x81\xc1\xe1\xf1\x76"
16513                           "\x2a\x75\xab\x86\xc4\xcc\x52\x59"
16514                           "\x83\x19\x5e\xb3\x53\xe2\x81\xdf"
16515                           "\xe6\x15\xb3\xba\x0c\x0e\xba"
16516                           "\xa9\x2c\xed\x51\xd5\x06\xc8\xc6"
16517                           "\x4b\x9f\x5d\x1b\x61\x31\xad\xf4",
16518                 .clen   = 735,
16519         }
16520 };
16521
16522 static const struct hash_testvec sm4_cbcmac_tv_template[] = {
16523         {
16524                 .key            = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
16525                                   "\x77\x66\x55\x44\x33\x22\x11\x00",
16526                 .plaintext      = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16527                                   "\xfe\xdc\xba\x98\x76\x54\x32\x10",
16528                 .digest         = "\x97\xb4\x75\x8f\x84\x92\x3d\x3f"
16529                                   "\x86\x81\x0e\x0e\xea\x14\x6d\x73",
16530                 .psize          = 16,
16531                 .ksize          = 16,
16532         }, {
16533                 .key            = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16534                                   "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
16535                 .plaintext      = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
16536                                   "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
16537                                   "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
16538                                   "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
16539                                   "\xee",
16540                 .digest         = "\xc7\xdb\x17\x71\xa1\x5c\x0d\x22"
16541                                   "\xa3\x39\x3a\x31\x88\x91\x49\xa1",
16542                 .psize          = 33,
16543                 .ksize          = 16,
16544         }, {
16545                 .key            = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16546                                   "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
16547                 .plaintext      = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
16548                                   "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
16549                                   "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
16550                                   "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
16551                                   "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
16552                                   "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
16553                                   "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
16554                                   "\xfd\xdb\xb1\x9b\x76\x5c\x37",
16555                 .digest         = "\x9b\x07\x88\x7f\xd5\x95\x23\x12"
16556                                   "\x64\x0a\x66\x7f\x4e\x25\xca\xd0",
16557                 .psize          = 63,
16558                 .ksize          = 16,
16559         }
16560 };
16561
16562 static const struct hash_testvec sm4_cmac128_tv_template[] = {
16563         {
16564                 .key            = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
16565                                   "\x77\x66\x55\x44\x33\x22\x11\x00",
16566                 .plaintext      = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16567                                   "\xfe\xdc\xba\x98\x76\x54\x32\x10",
16568                 .digest         = "\x00\xd4\x63\xb4\x9a\xf3\x52\xe2"
16569                                   "\x74\xa9\x00\x55\x13\x54\x2a\xd1",
16570                 .psize          = 16,
16571                 .ksize          = 16,
16572         }, {
16573                 .key            = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16574                                   "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
16575                 .plaintext      = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
16576                                   "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
16577                                   "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
16578                                   "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
16579                                   "\xee",
16580                 .digest         = "\x8a\x8a\xe9\xc0\xc8\x97\x0e\x85"
16581                                   "\x21\x57\x02\x10\x1a\xbf\x9c\xc6",
16582                 .psize          = 33,
16583                 .ksize          = 16,
16584         }, {
16585                 .key            = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16586                                   "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
16587                 .plaintext      = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
16588                                   "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
16589                                   "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
16590                                   "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
16591                                   "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
16592                                   "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
16593                                   "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
16594                                   "\xfd\xdb\xb1\x9b\x76\x5c\x37",
16595                 .digest         = "\x5f\x14\xc9\xa9\x20\xb2\xb4\xf0"
16596                                   "\x76\xe0\xd8\xd6\xdc\x4f\xe1\xbc",
16597                 .psize          = 63,
16598                 .ksize          = 16,
16599         }
16600 };
16601
16602 static const struct hash_testvec sm4_xcbc128_tv_template[] = {
16603         { /* Generated from AES-XCBC128 test vectors */
16604                 .key            = "\x00\x01\x02\x03\x04\x05\x06\x07"
16605                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16606                 .plaintext      = zeroed_string,
16607                 .digest         = "\xa9\x9a\x5c\x44\xe2\x34\xee\x2c"
16608                                   "\x9b\xe4\x9d\xca\x64\xb0\xa5\xc4",
16609                 .psize          = 0,
16610                 .ksize          = 16,
16611         }, {
16612                 .key            = "\x00\x01\x02\x03\x04\x05\x06\x07"
16613                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16614                 .plaintext      = "\x00\x01\x02",
16615                 .digest         = "\x17\x27\x62\xf3\x8b\x88\x1d\xc0"
16616                                   "\x97\x35\x9c\x3e\x9f\x27\xb7\x83",
16617                 .psize          = 3,
16618                 .ksize          = 16,
16619         } , {
16620                 .key            = "\x00\x01\x02\x03\x04\x05\x06\x07"
16621                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16622                 .plaintext      = "\x00\x01\x02\x03\x04\x05\x06\x07"
16623                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16624                 .digest         = "\xda\x45\xd1\xac\xec\x4d\xab\x46"
16625                                   "\xdd\x59\xe0\x44\xff\x59\xd5\xfc",
16626                 .psize          = 16,
16627                 .ksize          = 16,
16628         }, {
16629                 .key            = "\x00\x01\x02\x03\x04\x05\x06\x07"
16630                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16631                 .plaintext      = "\x00\x01\x02\x03\x04\x05\x06\x07"
16632                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16633                                   "\x10\x11\x12\x13",
16634                 .digest         = "\xbe\x24\x5d\x81\x8c\x8a\x10\xa4"
16635                                   "\x8e\xc2\x16\xfa\xa4\x83\xc9\x2a",
16636                 .psize          = 20,
16637                 .ksize          = 16,
16638         }, {
16639                 .key            = "\x00\x01\x02\x03\x04\x05\x06\x07"
16640                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16641                 .plaintext      = "\x00\x01\x02\x03\x04\x05\x06\x07"
16642                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16643                                   "\x10\x11\x12\x13\x14\x15\x16\x17"
16644                                   "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16645                 .digest         = "\x91\x82\x31\x56\xd5\x77\xa4\xc5"
16646                                   "\x88\x2d\xce\x3a\x87\x5e\xbd\xba",
16647                 .psize          = 32,
16648                 .ksize          = 16,
16649         }, {
16650                 .key            = "\x00\x01\x02\x03\x04\x05\x06\x07"
16651                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16652                 .plaintext      = "\x00\x01\x02\x03\x04\x05\x06\x07"
16653                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16654                                   "\x10\x11\x12\x13\x14\x15\x16\x17"
16655                                   "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16656                                   "\x20\x21",
16657                 .digest         = "\x2a\xae\xa5\x24\x0c\x12\x9f\x5f"
16658                                   "\x55\xfb\xae\x35\x13\x0d\x22\x2d",
16659                 .psize          = 34,
16660                 .ksize          = 16,
16661         }
16662 };
16663
16664 /* Cast6 test vectors from RFC 2612 */
16665 static const struct cipher_testvec cast6_tv_template[] = {
16666         {
16667                 .key    = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
16668                           "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
16669                 .klen   = 16,
16670                 .ptext  = zeroed_string,
16671                 .ctext  = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
16672                           "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
16673                 .len    = 16,
16674         }, {
16675                 .key    = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
16676                           "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
16677                           "\xba\xc7\x7a\x77\x17\x94\x28\x63",
16678                 .klen   = 24,
16679                 .ptext  = zeroed_string,
16680                 .ctext  = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
16681                           "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
16682                 .len    = 16,
16683         }, {
16684                 .key    = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
16685                           "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
16686                           "\x8d\x7c\x47\xce\x26\x49\x08\x46"
16687                           "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
16688                 .klen   = 32,
16689                 .ptext  = zeroed_string,
16690                 .ctext  = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
16691                           "\xc9\x87\x01\x36\x55\x33\x17\xfa",
16692                 .len    = 16,
16693         }, { /* Generated from TF test vectors */
16694                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
16695                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
16696                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
16697                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
16698                 .klen   = 32,
16699                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
16700                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
16701                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
16702                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
16703                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
16704                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
16705                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
16706                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
16707                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
16708                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
16709                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
16710                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
16711                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
16712                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
16713                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
16714                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
16715                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
16716                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
16717                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
16718                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
16719                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
16720                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
16721                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
16722                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
16723                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
16724                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
16725                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
16726                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
16727                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
16728                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
16729                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
16730                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
16731                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
16732                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
16733                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
16734                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
16735                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
16736                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
16737                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
16738                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
16739                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
16740                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
16741                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
16742                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
16743                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
16744                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
16745                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
16746                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
16747                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
16748                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
16749                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
16750                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
16751                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
16752                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
16753                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
16754                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
16755                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
16756                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
16757                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
16758                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
16759                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
16760                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
16761                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
16762                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
16763                 .ctext  = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
16764                           "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
16765                           "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
16766                           "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
16767                           "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
16768                           "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
16769                           "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
16770                           "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
16771                           "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
16772                           "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
16773                           "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
16774                           "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
16775                           "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
16776                           "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
16777                           "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
16778                           "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
16779                           "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
16780                           "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
16781                           "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
16782                           "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
16783                           "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
16784                           "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
16785                           "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
16786                           "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
16787                           "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
16788                           "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
16789                           "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
16790                           "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
16791                           "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
16792                           "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
16793                           "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
16794                           "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
16795                           "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
16796                           "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
16797                           "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
16798                           "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
16799                           "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
16800                           "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
16801                           "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
16802                           "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
16803                           "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
16804                           "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
16805                           "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
16806                           "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
16807                           "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
16808                           "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
16809                           "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
16810                           "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
16811                           "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
16812                           "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
16813                           "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
16814                           "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
16815                           "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
16816                           "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
16817                           "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
16818                           "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
16819                           "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
16820                           "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
16821                           "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
16822                           "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
16823                           "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
16824                           "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
16825                 .len    = 496,
16826         },
16827 };
16828
16829 static const struct cipher_testvec cast6_cbc_tv_template[] = {
16830         { /* Generated from TF test vectors */
16831                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
16832                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
16833                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
16834                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
16835                 .klen   = 32,
16836                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
16837                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
16838                 .iv_out = "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
16839                           "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
16840                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
16841                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
16842                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
16843                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
16844                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
16845                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
16846                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
16847                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
16848                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
16849                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
16850                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
16851                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
16852                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
16853                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
16854                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
16855                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
16856                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
16857                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
16858                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
16859                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
16860                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
16861                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
16862                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
16863                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
16864                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
16865                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
16866                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
16867                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
16868                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
16869                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
16870                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
16871                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
16872                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
16873                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
16874                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
16875                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
16876                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
16877                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
16878                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
16879                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
16880                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
16881                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
16882                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
16883                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
16884                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
16885                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
16886                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
16887                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
16888                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
16889                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
16890                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
16891                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
16892                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
16893                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
16894                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
16895                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
16896                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
16897                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
16898                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
16899                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
16900                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
16901                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
16902                 .ctext  = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
16903                           "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
16904                           "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
16905                           "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
16906                           "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
16907                           "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
16908                           "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
16909                           "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
16910                           "\x57\x95\xE1\x21\x26\x10\x9A\x21"
16911                           "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
16912                           "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
16913                           "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
16914                           "\x23\x16\x47\x72\x81\x13\x3A\x72"
16915                           "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
16916                           "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
16917                           "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
16918                           "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
16919                           "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
16920                           "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
16921                           "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
16922                           "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
16923                           "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
16924                           "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
16925                           "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
16926                           "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
16927                           "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
16928                           "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
16929                           "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
16930                           "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
16931                           "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
16932                           "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
16933                           "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
16934                           "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
16935                           "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
16936                           "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
16937                           "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
16938                           "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
16939                           "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
16940                           "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
16941                           "\x73\x3F\x12\x91\x47\x54\xBA\x39"
16942                           "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
16943                           "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
16944                           "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
16945                           "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
16946                           "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
16947                           "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
16948                           "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
16949                           "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
16950                           "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
16951                           "\x80\x21\x83\x58\x3C\x76\xFD\x28"
16952                           "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
16953                           "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
16954                           "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
16955                           "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
16956                           "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
16957                           "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
16958                           "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
16959                           "\x56\x4D\x82\x62\x37\xA3\x48\x01"
16960                           "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
16961                           "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
16962                           "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
16963                           "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
16964                 .len    = 496,
16965         },
16966 };
16967
16968 static const struct cipher_testvec cast6_ctr_tv_template[] = {
16969         { /* Generated from TF test vectors */
16970                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
16971                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
16972                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
16973                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
16974                 .klen   = 32,
16975                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
16976                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
16977                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
16978                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x66",
16979                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
16980                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
16981                           "\x3A",
16982                 .ctext  = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
16983                           "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
16984                           "\x57",
16985                 .len    = 17,
16986         }, { /* Generated from TF test vectors */
16987                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
16988                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
16989                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
16990                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
16991                 .klen   = 32,
16992                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
16993                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
16994                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
16995                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
16996                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
16997                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
16998                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
16999                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
17000                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
17001                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
17002                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
17003                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
17004                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
17005                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
17006                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
17007                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
17008                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
17009                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
17010                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
17011                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
17012                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
17013                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
17014                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
17015                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
17016                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
17017                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
17018                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
17019                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
17020                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
17021                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
17022                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
17023                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
17024                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
17025                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
17026                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
17027                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
17028                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
17029                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
17030                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
17031                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
17032                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
17033                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
17034                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
17035                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
17036                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
17037                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
17038                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
17039                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
17040                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
17041                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
17042                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
17043                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
17044                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
17045                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
17046                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
17047                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
17048                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
17049                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
17050                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
17051                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
17052                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
17053                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
17054                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
17055                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
17056                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
17057                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
17058                 .ctext  = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
17059                           "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
17060                           "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
17061                           "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
17062                           "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
17063                           "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
17064                           "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
17065                           "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
17066                           "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
17067                           "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
17068                           "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
17069                           "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
17070                           "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
17071                           "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
17072                           "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
17073                           "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
17074                           "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
17075                           "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
17076                           "\x49\x61\x22\x52\x64\x8C\x46\x41"
17077                           "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
17078                           "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
17079                           "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
17080                           "\x00\x14\x15\x59\xC1\x30\x64\xAF"
17081                           "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
17082                           "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
17083                           "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
17084                           "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
17085                           "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
17086                           "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
17087                           "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
17088                           "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
17089                           "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
17090                           "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
17091                           "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
17092                           "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
17093                           "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
17094                           "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
17095                           "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
17096                           "\x60\x40\x38\x90\x20\x46\xC7\xB3"
17097                           "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
17098                           "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
17099                           "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
17100                           "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
17101                           "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
17102                           "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
17103                           "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
17104                           "\x73\xFC\x91\xAB\x79\x41\x23\x14"
17105                           "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
17106                           "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
17107                           "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
17108                           "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
17109                           "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
17110                           "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
17111                           "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
17112                           "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
17113                           "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
17114                           "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
17115                           "\x19\x35\x88\x22\x45\x59\x0E\x8F"
17116                           "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
17117                           "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
17118                           "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
17119                           "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
17120                 .len    = 496,
17121         },
17122 };
17123
17124 static const struct cipher_testvec cast6_lrw_tv_template[] = {
17125         { /* Generated from TF test vectors */
17126                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17127                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17128                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17129                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17130                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17131                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17132                 .klen   = 48,
17133                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17134                           "\x00\x00\x00\x00\x00\x00\x00\x01",
17135                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
17136                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
17137                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
17138                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
17139                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
17140                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
17141                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
17142                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
17143                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
17144                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
17145                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
17146                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
17147                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
17148                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
17149                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
17150                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
17151                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
17152                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
17153                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
17154                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
17155                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
17156                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
17157                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
17158                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
17159                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
17160                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
17161                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
17162                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
17163                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
17164                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
17165                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
17166                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
17167                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
17168                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
17169                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
17170                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
17171                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
17172                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
17173                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
17174                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
17175                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
17176                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
17177                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
17178                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
17179                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
17180                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
17181                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
17182                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
17183                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
17184                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
17185                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
17186                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
17187                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
17188                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
17189                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
17190                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
17191                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
17192                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
17193                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
17194                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
17195                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
17196                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
17197                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
17198                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
17199                 .ctext  = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
17200                           "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
17201                           "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
17202                           "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
17203                           "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
17204                           "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
17205                           "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
17206                           "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
17207                           "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
17208                           "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
17209                           "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
17210                           "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
17211                           "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
17212                           "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
17213                           "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
17214                           "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
17215                           "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
17216                           "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
17217                           "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
17218                           "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
17219                           "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
17220                           "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
17221                           "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
17222                           "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
17223                           "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
17224                           "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
17225                           "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
17226                           "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
17227                           "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
17228                           "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
17229                           "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
17230                           "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
17231                           "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
17232                           "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
17233                           "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
17234                           "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
17235                           "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
17236                           "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
17237                           "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
17238                           "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
17239                           "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
17240                           "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
17241                           "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
17242                           "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
17243                           "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
17244                           "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
17245                           "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
17246                           "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
17247                           "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
17248                           "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
17249                           "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
17250                           "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
17251                           "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
17252                           "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
17253                           "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
17254                           "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
17255                           "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
17256                           "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
17257                           "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
17258                           "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
17259                           "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
17260                           "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
17261                           "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
17262                           "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
17263                 .len    = 512,
17264         },
17265 };
17266
17267 static const struct cipher_testvec cast6_xts_tv_template[] = {
17268         { /* Generated from TF test vectors */
17269                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
17270                           "\x23\x53\x60\x28\x74\x71\x35\x26"
17271                           "\x62\x49\x77\x57\x24\x70\x93\x69"
17272                           "\x99\x59\x57\x49\x66\x96\x76\x27"
17273                           "\x31\x41\x59\x26\x53\x58\x97\x93"
17274                           "\x23\x84\x62\x64\x33\x83\x27\x95"
17275                           "\x02\x88\x41\x97\x16\x93\x99\x37"
17276                           "\x51\x05\x82\x09\x74\x94\x45\x92",
17277                 .klen   = 64,
17278                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
17279                           "\x00\x00\x00\x00\x00\x00\x00\x00",
17280                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17281                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17282                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17283                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17284                           "\x20\x21\x22\x23\x24\x25\x26\x27"
17285                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17286                           "\x30\x31\x32\x33\x34\x35\x36\x37"
17287                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
17288                           "\x40\x41\x42\x43\x44\x45\x46\x47"
17289                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
17290                           "\x50\x51\x52\x53\x54\x55\x56\x57"
17291                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
17292                           "\x60\x61\x62\x63\x64\x65\x66\x67"
17293                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
17294                           "\x70\x71\x72\x73\x74\x75\x76\x77"
17295                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
17296                           "\x80\x81\x82\x83\x84\x85\x86\x87"
17297                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
17298                           "\x90\x91\x92\x93\x94\x95\x96\x97"
17299                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
17300                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
17301                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
17302                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
17303                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
17304                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17305                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
17306                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
17307                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
17308                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
17309                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
17310                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
17311                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
17312                           "\x00\x01\x02\x03\x04\x05\x06\x07"
17313                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17314                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17315                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17316                           "\x20\x21\x22\x23\x24\x25\x26\x27"
17317                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17318                           "\x30\x31\x32\x33\x34\x35\x36\x37"
17319                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
17320                           "\x40\x41\x42\x43\x44\x45\x46\x47"
17321                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
17322                           "\x50\x51\x52\x53\x54\x55\x56\x57"
17323                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
17324                           "\x60\x61\x62\x63\x64\x65\x66\x67"
17325                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
17326                           "\x70\x71\x72\x73\x74\x75\x76\x77"
17327                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
17328                           "\x80\x81\x82\x83\x84\x85\x86\x87"
17329                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
17330                           "\x90\x91\x92\x93\x94\x95\x96\x97"
17331                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
17332                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
17333                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
17334                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
17335                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
17336                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17337                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
17338                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
17339                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
17340                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
17341                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
17342                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
17343                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
17344                 .ctext  = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
17345                           "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
17346                           "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
17347                           "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
17348                           "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
17349                           "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
17350                           "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
17351                           "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
17352                           "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
17353                           "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
17354                           "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
17355                           "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
17356                           "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
17357                           "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
17358                           "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
17359                           "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
17360                           "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
17361                           "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
17362                           "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
17363                           "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
17364                           "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
17365                           "\x71\x38\x17\x91\x44\xE8\xFC\x65"
17366                           "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
17367                           "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
17368                           "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
17369                           "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
17370                           "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
17371                           "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
17372                           "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
17373                           "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
17374                           "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
17375                           "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
17376                           "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
17377                           "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
17378                           "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
17379                           "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
17380                           "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
17381                           "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
17382                           "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
17383                           "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
17384                           "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
17385                           "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
17386                           "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
17387                           "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
17388                           "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
17389                           "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
17390                           "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
17391                           "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
17392                           "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
17393                           "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
17394                           "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
17395                           "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
17396                           "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
17397                           "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
17398                           "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
17399                           "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
17400                           "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
17401                           "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
17402                           "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
17403                           "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
17404                           "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
17405                           "\x45\x72\x80\x17\x81\xBD\x9D\x62"
17406                           "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
17407                           "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
17408                 .len    = 512,
17409         },
17410 };
17411
17412 /*
17413  * AES test vectors.
17414  */
17415 static const struct cipher_testvec aes_tv_template[] = {
17416         { /* From FIPS-197 */
17417                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
17418                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17419                 .klen   = 16,
17420                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
17421                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
17422                 .ctext  = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
17423                           "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
17424                 .len    = 16,
17425         }, {
17426                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
17427                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17428                           "\x10\x11\x12\x13\x14\x15\x16\x17",
17429                 .klen   = 24,
17430                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
17431                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
17432                 .ctext  = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
17433                           "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
17434                 .len    = 16,
17435         }, {
17436                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
17437                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17438                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17439                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17440                 .klen   = 32,
17441                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
17442                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
17443                 .ctext  = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
17444                           "\xea\xfc\x49\x90\x4b\x49\x60\x89",
17445                 .len    = 16,
17446         }, { /* Generated with Crypto++ */
17447                 .key    = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
17448                           "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
17449                           "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
17450                           "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
17451                 .klen   = 32,
17452                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
17453                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
17454                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
17455                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
17456                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
17457                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
17458                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
17459                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
17460                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
17461                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
17462                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
17463                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
17464                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
17465                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
17466                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
17467                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
17468                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
17469                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
17470                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
17471                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
17472                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
17473                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
17474                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
17475                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
17476                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
17477                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
17478                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
17479                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
17480                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
17481                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
17482                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
17483                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
17484                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
17485                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
17486                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
17487                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
17488                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
17489                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
17490                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
17491                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
17492                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
17493                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
17494                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
17495                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
17496                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
17497                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
17498                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
17499                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
17500                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
17501                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
17502                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
17503                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
17504                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
17505                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
17506                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
17507                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
17508                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
17509                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
17510                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
17511                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
17512                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
17513                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
17514                 .ctext  = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
17515                           "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
17516                           "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
17517                           "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
17518                           "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
17519                           "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
17520                           "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
17521                           "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
17522                           "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
17523                           "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
17524                           "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
17525                           "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
17526                           "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
17527                           "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
17528                           "\x41\x72\x51\x97\x1D\x07\x49\xA0"
17529                           "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
17530                           "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
17531                           "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
17532                           "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
17533                           "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
17534                           "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
17535                           "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
17536                           "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
17537                           "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
17538                           "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
17539                           "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
17540                           "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
17541                           "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
17542                           "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
17543                           "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
17544                           "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
17545                           "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
17546                           "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
17547                           "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
17548                           "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
17549                           "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
17550                           "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
17551                           "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
17552                           "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
17553                           "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
17554                           "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
17555                           "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
17556                           "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
17557                           "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
17558                           "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
17559                           "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
17560                           "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
17561                           "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
17562                           "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
17563                           "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
17564                           "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
17565                           "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
17566                           "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
17567                           "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
17568                           "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
17569                           "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
17570                           "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
17571                           "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
17572                           "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
17573                           "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
17574                           "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
17575                           "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
17576                 .len    = 496,
17577         },
17578 };
17579
17580 static const struct cipher_testvec aes_cbc_tv_template[] = {
17581         { /* From RFC 3602 */
17582                 .key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
17583                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
17584                 .klen   = 16,
17585                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
17586                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
17587                 .iv_out = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
17588                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
17589                 .ptext  = "Single block msg",
17590                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
17591                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
17592                 .len    = 16,
17593         }, {
17594                 .key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
17595                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
17596                 .klen   = 16,
17597                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
17598                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
17599                 .iv_out = "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
17600                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
17601                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17602                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17603                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17604                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17605                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
17606                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
17607                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
17608                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
17609                 .len    = 32,
17610         }, { /* From NIST SP800-38A */
17611                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
17612                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
17613                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
17614                 .klen   = 24,
17615                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17616                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17617                 .iv_out = "\x08\xb0\xe2\x79\x88\x59\x88\x81"
17618                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
17619                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17620                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17621                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17622                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17623                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17624                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17625                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17626                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17627                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
17628                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
17629                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
17630                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
17631                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
17632                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
17633                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
17634                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
17635                 .len    = 64,
17636         }, {
17637                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
17638                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
17639                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
17640                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
17641                 .klen   = 32,
17642                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17643                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17644                 .iv_out = "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
17645                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
17646                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17647                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17648                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17649                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17650                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17651                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17652                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17653                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17654                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
17655                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
17656                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
17657                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
17658                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
17659                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
17660                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
17661                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
17662                 .len    = 64,
17663         }, { /* Generated with Crypto++ */
17664                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
17665                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
17666                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
17667                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
17668                 .klen   = 32,
17669                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
17670                           "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
17671                 .iv_out = "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
17672                           "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
17673                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
17674                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
17675                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
17676                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
17677                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
17678                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
17679                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
17680                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
17681                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
17682                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
17683                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
17684                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
17685                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
17686                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
17687                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
17688                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
17689                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
17690                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
17691                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
17692                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
17693                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
17694                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
17695                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
17696                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
17697                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
17698                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
17699                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
17700                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
17701                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
17702                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
17703                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
17704                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
17705                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
17706                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
17707                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
17708                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
17709                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
17710                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
17711                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
17712                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
17713                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
17714                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
17715                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
17716                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
17717                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
17718                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
17719                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
17720                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
17721                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
17722                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
17723                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
17724                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
17725                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
17726                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
17727                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
17728                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
17729                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
17730                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
17731                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
17732                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
17733                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
17734                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
17735                 .ctext  = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
17736                           "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
17737                           "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
17738                           "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
17739                           "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
17740                           "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
17741                           "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
17742                           "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
17743                           "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
17744                           "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
17745                           "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
17746                           "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
17747                           "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
17748                           "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
17749                           "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
17750                           "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
17751                           "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
17752                           "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
17753                           "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
17754                           "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
17755                           "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
17756                           "\x16\x24\x02\x07\x48\xAE\xF2\x31"
17757                           "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
17758                           "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
17759                           "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
17760                           "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
17761                           "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
17762                           "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
17763                           "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
17764                           "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
17765                           "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
17766                           "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
17767                           "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
17768                           "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
17769                           "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
17770                           "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
17771                           "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
17772                           "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
17773                           "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
17774                           "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
17775                           "\x22\x39\x7B\x16\x03\x01\x69\xAF"
17776                           "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
17777                           "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
17778                           "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
17779                           "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
17780                           "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
17781                           "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
17782                           "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
17783                           "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
17784                           "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
17785                           "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
17786                           "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
17787                           "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
17788                           "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
17789                           "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
17790                           "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
17791                           "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
17792                           "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
17793                           "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
17794                           "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
17795                           "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
17796                           "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
17797                 .len    = 496,
17798         },
17799 };
17800
17801 static const struct aead_testvec hmac_md5_ecb_cipher_null_tv_template[] = {
17802         { /* Input data from RFC 2410 Case 1 */
17803 #ifdef __LITTLE_ENDIAN
17804                 .key    = "\x08\x00"            /* rta length */
17805                           "\x01\x00"            /* rta type */
17806 #else
17807                 .key    = "\x00\x08"            /* rta length */
17808                           "\x00\x01"            /* rta type */
17809 #endif
17810                           "\x00\x00\x00\x00"    /* enc key length */
17811                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17812                           "\x00\x00\x00\x00\x00\x00\x00\x00",
17813                 .klen   = 8 + 16 + 0,
17814                 .iv     = "",
17815                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
17816                 .plen   = 8,
17817                 .ctext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
17818                           "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
17819                           "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
17820                 .clen   = 8 + 16,
17821         }, { /* Input data from RFC 2410 Case 2 */
17822 #ifdef __LITTLE_ENDIAN
17823                 .key    = "\x08\x00"            /* rta length */
17824                           "\x01\x00"            /* rta type */
17825 #else
17826                 .key    = "\x00\x08"            /* rta length */
17827                           "\x00\x01"            /* rta type */
17828 #endif
17829                           "\x00\x00\x00\x00"    /* enc key length */
17830                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17831                           "\x00\x00\x00\x00\x00\x00\x00\x00",
17832                 .klen   = 8 + 16 + 0,
17833                 .iv     = "",
17834                 .ptext  = "Network Security People Have A Strange Sense Of Humor",
17835                 .plen   = 53,
17836                 .ctext  = "Network Security People Have A Strange Sense Of Humor"
17837                           "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
17838                           "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
17839                 .clen   = 53 + 16,
17840         },
17841 };
17842
17843 static const struct aead_testvec hmac_sha1_aes_cbc_tv_temp[] = {
17844         { /* RFC 3602 Case 1 */
17845 #ifdef __LITTLE_ENDIAN
17846                 .key    = "\x08\x00"            /* rta length */
17847                           "\x01\x00"            /* rta type */
17848 #else
17849                 .key    = "\x00\x08"            /* rta length */
17850                           "\x00\x01"            /* rta type */
17851 #endif
17852                           "\x00\x00\x00\x10"    /* enc key length */
17853                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17854                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17855                           "\x00\x00\x00\x00"
17856                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
17857                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
17858                 .klen   = 8 + 20 + 16,
17859                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
17860                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
17861                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
17862                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
17863                 .alen   = 16,
17864                 .ptext  = "Single block msg",
17865                 .plen   = 16,
17866                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
17867                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
17868                           "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
17869                           "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
17870                           "\x03\x71\xa2\x06",
17871                 .clen   = 16 + 20,
17872         }, { /* RFC 3602 Case 2 */
17873 #ifdef __LITTLE_ENDIAN
17874                 .key    = "\x08\x00"            /* rta length */
17875                           "\x01\x00"            /* rta type */
17876 #else
17877                 .key    = "\x00\x08"            /* rta length */
17878                           "\x00\x01"            /* rta type */
17879 #endif
17880                           "\x00\x00\x00\x10"    /* enc key length */
17881                           "\x20\x21\x22\x23\x24\x25\x26\x27"
17882                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17883                           "\x30\x31\x32\x33"
17884                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
17885                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
17886                 .klen   = 8 + 20 + 16,
17887                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
17888                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
17889                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
17890                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
17891                 .alen   = 16,
17892                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17893                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17894                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17895                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17896                 .plen   = 32,
17897                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
17898                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
17899                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
17900                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
17901                           "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
17902                           "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
17903                           "\x65\x39\xf8\xde",
17904                 .clen   = 32 + 20,
17905         }, { /* RFC 3602 Case 3 */
17906 #ifdef __LITTLE_ENDIAN
17907                 .key    = "\x08\x00"            /* rta length */
17908                           "\x01\x00"            /* rta type */
17909 #else
17910                 .key    = "\x00\x08"            /* rta length */
17911                           "\x00\x01"            /* rta type */
17912 #endif
17913                           "\x00\x00\x00\x10"    /* enc key length */
17914                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17915                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17916                           "\x22\x33\x44\x55"
17917                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
17918                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
17919                 .klen   = 8 + 20 + 16,
17920                 .iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17921                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17922                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17923                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17924                 .alen   = 16,
17925                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
17926                 .plen   = 48,
17927                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
17928                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
17929                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
17930                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
17931                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
17932                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
17933                           "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
17934                           "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
17935                           "\x8d\x62\xf2\x1e",
17936                 .clen   = 48 + 20,
17937         }, { /* RFC 3602 Case 4 */
17938 #ifdef __LITTLE_ENDIAN
17939                 .key    = "\x08\x00"            /* rta length */
17940                           "\x01\x00"            /* rta type */
17941 #else
17942                 .key    = "\x00\x08"            /* rta length */
17943                           "\x00\x01"            /* rta type */
17944 #endif
17945                           "\x00\x00\x00\x10"    /* enc key length */
17946                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17947                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17948                           "\x22\x33\x44\x55"
17949                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
17950                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
17951                 .klen   = 8 + 20 + 16,
17952                 .iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17953                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17954                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17955                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17956                 .alen   = 16,
17957                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
17958                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
17959                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
17960                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
17961                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17962                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
17963                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
17964                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
17965                 .plen   = 64,
17966                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
17967                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
17968                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
17969                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
17970                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
17971                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
17972                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
17973                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
17974                           "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
17975                           "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
17976                           "\x1d\xbe\xc6\xe9",
17977                 .clen   = 64 + 20,
17978         }, { /* RFC 3602 Case 5 */
17979 #ifdef __LITTLE_ENDIAN
17980                 .key    = "\x08\x00"            /* rta length */
17981                           "\x01\x00"            /* rta type */
17982 #else
17983                 .key    = "\x00\x08"            /* rta length */
17984                           "\x00\x01"            /* rta type */
17985 #endif
17986                           "\x00\x00\x00\x10"    /* enc key length */
17987                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17988                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17989                           "\x22\x33\x44\x55"
17990                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
17991                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
17992                 .klen   = 8 + 20 + 16,
17993                 .iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17994                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17995                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17996                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17997                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17998                 .alen   = 24,
17999                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
18000                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
18001                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18002                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18003                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18004                           "\x20\x21\x22\x23\x24\x25\x26\x27"
18005                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18006                           "\x30\x31\x32\x33\x34\x35\x36\x37"
18007                           "\x01\x02\x03\x04\x05\x06\x07\x08"
18008                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
18009                 .plen   = 80,
18010                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
18011                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
18012                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
18013                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
18014                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
18015                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
18016                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
18017                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
18018                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
18019                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
18020                           "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
18021                           "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
18022                           "\x85\xe1\x59\xf7",
18023                 .clen   = 80 + 20,
18024        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
18025 #ifdef __LITTLE_ENDIAN
18026                 .key    = "\x08\x00"            /* rta length */
18027                           "\x01\x00"            /* rta type */
18028 #else
18029                 .key    = "\x00\x08"            /* rta length */
18030                           "\x00\x01"            /* rta type */
18031 #endif
18032                           "\x00\x00\x00\x18"    /* enc key length */
18033                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18034                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18035                           "\x22\x33\x44\x55"
18036                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
18037                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
18038                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
18039                 .klen   = 8 + 20 + 24,
18040                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
18041                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18042                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18043                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18044                 .alen   = 16,
18045                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18046                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18047                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18048                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18049                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18050                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18051                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18052                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18053                 .plen   = 64,
18054                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
18055                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
18056                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
18057                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
18058                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
18059                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
18060                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
18061                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
18062                           "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
18063                           "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
18064                           "\x47\x4c\xfc\x36",
18065                 .clen   = 64 + 20,
18066         }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
18067 #ifdef __LITTLE_ENDIAN
18068                 .key    = "\x08\x00"            /* rta length */
18069                           "\x01\x00"            /* rta type */
18070 #else
18071                 .key    = "\x00\x08"            /* rta length */
18072                           "\x00\x01"            /* rta type */
18073 #endif
18074                           "\x00\x00\x00\x20"    /* enc key length */
18075                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18076                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18077                           "\x22\x33\x44\x55"
18078                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
18079                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
18080                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
18081                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
18082                 .klen   = 8 + 20 + 32,
18083                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
18084                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18085                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18086                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18087                 .alen   = 16,
18088                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18089                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18090                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18091                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18092                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18093                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18094                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18095                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18096                 .plen   = 64,
18097                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
18098                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
18099                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
18100                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
18101                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
18102                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
18103                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
18104                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
18105                           "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
18106                           "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
18107                           "\x51\xee\xd6\x4e",
18108                 .clen   = 64 + 20,
18109         },
18110 };
18111
18112 static const struct aead_testvec hmac_sha1_ecb_cipher_null_tv_temp[] = {
18113         { /* Input data from RFC 2410 Case 1 */
18114 #ifdef __LITTLE_ENDIAN
18115                 .key    = "\x08\x00"            /* rta length */
18116                           "\x01\x00"            /* rta type */
18117 #else
18118                 .key    = "\x00\x08"            /* rta length */
18119                           "\x00\x01"            /* rta type */
18120 #endif
18121                           "\x00\x00\x00\x00"    /* enc key length */
18122                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18123                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18124                           "\x00\x00\x00\x00",
18125                 .klen   = 8 + 20 + 0,
18126                 .iv     = "",
18127                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
18128                 .plen   = 8,
18129                 .ctext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
18130                           "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
18131                           "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
18132                           "\x8c\x5e\xe4\x08",
18133                 .clen   = 8 + 20,
18134         }, { /* Input data from RFC 2410 Case 2 */
18135 #ifdef __LITTLE_ENDIAN
18136                 .key    = "\x08\x00"            /* rta length */
18137                           "\x01\x00"            /* rta type */
18138 #else
18139                 .key    = "\x00\x08"            /* rta length */
18140                           "\x00\x01"            /* rta type */
18141 #endif
18142                           "\x00\x00\x00\x00"    /* enc key length */
18143                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18144                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18145                           "\x00\x00\x00\x00",
18146                 .klen   = 8 + 20 + 0,
18147                 .iv     = "",
18148                 .ptext  = "Network Security People Have A Strange Sense Of Humor",
18149                 .plen   = 53,
18150                 .ctext  = "Network Security People Have A Strange Sense Of Humor"
18151                           "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
18152                           "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
18153                           "\x91\x56\xe4\xd6",
18154                 .clen   = 53 + 20,
18155         },
18156 };
18157
18158 static const struct aead_testvec hmac_sha256_aes_cbc_tv_temp[] = {
18159         { /* RFC 3602 Case 1 */
18160 #ifdef __LITTLE_ENDIAN
18161                 .key    = "\x08\x00"            /* rta length */
18162                           "\x01\x00"            /* rta type */
18163 #else
18164                 .key    = "\x00\x08"            /* rta length */
18165                           "\x00\x01"            /* rta type */
18166 #endif
18167                           "\x00\x00\x00\x10"    /* enc key length */
18168                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18169                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18170                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18171                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18172                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
18173                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
18174                 .klen   = 8 + 32 + 16,
18175                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
18176                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
18177                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
18178                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
18179                 .alen   = 16,
18180                 .ptext  = "Single block msg",
18181                 .plen   = 16,
18182                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
18183                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
18184                           "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
18185                           "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
18186                           "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
18187                           "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
18188                 .clen   = 16 + 32,
18189         }, { /* RFC 3602 Case 2 */
18190 #ifdef __LITTLE_ENDIAN
18191                 .key    = "\x08\x00"            /* rta length */
18192                           "\x01\x00"            /* rta type */
18193 #else
18194                 .key    = "\x00\x08"            /* rta length */
18195                           "\x00\x01"            /* rta type */
18196 #endif
18197                           "\x00\x00\x00\x10"    /* enc key length */
18198                           "\x20\x21\x22\x23\x24\x25\x26\x27"
18199                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18200                           "\x30\x31\x32\x33\x34\x35\x36\x37"
18201                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18202                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
18203                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
18204                 .klen   = 8 + 32 + 16,
18205                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
18206                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
18207                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
18208                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
18209                 .alen   = 16,
18210                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18211                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18212                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18213                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
18214                 .plen   = 32,
18215                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
18216                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
18217                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
18218                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
18219                           "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
18220                           "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
18221                           "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
18222                           "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
18223                 .clen   = 32 + 32,
18224         }, { /* RFC 3602 Case 3 */
18225 #ifdef __LITTLE_ENDIAN
18226                 .key    = "\x08\x00"            /* rta length */
18227                           "\x01\x00"            /* rta type */
18228 #else
18229                 .key    = "\x00\x08"            /* rta length */
18230                           "\x00\x01"            /* rta type */
18231 #endif
18232                           "\x00\x00\x00\x10"    /* enc key length */
18233                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18234                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18235                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18236                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18237                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
18238                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
18239                 .klen   = 8 + 32 + 16,
18240                 .iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
18241                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
18242                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
18243                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
18244                 .alen   = 16,
18245                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
18246                 .plen   = 48,
18247                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
18248                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
18249                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
18250                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
18251                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
18252                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
18253                           "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
18254                           "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
18255                           "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
18256                           "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
18257                 .clen   = 48 + 32,
18258         }, { /* RFC 3602 Case 4 */
18259 #ifdef __LITTLE_ENDIAN
18260                 .key    = "\x08\x00"            /* rta length */
18261                           "\x01\x00"            /* rta type */
18262 #else
18263                 .key    = "\x00\x08"            /* rta length */
18264                           "\x00\x01"            /* rta type */
18265 #endif
18266                           "\x00\x00\x00\x10"    /* enc key length */
18267                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18268                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18269                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18270                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18271                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
18272                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
18273                 .klen   = 8 + 32 + 16,
18274                 .iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
18275                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
18276                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
18277                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
18278                 .alen   = 16,
18279                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18280                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18281                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18282                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18283                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18284                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18285                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18286                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
18287                 .plen   = 64,
18288                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
18289                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
18290                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
18291                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
18292                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
18293                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
18294                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
18295                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
18296                           "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
18297                           "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
18298                           "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
18299                           "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
18300                 .clen   = 64 + 32,
18301         }, { /* RFC 3602 Case 5 */
18302 #ifdef __LITTLE_ENDIAN
18303                 .key    = "\x08\x00"            /* rta length */
18304                           "\x01\x00"            /* rta type */
18305 #else
18306                 .key    = "\x00\x08"            /* rta length */
18307                           "\x00\x01"            /* rta type */
18308 #endif
18309                           "\x00\x00\x00\x10"    /* enc key length */
18310                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18311                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18312                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18313                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18314                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
18315                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
18316                 .klen   = 8 + 32 + 16,
18317                 .iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
18318                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
18319                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18320                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
18321                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
18322                 .alen   = 24,
18323                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
18324                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
18325                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18326                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18327                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18328                           "\x20\x21\x22\x23\x24\x25\x26\x27"
18329                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18330                           "\x30\x31\x32\x33\x34\x35\x36\x37"
18331                           "\x01\x02\x03\x04\x05\x06\x07\x08"
18332                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
18333                 .plen   = 80,
18334                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
18335                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
18336                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
18337                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
18338                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
18339                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
18340                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
18341                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
18342                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
18343                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
18344                           "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
18345                           "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
18346                           "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
18347                           "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
18348                 .clen   = 80 + 32,
18349        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
18350 #ifdef __LITTLE_ENDIAN
18351                 .key    = "\x08\x00"            /* rta length */
18352                           "\x01\x00"            /* rta type */
18353 #else
18354                 .key    = "\x00\x08"            /* rta length */
18355                           "\x00\x01"            /* rta type */
18356 #endif
18357                           "\x00\x00\x00\x18"    /* enc key length */
18358                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18359                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18360                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18361                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18362                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
18363                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
18364                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
18365                 .klen   = 8 + 32 + 24,
18366                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
18367                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18368                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18369                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18370                 .alen   = 16,
18371                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18372                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18373                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18374                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18375                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18376                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18377                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18378                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18379                 .plen   = 64,
18380                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
18381                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
18382                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
18383                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
18384                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
18385                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
18386                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
18387                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
18388                           "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
18389                           "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
18390                           "\xca\x71\x85\x93\xf7\x85\x55\x8b"
18391                           "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
18392                 .clen   = 64 + 32,
18393         }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
18394 #ifdef __LITTLE_ENDIAN
18395                 .key    = "\x08\x00"            /* rta length */
18396                           "\x01\x00"            /* rta type */
18397 #else
18398                 .key    = "\x00\x08"            /* rta length */
18399                           "\x00\x01"            /* rta type */
18400 #endif
18401                           "\x00\x00\x00\x20"    /* enc key length */
18402                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18403                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18404                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18405                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18406                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
18407                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
18408                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
18409                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
18410                 .klen   = 8 + 32 + 32,
18411                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
18412                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18413                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18414                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18415                 .alen   = 16,
18416                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18417                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18418                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18419                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18420                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18421                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18422                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18423                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18424                 .plen   = 64,
18425                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
18426                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
18427                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
18428                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
18429                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
18430                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
18431                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
18432                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
18433                           "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
18434                           "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
18435                           "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
18436                           "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
18437                 .clen   = 64 + 32,
18438         },
18439 };
18440
18441 static const struct aead_testvec hmac_sha512_aes_cbc_tv_temp[] = {
18442         { /* RFC 3602 Case 1 */
18443 #ifdef __LITTLE_ENDIAN
18444                 .key    = "\x08\x00"            /* rta length */
18445                           "\x01\x00"            /* rta type */
18446 #else
18447                 .key    = "\x00\x08"            /* rta length */
18448                           "\x00\x01"            /* rta type */
18449 #endif
18450                           "\x00\x00\x00\x10"    /* enc key length */
18451                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18452                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18453                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18454                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18455                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18456                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18457                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18458                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18459                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
18460                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
18461                 .klen   = 8 + 64 + 16,
18462                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
18463                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
18464                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
18465                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
18466                 .alen   = 16,
18467                 .ptext  = "Single block msg",
18468                 .plen   = 16,
18469                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
18470                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
18471                           "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
18472                           "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
18473                           "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
18474                           "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
18475                           "\xec\xbd\x50\x08\x07\x64\x1a\x49"
18476                           "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
18477                           "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
18478                           "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
18479                 .clen   = 16 + 64,
18480         }, { /* RFC 3602 Case 2 */
18481 #ifdef __LITTLE_ENDIAN
18482                 .key    = "\x08\x00"            /* rta length */
18483                           "\x01\x00"            /* rta type */
18484 #else
18485                 .key    = "\x00\x08"            /* rta length */
18486                           "\x00\x01"            /* rta type */
18487 #endif
18488                           "\x00\x00\x00\x10"    /* enc key length */
18489                           "\x20\x21\x22\x23\x24\x25\x26\x27"
18490                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18491                           "\x30\x31\x32\x33\x34\x35\x36\x37"
18492                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18493                           "\x40\x41\x42\x43\x44\x45\x46\x47"
18494                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18495                           "\x50\x51\x52\x53\x54\x55\x56\x57"
18496                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18497                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
18498                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
18499                 .klen   = 8 + 64 + 16,
18500                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
18501                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
18502                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
18503                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
18504                 .alen   = 16,
18505                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18506                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18507                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18508                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
18509                 .plen   = 32,
18510                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
18511                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
18512                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
18513                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
18514                           "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
18515                           "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
18516                           "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
18517                           "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
18518                           "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
18519                           "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
18520                           "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
18521                           "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
18522                 .clen   = 32 + 64,
18523         }, { /* RFC 3602 Case 3 */
18524 #ifdef __LITTLE_ENDIAN
18525                 .key    = "\x08\x00"            /* rta length */
18526                           "\x01\x00"            /* rta type */
18527 #else
18528                 .key    = "\x00\x08"            /* rta length */
18529                           "\x00\x01"            /* rta type */
18530 #endif
18531                           "\x00\x00\x00\x10"    /* enc key length */
18532                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18533                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18534                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18535                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18536                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
18537                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18538                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
18539                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
18540                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
18541                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
18542                 .klen   = 8 + 64 + 16,
18543                 .iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
18544                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
18545                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
18546                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
18547                 .alen   = 16,
18548                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
18549                 .plen   = 48,
18550                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
18551                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
18552                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
18553                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
18554                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
18555                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
18556                           "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
18557                           "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
18558                           "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
18559                           "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
18560                           "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
18561                           "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
18562                           "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
18563                           "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
18564                 .clen   = 48 + 64,
18565         }, { /* RFC 3602 Case 4 */
18566 #ifdef __LITTLE_ENDIAN
18567                 .key    = "\x08\x00"            /* rta length */
18568                           "\x01\x00"            /* rta type */
18569 #else
18570                 .key    = "\x00\x08"            /* rta length */
18571                           "\x00\x01"            /* rta type */
18572 #endif
18573                           "\x00\x00\x00\x10"    /* enc key length */
18574                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18575                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18576                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18577                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18578                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
18579                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18580                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
18581                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
18582                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
18583                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
18584                 .klen   = 8 + 64 + 16,
18585                 .iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
18586                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
18587                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
18588                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
18589                 .alen   = 16,
18590                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18591                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18592                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18593                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18594                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18595                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18596                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18597                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
18598                 .plen   = 64,
18599                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
18600                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
18601                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
18602                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
18603                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
18604                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
18605                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
18606                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
18607                           "\x82\xcd\x42\x28\x21\x20\x15\xcc"
18608                           "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
18609                           "\x61\x32\x82\x85\xcf\x27\xed\xb4"
18610                           "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
18611                           "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
18612                           "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
18613                           "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
18614                           "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
18615                 .clen   = 64 + 64,
18616         }, { /* RFC 3602 Case 5 */
18617 #ifdef __LITTLE_ENDIAN
18618                 .key    = "\x08\x00"            /* rta length */
18619                           "\x01\x00"            /* rta type */
18620 #else
18621                 .key    = "\x00\x08"            /* rta length */
18622                           "\x00\x01"            /* rta type */
18623 #endif
18624                           "\x00\x00\x00\x10"    /* enc key length */
18625                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18626                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18627                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18628                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18629                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
18630                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18631                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
18632                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
18633                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
18634                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
18635                 .klen   = 8 + 64 + 16,
18636                 .iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
18637                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
18638                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18639                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
18640                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
18641                 .alen   = 24,
18642                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
18643                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
18644                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18645                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18646                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18647                           "\x20\x21\x22\x23\x24\x25\x26\x27"
18648                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18649                           "\x30\x31\x32\x33\x34\x35\x36\x37"
18650                           "\x01\x02\x03\x04\x05\x06\x07\x08"
18651                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
18652                 .plen   = 80,
18653                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
18654                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
18655                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
18656                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
18657                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
18658                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
18659                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
18660                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
18661                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
18662                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
18663                           "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
18664                           "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
18665                           "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
18666                           "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
18667                           "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
18668                           "\x92\x26\xc1\x76\x20\x11\xeb\xba"
18669                           "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
18670                           "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
18671                 .clen   = 80 + 64,
18672        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
18673 #ifdef __LITTLE_ENDIAN
18674                 .key    = "\x08\x00"            /* rta length */
18675                           "\x01\x00"            /* rta type */
18676 #else
18677                 .key    = "\x00\x08"            /* rta length */
18678                           "\x00\x01"            /* rta type */
18679 #endif
18680                           "\x00\x00\x00\x18"    /* enc key length */
18681                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18682                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18683                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18684                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18685                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
18686                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18687                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
18688                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
18689                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
18690                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
18691                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
18692                 .klen   = 8 + 64 + 24,
18693                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
18694                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18695                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18696                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18697                 .alen   = 16,
18698                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18699                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18700                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18701                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18702                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18703                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18704                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18705                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18706                 .plen   = 64,
18707                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
18708                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
18709                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
18710                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
18711                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
18712                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
18713                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
18714                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
18715                           "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
18716                           "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
18717                           "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
18718                           "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
18719                           "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
18720                           "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
18721                           "\x8d\x43\x98\xa7\x94\x16\x07\x02"
18722                           "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
18723                 .clen   = 64 + 64,
18724         }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
18725 #ifdef __LITTLE_ENDIAN
18726                 .key    = "\x08\x00"            /* rta length */
18727                           "\x01\x00"            /* rta type */
18728 #else
18729                 .key    = "\x00\x08"            /* rta length */
18730                           "\x00\x01"            /* rta type */
18731 #endif
18732                           "\x00\x00\x00\x20"    /* enc key length */
18733                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18734                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18735                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18736                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18737                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
18738                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18739                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
18740                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
18741                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
18742                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
18743                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
18744                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
18745                 .klen   = 8 + 64 + 32,
18746                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
18747                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18748                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18749                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18750                 .alen   = 16,
18751                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18752                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18753                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18754                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18755                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18756                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18757                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18758                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18759                 .plen   = 64,
18760                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
18761                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
18762                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
18763                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
18764                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
18765                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
18766                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
18767                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
18768                           "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
18769                           "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
18770                           "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
18771                           "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
18772                           "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
18773                           "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
18774                           "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
18775                           "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
18776                 .clen   = 64 + 64,
18777         },
18778 };
18779
18780 static const struct aead_testvec hmac_sha1_des_cbc_tv_temp[] = {
18781         { /*Generated with cryptopp*/
18782 #ifdef __LITTLE_ENDIAN
18783                 .key    = "\x08\x00"            /* rta length */
18784                           "\x01\x00"            /* rta type */
18785 #else
18786         .key    = "\x00\x08"            /* rta length */
18787                           "\x00\x01"            /* rta type */
18788 #endif
18789                           "\x00\x00\x00\x08"    /* enc key length */
18790                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18791                   "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18792                           "\x22\x33\x44\x55"
18793                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
18794                 .klen   = 8 + 20 + 8,
18795                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18796                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18797                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18798                 .alen   = 16,
18799                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18800                           "\x53\x20\x63\x65\x65\x72\x73\x74"
18801                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18802                           "\x20\x79\x65\x53\x72\x63\x74\x65"
18803                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18804                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
18805                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18806                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
18807                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18808                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18809                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18810                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18811                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
18812                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18813                           "\x63\x65\x65\x72\x73\x74\x54\x20"
18814                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18815                 .plen   = 128,
18816                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
18817                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
18818                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
18819                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
18820                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
18821                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
18822                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
18823                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
18824                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
18825                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
18826                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
18827                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
18828                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
18829                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
18830                           "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
18831                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
18832                           "\x95\x16\x20\x09\xf5\x95\x19\xfd"
18833                           "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
18834                           "\x5c\x44\xa9\x37",
18835                           .clen = 128 + 20,
18836         },
18837 };
18838
18839 static const struct aead_testvec hmac_sha224_des_cbc_tv_temp[] = {
18840         { /*Generated with cryptopp*/
18841 #ifdef __LITTLE_ENDIAN
18842                 .key    = "\x08\x00"            /* rta length */
18843                           "\x01\x00"            /* rta type */
18844 #else
18845                 .key    = "\x00\x08"            /* rta length */
18846                           "\x00\x01"            /* rta type */
18847 #endif
18848                           "\x00\x00\x00\x08"    /* enc key length */
18849                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18850                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18851                   "\x22\x33\x44\x55\x66\x77\x88\x99"
18852                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
18853                 .klen   = 8 + 24 + 8,
18854                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18855                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18856                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18857                 .alen   = 16,
18858                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18859                           "\x53\x20\x63\x65\x65\x72\x73\x74"
18860                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18861                           "\x20\x79\x65\x53\x72\x63\x74\x65"
18862                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18863                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
18864                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18865                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
18866                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18867                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18868                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18869                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18870                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
18871                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18872                           "\x63\x65\x65\x72\x73\x74\x54\x20"
18873                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18874                 .plen   = 128,
18875                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
18876                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
18877                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
18878                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
18879                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
18880                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
18881                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
18882                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
18883                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
18884                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
18885                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
18886                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
18887                   "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
18888                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
18889                           "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
18890                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
18891                           "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
18892                           "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
18893                           "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
18894                 .clen   = 128 + 24,
18895         },
18896 };
18897
18898 static const struct aead_testvec hmac_sha256_des_cbc_tv_temp[] = {
18899         { /*Generated with cryptopp*/
18900 #ifdef __LITTLE_ENDIAN
18901                 .key    = "\x08\x00"            /* rta length */
18902                           "\x01\x00"            /* rta type */
18903 #else
18904                 .key    = "\x00\x08"            /* rta length */
18905                           "\x00\x01"            /* rta type */
18906 #endif
18907                           "\x00\x00\x00\x08"    /* enc key length */
18908                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18909                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18910                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18911                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18912                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
18913                 .klen   = 8 + 32 + 8,
18914                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18915                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18916                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18917                 .alen   = 16,
18918                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18919                           "\x53\x20\x63\x65\x65\x72\x73\x74"
18920                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18921                           "\x20\x79\x65\x53\x72\x63\x74\x65"
18922                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18923                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
18924                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18925                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
18926                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18927                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18928                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18929                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18930                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
18931                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18932                           "\x63\x65\x65\x72\x73\x74\x54\x20"
18933                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18934                 .plen   = 128,
18935                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
18936                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
18937                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
18938                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
18939                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
18940                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
18941                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
18942                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
18943                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
18944                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
18945                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
18946                   "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
18947                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
18948                   "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
18949                   "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
18950                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
18951                           "\xc6\x58\xa1\x60\x70\x91\x39\x36"
18952                           "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
18953                           "\xde\x63\xde\x76\x52\xde\x9f\xba"
18954                           "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
18955                 .clen   = 128 + 32,
18956         },
18957 };
18958
18959 static const struct aead_testvec hmac_sha384_des_cbc_tv_temp[] = {
18960         { /*Generated with cryptopp*/
18961 #ifdef __LITTLE_ENDIAN
18962                 .key    = "\x08\x00"            /* rta length */
18963                           "\x01\x00"            /* rta type */
18964 #else
18965                 .key    = "\x00\x08"            /* rta length */
18966                           "\x00\x01"            /* rta type */
18967 #endif
18968                           "\x00\x00\x00\x08"    /* enc key length */
18969                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18970                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18971                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18972                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18973                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
18974                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18975                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
18976                 .klen   = 8 + 48 + 8,
18977                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18978                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18979                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18980                 .alen   = 16,
18981                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18982                           "\x53\x20\x63\x65\x65\x72\x73\x74"
18983                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18984                           "\x20\x79\x65\x53\x72\x63\x74\x65"
18985                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18986                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
18987                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18988                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
18989                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18990                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18991                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18992                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18993                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
18994                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18995                           "\x63\x65\x65\x72\x73\x74\x54\x20"
18996                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18997                 .plen   = 128,
18998                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
18999                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
19000                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
19001                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
19002                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
19003                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
19004                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
19005                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
19006                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
19007                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
19008                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
19009                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
19010                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
19011                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
19012                           "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
19013                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
19014                           "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
19015                           "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
19016                           "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
19017                           "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
19018                           "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
19019                           "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
19020                 .clen   = 128 + 48,
19021         },
19022 };
19023
19024 static const struct aead_testvec hmac_sha512_des_cbc_tv_temp[] = {
19025         { /*Generated with cryptopp*/
19026 #ifdef __LITTLE_ENDIAN
19027                 .key    = "\x08\x00"            /* rta length */
19028                   "\x01\x00"            /* rta type */
19029 #else
19030                 .key    = "\x00\x08"            /* rta length */
19031                           "\x00\x01"            /* rta type */
19032 #endif
19033                           "\x00\x00\x00\x08"    /* enc key length */
19034                   "\x11\x22\x33\x44\x55\x66\x77\x88"
19035                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
19036                           "\x22\x33\x44\x55\x66\x77\x88\x99"
19037                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
19038                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
19039                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
19040                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
19041                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
19042                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
19043                 .klen   = 8 + 64 + 8,
19044                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
19045                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
19046                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
19047                 .alen   = 16,
19048                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
19049                           "\x53\x20\x63\x65\x65\x72\x73\x74"
19050                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
19051                           "\x20\x79\x65\x53\x72\x63\x74\x65"
19052                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
19053                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
19054                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
19055                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
19056                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
19057                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
19058                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
19059                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
19060                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
19061                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
19062                           "\x63\x65\x65\x72\x73\x74\x54\x20"
19063                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
19064                 .plen   = 128,
19065                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
19066                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
19067                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
19068                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
19069                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
19070                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
19071                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
19072                   "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
19073                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
19074                   "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
19075                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
19076                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
19077                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
19078                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
19079                   "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
19080                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
19081                           "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
19082                           "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
19083                           "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
19084                           "\x58\x83\xda\x67\xfb\x21\x24\xa2"
19085                           "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
19086                           "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
19087                           "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
19088                           "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
19089                 .clen   = 128 + 64,
19090         },
19091 };
19092
19093 static const struct aead_testvec hmac_sha1_des3_ede_cbc_tv_temp[] = {
19094         { /*Generated with cryptopp*/
19095 #ifdef __LITTLE_ENDIAN
19096                 .key    = "\x08\x00"            /* rta length */
19097                           "\x01\x00"            /* rta type */
19098 #else
19099                 .key    = "\x00\x08"            /* rta length */
19100                           "\x00\x01"            /* rta type */
19101 #endif
19102                           "\x00\x00\x00\x18"    /* enc key length */
19103                           "\x11\x22\x33\x44\x55\x66\x77\x88"
19104                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
19105                           "\x22\x33\x44\x55"
19106                   "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
19107                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
19108                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
19109                 .klen   = 8 + 20 + 24,
19110                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
19111                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
19112                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
19113                 .alen   = 16,
19114                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
19115                           "\x53\x20\x63\x65\x65\x72\x73\x74"
19116                   "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
19117                           "\x20\x79\x65\x53\x72\x63\x74\x65"
19118                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
19119                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
19120                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
19121                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
19122                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
19123                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
19124                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
19125                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
19126                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
19127                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
19128                           "\x63\x65\x65\x72\x73\x74\x54\x20"
19129                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
19130                 .plen   = 128,
19131                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
19132                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
19133                   "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
19134                   "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
19135                   "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
19136                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
19137                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
19138                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
19139                   "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
19140                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
19141                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
19142                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
19143                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
19144                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
19145                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
19146                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
19147                           "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
19148                           "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
19149                           "\xd1\x60\x91\xb3",
19150                           .clen = 128 + 20,
19151         },
19152 };
19153
19154 static const struct aead_testvec hmac_sha224_des3_ede_cbc_tv_temp[] = {
19155         { /*Generated with cryptopp*/
19156 #ifdef __LITTLE_ENDIAN
19157                 .key    = "\x08\x00"            /* rta length */
19158                           "\x01\x00"            /* rta type */
19159 #else
19160                 .key    = "\x00\x08"            /* rta length */
19161                           "\x00\x01"            /* rta type */
19162 #endif
19163                           "\x00\x00\x00\x18"    /* enc key length */
19164                           "\x11\x22\x33\x44\x55\x66\x77\x88"
19165                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
19166                           "\x22\x33\x44\x55\x66\x77\x88\x99"
19167                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
19168                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
19169                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
19170                 .klen   = 8 + 24 + 24,
19171                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
19172                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
19173                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
19174                 .alen   = 16,
19175                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
19176                           "\x53\x20\x63\x65\x65\x72\x73\x74"
19177                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
19178                           "\x20\x79\x65\x53\x72\x63\x74\x65"
19179                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
19180                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
19181                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
19182                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
19183                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
19184                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
19185                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
19186                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
19187                   "\x72\x63\x74\x65\x20\x73\x6f\x54"
19188                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
19189                           "\x63\x65\x65\x72\x73\x74\x54\x20"
19190                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
19191                 .plen   = 128,
19192                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
19193                   "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
19194                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
19195                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
19196                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
19197                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
19198                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
19199                   "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
19200                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
19201                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
19202                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
19203                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
19204                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
19205                   "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
19206                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
19207                   "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
19208                           "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
19209                           "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
19210                           "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
19211                           .clen = 128 + 24,
19212         },
19213 };
19214
19215 static const struct aead_testvec hmac_sha256_des3_ede_cbc_tv_temp[] = {
19216         { /*Generated with cryptopp*/
19217 #ifdef __LITTLE_ENDIAN
19218                 .key    = "\x08\x00"            /* rta length */
19219                           "\x01\x00"            /* rta type */
19220 #else
19221                 .key    = "\x00\x08"            /* rta length */
19222                           "\x00\x01"            /* rta type */
19223 #endif
19224                           "\x00\x00\x00\x18"    /* enc key length */
19225                           "\x11\x22\x33\x44\x55\x66\x77\x88"
19226                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
19227                           "\x22\x33\x44\x55\x66\x77\x88\x99"
19228                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
19229                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
19230                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
19231                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
19232                 .klen   = 8 + 32 + 24,
19233                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
19234                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
19235                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
19236                 .alen   = 16,
19237                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
19238                           "\x53\x20\x63\x65\x65\x72\x73\x74"
19239                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
19240                           "\x20\x79\x65\x53\x72\x63\x74\x65"
19241                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
19242                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
19243                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
19244                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
19245                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
19246                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
19247                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
19248                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
19249                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
19250                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
19251                           "\x63\x65\x65\x72\x73\x74\x54\x20"
19252                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
19253                 .plen   = 128,
19254                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
19255                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
19256                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
19257                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
19258                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
19259                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
19260                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
19261                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
19262                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
19263                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
19264                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
19265                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
19266                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
19267                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
19268                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
19269                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
19270                           "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
19271                           "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
19272                           "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
19273                           "\xca\x43\x95\xdf\x80\x61\x81\xa9",
19274                 .clen   = 128 + 32,
19275         },
19276 };
19277
19278 static const struct aead_testvec hmac_sha384_des3_ede_cbc_tv_temp[] = {
19279         { /*Generated with cryptopp*/
19280 #ifdef __LITTLE_ENDIAN
19281                 .key    = "\x08\x00"            /* rta length */
19282                           "\x01\x00"            /* rta type */
19283 #else
19284                 .key    = "\x00\x08"            /* rta length */
19285                           "\x00\x01"            /* rta type */
19286 #endif
19287                           "\x00\x00\x00\x18"    /* enc key length */
19288                           "\x11\x22\x33\x44\x55\x66\x77\x88"
19289                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
19290                           "\x22\x33\x44\x55\x66\x77\x88\x99"
19291                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
19292                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
19293                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
19294                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
19295                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
19296                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
19297                 .klen   = 8 + 48 + 24,
19298                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
19299                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
19300                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
19301                 .alen   = 16,
19302                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
19303                           "\x53\x20\x63\x65\x65\x72\x73\x74"
19304                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
19305                           "\x20\x79\x65\x53\x72\x63\x74\x65"
19306                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
19307                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
19308                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
19309                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
19310                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
19311                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
19312                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
19313                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
19314                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
19315                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
19316                           "\x63\x65\x65\x72\x73\x74\x54\x20"
19317                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
19318                 .plen   = 128,
19319                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
19320                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
19321                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
19322                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
19323                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
19324                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
19325                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
19326                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
19327                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
19328                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
19329                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
19330                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
19331                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
19332                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
19333                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
19334                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
19335                           "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
19336                   "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
19337                           "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
19338                           "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
19339                           "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
19340                           "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
19341                 .clen   = 128 + 48,
19342         },
19343 };
19344
19345 static const struct aead_testvec hmac_sha512_des3_ede_cbc_tv_temp[] = {
19346         { /*Generated with cryptopp*/
19347 #ifdef __LITTLE_ENDIAN
19348                 .key    = "\x08\x00"            /* rta length */
19349                           "\x01\x00"            /* rta type */
19350 #else
19351                 .key    = "\x00\x08"            /* rta length */
19352                           "\x00\x01"            /* rta type */
19353 #endif
19354                           "\x00\x00\x00\x18"    /* enc key length */
19355                           "\x11\x22\x33\x44\x55\x66\x77\x88"
19356                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
19357                           "\x22\x33\x44\x55\x66\x77\x88\x99"
19358                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
19359                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
19360                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
19361                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
19362                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
19363                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
19364                   "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
19365                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
19366                 .klen   = 8 + 64 + 24,
19367                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
19368                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
19369                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
19370                 .alen   = 16,
19371                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
19372                           "\x53\x20\x63\x65\x65\x72\x73\x74"
19373                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
19374                           "\x20\x79\x65\x53\x72\x63\x74\x65"
19375                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
19376                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
19377                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
19378                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
19379                   "\x74\x65\x20\x73\x6f\x54\x20\x6f"
19380                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
19381                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
19382                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
19383                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
19384                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
19385                           "\x63\x65\x65\x72\x73\x74\x54\x20"
19386                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
19387                 .plen   = 128,
19388                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
19389                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
19390                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
19391                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
19392                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
19393                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
19394                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
19395                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
19396                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
19397                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
19398                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
19399                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
19400                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
19401                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
19402                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
19403                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
19404                           "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
19405                           "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
19406                           "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
19407                           "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
19408                           "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
19409                           "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
19410                           "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
19411                           "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
19412                 .clen   = 128 + 64,
19413         },
19414 };
19415
19416 static const struct cipher_testvec aes_lrw_tv_template[] = {
19417         /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
19418         { /* LRW-32-AES 1 */
19419                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
19420                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
19421                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
19422                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
19423                 .klen   = 32,
19424                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
19425                           "\x00\x00\x00\x00\x00\x00\x00\x01",
19426                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
19427                           "\x38\x39\x41\x42\x43\x44\x45\x46",
19428                 .ctext  = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
19429                           "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
19430                 .len    = 16,
19431         }, { /* LRW-32-AES 2 */
19432                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
19433                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
19434                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
19435                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
19436                 .klen   = 32,
19437                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
19438                           "\x00\x00\x00\x00\x00\x00\x00\x02",
19439                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
19440                           "\x38\x39\x41\x42\x43\x44\x45\x46",
19441                 .ctext  = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
19442                           "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
19443                 .len    = 16,
19444         }, { /* LRW-32-AES 3 */
19445                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
19446                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
19447                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
19448                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
19449                 .klen   = 32,
19450                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
19451                           "\x00\x00\x00\x02\x00\x00\x00\x00",
19452                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
19453                           "\x38\x39\x41\x42\x43\x44\x45\x46",
19454                 .ctext  = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
19455                           "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
19456                 .len    = 16,
19457         }, { /* LRW-32-AES 4 */
19458                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
19459                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
19460                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
19461                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
19462                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
19463                 .klen   = 40,
19464                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
19465                           "\x00\x00\x00\x00\x00\x00\x00\x01",
19466                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
19467                           "\x38\x39\x41\x42\x43\x44\x45\x46",
19468                 .ctext  = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
19469                           "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
19470                 .len    = 16,
19471         }, { /* LRW-32-AES 5 */
19472                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
19473                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
19474                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
19475                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
19476                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
19477                 .klen   = 40,
19478                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
19479                           "\x00\x00\x00\x02\x00\x00\x00\x00",
19480                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
19481                           "\x38\x39\x41\x42\x43\x44\x45\x46",
19482                 .ctext  = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
19483                           "\xc8\x60\x48\x02\x87\xe3\x34\x06",
19484                 .len    = 16,
19485         }, { /* LRW-32-AES 6 */
19486                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
19487                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
19488                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
19489                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
19490                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
19491                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
19492                 .klen   = 48,
19493                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
19494                           "\x00\x00\x00\x00\x00\x00\x00\x01",
19495                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
19496                           "\x38\x39\x41\x42\x43\x44\x45\x46",
19497                 .ctext  = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
19498                           "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
19499                 .len    = 16,
19500         }, { /* LRW-32-AES 7 */
19501                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
19502                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
19503                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
19504                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
19505                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
19506                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
19507                 .klen   = 48,
19508                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
19509                           "\x00\x00\x00\x02\x00\x00\x00\x00",
19510                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
19511                           "\x38\x39\x41\x42\x43\x44\x45\x46",
19512                 .ctext  = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
19513                           "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
19514                 .len    = 16,
19515         }, { /* Test counter wrap-around, modified from LRW-32-AES 1 */
19516                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
19517                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
19518                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
19519                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
19520                 .klen   = 32,
19521                 .iv     = "\xff\xff\xff\xff\xff\xff\xff\xff"
19522                           "\xff\xff\xff\xff\xff\xff\xff\xff",
19523                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
19524                           "\x38\x39\x41\x42\x43\x44\x45\x46"
19525                           "\x30\x31\x32\x33\x34\x35\x36\x37"
19526                           "\x38\x39\x41\x42\x43\x44\x45\x46"
19527                           "\x30\x31\x32\x33\x34\x35\x36\x37"
19528                           "\x38\x39\x41\x42\x43\x44\x45\x46",
19529                 .ctext  = "\x47\x90\x50\xf6\xf4\x8d\x5c\x7f"
19530                           "\x84\xc7\x83\x95\x2d\xa2\x02\xc0"
19531                           "\xda\x7f\xa3\xc0\x88\x2a\x0a\x50"
19532                           "\xfb\xc1\x78\x03\x39\xfe\x1d\xe5"
19533                           "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
19534                           "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
19535                 .len    = 48,
19536         }, {
19537 /* http://www.mail-archive.com/[email protected]/msg00173.html */
19538                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
19539                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
19540                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
19541                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
19542                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
19543                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
19544                 .klen   = 48,
19545                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
19546                           "\x00\x00\x00\x00\x00\x00\x00\x01",
19547                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
19548                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
19549                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
19550                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
19551                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
19552                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
19553                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
19554                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
19555                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
19556                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
19557                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
19558                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
19559                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
19560                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
19561                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
19562                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
19563                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
19564                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
19565                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
19566                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
19567                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
19568                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
19569                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
19570                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
19571                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
19572                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
19573                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
19574                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
19575                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
19576                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
19577                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
19578                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
19579                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
19580                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
19581                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
19582                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
19583                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
19584                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
19585                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
19586                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
19587                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
19588                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
19589                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
19590                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
19591                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
19592                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
19593                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
19594                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
19595                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
19596                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
19597                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
19598                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
19599                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
19600                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
19601                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
19602                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
19603                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
19604                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
19605                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
19606                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
19607                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
19608                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
19609                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
19610                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
19611                 .ctext  = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
19612                           "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
19613                           "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
19614                           "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
19615                           "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
19616                           "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
19617                           "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
19618                           "\xe8\x58\x46\x97\x39\x51\x07\xde"
19619                           "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
19620                           "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
19621                           "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
19622                           "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
19623                           "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
19624                           "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
19625                           "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
19626                           "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
19627                           "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
19628                           "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
19629                           "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
19630                           "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
19631                           "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
19632                           "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
19633                           "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
19634                           "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
19635                           "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
19636                           "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
19637                           "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
19638                           "\x41\x30\x58\xc5\x62\x74\x52\x1d"
19639                           "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
19640                           "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
19641                           "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
19642                           "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
19643                           "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
19644                           "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
19645                           "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
19646                           "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
19647                           "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
19648                           "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
19649                           "\xb8\x79\x78\x97\x94\xff\x72\x13"
19650                           "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
19651                           "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
19652                           "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
19653                           "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
19654                           "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
19655                           "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
19656                           "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
19657                           "\x1e\x86\x53\x11\x53\x94\x00\xee"
19658                           "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
19659                           "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
19660                           "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
19661                           "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
19662                           "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
19663                           "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
19664                           "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
19665                           "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
19666                           "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
19667                           "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
19668                           "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
19669                           "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
19670                           "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
19671                           "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
19672                           "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
19673                           "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
19674                           "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
19675                 .len    = 512,
19676         }
19677 };
19678
19679 static const struct cipher_testvec aes_xts_tv_template[] = {
19680         /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
19681         { /* XTS-AES 1 */
19682                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
19683                           "\x00\x00\x00\x00\x00\x00\x00\x00"
19684                           "\x00\x00\x00\x00\x00\x00\x00\x00"
19685                           "\x00\x00\x00\x00\x00\x00\x00\x00",
19686                 .klen   = 32,
19687                 .fips_skip = 1,
19688                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
19689                           "\x00\x00\x00\x00\x00\x00\x00\x00",
19690                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
19691                           "\x00\x00\x00\x00\x00\x00\x00\x00"
19692                           "\x00\x00\x00\x00\x00\x00\x00\x00"
19693                           "\x00\x00\x00\x00\x00\x00\x00\x00",
19694                 .ctext  = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
19695                           "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
19696                           "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
19697                           "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
19698                 .len    = 32,
19699         }, { /* XTS-AES 2 */
19700                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
19701                           "\x11\x11\x11\x11\x11\x11\x11\x11"
19702                           "\x22\x22\x22\x22\x22\x22\x22\x22"
19703                           "\x22\x22\x22\x22\x22\x22\x22\x22",
19704                 .klen   = 32,
19705                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
19706                           "\x00\x00\x00\x00\x00\x00\x00\x00",
19707                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
19708                           "\x44\x44\x44\x44\x44\x44\x44\x44"
19709                           "\x44\x44\x44\x44\x44\x44\x44\x44"
19710                           "\x44\x44\x44\x44\x44\x44\x44\x44",
19711                 .ctext  = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
19712                           "\x39\x33\x40\x38\xac\xef\x83\x8b"
19713                           "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
19714                           "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
19715                 .len    = 32,
19716         }, { /* XTS-AES 3 */
19717                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
19718                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
19719                           "\x22\x22\x22\x22\x22\x22\x22\x22"
19720                           "\x22\x22\x22\x22\x22\x22\x22\x22",
19721                 .klen   = 32,
19722                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
19723                           "\x00\x00\x00\x00\x00\x00\x00\x00",
19724                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
19725                           "\x44\x44\x44\x44\x44\x44\x44\x44"
19726                           "\x44\x44\x44\x44\x44\x44\x44\x44"
19727                           "\x44\x44\x44\x44\x44\x44\x44\x44",
19728                 .ctext  = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
19729                           "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
19730                           "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
19731                           "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
19732                 .len    = 32,
19733         }, { /* XTS-AES 4 */
19734                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
19735                           "\x23\x53\x60\x28\x74\x71\x35\x26"
19736                           "\x31\x41\x59\x26\x53\x58\x97\x93"
19737                           "\x23\x84\x62\x64\x33\x83\x27\x95",
19738                 .klen   = 32,
19739                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
19740                           "\x00\x00\x00\x00\x00\x00\x00\x00",
19741                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
19742                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19743                           "\x10\x11\x12\x13\x14\x15\x16\x17"
19744                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19745                           "\x20\x21\x22\x23\x24\x25\x26\x27"
19746                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19747                           "\x30\x31\x32\x33\x34\x35\x36\x37"
19748                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19749                           "\x40\x41\x42\x43\x44\x45\x46\x47"
19750                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19751                           "\x50\x51\x52\x53\x54\x55\x56\x57"
19752                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19753                           "\x60\x61\x62\x63\x64\x65\x66\x67"
19754                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19755                           "\x70\x71\x72\x73\x74\x75\x76\x77"
19756                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19757                           "\x80\x81\x82\x83\x84\x85\x86\x87"
19758                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19759                           "\x90\x91\x92\x93\x94\x95\x96\x97"
19760                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19761                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19762                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19763                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19764                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19765                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19766                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19767                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19768                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19769                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19770                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19771                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19772                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
19773                           "\x00\x01\x02\x03\x04\x05\x06\x07"
19774                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19775                           "\x10\x11\x12\x13\x14\x15\x16\x17"
19776                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19777                           "\x20\x21\x22\x23\x24\x25\x26\x27"
19778                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19779                           "\x30\x31\x32\x33\x34\x35\x36\x37"
19780                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19781                           "\x40\x41\x42\x43\x44\x45\x46\x47"
19782                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19783                           "\x50\x51\x52\x53\x54\x55\x56\x57"
19784                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19785                           "\x60\x61\x62\x63\x64\x65\x66\x67"
19786                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19787                           "\x70\x71\x72\x73\x74\x75\x76\x77"
19788                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19789                           "\x80\x81\x82\x83\x84\x85\x86\x87"
19790                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19791                           "\x90\x91\x92\x93\x94\x95\x96\x97"
19792                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19793                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19794                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19795                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19796                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19797                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19798                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19799                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19800                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19801                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19802                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19803                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19804                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19805                 .ctext  = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
19806                           "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
19807                           "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
19808                           "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
19809                           "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
19810                           "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
19811                           "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
19812                           "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
19813                           "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
19814                           "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
19815                           "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
19816                           "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
19817                           "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
19818                           "\x22\x97\x61\x46\xae\x20\xce\x84"
19819                           "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
19820                           "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
19821                           "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
19822                           "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
19823                           "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
19824                           "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
19825                           "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
19826                           "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
19827                           "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
19828                           "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
19829                           "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
19830                           "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
19831                           "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
19832                           "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
19833                           "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
19834                           "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
19835                           "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
19836                           "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
19837                           "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
19838                           "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
19839                           "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
19840                           "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
19841                           "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
19842                           "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
19843                           "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
19844                           "\x55\xef\x52\x97\xca\x67\xe9\xf3"
19845                           "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
19846                           "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
19847                           "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
19848                           "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
19849                           "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
19850                           "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
19851                           "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
19852                           "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
19853                           "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
19854                           "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
19855                           "\x18\x84\x69\x77\xae\x11\x9f\x7a"
19856                           "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
19857                           "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
19858                           "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
19859                           "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
19860                           "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
19861                           "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
19862                           "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
19863                           "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
19864                           "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
19865                           "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
19866                           "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
19867                           "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
19868                           "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
19869                 .len    = 512,
19870         }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
19871                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
19872                           "\x23\x53\x60\x28\x74\x71\x35\x26"
19873                           "\x62\x49\x77\x57\x24\x70\x93\x69"
19874                           "\x99\x59\x57\x49\x66\x96\x76\x27"
19875                           "\x31\x41\x59\x26\x53\x58\x97\x93"
19876                           "\x23\x84\x62\x64\x33\x83\x27\x95"
19877                           "\x02\x88\x41\x97\x16\x93\x99\x37"
19878                           "\x51\x05\x82\x09\x74\x94\x45\x92",
19879                 .klen   = 64,
19880                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
19881                           "\x00\x00\x00\x00\x00\x00\x00\x00",
19882                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
19883                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19884                           "\x10\x11\x12\x13\x14\x15\x16\x17"
19885                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19886                           "\x20\x21\x22\x23\x24\x25\x26\x27"
19887                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19888                           "\x30\x31\x32\x33\x34\x35\x36\x37"
19889                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19890                           "\x40\x41\x42\x43\x44\x45\x46\x47"
19891                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19892                           "\x50\x51\x52\x53\x54\x55\x56\x57"
19893                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19894                           "\x60\x61\x62\x63\x64\x65\x66\x67"
19895                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19896                           "\x70\x71\x72\x73\x74\x75\x76\x77"
19897                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19898                           "\x80\x81\x82\x83\x84\x85\x86\x87"
19899                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19900                           "\x90\x91\x92\x93\x94\x95\x96\x97"
19901                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19902                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19903                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19904                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19905                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19906                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19907                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19908                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19909                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19910                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19911                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19912                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19913                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
19914                           "\x00\x01\x02\x03\x04\x05\x06\x07"
19915                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19916                           "\x10\x11\x12\x13\x14\x15\x16\x17"
19917                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19918                           "\x20\x21\x22\x23\x24\x25\x26\x27"
19919                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19920                           "\x30\x31\x32\x33\x34\x35\x36\x37"
19921                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19922                           "\x40\x41\x42\x43\x44\x45\x46\x47"
19923                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19924                           "\x50\x51\x52\x53\x54\x55\x56\x57"
19925                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19926                           "\x60\x61\x62\x63\x64\x65\x66\x67"
19927                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19928                           "\x70\x71\x72\x73\x74\x75\x76\x77"
19929                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19930                           "\x80\x81\x82\x83\x84\x85\x86\x87"
19931                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19932                           "\x90\x91\x92\x93\x94\x95\x96\x97"
19933                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19934                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19935                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19936                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19937                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19938                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19939                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19940                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19941                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19942                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19943                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19944                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19945                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19946                 .ctext  = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
19947                           "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
19948                           "\xea\x00\x80\x3f\x5e\x48\x23\x57"
19949                           "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
19950                           "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
19951                           "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
19952                           "\x68\x0a\x86\xac\x35\xad\xfc\x33"
19953                           "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
19954                           "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
19955                           "\xb1\x08\xfd\x10\x98\xba\xec\x70"
19956                           "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
19957                           "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
19958                           "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
19959                           "\xae\xba\x12\x29\x61\xd0\x3a\x75"
19960                           "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
19961                           "\x00\x02\x08\x87\x89\x14\x29\xca"
19962                           "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
19963                           "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
19964                           "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
19965                           "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
19966                           "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
19967                           "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
19968                           "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
19969                           "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
19970                           "\x93\xec\x05\xc5\x2e\x04\x93\xef"
19971                           "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
19972                           "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
19973                           "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
19974                           "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
19975                           "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
19976                           "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
19977                           "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
19978                           "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
19979                           "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
19980                           "\xbc\x48\x14\x57\x77\x8f\x61\x60"
19981                           "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
19982                           "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
19983                           "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
19984                           "\xf4\xc3\x33\xec\x44\x23\x88\x51"
19985                           "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
19986                           "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
19987                           "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
19988                           "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
19989                           "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
19990                           "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
19991                           "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
19992                           "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
19993                           "\x92\x5f\xed\xc4\xae\x74\xff\xac"
19994                           "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
19995                           "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
19996                           "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
19997                           "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
19998                           "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
19999                           "\x94\x30\x54\xff\x84\x01\x14\x93"
20000                           "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
20001                           "\x53\x76\x44\x1a\x77\xed\x43\x85"
20002                           "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
20003                           "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
20004                           "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
20005                           "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
20006                           "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
20007                           "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
20008                           "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
20009                           "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
20010                 .len    = 512,
20011         }
20012 };
20013
20014 static const struct cipher_testvec aes_ctr_tv_template[] = {
20015         { /* From NIST Special Publication 800-38A, Appendix F.5 */
20016                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
20017                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
20018                 .klen   = 16,
20019                 .iv     = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
20020                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
20021                 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
20022                           "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
20023                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
20024                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
20025                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
20026                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
20027                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
20028                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
20029                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
20030                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
20031                 .ctext  = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
20032                           "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
20033                           "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
20034                           "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
20035                           "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
20036                           "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
20037                           "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
20038                           "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
20039                 .len    = 64,
20040         }, {
20041                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
20042                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
20043                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
20044                 .klen   = 24,
20045                 .iv     = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
20046                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
20047                 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
20048                           "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
20049                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
20050                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
20051                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
20052                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
20053                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
20054                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
20055                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
20056                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
20057                 .ctext  = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
20058                           "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
20059                           "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
20060                           "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
20061                           "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
20062                           "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
20063                           "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
20064                           "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
20065                 .len    = 64,
20066         }, {
20067                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
20068                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
20069                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
20070                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
20071                 .klen   = 32,
20072                 .iv     = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
20073                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
20074                 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
20075                           "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
20076                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
20077                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
20078                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
20079                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
20080                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
20081                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
20082                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
20083                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
20084                 .ctext  = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
20085                           "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
20086                           "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
20087                           "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
20088                           "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
20089                           "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
20090                           "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
20091                           "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
20092                 .len    = 64,
20093         }, { /* Generated with Crypto++ */
20094                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
20095                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
20096                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
20097                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
20098                 .klen   = 32,
20099                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
20100                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
20101                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
20102                           "\x00\x00\x00\x00\x00\x00\x00\x1C",
20103                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
20104                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
20105                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
20106                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
20107                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
20108                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
20109                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
20110                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
20111                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
20112                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
20113                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
20114                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
20115                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
20116                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
20117                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
20118                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
20119                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
20120                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
20121                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
20122                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
20123                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
20124                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
20125                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
20126                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
20127                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
20128                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
20129                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
20130                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
20131                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
20132                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
20133                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
20134                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
20135                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
20136                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
20137                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
20138                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
20139                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
20140                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
20141                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
20142                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
20143                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
20144                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
20145                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
20146                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
20147                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
20148                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
20149                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
20150                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
20151                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
20152                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
20153                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
20154                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
20155                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
20156                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
20157                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
20158                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
20159                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
20160                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
20161                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
20162                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
20163                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
20164                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
20165                 .ctext  = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
20166                           "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
20167                           "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
20168                           "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
20169                           "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
20170                           "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
20171                           "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
20172                           "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
20173                           "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
20174                           "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
20175                           "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
20176                           "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
20177                           "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
20178                           "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
20179                           "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
20180                           "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
20181                           "\x34\x4B\x31\x69\x84\x66\x96\x44"
20182                           "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
20183                           "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
20184                           "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
20185                           "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
20186                           "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
20187                           "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
20188                           "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
20189                           "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
20190                           "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
20191                           "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
20192                           "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
20193                           "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
20194                           "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
20195                           "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
20196                           "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
20197                           "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
20198                           "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
20199                           "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
20200                           "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
20201                           "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
20202                           "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
20203                           "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
20204                           "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
20205                           "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
20206                           "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
20207                           "\x85\x99\x22\xE8\x91\x38\x70\x83"
20208                           "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
20209                           "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
20210                           "\x2F\x69\xEE\x84\x36\x44\x76\x98"
20211                           "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
20212                           "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
20213                           "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
20214                           "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
20215                           "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
20216                           "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
20217                           "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
20218                           "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
20219                           "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
20220                           "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
20221                           "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
20222                           "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
20223                           "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
20224                           "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
20225                           "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
20226                           "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
20227                 .len    = 496,
20228         }, { /* Generated with Crypto++ */
20229                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
20230                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
20231                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
20232                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
20233                 .klen   = 32,
20234                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
20235                           "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
20236                 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
20237                           "\xE2\x7D\x18\xD6\x71\x0C\xA7\x62",
20238                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
20239                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
20240                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
20241                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
20242                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
20243                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
20244                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
20245                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
20246                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
20247                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
20248                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
20249                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
20250                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
20251                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
20252                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
20253                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
20254                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
20255                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
20256                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
20257                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
20258                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
20259                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
20260                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
20261                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
20262                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
20263                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
20264                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
20265                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
20266                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
20267                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
20268                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
20269                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
20270                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
20271                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
20272                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
20273                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
20274                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
20275                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
20276                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
20277                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
20278                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
20279                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
20280                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
20281                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
20282                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
20283                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
20284                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
20285                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
20286                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
20287                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
20288                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
20289                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
20290                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
20291                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
20292                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
20293                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
20294                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
20295                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
20296                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
20297                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
20298                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
20299                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
20300                           "\x7B\xE4\x4D",
20301                 .ctext  = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
20302                           "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
20303                           "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
20304                           "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
20305                           "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
20306                           "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
20307                           "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
20308                           "\x75\xDE\x71\x86\x3C\x98\x23\x44"
20309                           "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
20310                           "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
20311                           "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
20312                           "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
20313                           "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
20314                           "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
20315                           "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
20316                           "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
20317                           "\xA8\x28\x69\x65\x31\xE1\x45\x83"
20318                           "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
20319                           "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
20320                           "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
20321                           "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
20322                           "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
20323                           "\x45\x18\x18\x74\x19\xAD\x71\x01"
20324                           "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
20325                           "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
20326                           "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
20327                           "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
20328                           "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
20329                           "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
20330                           "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
20331                           "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
20332                           "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
20333                           "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
20334                           "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
20335                           "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
20336                           "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
20337                           "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
20338                           "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
20339                           "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
20340                           "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
20341                           "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
20342                           "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
20343                           "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
20344                           "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
20345                           "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
20346                           "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
20347                           "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
20348                           "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
20349                           "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
20350                           "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
20351                           "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
20352                           "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
20353                           "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
20354                           "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
20355                           "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
20356                           "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
20357                           "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
20358                           "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
20359                           "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
20360                           "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
20361                           "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
20362                           "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
20363                           "\xFB\xF2\x3F",
20364                 .len    = 499,
20365         },
20366 };
20367
20368 static const struct cipher_testvec aes_ctr_rfc3686_tv_template[] = {
20369         { /* From RFC 3686 */
20370                 .key    = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
20371                           "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
20372                           "\x00\x00\x00\x30",
20373                 .klen   = 20,
20374                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
20375                 .ptext  = "Single block msg",
20376                 .ctext  = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
20377                           "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
20378                 .len    = 16,
20379         }, {
20380                 .key    = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
20381                           "\x43\xd6\xce\x1f\x32\x53\x91\x63"
20382                           "\x00\x6c\xb6\xdb",
20383                 .klen   = 20,
20384                 .iv     = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
20385                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
20386                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20387                           "\x10\x11\x12\x13\x14\x15\x16\x17"
20388                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20389                 .ctext  = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
20390                           "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
20391                           "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
20392                           "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
20393                 .len    = 32,
20394         }, {
20395                 .key    = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
20396                           "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
20397                           "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
20398                           "\x00\x00\x00\x48",
20399                 .klen   = 28,
20400                 .iv     = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
20401                 .ptext  = "Single block msg",
20402                 .ctext  = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
20403                           "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
20404                 .len    = 16,
20405         }, {
20406                 .key    = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
20407                           "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
20408                           "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
20409                           "\x00\x96\xb0\x3b",
20410                 .klen   = 28,
20411                 .iv     = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
20412                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
20413                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20414                           "\x10\x11\x12\x13\x14\x15\x16\x17"
20415                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20416                 .ctext  = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
20417                           "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
20418                           "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
20419                           "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
20420                 .len    = 32,
20421         }, {
20422                 .key    = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
20423                           "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
20424                           "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
20425                           "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
20426                           "\x00\x00\x00\x60",
20427                 .klen   = 36,
20428                 .iv     = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
20429                 .ptext  = "Single block msg",
20430                 .ctext  = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
20431                           "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
20432                 .len    = 16,
20433         }, {
20434                 .key    = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
20435                           "\x07\x96\x36\x58\x79\xef\xf8\x86"
20436                           "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
20437                           "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
20438                           "\x00\xfa\xac\x24",
20439                 .klen   = 36,
20440                 .iv     = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
20441                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
20442                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20443                           "\x10\x11\x12\x13\x14\x15\x16\x17"
20444                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20445                 .ctext  = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
20446                           "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
20447                           "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
20448                           "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
20449                 .len    = 32,
20450         }, {
20451         // generated using Crypto++
20452                 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
20453                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20454                         "\x10\x11\x12\x13\x14\x15\x16\x17"
20455                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
20456                         "\x00\x00\x00\x00",
20457                 .klen = 32 + 4,
20458                 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
20459                 .ptext =
20460                         "\x00\x01\x02\x03\x04\x05\x06\x07"
20461                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20462                         "\x10\x11\x12\x13\x14\x15\x16\x17"
20463                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
20464                         "\x20\x21\x22\x23\x24\x25\x26\x27"
20465                         "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
20466                         "\x30\x31\x32\x33\x34\x35\x36\x37"
20467                         "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
20468                         "\x40\x41\x42\x43\x44\x45\x46\x47"
20469                         "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
20470                         "\x50\x51\x52\x53\x54\x55\x56\x57"
20471                         "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
20472                         "\x60\x61\x62\x63\x64\x65\x66\x67"
20473                         "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
20474                         "\x70\x71\x72\x73\x74\x75\x76\x77"
20475                         "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
20476                         "\x80\x81\x82\x83\x84\x85\x86\x87"
20477                         "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
20478                         "\x90\x91\x92\x93\x94\x95\x96\x97"
20479                         "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
20480                         "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
20481                         "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
20482                         "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
20483                         "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
20484                         "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
20485                         "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
20486                         "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
20487                         "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
20488                         "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
20489                         "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
20490                         "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
20491                         "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
20492                         "\x00\x03\x06\x09\x0c\x0f\x12\x15"
20493                         "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
20494                         "\x30\x33\x36\x39\x3c\x3f\x42\x45"
20495                         "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
20496                         "\x60\x63\x66\x69\x6c\x6f\x72\x75"
20497                         "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
20498                         "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
20499                         "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
20500                         "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
20501                         "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
20502                         "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
20503                         "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
20504                         "\x20\x23\x26\x29\x2c\x2f\x32\x35"
20505                         "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
20506                         "\x50\x53\x56\x59\x5c\x5f\x62\x65"
20507                         "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
20508                         "\x80\x83\x86\x89\x8c\x8f\x92\x95"
20509                         "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
20510                         "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
20511                         "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
20512                         "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
20513                         "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
20514                         "\x10\x13\x16\x19\x1c\x1f\x22\x25"
20515                         "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
20516                         "\x40\x43\x46\x49\x4c\x4f\x52\x55"
20517                         "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
20518                         "\x70\x73\x76\x79\x7c\x7f\x82\x85"
20519                         "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
20520                         "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
20521                         "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
20522                         "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
20523                         "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
20524                         "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
20525                         "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
20526                         "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
20527                         "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
20528                         "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
20529                         "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
20530                         "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
20531                         "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
20532                         "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
20533                         "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
20534                         "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
20535                         "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
20536                         "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
20537                         "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
20538                         "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
20539                         "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
20540                         "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
20541                         "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
20542                         "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
20543                         "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
20544                         "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
20545                         "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
20546                         "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
20547                         "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
20548                         "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
20549                         "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
20550                         "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
20551                         "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
20552                         "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
20553                         "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
20554                         "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
20555                         "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
20556                         "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
20557                         "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
20558                         "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
20559                         "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
20560                         "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
20561                         "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
20562                         "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
20563                         "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
20564                         "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
20565                         "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
20566                         "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
20567                         "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
20568                         "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
20569                         "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
20570                         "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
20571                         "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
20572                         "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
20573                         "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
20574                         "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
20575                         "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
20576                         "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
20577                         "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
20578                         "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
20579                         "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
20580                         "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
20581                         "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
20582                         "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
20583                         "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
20584                         "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
20585                         "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
20586                         "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
20587                         "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
20588                         "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
20589                         "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
20590                         "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
20591                         "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
20592                         "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
20593                         "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
20594                         "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
20595                         "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
20596                         "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
20597                         "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
20598                         "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
20599                         "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
20600                         "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
20601                         "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
20602                         "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
20603                         "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
20604                         "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
20605                         "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
20606                         "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
20607                         "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
20608                         "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
20609                         "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
20610                         "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
20611                         "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
20612                         "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
20613                         "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
20614                         "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
20615                         "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
20616                         "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
20617                         "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
20618                         "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
20619                         "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
20620                         "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
20621                         "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
20622                         "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
20623                         "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
20624                         "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
20625                         "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
20626                         "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
20627                         "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
20628                         "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
20629                         "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
20630                         "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
20631                         "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
20632                         "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
20633                         "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
20634                         "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
20635                         "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
20636                         "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
20637                         "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
20638                         "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
20639                         "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
20640                         "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
20641                         "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
20642                         "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
20643                         "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
20644                         "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
20645                         "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
20646                         "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
20647                         "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
20648                         "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
20649                         "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
20650                         "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
20651                         "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
20652                         "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
20653                         "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
20654                         "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
20655                         "\x38\x45\x52\x5f\x6c\x79\x86\x93"
20656                         "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
20657                         "\x08\x15\x22\x2f\x3c\x49\x56\x63"
20658                         "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
20659                         "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
20660                         "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
20661                         "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
20662                         "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
20663                         "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
20664                         "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
20665                         "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
20666                         "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
20667                         "\x18\x25\x32\x3f\x4c\x59\x66\x73"
20668                         "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
20669                         "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
20670                         "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
20671                         "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
20672                         "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
20673                         "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
20674                         "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
20675                         "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
20676                         "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
20677                         "\x28\x35\x42\x4f\x5c\x69\x76\x83"
20678                         "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
20679                         "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
20680                         "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
20681                         "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
20682                         "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
20683                         "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
20684                         "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
20685                         "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
20686                         "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
20687                         "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
20688                         "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
20689                         "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
20690                         "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
20691                         "\x48\x57\x66\x75\x84\x93\xa2\xb1"
20692                         "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
20693                         "\x38\x47\x56\x65\x74\x83\x92\xa1"
20694                         "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
20695                         "\x28\x37\x46\x55\x64\x73\x82\x91"
20696                         "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
20697                         "\x18\x27\x36\x45\x54\x63\x72\x81"
20698                         "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
20699                         "\x08\x17\x26\x35\x44\x53\x62\x71"
20700                         "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
20701                         "\xf8\x07\x16\x25\x34\x43\x52\x61"
20702                         "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
20703                         "\xe8\xf7\x06\x15\x24\x33\x42\x51"
20704                         "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
20705                         "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
20706                         "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
20707                         "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
20708                         "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
20709                         "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
20710                         "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
20711                         "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
20712                         "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
20713                         "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
20714                         "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
20715                         "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
20716                         "\x00\x11\x22\x33\x44\x55\x66\x77"
20717                         "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
20718                         "\x10\x21\x32\x43\x54\x65\x76\x87"
20719                         "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
20720                         "\x20\x31\x42\x53\x64\x75\x86\x97"
20721                         "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
20722                         "\x30\x41\x52\x63\x74\x85\x96\xa7"
20723                         "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
20724                         "\x40\x51\x62\x73\x84\x95\xa6\xb7"
20725                         "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
20726                         "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
20727                         "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
20728                         "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
20729                         "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
20730                         "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
20731                         "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
20732                         "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
20733                         "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
20734                         "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
20735                         "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
20736                         "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
20737                         "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
20738                         "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
20739                         "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
20740                         "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
20741                         "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
20742                         "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
20743                         "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
20744                         "\xe0\xf1\x02\x13\x24\x35\x46\x57"
20745                         "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
20746                         "\xf0\x01\x12\x23\x34\x45\x56\x67"
20747                         "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
20748                         "\x00\x13\x26\x39\x4c\x5f\x72\x85"
20749                         "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
20750                         "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
20751                         "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
20752                         "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
20753                         "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
20754                         "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
20755                         "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
20756                         "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
20757                         "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
20758                         "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
20759                         "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
20760                         "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
20761                         "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
20762                         "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
20763                         "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
20764                         "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
20765                         "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
20766                         "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
20767                         "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
20768                         "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
20769                         "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
20770                         "\x10\x23\x36\x49\x5c\x6f\x82\x95"
20771                         "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
20772                         "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
20773                         "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
20774                         "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
20775                         "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
20776                         "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
20777                         "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
20778                         "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
20779                         "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
20780                         "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
20781                         "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
20782                         "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
20783                         "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
20784                         "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
20785                         "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
20786                         "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
20787                         "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
20788                         "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
20789                         "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
20790                         "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
20791                         "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
20792                         "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
20793                         "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
20794                         "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
20795                         "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
20796                         "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
20797                         "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
20798                         "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
20799                         "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
20800                         "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
20801                         "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
20802                         "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
20803                         "\x18\x2d\x42\x57\x6c\x81\x96\xab"
20804                         "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
20805                         "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
20806                         "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
20807                         "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
20808                         "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
20809                         "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
20810                         "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
20811                         "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
20812                         "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
20813                         "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
20814                         "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
20815                         "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
20816                         "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
20817                         "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
20818                         "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
20819                         "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
20820                         "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
20821                         "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
20822                         "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
20823                         "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
20824                         "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
20825                         "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
20826                         "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
20827                         "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
20828                         "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
20829                         "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
20830                         "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
20831                         "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
20832                         "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
20833                         "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
20834                         "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
20835                         "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
20836                         "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
20837                         "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
20838                         "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
20839                         "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
20840                         "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
20841                         "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
20842                         "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
20843                         "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
20844                         "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
20845                         "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
20846                         "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
20847                         "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
20848                         "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
20849                         "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
20850                         "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
20851                         "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
20852                         "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
20853                         "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
20854                         "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
20855                         "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
20856                         "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
20857                         "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
20858                         "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
20859                         "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
20860                         "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
20861                         "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
20862                         "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
20863                         "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
20864                         "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
20865                         "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
20866                         "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
20867                         "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
20868                         "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
20869                         "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
20870                         "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
20871                         "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
20872                         "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
20873                         "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
20874                         "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
20875                         "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
20876                         "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
20877                         "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
20878                         "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
20879                         "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
20880                         "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
20881                         "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
20882                         "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
20883                         "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
20884                         "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
20885                         "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
20886                         "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
20887                         "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
20888                         "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
20889                         "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
20890                         "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
20891                         "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
20892                         "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
20893                         "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
20894                         "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
20895                         "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
20896                         "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
20897                         "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
20898                         "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
20899                         "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
20900                         "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
20901                         "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
20902                         "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
20903                         "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
20904                         "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
20905                         "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
20906                         "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
20907                         "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
20908                         "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
20909                         "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
20910                         "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
20911                         "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
20912                         "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
20913                         "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
20914                         "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
20915                         "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
20916                         "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
20917                         "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
20918                         "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
20919                         "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
20920                         "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
20921                         "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
20922                         "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
20923                         "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
20924                         "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
20925                         "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
20926                         "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
20927                         "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
20928                         "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
20929                         "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
20930                         "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
20931                         "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
20932                         "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
20933                         "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
20934                         "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
20935                         "\x78\x95\xb2\xcf\xec\x09\x26\x43"
20936                         "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
20937                         "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
20938                         "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
20939                         "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
20940                         "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
20941                         "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
20942                         "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
20943                         "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
20944                         "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
20945                         "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
20946                         "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
20947                         "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
20948                         "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
20949                         "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
20950                         "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
20951                         "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
20952                         "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
20953                         "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
20954                         "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
20955                         "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
20956                         "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
20957                         "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
20958                         "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
20959                         "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
20960                         "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
20961                         "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
20962                         "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
20963                         "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
20964                         "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
20965                         "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
20966                         "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
20967                         "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
20968                         "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
20969                         "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
20970                         "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
20971                         "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
20972                         "\x00\x21\x42\x63",
20973                 .ctext =
20974                         "\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
20975                         "\xae\xff\x91\x3a\x44\xcf\x38\x32"
20976                         "\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
20977                         "\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
20978                         "\xf2\x62\x74\x70\x0c\xa4\x46\x08"
20979                         "\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
20980                         "\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
20981                         "\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
20982                         "\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
20983                         "\x18\xff\x75\x6d\x06\x2d\x00\xab"
20984                         "\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
20985                         "\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
20986                         "\x3d\x74\x54\xfa\x44\xcd\x23\x26"
20987                         "\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
20988                         "\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
20989                         "\x61\x00\x1c\x4f\xff\x59\xc4\x22"
20990                         "\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
20991                         "\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
20992                         "\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
20993                         "\x84\xff\x42\x60\xdc\x3a\x18\xa5"
20994                         "\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
20995                         "\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
20996                         "\x8f\xd3\x76\x96\xad\x49\x6d\x38"
20997                         "\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
20998                         "\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
20999                         "\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
21000                         "\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
21001                         "\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
21002                         "\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
21003                         "\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
21004                         "\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
21005                         "\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
21006                         "\x78\x6b\x01\xc9\xc7\x83\xba\x21"
21007                         "\x6a\x25\x15\x33\x4e\x45\x08\xec"
21008                         "\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
21009                         "\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
21010                         "\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
21011                         "\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
21012                         "\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
21013                         "\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
21014                         "\xc8\x53\x07\xaf\x80\x84\xec\xfd"
21015                         "\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
21016                         "\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
21017                         "\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
21018                         "\x06\x51\x48\x4e\xf6\x59\x87\xd2"
21019                         "\x04\x02\xef\xd3\x44\xde\x76\x31"
21020                         "\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
21021                         "\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
21022                         "\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
21023                         "\x65\x83\xd0\x3b\xe3\x30\xea\x94"
21024                         "\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
21025                         "\xb4\x01\xab\x36\x2c\x77\x13\xaf"
21026                         "\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
21027                         "\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
21028                         "\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
21029                         "\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
21030                         "\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
21031                         "\x93\x97\xc6\x48\x45\x1d\x9f\x83"
21032                         "\xdf\x4b\x40\x3e\x42\x25\x87\x80"
21033                         "\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
21034                         "\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
21035                         "\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
21036                         "\x32\x03\xed\xf0\x50\x1c\x56\x39"
21037                         "\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
21038                         "\x53\xfc\x2a\x38\x23\x15\x75\xcd"
21039                         "\x45\xe5\x5a\x82\x55\xba\x21\xfa"
21040                         "\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
21041                         "\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
21042                         "\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
21043                         "\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
21044                         "\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
21045                         "\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
21046                         "\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
21047                         "\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
21048                         "\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
21049                         "\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
21050                         "\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
21051                         "\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
21052                         "\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
21053                         "\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
21054                         "\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
21055                         "\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
21056                         "\x69\x3a\x29\x23\xac\x86\x32\xa5"
21057                         "\x48\x9c\x9e\xf3\x47\x77\x81\x70"
21058                         "\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
21059                         "\x59\x6a\xd3\x50\x59\x43\x59\xde"
21060                         "\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
21061                         "\x18\x34\x0d\x1a\x63\x33\xed\x10"
21062                         "\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
21063                         "\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
21064                         "\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
21065                         "\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
21066                         "\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
21067                         "\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
21068                         "\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
21069                         "\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
21070                         "\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
21071                         "\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
21072                         "\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
21073                         "\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
21074                         "\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
21075                         "\xe8\x99\x57\x8c\x11\xed\x66\xd9"
21076                         "\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
21077                         "\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
21078                         "\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
21079                         "\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
21080                         "\x64\x76\x38\x49\x4d\xfe\x30\x6d"
21081                         "\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
21082                         "\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
21083                         "\x28\xa2\x82\x1f\x61\x69\xad\xc1"
21084                         "\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
21085                         "\x51\xb5\x17\x7f\x12\x69\x8c\x24"
21086                         "\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
21087                         "\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
21088                         "\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
21089                         "\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
21090                         "\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
21091                         "\x4d\x29\x77\x53\x35\x6a\x00\x8d"
21092                         "\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
21093                         "\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
21094                         "\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
21095                         "\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
21096                         "\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
21097                         "\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
21098                         "\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
21099                         "\x26\x39\x83\x94\xef\x27\xd8\x53"
21100                         "\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
21101                         "\x43\x7c\x95\x0a\x53\xef\x66\xda"
21102                         "\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
21103                         "\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
21104                         "\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
21105                         "\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
21106                         "\x88\xee\x73\xcf\x66\x2f\x52\x56"
21107                         "\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
21108                         "\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
21109                         "\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
21110                         "\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
21111                         "\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
21112                         "\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
21113                         "\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
21114                         "\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
21115                         "\xba\x61\x34\x38\x7c\xda\x48\x3e"
21116                         "\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
21117                         "\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
21118                         "\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
21119                         "\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
21120                         "\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
21121                         "\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
21122                         "\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
21123                         "\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
21124                         "\x35\x12\xe3\x36\x28\x27\x36\x58"
21125                         "\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
21126                         "\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
21127                         "\x2b\x9f\x96\x00\x86\x60\xf0\x21"
21128                         "\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
21129                         "\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
21130                         "\x9d\x62\x79\x58\x52\xe6\x65\xb7"
21131                         "\xab\x55\x67\x9c\x89\x7c\x03\xb0"
21132                         "\x73\x59\xc5\x81\xf5\x18\x17\x5c"
21133                         "\x89\xf3\x78\x35\x44\x62\x78\x72"
21134                         "\xd0\x96\xeb\x31\xe7\x87\x77\x14"
21135                         "\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
21136                         "\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
21137                         "\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
21138                         "\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
21139                         "\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
21140                         "\xfb\x79\x2e\x04\x2d\x50\x28\x83"
21141                         "\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
21142                         "\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
21143                         "\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
21144                         "\xd2\x49\x77\x81\x6d\x90\x70\xae"
21145                         "\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
21146                         "\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
21147                         "\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
21148                         "\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
21149                         "\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
21150                         "\x45\x42\x27\x75\x50\xe5\xee\xb8"
21151                         "\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
21152                         "\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
21153                         "\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
21154                         "\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
21155                         "\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
21156                         "\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
21157                         "\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
21158                         "\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
21159                         "\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
21160                         "\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
21161                         "\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
21162                         "\xa9\x21\x2b\x92\x94\x87\x62\x57"
21163                         "\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
21164                         "\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
21165                         "\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
21166                         "\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
21167                         "\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
21168                         "\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
21169                         "\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
21170                         "\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
21171                         "\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
21172                         "\x69\x34\x78\x61\x24\x21\x9c\x8a"
21173                         "\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
21174                         "\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
21175                         "\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
21176                         "\x8a\x59\x94\x3c\xcf\x36\x27\x82"
21177                         "\xc2\x45\xee\x58\xcd\x88\xb4\xec"
21178                         "\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
21179                         "\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
21180                         "\xb1\x95\x28\x86\x20\xe9\x17\x49"
21181                         "\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
21182                         "\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
21183                         "\xdb\x7c\x73\x10\xb9\xba\x89\x76"
21184                         "\x54\xae\x7d\x71\xb3\x93\xf6\x32"
21185                         "\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
21186                         "\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
21187                         "\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
21188                         "\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
21189                         "\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
21190                         "\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
21191                         "\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
21192                         "\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
21193                         "\x79\x00\xa8\x6c\x29\xd9\x18\x24"
21194                         "\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
21195                         "\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
21196                         "\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
21197                         "\x26\x2c\x39\x52\x89\x98\xe7\x2c"
21198                         "\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
21199                         "\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
21200                         "\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
21201                         "\x32\x4d\xed\xab\xfa\x98\x14\x4e"
21202                         "\xc3\x15\x45\x53\x61\xc4\x93\xbd"
21203                         "\x90\xf4\x99\x95\x4c\xe6\x76\x92"
21204                         "\x29\x90\x46\x30\x92\x69\x7d\x13"
21205                         "\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
21206                         "\x63\x40\x36\x5f\x09\xe2\x78\xf8"
21207                         "\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
21208                         "\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
21209                         "\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
21210                         "\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
21211                         "\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
21212                         "\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
21213                         "\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
21214                         "\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
21215                         "\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
21216                         "\x05\xc4\xa6\x96\xec\x05\x98\x4f"
21217                         "\x96\x67\x57\x1f\x20\x86\x1b\x2d"
21218                         "\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
21219                         "\x88\x26\x2c\x67\x02\x4b\x52\xd0"
21220                         "\x83\x7a\x43\x1f\xc0\x71\x15\x25"
21221                         "\x77\x65\x08\x60\x11\x76\x4c\x8d"
21222                         "\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
21223                         "\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
21224                         "\x03\xd1\x24\x95\xec\x6d\xab\x38"
21225                         "\x72\xce\xe2\x8b\x33\xd7\x51\x09"
21226                         "\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
21227                         "\x84\xdc\x73\x73\x2d\x1b\x11\x98"
21228                         "\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
21229                         "\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
21230                         "\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
21231                         "\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
21232                         "\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
21233                         "\x62\x8f\x7a\x73\x32\xab\xc8\x18"
21234                         "\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
21235                         "\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
21236                         "\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
21237                         "\xde\x39\xa4\x01\x72\x63\xf3\xd1"
21238                         "\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
21239                         "\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
21240                         "\x16\xf7\xcd\x92\x9a\x99\x30\x14"
21241                         "\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
21242                         "\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
21243                         "\xe5\x79\x81\x73\xcd\x43\x59\x68"
21244                         "\x73\x02\x3b\x78\x21\x72\x43\x00"
21245                         "\x49\x17\xf7\x00\xaf\x68\x24\x53"
21246                         "\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
21247                         "\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
21248                         "\x11\x94\x13\x69\x51\x09\x28\xde"
21249                         "\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
21250                         "\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
21251                         "\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
21252                         "\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
21253                         "\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
21254                         "\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
21255                         "\x62\x03\x43\xf1\x87\xb4\xb0\x85"
21256                         "\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
21257                         "\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
21258                         "\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
21259                         "\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
21260                         "\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
21261                         "\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
21262                         "\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
21263                         "\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
21264                         "\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
21265                         "\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
21266                         "\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
21267                         "\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
21268                         "\x69\xdc\xab\x24\x57\x60\x47\xc1"
21269                         "\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
21270                         "\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
21271                         "\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
21272                         "\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
21273                         "\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
21274                         "\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
21275                         "\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
21276                         "\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
21277                         "\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
21278                         "\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
21279                         "\x63\x19\x3d\xd5\xec\x1b\x77\x69"
21280                         "\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
21281                         "\x85\x62\x82\x70\x18\xe2\x9a\x78"
21282                         "\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
21283                         "\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
21284                         "\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
21285                         "\x35\xf3\x61\x06\x72\x84\xc4\x32"
21286                         "\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
21287                         "\x04\xc2\xde\x57\x64\x60\x8d\xcf"
21288                         "\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
21289                         "\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
21290                         "\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
21291                         "\xb3\x71\xa0\xde\xca\x96\xf1\x78"
21292                         "\x49\xa2\x99\x81\x80\x5c\x01\xf5"
21293                         "\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
21294                         "\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
21295                         "\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
21296                         "\x4f\x73\x38\x09\x75\x64\x48\xe0"
21297                         "\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
21298                         "\xfe\x16\x26\x62\x49\x74\xf4\xb0"
21299                         "\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
21300                         "\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
21301                         "\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
21302                         "\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
21303                         "\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
21304                         "\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
21305                         "\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
21306                         "\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
21307                         "\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
21308                         "\xef\xa0\x54\xe4\x5e\x16\x53\x81"
21309                         "\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
21310                         "\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
21311                         "\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
21312                         "\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
21313                         "\x53\x5d\x86\xd6\xde\x65\xca\xe3"
21314                         "\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
21315                         "\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
21316                         "\x37\x7a\x93\x7a\x50\x11\x9f\x96"
21317                         "\x86\x25\xfd\xac\xdc\xbe\x18\x93"
21318                         "\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
21319                         "\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
21320                         "\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
21321                         "\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
21322                         "\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
21323                         "\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
21324                         "\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
21325                         "\xce\x4d\x5f\x18\x60\xce\x87\x22"
21326                         "\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
21327                         "\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
21328                         "\x32\xd8\xaf\x1e\x07\x77\x51\x96"
21329                         "\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
21330                         "\xea\x17\x0b\x10\xd2\x3f\x28\x25"
21331                         "\x4f\x05\x77\x02\x14\x69\xf0\x2c"
21332                         "\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
21333                         "\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
21334                         "\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
21335                         "\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
21336                         "\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
21337                         "\x64\xc0\x64\xda\xb1\xae\xdd\x60"
21338                         "\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
21339                         "\x92\x61\xd0\x48\x81\xed\x5e\x1d"
21340                         "\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
21341                         "\x7f\x83\x73\xb6\x70\x18\x65\x3e"
21342                         "\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
21343                         "\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
21344                         "\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
21345                         "\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
21346                         "\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
21347                         "\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
21348                         "\xa7\x22\xec\xe2\x7e\x29\x09\x53"
21349                         "\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
21350                         "\xce\x54\xf9\x18\x58\xb5\xff\x44"
21351                         "\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
21352                         "\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
21353                         "\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
21354                         "\xff\xfd\xb0\x21\x6e\x57\x05\x75"
21355                         "\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
21356                         "\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
21357                         "\x80\x8c\xc8\x78\x40\x24\x4b\x89"
21358                         "\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
21359                         "\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
21360                         "\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
21361                         "\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
21362                         "\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
21363                         "\x0c\xd6\x04\x14\xde\x51\x74\x75"
21364                         "\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
21365                         "\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
21366                         "\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
21367                         "\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
21368                         "\x75\x46\x65\x4e\x07\x34\x37\xa3"
21369                         "\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
21370                         "\x69\x24\x0e\x38\x67\x43\x8c\xde"
21371                         "\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
21372                         "\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
21373                         "\x64\xb1\xdb\xee\x00\x50\x77\xe1"
21374                         "\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
21375                         "\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
21376                         "\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
21377                         "\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
21378                         "\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
21379                         "\x91\x7d\x62\x64\x96\x72\xde\xfc"
21380                         "\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
21381                         "\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
21382                         "\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
21383                         "\x98\x81\x84\x4f\x15\x5c\x76\xe7"
21384                         "\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
21385                         "\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
21386                         "\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
21387                         "\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
21388                         "\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
21389                         "\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
21390                         "\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
21391                         "\xb1\xb2\x52\x94\x75\x2c\x29\x59"
21392                         "\x06\xc2\x25\xe8\x71\x65\x4e\xed"
21393                         "\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
21394                         "\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
21395                         "\xe0\x50\x40\x96\x35\x63\xe4\x0b"
21396                         "\x76\xbd\xa4\x65\x00\x1b\x57\x88"
21397                         "\xae\xed\x39\x88\x42\x11\x3c\xed"
21398                         "\x85\x67\x7d\xb9\x68\x82\xe9\x43"
21399                         "\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
21400                         "\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
21401                         "\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
21402                         "\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
21403                         "\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
21404                         "\xce\x20\x56\x32\xc6\xc5\x99\x1f"
21405                         "\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
21406                         "\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
21407                         "\x66\xf8\x3d\x18\x74\x70\x66\x7a"
21408                         "\x34\x17\xde\xba\x47\xf1\x06\x18"
21409                         "\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
21410                         "\xe0\x3b\x78\x62\x66\xc9\x10\xea"
21411                         "\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
21412                         "\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
21413                         "\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
21414                         "\x63\x4f\x20\x0c\x07\x17\x33\x5e"
21415                         "\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
21416                         "\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
21417                         "\x58\xef\x15\xa9\x83\xd9\x46\xb1"
21418                         "\x42\xaa\xf5\x02\x6c\xce\x92\x06"
21419                         "\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
21420                         "\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
21421                         "\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
21422                         "\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
21423                         "\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
21424                         "\xb6\x67\xc7\x77\xed\x23\xef\x4c"
21425                         "\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
21426                         "\x34\x37\x08\xab\xd9\x1f\x09\xb1"
21427                         "\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
21428                         "\x2c\x56\x39\x79\x0f\x69\x44\x75"
21429                         "\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
21430                         "\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
21431                         "\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
21432                         "\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
21433                         "\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
21434                         "\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
21435                         "\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
21436                         "\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
21437                         "\x63\x9b\xce\x61\x24\x79\xc0\x70"
21438                         "\x52\xd0\xb6\xd4\x28\x95\x24\x87"
21439                         "\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
21440                         "\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
21441                         "\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
21442                         "\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
21443                         "\x74\x56\x58\x40\x02\x37\x52\x2c"
21444                         "\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
21445                         "\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
21446                         "\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
21447                         "\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
21448                         "\x24\x90\xec\x58\xd2\x09\xc7\x2d"
21449                         "\xed\x38\x80\x36\x72\x43\x27\x49"
21450                         "\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
21451                         "\x7d\xb6\x82\x37\x86\x92\x86\x3e"
21452                         "\x08\xb2\x28\x5a\x55\x44\x24\x7d"
21453                         "\x40\x48\x8a\xb6\x89\x58\x08\xa0"
21454                         "\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
21455                         "\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
21456                         "\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
21457                         "\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
21458                         "\x14\x32\x45\x05\xe0\xdb\x9f\x75"
21459                         "\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
21460                         "\x12\xee\x30\xfe\xd8\x30\xef\x34"
21461                         "\x50\xab\x46\x30\x98\x2f\xb7\xc0"
21462                         "\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
21463                         "\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
21464                         "\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
21465                         "\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
21466                         "\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
21467                         "\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
21468                         "\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
21469                         "\x02\x9d\x27\x1f\xef\x85\x05\x8d"
21470                         "\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
21471                         "\xa1\x75\xa0\xd8\x06\x47\x14\xef"
21472                         "\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
21473                         "\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
21474                         "\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
21475                         "\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
21476                         "\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
21477                         "\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
21478                         "\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
21479                         "\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
21480                         "\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
21481                         "\x44\x12\xfb\x73\x77\xd4\x13\x39"
21482                         "\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
21483                         "\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
21484                         "\x41\x01\x18\x5d\x5d\x07\x97\xa6"
21485                         "\x4b\xef\x31\x18\xea\xac\xb1\x84"
21486                         "\x21\xed\xda\x86",
21487                 .len    = 4100,
21488         },
21489 };
21490
21491 static const struct aead_testvec aes_gcm_tv_template[] = {
21492         { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
21493                 .key    = zeroed_string,
21494                 .klen   = 16,
21495                 .ctext  = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
21496                           "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
21497                 .clen   = 16,
21498         }, {
21499                 .key    = zeroed_string,
21500                 .klen   = 16,
21501                 .ptext  = zeroed_string,
21502                 .plen   = 16,
21503                 .ctext  = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
21504                           "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
21505                           "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
21506                           "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
21507                 .clen   = 32,
21508         }, {
21509                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21510                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21511                 .klen   = 16,
21512                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21513                           "\xde\xca\xf8\x88",
21514                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21515                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21516                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21517                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21518                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21519                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21520                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21521                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21522                 .plen   = 64,
21523                 .ctext  = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21524                           "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21525                           "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21526                           "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21527                           "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21528                           "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21529                           "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21530                           "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
21531                           "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
21532                           "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
21533                 .clen   = 80,
21534         }, {
21535                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21536                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21537                 .klen   = 16,
21538                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21539                           "\xde\xca\xf8\x88",
21540                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21541                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21542                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21543                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21544                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21545                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21546                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21547                           "\xba\x63\x7b\x39",
21548                 .plen   = 60,
21549                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21550                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21551                           "\xab\xad\xda\xd2",
21552                 .alen   = 20,
21553                 .ctext  = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21554                           "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21555                           "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21556                           "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21557                           "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21558                           "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21559                           "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21560                           "\x3d\x58\xe0\x91"
21561                           "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
21562                           "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
21563                 .clen   = 76,
21564         }, {
21565                 .key    = zeroed_string,
21566                 .klen   = 24,
21567                 .ctext  = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
21568                           "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
21569                 .clen   = 16,
21570         }, {
21571                 .key    = zeroed_string,
21572                 .klen   = 24,
21573                 .ptext  = zeroed_string,
21574                 .plen   = 16,
21575                 .ctext  = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
21576                           "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
21577                           "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
21578                           "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
21579                 .clen   = 32,
21580         }, {
21581                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21582                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21583                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21584                 .klen   = 24,
21585                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21586                           "\xde\xca\xf8\x88",
21587                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21588                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21589                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21590                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21591                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21592                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21593                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21594                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21595                 .plen   = 64,
21596                 .ctext  = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21597                           "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21598                           "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21599                           "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21600                           "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21601                           "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21602                           "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21603                           "\xcc\xda\x27\x10\xac\xad\xe2\x56"
21604                           "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
21605                           "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
21606                 .clen   = 80,
21607         }, {
21608                 .key    = zeroed_string,
21609                 .klen   = 32,
21610                 .ctext  = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
21611                           "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
21612                 .clen   = 16,
21613         }, {
21614                 .key    = zeroed_string,
21615                 .klen   = 32,
21616                 .ptext  = zeroed_string,
21617                 .plen   = 16,
21618                 .ctext  = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
21619                           "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
21620                           "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
21621                           "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
21622                 .clen   = 32,
21623         }, {
21624                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21625                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21626                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21627                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21628                 .klen   = 32,
21629                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21630                           "\xde\xca\xf8\x88",
21631                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21632                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21633                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21634                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21635                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21636                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21637                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21638                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21639                 .plen   = 64,
21640                 .ctext  = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
21641                           "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
21642                           "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
21643                           "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
21644                           "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
21645                           "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
21646                           "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
21647                           "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
21648                           "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
21649                           "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
21650                 .clen   = 80,
21651         }, {
21652                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21653                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21654                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21655                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21656                 .klen   = 32,
21657                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21658                           "\xde\xca\xf8\x88",
21659                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21660                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21661                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21662                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21663                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21664                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21665                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21666                           "\xba\x63\x7b\x39",
21667                 .plen   = 60,
21668                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21669                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21670                           "\xab\xad\xda\xd2",
21671                 .alen   = 20,
21672                 .ctext  = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
21673                           "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
21674                           "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
21675                           "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
21676                           "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
21677                           "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
21678                           "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
21679                           "\xbc\xc9\xf6\x62"
21680                           "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
21681                           "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
21682                 .clen   = 76,
21683         }, {
21684                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21685                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21686                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21687                 .klen   = 24,
21688                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21689                           "\xde\xca\xf8\x88",
21690                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21691                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21692                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21693                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21694                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21695                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21696                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21697                           "\xba\x63\x7b\x39",
21698                 .plen   = 60,
21699                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21700                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21701                           "\xab\xad\xda\xd2",
21702                 .alen   = 20,
21703                 .ctext  = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21704                           "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21705                           "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21706                           "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21707                           "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21708                           "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21709                           "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21710                           "\xcc\xda\x27\x10"
21711                           "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
21712                           "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
21713                 .clen   = 76,
21714         }, {
21715                 .key    = "\x62\x35\xf8\x95\xfc\xa5\xeb\xf6"
21716                           "\x0e\x92\x12\x04\xd3\xa1\x3f\x2e"
21717                           "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
21718                           "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
21719                 .klen   = 32,
21720                 .iv     = "\x00\xff\xff\xff\xff\x00\x00\xff"
21721                           "\xff\xff\x00\xff",
21722                 .ptext  = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
21723                           "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
21724                           "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
21725                           "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
21726                           "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
21727                           "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
21728                           "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
21729                           "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
21730                           "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
21731                           "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
21732                           "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
21733                           "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
21734                           "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
21735                           "\x35\x23\xf4\x20\x41\xd4\xad\x82"
21736                           "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
21737                           "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
21738                           "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
21739                           "\xad\x49\x3a\xae\x98\xce\xa6\x66"
21740                           "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
21741                           "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
21742                           "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
21743                           "\x57\xcc\x89\x09\x75\x9b\x78\x70"
21744                           "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
21745                           "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
21746                           "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
21747                           "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
21748                           "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
21749                           "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
21750                           "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
21751                           "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
21752                           "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
21753                           "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
21754                           "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
21755                           "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
21756                           "\x02\x66\x49\xca\x7c\x91\x05\xf2"
21757                           "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
21758                           "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
21759                           "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
21760                           "\x45\xea\x78\x73\xd9\xb7\x39\x11"
21761                           "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
21762                           "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
21763                           "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
21764                           "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
21765                           "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
21766                           "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
21767                           "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
21768                           "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
21769                           "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
21770                           "\x03\x25\x3c\x8d\x48\x58\x71\x34"
21771                           "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
21772                           "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
21773                           "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
21774                           "\x87\x79\x60\x38\x46\xb4\x25\x57"
21775                           "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
21776                           "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
21777                           "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
21778                           "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
21779                           "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
21780                           "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
21781                           "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
21782                           "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
21783                           "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
21784                           "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
21785                           "\x0b\x63\xde\x87\x42\x79\x8a\x68"
21786                           "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
21787                           "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
21788                           "\xe9\x83\x84\xcb\x28\x69\x09\x69"
21789                           "\xce\x99\x46\x00\x54\xcb\xd8\x38"
21790                           "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
21791                           "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
21792                           "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
21793                           "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
21794                           "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
21795                           "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
21796                           "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
21797                           "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
21798                           "\x78\xc6\x91\x22\x40\x91\x80\xbe"
21799                           "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
21800                           "\x67\x10\xa4\x83\x98\x79\x23\xe7"
21801                           "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
21802                           "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
21803                           "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
21804                           "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
21805                           "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
21806                           "\x3f\x73\x09\xe2\x45\x56\x31\x51"
21807                           "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
21808                           "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
21809                           "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
21810                           "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
21811                           "\xa4\x78\xdb\x74\x3d\x8b\xb5",
21812                 .plen   = 719,
21813                 .ctext  = "\x84\x0b\xdb\xd5\xb7\xa8\xfe\x20"
21814                           "\xbb\xb1\x12\x7f\x41\xea\xb3\xc0"
21815                           "\xa2\xb4\x37\x19\x11\x58\xb6\x0b"
21816                           "\x4c\x1d\x38\x05\x54\xd1\x16\x73"
21817                           "\x8e\x1c\x20\x90\xa2\x9a\xb7\x74"
21818                           "\x47\xe6\xd8\xfc\x18\x3a\xb4\xea"
21819                           "\xd5\x16\x5a\x2c\x53\x01\x46\xb3"
21820                           "\x18\x33\x74\x6c\x50\xf2\xe8\xc0"
21821                           "\x73\xda\x60\x22\xeb\xe3\xe5\x9b"
21822                           "\x20\x93\x6c\x4b\x37\x99\xb8\x23"
21823                           "\x3b\x4e\xac\xe8\x5b\xe8\x0f\xb7"
21824                           "\xc3\x8f\xfb\x4a\x37\xd9\x39\x95"
21825                           "\x34\xf1\xdb\x8f\x71\xd9\xc7\x0b"
21826                           "\x02\xf1\x63\xfc\x9b\xfc\xc5\xab"
21827                           "\xb9\x14\x13\x21\xdf\xce\xaa\x88"
21828                           "\x44\x30\x1e\xce\x26\x01\x92\xf8"
21829                           "\x9f\x00\x4b\x0c\x4b\xf7\x5f\xe0"
21830                           "\x89\xca\x94\x66\x11\x21\x97\xca"
21831                           "\x3e\x83\x74\x2d\xdb\x4d\x11\xeb"
21832                           "\x97\xc2\x14\xff\x9e\x1e\xa0\x6b"
21833                           "\x08\xb4\x31\x2b\x85\xc6\x85\x6c"
21834                           "\x90\xec\x39\xc0\xec\xb3\xb5\x4e"
21835                           "\xf3\x9c\xe7\x83\x3a\x77\x0a\xf4"
21836                           "\x56\xfe\xce\x18\x33\x6d\x0b\x2d"
21837                           "\x33\xda\xc8\x05\x5c\xb4\x09\x2a"
21838                           "\xde\x6b\x52\x98\x01\xef\x36\x3d"
21839                           "\xbd\xf9\x8f\xa8\x3e\xaa\xcd\xd1"
21840                           "\x01\x2d\x42\x49\xc3\xb6\x84\xbb"
21841                           "\x48\x96\xe0\x90\x93\x6c\x48\x64"
21842                           "\xd4\xfa\x7f\x93\x2c\xa6\x21\xc8"
21843                           "\x7a\x23\x7b\xaa\x20\x56\x12\xae"
21844                           "\x16\x9d\x94\x0f\x54\xa1\xec\xca"
21845                           "\x51\x4e\xf2\x39\xf4\xf8\x5f\x04"
21846                           "\x5a\x0d\xbf\xf5\x83\xa1\x15\xe1"
21847                           "\xf5\x3c\xd8\x62\xa3\xed\x47\x89"
21848                           "\x85\x4c\xe5\xdb\xac\x9e\x17\x1d"
21849                           "\x0c\x09\xe3\x3e\x39\x5b\x4d\x74"
21850                           "\x0e\xf5\x34\xee\x70\x11\x4c\xfd"
21851                           "\xdb\x34\xb1\xb5\x10\x3f\x73\xb7"
21852                           "\xf5\xfa\xed\xb0\x1f\xa5\xcd\x3c"
21853                           "\x8d\x35\x83\xd4\x11\x44\x6e\x6c"
21854                           "\x5b\xe0\x0e\x69\xa5\x39\xe5\xbb"
21855                           "\xa9\x57\x24\x37\xe6\x1f\xdd\xcf"
21856                           "\x16\x2a\x13\xf9\x6a\x2d\x90\xa0"
21857                           "\x03\x60\x7a\xed\x69\xd5\x00\x8b"
21858                           "\x7e\x4f\xcb\xb9\xfa\x91\xb9\x37"
21859                           "\xc1\x26\xce\x90\x97\x22\x64\x64"
21860                           "\xc1\x72\x43\x1b\xf6\xac\xc1\x54"
21861                           "\x8a\x10\x9c\xdd\x8d\xd5\x8e\xb2"
21862                           "\xe4\x85\xda\xe0\x20\x5f\xf4\xb4"
21863                           "\x15\xb5\xa0\x8d\x12\x74\x49\x23"
21864                           "\x3a\xdf\x4a\xd3\xf0\x3b\x89\xeb"
21865                           "\xf8\xcc\x62\x7b\xfb\x93\x07\x41"
21866                           "\x61\x26\x94\x58\x70\xa6\x3c\xe4"
21867                           "\xff\x58\xc4\x13\x3d\xcb\x36\x6b"
21868                           "\x32\xe5\xb2\x6d\x03\x74\x6f\x76"
21869                           "\x93\x77\xde\x48\xc4\xfa\x30\x4a"
21870                           "\xda\x49\x80\x77\x0f\x1c\xbe\x11"
21871                           "\xc8\x48\xb1\xe5\xbb\xf2\x8a\xe1"
21872                           "\x96\x2f\x9f\xd1\x8e\x8a\x5c\xe2"
21873                           "\xf7\xd7\xd8\x54\xf3\x3f\xc4\x91"
21874                           "\xb8\xfb\x86\xdc\x46\x24\x91\x60"
21875                           "\x6c\x2f\xc9\x41\x37\x51\x49\x54"
21876                           "\x09\x81\x21\xf3\x03\x9f\x2b\xe3"
21877                           "\x1f\x39\x63\xaf\xf4\xd7\x53\x60"
21878                           "\xa7\xc7\x54\xf9\xee\xb1\xb1\x7d"
21879                           "\x75\x54\x65\x93\xfe\xb1\x68\x6b"
21880                           "\x57\x02\xf9\xbb\x0e\xf9\xf8\xbf"
21881                           "\x01\x12\x27\xb4\xfe\xe4\x79\x7a"
21882                           "\x40\x5b\x51\x4b\xdf\x38\xec\xb1"
21883                           "\x6a\x56\xff\x35\x4d\x42\x33\xaa"
21884                           "\x6f\x1b\xe4\xdc\xe0\xdb\x85\x35"
21885                           "\x62\x10\xd4\xec\xeb\xc5\x7e\x45"
21886                           "\x1c\x6f\x17\xca\x3b\x8e\x2d\x66"
21887                           "\x4f\x4b\x36\x56\xcd\x1b\x59\xaa"
21888                           "\xd2\x9b\x17\xb9\x58\xdf\x7b\x64"
21889                           "\x8a\xff\x3b\x9c\xa6\xb5\x48\x9e"
21890                           "\xaa\xe2\x5d\x09\x71\x32\x5f\xb6"
21891                           "\x29\xbe\xe7\xc7\x52\x7e\x91\x82"
21892                           "\x6b\x6d\x33\xe1\x34\x06\x36\x21"
21893                           "\x5e\xbe\x1e\x2f\x3e\xc1\xfb\xea"
21894                           "\x49\x2c\xb5\xca\xf7\xb0\x37\xea"
21895                           "\x1f\xed\x10\x04\xd9\x48\x0d\x1a"
21896                           "\x1c\xfb\xe7\x84\x0e\x83\x53\x74"
21897                           "\xc7\x65\xe2\x5c\xe5\xba\x73\x4c"
21898                           "\x0e\xe1\xb5\x11\x45\x61\x43\x46"
21899                           "\xaa\x25\x8f\xbd\x85\x08\xfa\x4c"
21900                           "\x15\xc1\xc0\xd8\xf5\xdc\x16\xbb"
21901                           "\x7b\x1d\xe3\x87\x57\xa7\x2a\x1d"
21902                           "\x38\x58\x9e\x8a\x43\xdc\x57"
21903                           "\xd1\x81\x7d\x2b\xe9\xff\x99\x3a"
21904                           "\x4b\x24\x52\x58\x55\xe1\x49\x14",
21905                 .clen   = 735,
21906         }
21907 };
21908
21909 static const struct aead_testvec aes_gcm_rfc4106_tv_template[] = {
21910         { /* Generated using Crypto++ */
21911                 .key    = zeroed_string,
21912                 .klen   = 20,
21913                 .iv     = zeroed_string,
21914                 .ptext  = zeroed_string,
21915                 .plen   = 16,
21916                 .assoc  = zeroed_string,
21917                 .alen   = 16,
21918                 .ctext  = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
21919                           "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
21920                           "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
21921                           "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
21922                 .clen   = 32,
21923         },{
21924                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21925                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21926                           "\x00\x00\x00\x00",
21927                 .klen   = 20,
21928                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21929                 .ptext  = zeroed_string,
21930                 .plen   = 16,
21931                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
21932                           "\x00\x00\x00\x00\x00\x00\x00\x01",
21933                 .alen   = 16,
21934                 .ctext  = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
21935                           "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
21936                           "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
21937                           "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
21938                 .clen   = 32,
21939
21940         }, {
21941                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21942                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21943                           "\x00\x00\x00\x00",
21944                 .klen   = 20,
21945                 .iv     = zeroed_string,
21946                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21947                           "\x01\x01\x01\x01\x01\x01\x01\x01",
21948                 .plen   = 16,
21949                 .assoc  = zeroed_string,
21950                 .alen   = 16,
21951                 .ctext  = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21952                           "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21953                           "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
21954                           "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
21955                 .clen   = 32,
21956         }, {
21957                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21958                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21959                           "\x00\x00\x00\x00",
21960                 .klen   = 20,
21961                 .iv     = zeroed_string,
21962                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21963                           "\x01\x01\x01\x01\x01\x01\x01\x01",
21964                 .plen   = 16,
21965                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21966                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21967                 .alen   = 16,
21968                 .ctext  = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21969                           "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21970                           "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
21971                           "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
21972                 .clen   = 32,
21973         }, {
21974                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21975                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21976                           "\x00\x00\x00\x00",
21977                 .klen   = 20,
21978                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21979                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21980                           "\x01\x01\x01\x01\x01\x01\x01\x01",
21981                 .plen   = 16,
21982                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21983                           "\x00\x00\x00\x00\x00\x00\x00\x01",
21984                 .alen   = 16,
21985                 .ctext  = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21986                           "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21987                           "\x64\x50\xF9\x32\x13\xFB\x74\x61"
21988                           "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
21989                 .clen   = 32,
21990         }, {
21991                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21992                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21993                           "\x00\x00\x00\x00",
21994                 .klen   = 20,
21995                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21996                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21997                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21998                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21999                           "\x01\x01\x01\x01\x01\x01\x01\x01"
22000                           "\x01\x01\x01\x01\x01\x01\x01\x01"
22001                           "\x01\x01\x01\x01\x01\x01\x01\x01"
22002                           "\x01\x01\x01\x01\x01\x01\x01\x01"
22003                           "\x01\x01\x01\x01\x01\x01\x01\x01",
22004                 .plen   = 64,
22005                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
22006                           "\x00\x00\x00\x00\x00\x00\x00\x01",
22007                 .alen   = 16,
22008                 .ctext  = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
22009                           "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
22010                           "\x98\x14\xA1\x42\x37\x80\xFD\x90"
22011                           "\x68\x12\x01\xA8\x91\x89\xB9\x83"
22012                           "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
22013                           "\x94\x5F\x18\x12\xBA\x27\x09\x39"
22014                           "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
22015                           "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
22016                           "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
22017                           "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
22018                 .clen   = 80,
22019         }, {
22020                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
22021                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22022                           "\x00\x00\x00\x00",
22023                 .klen   = 20,
22024                 .iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
22025                 .ptext  = "\xff\xff\xff\xff\xff\xff\xff\xff"
22026                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22027                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22028                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22029                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22030                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22031                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22032                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22033                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22034                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22035                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22036                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22037                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22038                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22039                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22040                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22041                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22042                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22043                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22044                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22045                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22046                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22047                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22048                           "\xff\xff\xff\xff\xff\xff\xff\xff",
22049                 .plen   = 192,
22050                 .assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
22051                           "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
22052                           "\x89\xab\xcd\xef",
22053                 .alen   = 20,
22054                 .ctext  = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
22055                           "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
22056                           "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
22057                           "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
22058                           "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
22059                           "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
22060                           "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
22061                           "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
22062                           "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
22063                           "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
22064                           "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
22065                           "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
22066                           "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
22067                           "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
22068                           "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
22069                           "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
22070                           "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
22071                           "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
22072                           "\x7E\x13\x06\x82\x08\x17\xA4\x35"
22073                           "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
22074                           "\xA3\x05\x38\x95\x20\x1A\x47\x04"
22075                           "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
22076                           "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
22077                           "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
22078                           "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
22079                           "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
22080                 .clen   = 208,
22081         }, { /* From draft-mcgrew-gcm-test-01 */
22082                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22083                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22084                           "\x2E\x44\x3B\x68",
22085                 .klen   = 20,
22086                 .iv     = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
22087                 .ptext  = "\x45\x00\x00\x48\x69\x9A\x00\x00"
22088                           "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
22089                           "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
22090                           "\x38\xD3\x01\x00\x00\x01\x00\x00"
22091                           "\x00\x00\x00\x00\x04\x5F\x73\x69"
22092                           "\x70\x04\x5F\x75\x64\x70\x03\x73"
22093                           "\x69\x70\x09\x63\x79\x62\x65\x72"
22094                           "\x63\x69\x74\x79\x02\x64\x6B\x00"
22095                           "\x00\x21\x00\x01\x01\x02\x02\x01",
22096                 .plen   = 72,
22097                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
22098                           "\x00\x00\x00\x00\x49\x56\xED\x7E"
22099                           "\x3B\x24\x4C\xFE",
22100                 .alen   = 20,
22101                 .ctext  = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
22102                           "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
22103                           "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
22104                           "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
22105                           "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
22106                           "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
22107                           "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
22108                           "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
22109                           "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
22110                           "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
22111                           "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
22112                 .clen   = 88,
22113         }, {
22114                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22115                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22116                           "\xCA\xFE\xBA\xBE",
22117                 .klen   = 20,
22118                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22119                 .ptext  = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
22120                           "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
22121                           "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
22122                           "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
22123                           "\x00\x01\x00\x00\x00\x00\x00\x00"
22124                           "\x03\x73\x69\x70\x09\x63\x79\x62"
22125                           "\x65\x72\x63\x69\x74\x79\x02\x64"
22126                           "\x6B\x00\x00\x01\x00\x01\x00\x01",
22127                 .plen   = 64,
22128                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22129                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22130                 .alen   = 16,
22131                 .ctext  = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
22132                           "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
22133                           "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
22134                           "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
22135                           "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
22136                           "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
22137                           "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
22138                           "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
22139                           "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
22140                           "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
22141                 .clen   = 80,
22142         }, {
22143                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22144                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22145                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22146                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22147                           "\x11\x22\x33\x44",
22148                 .klen   = 36,
22149                 .iv     = "\x01\x02\x03\x04\x05\x06\x07\x08",
22150                 .ptext  = "\x45\x00\x00\x30\x69\xA6\x40\x00"
22151                           "\x80\x06\x26\x90\xC0\xA8\x01\x02"
22152                           "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
22153                           "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
22154                           "\x70\x02\x40\x00\x20\xBF\x00\x00"
22155                           "\x02\x04\x05\xB4\x01\x01\x04\x02"
22156                           "\x01\x02\x02\x01",
22157                 .plen   = 52,
22158                 .assoc  = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
22159                           "\x01\x02\x03\x04\x05\x06\x07\x08",
22160                 .alen   = 16,
22161                 .ctext  = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
22162                           "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
22163                           "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
22164                           "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
22165                           "\x74\x8A\x63\x79\x85\x77\x1D\x34"
22166                           "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
22167                           "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
22168                           "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
22169                           "\x15\x95\x6C\x96",
22170                 .clen   = 68,
22171         }, {
22172                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
22173                           "\x00\x00\x00\x00\x00\x00\x00\x00"
22174                           "\x00\x00\x00\x00",
22175                 .klen   = 20,
22176                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
22177                 .ptext  = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
22178                           "\x80\x01\xCB\x7A\x40\x67\x93\x18"
22179                           "\x01\x01\x01\x01\x08\x00\x07\x5C"
22180                           "\x02\x00\x44\x00\x61\x62\x63\x64"
22181                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22182                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22183                           "\x75\x76\x77\x61\x62\x63\x64\x65"
22184                           "\x66\x67\x68\x69\x01\x02\x02\x01",
22185                 .plen   = 64,
22186                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x01"
22187                           "\x00\x00\x00\x00\x00\x00\x00\x00",
22188                 .alen   = 16,
22189                 .ctext  = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
22190                           "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
22191                           "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
22192                           "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
22193                           "\x45\x64\x76\x49\x27\x19\xFF\xB6"
22194                           "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
22195                           "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
22196                           "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
22197                           "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
22198                           "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
22199                 .clen   = 80,
22200         }, {
22201                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22202                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22203                           "\x57\x69\x0E\x43",
22204                 .klen   = 20,
22205                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22206                 .ptext  = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
22207                           "\x80\x01\xCB\x7C\x40\x67\x93\x18"
22208                           "\x01\x01\x01\x01\x08\x00\x08\x5C"
22209                           "\x02\x00\x43\x00\x61\x62\x63\x64"
22210                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22211                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22212                           "\x75\x76\x77\x61\x62\x63\x64\x65"
22213                           "\x66\x67\x68\x69\x01\x02\x02\x01",
22214                 .plen   = 64,
22215                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22216                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
22217                           "\xA2\xFC\xA1\xA3",
22218                 .alen   = 20,
22219                 .ctext  = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
22220                           "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
22221                           "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
22222                           "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
22223                           "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
22224                           "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
22225                           "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
22226                           "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
22227                           "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
22228                           "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
22229                 .clen   = 80,
22230         }, {
22231                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22232                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22233                           "\x57\x69\x0E\x43",
22234                 .klen   = 20,
22235                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22236                 .ptext  = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
22237                           "\x80\x01\x44\x1F\x40\x67\x93\xB6"
22238                           "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
22239                           "\x01\x02\x02\x01",
22240                 .plen   = 28,
22241                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22242                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
22243                           "\xA2\xFC\xA1\xA3",
22244                 .alen   = 20,
22245                 .ctext  = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
22246                           "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
22247                           "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
22248                           "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
22249                           "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
22250                           "\xE7\xD0\x5D\x35",
22251                 .clen   = 44,
22252         }, {
22253                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22254                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22255                           "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22256                           "\xCA\xFE\xBA\xBE",
22257                 .klen   = 28,
22258                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22259                 .ptext  = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
22260                           "\x40\x06\x78\x80\x0A\x01\x03\x8F"
22261                           "\x0A\x01\x06\x12\x80\x23\x06\xB8"
22262                           "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
22263                           "\x50\x10\x16\xD0\x75\x68\x00\x01",
22264                 .plen   = 40,
22265                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22266                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22267                 .alen   = 16,
22268                 .ctext  = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
22269                           "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
22270                           "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
22271                           "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
22272                           "\x31\x5B\x27\x45\x21\x44\xCC\x77"
22273                           "\x95\x45\x7B\x96\x52\x03\x7F\x53"
22274                           "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
22275                 .clen   = 56,
22276         }, {
22277                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22278                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22279                           "\xDE\xCA\xF8\x88",
22280                 .klen   = 20,
22281                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22282                 .ptext  = "\x45\x00\x00\x49\x33\xBA\x00\x00"
22283                           "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
22284                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22285                           "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
22286                           "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
22287                           "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
22288                           "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
22289                           "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
22290                           "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
22291                           "\x23\x01\x01\x01",
22292                 .plen   = 76,
22293                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
22294                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22295                           "\xCE\xFA\xCE\x74",
22296                 .alen   = 20,
22297                 .ctext  = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
22298                           "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
22299                           "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
22300                           "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
22301                           "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
22302                           "\x84\xE6\x58\x63\x96\x5D\x74\x72"
22303                           "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
22304                           "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
22305                           "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
22306                           "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
22307                           "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
22308                           "\x69\x62\x34\x36",
22309                 .clen   = 92,
22310         }, {
22311                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22312                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22313                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22314                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22315                           "\x73\x61\x6C\x74",
22316                 .klen   = 36,
22317                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
22318                 .ptext  = "\x45\x08\x00\x28\x73\x2C\x00\x00"
22319                           "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
22320                           "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
22321                           "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
22322                           "\x50\x10\x1F\x64\x6D\x54\x00\x01",
22323                 .plen   = 40,
22324                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22325                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22326                           "\x69\x76\x65\x63",
22327                 .alen   = 20,
22328                 .ctext  = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
22329                           "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
22330                           "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
22331                           "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
22332                           "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
22333                           "\x45\x16\x26\xC2\x41\x57\x71\xE3"
22334                           "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
22335                 .clen   = 56,
22336         }, {
22337                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22338                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22339                           "\x57\x69\x0E\x43",
22340                 .klen   = 20,
22341                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22342                 .ptext  = "\x45\x00\x00\x49\x33\x3E\x00\x00"
22343                           "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
22344                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22345                           "\x00\x35\xCB\x45\x80\x03\x02\x5B"
22346                           "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
22347                           "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
22348                           "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
22349                           "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
22350                           "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
22351                           "\x15\x01\x01\x01",
22352                 .plen   = 76,
22353                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22354                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
22355                           "\xA2\xFC\xA1\xA3",
22356                 .alen   = 20,
22357                 .ctext  = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
22358                           "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
22359                           "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
22360                           "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
22361                           "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
22362                           "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
22363                           "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
22364                           "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
22365                           "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
22366                           "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
22367                           "\x76\x91\x89\x60\x97\x63\xB8\xE1"
22368                           "\x8C\xAA\x81\xE2",
22369                 .clen   = 92,
22370         }, {
22371                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22372                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22373                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22374                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22375                           "\x73\x61\x6C\x74",
22376                 .klen   = 36,
22377                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
22378                 .ptext  = "\x63\x69\x73\x63\x6F\x01\x72\x75"
22379                           "\x6C\x65\x73\x01\x74\x68\x65\x01"
22380                           "\x6E\x65\x74\x77\x65\x01\x64\x65"
22381                           "\x66\x69\x6E\x65\x01\x74\x68\x65"
22382                           "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
22383                           "\x67\x69\x65\x73\x01\x74\x68\x61"
22384                           "\x74\x77\x69\x6C\x6C\x01\x64\x65"
22385                           "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
22386                           "\x72\x72\x6F\x77\x01\x02\x02\x01",
22387                 .plen   = 72,
22388                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22389                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22390                           "\x69\x76\x65\x63",
22391                 .alen   = 20,
22392                 .ctext  = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
22393                           "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
22394                           "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
22395                           "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
22396                           "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
22397                           "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
22398                           "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
22399                           "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
22400                           "\x12\xA4\x93\x63\x41\x23\x64\xF8"
22401                           "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
22402                           "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
22403                 .clen   = 88,
22404         }, {
22405                 .key    = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
22406                           "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
22407                           "\xD9\x66\x42\x67",
22408                 .klen   = 20,
22409                 .iv     = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22410                 .ptext  = "\x01\x02\x02\x01",
22411                 .plen   = 4,
22412                 .assoc  = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
22413                           "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22414                 .alen   = 16,
22415                 .ctext  = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
22416                           "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
22417                           "\x04\xBE\xF2\x70",
22418                 .clen   = 20,
22419         }, {
22420                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22421                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22422                           "\xDE\xCA\xF8\x88",
22423                 .klen   = 20,
22424                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22425                 .ptext  = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
22426                           "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
22427                           "\x62\x65\x00\x01",
22428                 .plen   = 20,
22429                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
22430                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22431                           "\xCE\xFA\xCE\x74",
22432                 .alen   = 20,
22433                 .ctext  = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
22434                           "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
22435                           "\x43\x33\x21\x64\x41\x25\x03\x52"
22436                           "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
22437                           "\x43\xAF\x8C\x3E",
22438                 .clen   = 36,
22439         }, {
22440                 .key    = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
22441                           "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
22442                           "\x61\x61\x6E\x64\x64\x6F\x69\x74"
22443                           "\x62\x65\x66\x6F\x72\x65\x69\x61"
22444                           "\x74\x75\x72\x6E",
22445                 .klen   = 36,
22446                 .iv     = "\x33\x30\x21\x69\x67\x65\x74\x6D",
22447                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22448                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22449                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22450                           "\x02\x00\x07\x00\x61\x62\x63\x64"
22451                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22452                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22453                           "\x01\x02\x02\x01",
22454                 .plen   = 52,
22455                 .assoc  = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
22456                           "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
22457                           "\x67\x65\x74\x6D",
22458                 .alen   = 20,
22459                 .ctext  = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
22460                           "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
22461                           "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
22462                           "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
22463                           "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
22464                           "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
22465                           "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
22466                           "\x94\x5F\x66\x93\x68\x66\x1A\x32"
22467                           "\x9F\xB4\xC0\x53",
22468                 .clen   = 68,
22469         }, {
22470                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22471                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22472                           "\x57\x69\x0E\x43",
22473                 .klen   = 20,
22474                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22475                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22476                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22477                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22478                           "\x02\x00\x07\x00\x61\x62\x63\x64"
22479                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22480                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22481                           "\x01\x02\x02\x01",
22482                 .plen   = 52,
22483                 .assoc  = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
22484                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
22485                           "\xA2\xFC\xA1\xA3",
22486                 .alen   = 20,
22487                 .ctext  = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
22488                           "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
22489                           "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
22490                           "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
22491                           "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
22492                           "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
22493                           "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
22494                           "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
22495                           "\x40\xD7\xCB\x05",
22496                 .clen   = 68,
22497         }, {
22498                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22499                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22500                           "\x22\x43\x3C\x64",
22501                 .klen   = 20,
22502                 .iv     = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
22503                 .ptext  = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
22504                           "\x61\x62\x63\x64\x65\x66\x67\x68"
22505                           "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
22506                           "\x71\x72\x73\x74\x01\x02\x02\x01",
22507                 .plen   = 32,
22508                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
22509                           "\x00\x00\x00\x07\x48\x55\xEC\x7D"
22510                           "\x3A\x23\x4B\xFD",
22511                 .alen   = 20,
22512                 .ctext  = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
22513                           "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
22514                           "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
22515                           "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
22516                           "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
22517                           "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
22518                 .clen   = 48,
22519         }
22520 };
22521
22522 static const struct aead_testvec aes_gcm_rfc4543_tv_template[] = {
22523         { /* From draft-mcgrew-gcm-test-01 */
22524                 .key    = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22525                           "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22526                           "\x22\x43\x3c\x64",
22527                 .klen   = 20,
22528                 .iv     = zeroed_string,
22529                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x07"
22530                           "\x00\x00\x00\x00\x00\x00\x00\x00",
22531                 .alen   = 16,
22532                 .ptext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
22533                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22534                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22535                           "\x02\x00\x07\x00\x61\x62\x63\x64"
22536                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22537                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22538                           "\x01\x02\x02\x01",
22539                 .plen   = 52,
22540                 .ctext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
22541                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22542                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22543                           "\x02\x00\x07\x00\x61\x62\x63\x64"
22544                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22545                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22546                           "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22547                           "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22548                           "\xe4\x09\x9a\xaa",
22549                 .clen   = 68,
22550         }, { /* nearly same as previous, but should fail */
22551                 .key    = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22552                           "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22553                           "\x22\x43\x3c\x64",
22554                 .klen   = 20,
22555                 .iv     = zeroed_string,
22556                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x07"
22557                           "\x00\x00\x00\x00\x00\x00\x00\x00",
22558                 .alen   = 16,
22559                 .ptext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
22560                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22561                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22562                           "\x02\x00\x07\x00\x61\x62\x63\x64"
22563                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22564                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22565                           "\x01\x02\x02\x01",
22566                 .plen   = 52,
22567                 .novrfy = 1,
22568                 .ctext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
22569                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22570                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22571                           "\x02\x00\x07\x00\x61\x62\x63\x64"
22572                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22573                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22574                           "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22575                           "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22576                           "\x00\x00\x00\x00",
22577                 .clen   = 68,
22578         },
22579 };
22580
22581 static const struct aead_testvec aes_ccm_tv_template[] = {
22582         { /* From RFC 3610 */
22583                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22584                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22585                 .klen   = 16,
22586                 .iv     = "\x01\x00\x00\x00\x03\x02\x01\x00"
22587                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22588                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07",
22589                 .alen   = 8,
22590                 .ptext  = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22591                           "\x10\x11\x12\x13\x14\x15\x16\x17"
22592                           "\x18\x19\x1a\x1b\x1c\x1d\x1e",
22593                 .plen   = 23,
22594                 .ctext  = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
22595                           "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
22596                           "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
22597                           "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
22598                 .clen   = 31,
22599         }, {
22600                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22601                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22602                 .klen   = 16,
22603                 .iv     = "\x01\x00\x00\x00\x07\x06\x05\x04"
22604                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22605                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
22606                           "\x08\x09\x0a\x0b",
22607                 .alen   = 12,
22608                 .ptext  = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22609                           "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22610                           "\x1c\x1d\x1e\x1f",
22611                 .plen   = 20,
22612                 .ctext  = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
22613                           "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
22614                           "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
22615                           "\x7d\x9c\x2d\x93",
22616                 .clen   = 28,
22617         }, {
22618                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22619                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22620                 .klen   = 16,
22621                 .iv     = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
22622                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22623                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07",
22624                 .alen   = 8,
22625                 .ptext  = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22626                           "\x10\x11\x12\x13\x14\x15\x16\x17"
22627                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
22628                           "\x20",
22629                 .plen   = 25,
22630                 .ctext  = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
22631                           "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
22632                           "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
22633                           "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
22634                           "\x7e\x5f\x4e",
22635                 .clen   = 35,
22636         }, {
22637                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22638                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22639                 .klen   = 16,
22640                 .iv     = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
22641                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22642                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
22643                           "\x08\x09\x0a\x0b",
22644                 .alen   = 12,
22645                 .ptext  = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22646                           "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22647                           "\x1c\x1d\x1e",
22648                 .plen   = 19,
22649                 .ctext  = "\x07\x34\x25\x94\x15\x77\x85\x15"
22650                           "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
22651                           "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
22652                           "\x4d\x99\x99\x88\xdd",
22653                 .clen   = 29,
22654         }, {
22655                 .key    = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22656                           "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22657                 .klen   = 16,
22658                 .iv     = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
22659                           "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22660                 .assoc  = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
22661                 .alen   = 8,
22662                 .ptext  = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
22663                           "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
22664                           "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
22665                 .plen   = 24,
22666                 .ctext  = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
22667                           "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
22668                           "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
22669                           "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
22670                 .clen   = 32,
22671         }, {
22672                 .key    = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22673                           "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22674                 .klen   = 16,
22675                 .iv     = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
22676                           "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22677                 .assoc  = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
22678                           "\x20\xea\x60\xc0",
22679                 .alen   = 12,
22680                 .ptext  = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
22681                           "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
22682                           "\x3a\x80\x3b\xa8\x7f",
22683                 .plen   = 21,
22684                 .ctext  = "\x00\x97\x69\xec\xab\xdf\x48\x62"
22685                           "\x55\x94\xc5\x92\x51\xe6\x03\x57"
22686                           "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
22687                           "\x5a\xe0\x70\x45\x51",
22688                 .clen   = 29,
22689         }, {
22690                 .key    = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22691                           "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22692                 .klen   = 16,
22693                 .iv     = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
22694                           "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22695                 .assoc  = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
22696                 .alen   = 8,
22697                 .ptext  = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
22698                           "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
22699                           "\x98\x09\xd6\x7d\xbe\xdd\x18",
22700                 .plen   = 23,
22701                 .ctext  = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
22702                           "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
22703                           "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
22704                           "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
22705                           "\xba",
22706                 .clen   = 33,
22707         }, {
22708                 /* This is taken from FIPS CAVS. */
22709                 .key    = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
22710                           "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
22711                 .klen   = 16,
22712                 .iv     = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
22713                 .alen   = 0,
22714                 .ptext  = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
22715                           "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
22716                           "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
22717                           "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
22718                 .plen   = 32,
22719                 .ctext  = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
22720                           "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
22721                           "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
22722                           "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
22723                           "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
22724                           "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
22725                 .clen   = 48,
22726         }, {
22727                 .key    = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
22728                           "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
22729                 .klen   = 16,
22730                 .iv     = "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
22731                           "\x30\x60\x15\x56\x00\x00\x00\x00",
22732                 .assoc  = "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
22733                           "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
22734                           "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
22735                           "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
22736                 .alen   = 32,
22737                 .ptext  = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
22738                           "\xa9\x28\x63\xba\x12\xa3\x14\x85"
22739                           "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
22740                           "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
22741                 .plen   = 32,
22742                 .ctext  = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
22743                           "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
22744                           "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
22745                           "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
22746                           "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
22747                           "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
22748                 .clen   = 48,
22749         }, {
22750                 .key    = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
22751                           "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
22752                           "\x53\x14\x73\x66\x8d\x88\xf6\x80",
22753                 .klen   = 24,
22754                 .iv     = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
22755                           "\x50\x20\xda\xe2\x00\x00\x00\x00",
22756                 .assoc  = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
22757                           "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
22758                           "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
22759                           "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
22760                 .alen   = 32,
22761                 .ctext  = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
22762                           "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
22763                 .clen   = 16,
22764         }, {
22765                 .key    = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
22766                           "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
22767                           "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
22768                 .klen   = 24,
22769                 .iv     = "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
22770                           "\xef\x09\x2e\x94\x00\x00\x00\x00",
22771                 .assoc  = "\x02\x65\x78\x3c\xe9\x21\x30\x91"
22772                           "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
22773                           "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
22774                           "\xe3\x00\x73\x69\x84\x69\x87\x79",
22775                 .alen   = 32,
22776                 .ptext  = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
22777                           "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
22778                           "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
22779                           "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
22780                 .plen   = 32,
22781                 .ctext  = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
22782                           "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
22783                           "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
22784                           "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
22785                           "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
22786                           "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
22787                 .clen   = 48,
22788         }, {
22789                 .key    = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
22790                           "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
22791                           "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
22792                           "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
22793                 .klen   = 32,
22794                 .iv     = "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
22795                           "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
22796                 .assoc  = "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
22797                           "\x78\x2b\x94\x02\x29\x0f\x42\x27"
22798                           "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
22799                           "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
22800                 .alen   = 32,
22801                 .ptext  = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
22802                           "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
22803                           "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
22804                           "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
22805                 .plen   = 32,
22806                 .ctext  = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
22807                           "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
22808                           "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
22809                           "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
22810                           "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
22811                 .clen   = 40,
22812         }, {
22813                 .key    = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
22814                           "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
22815                           "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
22816                           "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
22817                 .klen   = 32,
22818                 .iv     = "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
22819                           "\x43\xf6\x1e\x50\0\0\0\0",
22820                 .assoc  = "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
22821                           "\x13\x02\x01\x0c\x83\x4c\x96\x35"
22822                           "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
22823                           "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
22824                 .alen   = 32,
22825                 .ptext  = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
22826                           "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
22827                           "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
22828                           "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
22829                 .plen   = 32,
22830                 .ctext  = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
22831                           "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
22832                           "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
22833                           "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
22834                           "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
22835                           "\x7b\x72\x8a\xf7",
22836                 .clen   = 44,
22837         }, {
22838                 .key    = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
22839                           "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
22840                           "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
22841                           "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
22842                 .klen   = 32,
22843                 .iv     = "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
22844                           "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
22845                 .assoc  = "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
22846                           "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
22847                           "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
22848                           "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
22849                 .alen   = 32,
22850                 .ptext  = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
22851                           "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
22852                           "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
22853                           "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
22854                 .plen   = 32,
22855                 .ctext  = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
22856                           "\xef\xbb\x80\x21\x04\x6c\x58\x09"
22857                           "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
22858                           "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
22859                           "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
22860                           "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
22861                 .clen   = 48,
22862         }, {
22863                 /* This is taken from FIPS CAVS. */
22864                 .key    = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
22865                           "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
22866                 .klen   = 16,
22867                 .iv     = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
22868                           "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
22869                 .alen   = 0,
22870                 .ptext  = "\x00",
22871                 .plen   = 0,
22872                 .ctext  = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
22873                 .clen   = 8,
22874                 .novrfy = 1,
22875         }, {
22876                 .key    = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
22877                           "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
22878                 .klen   = 16,
22879                 .iv     = "\x03\xaf\x94\x87\x78\x35\x82\x81"
22880                           "\x7f\x88\x94\x68\x00\x00\x00\x00",
22881                 .alen   = 0,
22882                 .ptext  = "\x00",
22883                 .plen   = 0,
22884                 .ctext  = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
22885                 .clen   = 8,
22886         }, {
22887                 .key    = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
22888                           "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
22889                 .klen   = 16,
22890                 .iv     = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
22891                           "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
22892                 .assoc  = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
22893                           "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
22894                           "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
22895                           "\xd8\x94\x99\x91\x81\x54\x62\x57",
22896                 .alen   = 32,
22897                 .ptext  = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
22898                           "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
22899                           "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
22900                           "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
22901                 .plen   = 32,
22902                 .ctext  = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
22903                           "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
22904                           "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
22905                           "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
22906                           "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
22907                           "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
22908                 .clen   = 48,
22909                 .novrfy = 1,
22910         }, {
22911                 .key    = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
22912                           "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
22913                 .klen   = 16,
22914                 .iv     = "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
22915                           "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
22916                 .assoc  = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
22917                           "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
22918                           "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
22919                           "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
22920                 .alen   = 32,
22921                 .ptext  = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
22922                           "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
22923                           "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
22924                           "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
22925                 .plen   = 32,
22926                 .ctext  = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
22927                           "\xad\x83\x52\x6d\x71\x03\x25\x1c"
22928                           "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
22929                           "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
22930                           "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
22931                           "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
22932                 .clen   = 48,
22933         }, {
22934                 .key    = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
22935                           "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
22936                           "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
22937                 .klen   = 24,
22938                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
22939                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
22940                 .assoc  = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
22941                           "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
22942                           "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
22943                           "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
22944                 .alen   = 32,
22945                 .ptext  = "\x00",
22946                 .plen   = 0,
22947                 .ctext  = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
22948                 .clen   = 8,
22949         }, {
22950                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
22951                           "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
22952                           "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
22953                 .klen   = 24,
22954                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
22955                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
22956                 .assoc  = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
22957                           "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
22958                           "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
22959                           "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
22960                 .alen   = 32,
22961                 .ptext  = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
22962                           "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
22963                           "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
22964                           "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
22965                 .plen   = 32,
22966                 .ctext  = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
22967                           "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
22968                           "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
22969                           "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
22970                           "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
22971                 .clen   = 40,
22972         }, {
22973                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
22974                           "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
22975                           "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
22976                 .klen   = 24,
22977                 .iv     = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
22978                           "\xad\x71\xaa\x1f\x00\x00\x00\x00",
22979                 .assoc  = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
22980                           "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
22981                           "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
22982                           "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
22983                 .alen   = 32,
22984                 .ptext  = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
22985                           "\x99\x2a\xa8\xca\x04\x25\x45\x90"
22986                           "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
22987                           "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
22988                 .plen   = 32,
22989                 .ctext  = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
22990                           "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
22991                           "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
22992                           "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
22993                           "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
22994                           "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
22995                 .clen   = 48,
22996                 .novrfy = 1,
22997         }, {
22998                 .key    = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
22999                           "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
23000                           "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
23001                           "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
23002                 .klen   = 32,
23003                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23004                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23005                 .alen   = 0,
23006                 .ptext  = "\x00",
23007                 .plen   = 0,
23008                 .ctext  = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
23009                 .clen   = 8,
23010         }, {
23011                 .key    = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
23012                           "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
23013                           "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
23014                           "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
23015                 .klen   = 32,
23016                 .iv     = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
23017                           "\x36\x58\xe0\x6b\x00\x00\x00\x00",
23018                 .alen   = 0,
23019                 .ptext  = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
23020                           "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
23021                           "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
23022                           "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
23023                 .plen   = 32,
23024                 .ctext  = "\x48\x01\x5e\x02\x24\x04\x66\x47"
23025                           "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
23026                           "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
23027                           "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
23028                           "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
23029                           "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
23030                 .clen   = 48,
23031                 .novrfy = 1,
23032         }, {
23033                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23034                           "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23035                           "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
23036                           "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
23037                 .klen   = 32,
23038                 .iv     = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
23039                           "\x44\x89\x40\x7b\x00\x00\x00\x00",
23040                 .assoc  = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
23041                           "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
23042                           "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
23043                           "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
23044                 .alen   = 32,
23045                 .ptext  = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
23046                           "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
23047                           "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
23048                           "\x04\x49\x3b\x19\x93\x57\x25\x5d",
23049                 .plen   = 32,
23050                 .ctext  = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
23051                           "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
23052                           "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
23053                           "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
23054                           "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
23055                           "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
23056                 .clen   = 48,
23057         },
23058 };
23059
23060 /*
23061  * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
23062  * use a 13-byte nonce, we only support an 11-byte nonce.  Worse,
23063  * they use AD lengths which are not valid ESP header lengths.
23064  *
23065  * These vectors are copied/generated from the ones for rfc4106 with
23066  * the key truncated by one byte..
23067  */
23068 static const struct aead_testvec aes_ccm_rfc4309_tv_template[] = {
23069         { /* Generated using Crypto++ */
23070                 .key    = zeroed_string,
23071                 .klen   = 19,
23072                 .iv     = zeroed_string,
23073                 .ptext  = zeroed_string,
23074                 .plen   = 16,
23075                 .assoc  = zeroed_string,
23076                 .alen   = 16,
23077                 .ctext  = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
23078                           "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
23079                           "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
23080                           "\x27\x50\x01\xAC\x03\x33\x39\xFB",
23081                 .clen   = 32,
23082         },{
23083                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23084                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23085                           "\x00\x00\x00",
23086                 .klen   = 19,
23087                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
23088                 .ptext  = zeroed_string,
23089                 .plen   = 16,
23090                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
23091                           "\x00\x00\x00\x00\x00\x00\x00\x01",
23092                 .alen   = 16,
23093                 .ctext  = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
23094                           "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
23095                           "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
23096                           "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
23097                 .clen   = 32,
23098
23099         }, {
23100                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23101                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23102                           "\x00\x00\x00",
23103                 .klen   = 19,
23104                 .iv     = zeroed_string,
23105                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
23106                           "\x01\x01\x01\x01\x01\x01\x01\x01",
23107                 .plen   = 16,
23108                 .assoc  = zeroed_string,
23109                 .alen   = 16,
23110                 .ctext  = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23111                           "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23112                           "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
23113                           "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
23114                 .clen   = 32,
23115         }, {
23116                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23117                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23118                           "\x00\x00\x00",
23119                 .klen   = 19,
23120                 .iv     = zeroed_string,
23121                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
23122                           "\x01\x01\x01\x01\x01\x01\x01\x01",
23123                 .plen   = 16,
23124                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
23125                           "\x00\x00\x00\x00\x00\x00\x00\x00",
23126                 .alen   = 16,
23127                 .ctext  = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23128                           "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23129                           "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
23130                           "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
23131                 .clen   = 32,
23132         }, {
23133                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23134                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23135                           "\x00\x00\x00",
23136                 .klen   = 19,
23137                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
23138                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
23139                           "\x01\x01\x01\x01\x01\x01\x01\x01",
23140                 .plen   = 16,
23141                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
23142                           "\x00\x00\x00\x00\x00\x00\x00\x01",
23143                 .alen   = 16,
23144                 .ctext  = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23145                           "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23146                           "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
23147                           "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
23148                 .clen   = 32,
23149         }, {
23150                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23151                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23152                           "\x00\x00\x00",
23153                 .klen   = 19,
23154                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
23155                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
23156                           "\x01\x01\x01\x01\x01\x01\x01\x01"
23157                           "\x01\x01\x01\x01\x01\x01\x01\x01"
23158                           "\x01\x01\x01\x01\x01\x01\x01\x01"
23159                           "\x01\x01\x01\x01\x01\x01\x01\x01"
23160                           "\x01\x01\x01\x01\x01\x01\x01\x01"
23161                           "\x01\x01\x01\x01\x01\x01\x01\x01"
23162                           "\x01\x01\x01\x01\x01\x01\x01\x01",
23163                 .plen   = 64,
23164                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
23165                           "\x00\x00\x00\x00\x00\x00\x00\x01",
23166                 .alen   = 16,
23167                 .ctext  = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23168                           "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23169                           "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
23170                           "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
23171                           "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
23172                           "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
23173                           "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
23174                           "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
23175                           "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
23176                           "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
23177                 .clen   = 80,
23178         }, {
23179                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
23180                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23181                           "\x00\x00\x00",
23182                 .klen   = 19,
23183                 .iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
23184                 .ptext  = "\xff\xff\xff\xff\xff\xff\xff\xff"
23185                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23186                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23187                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23188                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23189                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23190                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23191                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23192                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23193                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23194                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23195                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23196                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23197                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23198                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23199                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23200                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23201                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23202                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23203                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23204                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23205                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23206                           "\xff\xff\xff\xff\xff\xff\xff\xff"
23207                           "\xff\xff\xff\xff\xff\xff\xff\xff",
23208                 .plen   = 192,
23209                 .assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
23210                           "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
23211                           "\x89\xab\xcd\xef",
23212                 .alen   = 20,
23213                 .ctext  = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
23214                           "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
23215                           "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
23216                           "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
23217                           "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
23218                           "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
23219                           "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
23220                           "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
23221                           "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
23222                           "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
23223                           "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
23224                           "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
23225                           "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
23226                           "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
23227                           "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
23228                           "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
23229                           "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
23230                           "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
23231                           "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
23232                           "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
23233                           "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
23234                           "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
23235                           "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
23236                           "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
23237                           "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
23238                           "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
23239                 .clen   = 208,
23240         }, { /* From draft-mcgrew-gcm-test-01 */
23241                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
23242                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
23243                           "\x2E\x44\x3B",
23244                 .klen   = 19,
23245                 .iv     = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
23246                 .ptext  = "\x45\x00\x00\x48\x69\x9A\x00\x00"
23247                           "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
23248                           "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
23249                           "\x38\xD3\x01\x00\x00\x01\x00\x00"
23250                           "\x00\x00\x00\x00\x04\x5F\x73\x69"
23251                           "\x70\x04\x5F\x75\x64\x70\x03\x73"
23252                           "\x69\x70\x09\x63\x79\x62\x65\x72"
23253                           "\x63\x69\x74\x79\x02\x64\x6B\x00"
23254                           "\x00\x21\x00\x01\x01\x02\x02\x01",
23255                 .plen   = 72,
23256                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
23257                           "\x00\x00\x00\x00\x49\x56\xED\x7E"
23258                           "\x3B\x24\x4C\xFE",
23259                 .alen   = 20,
23260                 .ctext  = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
23261                           "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
23262                           "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
23263                           "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
23264                           "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
23265                           "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
23266                           "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
23267                           "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
23268                           "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
23269                           "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
23270                           "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
23271                 .clen   = 88,
23272         }, {
23273                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23274                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
23275                           "\xCA\xFE\xBA",
23276                 .klen   = 19,
23277                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23278                 .ptext  = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
23279                           "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
23280                           "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
23281                           "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
23282                           "\x00\x01\x00\x00\x00\x00\x00\x00"
23283                           "\x03\x73\x69\x70\x09\x63\x79\x62"
23284                           "\x65\x72\x63\x69\x74\x79\x02\x64"
23285                           "\x6B\x00\x00\x01\x00\x01\x00\x01",
23286                 .plen   = 64,
23287                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
23288                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23289                 .alen   = 16,
23290                 .ctext  = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
23291                           "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
23292                           "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
23293                           "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
23294                           "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
23295                           "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
23296                           "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
23297                           "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
23298                           "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
23299                           "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
23300                 .clen   = 80,
23301         }, {
23302                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23303                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23304                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23305                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23306                           "\x11\x22\x33",
23307                 .klen   = 35,
23308                 .iv     = "\x01\x02\x03\x04\x05\x06\x07\x08",
23309                 .ptext  = "\x45\x00\x00\x30\x69\xA6\x40\x00"
23310                           "\x80\x06\x26\x90\xC0\xA8\x01\x02"
23311                           "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
23312                           "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
23313                           "\x70\x02\x40\x00\x20\xBF\x00\x00"
23314                           "\x02\x04\x05\xB4\x01\x01\x04\x02"
23315                           "\x01\x02\x02\x01",
23316                 .plen   = 52,
23317                 .assoc  = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
23318                           "\x01\x02\x03\x04\x05\x06\x07\x08",
23319                 .alen   = 16,
23320                 .ctext  = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
23321                           "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
23322                           "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
23323                           "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
23324                           "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
23325                           "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
23326                           "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
23327                           "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
23328                           "\x5A\x48\x6A\x3E",
23329                 .clen   = 68,
23330         }, {
23331                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
23332                           "\x00\x00\x00\x00\x00\x00\x00\x00"
23333                           "\x00\x00\x00",
23334                 .klen   = 19,
23335                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
23336                 .ptext  = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
23337                           "\x80\x01\xCB\x7A\x40\x67\x93\x18"
23338                           "\x01\x01\x01\x01\x08\x00\x07\x5C"
23339                           "\x02\x00\x44\x00\x61\x62\x63\x64"
23340                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23341                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23342                           "\x75\x76\x77\x61\x62\x63\x64\x65"
23343                           "\x66\x67\x68\x69\x01\x02\x02\x01",
23344                 .plen   = 64,
23345                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x01"
23346                           "\x00\x00\x00\x00\x00\x00\x00\x00",
23347                 .alen   = 16,
23348                 .ctext  = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
23349                           "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
23350                           "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
23351                           "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
23352                           "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
23353                           "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
23354                           "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
23355                           "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
23356                           "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
23357                           "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
23358                 .clen   = 80,
23359         }, {
23360                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23361                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23362                           "\x57\x69\x0E",
23363                 .klen   = 19,
23364                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23365                 .ptext  = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
23366                           "\x80\x01\xCB\x7C\x40\x67\x93\x18"
23367                           "\x01\x01\x01\x01\x08\x00\x08\x5C"
23368                           "\x02\x00\x43\x00\x61\x62\x63\x64"
23369                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23370                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23371                           "\x75\x76\x77\x61\x62\x63\x64\x65"
23372                           "\x66\x67\x68\x69\x01\x02\x02\x01",
23373                 .plen   = 64,
23374                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23375                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
23376                           "\xA2\xFC\xA1\xA3",
23377                 .alen   = 20,
23378                 .ctext  = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
23379                           "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
23380                           "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
23381                           "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
23382                           "\x79\x01\x58\x50\x01\x06\xE1\xE0"
23383                           "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
23384                           "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
23385                           "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
23386                           "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
23387                           "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
23388                 .clen   = 80,
23389         }, {
23390                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23391                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23392                           "\x57\x69\x0E",
23393                 .klen   = 19,
23394                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23395                 .ptext  = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
23396                           "\x80\x01\x44\x1F\x40\x67\x93\xB6"
23397                           "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
23398                           "\x01\x02\x02\x01",
23399                 .plen   = 28,
23400                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23401                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
23402                           "\xA2\xFC\xA1\xA3",
23403                 .alen   = 20,
23404                 .ctext  = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
23405                           "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
23406                           "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
23407                           "\xA1\xE5\x90\x40\x05\x37\x45\x70"
23408                           "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
23409                           "\x08\xB4\x22\xE4",
23410                 .clen   = 44,
23411         }, {
23412                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23413                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
23414                           "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23415                           "\xCA\xFE\xBA",
23416                 .klen   = 27,
23417                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23418                 .ptext  = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
23419                           "\x40\x06\x78\x80\x0A\x01\x03\x8F"
23420                           "\x0A\x01\x06\x12\x80\x23\x06\xB8"
23421                           "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
23422                           "\x50\x10\x16\xD0\x75\x68\x00\x01",
23423                 .plen   = 40,
23424                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
23425                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23426                 .alen   = 16,
23427                 .ctext  = "\x05\x22\x15\xD1\x52\x56\x85\x04"
23428                           "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
23429                           "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
23430                           "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
23431                           "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
23432                           "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
23433                           "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
23434                 .clen   = 56,
23435         }, {
23436                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23437                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23438                           "\xDE\xCA\xF8",
23439                 .klen   = 19,
23440                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
23441                 .ptext  = "\x45\x00\x00\x49\x33\xBA\x00\x00"
23442                           "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
23443                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
23444                           "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
23445                           "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
23446                           "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
23447                           "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
23448                           "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
23449                           "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
23450                           "\x23\x01\x01\x01",
23451                 .plen   = 76,
23452                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
23453                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
23454                           "\xCE\xFA\xCE\x74",
23455                 .alen   = 20,
23456                 .ctext  = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
23457                           "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
23458                           "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
23459                           "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
23460                           "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
23461                           "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
23462                           "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
23463                           "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
23464                           "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
23465                           "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
23466                           "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
23467                           "\x12\x25\x0B\xF9",
23468                 .clen   = 92,
23469         }, {
23470                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23471                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23472                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23473                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23474                           "\x73\x61\x6C",
23475                 .klen   = 35,
23476                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
23477                 .ptext  = "\x45\x08\x00\x28\x73\x2C\x00\x00"
23478                           "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
23479                           "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
23480                           "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
23481                           "\x50\x10\x1F\x64\x6D\x54\x00\x01",
23482                 .plen   = 40,
23483                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
23484                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
23485                           "\x69\x76\x65\x63",
23486                 .alen   = 20,
23487                 .ctext  = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
23488                           "\x2C\x64\x87\x46\x1E\x34\x10\x05"
23489                           "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
23490                           "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
23491                           "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
23492                           "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
23493                           "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
23494                 .clen   = 56,
23495         }, {
23496                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23497                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23498                           "\x57\x69\x0E",
23499                 .klen   = 19,
23500                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23501                 .ptext  = "\x45\x00\x00\x49\x33\x3E\x00\x00"
23502                           "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
23503                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
23504                           "\x00\x35\xCB\x45\x80\x03\x02\x5B"
23505                           "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
23506                           "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
23507                           "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
23508                           "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
23509                           "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
23510                           "\x15\x01\x01\x01",
23511                 .plen   = 76,
23512                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23513                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
23514                           "\xA2\xFC\xA1\xA3",
23515                 .alen   = 20,
23516                 .ctext  = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
23517                           "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
23518                           "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
23519                           "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
23520                           "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
23521                           "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
23522                           "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
23523                           "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
23524                           "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
23525                           "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
23526                           "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
23527                           "\xCC\xF7\x46\x6F",
23528                 .clen   = 92,
23529         }, {
23530                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23531                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23532                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23533                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23534                           "\x73\x61\x6C",
23535                 .klen   = 35,
23536                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
23537                 .ptext  = "\x63\x69\x73\x63\x6F\x01\x72\x75"
23538                           "\x6C\x65\x73\x01\x74\x68\x65\x01"
23539                           "\x6E\x65\x74\x77\x65\x01\x64\x65"
23540                           "\x66\x69\x6E\x65\x01\x74\x68\x65"
23541                           "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
23542                           "\x67\x69\x65\x73\x01\x74\x68\x61"
23543                           "\x74\x77\x69\x6C\x6C\x01\x64\x65"
23544                           "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
23545                           "\x72\x72\x6F\x77\x01\x02\x02\x01",
23546                 .plen   = 72,
23547                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
23548                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
23549                           "\x69\x76\x65\x63",
23550                 .alen   = 20,
23551                 .ctext  = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
23552                           "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
23553                           "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
23554                           "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
23555                           "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
23556                           "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
23557                           "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
23558                           "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
23559                           "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
23560                           "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
23561                           "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
23562                 .clen   = 88,
23563         }, {
23564                 .key    = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
23565                           "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
23566                           "\xD9\x66\x42",
23567                 .klen   = 19,
23568                 .iv     = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
23569                 .ptext  = "\x01\x02\x02\x01",
23570                 .plen   = 4,
23571                 .assoc  = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
23572                           "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
23573                 .alen   = 16,
23574                 .ctext  = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
23575                           "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
23576                           "\xF7\x61\x24\x62",
23577                 .clen   = 20,
23578         }, {
23579                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23580                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23581                           "\xDE\xCA\xF8",
23582                 .klen   = 19,
23583                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
23584                 .ptext  = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
23585                           "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
23586                           "\x62\x65\x00\x01",
23587                 .plen   = 20,
23588                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
23589                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
23590                           "\xCE\xFA\xCE\x74",
23591                 .alen   = 20,
23592                 .ctext  = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
23593                           "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
23594                           "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
23595                           "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
23596                           "\x17\x17\x65\xAD",
23597                 .clen   = 36,
23598         }, {
23599                 .key    = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
23600                           "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
23601                           "\x61\x61\x6E\x64\x64\x6F\x69\x74"
23602                           "\x62\x65\x66\x6F\x72\x65\x69\x61"
23603                           "\x74\x75\x72",
23604                 .klen   = 35,
23605                 .iv     = "\x33\x30\x21\x69\x67\x65\x74\x6D",
23606                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
23607                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
23608                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
23609                           "\x02\x00\x07\x00\x61\x62\x63\x64"
23610                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23611                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23612                           "\x01\x02\x02\x01",
23613                 .plen   = 52,
23614                 .assoc  = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
23615                           "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
23616                           "\x67\x65\x74\x6D",
23617                 .alen   = 20,
23618                 .ctext  = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
23619                           "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
23620                           "\x48\x59\x80\x18\x1A\x18\x1A\x04"
23621                           "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
23622                           "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
23623                           "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
23624                           "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
23625                           "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
23626                           "\x39\xDB\xC8\xDC",
23627                 .clen   = 68,
23628         }, {
23629                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23630                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23631                           "\x57\x69\x0E",
23632                 .klen   = 19,
23633                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23634                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
23635                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
23636                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
23637                           "\x02\x00\x07\x00\x61\x62\x63\x64"
23638                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23639                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23640                           "\x01\x02\x02\x01",
23641                 .plen   = 52,
23642                 .assoc  = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
23643                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
23644                           "\xA2\xFC\xA1\xA3",
23645                 .alen   = 20,
23646                 .ctext  = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
23647                           "\x10\x60\x54\x25\xEB\x80\x04\x93"
23648                           "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
23649                           "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
23650                           "\x79\x01\x58\x50\x01\x06\xE1\xE0"
23651                           "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
23652                           "\x44\xCC\x90\xBF\x00\x94\x94\x92"
23653                           "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
23654                           "\xF4\x95\x5D\x4F",
23655                 .clen   = 68,
23656         }, {
23657                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
23658                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
23659                           "\x22\x43\x3C",
23660                 .klen   = 19,
23661                 .iv     = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
23662                 .ptext  = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
23663                           "\x61\x62\x63\x64\x65\x66\x67\x68"
23664                           "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
23665                           "\x71\x72\x73\x74\x01\x02\x02\x01",
23666                 .plen   = 32,
23667                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
23668                           "\x00\x00\x00\x07\x48\x55\xEC\x7D"
23669                           "\x3A\x23\x4B\xFD",
23670                 .alen   = 20,
23671                 .ctext  = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
23672                           "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
23673                           "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
23674                           "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
23675                           "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
23676                           "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
23677                 .clen   = 48,
23678         }
23679 };
23680
23681 /*
23682  * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
23683  */
23684 static const struct aead_testvec rfc7539_tv_template[] = {
23685         {
23686                 .key    = "\x80\x81\x82\x83\x84\x85\x86\x87"
23687                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
23688                           "\x90\x91\x92\x93\x94\x95\x96\x97"
23689                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
23690                 .klen   = 32,
23691                 .iv     = "\x07\x00\x00\x00\x40\x41\x42\x43"
23692                           "\x44\x45\x46\x47",
23693                 .assoc  = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
23694                           "\xc4\xc5\xc6\xc7",
23695                 .alen   = 12,
23696                 .ptext  = "\x4c\x61\x64\x69\x65\x73\x20\x61"
23697                           "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
23698                           "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
23699                           "\x74\x68\x65\x20\x63\x6c\x61\x73"
23700                           "\x73\x20\x6f\x66\x20\x27\x39\x39"
23701                           "\x3a\x20\x49\x66\x20\x49\x20\x63"
23702                           "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
23703                           "\x65\x72\x20\x79\x6f\x75\x20\x6f"
23704                           "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
23705                           "\x74\x69\x70\x20\x66\x6f\x72\x20"
23706                           "\x74\x68\x65\x20\x66\x75\x74\x75"
23707                           "\x72\x65\x2c\x20\x73\x75\x6e\x73"
23708                           "\x63\x72\x65\x65\x6e\x20\x77\x6f"
23709                           "\x75\x6c\x64\x20\x62\x65\x20\x69"
23710                           "\x74\x2e",
23711                 .plen   = 114,
23712                 .ctext  = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
23713                           "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
23714                           "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
23715                           "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
23716                           "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
23717                           "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
23718                           "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
23719                           "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
23720                           "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
23721                           "\x98\x03\xae\xe3\x28\x09\x1b\x58"
23722                           "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
23723                           "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
23724                           "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
23725                           "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
23726                           "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
23727                           "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
23728                           "\x06\x91",
23729                 .clen   = 130,
23730         }, {
23731                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
23732                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
23733                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
23734                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
23735                 .klen   = 32,
23736                 .iv     = "\x00\x00\x00\x00\x01\x02\x03\x04"
23737                           "\x05\x06\x07\x08",
23738                 .assoc  = "\xf3\x33\x88\x86\x00\x00\x00\x00"
23739                           "\x00\x00\x4e\x91",
23740                 .alen   = 12,
23741                 .ptext  = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
23742                           "\x2d\x44\x72\x61\x66\x74\x73\x20"
23743                           "\x61\x72\x65\x20\x64\x72\x61\x66"
23744                           "\x74\x20\x64\x6f\x63\x75\x6d\x65"
23745                           "\x6e\x74\x73\x20\x76\x61\x6c\x69"
23746                           "\x64\x20\x66\x6f\x72\x20\x61\x20"
23747                           "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
23748                           "\x6f\x66\x20\x73\x69\x78\x20\x6d"
23749                           "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
23750                           "\x64\x20\x6d\x61\x79\x20\x62\x65"
23751                           "\x20\x75\x70\x64\x61\x74\x65\x64"
23752                           "\x2c\x20\x72\x65\x70\x6c\x61\x63"
23753                           "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
23754                           "\x62\x73\x6f\x6c\x65\x74\x65\x64"
23755                           "\x20\x62\x79\x20\x6f\x74\x68\x65"
23756                           "\x72\x20\x64\x6f\x63\x75\x6d\x65"
23757                           "\x6e\x74\x73\x20\x61\x74\x20\x61"
23758                           "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
23759                           "\x20\x49\x74\x20\x69\x73\x20\x69"
23760                           "\x6e\x61\x70\x70\x72\x6f\x70\x72"
23761                           "\x69\x61\x74\x65\x20\x74\x6f\x20"
23762                           "\x75\x73\x65\x20\x49\x6e\x74\x65"
23763                           "\x72\x6e\x65\x74\x2d\x44\x72\x61"
23764                           "\x66\x74\x73\x20\x61\x73\x20\x72"
23765                           "\x65\x66\x65\x72\x65\x6e\x63\x65"
23766                           "\x20\x6d\x61\x74\x65\x72\x69\x61"
23767                           "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
23768                           "\x63\x69\x74\x65\x20\x74\x68\x65"
23769                           "\x6d\x20\x6f\x74\x68\x65\x72\x20"
23770                           "\x74\x68\x61\x6e\x20\x61\x73\x20"
23771                           "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
23772                           "\x20\x69\x6e\x20\x70\x72\x6f\x67"
23773                           "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
23774                           "\x9d",
23775                 .plen   = 265,
23776                 .ctext  = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
23777                           "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
23778                           "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
23779                           "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
23780                           "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
23781                           "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
23782                           "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
23783                           "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
23784                           "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
23785                           "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
23786                           "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
23787                           "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
23788                           "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
23789                           "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
23790                           "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
23791                           "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
23792                           "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
23793                           "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
23794                           "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
23795                           "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
23796                           "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
23797                           "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
23798                           "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
23799                           "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
23800                           "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
23801                           "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
23802                           "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
23803                           "\x73\xa6\x72\x76\x27\x09\x7a\x10"
23804                           "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
23805                           "\xfa\x68\xf0\xff\x77\x98\x71\x30"
23806                           "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
23807                           "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
23808                           "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
23809                           "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
23810                           "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
23811                           "\x38",
23812                 .clen   = 281,
23813         },
23814 };
23815
23816 /*
23817  * draft-irtf-cfrg-chacha20-poly1305
23818  */
23819 static const struct aead_testvec rfc7539esp_tv_template[] = {
23820         {
23821                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
23822                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
23823                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
23824                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
23825                           "\x00\x00\x00\x00",
23826                 .klen   = 36,
23827                 .iv     = "\x01\x02\x03\x04\x05\x06\x07\x08",
23828                 .assoc  = "\xf3\x33\x88\x86\x00\x00\x00\x00"
23829                           "\x00\x00\x4e\x91\x01\x02\x03\x04"
23830                           "\x05\x06\x07\x08",
23831                 .alen   = 20,
23832                 .ptext  = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
23833                           "\x2d\x44\x72\x61\x66\x74\x73\x20"
23834                           "\x61\x72\x65\x20\x64\x72\x61\x66"
23835                           "\x74\x20\x64\x6f\x63\x75\x6d\x65"
23836                           "\x6e\x74\x73\x20\x76\x61\x6c\x69"
23837                           "\x64\x20\x66\x6f\x72\x20\x61\x20"
23838                           "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
23839                           "\x6f\x66\x20\x73\x69\x78\x20\x6d"
23840                           "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
23841                           "\x64\x20\x6d\x61\x79\x20\x62\x65"
23842                           "\x20\x75\x70\x64\x61\x74\x65\x64"
23843                           "\x2c\x20\x72\x65\x70\x6c\x61\x63"
23844                           "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
23845                           "\x62\x73\x6f\x6c\x65\x74\x65\x64"
23846                           "\x20\x62\x79\x20\x6f\x74\x68\x65"
23847                           "\x72\x20\x64\x6f\x63\x75\x6d\x65"
23848                           "\x6e\x74\x73\x20\x61\x74\x20\x61"
23849                           "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
23850                           "\x20\x49\x74\x20\x69\x73\x20\x69"
23851                           "\x6e\x61\x70\x70\x72\x6f\x70\x72"
23852                           "\x69\x61\x74\x65\x20\x74\x6f\x20"
23853                           "\x75\x73\x65\x20\x49\x6e\x74\x65"
23854                           "\x72\x6e\x65\x74\x2d\x44\x72\x61"
23855                           "\x66\x74\x73\x20\x61\x73\x20\x72"
23856                           "\x65\x66\x65\x72\x65\x6e\x63\x65"
23857                           "\x20\x6d\x61\x74\x65\x72\x69\x61"
23858                           "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
23859                           "\x63\x69\x74\x65\x20\x74\x68\x65"
23860                           "\x6d\x20\x6f\x74\x68\x65\x72\x20"
23861                           "\x74\x68\x61\x6e\x20\x61\x73\x20"
23862                           "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
23863                           "\x20\x69\x6e\x20\x70\x72\x6f\x67"
23864                           "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
23865                           "\x9d",
23866                 .plen   = 265,
23867                 .ctext  = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
23868                           "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
23869                           "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
23870                           "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
23871                           "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
23872                           "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
23873                           "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
23874                           "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
23875                           "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
23876                           "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
23877                           "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
23878                           "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
23879                           "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
23880                           "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
23881                           "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
23882                           "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
23883                           "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
23884                           "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
23885                           "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
23886                           "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
23887                           "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
23888                           "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
23889                           "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
23890                           "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
23891                           "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
23892                           "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
23893                           "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
23894                           "\x73\xa6\x72\x76\x27\x09\x7a\x10"
23895                           "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
23896                           "\xfa\x68\xf0\xff\x77\x98\x71\x30"
23897                           "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
23898                           "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
23899                           "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
23900                           "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
23901                           "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
23902                           "\x38",
23903                 .clen   = 281,
23904         },
23905 };
23906
23907 /*
23908  * AEGIS-128 test vectors - generated via reference implementation from
23909  * SUPERCOP (https://bench.cr.yp.to/supercop.html):
23910  *
23911  *   https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
23912  *   (see crypto_aead/aegis128/)
23913  */
23914 static const struct aead_testvec aegis128_tv_template[] = {
23915         {
23916                 .key    = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
23917                           "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
23918                 .klen   = 16,
23919                 .iv     = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
23920                           "\x40\x6d\x59\x48\xfc\x92\x61\x03",
23921                 .assoc  = "",
23922                 .alen   = 0,
23923                 .ptext  = "",
23924                 .plen   = 0,
23925                 .ctext  = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
23926                           "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
23927                 .clen   = 16,
23928         }, {
23929                 .key    = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
23930                           "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
23931                 .klen   = 16,
23932                 .iv     = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
23933                           "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
23934                 .assoc  = "",
23935                 .alen   = 0,
23936                 .ptext  = "\x79",
23937                 .plen   = 1,
23938                 .ctext  = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
23939                           "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
23940                           "\xcc",
23941                 .clen   = 17,
23942         }, {
23943                 .key    = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
23944                           "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
23945                 .klen   = 16,
23946                 .iv     = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
23947                           "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
23948                 .assoc  = "",
23949                 .alen   = 0,
23950                 .ptext  = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
23951                           "\x82\x8e\x16\xb4\xed\x6d\x47",
23952                 .plen   = 15,
23953                 .ctext  = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
23954                           "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
23955                           "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
23956                           "\x7a\x21\x16\xb3\xe6\x67\x66",
23957                 .clen   = 31,
23958         }, {
23959                 .key    = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
23960                           "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
23961                 .klen   = 16,
23962                 .iv     = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
23963                           "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
23964                 .assoc  = "",
23965                 .alen   = 0,
23966                 .ptext  = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
23967                           "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
23968                 .plen   = 16,
23969                 .ctext  = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
23970                           "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
23971                           "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
23972                           "\x51\x10\x16\x27\x70\x9b\x64\x29",
23973                 .clen   = 32,
23974         }, {
23975                 .key    = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
23976                           "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
23977                 .klen   = 16,
23978                 .iv     = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
23979                           "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
23980                 .assoc  = "",
23981                 .alen   = 0,
23982                 .ptext  = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
23983                           "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
23984                           "\xd3",
23985                 .plen   = 17,
23986                 .ctext  = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
23987                           "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
23988                           "\x46\x80\xb1\x0e\x18\x30\x40\x97"
23989                           "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
23990                           "\x3b",
23991                 .clen   = 33,
23992         }, {
23993                 .key    = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
23994                           "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
23995                 .klen   = 16,
23996                 .iv     = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
23997                           "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
23998                 .assoc  = "",
23999                 .alen   = 0,
24000                 .ptext  = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
24001                           "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
24002                           "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
24003                           "\x88\x11\x39\x12\x1c\x3a\xbb",
24004                 .plen   = 31,
24005                 .ctext  = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
24006                           "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
24007                           "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
24008                           "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
24009                           "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
24010                           "\x75\xc4\x53\x01\x89\x45\x59",
24011                 .clen   = 47,
24012         }, {
24013                 .key    = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
24014                           "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
24015                 .klen   = 16,
24016                 .iv     = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
24017                           "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
24018                 .assoc  = "",
24019                 .alen   = 0,
24020                 .ptext  = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
24021                           "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
24022                           "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
24023                           "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
24024                 .plen   = 32,
24025                 .ctext  = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
24026                           "\x95\xf4\x58\x38\x14\x83\x27\x01"
24027                           "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
24028                           "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
24029                           "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
24030                           "\x51\x52\x77\xf2\x5e\x85\x80\x41",
24031                 .clen   = 48,
24032         }, {
24033                 .key    = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
24034                           "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
24035                 .klen   = 16,
24036                 .iv     = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
24037                           "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
24038                 .assoc  = "\xd5",
24039                 .alen   = 1,
24040                 .ptext  = "",
24041                 .plen   = 0,
24042                 .ctext  = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
24043                           "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
24044                 .clen   = 16,
24045         }, {
24046                 .key    = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
24047                           "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
24048                 .klen   = 16,
24049                 .iv     = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
24050                           "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
24051                 .assoc  = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
24052                           "\x68\x75\x16\xf8\xcb\x7e\xa7",
24053                 .alen   = 15,
24054                 .ptext  = "",
24055                 .plen   = 0,
24056                 .ctext  = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
24057                           "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
24058                 .clen   = 16,
24059         }, {
24060                 .key    = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
24061                           "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
24062                 .klen   = 16,
24063                 .iv     = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
24064                           "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
24065                 .assoc  = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
24066                           "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
24067                 .alen   = 16,
24068                 .ptext  = "",
24069                 .plen   = 0,
24070                 .ctext  = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
24071                           "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
24072                 .clen   = 16,
24073         }, {
24074                 .key    = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
24075                           "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
24076                 .klen   = 16,
24077                 .iv     = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
24078                           "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
24079                 .assoc  = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
24080                           "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
24081                           "\x07",
24082                 .alen   = 17,
24083                 .ptext  = "",
24084                 .plen   = 0,
24085                 .ctext  = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
24086                           "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
24087                 .clen   = 16,
24088         }, {
24089                 .key    = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
24090                           "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
24091                 .klen   = 16,
24092                 .iv     = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
24093                           "\xca\xcd\xff\x88\xba\x22\xbe\x47",
24094                 .assoc  = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
24095                           "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
24096                           "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
24097                           "\xe0\x17\x3a\x2e\x83\x5c\x8f",
24098                 .alen   = 31,
24099                 .ptext  = "",
24100                 .plen   = 0,
24101                 .ctext  = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
24102                           "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
24103                 .clen   = 16,
24104         }, {
24105                 .key    = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
24106                           "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
24107                 .klen   = 16,
24108                 .iv     = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
24109                           "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
24110                 .assoc  = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
24111                           "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
24112                           "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
24113                           "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
24114                 .alen   = 32,
24115                 .ptext  = "",
24116                 .plen   = 0,
24117                 .ctext  = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
24118                           "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
24119                 .clen   = 16,
24120         }, {
24121                 .key    = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
24122                           "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
24123                 .klen   = 16,
24124                 .iv     = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
24125                           "\xcc\x81\x63\xab\xae\x6b\x43\x54",
24126                 .assoc  = "\x40",
24127                 .alen   = 1,
24128                 .ptext  = "\x4f",
24129                 .plen   = 1,
24130                 .ctext  = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
24131                           "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
24132                           "\x39",
24133                 .clen   = 17,
24134         }, {
24135                 .key    = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
24136                           "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
24137                 .klen   = 16,
24138                 .iv     = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
24139                           "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
24140                 .assoc  = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
24141                           "\x6d\x92\x42\x61\xa7\x58\x37",
24142                 .alen   = 15,
24143                 .ptext  = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
24144                           "\x8d\xc8\x6e\x85\xa5\x21\x67",
24145                 .plen   = 15,
24146                 .ctext  = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
24147                           "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
24148                           "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
24149                           "\x98\xbd\x71\x7a\xef\xa4\xfa",
24150                 .clen   = 31,
24151         }, {
24152                 .key    = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
24153                           "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
24154                 .klen   = 16,
24155                 .iv     = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
24156                           "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
24157                 .assoc  = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
24158                           "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
24159                 .alen   = 16,
24160                 .ptext  = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
24161                           "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
24162                 .plen   = 16,
24163                 .ctext  = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
24164                           "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
24165                           "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
24166                           "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
24167                 .clen   = 32,
24168         }, {
24169                 .key    = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
24170                           "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
24171                 .klen   = 16,
24172                 .iv     = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
24173                           "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
24174                 .assoc  = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
24175                           "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
24176                           "\x05",
24177                 .alen   = 17,
24178                 .ptext  = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
24179                           "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
24180                           "\xd0",
24181                 .plen   = 17,
24182                 .ctext  = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
24183                           "\x38\x2d\x69\x90\x1c\x71\x38\x98"
24184                           "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
24185                           "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
24186                           "\x93",
24187                 .clen   = 33,
24188         }, {
24189                 .key    = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
24190                           "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
24191                 .klen   = 16,
24192                 .iv     = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
24193                           "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
24194                 .assoc  = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
24195                           "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
24196                           "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
24197                           "\x68\x28\x73\x40\x9f\x96\x4a",
24198                 .alen   = 31,
24199                 .ptext  = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
24200                           "\x10\x57\x85\x39\x93\x8f\xaf\x70"
24201                           "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
24202                           "\x98\x34\xab\x37\x56\xae\x32",
24203                 .plen   = 31,
24204                 .ctext  = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
24205                           "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
24206                           "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
24207                           "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
24208                           "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
24209                           "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
24210                 .clen   = 47,
24211         }, {
24212                 .key    = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
24213                           "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
24214                 .klen   = 16,
24215                 .iv     = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
24216                           "\x50\xc4\xde\x82\x90\x21\x11\x73",
24217                 .assoc  = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
24218                           "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
24219                           "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
24220                           "\x29\x56\x52\x19\x79\xf5\xe9\x37",
24221                 .alen   = 32,
24222                 .ptext  = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
24223                           "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
24224                           "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
24225                           "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
24226                 .plen   = 32,
24227                 .ctext  = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
24228                           "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
24229                           "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
24230                           "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
24231                           "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
24232                           "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
24233                 .clen   = 48,
24234         }, {
24235                 .key    = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
24236                           "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
24237                 .klen   = 16,
24238                 .iv     = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
24239                           "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
24240                 .assoc  = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
24241                           "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
24242                           "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
24243                           "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
24244                           "\x9d",
24245                 .alen   = 33,
24246                 .ptext  = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
24247                           "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
24248                           "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
24249                           "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
24250                           "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
24251                           "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
24252                           "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
24253                           "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
24254                           "\xbd",
24255                 .plen   = 65,
24256                 .ctext  = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
24257                           "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
24258                           "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
24259                           "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
24260                           "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
24261                           "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
24262                           "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
24263                           "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
24264                           "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
24265                           "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
24266                           "\x3f",
24267                 .clen   = 81,
24268         }, {
24269                 .key    = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
24270                           "\x32\x42\x15\x80\x85\xa1\x65\xfe",
24271                 .klen   = 16,
24272                 .iv     = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
24273                           "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
24274                 .assoc  = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
24275                           "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
24276                           "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
24277                           "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
24278                           "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
24279                           "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
24280                           "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
24281                           "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
24282                           "\x54",
24283                 .alen   = 65,
24284                 .ptext  = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
24285                           "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
24286                           "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
24287                           "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
24288                           "\x2f",
24289                 .plen   = 33,
24290                 .ctext  = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
24291                           "\x77\x09\xac\x74\xef\xd2\x56\xae"
24292                           "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
24293                           "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
24294                           "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
24295                           "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
24296                           "\x39",
24297                 .clen   = 49,
24298         }, {
24299                 .key    = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
24300                           "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
24301                 .klen   = 16,
24302                 .iv     = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
24303                           "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
24304                 .assoc  = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
24305                           "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
24306                 .alen   = 16,
24307                 .ptext  = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
24308                           "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
24309                 .plen   = 16,
24310                 .ctext  = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
24311                           "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
24312                           "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
24313                           "\xde\x20\x59\x77\xc1\x74\x90",
24314                 .clen   = 31,
24315         }, {
24316                 .key    = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
24317                           "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
24318                 .klen   = 16,
24319                 .iv     = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
24320                           "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
24321                 .assoc  = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
24322                           "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
24323                 .alen   = 16,
24324                 .ptext  = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
24325                           "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
24326                 .plen   = 16,
24327                 .ctext  = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
24328                           "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
24329                           "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
24330                           "\xe9\xe0\x17\x45\x70\x12",
24331                 .clen   = 30,
24332         }, {
24333                 .key    = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
24334                           "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
24335                 .klen   = 16,
24336                 .iv     = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
24337                           "\xd5\x07\x58\x59\x72\xd7\xde\x92",
24338                 .assoc  = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
24339                           "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
24340                 .alen   = 16,
24341                 .ptext  = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
24342                           "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
24343                 .plen   = 16,
24344                 .ctext  = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
24345                           "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
24346                           "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
24347                 .clen   = 24,
24348         },
24349 };
24350
24351 /*
24352  * All key wrapping test vectors taken from
24353  * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
24354  *
24355  * Note: as documented in keywrap.c, the ivout for encryption is the first
24356  * semiblock of the ciphertext from the test vector. For decryption, iv is
24357  * the first semiblock of the ciphertext.
24358  */
24359 static const struct cipher_testvec aes_kw_tv_template[] = {
24360         {
24361                 .key    = "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
24362                           "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
24363                 .klen   = 16,
24364                 .ptext  = "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
24365                           "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
24366                 .ctext  = "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
24367                           "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
24368                 .len    = 16,
24369                 .iv_out = "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
24370                 .generates_iv = true,
24371         }, {
24372                 .key    = "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
24373                           "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
24374                           "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
24375                           "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
24376                 .klen   = 32,
24377                 .ptext  = "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
24378                           "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
24379                 .ctext  = "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
24380                           "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
24381                 .len    = 16,
24382                 .iv_out = "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
24383                 .generates_iv = true,
24384         },
24385 };
24386
24387 /*
24388  * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
24389  * test vectors, taken from Appendix B.2.9 and B.2.10:
24390  *     http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
24391  * Only AES-128 is supported at this time.
24392  */
24393 static const struct cprng_testvec ansi_cprng_aes_tv_template[] = {
24394         {
24395                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24396                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24397                 .klen   = 16,
24398                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24399                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
24400                 .dtlen  = 16,
24401                 .v      = "\x80\x00\x00\x00\x00\x00\x00\x00"
24402                           "\x00\x00\x00\x00\x00\x00\x00\x00",
24403                 .vlen   = 16,
24404                 .result = "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
24405                           "\x84\x79\x66\x85\xc1\x2f\x76\x41",
24406                 .rlen   = 16,
24407                 .loops  = 1,
24408         }, {
24409                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24410                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24411                 .klen   = 16,
24412                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24413                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
24414                 .dtlen  = 16,
24415                 .v      = "\xc0\x00\x00\x00\x00\x00\x00\x00"
24416                           "\x00\x00\x00\x00\x00\x00\x00\x00",
24417                 .vlen   = 16,
24418                 .result = "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
24419                           "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
24420                 .rlen   = 16,
24421                 .loops  = 1,
24422         }, {
24423                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24424                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24425                 .klen   = 16,
24426                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24427                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
24428                 .dtlen  = 16,
24429                 .v      = "\xe0\x00\x00\x00\x00\x00\x00\x00"
24430                           "\x00\x00\x00\x00\x00\x00\x00\x00",
24431                 .vlen   = 16,
24432                 .result = "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
24433                           "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
24434                 .rlen   = 16,
24435                 .loops  = 1,
24436         }, {
24437                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24438                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24439                 .klen   = 16,
24440                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24441                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
24442                 .dtlen  = 16,
24443                 .v      = "\xf0\x00\x00\x00\x00\x00\x00\x00"
24444                           "\x00\x00\x00\x00\x00\x00\x00\x00",
24445                 .vlen   = 16,
24446                 .result = "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
24447                           "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
24448                 .rlen   = 16,
24449                 .loops  = 1,
24450         }, {
24451                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24452                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24453                 .klen   = 16,
24454                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24455                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
24456                 .dtlen  = 16,
24457                 .v      = "\xf8\x00\x00\x00\x00\x00\x00\x00"
24458                           "\x00\x00\x00\x00\x00\x00\x00\x00",
24459                 .vlen   = 16,
24460                 .result = "\x05\x25\x92\x46\x61\x79\xd2\xcb"
24461                           "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
24462                 .rlen   = 16,
24463                 .loops  = 1,
24464         }, {    /* Monte Carlo Test */
24465                 .key    = "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
24466                           "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
24467                 .klen   = 16,
24468                 .dt     = "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
24469                           "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
24470                 .dtlen  = 16,
24471                 .v      = "\x57\x2c\x8e\x76\x87\x26\x47\x97"
24472                           "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
24473                 .vlen   = 16,
24474                 .result = "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
24475                           "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
24476                 .rlen   = 16,
24477                 .loops  = 10000,
24478         },
24479 };
24480
24481 /*
24482  * SP800-90A DRBG Test vectors from
24483  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
24484  *
24485  * Test vectors for DRBG with prediction resistance. All types of DRBGs
24486  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
24487  * w/o personalization string, w/ and w/o additional input string).
24488  */
24489 static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
24490         {
24491                 .entropy = (unsigned char *)
24492                         "\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
24493                         "\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
24494                         "\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
24495                         "\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
24496                 .entropylen = 48,
24497                 .entpra = (unsigned char *)
24498                         "\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
24499                         "\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
24500                         "\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
24501                 .entprb = (unsigned char *)
24502                         "\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
24503                         "\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
24504                         "\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
24505                 .entprlen = 32,
24506                 .expected = (unsigned char *)
24507                         "\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
24508                         "\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
24509                         "\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
24510                         "\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
24511                         "\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
24512                         "\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
24513                         "\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
24514                         "\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
24515                         "\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
24516                         "\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
24517                         "\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
24518                 .expectedlen = 128,
24519                 .addtla = NULL,
24520                 .addtlb = NULL,
24521                 .addtllen = 0,
24522                 .pers = NULL,
24523                 .perslen = 0,
24524         }, {
24525                 .entropy = (unsigned char *)
24526                         "\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
24527                         "\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
24528                         "\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
24529                         "\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
24530                 .entropylen = 48,
24531                 .entpra = (unsigned char *)
24532                         "\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
24533                         "\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
24534                         "\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
24535                 .entprb = (unsigned char *)
24536                         "\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
24537                         "\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
24538                         "\x76\xaa\x55\x04\x8b\x0a\x72\x95",
24539                 .entprlen = 32,
24540                 .expected = (unsigned char *)
24541                         "\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
24542                         "\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
24543                         "\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
24544                         "\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
24545                         "\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
24546                         "\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
24547                         "\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
24548                         "\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
24549                         "\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
24550                         "\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
24551                         "\x50\x47\xa3\x63\x81\x16\xaf\x19",
24552                 .expectedlen = 128,
24553                 .addtla = (unsigned char *)
24554                         "\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
24555                         "\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
24556                         "\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
24557                 .addtlb = (unsigned char *)
24558                         "\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
24559                         "\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
24560                         "\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
24561                 .addtllen = 32,
24562                 .pers = NULL,
24563                 .perslen = 0,
24564         }, {
24565                 .entropy = (unsigned char *)
24566                         "\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
24567                         "\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
24568                         "\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
24569                         "\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
24570                 .entropylen = 48,
24571                 .entpra = (unsigned char *)
24572                         "\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
24573                         "\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
24574                         "\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
24575                 .entprb = (unsigned char *)
24576                         "\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
24577                         "\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
24578                         "\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
24579                 .entprlen = 32,
24580                 .expected = (unsigned char *)
24581                         "\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
24582                         "\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
24583                         "\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
24584                         "\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
24585                         "\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
24586                         "\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
24587                         "\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
24588                         "\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
24589                         "\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
24590                         "\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
24591                         "\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
24592                 .expectedlen = 128,
24593                 .addtla = NULL,
24594                 .addtlb = NULL,
24595                 .addtllen = 0,
24596                 .pers = (unsigned char *)
24597                         "\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
24598                         "\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
24599                         "\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
24600                 .perslen = 32,
24601         }, {
24602                 .entropy = (unsigned char *)
24603                         "\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
24604                         "\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
24605                         "\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
24606                         "\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
24607                 .entropylen = 48,
24608                 .entpra = (unsigned char *)
24609                         "\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
24610                         "\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
24611                         "\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
24612                 .entprb = (unsigned char *)
24613                         "\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
24614                         "\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
24615                         "\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
24616                 .entprlen = 32,
24617                 .expected = (unsigned char *)
24618                         "\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
24619                         "\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
24620                         "\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
24621                         "\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
24622                         "\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
24623                         "\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
24624                         "\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
24625                         "\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
24626                         "\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
24627                         "\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
24628                         "\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
24629                 .expectedlen = 128,
24630                 .addtla = (unsigned char *)
24631                         "\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
24632                         "\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
24633                         "\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
24634                 .addtlb = (unsigned char *)
24635                         "\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
24636                         "\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
24637                         "\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
24638                 .addtllen = 32,
24639                 .pers = (unsigned char *)
24640                         "\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
24641                         "\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
24642                         "\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
24643                 .perslen = 32,
24644         },
24645 };
24646
24647 static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
24648         {
24649                 .entropy = (unsigned char *)
24650                         "\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
24651                         "\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
24652                         "\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
24653                         "\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
24654                 .entropylen = 48,
24655                 .entpra = (unsigned char *)
24656                         "\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
24657                         "\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
24658                         "\xe2\x9a\x29\x51\x81\x56\x9f\x54",
24659                 .entprb = (unsigned char *)
24660                         "\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
24661                         "\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
24662                         "\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
24663                 .entprlen = 32,
24664                 .expected = (unsigned char *)
24665                         "\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
24666                         "\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
24667                         "\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
24668                         "\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
24669                         "\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
24670                         "\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
24671                         "\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
24672                         "\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
24673                         "\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
24674                         "\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
24675                         "\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
24676                 .expectedlen = 128,
24677                 .addtla = NULL,
24678                 .addtlb = NULL,
24679                 .addtllen = 0,
24680                 .pers = NULL,
24681                 .perslen = 0,
24682         }, {
24683                 .entropy = (unsigned char *)
24684                         "\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
24685                         "\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
24686                         "\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
24687                         "\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
24688                 .entropylen = 48,
24689                 .entpra = (unsigned char *)
24690                         "\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
24691                         "\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
24692                         "\x46\xd9\x26\xa2\x19\xd4\x94\x43",
24693                 .entprb = (unsigned char *)
24694                         "\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
24695                         "\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
24696                         "\x51\x78\x72\xb2\x79\xfd\x2c\xff",
24697                 .entprlen = 32,
24698                 .expected = (unsigned char *)
24699                         "\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
24700                         "\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
24701                         "\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
24702                         "\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
24703                         "\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
24704                         "\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
24705                         "\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
24706                         "\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
24707                         "\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
24708                         "\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
24709                         "\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
24710                 .expectedlen = 128,
24711                 .addtla = (unsigned char *)
24712                         "\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
24713                         "\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
24714                         "\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
24715                 .addtlb = (unsigned char *)
24716                         "\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
24717                         "\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
24718                         "\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
24719                 .addtllen = 32,
24720                 .pers = NULL,
24721                 .perslen = 0,
24722         }, {
24723                 .entropy = (unsigned char *)
24724                         "\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
24725                         "\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
24726                         "\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
24727                         "\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
24728                 .entropylen = 48,
24729                 .entpra = (unsigned char *)
24730                         "\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
24731                         "\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
24732                         "\x20\x28\xad\xf2\x60\xd7\xcd\x45",
24733                 .entprb = (unsigned char *)
24734                         "\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
24735                         "\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
24736                         "\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
24737                 .entprlen = 32,
24738                 .expected = (unsigned char *)
24739                         "\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
24740                         "\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
24741                         "\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
24742                         "\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
24743                         "\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
24744                         "\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
24745                         "\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
24746                         "\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
24747                         "\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
24748                         "\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
24749                         "\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
24750                 .expectedlen = 128,
24751                 .addtla = NULL,
24752                 .addtlb = NULL,
24753                 .addtllen = 0,
24754                 .pers = (unsigned char *)
24755                         "\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
24756                         "\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
24757                         "\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
24758                 .perslen = 32,
24759         }, {
24760                 .entropy = (unsigned char *)
24761                         "\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
24762                         "\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
24763                         "\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
24764                         "\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
24765                 .entropylen = 48,
24766                 .entpra = (unsigned char *)
24767                         "\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
24768                         "\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
24769                         "\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
24770                 .entprb = (unsigned char *)
24771                         "\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
24772                         "\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
24773                         "\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
24774                 .entprlen = 32,
24775                 .expected = (unsigned char *)
24776                         "\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
24777                         "\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
24778                         "\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
24779                         "\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
24780                         "\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
24781                         "\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
24782                         "\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
24783                         "\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
24784                         "\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
24785                         "\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
24786                         "\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
24787                 .expectedlen = 128,
24788                 .addtla = (unsigned char *)
24789                         "\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
24790                         "\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
24791                         "\x86\x88\x55\x28\xc1\x69\xdd\x76",
24792                 .addtlb = (unsigned char *)
24793                         "\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
24794                         "\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
24795                         "\x00\x99\x2a\xdd\x0a\x00\x50\x82",
24796                 .addtllen = 32,
24797                 .pers = (unsigned char *)
24798                         "\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
24799                         "\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
24800                         "\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
24801                 .perslen = 32,
24802         },
24803 };
24804
24805 static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
24806         {
24807                 .entropy = (unsigned char *)
24808                         "\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
24809                         "\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
24810                 .entropylen = 24,
24811                 .entpra = (unsigned char *)
24812                         "\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
24813                         "\xb4\xec\x80\xb1",
24814                 .entprb = (unsigned char *)
24815                         "\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
24816                         "\x28\x07\xeb\xc2",
24817                 .entprlen = 16,
24818                 .expected = (unsigned char *)
24819                         "\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
24820                         "\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
24821                         "\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
24822                         "\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
24823                         "\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
24824                         "\x8a\xf1\x23\xa8",
24825                 .expectedlen = 64,
24826                 .addtla = NULL,
24827                 .addtlb = NULL,
24828                 .addtllen = 0,
24829                 .pers = NULL,
24830                 .perslen = 0,
24831         }, {
24832                 .entropy = (unsigned char *)
24833                         "\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
24834                         "\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
24835                 .entropylen = 24,
24836                 .entpra = (unsigned char *)
24837                         "\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
24838                         "\x67\xd1\x08\xf8",
24839                 .entprb = (unsigned char *)
24840                         "\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
24841                         "\xd4\xba\x04\x58",
24842                 .entprlen = 16,
24843                 .expected = (unsigned char *)
24844                         "\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
24845                         "\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
24846                         "\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
24847                         "\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
24848                         "\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
24849                         "\xc1\x02\x41\x82",
24850                 .expectedlen = 64,
24851                 .addtla = (unsigned char *)
24852                         "\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
24853                         "\xeb\xb3\x01\x76",
24854                 .addtlb = (unsigned char *)
24855                         "\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
24856                         "\xd0\x7f\xcc\x43",
24857                 .addtllen = 16,
24858                 .pers = NULL,
24859                 .perslen = 0,
24860         }, {
24861                 .entropy = (unsigned char *)
24862                         "\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
24863                         "\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
24864                 .entropylen = 24,
24865                 .entpra = (unsigned char *)
24866                         "\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
24867                         "\xc3\x0f\xe3\xb0",
24868                 .entprb = (unsigned char *)
24869                         "\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
24870                         "\xd6\x9c\x9d\xe8",
24871                 .entprlen = 16,
24872                 .expected = (unsigned char *)
24873                         "\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
24874                         "\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
24875                         "\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
24876                         "\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
24877                         "\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
24878                         "\x72\x82\x0c\xcf",
24879                 .expectedlen = 64,
24880                 .addtla = NULL,
24881                 .addtlb = NULL,
24882                 .addtllen = 0,
24883                 .pers = (unsigned char *)
24884                         "\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
24885                         "\x21\x52\xb3\xad",
24886                 .perslen = 16,
24887         }, {
24888                 .entropy = (unsigned char *)
24889                         "\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
24890                         "\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
24891                 .entropylen = 24,
24892                 .entpra = (unsigned char *)
24893                         "\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
24894                         "\xc4\x2c\xe8\x10",
24895                 .entprb = (unsigned char *)
24896                         "\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
24897                         "\x08\xf7\xa5\x01",
24898                 .entprlen = 16,
24899                 .expected = (unsigned char *)
24900                         "\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
24901                         "\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
24902                         "\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
24903                         "\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
24904                         "\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
24905                         "\x23\xc5\x1f\x68",
24906                 .expectedlen = 64,
24907                 .addtla = (unsigned char *)
24908                         "\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
24909                         "\x23\x6d\xad\x1d",
24910                 .addtlb = (unsigned char *)
24911                         "\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
24912                         "\xbc\x59\x31\x8c",
24913                 .addtllen = 16,
24914                 .pers = (unsigned char *)
24915                         "\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
24916                         "\x37\x3c\x5c\x0b",
24917                 .perslen = 16,
24918         },
24919 };
24920
24921 /*
24922  * SP800-90A DRBG Test vectors from
24923  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
24924  *
24925  * Test vectors for DRBG without prediction resistance. All types of DRBGs
24926  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
24927  * w/o personalization string, w/ and w/o additional input string).
24928  */
24929 static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
24930         {
24931                 .entropy = (unsigned char *)
24932                         "\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
24933                         "\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
24934                         "\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
24935                         "\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
24936                 .entropylen = 48,
24937                 .expected = (unsigned char *)
24938                         "\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
24939                         "\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
24940                         "\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
24941                         "\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
24942                         "\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
24943                         "\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
24944                         "\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
24945                         "\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
24946                         "\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
24947                         "\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
24948                         "\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
24949                 .expectedlen = 128,
24950                 .addtla = NULL,
24951                 .addtlb = NULL,
24952                 .addtllen = 0,
24953                 .pers = NULL,
24954                 .perslen = 0,
24955         }, {
24956                 .entropy = (unsigned char *)
24957                         "\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
24958                         "\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
24959                         "\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
24960                         "\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
24961                 .entropylen = 48,
24962                 .expected = (unsigned char *)
24963                         "\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
24964                         "\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
24965                         "\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
24966                         "\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
24967                         "\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
24968                         "\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
24969                         "\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
24970                         "\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
24971                         "\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
24972                         "\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
24973                         "\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
24974                 .expectedlen = 128,
24975                 .addtla = (unsigned char *)
24976                         "\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
24977                         "\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
24978                         "\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
24979                 .addtlb = (unsigned char *)
24980                         "\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
24981                         "\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
24982                         "\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
24983                 .addtllen = 32,
24984                 .pers = NULL,
24985                 .perslen = 0,
24986         }, {
24987                 .entropy = (unsigned char *)
24988                         "\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
24989                         "\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
24990                         "\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
24991                         "\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
24992                 .entropylen = 48,
24993                 .expected = (unsigned char *)
24994                         "\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
24995                         "\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
24996                         "\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
24997                         "\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
24998                         "\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
24999                         "\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
25000                         "\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
25001                         "\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
25002                         "\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
25003                         "\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
25004                         "\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
25005                 .expectedlen = 128,
25006                 .addtla = NULL,
25007                 .addtlb = NULL,
25008                 .addtllen = 0,
25009                 .pers = (unsigned char *)
25010                         "\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
25011                         "\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
25012                         "\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
25013                 .perslen = 32,
25014         }, {
25015                 .entropy = (unsigned char *)
25016                         "\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
25017                         "\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
25018                         "\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
25019                         "\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
25020                 .entropylen = 48,
25021                 .expected = (unsigned char *)
25022                         "\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
25023                         "\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
25024                         "\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
25025                         "\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
25026                         "\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
25027                         "\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
25028                         "\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
25029                         "\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
25030                         "\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
25031                         "\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
25032                         "\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
25033                 .expectedlen = 128,
25034                 .addtla = (unsigned char *)
25035                         "\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
25036                         "\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
25037                         "\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
25038                 .addtlb = (unsigned char *)
25039                         "\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
25040                         "\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
25041                         "\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
25042                 .addtllen = 32,
25043                 .pers = (unsigned char *)
25044                         "\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
25045                         "\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
25046                         "\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
25047                 .perslen = 32,
25048         },
25049 };
25050
25051 static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
25052         {
25053                 .entropy = (unsigned char *)
25054                         "\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
25055                         "\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
25056                         "\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
25057                         "\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
25058                 .entropylen = 48,
25059                 .expected = (unsigned char *)
25060                         "\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
25061                         "\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
25062                         "\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
25063                         "\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
25064                         "\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
25065                         "\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
25066                         "\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
25067                         "\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
25068                         "\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
25069                         "\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
25070                         "\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
25071                 .expectedlen = 128,
25072                 .addtla = NULL,
25073                 .addtlb = NULL,
25074                 .addtllen = 0,
25075                 .pers = NULL,
25076                 .perslen = 0,
25077         }, {
25078                 .entropy = (unsigned char *)
25079                         "\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
25080                         "\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
25081                         "\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
25082                         "\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
25083                 .entropylen = 48,
25084                 .expected = (unsigned char *)
25085                         "\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
25086                         "\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
25087                         "\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
25088                         "\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
25089                         "\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
25090                         "\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
25091                         "\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
25092                         "\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
25093                         "\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
25094                         "\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
25095                         "\x50\x9a\x8c\x85\x90\x87\x03\x9c",
25096                 .expectedlen = 128,
25097                 .addtla = (unsigned char *)
25098                         "\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
25099                         "\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
25100                         "\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
25101                 .addtlb = (unsigned char *)
25102                         "\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
25103                         "\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
25104                         "\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
25105                 .addtllen = 32,
25106                 .pers = NULL,
25107                 .perslen = 0,
25108         }, {
25109                 .entropy = (unsigned char *)
25110                         "\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
25111                         "\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
25112                         "\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
25113                         "\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
25114                 .entropylen = 48,
25115                 .expected = (unsigned char *)
25116                         "\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
25117                         "\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
25118                         "\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
25119                         "\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
25120                         "\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
25121                         "\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
25122                         "\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
25123                         "\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
25124                         "\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
25125                         "\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
25126                         "\x10\x37\x41\x03\x0c\xcc\x3a\x56",
25127                 .expectedlen = 128,
25128                 .addtla = NULL,
25129                 .addtlb = NULL,
25130                 .addtllen = 0,
25131                 .pers = (unsigned char *)
25132                         "\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
25133                         "\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
25134                         "\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
25135                 .perslen = 32,
25136         }, {
25137                 .entropy = (unsigned char *)
25138                         "\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
25139                         "\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
25140                         "\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
25141                         "\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
25142                 .entropylen = 48,
25143                 .expected = (unsigned char *)
25144                         "\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
25145                         "\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
25146                         "\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
25147                         "\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
25148                         "\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
25149                         "\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
25150                         "\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
25151                         "\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
25152                         "\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
25153                         "\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
25154                         "\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
25155                 .expectedlen = 128,
25156                 .addtla = (unsigned char *)
25157                         "\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
25158                         "\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
25159                         "\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
25160                 .addtlb = (unsigned char *)
25161                         "\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
25162                         "\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
25163                         "\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
25164                 .addtllen = 32,
25165                 .pers = (unsigned char *)
25166                         "\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
25167                         "\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
25168                         "\x36\x60\x3b\xca\x37\xc9\xee\x29",
25169                 .perslen = 32,
25170         },
25171 };
25172
25173 /* Test vector obtained during NIST ACVP testing */
25174 static const struct drbg_testvec drbg_nopr_hmac_sha512_tv_template[] = {
25175         {
25176                 .entropy = (unsigned char *)
25177                         "\xDF\xB0\xF2\x18\xF0\x78\x07\x01\x29\xA4\x29\x26"
25178                         "\x2F\x8A\x34\xCB\x37\xEF\xEE\x41\xE6\x96\xF7\xFF"
25179                         "\x61\x47\xD3\xED\x41\x97\xEF\x64\x0C\x48\x56\x5A"
25180                         "\xE6\x40\x6E\x4A\x3B\x9E\x7F\xAC\x08\xEC\x25\xAE"
25181                         "\x0B\x51\x0E\x2C\x44\x2E\xBD\xDB\x57\xD0\x4A\x6D"
25182                         "\x80\x3E\x37\x0F",
25183                 .entropylen = 64,
25184                 .expected = (unsigned char *)
25185                         "\x48\xc6\xa8\xdb\x09\xae\xde\x5d\x8c\x77\xf3\x52"
25186                         "\x92\x71\xa7\xb9\x6d\x53\x6d\xa3\x73\xe3\x55\xb8"
25187                         "\x39\xd6\x44\x2b\xee\xcb\xe1\x32\x15\x30\xbe\x4e"
25188                         "\x9b\x1e\x06\xd1\x6b\xbf\xd5\x3e\xea\x7c\xf5\xaa"
25189                         "\x4b\x05\xb5\xd3\xa7\xb2\xc4\xfe\xe7\x1b\xda\x11"
25190                         "\x43\x98\x03\x70\x90\xbf\x6e\x43\x9b\xe4\x14\xef"
25191                         "\x71\xa3\x2a\xef\x9f\x0d\xb9\xe3\x52\xf2\x89\xc9"
25192                         "\x66\x9a\x60\x60\x99\x60\x62\x4c\xd6\x45\x52\x54"
25193                         "\xe6\x32\xb2\x1b\xd4\x48\xb5\xa6\xf9\xba\xd3\xff"
25194                         "\x29\xc5\x21\xe0\x91\x31\xe0\x38\x8c\x93\x0f\x3c"
25195                         "\x30\x7b\x53\xa3\xc0\x7f\x2d\xc1\x39\xec\x69\x0e"
25196                         "\xf2\x4a\x3c\x65\xcc\xed\x07\x2a\xf2\x33\x83\xdb"
25197                         "\x10\x74\x96\x40\xa7\xc5\x1b\xde\x81\xca\x0b\x8f"
25198                         "\x1e\x0a\x1a\x7a\xbf\x3c\x4a\xb8\x8c\xaf\x7b\x80"
25199                         "\xb7\xdc\x5d\x0f\xef\x1b\x97\x6e\x3d\x17\x23\x5a"
25200                         "\x31\xb9\x19\xcf\x5a\xc5\x00\x2a\xb6\xf3\x99\x34"
25201                         "\x65\xee\xe9\x1c\x55\xa0\x3b\x07\x60\xc9\xc4\xe4"
25202                         "\xf7\x57\x5c\x34\x9f\xc6\x31\x30\x3f\x23\xb2\x89"
25203                         "\xc0\xe7\x50\xf3\xde\x59\xd1\x0e\xb3\x0f\x78\xcc"
25204                         "\x7e\x54\x5e\x61\xf6\x86\x3d\xb3\x11\x94\x36\x3e"
25205                         "\x61\x5c\x48\x99\xf6\x7b\x02\x9a\xdc\x6a\x28\xe6"
25206                         "\xd1\xa7\xd1\xa3",
25207                 .expectedlen = 256,
25208                 .addtla = (unsigned char *)
25209                         "\x6B\x0F\x4A\x48\x0B\x12\x85\xE4\x72\x23\x7F\x7F"
25210                         "\x94\x7C\x24\x69\x14\x9F\xDC\x72\xA6\x33\xAD\x3C"
25211                         "\x8C\x72\xC1\x88\x49\x59\x82\xC5",
25212                 .addtlb = (unsigned char *)
25213                         "\xC4\xAF\x36\x3D\xB8\x5D\x9D\xFA\x92\xF5\xC3\x3C"
25214                         "\x2D\x1E\x22\x2A\xBD\x8B\x05\x6F\xA3\xFC\xBF\x16"
25215                         "\xED\xAA\x75\x8D\x73\x9A\xF6\xEC",
25216                 .addtllen = 32,
25217                 .pers = NULL,
25218                 .perslen = 0,
25219         }
25220 };
25221
25222 static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
25223         {
25224                 .entropy = (unsigned char *)
25225                         "\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
25226                         "\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
25227                         "\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
25228                         "\xac\x9b\xbb\x00",
25229                 .entropylen = 40,
25230                 .expected = (unsigned char *)
25231                         "\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
25232                         "\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
25233                         "\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
25234                         "\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
25235                         "\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
25236                         "\x9a\x9d\xf1\x0d",
25237                 .expectedlen = 64,
25238                 .addtla = NULL,
25239                 .addtlb = NULL,
25240                 .addtllen = 0,
25241                 .pers = NULL,
25242                 .perslen = 0,
25243         },
25244 };
25245
25246 static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
25247         {
25248                 .entropy = (unsigned char *)
25249                         "\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
25250                         "\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
25251                         "\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
25252                         "\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
25253                 .entropylen = 48,
25254                 .expected = (unsigned char *)
25255                         "\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
25256                         "\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
25257                         "\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
25258                         "\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
25259                         "\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
25260                         "\xb4\xf0\x7e\x1d",
25261                 .expectedlen = 64,
25262                 .addtla = NULL,
25263                 .addtlb = NULL,
25264                 .addtllen = 0,
25265                 .pers = NULL,
25266                 .perslen = 0,
25267         },
25268 };
25269
25270 static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
25271         {
25272                 .entropy = (unsigned char *)
25273                         "\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
25274                         "\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
25275                 .entropylen = 24,
25276                 .expected = (unsigned char *)
25277                         "\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
25278                         "\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
25279                         "\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
25280                         "\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
25281                         "\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
25282                         "\xcb\x2d\xd6\xb0",
25283                 .expectedlen = 64,
25284                 .addtla = NULL,
25285                 .addtlb = NULL,
25286                 .addtllen = 0,
25287                 .pers = NULL,
25288                 .perslen = 0,
25289         }, {
25290                 .entropy = (unsigned char *)
25291                         "\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
25292                         "\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
25293                 .entropylen = 24,
25294                 .expected = (unsigned char *)
25295                         "\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
25296                         "\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
25297                         "\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
25298                         "\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
25299                         "\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
25300                         "\xc3\xdf\xb3\x81",
25301                 .expectedlen = 64,
25302                 .addtla = (unsigned char *)
25303                         "\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
25304                         "\x91\x4d\x81\x56",
25305                 .addtlb = (unsigned char *)
25306                         "\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
25307                         "\x4a\x55\xd1\xc6",
25308                 .addtllen = 16,
25309                 .pers = NULL,
25310                 .perslen = 0,
25311         }, {
25312                 .entropy = (unsigned char *)
25313                         "\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
25314                         "\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
25315                 .entropylen = 24,
25316                 .expected = (unsigned char *)
25317                         "\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
25318                         "\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
25319                         "\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
25320                         "\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
25321                         "\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
25322                         "\x34\x30\x0c\x3d",
25323                 .expectedlen = 64,
25324                 .addtla = NULL,
25325                 .addtlb = NULL,
25326                 .addtllen = 0,
25327                 .pers = (unsigned char *)
25328                         "\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
25329                         "\x0b\xc6\x97\x54",
25330                 .perslen = 16,
25331         }, {
25332                 .entropy = (unsigned char *)
25333                         "\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
25334                         "\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
25335                 .entropylen = 24,
25336                 .expected = (unsigned char *)
25337                         "\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
25338                         "\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
25339                         "\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
25340                         "\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
25341                         "\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
25342                         "\x2b\x49\x1e\x5c",
25343                 .expectedlen = 64,
25344                 .addtla = (unsigned char *)
25345                         "\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
25346                         "\x44\x85\xe7\xfe",
25347                 .addtlb = (unsigned char *)
25348                         "\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
25349                         "\x82\x16\x62\x7f",
25350                 .addtllen = 16,
25351                 .pers = (unsigned char *)
25352                         "\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
25353                         "\x8e\xcf\xe0\x02",
25354                 .perslen = 16,
25355         },
25356 };
25357
25358 /* Cast5 test vectors from RFC 2144 */
25359 static const struct cipher_testvec cast5_tv_template[] = {
25360         {
25361                 .key    = "\x01\x23\x45\x67\x12\x34\x56\x78"
25362                           "\x23\x45\x67\x89\x34\x56\x78\x9a",
25363                 .klen   = 16,
25364                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
25365                 .ctext  = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
25366                 .len    = 8,
25367         }, {
25368                 .key    = "\x01\x23\x45\x67\x12\x34\x56\x78"
25369                           "\x23\x45",
25370                 .klen   = 10,
25371                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
25372                 .ctext  = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
25373                 .len    = 8,
25374         }, {
25375                 .key    = "\x01\x23\x45\x67\x12",
25376                 .klen   = 5,
25377                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
25378                 .ctext  = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
25379                 .len    = 8,
25380         }, { /* Generated from TF test vectors */
25381                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25382                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
25383                 .klen   = 16,
25384                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
25385                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25386                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25387                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25388                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25389                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25390                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25391                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25392                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25393                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25394                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25395                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25396                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25397                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25398                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25399                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25400                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25401                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25402                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25403                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25404                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25405                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25406                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25407                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25408                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25409                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25410                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25411                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25412                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25413                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25414                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25415                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25416                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25417                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25418                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25419                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25420                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25421                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25422                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25423                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25424                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25425                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25426                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25427                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25428                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25429                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25430                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25431                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25432                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25433                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25434                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25435                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25436                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25437                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25438                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25439                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25440                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25441                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25442                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25443                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25444                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25445                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25446                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
25447                 .ctext  = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
25448                           "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
25449                           "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
25450                           "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
25451                           "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
25452                           "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
25453                           "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
25454                           "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
25455                           "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
25456                           "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
25457                           "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
25458                           "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
25459                           "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
25460                           "\xED\x34\x35\x78\x6B\x91\xC9\x32"
25461                           "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
25462                           "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
25463                           "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
25464                           "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
25465                           "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
25466                           "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
25467                           "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
25468                           "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
25469                           "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
25470                           "\x78\x75\x37\x55\xC1\xF5\x90\x40"
25471                           "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
25472                           "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
25473                           "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
25474                           "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
25475                           "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
25476                           "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
25477                           "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
25478                           "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
25479                           "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
25480                           "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
25481                           "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
25482                           "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
25483                           "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
25484                           "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
25485                           "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
25486                           "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
25487                           "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
25488                           "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
25489                           "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
25490                           "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
25491                           "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
25492                           "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
25493                           "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
25494                           "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
25495                           "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
25496                           "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
25497                           "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
25498                           "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
25499                           "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
25500                           "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
25501                           "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
25502                           "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
25503                           "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
25504                           "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
25505                           "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
25506                           "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
25507                           "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
25508                           "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
25509                 .len    = 496,
25510         },
25511 };
25512
25513 static const struct cipher_testvec cast5_cbc_tv_template[] = {
25514         { /* Generated from TF test vectors */
25515                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25516                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
25517                 .klen   = 16,
25518                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
25519                 .iv_out = "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
25520                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25521                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25522                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25523                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25524                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25525                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25526                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25527                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25528                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25529                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25530                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25531                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25532                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25533                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25534                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25535                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25536                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25537                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25538                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25539                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25540                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25541                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25542                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25543                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25544                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25545                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25546                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25547                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25548                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25549                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25550                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25551                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25552                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25553                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25554                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25555                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25556                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25557                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25558                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25559                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25560                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25561                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25562                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25563                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25564                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25565                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25566                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25567                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25568                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25569                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25570                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25571                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25572                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25573                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25574                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25575                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25576                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25577                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25578                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25579                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25580                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25581                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
25582                 .ctext  = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
25583                           "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
25584                           "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
25585                           "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
25586                           "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
25587                           "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
25588                           "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
25589                           "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
25590                           "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
25591                           "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
25592                           "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
25593                           "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
25594                           "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
25595                           "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
25596                           "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
25597                           "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
25598                           "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
25599                           "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
25600                           "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
25601                           "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
25602                           "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
25603                           "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
25604                           "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
25605                           "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
25606                           "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
25607                           "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
25608                           "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
25609                           "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
25610                           "\x90\x12\x37\x49\x27\x98\x69\x18"
25611                           "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
25612                           "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
25613                           "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
25614                           "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
25615                           "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
25616                           "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
25617                           "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
25618                           "\x03\x55\x0E\x02\x41\x4A\x45\x06"
25619                           "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
25620                           "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
25621                           "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
25622                           "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
25623                           "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
25624                           "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
25625                           "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
25626                           "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
25627                           "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
25628                           "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
25629                           "\x11\xB4\x18\x17\x1A\x65\x92\x56"
25630                           "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
25631                           "\x1A\x01\x22\x45\x17\x62\x52\x6C"
25632                           "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
25633                           "\x32\x66\x6F\x23\x7F\x94\x36\x88"
25634                           "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
25635                           "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
25636                           "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
25637                           "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
25638                           "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
25639                           "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
25640                           "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
25641                           "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
25642                           "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
25643                           "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
25644                 .len    = 496,
25645         },
25646 };
25647
25648 static const struct cipher_testvec cast5_ctr_tv_template[] = {
25649         { /* Generated from TF test vectors */
25650                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25651                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
25652                 .klen   = 16,
25653                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
25654                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x62",
25655                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25656                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25657                           "\x3A",
25658                 .ctext  = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
25659                           "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
25660                           "\x0C",
25661                 .len    = 17,
25662         }, { /* Generated from TF test vectors */
25663                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25664                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
25665                 .klen   = 16,
25666                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
25667                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9D",
25668                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25669                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25670                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25671                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25672                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25673                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25674                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25675                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25676                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25677                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25678                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25679                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25680                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25681                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25682                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25683                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25684                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25685                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25686                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25687                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25688                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25689                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25690                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25691                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25692                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25693                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25694                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25695                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25696                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25697                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25698                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25699                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25700                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25701                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25702                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25703                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25704                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25705                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25706                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25707                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25708                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25709                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25710                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25711                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25712                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25713                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25714                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25715                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25716                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25717                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25718                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25719                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25720                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25721                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25722                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25723                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25724                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25725                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25726                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25727                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25728                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25729                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
25730                 .ctext  = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
25731                           "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
25732                           "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
25733                           "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
25734                           "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
25735                           "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
25736                           "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
25737                           "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
25738                           "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
25739                           "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
25740                           "\x88\x18\x52\x56\x48\x58\xD1\x6B"
25741                           "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
25742                           "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
25743                           "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
25744                           "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
25745                           "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
25746                           "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
25747                           "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
25748                           "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
25749                           "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
25750                           "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
25751                           "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
25752                           "\x44\x67\x90\x20\xAC\x41\xDF\x43"
25753                           "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
25754                           "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
25755                           "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
25756                           "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
25757                           "\xAE\x59\x0F\x07\x88\x79\x53\x26"
25758                           "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
25759                           "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
25760                           "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
25761                           "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
25762                           "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
25763                           "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
25764                           "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
25765                           "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
25766                           "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
25767                           "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
25768                           "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
25769                           "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
25770                           "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
25771                           "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
25772                           "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
25773                           "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
25774                           "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
25775                           "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
25776                           "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
25777                           "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
25778                           "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
25779                           "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
25780                           "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
25781                           "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
25782                           "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
25783                           "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
25784                           "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
25785                           "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
25786                           "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
25787                           "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
25788                           "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
25789                           "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
25790                           "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
25791                           "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
25792                 .len    = 496,
25793         },
25794 };
25795
25796 /*
25797  * ARC4 test vectors from OpenSSL
25798  */
25799 static const struct cipher_testvec arc4_tv_template[] = {
25800         {
25801                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
25802                 .klen   = 8,
25803                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
25804                 .ctext  = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
25805                 .len    = 8,
25806         }, {
25807                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
25808                 .klen   = 8,
25809                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
25810                 .ctext  = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
25811                 .len    = 8,
25812         }, {
25813                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00",
25814                 .klen   = 8,
25815                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
25816                 .ctext  = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
25817                 .len    = 8,
25818         }, {
25819                 .key    = "\xef\x01\x23\x45",
25820                 .klen   = 4,
25821                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
25822                           "\x00\x00\x00\x00\x00\x00\x00\x00"
25823                           "\x00\x00\x00\x00",
25824                 .ctext  = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
25825                           "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
25826                           "\x36\xb6\x78\x58",
25827                 .len    = 20,
25828         }, {
25829                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
25830                 .klen   = 8,
25831                 .ptext  = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
25832                           "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
25833                           "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
25834                           "\x12\x34\x56\x78",
25835                 .ctext  = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
25836                           "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
25837                           "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
25838                           "\x40\x01\x1e\xcf",
25839                 .len    = 28,
25840         }, {
25841                 .key    = "\xef\x01\x23\x45",
25842                 .klen   = 4,
25843                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
25844                           "\x00\x00",
25845                 .ctext  = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
25846                           "\xbd\x61",
25847                 .len    = 10,
25848         }, {
25849                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
25850                         "\x00\x00\x00\x00\x00\x00\x00\x00",
25851                 .klen   = 16,
25852                 .ptext  = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
25853                 .ctext  = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
25854                 .len    = 8,
25855         },
25856 };
25857
25858 /*
25859  * TEA test vectors
25860  */
25861 static const struct cipher_testvec tea_tv_template[] = {
25862         {
25863                 .key    = zeroed_string,
25864                 .klen   = 16,
25865                 .ptext  = zeroed_string,
25866                 .ctext  = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
25867                 .len    = 8,
25868         }, {
25869                 .key    = "\x2b\x02\x05\x68\x06\x14\x49\x76"
25870                           "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
25871                 .klen   = 16,
25872                 .ptext  = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
25873                 .ctext  = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
25874                 .len    = 8,
25875         }, {
25876                 .key    = "\x09\x65\x43\x11\x66\x44\x39\x25"
25877                           "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
25878                 .klen   = 16,
25879                 .ptext  = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
25880                           "\x65\x73\x74\x5f\x76\x65\x63\x74",
25881                 .ctext  = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
25882                           "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
25883                 .len    = 16,
25884         }, {
25885                 .key    = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
25886                           "\x5d\x04\x16\x36\x15\x72\x63\x2f",
25887                 .klen   = 16,
25888                 .ptext  = "\x54\x65\x61\x20\x69\x73\x20\x67"
25889                           "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
25890                           "\x79\x6f\x75\x21\x21\x21\x20\x72"
25891                           "\x65\x61\x6c\x6c\x79\x21\x21\x21",
25892                 .ctext  = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
25893                           "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
25894                           "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
25895                           "\x07\x89\x73\xc2\x45\x92\xc6\x90",
25896                 .len    = 32,
25897         }
25898 };
25899
25900 /*
25901  * XTEA test vectors
25902  */
25903 static const struct cipher_testvec xtea_tv_template[] = {
25904         {
25905                 .key    = zeroed_string,
25906                 .klen   = 16,
25907                 .ptext  = zeroed_string,
25908                 .ctext  = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
25909                 .len    = 8,
25910         }, {
25911                 .key    = "\x2b\x02\x05\x68\x06\x14\x49\x76"
25912                           "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
25913                 .klen   = 16,
25914                 .ptext  = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
25915                 .ctext  = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
25916                 .len    = 8,
25917         }, {
25918                 .key    = "\x09\x65\x43\x11\x66\x44\x39\x25"
25919                           "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
25920                 .klen   = 16,
25921                 .ptext  = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
25922                           "\x65\x73\x74\x5f\x76\x65\x63\x74",
25923                 .ctext  = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
25924                           "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
25925                 .len    = 16,
25926         }, {
25927                 .key    = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
25928                           "\x5d\x04\x16\x36\x15\x72\x63\x2f",
25929                 .klen   = 16,
25930                 .ptext  = "\x54\x65\x61\x20\x69\x73\x20\x67"
25931                           "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
25932                           "\x79\x6f\x75\x21\x21\x21\x20\x72"
25933                           "\x65\x61\x6c\x6c\x79\x21\x21\x21",
25934                 .ctext  = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
25935                           "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
25936                           "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
25937                           "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
25938                 .len    = 32,
25939         }
25940 };
25941
25942 /*
25943  * KHAZAD test vectors.
25944  */
25945 static const struct cipher_testvec khazad_tv_template[] = {
25946         {
25947                 .key    = "\x80\x00\x00\x00\x00\x00\x00\x00"
25948                           "\x00\x00\x00\x00\x00\x00\x00\x00",
25949                 .klen   = 16,
25950                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
25951                 .ctext  = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
25952                 .len    = 8,
25953         }, {
25954                 .key    = "\x38\x38\x38\x38\x38\x38\x38\x38"
25955                           "\x38\x38\x38\x38\x38\x38\x38\x38",
25956                 .klen   = 16,
25957                 .ptext  = "\x38\x38\x38\x38\x38\x38\x38\x38",
25958                 .ctext  = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
25959                 .len    = 8,
25960         }, {
25961                 .key    = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
25962                         "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
25963                 .klen   = 16,
25964                 .ptext  = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
25965                 .ctext  = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
25966                 .len    = 8,
25967         }, {
25968                 .key    = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
25969                         "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
25970                 .klen   = 16,
25971                 .ptext  = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
25972                 .ctext  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
25973                 .len    = 8,
25974         }, {
25975                 .key    = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
25976                         "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
25977                 .klen   = 16,
25978                 .ptext  = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
25979                         "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
25980                 .ctext  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
25981                         "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
25982                 .len    = 16,
25983         },
25984 };
25985
25986 /*
25987  * Anubis test vectors.
25988  */
25989
25990 static const struct cipher_testvec anubis_tv_template[] = {
25991         {
25992                 .key    = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
25993                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
25994                 .klen   = 16,
25995                 .ptext  = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
25996                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
25997                 .ctext  = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
25998                           "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
25999                 .len    = 16,
26000         }, {
26001
26002                 .key    = "\x03\x03\x03\x03\x03\x03\x03\x03"
26003                           "\x03\x03\x03\x03\x03\x03\x03\x03"
26004                           "\x03\x03\x03\x03",
26005                 .klen   = 20,
26006                 .ptext  = "\x03\x03\x03\x03\x03\x03\x03\x03"
26007                           "\x03\x03\x03\x03\x03\x03\x03\x03",
26008                 .ctext  = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
26009                           "\x87\x41\x6f\x82\x0a\x98\x64\xae",
26010                 .len    = 16,
26011         }, {
26012                 .key    = "\x24\x24\x24\x24\x24\x24\x24\x24"
26013                           "\x24\x24\x24\x24\x24\x24\x24\x24"
26014                           "\x24\x24\x24\x24\x24\x24\x24\x24"
26015                           "\x24\x24\x24\x24",
26016                 .klen   = 28,
26017                 .ptext  = "\x24\x24\x24\x24\x24\x24\x24\x24"
26018                           "\x24\x24\x24\x24\x24\x24\x24\x24",
26019                 .ctext  = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
26020                           "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
26021                 .len    = 16,
26022         }, {
26023                 .key    = "\x25\x25\x25\x25\x25\x25\x25\x25"
26024                           "\x25\x25\x25\x25\x25\x25\x25\x25"
26025                           "\x25\x25\x25\x25\x25\x25\x25\x25"
26026                           "\x25\x25\x25\x25\x25\x25\x25\x25",
26027                 .klen   = 32,
26028                 .ptext  = "\x25\x25\x25\x25\x25\x25\x25\x25"
26029                           "\x25\x25\x25\x25\x25\x25\x25\x25",
26030                 .ctext  = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
26031                         "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
26032                 .len    = 16,
26033         }, {
26034                 .key    = "\x35\x35\x35\x35\x35\x35\x35\x35"
26035                           "\x35\x35\x35\x35\x35\x35\x35\x35"
26036                           "\x35\x35\x35\x35\x35\x35\x35\x35"
26037                           "\x35\x35\x35\x35\x35\x35\x35\x35"
26038                           "\x35\x35\x35\x35\x35\x35\x35\x35",
26039                 .klen   = 40,
26040                 .ptext  = "\x35\x35\x35\x35\x35\x35\x35\x35"
26041                           "\x35\x35\x35\x35\x35\x35\x35\x35",
26042                 .ctext  = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
26043                           "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
26044                 .len    = 16,
26045         },
26046 };
26047
26048 static const struct cipher_testvec anubis_cbc_tv_template[] = {
26049         {
26050                 .key    = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
26051                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
26052                 .klen   = 16,
26053                 .iv_out = "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
26054                           "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
26055                 .ptext  = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
26056                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
26057                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
26058                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
26059                 .ctext  = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
26060                           "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
26061                           "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
26062                           "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
26063                 .len    = 32,
26064         }, {
26065                 .key    = "\x35\x35\x35\x35\x35\x35\x35\x35"
26066                           "\x35\x35\x35\x35\x35\x35\x35\x35"
26067                           "\x35\x35\x35\x35\x35\x35\x35\x35"
26068                           "\x35\x35\x35\x35\x35\x35\x35\x35"
26069                           "\x35\x35\x35\x35\x35\x35\x35\x35",
26070                 .klen   = 40,
26071                 .iv_out = "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
26072                           "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
26073                 .ptext  = "\x35\x35\x35\x35\x35\x35\x35\x35"
26074                           "\x35\x35\x35\x35\x35\x35\x35\x35"
26075                           "\x35\x35\x35\x35\x35\x35\x35\x35"
26076                           "\x35\x35\x35\x35\x35\x35\x35\x35",
26077                 .ctext  = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
26078                           "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
26079                           "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
26080                           "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
26081                 .len    = 32,
26082         },
26083 };
26084
26085 /*
26086  * XETA test vectors
26087  */
26088 static const struct cipher_testvec xeta_tv_template[] = {
26089         {
26090                 .key    = zeroed_string,
26091                 .klen   = 16,
26092                 .ptext  = zeroed_string,
26093                 .ctext  = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
26094                 .len    = 8,
26095         }, {
26096                 .key    = "\x2b\x02\x05\x68\x06\x14\x49\x76"
26097                           "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26098                 .klen   = 16,
26099                 .ptext  = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26100                 .ctext  = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
26101                 .len    = 8,
26102         }, {
26103                 .key    = "\x09\x65\x43\x11\x66\x44\x39\x25"
26104                           "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26105                 .klen   = 16,
26106                 .ptext  = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26107                           "\x65\x73\x74\x5f\x76\x65\x63\x74",
26108                 .ctext  = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
26109                           "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
26110                 .len    = 16,
26111         }, {
26112                 .key    = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
26113                           "\x5d\x04\x16\x36\x15\x72\x63\x2f",
26114                 .klen   = 16,
26115                 .ptext  = "\x54\x65\x61\x20\x69\x73\x20\x67"
26116                           "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
26117                           "\x79\x6f\x75\x21\x21\x21\x20\x72"
26118                           "\x65\x61\x6c\x6c\x79\x21\x21\x21",
26119                 .ctext  = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
26120                           "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
26121                           "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
26122                           "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
26123                 .len    = 32,
26124         }
26125 };
26126
26127 /*
26128  * FCrypt test vectors
26129  */
26130 static const struct cipher_testvec fcrypt_pcbc_tv_template[] = {
26131         { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
26132                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00",
26133                 .klen   = 8,
26134                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
26135                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
26136                 .ctext  = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
26137                 .len    = 8,
26138         }, {
26139                 .key    = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
26140                 .klen   = 8,
26141                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
26142                 .ptext  = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
26143                 .ctext  = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
26144                 .len    = 8,
26145         }, { /* From Arla */
26146                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
26147                 .klen   = 8,
26148                 .iv     = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
26149                 .ptext  = "The quick brown fox jumps over the lazy dogs.\0\0",
26150                 .ctext  = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
26151                           "\xee\xac\x98\x62\x44\x51\xe4\x84"
26152                           "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
26153                           "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
26154                           "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
26155                           "\xf8\x91\x3c\xac\x44\x22\x92\xef",
26156                 .len    = 48,
26157         }, {
26158                 .key    = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
26159                 .klen   = 8,
26160                 .iv     = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
26161                 .ptext  = "The quick brown fox jumps over the lazy dogs.\0\0",
26162                 .ctext  = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
26163                           "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
26164                           "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
26165                           "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
26166                           "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
26167                           "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
26168                 .len    = 48,
26169         }
26170 };
26171
26172 /*
26173  * CAMELLIA test vectors.
26174  */
26175 static const struct hash_testvec camellia_cmac128_tv_template[] = {
26176         { /* From draft-kato-ipsec-camellia-cmac96and128-01 */
26177                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
26178                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
26179                 .plaintext      = zeroed_string,
26180                 .digest         = "\xba\x92\x57\x82\xaa\xa1\xf5\xd9"
26181                                   "\xa0\x0f\x89\x64\x80\x94\xfc\x71",
26182                 .psize          = 0,
26183                 .ksize          = 16,
26184         }, {
26185                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
26186                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
26187                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
26188                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
26189                 .digest         = "\x6d\x96\x28\x54\xa3\xb9\xfd\xa5"
26190                                   "\x6d\x7d\x45\xa9\x5e\xe1\x79\x93",
26191                 .psize          = 16,
26192                 .ksize          = 16,
26193         }, {
26194                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
26195                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
26196                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
26197                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
26198                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
26199                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
26200                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
26201                 .digest         = "\x5c\x18\xd1\x19\xcc\xd6\x76\x61"
26202                                   "\x44\xac\x18\x66\x13\x1d\x9f\x22",
26203                 .psize          = 40,
26204                 .ksize          = 16,
26205         }, {
26206                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
26207                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
26208                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
26209                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
26210                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
26211                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
26212                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
26213                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
26214                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
26215                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
26216                 .digest         = "\xc2\x69\x9a\x6e\xba\x55\xce\x9d"
26217                                   "\x93\x9a\x8a\x4e\x19\x46\x6e\xe9",
26218                 .psize          = 64,
26219                 .ksize          = 16,
26220         }
26221 };
26222 static const struct cipher_testvec camellia_tv_template[] = {
26223         {
26224                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
26225                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
26226                 .klen   = 16,
26227                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
26228                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
26229                 .ctext  = "\x67\x67\x31\x38\x54\x96\x69\x73"
26230                           "\x08\x57\x06\x56\x48\xea\xbe\x43",
26231                 .len    = 16,
26232         }, {
26233                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
26234                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
26235                           "\x00\x11\x22\x33\x44\x55\x66\x77",
26236                 .klen   = 24,
26237                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
26238                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
26239                 .ctext  = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
26240                           "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
26241                 .len    = 16,
26242         }, {
26243                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
26244                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
26245                           "\x00\x11\x22\x33\x44\x55\x66\x77"
26246                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
26247                 .klen   = 32,
26248                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
26249                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
26250                 .ctext  = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
26251                           "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
26252                 .len    = 16,
26253         }, { /* Generated with Crypto++ */
26254                 .key    = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
26255                           "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
26256                           "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
26257                           "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
26258                 .klen   = 32,
26259                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26260                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26261                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26262                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26263                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26264                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26265                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26266                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26267                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26268                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26269                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26270                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26271                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26272                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26273                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26274                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26275                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26276                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26277                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26278                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26279                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26280                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26281                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26282                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26283                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26284                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26285                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26286                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26287                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26288                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26289                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26290                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26291                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26292                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26293                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26294                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26295                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26296                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26297                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26298                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26299                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26300                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26301                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26302                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26303                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26304                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26305                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26306                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26307                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26308                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26309                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26310                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26311                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26312                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26313                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26314                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26315                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26316                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26317                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26318                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26319                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26320                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
26321                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
26322                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
26323                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
26324                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
26325                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
26326                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
26327                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
26328                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
26329                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
26330                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
26331                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
26332                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
26333                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
26334                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
26335                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
26336                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
26337                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
26338                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
26339                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
26340                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
26341                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
26342                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
26343                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
26344                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
26345                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
26346                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
26347                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
26348                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
26349                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
26350                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
26351                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
26352                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
26353                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
26354                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
26355                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
26356                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
26357                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
26358                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
26359                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
26360                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
26361                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
26362                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
26363                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
26364                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
26365                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
26366                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
26367                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
26368                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
26369                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
26370                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
26371                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
26372                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
26373                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
26374                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
26375                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
26376                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
26377                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
26378                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
26379                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
26380                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
26381                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
26382                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
26383                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
26384                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
26385                 .ctext  = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
26386                           "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
26387                           "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
26388                           "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
26389                           "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
26390                           "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
26391                           "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
26392                           "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
26393                           "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
26394                           "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
26395                           "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
26396                           "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
26397                           "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
26398                           "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
26399                           "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
26400                           "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
26401                           "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
26402                           "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
26403                           "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
26404                           "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
26405                           "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
26406                           "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
26407                           "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
26408                           "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
26409                           "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
26410                           "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
26411                           "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
26412                           "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
26413                           "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
26414                           "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
26415                           "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
26416                           "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
26417                           "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
26418                           "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
26419                           "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
26420                           "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
26421                           "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
26422                           "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
26423                           "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
26424                           "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
26425                           "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
26426                           "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
26427                           "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
26428                           "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
26429                           "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
26430                           "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
26431                           "\x83\x06\xAB\x82\x99\x01\x16\x1A"
26432                           "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
26433                           "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
26434                           "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
26435                           "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
26436                           "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
26437                           "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
26438                           "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
26439                           "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
26440                           "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
26441                           "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
26442                           "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
26443                           "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
26444                           "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
26445                           "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
26446                           "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
26447                           "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
26448                           "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
26449                           "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
26450                           "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
26451                           "\xED\x28\x39\xE9\x63\xED\x41\x70"
26452                           "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
26453                           "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
26454                           "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
26455                           "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
26456                           "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
26457                           "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
26458                           "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
26459                           "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
26460                           "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
26461                           "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
26462                           "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
26463                           "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
26464                           "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
26465                           "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
26466                           "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
26467                           "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
26468                           "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
26469                           "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
26470                           "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
26471                           "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
26472                           "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
26473                           "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
26474                           "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
26475                           "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
26476                           "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
26477                           "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
26478                           "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
26479                           "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
26480                           "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
26481                           "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
26482                           "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
26483                           "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
26484                           "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
26485                           "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
26486                           "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
26487                           "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
26488                           "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
26489                           "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
26490                           "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
26491                           "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
26492                           "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
26493                           "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
26494                           "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
26495                           "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
26496                           "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
26497                           "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
26498                           "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
26499                           "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
26500                           "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
26501                           "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
26502                           "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
26503                           "\x31\x93\x51\x1C\x63\x97\x70\xB0"
26504                           "\x99\x78\x83\x13\xFD\xCF\x53\x81"
26505                           "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
26506                           "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
26507                           "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
26508                           "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
26509                           "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
26510                           "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
26511                 .len    = 1008,
26512         },
26513 };
26514
26515 static const struct cipher_testvec camellia_cbc_tv_template[] = {
26516         {
26517                 .key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
26518                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
26519                 .klen   = 16,
26520                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
26521                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
26522                 .iv_out = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
26523                           "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
26524                 .ptext  = "Single block msg",
26525                 .ctext  = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
26526                           "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
26527                 .len    = 16,
26528         }, {
26529                 .key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
26530                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
26531                 .klen   = 16,
26532                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
26533                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
26534                 .iv_out = "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
26535                           "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
26536                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
26537                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26538                           "\x10\x11\x12\x13\x14\x15\x16\x17"
26539                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
26540                 .ctext  = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
26541                           "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
26542                           "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
26543                           "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
26544                 .len    = 32,
26545         }, { /* Generated with Crypto++ */
26546                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26547                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
26548                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
26549                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
26550                 .klen   = 32,
26551                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
26552                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
26553                 .iv_out = "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
26554                           "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
26555                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26556                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26557                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26558                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26559                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26560                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26561                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26562                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26563                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26564                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26565                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26566                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26567                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26568                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26569                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26570                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26571                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26572                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26573                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26574                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26575                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26576                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26577                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26578                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26579                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26580                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26581                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26582                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26583                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26584                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26585                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26586                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26587                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26588                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26589                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26590                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26591                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26592                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26593                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26594                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26595                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26596                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26597                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26598                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26599                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26600                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26601                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26602                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26603                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26604                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26605                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26606                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26607                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26608                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26609                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26610                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26611                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26612                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26613                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26614                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26615                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26616                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
26617                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
26618                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
26619                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
26620                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
26621                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
26622                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
26623                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
26624                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
26625                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
26626                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
26627                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
26628                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
26629                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
26630                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
26631                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
26632                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
26633                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
26634                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
26635                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
26636                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
26637                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
26638                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
26639                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
26640                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
26641                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
26642                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
26643                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
26644                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
26645                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
26646                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
26647                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
26648                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
26649                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
26650                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
26651                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
26652                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
26653                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
26654                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
26655                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
26656                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
26657                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
26658                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
26659                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
26660                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
26661                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
26662                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
26663                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
26664                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
26665                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
26666                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
26667                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
26668                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
26669                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
26670                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
26671                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
26672                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
26673                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
26674                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
26675                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
26676                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
26677                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
26678                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
26679                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
26680                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
26681                 .ctext  = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
26682                           "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
26683                           "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
26684                           "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
26685                           "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
26686                           "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
26687                           "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
26688                           "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
26689                           "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
26690                           "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
26691                           "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
26692                           "\x37\x49\x88\xA4\xEF\x91\x21\x47"
26693                           "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
26694                           "\x28\x90\x77\x46\xD8\xD2\x35\x16"
26695                           "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
26696                           "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
26697                           "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
26698                           "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
26699                           "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
26700                           "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
26701                           "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
26702                           "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
26703                           "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
26704                           "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
26705                           "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
26706                           "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
26707                           "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
26708                           "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
26709                           "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
26710                           "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
26711                           "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
26712                           "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
26713                           "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
26714                           "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
26715                           "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
26716                           "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
26717                           "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
26718                           "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
26719                           "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
26720                           "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
26721                           "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
26722                           "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
26723                           "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
26724                           "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
26725                           "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
26726                           "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
26727                           "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
26728                           "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
26729                           "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
26730                           "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
26731                           "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
26732                           "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
26733                           "\x38\xB8\x48\x36\x66\x4E\x20\x43"
26734                           "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
26735                           "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
26736                           "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
26737                           "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
26738                           "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
26739                           "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
26740                           "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
26741                           "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
26742                           "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
26743                           "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
26744                           "\x21\x41\x56\x72\x13\xE1\x86\x07"
26745                           "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
26746                           "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
26747                           "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
26748                           "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
26749                           "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
26750                           "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
26751                           "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
26752                           "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
26753                           "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
26754                           "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
26755                           "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
26756                           "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
26757                           "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
26758                           "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
26759                           "\xBE\x31\x31\x96\x8B\x40\x18\x75"
26760                           "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
26761                           "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
26762                           "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
26763                           "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
26764                           "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
26765                           "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
26766                           "\x09\xB0\x43\x96\x4A\x64\x80\x40"
26767                           "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
26768                           "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
26769                           "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
26770                           "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
26771                           "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
26772                           "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
26773                           "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
26774                           "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
26775                           "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
26776                           "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
26777                           "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
26778                           "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
26779                           "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
26780                           "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
26781                           "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
26782                           "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
26783                           "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
26784                           "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
26785                           "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
26786                           "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
26787                           "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
26788                           "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
26789                           "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
26790                           "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
26791                           "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
26792                           "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
26793                           "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
26794                           "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
26795                           "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
26796                           "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
26797                           "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
26798                           "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
26799                           "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
26800                           "\x80\xE7\x29\xDC\x23\x55\x98\x54"
26801                           "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
26802                           "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
26803                           "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
26804                           "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
26805                           "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
26806                           "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
26807                 .len    = 1008,
26808         },
26809 };
26810
26811 static const struct cipher_testvec camellia_ctr_tv_template[] = {
26812         { /* Generated with Crypto++ */
26813                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26814                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
26815                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
26816                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
26817                 .klen   = 32,
26818                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
26819                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
26820                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
26821                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
26822                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26823                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26824                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26825                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26826                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26827                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26828                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26829                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26830                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26831                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26832                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26833                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26834                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26835                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26836                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26837                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26838                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26839                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26840                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26841                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26842                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26843                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26844                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26845                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26846                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26847                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26848                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26849                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26850                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26851                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26852                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26853                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26854                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26855                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26856                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26857                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26858                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26859                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26860                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26861                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26862                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26863                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26864                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26865                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26866                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26867                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26868                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26869                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26870                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26871                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26872                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26873                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26874                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26875                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26876                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26877                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26878                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26879                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26880                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26881                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26882                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26883                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26884                 .ctext  = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
26885                           "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
26886                           "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
26887                           "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
26888                           "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
26889                           "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
26890                           "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
26891                           "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
26892                           "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
26893                           "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
26894                           "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
26895                           "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
26896                           "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
26897                           "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
26898                           "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
26899                           "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
26900                           "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
26901                           "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
26902                           "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
26903                           "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
26904                           "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
26905                           "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
26906                           "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
26907                           "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
26908                           "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
26909                           "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
26910                           "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
26911                           "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
26912                           "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
26913                           "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
26914                           "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
26915                           "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
26916                           "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
26917                           "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
26918                           "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
26919                           "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
26920                           "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
26921                           "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
26922                           "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
26923                           "\x79\xA2\x99\x28\x93\x1B\x00\x57"
26924                           "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
26925                           "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
26926                           "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
26927                           "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
26928                           "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
26929                           "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
26930                           "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
26931                           "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
26932                           "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
26933                           "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
26934                           "\x76\x44\x45\xF3\x24\x11\x57\x98"
26935                           "\x9A\x86\xB4\x12\x80\x28\x86\x20"
26936                           "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
26937                           "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
26938                           "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
26939                           "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
26940                           "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
26941                           "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
26942                           "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
26943                           "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
26944                           "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
26945                           "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
26946                 .len    = 496,
26947         }, { /* Generated with Crypto++ */
26948                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26949                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
26950                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
26951                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
26952                 .klen   = 32,
26953                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
26954                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
26955                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
26956                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\xA4",
26957                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26958                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26959                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26960                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26961                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26962                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26963                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26964                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26965                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26966                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26967                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26968                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26969                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26970                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26971                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26972                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26973                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26974                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26975                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26976                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26977                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26978                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26979                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26980                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26981                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26982                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26983                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26984                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26985                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26986                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26987                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26988                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26989                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26990                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26991                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26992                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26993                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26994                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26995                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26996                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26997                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26998                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26999                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
27000                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
27001                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
27002                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
27003                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
27004                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
27005                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
27006                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
27007                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
27008                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
27009                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
27010                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
27011                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
27012                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
27013                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
27014                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
27015                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
27016                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
27017                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
27018                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
27019                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
27020                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
27021                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
27022                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
27023                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
27024                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
27025                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
27026                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
27027                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
27028                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
27029                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
27030                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
27031                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
27032                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
27033                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
27034                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
27035                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
27036                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
27037                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
27038                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
27039                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
27040                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
27041                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
27042                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
27043                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
27044                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
27045                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
27046                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
27047                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
27048                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
27049                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
27050                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
27051                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
27052                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
27053                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
27054                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
27055                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
27056                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
27057                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
27058                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
27059                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
27060                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
27061                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
27062                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
27063                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
27064                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
27065                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
27066                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
27067                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
27068                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
27069                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
27070                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
27071                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
27072                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
27073                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
27074                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
27075                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
27076                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
27077                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
27078                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
27079                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
27080                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
27081                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
27082                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
27083                           "\xE4\x7B\x12",
27084                 .ctext  = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
27085                           "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
27086                           "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
27087                           "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
27088                           "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
27089                           "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
27090                           "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
27091                           "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
27092                           "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
27093                           "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
27094                           "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
27095                           "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
27096                           "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
27097                           "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
27098                           "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
27099                           "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
27100                           "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
27101                           "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
27102                           "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
27103                           "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
27104                           "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
27105                           "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
27106                           "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
27107                           "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
27108                           "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
27109                           "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
27110                           "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
27111                           "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
27112                           "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
27113                           "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
27114                           "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
27115                           "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
27116                           "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
27117                           "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
27118                           "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
27119                           "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
27120                           "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
27121                           "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
27122                           "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
27123                           "\x79\xA2\x99\x28\x93\x1B\x00\x57"
27124                           "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
27125                           "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
27126                           "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
27127                           "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
27128                           "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
27129                           "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
27130                           "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
27131                           "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
27132                           "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
27133                           "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
27134                           "\x76\x44\x45\xF3\x24\x11\x57\x98"
27135                           "\x9A\x86\xB4\x12\x80\x28\x86\x20"
27136                           "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
27137                           "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
27138                           "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
27139                           "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
27140                           "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
27141                           "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
27142                           "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
27143                           "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
27144                           "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
27145                           "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
27146                           "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
27147                           "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
27148                           "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
27149                           "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
27150                           "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
27151                           "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
27152                           "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
27153                           "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
27154                           "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
27155                           "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
27156                           "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
27157                           "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
27158                           "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
27159                           "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
27160                           "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
27161                           "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
27162                           "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
27163                           "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
27164                           "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
27165                           "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
27166                           "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
27167                           "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
27168                           "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
27169                           "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
27170                           "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
27171                           "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
27172                           "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
27173                           "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
27174                           "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
27175                           "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
27176                           "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
27177                           "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
27178                           "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
27179                           "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
27180                           "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
27181                           "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
27182                           "\x00\x70\x12\x56\x56\x50\xAD\x14"
27183                           "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
27184                           "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
27185                           "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
27186                           "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
27187                           "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
27188                           "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
27189                           "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
27190                           "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
27191                           "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
27192                           "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
27193                           "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
27194                           "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
27195                           "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
27196                           "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
27197                           "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
27198                           "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
27199                           "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
27200                           "\x40\x48\x19\x73\x7C\x78\x64\x0B"
27201                           "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
27202                           "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
27203                           "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
27204                           "\x74\x28\x9D\x05\x30\x20\x62\x41"
27205                           "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
27206                           "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
27207                           "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
27208                           "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
27209                           "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
27210                           "\xF1\x6B\xD9",
27211                 .len    = 1011,
27212         }, { /* Generated with Crypto++ */
27213                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
27214                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
27215                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
27216                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
27217                 .klen   = 32,
27218                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
27219                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
27220                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
27221                           "\x00\x00\x00\x00\x00\x00\x00\x3C",
27222                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27223                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27224                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
27225                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
27226                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
27227                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
27228                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
27229                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
27230                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
27231                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
27232                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
27233                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
27234                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
27235                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
27236                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
27237                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
27238                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
27239                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
27240                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
27241                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
27242                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
27243                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
27244                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
27245                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
27246                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
27247                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
27248                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
27249                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
27250                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
27251                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
27252                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
27253                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
27254                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
27255                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
27256                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
27257                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
27258                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
27259                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
27260                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
27261                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
27262                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
27263                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
27264                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
27265                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
27266                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
27267                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
27268                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
27269                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
27270                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
27271                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
27272                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
27273                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
27274                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
27275                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
27276                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
27277                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
27278                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
27279                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
27280                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
27281                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
27282                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
27283                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
27284                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
27285                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
27286                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
27287                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
27288                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
27289                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
27290                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
27291                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
27292                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
27293                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
27294                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
27295                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
27296                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
27297                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
27298                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
27299                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
27300                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
27301                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
27302                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
27303                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
27304                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
27305                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
27306                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
27307                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
27308                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
27309                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
27310                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
27311                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
27312                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
27313                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
27314                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
27315                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
27316                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
27317                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
27318                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
27319                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
27320                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
27321                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
27322                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
27323                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
27324                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
27325                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
27326                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
27327                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
27328                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
27329                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
27330                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
27331                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
27332                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
27333                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
27334                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
27335                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
27336                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
27337                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
27338                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
27339                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
27340                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
27341                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
27342                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
27343                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
27344                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
27345                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
27346                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
27347                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
27348                 .ctext  = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
27349                           "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
27350                           "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
27351                           "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
27352                           "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
27353                           "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
27354                           "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
27355                           "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
27356                           "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
27357                           "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
27358                           "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
27359                           "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
27360                           "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
27361                           "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
27362                           "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
27363                           "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
27364                           "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
27365                           "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
27366                           "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
27367                           "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
27368                           "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
27369                           "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
27370                           "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
27371                           "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
27372                           "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
27373                           "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
27374                           "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
27375                           "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
27376                           "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
27377                           "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
27378                           "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
27379                           "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
27380                           "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
27381                           "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
27382                           "\x93\x78\x86\x05\x69\x46\xD0\xC5"
27383                           "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
27384                           "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
27385                           "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
27386                           "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
27387                           "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
27388                           "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
27389                           "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
27390                           "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
27391                           "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
27392                           "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
27393                           "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
27394                           "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
27395                           "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
27396                           "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
27397                           "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
27398                           "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
27399                           "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
27400                           "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
27401                           "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
27402                           "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
27403                           "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
27404                           "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
27405                           "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
27406                           "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
27407                           "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
27408                           "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
27409                           "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
27410                           "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
27411                           "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
27412                           "\x3F\x23\x69\x63\x56\x96\x45\xD6"
27413                           "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
27414                           "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
27415                           "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
27416                           "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
27417                           "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
27418                           "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
27419                           "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
27420                           "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
27421                           "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
27422                           "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
27423                           "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
27424                           "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
27425                           "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
27426                           "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
27427                           "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
27428                           "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
27429                           "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
27430                           "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
27431                           "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
27432                           "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
27433                           "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
27434                           "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
27435                           "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
27436                           "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
27437                           "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
27438                           "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
27439                           "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
27440                           "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
27441                           "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
27442                           "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
27443                           "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
27444                           "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
27445                           "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
27446                           "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
27447                           "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
27448                           "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
27449                           "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
27450                           "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
27451                           "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
27452                           "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
27453                           "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
27454                           "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
27455                           "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
27456                           "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
27457                           "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
27458                           "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
27459                           "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
27460                           "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
27461                           "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
27462                           "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
27463                           "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
27464                           "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
27465                           "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
27466                           "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
27467                           "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
27468                           "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
27469                           "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
27470                           "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
27471                           "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
27472                           "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
27473                           "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
27474                 .len    = 1008,
27475         },
27476 };
27477
27478 static const struct cipher_testvec camellia_lrw_tv_template[] = {
27479         /* Generated from AES-LRW test vectors */
27480         {
27481                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
27482                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
27483                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
27484                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
27485                 .klen   = 32,
27486                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27487                           "\x00\x00\x00\x00\x00\x00\x00\x01",
27488                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
27489                           "\x38\x39\x41\x42\x43\x44\x45\x46",
27490                 .ctext  = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
27491                           "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
27492                 .len    = 16,
27493         }, {
27494                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
27495                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
27496                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
27497                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
27498                 .klen   = 32,
27499                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27500                           "\x00\x00\x00\x00\x00\x00\x00\x02",
27501                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
27502                           "\x38\x39\x41\x42\x43\x44\x45\x46",
27503                 .ctext  = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
27504                           "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
27505                 .len    = 16,
27506         }, {
27507                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
27508                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
27509                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
27510                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
27511                 .klen   = 32,
27512                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27513                           "\x00\x00\x00\x02\x00\x00\x00\x00",
27514                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
27515                           "\x38\x39\x41\x42\x43\x44\x45\x46",
27516                 .ctext  = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
27517                           "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
27518                 .len    = 16,
27519         }, {
27520                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
27521                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
27522                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
27523                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
27524                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
27525                 .klen   = 40,
27526                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27527                           "\x00\x00\x00\x00\x00\x00\x00\x01",
27528                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
27529                           "\x38\x39\x41\x42\x43\x44\x45\x46",
27530                 .ctext  = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
27531                           "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
27532                 .len    = 16,
27533         }, {
27534                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
27535                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
27536                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
27537                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
27538                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
27539                 .klen   = 40,
27540                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27541                           "\x00\x00\x00\x02\x00\x00\x00\x00",
27542                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
27543                           "\x38\x39\x41\x42\x43\x44\x45\x46",
27544                 .ctext  = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
27545                           "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
27546                 .len    = 16,
27547         }, {
27548                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
27549                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
27550                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
27551                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
27552                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
27553                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
27554                 .klen   = 48,
27555                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27556                           "\x00\x00\x00\x00\x00\x00\x00\x01",
27557                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
27558                           "\x38\x39\x41\x42\x43\x44\x45\x46",
27559                 .ctext  = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
27560                           "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
27561                 .len    = 16,
27562         }, {
27563                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
27564                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
27565                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
27566                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
27567                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
27568                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
27569                 .klen   = 48,
27570                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27571                           "\x00\x00\x00\x02\x00\x00\x00\x00",
27572                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
27573                           "\x38\x39\x41\x42\x43\x44\x45\x46",
27574                 .ctext  = "\x04\xab\x28\x37\x31\x7a\x26\xab"
27575                           "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
27576                 .len    = 16,
27577         }, {
27578                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
27579                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
27580                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
27581                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
27582                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
27583                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
27584                 .klen   = 48,
27585                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27586                           "\x00\x00\x00\x00\x00\x00\x00\x01",
27587                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
27588                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
27589                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
27590                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
27591                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
27592                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
27593                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
27594                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
27595                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
27596                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
27597                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
27598                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
27599                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
27600                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
27601                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
27602                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
27603                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
27604                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
27605                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
27606                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
27607                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
27608                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
27609                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
27610                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
27611                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
27612                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
27613                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
27614                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
27615                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
27616                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
27617                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
27618                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
27619                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
27620                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
27621                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
27622                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
27623                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
27624                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
27625                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
27626                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
27627                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
27628                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
27629                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
27630                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
27631                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
27632                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
27633                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
27634                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
27635                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
27636                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
27637                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
27638                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
27639                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
27640                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
27641                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
27642                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
27643                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
27644                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
27645                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
27646                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
27647                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
27648                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
27649                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
27650                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
27651                 .ctext  = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
27652                           "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
27653                           "\x67\x76\xac\x2c\xd2\x63\x18\x93"
27654                           "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
27655                           "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
27656                           "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
27657                           "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
27658                           "\x62\xdd\x78\x81\xea\x1d\xef\x04"
27659                           "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
27660                           "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
27661                           "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
27662                           "\x40\x41\x69\xaa\x71\xc0\x37\xec"
27663                           "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
27664                           "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
27665                           "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
27666                           "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
27667                           "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
27668                           "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
27669                           "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
27670                           "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
27671                           "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
27672                           "\x42\x08\x40\x82\x06\x1c\x2d\x55"
27673                           "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
27674                           "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
27675                           "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
27676                           "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
27677                           "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
27678                           "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
27679                           "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
27680                           "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
27681                           "\xed\x14\xa9\x57\x19\x63\x40\x04"
27682                           "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
27683                           "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
27684                           "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
27685                           "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
27686                           "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
27687                           "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
27688                           "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
27689                           "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
27690                           "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
27691                           "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
27692                           "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
27693                           "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
27694                           "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
27695                           "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
27696                           "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
27697                           "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
27698                           "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
27699                           "\x35\xa5\x83\x04\x84\x01\x99\x56"
27700                           "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
27701                           "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
27702                           "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
27703                           "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
27704                           "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
27705                           "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
27706                           "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
27707                           "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
27708                           "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
27709                           "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
27710                           "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
27711                           "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
27712                           "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
27713                           "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
27714                           "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
27715                 .len    = 512,
27716         },
27717 };
27718
27719 static const struct cipher_testvec camellia_xts_tv_template[] = {
27720         /* Generated from AES-XTS test vectors */
27721         {
27722                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
27723                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27724                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27725                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27726                 .klen   = 32,
27727                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27728                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27729                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
27730                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27731                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27732                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27733                 .ctext  = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
27734                           "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
27735                           "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
27736                           "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
27737                 .len    = 32,
27738         }, {
27739                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
27740                           "\x11\x11\x11\x11\x11\x11\x11\x11"
27741                           "\x22\x22\x22\x22\x22\x22\x22\x22"
27742                           "\x22\x22\x22\x22\x22\x22\x22\x22",
27743                 .klen   = 32,
27744                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
27745                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27746                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
27747                           "\x44\x44\x44\x44\x44\x44\x44\x44"
27748                           "\x44\x44\x44\x44\x44\x44\x44\x44"
27749                           "\x44\x44\x44\x44\x44\x44\x44\x44",
27750                 .ctext  = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
27751                           "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
27752                           "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
27753                           "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
27754                 .len    = 32,
27755         }, {
27756                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
27757                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
27758                           "\x22\x22\x22\x22\x22\x22\x22\x22"
27759                           "\x22\x22\x22\x22\x22\x22\x22\x22",
27760                 .klen   = 32,
27761                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
27762                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27763                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
27764                           "\x44\x44\x44\x44\x44\x44\x44\x44"
27765                           "\x44\x44\x44\x44\x44\x44\x44\x44"
27766                           "\x44\x44\x44\x44\x44\x44\x44\x44",
27767                 .ctext  = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
27768                           "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
27769                           "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
27770                           "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
27771                 .len    = 32,
27772         }, {
27773                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
27774                           "\x23\x53\x60\x28\x74\x71\x35\x26"
27775                           "\x31\x41\x59\x26\x53\x58\x97\x93"
27776                           "\x23\x84\x62\x64\x33\x83\x27\x95",
27777                 .klen   = 32,
27778                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27779                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27780                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
27781                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
27782                           "\x10\x11\x12\x13\x14\x15\x16\x17"
27783                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
27784                           "\x20\x21\x22\x23\x24\x25\x26\x27"
27785                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
27786                           "\x30\x31\x32\x33\x34\x35\x36\x37"
27787                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
27788                           "\x40\x41\x42\x43\x44\x45\x46\x47"
27789                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
27790                           "\x50\x51\x52\x53\x54\x55\x56\x57"
27791                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
27792                           "\x60\x61\x62\x63\x64\x65\x66\x67"
27793                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
27794                           "\x70\x71\x72\x73\x74\x75\x76\x77"
27795                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
27796                           "\x80\x81\x82\x83\x84\x85\x86\x87"
27797                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
27798                           "\x90\x91\x92\x93\x94\x95\x96\x97"
27799                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
27800                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
27801                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
27802                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
27803                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
27804                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
27805                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
27806                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
27807                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
27808                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
27809                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
27810                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
27811                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
27812                           "\x00\x01\x02\x03\x04\x05\x06\x07"
27813                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
27814                           "\x10\x11\x12\x13\x14\x15\x16\x17"
27815                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
27816                           "\x20\x21\x22\x23\x24\x25\x26\x27"
27817                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
27818                           "\x30\x31\x32\x33\x34\x35\x36\x37"
27819                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
27820                           "\x40\x41\x42\x43\x44\x45\x46\x47"
27821                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
27822                           "\x50\x51\x52\x53\x54\x55\x56\x57"
27823                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
27824                           "\x60\x61\x62\x63\x64\x65\x66\x67"
27825                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
27826                           "\x70\x71\x72\x73\x74\x75\x76\x77"
27827                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
27828                           "\x80\x81\x82\x83\x84\x85\x86\x87"
27829                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
27830                           "\x90\x91\x92\x93\x94\x95\x96\x97"
27831                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
27832                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
27833                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
27834                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
27835                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
27836                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
27837                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
27838                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
27839                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
27840                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
27841                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
27842                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
27843                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
27844                 .ctext  = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
27845                           "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
27846                           "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
27847                           "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
27848                           "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
27849                           "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
27850                           "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
27851                           "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
27852                           "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
27853                           "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
27854                           "\x08\xda\x76\x00\x65\xcf\x7b\x31"
27855                           "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
27856                           "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
27857                           "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
27858                           "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
27859                           "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
27860                           "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
27861                           "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
27862                           "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
27863                           "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
27864                           "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
27865                           "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
27866                           "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
27867                           "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
27868                           "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
27869                           "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
27870                           "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
27871                           "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
27872                           "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
27873                           "\x16\x31\xb2\x47\x91\x67\xaa\x28"
27874                           "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
27875                           "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
27876                           "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
27877                           "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
27878                           "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
27879                           "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
27880                           "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
27881                           "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
27882                           "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
27883                           "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
27884                           "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
27885                           "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
27886                           "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
27887                           "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
27888                           "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
27889                           "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
27890                           "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
27891                           "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
27892                           "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
27893                           "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
27894                           "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
27895                           "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
27896                           "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
27897                           "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
27898                           "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
27899                           "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
27900                           "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
27901                           "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
27902                           "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
27903                           "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
27904                           "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
27905                           "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
27906                           "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
27907                           "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
27908                 .len    = 512,
27909         }, {
27910                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
27911                           "\x23\x53\x60\x28\x74\x71\x35\x26"
27912                           "\x62\x49\x77\x57\x24\x70\x93\x69"
27913                           "\x99\x59\x57\x49\x66\x96\x76\x27"
27914                           "\x31\x41\x59\x26\x53\x58\x97\x93"
27915                           "\x23\x84\x62\x64\x33\x83\x27\x95"
27916                           "\x02\x88\x41\x97\x16\x93\x99\x37"
27917                           "\x51\x05\x82\x09\x74\x94\x45\x92",
27918                 .klen   = 64,
27919                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
27920                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27921                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
27922                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
27923                           "\x10\x11\x12\x13\x14\x15\x16\x17"
27924                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
27925                           "\x20\x21\x22\x23\x24\x25\x26\x27"
27926                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
27927                           "\x30\x31\x32\x33\x34\x35\x36\x37"
27928                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
27929                           "\x40\x41\x42\x43\x44\x45\x46\x47"
27930                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
27931                           "\x50\x51\x52\x53\x54\x55\x56\x57"
27932                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
27933                           "\x60\x61\x62\x63\x64\x65\x66\x67"
27934                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
27935                           "\x70\x71\x72\x73\x74\x75\x76\x77"
27936                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
27937                           "\x80\x81\x82\x83\x84\x85\x86\x87"
27938                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
27939                           "\x90\x91\x92\x93\x94\x95\x96\x97"
27940                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
27941                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
27942                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
27943                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
27944                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
27945                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
27946                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
27947                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
27948                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
27949                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
27950                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
27951                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
27952                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
27953                           "\x00\x01\x02\x03\x04\x05\x06\x07"
27954                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
27955                           "\x10\x11\x12\x13\x14\x15\x16\x17"
27956                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
27957                           "\x20\x21\x22\x23\x24\x25\x26\x27"
27958                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
27959                           "\x30\x31\x32\x33\x34\x35\x36\x37"
27960                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
27961                           "\x40\x41\x42\x43\x44\x45\x46\x47"
27962                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
27963                           "\x50\x51\x52\x53\x54\x55\x56\x57"
27964                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
27965                           "\x60\x61\x62\x63\x64\x65\x66\x67"
27966                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
27967                           "\x70\x71\x72\x73\x74\x75\x76\x77"
27968                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
27969                           "\x80\x81\x82\x83\x84\x85\x86\x87"
27970                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
27971                           "\x90\x91\x92\x93\x94\x95\x96\x97"
27972                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
27973                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
27974                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
27975                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
27976                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
27977                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
27978                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
27979                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
27980                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
27981                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
27982                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
27983                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
27984                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
27985                 .ctext  = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
27986                           "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
27987                           "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
27988                           "\xf1\x74\xac\x96\x05\x7b\x32\xca"
27989                           "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
27990                           "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
27991                           "\x97\x07\x82\xf0\x07\x12\x38\x0a"
27992                           "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
27993                           "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
27994                           "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
27995                           "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
27996                           "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
27997                           "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
27998                           "\x41\x82\x0c\x45\x39\x35\xa8\x75"
27999                           "\x03\x29\x01\x84\x8c\xab\x48\xbe"
28000                           "\x11\x56\x22\x67\xb7\x67\x1a\x09"
28001                           "\xa1\x72\x25\x41\x3c\x39\x65\x80"
28002                           "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
28003                           "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
28004                           "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
28005                           "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
28006                           "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
28007                           "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
28008                           "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
28009                           "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
28010                           "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
28011                           "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
28012                           "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
28013                           "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
28014                           "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
28015                           "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
28016                           "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
28017                           "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
28018                           "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
28019                           "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
28020                           "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
28021                           "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
28022                           "\xef\x38\x52\x18\x0e\x29\x7e\xef"
28023                           "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
28024                           "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
28025                           "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
28026                           "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
28027                           "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
28028                           "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
28029                           "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
28030                           "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
28031                           "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
28032                           "\x21\x17\xf8\x59\x15\x24\x64\x22"
28033                           "\x57\x48\x80\xd5\x3d\x92\x30\x07"
28034                           "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
28035                           "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
28036                           "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
28037                           "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
28038                           "\x6b\x84\xf3\x00\xba\x52\x05\x02"
28039                           "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
28040                           "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
28041                           "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
28042                           "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
28043                           "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
28044                           "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
28045                           "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
28046                           "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
28047                           "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
28048                           "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
28049                 .len    = 512,
28050         },
28051 };
28052
28053 /*
28054  * SEED test vectors
28055  */
28056 static const struct cipher_testvec seed_tv_template[] = {
28057         {
28058                 .key    = zeroed_string,
28059                 .klen   = 16,
28060                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
28061                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
28062                 .ctext  = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
28063                           "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
28064                 .len    = 16,
28065         }, {
28066                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
28067                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
28068                 .klen   = 16,
28069                 .ptext  = zeroed_string,
28070                 .ctext  = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
28071                           "\x84\x48\x35\x97\xe4\x37\x0f\x43",
28072                 .len    = 16,
28073         }, {
28074                 .key    = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
28075                           "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
28076                 .klen   = 16,
28077                 .ptext  = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
28078                           "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
28079                 .ctext  = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
28080                           "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
28081                 .len    = 16,
28082         }, {
28083                 .key    = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
28084                           "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
28085                 .klen   = 16,
28086                 .ptext  = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
28087                           "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
28088                 .ctext  = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
28089                           "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
28090                 .len    = 16,
28091         }
28092 };
28093
28094 /*
28095  * ARIA test vectors
28096  */
28097 static const struct cipher_testvec aria_tv_template[] = {
28098         {
28099                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
28100                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
28101                 .klen   = 16,
28102                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
28103                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
28104                 .ctext  = "\xd7\x18\xfb\xd6\xab\x64\x4c\x73"
28105                           "\x9d\xa9\x5f\x3b\xe6\x45\x17\x78",
28106                 .len    = 16,
28107         }, {
28108                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
28109                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28110                           "\x10\x11\x12\x13\x14\x15\x16\x17",
28111                 .klen   = 24,
28112                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
28113                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
28114                 .ctext  = "\x26\x44\x9c\x18\x05\xdb\xe7\xaa"
28115                           "\x25\xa4\x68\xce\x26\x3a\x9e\x79",
28116                 .len    = 16,
28117         }, {
28118                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
28119                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28120                           "\x10\x11\x12\x13\x14\x15\x16\x17"
28121                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
28122                 .klen   = 32,
28123                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
28124                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
28125                 .ctext  = "\xf9\x2b\xd7\xc7\x9f\xb7\x2e\x2f"
28126                           "\x2b\x8f\x80\xc1\x97\x2d\x24\xfc",
28127                 .len    = 16,
28128         }
28129 };
28130
28131 static const struct cipher_testvec aria_cbc_tv_template[] = {
28132         {
28133                 .key    = "\x7c\x95\x0d\x07\xe6\x14\x98\x92"
28134                           "\x07\xac\x22\x41\x4d\x23\x27\x37",
28135                 .klen   = 16,
28136                 .iv     = "\x9d\xd5\x62\xce\x3d\x07\xd9\x89"
28137                           "\xf2\x78\x19\x4b\x65\x39\xc3\xc6",
28138                 .ptext  = "\xcb\xbf\x47\x35\xc5\x37\xf0\x4e"
28139                           "\x85\x19\x21\x72\x33\x00\xde\x28",
28140                 .ctext  = "\xf4\x80\x89\x89\x4a\x37\xda\x98"
28141                           "\x80\x52\x74\x75\xd9\xef\x58\xff",
28142                 .len    = 16,
28143         }, {
28144                 .key    = "\x8f\xb9\x8d\xc9\xd7\x99\xfe\x7d"
28145                           "\xeb\x14\xaa\x65\xaf\x8c\x38\x1a",
28146                 .klen   = 16,
28147                 .iv     = "\xb1\x67\x46\x57\x0c\x64\x65\xf2"
28148                           "\x8c\x2f\x65\x11\x12\x33\xd4\x9a",
28149                 .ptext  = "\x3a\xaf\xc1\xeb\x3c\x0c\xc5\xcc"
28150                           "\x10\x6e\x45\xa1\xd6\x89\xf1\xe5"
28151                           "\x74\xb6\x90\xd3\x81\x45\x00\x66"
28152                           "\x62\x15\x78\x84\xb2\x63\x11\x76",
28153                 .ctext  = "\x3d\x7d\x3a\xeb\x23\x85\x3e\x72"
28154                           "\x12\x45\xbb\x5b\x42\x99\xec\xa0"
28155                           "\xa2\xbe\x75\xd6\xb1\xd8\xea\x6f"
28156                           "\x97\xfe\xfd\xcc\xfc\x08\x38\x00",
28157                 .len    = 32,
28158         }, {
28159                 .key    = "\xe8\xe0\x85\x9c\x33\x06\x36\x5f"
28160                           "\xa9\xab\x72\x66\xa1\xd7\xf5\x0d",
28161                 .klen   = 16,
28162                 .iv     = "\x5d\xd3\xaf\x13\xed\x82\xc8\x92"
28163                           "\x4f\xf4\xe2\x35\xdb\x39\x9e\xa5",
28164                 .ptext  = "\xdf\x73\x61\x44\x86\x2f\x58\x1e"
28165                           "\xfe\xf6\xb9\x1d\xd9\x1e\x4c\x7c"
28166                           "\xb4\xe6\x2b\x7d\x17\xc3\xc6\x5f"
28167                           "\x9d\xf4\x29\x8a\x55\x5c\x82\x0e"
28168                           "\x67\x91\xdd\x4b\xfb\x31\x33\xf1"
28169                           "\x56\x75\xa3\x2c\x46\x08\xff\x18",
28170                 .ctext  = "\x85\x07\x8c\x88\x70\x7b\x39\xb8"
28171                           "\xfd\x1d\xa1\xd0\x89\x5f\x3f\x85"
28172                           "\x18\x5a\xde\x64\xbd\x54\xd5\x67"
28173                           "\xd1\x27\x4c\x98\x82\x76\xea\x22"
28174                           "\x52\x98\x79\xb4\x1d\xe8\x16\xd0"
28175                           "\xc6\xea\xf7\xbb\x38\x89\xf2\x5d",
28176                 .len    = 48,
28177         }, {
28178                 .key    = "\xc1\x19\x8a\x7b\xc9\xaf\x00\xb3"
28179                           "\x92\x3c\xd7\xed\xe7\x76\xc5\x98",
28180                 .klen   = 16,
28181                 .iv     = "\xca\x62\x82\x1a\x5b\xb1\xcf\xc1"
28182                           "\xfb\x50\xb7\xfc\xb0\x3b\x15\xcb",
28183                 .ptext  = "\xcb\x92\x56\x74\xc9\xee\x80\x78"
28184                           "\x78\xf5\x73\xc5\x5b\x2c\x70\x2d"
28185                           "\x4e\x0d\xd7\x17\x6d\x5a\x35\x74"
28186                           "\x33\xb0\x7d\xf5\xdf\x5f\x96\x7b"
28187                           "\x1c\x79\x16\xd0\xe0\x29\x4e\x94"
28188                           "\x95\x46\x86\x7a\x77\x28\x89\xb4"
28189                           "\x3d\xbb\x65\xab\xfb\xd1\x6c\xf4"
28190                           "\x47\xbd\x7e\x7f\x9b\x1d\x8b\x12",
28191                 .ctext  = "\x69\xd2\x56\xdf\xa8\x1a\x97\xbd"
28192                           "\x69\xb5\xbb\x6b\x29\x1d\x5f\x0f"
28193                           "\xdf\x5f\x63\xc0\x83\x0b\xd7\xb1"
28194                           "\x31\x2d\xbf\x73\xe1\xe5\x5d\x0e"
28195                           "\x0c\x8d\xc4\x8a\xa9\xbd\x5f\xc7"
28196                           "\xb5\x61\xa0\x2b\x90\x64\x1a\xde"
28197                           "\xd2\xe1\x61\xb9\xce\xf4\x0b\x1c"
28198                           "\x9c\x43\x69\x6d\xb2\x32\x98\x44",
28199                 .len    = 64,
28200         }, {
28201                 .key    = "\xfa\xf7\x53\xf6\xd6\x08\x70\xf1"
28202                           "\x32\x58\x97\x74\x04\x12\x1b\x14",
28203                 .klen   = 16,
28204                 .iv     = "\xdd\x93\xb2\x3e\xcb\xc1\x7c\x27"
28205                           "\x7f\x9e\x41\x03\xab\x1d\xfb\x77",
28206                 .ptext  = "\xae\x34\x94\x50\x73\x32\xf0\x75"
28207                           "\x96\x53\x2e\x1a\xc9\x91\x2b\x37"
28208                           "\x77\xbe\x48\x39\xa7\xd0\x6e\xf7"
28209                           "\x22\x7c\x4f\xe7\xd8\x06\xee\x92"
28210                           "\x80\x57\x61\x45\x7f\x50\xd5\x0a"
28211                           "\x0b\x5e\xd4\xd6\x90\x4e\xc3\x04"
28212                           "\x52\x63\xaf\x02\x55\xa6\x49\x4b"
28213                           "\x7a\x7e\x2e\x95\xea\x80\x6c\x4b"
28214                           "\xb7\x88\x42\x3d\xc1\x09\x28\x97"
28215                           "\xd7\xa1\x0f\x0f\x1f\xf1\xea\x63",
28216                 .ctext  = "\x6b\x83\x00\xf1\x79\xb2\x23\xbf"
28217                           "\x17\x26\x8a\xef\xd3\xe1\x0e\x82"
28218                           "\x5b\xc7\xde\x3e\x39\x72\x2d\xb0"
28219                           "\xad\x25\x3b\xe6\x3b\x9f\xe9\x4b"
28220                           "\x6e\xe8\x77\xf5\x9d\x7d\x00\xae"
28221                           "\x73\x7b\x81\xff\xe3\x55\x8e\x90"
28222                           "\xdf\xe4\xcd\xd5\xdc\x16\x8b\x7a"
28223                           "\xe5\x04\x92\x18\xff\xcc\x63\x1b"
28224                           "\x53\xf3\x26\x44\x5c\x48\x1d\xa2"
28225                           "\x1f\x3f\xe0\x8b\x8f\x6f\xc2\x38",
28226                 .len    = 80,
28227         }, {
28228                 .key    = "\xb8\xab\x6d\x03\x9d\xec\x15\x0a"
28229                           "\xcd\xcd\x68\x73\xa9\x35\x7e\x8a",
28230                 .klen   = 16,
28231                 .iv     = "\x9d\xf1\xc0\xa0\x02\x06\xf0\x03"
28232                           "\x43\x45\x6a\x2e\x3f\x21\xa9\x3c",
28233                 .ptext  = "\xef\xbe\x0c\xa3\x49\x4a\xda\x1e"
28234                           "\x64\x90\x85\xeb\xdc\xca\x2b\x37"
28235                           "\x78\xb7\x62\xd7\x0a\xee\x35\x38"
28236                           "\x97\x72\x6a\x99\xb8\x86\x07\x77"
28237                           "\x40\xc3\x14\x49\x1f\x67\xa1\x6e"
28238                           "\x87\xf0\x0b\x64\x4d\xea\x7c\x3a"
28239                           "\x91\x05\xb1\x48\xa1\x6a\x00\x1d"
28240                           "\x1b\x4f\x99\xb9\x52\xc9\x0c\xfd"
28241                           "\xf3\xe2\x0b\x5f\xe9\xec\x71\xe2"
28242                           "\x7d\x15\x84\x46\xc2\x3b\x77\x7b"
28243                           "\x30\x01\x34\x5c\x8f\x22\x58\x9a"
28244                           "\x17\x05\x7e\xf6\xd5\x92\xc0\xb4",
28245                 .ctext  = "\x79\x50\x9b\x34\xd7\x22\x9a\x72"
28246                           "\x61\xd7\xd8\xa9\xdb\xcf\x2f\xb0"
28247                           "\x81\x11\xe3\xed\xa0\xe4\xbd\x8d"
28248                           "\xe6\xf2\x52\x52\x40\xec\x9f\x3b"
28249                           "\xd4\x48\xc6\xdf\xfd\x36\x90\x8a"
28250                           "\x2f\x3b\xb0\xfb\xf4\x2b\x99\xa5"
28251                           "\xb2\x39\xc7\x52\x57\x2b\xbc\xd7"
28252                           "\x3f\x06\x10\x15\x2e\xf7\xaa\x79"
28253                           "\xd6\x6a\xe5\x4e\x2d\x0f\x5f\xaf"
28254                           "\xf9\x5a\x63\x28\x33\xf0\x85\x8a"
28255                           "\x06\x45\xce\x73\xaa\x96\x1d\xcc"
28256                           "\x6e\xb9\x25\xb8\x4c\xfe\xeb\x64",
28257                 .len    = 96,
28258         }, {
28259                 .key    = "\x50\x45\x7b\x4c\x6d\x80\x53\x62"
28260                           "\x90\x26\x77\xf8\x04\x65\x26\xe3",
28261                 .klen   = 16,
28262                 .iv     = "\x9d\xd3\x73\x7b\x9b\xbd\x45\x97"
28263                           "\xd2\xbb\xa1\xb9\x08\x88\x2c\x85",
28264                 .ptext  = "\x9f\x11\xeb\x78\x74\xcc\x4e\xd6"
28265                           "\x06\x4b\x6d\xe4\xdb\x11\x91\x58"
28266                           "\x1f\xa4\xf6\x0e\x8f\xe4\xcf\xfc"
28267                           "\x95\x9a\x8b\x68\xb4\x54\x57\x58"
28268                           "\x27\x71\xe4\x4b\xc5\x78\x6a\x26"
28269                           "\x28\xae\xed\x71\x0e\xe7\xbf\xc3"
28270                           "\xff\x9c\x46\x7b\x31\x3e\xff\xb1"
28271                           "\xa8\xca\xc3\x6d\xa1\x9e\x49\x16"
28272                           "\x31\x8b\xed\x2d\x2a\x2b\xaf\x3b"
28273                           "\x3e\x74\x7f\x07\x67\x8e\xb8\x0d"
28274                           "\x86\xe2\xea\x2c\x4a\x74\xdc\x9f"
28275                           "\x53\x72\xd1\x2e\x97\x0d\x0b\xa5"
28276                           "\x05\x87\x8e\x86\x69\x8d\x26\xfb"
28277                           "\x90\xc8\xab\x0e\xac\xaf\x84\x1c",
28278                 .ctext  = "\x3c\x91\xab\x71\xe4\x77\x3e\xb0"
28279                           "\x7f\x20\x2e\xd0\xe1\xbe\xfd\x3c"
28280                           "\x06\x6c\x36\x75\x46\x27\xfd\x2d"
28281                           "\xba\x0f\xf0\x3c\x6d\x1e\x4b\x20"
28282                           "\xe9\x5e\x30\xd8\x03\xc6\xa0\x86"
28283                           "\xa8\xc7\xa4\x7f\x0e\x1f\x35\x55"
28284                           "\x24\x53\x02\xd5\x77\x30\x73\xdc"
28285                           "\xa5\xaf\x19\x92\x5b\x36\x86\x0e"
28286                           "\xcf\xf2\x5c\x00\xde\x92\xbf\x89"
28287                           "\x76\x46\xd5\x26\xb1\x8d\xa4\xef"
28288                           "\x61\x7e\x78\xb4\x68\xf5\x5b\x1d"
28289                           "\x39\x65\x32\x3a\xad\xff\x8b\x37"
28290                           "\x60\xc2\x8a\xaf\x48\x96\x8b\x9f"
28291                           "\x12\x6c\x70\x77\x95\xf3\x58\xb0",
28292                 .len    = 112,
28293         }, {
28294                 .key    = "\xf9\x9f\x6a\x87\xa1\x2d\x6e\xac"
28295                           "\xde\xbb\x3e\x15\x5e\x49\xa4\xef",
28296                 .klen   = 16,
28297                 .iv     = "\xeb\x8e\x4f\xbe\x4b\x47\xd6\x4f"
28298                           "\x65\xd0\xfa\xee\xa6\xf1\x2c\xda",
28299                 .ptext  = "\xa3\xfa\x4f\xf6\x00\x12\xbe\xc1"
28300                           "\x90\xcc\x91\x88\xbd\xfb\x1c\xdb"
28301                           "\x2b\xc8\xb9\x3d\x98\x01\xc8\x1f"
28302                           "\x07\xb4\xf3\x10\x1d\xfd\xb7\x2e"
28303                           "\xcb\x1c\x1f\xe0\x2d\xca\xd3\xc7"
28304                           "\xb2\xce\x52\xf1\x7e\xcb\x7c\x50"
28305                           "\x0c\x5c\x53\x6b\x18\x62\x02\x54"
28306                           "\xbc\x9d\x1f\xda\xd9\x7a\x2d\xff"
28307                           "\xb8\x2c\x65\xad\xf1\xfe\xb6\xa4"
28308                           "\x8c\xe8\x0a\xb7\x67\x60\xcb\x38"
28309                           "\xd7\x72\xa5\xb1\x92\x13\x8e\xd4"
28310                           "\xcd\xb3\x04\xb5\xa1\x11\x96\x37"
28311                           "\xb3\x53\xa6\xc4\x14\x56\x6d\x42"
28312                           "\x66\x43\x40\x42\x41\x63\x11\x7a"
28313                           "\xd5\x34\x38\x75\xd0\xbc\x74\x89"
28314                           "\x82\x1d\x2c\x0a\x3e\x6a\xfb\xbd",
28315                 .ctext  = "\x09\x58\xf3\x22\xe5\x10\xf6\x3d"
28316                           "\xba\xb1\xfa\x5a\x16\xfe\xc5\x32"
28317                           "\x3d\x34\x59\x2e\x81\xde\x99\x2f"
28318                           "\xeb\x6a\x97\x86\x1f\x47\x8d\xe6"
28319                           "\x87\x79\x0e\xfe\xa4\xca\x09\xdc"
28320                           "\x24\x9b\xbb\xb1\x90\x33\xce\xd7"
28321                           "\x62\xfd\xfd\xa3\x65\x50\x07\x7c"
28322                           "\x4c\xa2\x10\xc7\x32\x0a\x0d\x5e"
28323                           "\x22\x29\x40\x71\xe5\xcc\x3a\x5b"
28324                           "\x5b\x53\x51\xa5\x5b\xc1\x76\x05"
28325                           "\x84\x6e\xe3\x58\x2b\xf2\x28\x76"
28326                           "\x5c\x66\x90\xfe\x63\x30\x1c\x45"
28327                           "\x26\x34\x80\xfe\x76\x87\x5b\xb1"
28328                           "\x63\x10\x09\xf6\x9d\x35\xcb\xee"
28329                           "\x3c\x60\x9d\x77\x5b\x36\x70\x09"
28330                           "\x4b\x63\x63\x90\x97\x3a\x6c\x8a",
28331                 .len    = 128,
28332         }, {
28333                 .key    = "\x04\xb9\x6c\x8f\x5e\x79\x02\x87"
28334                           "\x88\x06\x7c\xfa\xd3\x7b\x56\xfe",
28335                 .klen   = 16,
28336                 .iv     = "\x4b\xc8\x93\x20\x98\x04\xba\x5a"
28337                           "\x22\x04\x1f\x3f\x79\x2c\x63\x79",
28338                 .ptext  = "\xf3\x85\x3e\x75\x97\x10\x7c\x5d"
28339                           "\x39\x5a\x46\x47\xe7\x51\xa3\xac"
28340                           "\x84\x56\x3f\x1b\xb3\x93\x6a\x2e"
28341                           "\xf7\x8f\x63\xbe\x18\xff\xd7\x53"
28342                           "\xc8\xe0\xa5\xde\x86\xc2\xe4\xab"
28343                           "\xc3\x67\x27\x91\x43\x8c\xff\x6c"
28344                           "\xc7\x07\xc2\xcd\xe9\x12\x8b\xef"
28345                           "\x47\xe7\x82\xed\xe3\x8d\x5e\x33"
28346                           "\xca\xf1\x28\x32\xf4\x38\x41\x59"
28347                           "\x6c\x54\xa6\x40\xb0\xd5\x73\x26"
28348                           "\x5b\x02\xa6\x9d\x01\x29\x26\x84"
28349                           "\x5b\x33\x04\x36\xa4\x7b\x00\x01"
28350                           "\x42\xe1\x4f\xda\xa9\x1a\x9b\x4e"
28351                           "\x7d\x4a\x4c\xbc\xf6\xd4\x06\xc2"
28352                           "\x89\x70\x72\xf5\xc5\x7f\x42\xd5"
28353                           "\x7b\x9c\x6f\x00\x21\x74\xc5\xa5"
28354                           "\x78\xd7\xa2\x3c\x6d\x0f\xfb\x74"
28355                           "\x3d\x70\x9f\x6d\xdd\x30\xc0\x28",
28356                 .ctext  = "\xc0\x49\x98\xb9\xf6\x58\xeb\x56"
28357                           "\x36\x76\x7a\x40\x7c\x27\x80\x62"
28358                           "\xe3\xcb\x9c\x87\x2c\x03\xc2\x0c"
28359                           "\x82\x00\x50\xd2\xe4\x61\x4d\x54"
28360                           "\x88\x10\x6f\x0a\xb4\x25\x57\xba"
28361                           "\xf0\x07\xe3\x55\x06\xb3\x72\xe9"
28362                           "\x2f\x9f\x1e\x50\xa8\x15\x69\x71"
28363                           "\xe3\xe5\x50\x32\xe5\xe0\x47\x0f"
28364                           "\x3a\xaa\x7d\xc0\x09\x0e\xdb\x1a"
28365                           "\xae\xb6\xa5\x87\x63\xd6\xbe\x8b"
28366                           "\xb2\x3d\x10\x1e\xb3\x68\xcf\x8a"
28367                           "\xe5\xa8\x89\xa9\xfe\x79\x13\x77"
28368                           "\xc4\x3f\x6f\x9f\xdd\x76\x5b\xf2"
28369                           "\x05\x67\x8a\x58\xb4\x31\xac\x64"
28370                           "\x6f\xc4\xc1\x6b\x08\x79\x3f\xe5"
28371                           "\x1c\x9a\x66\x3f\x7d\x1f\x18\xb1"
28372                           "\x07\xa5\x7b\x4f\x2c\x43\x33\x84"
28373                           "\xab\x1b\xc0\x7d\x49\x2f\x27\x9b",
28374                 .len    = 144,
28375         }, {
28376                 .key    = "\x99\x79\xaf\x3c\xfb\xbd\xe7\xca"
28377                           "\xee\x4a\x4d\xb2\x23\x1e\xb6\x07",
28378                 .klen   = 16,
28379                 .iv     = "\xb4\xfc\xaa\xc1\x08\xbf\x68\xb2"
28380                           "\xf6\xef\x29\xbc\x2d\x92\xa9\x40",
28381                 .ptext  = "\xd3\x44\xe4\xd9\x6c\x8a\x1d\x4b"
28382                           "\xfe\x64\x25\xb6\x72\x21\xda\x10"
28383                           "\x3e\x77\xee\xd1\x41\xd3\xea\xf0"
28384                           "\xee\xee\x72\x0f\xad\xa1\xca\xf3"
28385                           "\x7e\xfa\x99\x36\xe0\x8f\xed\x40"
28386                           "\xf1\x12\x80\x73\xd6\x26\x3a\xa6"
28387                           "\x5d\x71\xf6\xd5\xe1\xf3\x89\x16"
28388                           "\x6f\x96\x00\xcf\x26\x06\x2a\x27"
28389                           "\xe4\xc2\x57\xba\x1f\x74\x5e\x91"
28390                           "\x10\x7e\xe5\x51\x17\xd5\xdc\xb2"
28391                           "\x5b\x12\x4b\x33\xb1\xc6\x4e\x0d"
28392                           "\xbf\x0e\x5d\x65\x61\x68\xd1\xc5"
28393                           "\x4b\xc5\xa4\xcd\xf0\xe0\x79\x26"
28394                           "\xa3\xcd\xdc\xb8\xfc\xd5\xca\x1d"
28395                           "\x7e\x81\x74\x55\x76\xf5\x40\xbb"
28396                           "\x26\x7f\x11\x37\x23\x70\xc8\xb6"
28397                           "\xfc\x2b\x0b\xd7\x1c\x7b\x45\xe7"
28398                           "\xf2\x2a\xed\x10\x4f\xcf\x0c\xcd"
28399                           "\x0f\xe7\xf9\xa1\xfb\x27\x67\x09"
28400                           "\xee\x11\xa2\xaf\x37\xc6\x16\xe0",
28401                 .ctext  = "\x60\xce\x9a\xdb\xb2\xe8\xa2\x64"
28402                           "\x35\x9c\x5b\x97\x21\x9b\x95\x89"
28403                           "\x7b\x89\x15\x01\x97\x8b\xec\x9b"
28404                           "\xb9\xce\x7d\xb9\x9d\xcc\xd0\xa0"
28405                           "\xda\x39\x5d\xfd\xb9\x51\xe7\x2f"
28406                           "\xe7\x9b\x73\x1b\x07\xfb\xfd\xbb"
28407                           "\xce\x84\x68\x76\x12\xc9\x6c\x38"
28408                           "\xc0\xdc\x67\x96\x5e\x63\xcf\xe5"
28409                           "\x57\x84\x7a\x14\x8c\xab\x38\x94"
28410                           "\x1c\x27\xc3\xe0\x03\x58\xfe\x98"
28411                           "\x97\xfc\x96\xba\x65\x87\x1e\x44"
28412                           "\xf8\x00\x91\x6a\x14\x05\xf3\xf9"
28413                           "\x8e\x3e\x7a\x3c\x41\x96\x15\x4f"
28414                           "\xa8\xc0\x73\x1f\x1b\xeb\xaf\xec"
28415                           "\xc4\x5a\x35\xed\x42\x2f\x47\xea"
28416                           "\xfd\x2f\x29\xf6\x0f\x58\x8b\x3d"
28417                           "\x15\x81\xe3\xa4\xa6\x5f\x33\x33"
28418                           "\xe9\x0d\x06\x4f\x7f\x89\x2c\x3d"
28419                           "\x18\x45\x1f\xd1\xc5\x74\xf7\x52"
28420                           "\x2f\x9b\x72\x3d\x1f\xad\x12\x1b",
28421                 .len    = 160,
28422         }, {
28423                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
28424                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
28425                           "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
28426                 .klen   = 24,
28427                 .iv     = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
28428                           "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
28429                 .ptext  = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
28430                           "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
28431                 .ctext  = "\x2d\x8f\x39\x71\x0a\x2c\xc9\x93"
28432                           "\xb6\x1a\x5c\x53\x06\x4d\xaa\xcf",
28433                 .len    = 16,
28434         }, {
28435                 .key    = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
28436                           "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
28437                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
28438                 .klen   = 24,
28439                 .iv     = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
28440                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
28441                 .ptext  = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
28442                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
28443                           "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
28444                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
28445                 .ctext  = "\xc1\x53\x86\xf8\x60\x5d\x72\x59"
28446                           "\x7e\xdf\xc8\xdb\x85\xd6\x9f\x2a"
28447                           "\xa1\xda\xe5\x85\x78\x4f\x1b\x6f"
28448                           "\x58\xf3\x2b\xff\x34\xe4\x97\x4e",
28449                 .len    = 32,
28450         }, {
28451                 .key    = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
28452                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
28453                           "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
28454                 .klen   = 24,
28455                 .iv     = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
28456                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
28457                 .ptext  = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
28458                           "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
28459                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
28460                           "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
28461                           "\x77\xb5\xca\x90\xda\x1d\x22\x17"
28462                           "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
28463                 .ctext  = "\x25\x5f\x66\x15\xb5\x62\xfb\x55"
28464                           "\xb3\x77\xa1\x7d\x03\xba\x86\x0a"
28465                           "\x0d\x5b\xbb\x06\xe9\xe2\xa8\x41"
28466                           "\xa3\x58\xd6\x4b\xcb\x7f\xd0\x15"
28467                           "\x3b\x02\x74\x5d\x4c\x4c\xb0\xa5"
28468                           "\x06\xc9\x59\x53\x2a\x36\xeb\x59",
28469                 .len    = 48,
28470         }, {
28471                 .key    = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
28472                           "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
28473                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
28474                 .klen   = 24,
28475                 .iv     = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
28476                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
28477                 .ptext  = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
28478                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
28479                           "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
28480                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
28481                           "\x30\x9d\x59\x8d\x64\x76\xad\x37"
28482                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
28483                           "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
28484                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
28485                 .ctext  = "\x91\x02\xa9\xd3\x4b\x9a\x8f\xe6"
28486                           "\x9f\xe4\x51\x57\xc9\x42\xda\x68"
28487                           "\xca\xf6\x54\x51\x90\xec\x20\x2e"
28488                           "\xab\x25\x6c\xd9\x8b\x99\xa6\x1c"
28489                           "\x72\xc9\x01\xd6\xbc\x2b\x26\x78"
28490                           "\x42\x00\x84\x0a\xdd\xa8\xd9\xb5"
28491                           "\xc6\xc8\x30\xb6\xab\xea\x71\x84"
28492                           "\xb2\x57\x97\x32\xdb\x35\x23\xd8",
28493                 .len    = 64,
28494         }, {
28495                 .key    = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
28496                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
28497                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
28498                 .klen   = 24,
28499                 .iv     = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
28500                           "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
28501                 .ptext  = "\x91\xac\x17\x11\x1c\x03\x69\x53"
28502                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
28503                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
28504                           "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
28505                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
28506                           "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
28507                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
28508                           "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
28509                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
28510                           "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
28511                 .ctext  = "\x28\x23\x3a\x4a\x18\xb7\xb6\x05"
28512                           "\xd4\x1b\x6a\x9e\xa7\xf2\x38\x01"
28513                           "\x78\xd3\xb0\x1b\x95\x68\x59\xf1"
28514                           "\xc0\xed\x30\x46\x2e\xb9\xa6\xdc"
28515                           "\xde\xef\xa6\x85\x19\xfc\x4d\x36"
28516                           "\x5d\x24\x92\x62\x75\x32\x76\x6d"
28517                           "\x6d\xa9\x07\xe1\x4f\x59\x84\x1a"
28518                           "\x68\x9a\x07\x48\xd3\x86\xf6\xf1"
28519                           "\x5b\xf9\x35\xec\x7c\xaf\x47\x13"
28520                           "\x9c\xc9\x33\x12\x10\x2f\x94\x8a",
28521                 .len    = 80,
28522         }, {
28523                 .key    = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
28524                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
28525                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
28526                 .klen   = 24,
28527                 .iv     = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
28528                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
28529                 .ptext  = "\x84\xa0\x53\x97\x61\x30\x70\x15"
28530                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
28531                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
28532                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
28533                           "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
28534                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
28535                           "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
28536                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
28537                           "\xee\xb7\x0d\x65\x00\x38\xab\x71"
28538                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
28539                           "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
28540                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
28541                 .ctext  = "\x38\x5b\x16\xef\xb8\x8c\x74\x7a"
28542                           "\x55\x17\x71\xa7\x7d\x34\xd7\x6a"
28543                           "\xc6\x31\x55\x6f\xbb\x61\xf4\x12"
28544                           "\x81\x8c\x91\x0d\x10\xdb\xd5\x22"
28545                           "\x77\x36\x32\xb6\x77\xb1\x5e\x21"
28546                           "\xb5\xec\xf9\x64\x04\x90\x6f\xc6"
28547                           "\x8a\x86\x23\xb5\xfe\xa4\xb6\x84"
28548                           "\x91\xa1\x60\xe3\xd7\xf3\xb9\xda"
28549                           "\x96\x23\x4a\xb3\xab\x75\x84\x04"
28550                           "\x15\x1a\xbb\xe8\x02\x1e\x80\x7c"
28551                           "\xc1\x93\x01\x0f\x5c\x4a\xde\x85"
28552                           "\xbb\x93\x05\x66\x53\x74\x40\x56",
28553                 .len    = 96,
28554         }, {
28555                 .key    = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
28556                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
28557                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
28558                 .klen   = 24,
28559                 .iv     = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
28560                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
28561                 .ptext  = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
28562                           "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
28563                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
28564                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
28565                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
28566                           "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
28567                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
28568                           "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
28569                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
28570                           "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
28571                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
28572                           "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
28573                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
28574                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
28575                 .ctext  = "\x4b\x56\xe0\xc2\x65\x2f\x7c\x6f"
28576                           "\xee\x22\xeb\x34\x1c\xa5\xb7\xc8"
28577                           "\x35\xd7\x51\xfd\x6a\xf4\xdd\xc3"
28578                           "\x38\xf4\xfc\x9d\x2e\xc2\x77\xb7"
28579                           "\x93\x8e\x8c\xb3\x44\x9b\xaf\xbb"
28580                           "\x99\xb9\xa8\x38\x1c\xfe\x63\xfb"
28581                           "\x1f\xa0\xaa\x35\x29\x7b\x87\x49"
28582                           "\x8e\x93\xa5\xb8\x5a\x85\x37\xa7"
28583                           "\x67\x69\x49\xbd\xc3\xfa\x89\x1c"
28584                           "\xf5\x60\x9b\xe7\x71\x96\x95\xd9"
28585                           "\x0b\x98\xe6\x74\x1d\xa3\xd9\x89"
28586                           "\x03\xe4\xf6\x66\xb3\x73\xb1\xac"
28587                           "\x9f\xee\x8f\xc2\x96\xcc\x97\x78"
28588                           "\x1b\x96\x63\x64\x00\x9c\x2d\x29",
28589                 .len    = 112,
28590         }, {
28591                 .key    = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
28592                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
28593                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
28594                 .klen   = 24,
28595                 .iv     = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
28596                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
28597                 .ptext  = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
28598                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
28599                           "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
28600                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
28601                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
28602                           "\x6a\x55\x84\x98\x28\x03\x02\xc2"
28603                           "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
28604                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
28605                           "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
28606                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
28607                           "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
28608                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
28609                           "\x87\x96\x77\x1a\x10\x81\x63\x8a"
28610                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
28611                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
28612                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
28613                 .ctext  = "\x4d\x35\x70\xf1\x25\x02\x1d\x7f"
28614                           "\x9e\x0f\x5b\x4b\x65\xab\xcc\x6b"
28615                           "\x62\xab\x2b\xfa\xc0\x66\xee\x56"
28616                           "\xb4\x66\x95\x22\x84\x39\xd8\x3f"
28617                           "\x74\xba\x4f\x3f\xcd\xef\xcf\xf6"
28618                           "\x76\xeb\x9e\x8a\xec\x9c\x31\xa0"
28619                           "\x3e\x0c\xf9\xfa\x57\x90\xb4\x02"
28620                           "\xac\xc8\x28\xda\xa0\x05\xb7\x7e"
28621                           "\x75\x9c\x79\x36\xa9\x2f\x1a\x36"
28622                           "\x56\x77\xda\x74\xc7\xb3\xdf\xf3"
28623                           "\xb9\x83\x10\xf3\x6b\xe1\xdf\xcb"
28624                           "\x11\x70\xb1\xa0\x68\x48\x26\x95"
28625                           "\x10\x91\x94\xf3\xe9\x82\xb4\x8a"
28626                           "\xaa\xde\xf8\x9f\xce\x82\x47\x18"
28627                           "\x37\x5d\xda\x34\x74\x4d\x36\xbd"
28628                           "\xa5\x6c\xa4\xb3\x70\xad\x00\xbd",
28629                 .len    = 128,
28630         }, {
28631                 .key    = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
28632                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
28633                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
28634                 .klen   = 24,
28635                 .iv     = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
28636                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
28637                 .ptext  = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
28638                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
28639                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
28640                           "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
28641                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
28642                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
28643                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
28644                           "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
28645                           "\xc2\xab\x62\x54\xef\xba\xae\x46"
28646                           "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
28647                           "\x05\x26\x23\x81\x19\x27\xad\x7b"
28648                           "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
28649                           "\x44\xbf\x59\xde\x03\x61\x11\x12"
28650                           "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
28651                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
28652                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
28653                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
28654                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
28655                 .ctext  = "\xa1\x4a\x83\xb2\xe0\xef\x3d\x94"
28656                           "\xa4\x34\x66\x93\xb4\x89\x4e\x12"
28657                           "\xe5\x61\xc9\xea\xe0\x16\x96\x1a"
28658                           "\x3e\x94\x20\x81\xd4\x12\x7f\xf4"
28659                           "\xb8\x3f\xc9\xe2\x99\xb5\x0f\x9e"
28660                           "\x71\x86\x4f\x13\x78\x4e\xf1\x51"
28661                           "\xd4\x7d\x6e\x47\x31\x9a\xd8\xf7"
28662                           "\xb9\xb1\x17\xd0\xbd\xbf\x72\x86"
28663                           "\xb4\x58\x85\xf0\x05\x67\xc4\x00"
28664                           "\xca\xcb\xa7\x1a\x1d\x88\x29\xf4"
28665                           "\xe2\xf6\xdd\x5a\x3e\x5a\xbb\x29"
28666                           "\x48\x5a\x4a\x18\xcd\x5c\xf1\x09"
28667                           "\x5b\xbe\x1a\x43\x12\xc5\x6e\x6e"
28668                           "\x5e\x6d\x3b\x22\xf7\x58\xbd\xc8"
28669                           "\xb1\x04\xaf\x44\x9c\x2b\x98\x5a"
28670                           "\x14\xb7\x35\xb8\x9a\xce\x32\x28"
28671                           "\x1f\x8d\x08\x8a\xb9\x82\xf0\xa5"
28672                           "\x6a\x37\x29\xb6\x29\x3a\x53\x5e",
28673                 .len    = 144,
28674         }, {
28675                 .key    = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
28676                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
28677                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
28678                 .klen   = 24,
28679                 .iv     = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
28680                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
28681                 .ptext  = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
28682                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
28683                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
28684                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
28685                           "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
28686                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
28687                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
28688                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
28689                           "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
28690                           "\x20\xf0\x79\x67\xb1\x83\x26\x66"
28691                           "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
28692                           "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
28693                           "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
28694                           "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
28695                           "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
28696                           "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
28697                           "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
28698                           "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
28699                           "\x52\xf1\x34\x78\x34\x53\x30\x5b"
28700                           "\x43\x43\x51\x6a\x02\x81\x64\x0c",
28701                 .ctext  = "\xd9\xed\xc8\xc7\x66\xcd\x06\xc5"
28702                           "\xc1\x25\x9b\xf5\x14\x71\x1d\x69"
28703                           "\xc9\x7c\x04\x40\xab\xc0\x44\xf4"
28704                           "\xa1\xe6\x57\x8b\x35\x62\x4e\x3f"
28705                           "\xce\x4a\x99\xcd\x95\xc4\xd1\xf3"
28706                           "\xbc\x25\xa2\x18\xe6\xd1\xf7\xc0"
28707                           "\x13\x98\x60\x4c\x5c\xb1\x4f\x7a"
28708                           "\xbc\x45\x12\x52\xe8\x71\xb0\xf1"
28709                           "\x18\xef\x6f\x8a\x63\x35\x17\xae"
28710                           "\x90\x31\x41\x9d\xf4\xdc\x35\xcc"
28711                           "\x49\x72\x10\x11\x3b\xe3\x40\x7a"
28712                           "\x8e\x21\x39\xd0\x5b\x82\xb1\xe9"
28713                           "\x0c\x37\x5a\x7c\x11\xcb\x96\xd9"
28714                           "\xd4\x1c\x47\x4b\x70\xcb\xca\x08"
28715                           "\x5f\x71\xe9\x48\xf6\x29\xd8\xbb"
28716                           "\x5c\xad\x9b\x23\x9f\x62\xaf\xef"
28717                           "\x8e\xd8\x99\x1d\x60\xad\xc3\x6f"
28718                           "\xed\x06\x1a\xec\xfa\xc0\x0f\x0d"
28719                           "\xb7\x00\x02\x45\x7c\x94\x23\xb6"
28720                           "\xd7\x26\x6a\x16\x62\xc4\xd9\xee",
28721                 .len    = 160,
28722         }, {
28723                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
28724                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
28725                           "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
28726                           "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
28727                 .klen   = 32,
28728                 .iv     = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
28729                           "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
28730                 .ptext  = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
28731                           "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
28732                 .ctext  = "\x05\x31\x46\x6d\xb8\xf4\x92\x64"
28733                           "\x46\xfd\x0d\x96\x60\x01\xd7\x94",
28734                 .len    = 16,
28735         }, {
28736                 .key    = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
28737                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22"
28738                           "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
28739                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
28740                 .klen   = 32,
28741                 .iv     = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
28742                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
28743                 .ptext  = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
28744                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d"
28745                           "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
28746                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
28747                 .ctext  = "\x24\x36\xe4\x14\xb7\xe1\x56\x8a"
28748                           "\xf3\xc5\xaf\x0e\xa7\xeb\xbd\xcd"
28749                           "\x2d\xe9\xd7\x19\xae\x24\x5d\x3b"
28750                           "\x1d\xfb\xdc\x21\xb3\x1a\x37\x0b",
28751                 .len    = 32,
28752         }, {
28753                 .key    = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
28754                           "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
28755                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
28756                           "\x39\x56\x34\x63\x2c\xc5\x51\x13",
28757                 .klen   = 32,
28758                 .iv     = "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
28759                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
28760                 .ptext  = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
28761                           "\x77\xb5\xca\x90\xda\x1d\x22\x17"
28762                           "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
28763                           "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
28764                           "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
28765                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
28766                 .ctext  = "\x2e\x73\x60\xec\xd3\x95\x78\xe8"
28767                           "\x0f\x98\x1a\xc2\x92\x49\x0b\x49"
28768                           "\x71\x42\xf4\xb0\xaa\x8b\xf8\x53"
28769                           "\x16\xab\x6d\x74\xc0\xda\xab\xcd"
28770                           "\x85\x52\x11\x20\x2c\x59\x16\x00"
28771                           "\x26\x47\x4a\xea\x08\x5f\x38\x68",
28772                 .len    = 48,
28773         }, {
28774                 .key    = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
28775                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
28776                           "\xa0\x82\x09\x60\x47\xbb\x16\x56"
28777                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c",
28778                 .klen   = 32,
28779                 .iv     = "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
28780                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
28781                 .ptext  = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
28782                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
28783                           "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
28784                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44"
28785                           "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
28786                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
28787                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
28788                           "\xb2\x92\x83\x70\x1e\xa3\x97\xa6",
28789                 .ctext  = "\xfb\xd3\xc3\x8b\xf7\x89\xcc\x31"
28790                           "\xb1\x7f\xc3\x91\xdc\x04\xc6\xd7"
28791                           "\x33\xbd\xe0\xee\x0c\xd5\x70\xed"
28792                           "\x1b\x1d\xad\x49\x6f\x5c\xa1\x68"
28793                           "\xd7\x03\xc9\x65\xa7\x90\x30\x2b"
28794                           "\x26\xeb\xf4\x7a\xac\xcc\x03\xe1"
28795                           "\x6a\xe5\xdb\x23\x10\x8a\xcd\x70"
28796                           "\x39\x4d\x7a\xc9\xcd\x62\xd1\x65",
28797                 .len    = 64,
28798         }, {
28799                 .key    = "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
28800                           "\x91\xac\x17\x11\x1c\x03\x69\x53"
28801                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
28802                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8",
28803                 .klen   = 32,
28804                 .iv     = "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
28805                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
28806                 .ptext  = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
28807                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
28808                           "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
28809                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
28810                           "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
28811                           "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
28812                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
28813                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
28814                           "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
28815                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
28816                 .ctext  = "\xa2\x51\x28\xc2\x5e\x58\x1c\xaf"
28817                           "\x84\x92\x1c\xe1\x92\xf0\xf9\x9e"
28818                           "\xf2\xb3\xc6\x2b\x34\xd2\x8d\xa0"
28819                           "\xb3\xd7\x87\x56\xeb\xd9\x32\x6a"
28820                           "\xca\x90\x28\x26\x49\x34\xca\x41"
28821                           "\xce\xc5\x9e\xd6\xfe\x57\x71\x3c"
28822                           "\x98\xaf\xdd\xfc\x7d\xdf\x26\x7e"
28823                           "\xb7\x9c\xd5\x15\xe5\x81\x7a\x4f"
28824                           "\x4f\x4f\xe5\x77\xf2\x2e\x67\x68"
28825                           "\x52\xc1\xac\x28\x2c\x88\xf4\x38",
28826                 .len    = 80,
28827         }, {
28828                 .key    = "\x84\xa0\x53\x97\x61\x30\x70\x15"
28829                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
28830                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
28831                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95",
28832                 .klen   = 32,
28833                 .iv     = "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
28834                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
28835                 .ptext  = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
28836                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
28837                           "\xee\xb7\x0d\x65\x00\x38\xab\x71"
28838                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
28839                           "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
28840                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
28841                           "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
28842                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
28843                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
28844                           "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
28845                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
28846                           "\x58\x2b\x1d\x73\x9a\x9c\x63\x18",
28847                 .ctext  = "\xd1\xce\xbe\xe0\x4a\x6e\x6d\x7f"
28848                           "\x89\x19\x28\xb1\xca\xe8\xc1\x9c"
28849                           "\x8c\x0b\x7d\x63\xfe\xff\x3d\xf4"
28850                           "\x65\x9e\xd6\xe7\x2f\x5a\xc1\x31"
28851                           "\x1e\xe7\x59\x27\x54\x92\xcc\xaa"
28852                           "\x5b\x3d\xeb\xe7\x96\xc1\x49\x54"
28853                           "\x18\xf3\x14\xaa\x56\x03\x28\x53"
28854                           "\xaa\x0a\x91\xdf\x92\x96\x9b\x06"
28855                           "\x1a\x24\x02\x09\xe7\xa6\xdc\x75"
28856                           "\xeb\x00\x1d\xf5\xf2\xa7\x4a\x9d"
28857                           "\x75\x80\xb7\x47\x63\xfc\xad\x18"
28858                           "\x85\x5f\xfc\x64\x03\x72\x38\xe7",
28859                 .len    = 96,
28860         }, {
28861                 .key    = "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
28862                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
28863                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
28864                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0",
28865                 .klen   = 32,
28866                 .iv     = "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
28867                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
28868                 .ptext  = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
28869                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
28870                           "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
28871                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
28872                           "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
28873                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
28874                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
28875                           "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
28876                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
28877                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
28878                           "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
28879                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
28880                           "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
28881                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c",
28882                 .ctext  = "\x0b\x07\xdc\x6a\x47\x45\xd2\xb0"
28883                           "\xa3\xf2\x42\x2f\xa4\x79\x6b\x4c"
28884                           "\x53\x9c\x8a\x2f\x48\x9c\xf2\x89"
28885                           "\x73\x8b\xdd\x97\xde\x41\x06\xc8"
28886                           "\x8a\x30\x7a\xa9\x90\x4a\x43\xd0"
28887                           "\xd5\xee\x16\x51\x44\xda\xe4\xb8"
28888                           "\xe8\x5f\x6f\xef\x84\xf3\x44\x43"
28889                           "\xbd\xdc\xc3\xdf\x65\x2b\xaf\xf6"
28890                           "\xfe\xd0\x4a\x5b\x30\x47\x8c\xaf"
28891                           "\x8d\xed\x2d\x91\xa1\x03\x9a\x80"
28892                           "\x58\xdd\xaa\x8f\x3b\x6b\x39\x10"
28893                           "\xe5\x92\xbc\xac\xaa\x25\xa1\x13"
28894                           "\x7e\xaa\x03\x83\x05\x83\x11\xfe"
28895                           "\x19\x5f\x04\x01\x48\x00\x3b\x58",
28896                 .len    = 112,
28897         }, {
28898                 .key    = "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
28899                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
28900                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
28901                           "\x6a\x55\x84\x98\x28\x03\x02\xc2",
28902                 .klen   = 32,
28903                 .iv     = "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
28904                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
28905                 .ptext  = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
28906                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
28907                           "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
28908                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
28909                           "\x87\x96\x77\x1a\x10\x81\x63\x8a"
28910                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
28911                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
28912                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
28913                           "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
28914                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
28915                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
28916                           "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
28917                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
28918                           "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
28919                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
28920                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a",
28921                 .ctext  = "\xfe\xba\x8f\x68\x47\x55\xaa\x61"
28922                           "\x48\xdd\xf3\x7c\xc4\xdc\xa6\x93"
28923                           "\x4e\x72\x3f\xc7\xd0\x2b\x9b\xac"
28924                           "\xc1\xb5\x95\xf8\x8e\x75\x62\x0c"
28925                           "\x05\x6a\x90\x76\x35\xed\x73\xf2"
28926                           "\x0f\x44\x3d\xaf\xd4\x00\xeb\x1d"
28927                           "\xad\x27\xf2\x2f\x55\x65\x91\x0f"
28928                           "\xe4\x04\x9c\xfb\x8a\x18\x22\x8e"
28929                           "\x21\xbe\x93\x09\xdd\x3e\x93\x34"
28930                           "\x60\x82\xcd\xff\x42\x10\xed\x43"
28931                           "\x3a\x4b\xb8\x5c\x6c\xa8\x9e\x1c"
28932                           "\x95\x6a\x17\xa7\xa3\xe0\x7d\xdb"
28933                           "\x6e\xca\xaf\xc1\x1f\xb2\x86\x15"
28934                           "\xf0\xc1\x55\x72\xf2\x74\x44\xeb"
28935                           "\x09\x09\x83\x8b\x2c\xc9\x63\x13"
28936                           "\x99\xe3\xe1\x4b\x5c\xf7\xb1\x04",
28937                 .len    = 128,
28938         }, {
28939                 .key    = "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
28940                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
28941                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
28942                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62",
28943                 .klen   = 32,
28944                 .iv     = "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
28945                           "\xc2\xab\x62\x54\xef\xba\xae\x46",
28946                 .ptext  = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
28947                           "\x05\x26\x23\x81\x19\x27\xad\x7b"
28948                           "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
28949                           "\x44\xbf\x59\xde\x03\x61\x11\x12"
28950                           "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
28951                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
28952                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
28953                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
28954                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
28955                           "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
28956                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
28957                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
28958                           "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
28959                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
28960                           "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
28961                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
28962                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
28963                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01",
28964                 .ctext  = "\xa5\x19\x33\xad\x2d\x1a\x7b\x34"
28965                           "\xb0\x21\x68\x0e\x20\x11\x7a\x37"
28966                           "\xef\x35\x33\x64\x31\x0a\x42\x77"
28967                           "\x2c\x7f\x1a\x34\xd6\x93\x2d\xe9"
28968                           "\x26\xb9\x15\xec\x4f\x83\xbd\x48"
28969                           "\x5b\xe9\x63\xea\x10\x3b\xec\xfb"
28970                           "\xb0\x5e\x81\x90\xf0\x07\x43\xc4"
28971                           "\xda\x54\x69\x98\x13\x5d\x93\x16"
28972                           "\xca\x06\x81\x64\x36\xbe\x36\xa2"
28973                           "\xd4\xd8\x48\x63\xc7\x53\x39\x93"
28974                           "\x6d\x6b\xd6\x49\x00\x72\x5e\x02"
28975                           "\xc7\x88\x61\x0f\x10\x88\xd4\x9e"
28976                           "\x17\x81\xa4\xdc\x43\x4e\x83\x43"
28977                           "\xd4\xc3\xd7\x25\x9a\xd4\x76\xde"
28978                           "\x88\xe3\x98\x5a\x0e\x80\x23\xfb"
28979                           "\x49\xb3\x83\xf6\xb9\x16\x00\x06"
28980                           "\xa5\x06\x24\x17\x65\xbb\x68\xa9"
28981                           "\x56\x6d\xeb\xcd\x3c\x14\xd2\x64",
28982                 .len    = 144,
28983         }, {
28984                 .key    = "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
28985                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
28986                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
28987                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53",
28988                 .klen   = 32,
28989                 .iv     = "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
28990                           "\x20\xf0\x79\x67\xb1\x83\x26\x66",
28991                 .ptext  = "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
28992                           "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
28993                           "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
28994                           "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
28995                           "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
28996                           "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
28997                           "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
28998                           "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
28999                           "\x52\xf1\x34\x78\x34\x53\x30\x5b"
29000                           "\x43\x43\x51\x6a\x02\x81\x64\x0c"
29001                           "\xcd\x4b\xbf\x0f\xcb\x81\xd4\xec"
29002                           "\x1e\x07\x05\x4d\x5c\x6b\xba\xcc"
29003                           "\x43\xc7\xb1\xfe\xa8\xe9\x96\xb0"
29004                           "\xb1\xb2\xd4\x70\x44\xbc\xaa\x50"
29005                           "\xbf\x3f\x81\xe6\xea\x36\x7d\x97"
29006                           "\x2a\xbd\x52\x16\xf7\xbe\x59\x27"
29007                           "\x8f\xcc\xe3\xa9\xec\x4f\xcd\xd3"
29008                           "\xf4\xe2\x54\xbe\xf1\xf9\x2b\x23"
29009                           "\x40\xc7\xcb\x67\x4d\x5f\x0b\xd4"
29010                           "\xbf\x19\xf0\x2a\xef\x37\xc6\x56",
29011                 .ctext  = "\x0a\x69\xd8\x67\x33\x2a\x2f\xa9"
29012                           "\x26\x79\x65\xd6\x75\x1e\x98\xe8"
29013                           "\x52\x56\x32\xbf\x67\x71\xf4\x01"
29014                           "\xb1\x6f\xef\xf9\xc9\xad\xb3\x49"
29015                           "\x7a\x4f\x24\x9a\xae\x06\x62\x26"
29016                           "\x3e\xe4\xa7\x6f\x5a\xbf\xe9\x52"
29017                           "\x13\x01\x74\x8b\x6e\xb1\x65\x24"
29018                           "\xaa\x8d\xbb\x54\x21\x20\x60\xa4"
29019                           "\xb7\xa5\xf9\x4e\x7b\xf5\x0b\x70"
29020                           "\xd2\xb9\xdc\x9b\xdb\x2c\xb2\x43"
29021                           "\xf7\x71\x30\xa5\x13\x6f\x16\x75"
29022                           "\xd0\xdf\x72\xae\xe4\xed\xc1\xa3"
29023                           "\x81\xe0\xd5\xc0\x0e\x62\xe8\xe5"
29024                           "\x86\x2c\x37\xde\xf8\xb0\x21\xe4"
29025                           "\xcd\xa6\x76\x9b\xa1\x56\xd3\x67"
29026                           "\x70\x69\xd6\x5d\xc7\x65\x19\x59"
29027                           "\x43\x9c\xca\x32\xe9\xd1\x48\x92"
29028                           "\x71\x79\x87\x73\x24\xcb\xc0\x0f"
29029                           "\x23\x3b\x8f\x51\x8a\xb3\x3a\x9c"
29030                           "\x74\xa4\x19\xa7\xe4\x4f\x6b\x32",
29031                 .len    = 160,
29032         }
29033 };
29034
29035 static const struct cipher_testvec aria_ctr_tv_template[] = {
29036         {
29037                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
29038                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1",
29039                 .klen   = 16,
29040                 .iv     = "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
29041                           "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
29042                 .ptext  = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
29043                           "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
29044                 .ctext  = "\x19\x28\xb5\xf2\x1c\xbc\xf8\xaf"
29045                           "\xb9\xae\x1b\x23\x4f\xe1\x6e\x40",
29046                 .len    = 16,
29047         }, {
29048                 .key    = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
29049                           "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
29050                 .klen   = 16,
29051                 .iv     = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
29052                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
29053                 .ptext  = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
29054                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e"
29055                           "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
29056                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
29057                 .ctext  = "\x3f\x8c\xa9\x19\xd6\xb4\xfb\xed"
29058                           "\x9c\x6d\xaa\x1b\xe1\xc1\xe6\xa8"
29059                           "\xa9\x0a\x63\xd3\xa2\x1e\x6b\xa8"
29060                           "\x52\x97\x1e\x81\x34\x6f\x98\x0e",
29061                 .len    = 32,
29062         }, {
29063                 .key    = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
29064                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
29065                 .klen   = 16,
29066                 .iv     = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
29067                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
29068                 .ptext  = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
29069                           "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
29070                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
29071                           "\x39\x56\x34\x63\x2c\xc5\x51\x13"
29072                           "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
29073                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
29074                 .ctext  = "\x28\xd8\xa7\xf8\x74\x98\x00\xfc"
29075                           "\xd6\x48\xad\xbd\xbe\x3f\x0e\x7b"
29076                           "\x3d\x46\xfd\xde\x3e\x4f\x12\x43"
29077                           "\xac\x85\xda\xff\x70\x24\x44\x9d"
29078                           "\x1e\xf8\x9f\x30\xba\xca\xe0\x97"
29079                           "\x03\x6d\xe1\x1d\xc7\x21\x79\x37",
29080                 .len    = 48,
29081         }, {
29082                 .key    = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
29083                           "\x77\xb5\xca\x90\xda\x1d\x22\x17",
29084                 .klen   = 16,
29085                 .iv     = "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
29086                           "\x07\x2c\xf4\x61\x79\x09\x01\x8f",
29087                 .ptext  = "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
29088                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57"
29089                           "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
29090                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
29091                           "\xa0\x82\x09\x60\x47\xbb\x16\x56"
29092                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
29093                           "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
29094                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
29095                 .ctext  = "\x29\x31\x55\xd2\xe5\x0b\x81\x39"
29096                           "\xf9\xbc\x63\xe2\xfa\x26\x99\xde"
29097                           "\xde\x18\x93\x68\x81\x7b\x0a\x4d"
29098                           "\xf6\x03\xe1\xee\xf9\x0e\x1f\xe8"
29099                           "\xa8\x80\x81\x46\xdc\x24\x43\x3f"
29100                           "\xff\xfe\x8c\x3e\x17\x0a\x6d\xa2"
29101                           "\x47\x55\x62\xa0\x03\x4e\x48\x67"
29102                           "\xa2\x64\xc0\x9b\x6c\xa4\xfd\x6a",
29103                 .len    = 64,
29104         }, {
29105                 .key    = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
29106                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac",
29107                 .klen   = 16,
29108                 .iv     = "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
29109                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
29110                 .ptext  = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
29111                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
29112                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
29113                           "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
29114                           "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
29115                           "\x91\xac\x17\x11\x1c\x03\x69\x53"
29116                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
29117                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
29118                           "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
29119                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
29120                 .ctext  = "\x38\xbc\xf5\x9d\x0e\x26\xa6\x18"
29121                           "\x95\x0b\x23\x54\x09\xa1\xf9\x46"
29122                           "\x12\xf1\x42\x57\xa1\xaa\x52\xfa"
29123                           "\x8a\xbd\xf2\x03\x63\x4e\xbc\xf7"
29124                           "\x21\xea\xed\xca\xdd\x42\x41\x94"
29125                           "\xe4\x6c\x07\x06\x19\x59\x30\xff"
29126                           "\x8c\x9d\x51\xbf\x2c\x2e\x5b\xa5"
29127                           "\x7d\x11\xec\x6b\x21\x08\x12\x18"
29128                           "\xe4\xdf\x5a\xfd\xa6\x5f\xee\x2f"
29129                           "\x5c\x24\xb7\xea\xc1\xcd\x6d\x68",
29130                 .len    = 80,
29131         }, {
29132                 .key    = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
29133                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3",
29134                 .klen   = 16,
29135                 .iv     = "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
29136                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a",
29137                 .ptext  = "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
29138                           "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
29139                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
29140                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
29141                           "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
29142                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2"
29143                           "\x84\xa0\x53\x97\x61\x30\x70\x15"
29144                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
29145                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
29146                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
29147                           "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
29148                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
29149                 .ctext  = "\xdf\x79\x58\x30\x6f\x47\x12\x78"
29150                           "\x04\xb2\x0b\x1a\x62\x22\xe2\x9f"
29151                           "\xfe\xc2\xf5\x6d\x9e\x0e\x2e\x56"
29152                           "\x76\x01\x7f\x25\x8f\x6e\xc5\xf3"
29153                           "\x91\xff\xcd\x67\xc6\xae\x0b\x01"
29154                           "\x4d\x5f\x40\x25\x88\xc5\xe0\x3d"
29155                           "\x37\x62\x12\x58\xfe\xc5\x4a\x21"
29156                           "\x4a\x86\x8d\x94\xdd\xfd\xe6\xf6"
29157                           "\x1e\xa6\x78\x4f\x90\x66\xda\xe4"
29158                           "\x4e\x64\xa8\x05\xc6\xd8\x7d\xfb"
29159                           "\xac\xc9\x1d\x14\xb5\xb0\xfa\x9c"
29160                           "\xe8\x84\xef\x87\xbe\xb4\x2a\x87",
29161                 .len    = 96,
29162         }, {
29163                 .key    = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
29164                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1",
29165                 .klen   = 16,
29166                 .iv     = "\xee\xb7\x0d\x65\x00\x38\xab\x71"
29167                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad",
29168                 .ptext  = "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
29169                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
29170                           "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
29171                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
29172                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
29173                           "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
29174                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
29175                           "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
29176                           "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
29177                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
29178                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
29179                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
29180                           "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
29181                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
29182                 .ctext  = "\xe4\x25\x0d\x22\xeb\xbe\x5e\x90"
29183                           "\x01\xe5\xae\xc9\x94\xbd\x93\x89"
29184                           "\x5f\x98\xf1\x46\x6a\x50\x3b\xa2"
29185                           "\x79\xd9\xe4\x9c\x9a\xde\xf2\x8c"
29186                           "\x25\x49\x4c\xda\xb4\x2c\x76\xab"
29187                           "\x0a\xa8\x51\xaf\xc0\x62\x1b\xe9"
29188                           "\xe9\x7a\x35\x6a\x4b\x1f\x48\x00"
29189                           "\xeb\x24\x1d\x5e\xdd\x06\x09\x23"
29190                           "\x2a\xfa\x8f\x3b\x3e\x9e\x14\x6f"
29191                           "\x2a\x3c\xef\x6d\x73\x67\xdd\x6c"
29192                           "\xc8\xa5\x57\xc8\x02\xb6\x9a\xe8"
29193                           "\x8d\xcf\x10\xfa\x3e\x9c\x4d\xeb"
29194                           "\x44\xd2\x05\x31\x40\x94\x77\x87"
29195                           "\xf0\x83\xb5\xd2\x2a\x9c\xbc\xe4",
29196                 .len    = 112,
29197         }, {
29198                 .key    = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
29199                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15",
29200                 .klen   = 16,
29201                 .iv     = "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
29202                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12",
29203                 .ptext  = "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
29204                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
29205                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
29206                           "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
29207                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
29208                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
29209                           "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
29210                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
29211                           "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
29212                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
29213                           "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
29214                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
29215                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
29216                           "\x6a\x55\x84\x98\x28\x03\x02\xc2"
29217                           "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
29218                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
29219                 .ctext  = "\xa7\x4c\x96\x55\x7c\x07\xce\xb2"
29220                           "\x6f\x63\x9f\xc6\x8b\x6f\xc6\x4a"
29221                           "\x2c\x47\x8d\x99\xdf\x65\x75\x96"
29222                           "\xb7\x1d\x50\x5b\x57\x4a\x69\xcc"
29223                           "\xc9\x3a\x18\x8a\xd1\xab\x70\x4a"
29224                           "\xa3\x13\x80\xdd\x48\xc0\x6a\x7d"
29225                           "\x21\xa8\x22\x06\x32\x47\xc0\x16"
29226                           "\x1f\x9a\xc0\x21\x33\x66\xf2\xd8"
29227                           "\x69\x79\xae\x02\x82\x3f\xaf\xa6"
29228                           "\x98\xdb\xcd\x2a\xe5\x12\x39\x80"
29229                           "\x8a\xc1\x73\x99\xe5\xe4\x17\xe3"
29230                           "\x56\xc2\x43\xa6\x41\x6b\xb2\xa4"
29231                           "\x9f\x81\xc4\xe9\xf4\x29\x65\x50"
29232                           "\x69\x81\x80\x4b\x86\xab\x5e\x30"
29233                           "\xd0\x81\x9d\x6f\x24\x59\x42\xc7"
29234                           "\x6d\x5e\x41\xb8\xf5\x99\xc2\xae",
29235                 .len    = 128,
29236         }, {
29237                 .key    = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
29238                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c",
29239                 .klen   = 16,
29240                 .iv     = "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
29241                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33",
29242                 .ptext  = "\x87\x96\x77\x1a\x10\x81\x63\x8a"
29243                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
29244                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
29245                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
29246                           "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
29247                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
29248                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
29249                           "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
29250                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
29251                           "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
29252                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
29253                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
29254                           "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
29255                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
29256                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
29257                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
29258                           "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
29259                           "\xc2\xab\x62\x54\xef\xba\xae\x46",
29260                 .ctext  = "\x11\x7f\xea\x49\xaf\x24\x52\xa2"
29261                           "\xde\x60\x99\x58\x23\xf9\x9e\x91"
29262                           "\x73\xd5\x9a\xcb\xdd\x10\xcd\x68"
29263                           "\xb8\x9e\xef\xa4\xe9\x2d\xf0\x27"
29264                           "\x44\xd4\x9a\xd6\xb6\x9c\x7a\xec"
29265                           "\x17\x17\xea\xa7\x8e\xa8\x40\x6b"
29266                           "\x43\x3d\x50\x59\x0f\x74\x1b\x9e"
29267                           "\x03\xed\x4f\x2f\xb8\xda\xef\xc3"
29268                           "\x3f\x29\xb3\xf4\x5c\xcd\xce\x3c"
29269                           "\xba\xfb\xc6\xd1\x1d\x6f\x61\x3a"
29270                           "\x2b\xbd\xde\x30\xc5\x53\xe0\x6e"
29271                           "\xbe\xae\x2f\x81\x13\x0f\xd2\xd5"
29272                           "\x14\xda\xd3\x60\x9c\xf8\x00\x86"
29273                           "\xe9\x97\x3e\x05\xb3\x95\xb3\x21"
29274                           "\x1f\x3c\x56\xef\xcb\x32\x49\x5c"
29275                           "\x89\xf1\x34\xe4\x8d\x7f\xde\x01"
29276                           "\x1f\xd9\x25\x6d\x34\x1d\x6b\x71"
29277                           "\xc9\xa9\xd6\x14\x1a\xf1\x44\x59",
29278                 .len    = 144,
29279         }, {
29280                 .key    = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
29281                           "\x05\x26\x23\x81\x19\x27\xad\x7b",
29282                 .klen   = 16,
29283                 .iv     = "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
29284                           "\x44\xbf\x59\xde\x03\x61\x11\x12",
29285                 .ptext  = "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
29286                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
29287                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
29288                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
29289                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
29290                           "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
29291                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
29292                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
29293                           "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
29294                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
29295                           "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
29296                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
29297                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
29298                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
29299                           "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
29300                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
29301                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
29302                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
29303                           "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
29304                           "\x20\xf0\x79\x67\xb1\x83\x26\x66",
29305                 .ctext  = "\x5b\xc0\xe8\x17\xa4\xf9\xea\xce"
29306                           "\x9e\xf9\xe0\xb1\xac\x37\xe9\x41"
29307                           "\x0b\x57\xc6\x55\x54\x50\xfa\xa9"
29308                           "\x60\xaf\x7a\x4e\x98\x56\xde\x81"
29309                           "\x14\xfc\xac\x21\x81\x3e\xf4\x0f"
29310                           "\x40\x92\x30\xa8\x16\x88\x1a\xc3"
29311                           "\xf1\x39\xbd\x0a\xb9\x44\xc8\x67"
29312                           "\x8c\xaa\x2b\x45\x8b\x5b\x7b\x24"
29313                           "\xd5\xd8\x9e\xd3\x59\xa5\xd7\x69"
29314                           "\xdf\xf4\x50\xf9\x5f\x4f\x44\x1f"
29315                           "\x2c\x75\x68\x6e\x3a\xa8\xae\x4b"
29316                           "\x84\xf0\x42\x6c\xc0\x3c\x42\xaf"
29317                           "\x87\x2b\x89\xe9\x51\x69\x16\x63"
29318                           "\xc5\x62\x13\x05\x4c\xb2\xa9\x69"
29319                           "\x01\x14\x73\x88\x8e\x41\x47\xb6"
29320                           "\x68\x74\xbc\xe9\xad\xda\x94\xa1"
29321                           "\x0c\x12\x8e\xd4\x38\x15\x02\x97"
29322                           "\x27\x72\x4d\xdf\x61\xcc\x86\x3d"
29323                           "\xd6\x32\x4a\xc3\xa9\x4c\x35\x4f"
29324                           "\x5b\x91\x7d\x5c\x79\x59\xb3\xd5",
29325                 .len    = 160,
29326         }, {
29327                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
29328                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
29329                           "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
29330                 .klen   = 24,
29331                 .iv     = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
29332                           "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
29333                 .ptext  = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
29334                           "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
29335                 .ctext  = "\xa4\x12\x2f\xc4\xf0\x6d\xd9\x46"
29336                           "\xe4\xe6\xd1\x0b\x6d\x14\xf0\x8f",
29337                 .len    = 16,
29338         }, {
29339                 .key    = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
29340                           "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
29341                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
29342                 .klen   = 24,
29343                 .iv     = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
29344                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
29345                 .ptext  = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
29346                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
29347                           "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
29348                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
29349                 .ctext  = "\x80\x2b\xf0\x88\xb9\x4b\x8d\xf5"
29350                           "\xc3\x0e\x15\x5b\xea\x5d\x5b\xa8"
29351                           "\x07\x95\x78\x72\xc0\xb9\xbf\x25"
29352                           "\x33\x22\xd1\x05\x56\x46\x62\x25",
29353                 .len    = 32,
29354         }, {
29355                 .key    = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
29356                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
29357                           "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
29358                 .klen   = 24,
29359                 .iv     = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
29360                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
29361                 .ptext  = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
29362                           "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
29363                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
29364                           "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
29365                           "\x77\xb5\xca\x90\xda\x1d\x22\x17"
29366                           "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
29367                 .ctext  = "\x65\x01\x3c\xb0\xac\x4c\x63\xb6"
29368                           "\xe7\xf1\xf4\x61\x35\xf4\x36\xde"
29369                           "\x7f\x85\xba\x41\xa8\xb0\x27\x11"
29370                           "\x86\x2c\x71\x16\x05\x1d\xcf\x70"
29371                           "\x35\xef\x23\x17\xfc\xed\x3f\x1a"
29372                           "\x8e\xb3\xe5\xdb\x90\xb4\xb8\x35",
29373                 .len    = 48,
29374         }, {
29375                 .key    = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
29376                           "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
29377                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
29378                 .klen   = 24,
29379                 .iv     = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
29380                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
29381                 .ptext  = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
29382                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
29383                           "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
29384                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
29385                           "\x30\x9d\x59\x8d\x64\x76\xad\x37"
29386                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
29387                           "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
29388                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
29389                 .ctext  = "\x5a\xfb\xb1\x2c\x6e\xe5\xb8\xe0"
29390                           "\x80\xb6\x77\xa8\xfe\x10\x3a\x99"
29391                           "\x00\x8e\x30\x23\x7d\x50\x87\xda"
29392                           "\xc6\x46\x73\x37\x8b\xf1\xab\x26"
29393                           "\x2d\xa8\x0c\xa8\x9e\x77\xee\xfc"
29394                           "\x78\x4f\x03\x0f\xeb\xc6\x03\x34"
29395                           "\xb9\x9c\x4f\x59\x55\xc5\x99\x47"
29396                           "\xd4\x7e\xe8\x06\x43\x5f\xa1\x6b",
29397                 .len    = 64,
29398         }, {
29399                 .key    = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
29400                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
29401                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
29402                 .klen   = 24,
29403                 .iv     = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
29404                           "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
29405                 .ptext  = "\x91\xac\x17\x11\x1c\x03\x69\x53"
29406                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
29407                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
29408                           "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
29409                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
29410                           "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
29411                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
29412                           "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
29413                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
29414                           "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
29415                 .ctext  = "\xc9\x5f\xe0\x60\x61\x38\x7e\x79"
29416                           "\x52\x68\x64\x8f\x55\x9b\x6b\x72"
29417                           "\xbf\x09\xef\x2f\xb2\x92\xbb\xa3"
29418                           "\xe1\x6a\xeb\xe6\x4e\x7c\x5d\xe0"
29419                           "\x6a\x4b\xd0\x57\x3b\x28\x8a\x83"
29420                           "\x75\xd4\x5a\x2e\xd1\x9a\x57\xe3"
29421                           "\xc5\x43\x36\xde\x02\xac\x2c\x75"
29422                           "\xea\x33\x3a\x7e\x5d\xb8\xf6\x12"
29423                           "\x42\xbd\x06\x8a\x09\x6b\xd6\xb6"
29424                           "\x25\x59\xcd\xbd\x17\xeb\x69\xb3",
29425                 .len    = 80,
29426         }, {
29427                 .key    = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
29428                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
29429                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
29430                 .klen   = 24,
29431                 .iv     = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
29432                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
29433                 .ptext  = "\x84\xa0\x53\x97\x61\x30\x70\x15"
29434                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
29435                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
29436                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
29437                           "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
29438                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
29439                           "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
29440                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
29441                           "\xee\xb7\x0d\x65\x00\x38\xab\x71"
29442                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
29443                           "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
29444                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
29445                 .ctext  = "\x03\x2c\x39\x24\x99\xb5\xf6\x79"
29446                           "\x91\x89\xb7\xf8\x89\x68\x37\x9d"
29447                           "\xe7\x4d\x7d\x1c\x36\xae\x98\xd2"
29448                           "\xbf\x2a\xa4\x30\x38\x30\xe7\x5d"
29449                           "\xbb\x00\x09\x40\x34\xa4\xef\x82"
29450                           "\x23\xca\x0e\xb3\x71\x80\x29\x0a"
29451                           "\xa9\x0b\x26\x65\x9a\x12\xbf\x18"
29452                           "\xfb\xf8\xe4\xc2\x62\x57\x18\xfb"
29453                           "\x1e\x98\xea\x5b\xf6\xd6\x7c\x52"
29454                           "\x7a\xba\x0e\x6a\x54\x19\xb6\xfa"
29455                           "\xe5\xd7\x60\x40\xb0\x1a\xf1\x09"
29456                           "\x70\x96\x23\x49\x98\xfc\x79\xd2",
29457                 .len    = 96,
29458         }, {
29459                 .key    = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
29460                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
29461                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
29462                 .klen   = 24,
29463                 .iv     = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
29464                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
29465                 .ptext  = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
29466                           "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
29467                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
29468                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
29469                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
29470                           "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
29471                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
29472                           "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
29473                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
29474                           "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
29475                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
29476                           "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
29477                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
29478                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
29479                 .ctext  = "\xd4\x9a\x04\x54\x05\xd2\xe6\x3f"
29480                           "\xb0\xa4\x36\x5e\x1e\x9c\x35\xb0"
29481                           "\xa6\x62\x35\x47\xf4\x4d\x08\x9e"
29482                           "\x1c\x22\x91\x8e\x7f\x00\xa6\x3e"
29483                           "\x0a\x04\x42\x0f\xc4\xa6\x5d\xe2"
29484                           "\x49\x4c\x61\x12\xea\x9d\x7d\x7c"
29485                           "\xfa\x93\x74\x6b\x79\x8c\xdb\xc6"
29486                           "\x47\xf6\xea\x84\x3e\x97\x7d\x87"
29487                           "\x40\x38\x92\xc7\x44\xef\xdf\x63"
29488                           "\x29\xe4\x5b\x3a\x87\x22\xa1\x3f"
29489                           "\x2b\x31\xb1\xa4\x0d\xea\xf3\x0b"
29490                           "\xd7\x4f\xb6\x9c\xba\x40\xa3\x2f"
29491                           "\x21\x2b\x05\xe4\xca\xef\x87\x04"
29492                           "\xe6\xd0\x29\x2c\x29\x26\x57\xcd",
29493                 .len    = 112,
29494         }, {
29495                 .key    = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
29496                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
29497                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
29498                 .klen   = 24,
29499                 .iv     = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
29500                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
29501                 .ptext  = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
29502                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
29503                           "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
29504                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
29505                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
29506                           "\x6a\x55\x84\x98\x28\x03\x02\xc2"
29507                           "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
29508                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
29509                           "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
29510                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
29511                           "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
29512                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
29513                           "\x87\x96\x77\x1a\x10\x81\x63\x8a"
29514                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
29515                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
29516                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
29517                 .ctext  = "\xbc\x57\x2a\x88\x0a\xd0\x06\x4f"
29518                           "\xdb\x7b\x03\x9f\x97\x1a\x20\xfe"
29519                           "\xdb\xdc\x8e\x7b\x68\x13\xc8\xf5"
29520                           "\x06\xe3\xe0\x7e\xd3\x51\x21\x86"
29521                           "\x4f\x32\xdb\x78\xe3\x26\xbe\x34"
29522                           "\x52\x4c\x4e\x6b\x85\x52\x63\x8b"
29523                           "\x8c\x5c\x0e\x33\xf5\xa3\x88\x2d"
29524                           "\x04\xdc\x01\x2d\xbe\xa1\x48\x6d"
29525                           "\x50\xf4\x16\xb1\xd7\x4d\x1e\x99"
29526                           "\xa8\x1d\x54\xcb\x13\xf9\x85\x51"
29527                           "\x18\x9f\xef\x45\x62\x5d\x48\xe5"
29528                           "\x0c\x54\xf7\x7b\x33\x18\xce\xb0"
29529                           "\xd5\x82\x1b\xe2\x91\xae\xdc\x09"
29530                           "\xe2\x97\xa8\x27\x13\x78\xc6\xb8"
29531                           "\x20\x06\x1a\x71\x5a\xb3\xbc\x1b"
29532                           "\x69\x1f\xcd\x57\x70\xa7\x1e\x35",
29533                 .len    = 128,
29534         }, {
29535                 .key    = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
29536                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
29537                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
29538                 .klen   = 24,
29539                 .iv     = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
29540                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
29541                 .ptext  = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
29542                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
29543                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
29544                           "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
29545                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
29546                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
29547                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
29548                           "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
29549                           "\xc2\xab\x62\x54\xef\xba\xae\x46"
29550                           "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
29551                           "\x05\x26\x23\x81\x19\x27\xad\x7b"
29552                           "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
29553                           "\x44\xbf\x59\xde\x03\x61\x11\x12"
29554                           "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
29555                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
29556                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
29557                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
29558                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
29559                 .ctext  = "\xd7\xb4\xfc\xcc\x1f\xf7\xfc\x7d"
29560                           "\x69\xfa\xcb\x01\x60\xf3\x5a\x14"
29561                           "\x88\xf7\xea\x43\xaa\x47\xf1\x8a"
29562                           "\x4e\xd0\x3c\x50\x58\x35\x95\x21"
29563                           "\x5f\xcc\x73\x0b\x97\xa0\x2c\x6b"
29564                           "\x70\x4d\x3d\xa8\x21\xbe\xfc\xec"
29565                           "\xb6\x55\xf0\x48\x2b\x11\xcc\x4b"
29566                           "\xda\xf7\x09\xd9\x18\x7b\x4f\x00"
29567                           "\x76\x40\xe0\x7d\x33\xcf\x4f\x77"
29568                           "\x91\x97\x63\xfa\x72\xba\x5c\x3d"
29569                           "\xcf\x2e\xb8\x19\x56\x4a\xa5\x02"
29570                           "\xc3\xb1\x80\xa8\x57\x03\x32\x57"
29571                           "\xa8\xe1\x65\xf7\xd3\x52\xc5\xcf"
29572                           "\x55\x1e\x34\xe3\x77\xab\x83\xdb"
29573                           "\xaf\xd3\x8a\xcc\x96\x1c\xc9\x73"
29574                           "\xd9\x0b\xb6\x4c\x31\xac\x2c\x82"
29575                           "\xb8\xb4\xc8\xe1\xa5\x71\xcc\xb3"
29576                           "\x7e\x85\xb8\xfa\x6b\xef\x41\x24",
29577                 .len    = 144,
29578         }, {
29579                 .key    = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
29580                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
29581                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
29582                 .klen   = 24,
29583                 .iv     = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
29584                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
29585                 .ptext  = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
29586                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
29587                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
29588                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
29589                           "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
29590                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
29591                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
29592                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
29593                           "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
29594                           "\x20\xf0\x79\x67\xb1\x83\x26\x66"
29595                           "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
29596                           "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
29597                           "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
29598                           "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
29599                           "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
29600                           "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
29601                           "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
29602                           "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
29603                           "\x52\xf1\x34\x78\x34\x53\x30\x5b"
29604                           "\x43\x43\x51\x6a\x02\x81\x64\x0c",
29605                 .ctext  = "\x71\xf6\x96\x02\x07\x71\x1a\x08"
29606                           "\x7c\xfe\x33\xc4\xc9\xbe\xe2\xed"
29607                           "\xf8\x46\x69\xce\x1b\xdc\xd3\x05"
29608                           "\x7a\xec\x26\x4d\x27\x2a\x49\x36"
29609                           "\x85\xe1\x5d\xd3\x91\xd7\x68\xb8"
29610                           "\x55\xa5\x27\x55\x2d\xc1\x78\x27"
29611                           "\x0c\x49\x0a\x24\x3b\x76\x3f\x5f"
29612                           "\x29\x1c\x37\x2f\x30\xfc\x50\xcb"
29613                           "\xe2\x54\x26\x7d\x97\xa7\xf3\x58"
29614                           "\x15\xe1\x4c\xeb\x35\xc9\xd1\x1e"
29615                           "\x7e\x7d\xa0\xe5\x62\xa5\x2d\xf6"
29616                           "\x77\xb0\xef\x13\x55\xb4\x66\x2c"
29617                           "\x3b\x50\x1b\x4d\xc2\x64\xce\xc6"
29618                           "\xfe\xf2\xad\xfe\x26\x73\x36\x66"
29619                           "\x0c\x2f\x10\x35\x97\x3c\x9c\x98"
29620                           "\xc1\x90\xa8\x82\xd7\xc6\x31\x68"
29621                           "\xcf\x77\xa8\x5b\xdf\xf9\x5a\x8e"
29622                           "\x84\xb5\x0b\x6e\x5b\xec\x36\x89"
29623                           "\x0b\xb1\xbf\xb9\x70\x02\x5c\x22"
29624                           "\xc3\xd5\xc1\xc6\xfd\x07\xdb\x70",
29625                 .len    = 160,
29626         }, {
29627                 .key    = "\x82\x8e\x9e\x06\x7b\xc2\xe9\xb3"
29628                           "\x06\xa3\xfa\x99\x42\x67\x87\xac"
29629                           "\x21\xc7\xb0\x98\x6c\xf8\x26\x57"
29630                           "\x08\xdd\x92\x02\x77\x7b\x35\xe7",
29631                 .klen   = 32,
29632                 .iv     = "\xa1\xad\xcb\xdd\xd5\x19\xb6\xd4"
29633                           "\x0b\x62\x58\xb0\x6c\xa0\xc1\x58",
29634                 .ptext  = "\x14\x0d\x8a\x09\x16\x00\x00\xf1"
29635                           "\xc0\x20\x86\xf9\x21\xd1\x34\xe2",
29636                 .ctext  = "\x05\xe3\x34\xaf\x6c\x83\x14\x8b"
29637                           "\x9d\x1c\xd6\x87\x74\x91\xdf\x17",
29638                 .len    = 16,
29639         }, {
29640                 .key    = "\xc9\xf3\xc4\x93\xd0\xcc\xaf\xb1"
29641                           "\x1a\x42\x93\x71\xd8\x4e\xd8\xaa"
29642                           "\x52\xad\x93\x2f\xe5\xd9\xaa\x5b"
29643                           "\x47\x37\x3a\xed\x13\x92\x35\x16",
29644                 .klen   = 32,
29645                 .iv     = "\x81\xc8\x50\xd1\x74\xc3\x1c\x73"
29646                           "\xbb\xab\x72\x83\x90\x5a\x15\xcb",
29647                 .ptext  = "\x65\x11\x93\xaf\xe1\x69\x6c\xbe"
29648                           "\x25\x8c\x76\x87\x53\xa4\x80\xae"
29649                           "\x51\x94\x36\x3f\xca\xe7\x45\x41"
29650                           "\x76\x05\xbf\x8f\x9c\xad\xc0\xe3",
29651                 .ctext  = "\x6b\x00\x6e\x49\x7a\x6d\xe3\x04"
29652                           "\x4e\xf7\x9f\x8a\x1f\x14\xbd\xb1"
29653                           "\x51\xbf\x13\x9f\x29\x95\x51\x16"
29654                           "\xd0\x23\x9a\x1a\x45\xc2\xc3\xd1",
29655                 .len    = 32,
29656         }, {
29657                 .key    = "\xd5\x9f\x52\x34\x12\x99\x8e\x42"
29658                           "\xe0\x85\x04\x6f\xeb\xf1\x5d\xd0"
29659                           "\xc1\xbf\x3f\x84\xd9\x1e\x71\x44"
29660                           "\xd4\xb9\x40\x3c\x02\x2e\x21\x19",
29661                 .klen   = 32,
29662                 .iv     = "\x28\xc1\x97\x64\x81\x52\x57\x0e"
29663                           "\x02\x8c\xab\x4c\xe2\x60\x14\xa5",
29664                 .ptext  = "\x5a\xb1\x33\x48\xaa\x51\xe9\xa4"
29665                           "\x5c\x2d\xbe\x33\xcc\xc4\x7f\x96"
29666                           "\xe8\xde\x2b\xe7\x35\x7a\x11\x4b"
29667                           "\x13\x08\x32\xc6\x41\xd8\xec\x54"
29668                           "\xa3\xd3\xda\x35\x43\x69\xf6\x88"
29669                           "\x97\xca\x00\x1b\x02\x59\x24\x82",
29670                 .ctext  = "\x03\xaf\x76\xbd\x5e\x5b\xca\xc0"
29671                           "\xae\x44\xa2\x2f\xc2\x76\x2f\x50"
29672                           "\xfa\x94\x94\x5a\x48\x9d\x9c\x38"
29673                           "\xc9\x75\xc9\xb2\x56\x0a\x2d\x91"
29674                           "\xb8\xe8\x4e\xaa\xcb\x51\x9b\x6a"
29675                           "\x20\x9b\x2b\xc5\xb0\x18\x9d\x01",
29676                 .len    = 48,
29677         }, {
29678                 .key    = "\x9c\x5d\xd7\x66\x36\xfa\x02\x20"
29679                           "\x99\x61\x62\x86\x0f\x43\x2e\x05"
29680                           "\x25\x8b\xfb\xf1\xae\x4c\xde\x18"
29681                           "\x0b\xf8\xd0\x9d\xaa\xd4\x56\x04",
29682                 .klen   = 32,
29683                 .iv     = "\xcd\xa8\x61\x89\x8d\xbb\x72\xb6"
29684                           "\x1e\xfe\x03\x34\x54\x88\x23\xe2",
29685                 .ptext  = "\x66\x42\x60\x24\xf3\xe4\xe9\x7e"
29686                           "\x42\x20\xf4\x61\xce\x1c\x5e\x44"
29687                           "\x02\x26\x91\xf7\x41\xa4\xab\x34"
29688                           "\x29\x49\xdd\x78\x19\x8f\x10\x10"
29689                           "\xf0\x61\xcf\x77\x18\x17\x61\xdf"
29690                           "\xc4\xa8\x35\x0e\x75\x1b\x84\x6b"
29691                           "\xc3\x3f\x31\x59\x5a\x9c\xf4\xc3"
29692                           "\x43\xa9\xb7\xf8\x65\x40\x40\xba",
29693                 .ctext  = "\xb6\x41\x55\x8f\xeb\x16\x1e\x4c"
29694                           "\x81\xa0\x85\x6c\xf0\x07\xa5\x2a"
29695                           "\x19\x91\xed\x3e\xd6\x30\x8c\xca"
29696                           "\x5d\x0f\x58\xca\xd2\x8a\xac\xa2"
29697                           "\x2b\x86\x4f\xb5\x85\x4d\xac\x6d"
29698                           "\xe5\x39\x1b\x02\x23\x89\x4e\x4f"
29699                           "\x02\x00\xe8\x1b\x40\x85\x21\x2b"
29700                           "\xc6\xb1\x98\xed\x70\xb3\xf8\xc3",
29701                 .len    = 64,
29702         }, {
29703                 .key    = "\x4b\x4e\x11\x91\x27\xcf\x8c\x66"
29704                           "\x17\xfa\x5b\x4c\xa8\xb8\x0f\xa1"
29705                           "\x99\x5b\x07\x56\xe1\x8d\x94\x8b"
29706                           "\xf2\x86\x5a\x5f\x40\x83\xfa\x06",
29707                 .klen   = 32,
29708                 .iv     = "\xfd\x73\xee\x1c\x27\xf3\xb4\x38"
29709                           "\xc5\x7c\x2e\xc5\x6e\xdb\x49\x0d",
29710                 .ptext  = "\x0a\xe2\xdd\x97\xdd\x5e\xd4\xb3"
29711                           "\xc1\x49\x8f\x53\xb2\x40\x85\x1c"
29712                           "\x90\x37\x2d\xbd\x21\x6b\x1f\x80"
29713                           "\x56\x98\x76\x1e\xcf\x6c\x78\xd8"
29714                           "\xa0\x3c\x79\xc3\x56\xf7\xfc\x64"
29715                           "\x35\x58\x1c\x7c\xc4\x5f\x2a\x25"
29716                           "\x8c\x01\x98\x1e\x1c\x1f\x15\x64"
29717                           "\x50\xb5\xfa\x02\xd3\x54\xe5\x29"
29718                           "\xe3\xd2\xa3\x83\x54\x40\x54\xc5"
29719                           "\xd8\x1c\xc9\x84\x7d\xc8\x31\x49",
29720                 .ctext  = "\x53\x2a\xa8\xa0\x15\xaf\x2f\xc4"
29721                           "\x7d\x31\xb4\x61\x80\x5f\xd1\xb6"
29722                           "\x7c\xca\x86\xb9\x28\x6e\xb6\x2b"
29723                           "\xe3\x4b\x7e\xea\xb3\x4f\xa2\xa2"
29724                           "\x4e\x8f\xbe\x22\x66\xb3\x92\xbc"
29725                           "\x70\x91\xaf\xa6\x09\x5d\xe2\x05"
29726                           "\x38\x62\xd3\x6e\x07\x63\x91\xad"
29727                           "\x48\x5a\x42\xe7\xdc\x0d\xb1\xe3"
29728                           "\x92\x88\x64\xee\x93\xaa\xaf\x31"
29729                           "\x68\x57\x35\x8d\x54\x2c\xfa\xb1",
29730                 .len    = 80,
29731         }, {
29732                 .key    = "\x77\x3b\xf5\xe7\x20\xf7\xe0\x0c"
29733                           "\x3d\x3a\x83\x17\x83\x79\xd8\x29"
29734                           "\x5a\x0a\x25\x7f\xe0\x21\x23\xff"
29735                           "\x31\xfd\x60\x10\xe6\x63\xe2\xaf",
29736                 .klen   = 32,
29737                 .iv     = "\xdb\x4c\x0d\xc0\x36\xdb\xc7\xa1"
29738                           "\xa4\x91\xd9\x05\xe6\xc4\x98\x00",
29739                 .ptext  = "\x8d\x4d\xc6\x5e\x01\x82\xb3\x39"
29740                           "\xc8\x64\xa7\xcb\x05\x19\x84\x80"
29741                           "\x3f\x9c\xa8\x4f\x64\xb3\x11\x4b"
29742                           "\x0e\x21\xc4\x75\x04\x1d\x6f\xd5"
29743                           "\x04\x04\x4d\xc9\xc0\x4b\x4a\x9c"
29744                           "\x26\xb7\x68\x5a\xe4\xd0\x61\xe3"
29745                           "\x2c\x93\x8e\x3f\xb4\x67\x07\x31"
29746                           "\x02\x52\x0c\x0f\xe6\x6d\xa3\xd0"
29747                           "\x48\x95\x83\x67\x23\x64\x31\x50"
29748                           "\xd2\x5f\x69\x68\x8b\x71\xbf\x01"
29749                           "\x29\x99\x86\x36\x2e\xdf\xf1\x7c"
29750                           "\x08\x8c\x78\x7a\x93\x9a\x7d\x1b",
29751                 .ctext  = "\x92\x90\x48\x2f\x3a\x6b\x68\x43"
29752                           "\x28\x9b\x7d\x1e\x46\x28\xd8\x58"
29753                           "\xd9\x1e\x44\xd7\x24\x91\x65\xb1"
29754                           "\x15\xde\xc4\x63\xf1\xb1\x34\x9e"
29755                           "\xae\x8c\x51\x94\xc5\x22\x65\x8d"
29756                           "\x3d\x85\xf5\x34\x5f\x04\x68\x95"
29757                           "\xf2\x66\x62\xbb\xc8\x3f\xe4\x0a"
29758                           "\x8a\xb2\x70\xc0\x77\xd5\x96\xef"
29759                           "\x9e\x39\x3a\x3e\x0d\x2b\xf9\xfe"
29760                           "\xa9\xbc\x00\xba\xc5\x43\xd7\x70"
29761                           "\x2f\xef\x1e\x1e\x93\xc2\x5d\xf1"
29762                           "\xb5\x50\xb8\xf5\xee\xf4\x26\x6f",
29763                 .len    = 96,
29764         }, {
29765                 .key    = "\xe0\x6a\x30\xe1\x35\xb5\xb0\x7c"
29766                           "\x54\xc5\x73\x9b\x00\xe5\xe7\x02"
29767                           "\xbe\x16\x59\xdc\xd9\x03\x17\x53"
29768                           "\xa8\x37\xd1\x5f\x13\x8e\x45\xdb",
29769                 .klen   = 32,
29770                 .iv     = "\x54\xe9\x1c\xde\xfb\x26\x0e\x48"
29771                           "\x35\x50\x4d\x9b\x4d\x12\x21\x0d",
29772                 .ptext  = "\x73\x72\xcf\xdb\xbd\xbc\xc0\xdf"
29773                           "\x6b\xbb\xdf\x65\x6f\x2f\x43\x3b"
29774                           "\x2d\x7c\x0e\x07\x7f\xa0\x95\xdd"
29775                           "\xfc\x67\xc1\x11\x7a\xe2\xb5\x4a"
29776                           "\xd1\x15\xb0\xd8\xe2\xf0\x35\x48"
29777                           "\xd8\x81\x6a\x35\xae\x67\xbf\x61"
29778                           "\xf2\x8a\xcf\x04\xc8\x09\x8b\x63"
29779                           "\x31\x74\x95\xa5\x8d\x3c\xea\xe2"
29780                           "\x5f\x67\xc4\x7e\x51\x88\xbf\xb5"
29781                           "\x78\xef\x3a\x76\xd8\x1d\x00\x75"
29782                           "\x2b\x7b\x28\x7c\xde\x4b\x39\x01"
29783                           "\x5d\xde\x92\xfe\x90\x07\x09\xfd"
29784                           "\xa5\xd1\xd3\x72\x11\x6d\xa4\x4e"
29785                           "\xd1\x6e\x16\xd1\xf6\x39\x4f\xa0",
29786                 .ctext  = "\x3b\xc5\xee\xfc\x05\xaf\xa6\xb7"
29787                           "\xfe\x12\x24\x79\x31\xad\x32\xb5"
29788                           "\xfb\x71\x9b\x02\xad\xf4\x94\x20"
29789                           "\x25\x7b\xdb\xdf\x97\x99\xca\xea"
29790                           "\xc4\xed\x32\x26\x6b\xc8\xd4\x7b"
29791                           "\x5b\x55\xfa\xf9\x5b\xab\x88\xdb"
29792                           "\x48\xfe\x67\xd5\x5a\x47\x81\x4e"
29793                           "\x3e\x1e\x83\xca\x1d\x04\xe1\xb5"
29794                           "\x6c\x1b\xbd\xf2\x2d\xf1\xae\x75"
29795                           "\x09\x6a\xf8\xb2\xc3\x27\xee\x08"
29796                           "\x66\x94\x72\xc0\x2b\x12\x47\x23"
29797                           "\x4d\xde\xb4\xca\xf7\x66\xca\x14"
29798                           "\xe7\x68\x1b\xfb\x48\x70\x3e\x4c"
29799                           "\x43\xbb\x88\x32\x25\xff\x77\x6a",
29800                 .len    = 112,
29801         }, {
29802                 .key    = "\x60\xb6\xde\x17\xca\x4c\xe7\xe0"
29803                           "\x07\x0d\x80\xc5\x8a\x2d\x5a\xc2"
29804                           "\x2c\xb9\xa4\x5f\x2a\x85\x2c\x3d"
29805                           "\x6d\x67\xc8\xee\x0f\xa2\xf4\x09",
29806                 .klen   = 32,
29807                 .iv     = "\x1a\xa5\xbc\x7e\x93\xf6\xdd\x28"
29808                           "\xb7\x69\x27\xa1\x84\x95\x25\x5a",
29809                 .ptext  = "\x7b\x88\x00\xeb\xa5\xba\xa1\xa7"
29810                           "\xd4\x40\x16\x74\x2b\x42\x37\xda"
29811                           "\xe0\xaf\x89\x59\x41\x2f\x62\x00"
29812                           "\xf5\x5a\x4e\x3b\x85\x27\xb2\xed"
29813                           "\x1b\xa7\xaf\xbe\x89\xf3\x49\xb7"
29814                           "\x8c\x63\xc9\x0c\x52\x00\x5f\x38"
29815                           "\x3b\x3c\x0c\x4f\xdd\xe1\xbf\x90"
29816                           "\x4a\x48\xbf\x3a\x95\xcb\x48\xa2"
29817                           "\x92\x7c\x79\x81\xde\x18\x6e\x92"
29818                           "\x1f\x36\xa9\x5d\x8d\xc4\xb6\x4d"
29819                           "\xb2\xb4\x0e\x09\x6d\xf3\x3d\x01"
29820                           "\x3d\x9b\x40\x47\xbc\x69\x31\xa1"
29821                           "\x6a\x71\x26\xdc\xac\x10\x56\x63"
29822                           "\x15\x23\x7d\x10\xe3\x76\x82\x41"
29823                           "\xcd\x80\x57\x2f\xfc\x4d\x22\x7b"
29824                           "\x57\xbb\x9a\x0a\x03\xe9\xb3\x13",
29825                 .ctext  = "\x37\x0d\x47\x21\xbc\x28\x0b\xf7"
29826                           "\x85\x5f\x60\x57\xf2\x7f\x92\x20"
29827                           "\x5f\xa7\xf6\xf4\xa6\xf5\xdf\x1e"
29828                           "\xae\x8e\xeb\x97\xfc\xce\x6a\x25"
29829                           "\x6d\x6a\x5b\xd1\x99\xf6\x27\x77"
29830                           "\x52\x0c\xf1\xd7\x94\xa0\x67\x5d"
29831                           "\x60\x35\xb0\x6d\x01\x45\x52\xc8"
29832                           "\x05\xd8\x7f\x69\xaf\x8e\x68\x05"
29833                           "\xa8\xa5\x24\x2f\x95\xef\xf1\xd2"
29834                           "\x8c\x45\x12\xc5\x7a\xcf\xbb\x99"
29835                           "\x25\xaa\xa3\x9b\x3f\xf1\xfc\x9d"
29836                           "\xfa\x2c\x26\x9b\x92\x47\x61\x6b"
29837                           "\x63\x1e\x41\x67\xcb\xb7\x0f\x52"
29838                           "\x70\xd4\x0d\x7e\xef\x34\xa2\x75"
29839                           "\x4f\x6a\x55\x9c\x2b\x4a\x02\xdd"
29840                           "\x96\x5d\xcb\xca\x45\xa1\xec\xaa",
29841                 .len    = 128,
29842         }, {
29843                 .key    = "\x2a\xed\x7d\x76\xfc\xc5\x49\x50"
29844                           "\xf4\x90\x0f\xcc\x5d\xff\x0c\x3c"
29845                           "\x14\x06\xaf\x68\x8f\xd7\xb6\x25"
29846                           "\x1e\x10\x95\x2a\x71\x33\x17\x20",
29847                 .klen   = 32,
29848                 .iv     = "\x5b\x58\x47\xf8\xd5\x1e\x91\x81"
29849                           "\x46\xe7\x25\x3a\x02\x45\x9c\x65",
29850                 .ptext  = "\x10\xaf\xde\x5c\x30\x79\x43\x28"
29851                           "\x1c\x03\xf8\x50\x0f\x30\xa5\xef"
29852                           "\x84\x19\x4c\x09\x40\x03\x75\x1f"
29853                           "\x92\x8f\x88\x01\xda\x31\x7a\xe4"
29854                           "\x48\xe3\xab\xb4\xe6\x1b\x0f\xac"
29855                           "\xd9\xfa\x8d\x23\xe4\xc6\xa4\xa9"
29856                           "\x2d\x9a\x54\x52\x44\x5c\x3c\x52"
29857                           "\x61\xf0\x00\xca\xed\xab\xed\xe2"
29858                           "\x44\x0b\xe0\x18\xba\xa5\x63\xd8"
29859                           "\xdc\x5e\x1a\x4c\xf8\xde\x5e\x75"
29860                           "\xdf\x42\x27\x7b\xe9\x11\x2f\x41"
29861                           "\x3a\x72\x54\x3d\x44\x9c\x3e\x87"
29862                           "\x8d\x8d\x43\x2f\xb2\xff\x87\xd4"
29863                           "\xad\x98\x68\x72\x53\x61\x19\x7c"
29864                           "\x20\x79\x8c\x2b\x37\x0b\x96\x15"
29865                           "\xa5\x7d\x4e\x01\xe6\xea\xb6\xfa"
29866                           "\xaa\xd3\x9d\xa2\xd9\x11\xc3\xc9"
29867                           "\xd4\x0e\x3f\x3e\xfe\x35\x1e\xe5",
29868                 .ctext  = "\xb0\x2b\x75\x5f\x33\x1b\x05\x49"
29869                           "\x06\xf1\x43\x91\xc2\x85\xfa\xac"
29870                           "\x3f\x47\xf3\x89\x73\xb2\x0e\xa4"
29871                           "\x30\xcb\x87\x39\x53\x5d\x36\x89"
29872                           "\x77\xd9\x17\x01\x95\xa6\xe9\x71"
29873                           "\x51\x53\xd9\x4f\xa6\xc2\x79\x3d"
29874                           "\x2e\x50\x90\x52\x0d\x27\x1a\x46"
29875                           "\xf1\xe8\x6e\x7e\x7b\x32\xe5\x22"
29876                           "\x22\x1f\xba\x5e\xcf\x25\x6b\x26"
29877                           "\x76\xf0\xca\x8e\xdd\x5b\xd3\x09"
29878                           "\x6f\x82\x08\x56\x1f\x51\x72\x57"
29879                           "\xca\xd1\x60\x07\xfb\x9f\x71\x54"
29880                           "\x0f\xf6\x48\x71\xfa\x8f\xcb\xdd"
29881                           "\xce\xd3\x16\xcd\xae\x0e\x67\x5e"
29882                           "\xea\x8d\xa2\x4a\x4f\x11\xc8\xc8"
29883                           "\x2f\x04\xfe\xa8\x2a\x07\x1c\xb1"
29884                           "\x77\x39\xda\x8b\xd9\x5c\x94\x6c"
29885                           "\x4d\x4d\x13\x51\x6f\x07\x06\x5b",
29886                 .len    = 144,
29887         }, {
29888                 .key    = "\x7b\xa7\x4d\x0a\x37\x30\xb9\xf5"
29889                           "\x2a\x79\xb4\xbf\xdb\x7f\x9b\x64"
29890                           "\x23\x43\xb5\x18\x34\xc4\x5f\xdf"
29891                           "\xd9\x2a\x66\x58\x00\x44\xb5\xd9",
29892                 .klen   = 32,
29893                 .iv     = "\x75\x34\x30\xc1\xf0\x69\xdf\x0a"
29894                           "\x52\xce\x4f\x1e\x2c\x41\x35\xec",
29895                 .ptext  = "\x81\x47\x55\x3a\xcd\xfe\xa2\x3d"
29896                           "\x45\x53\xa7\x67\x61\x74\x25\x80"
29897                           "\x98\x89\xfe\xf8\x6a\x9f\x51\x7c"
29898                           "\xa4\xe4\xe7\xc7\xe0\x1a\xce\xbb"
29899                           "\x4b\x46\x43\xb0\xab\xa8\xd6\x0c"
29900                           "\xa0\xf0\xc8\x13\x29\xaf\xb8\x01"
29901                           "\x6b\x0c\x7e\x56\xae\xb8\x58\x72"
29902                           "\xa9\x24\x44\x61\xff\xf1\xac\xf8"
29903                           "\x09\xa8\x48\x21\xd6\xab\x41\x73"
29904                           "\x70\x6b\x92\x06\x61\xdc\xb4\x85"
29905                           "\x76\x26\x7a\x84\xc3\x9e\x3a\x14"
29906                           "\xe7\xf4\x2d\x95\x92\xad\x18\xcc"
29907                           "\x44\xd4\x2c\x36\x57\xed\x2b\x9b"
29908                           "\x3f\x2b\xcd\xe5\x11\xe3\x62\x33"
29909                           "\x42\x3f\xb8\x2a\xb1\x37\x3f\x8b"
29910                           "\xe8\xbd\x6b\x0b\x9f\x38\x5a\x5f"
29911                           "\x82\x34\xb7\x96\x35\x58\xde\xab"
29912                           "\x94\x98\x41\x5b\x3f\xac\x0a\x34"
29913                           "\x56\xc0\x02\xef\x81\x6d\xb1\xff"
29914                           "\x34\xe8\xc7\x6a\x31\x79\xba\xd8",
29915                 .ctext  = "\x4e\x00\x7c\x52\x45\x76\xf9\x3d"
29916                           "\x1a\xd1\x72\xbc\xb9\x0f\xa9\xfb"
29917                           "\x0e\x5b\xe2\x3c\xc7\xae\x92\xf6"
29918                           "\xb8\x0b\x0a\x95\x40\xe9\x7f\xe0"
29919                           "\x54\x10\xf9\xf6\x23\x1f\x51\xc8"
29920                           "\x16\x8b\x2e\x79\xe1\x8c\x0b\x43"
29921                           "\xe5\xeb\xb5\x9d\x1e\xc3\x28\x07"
29922                           "\x5c\x8d\xb1\xe7\x80\xd3\xce\x62"
29923                           "\x8d\xf8\x31\x1f\x29\x8b\x90\xee"
29924                           "\xe5\xc3\xfa\x16\xc4\xf0\xc3\x99"
29925                           "\xe9\x5e\x19\xba\x37\xb8\xc0\x87"
29926                           "\xb5\xc6\xc9\x31\xcb\x6e\x30\xce"
29927                           "\x03\x1d\xfe\xce\x08\x32\x00\xeb"
29928                           "\x86\xc4\xfb\x48\x01\xda\x93\x73"
29929                           "\xcc\xb7\xae\x4e\x94\x20\xeb\xc7"
29930                           "\xe3\x33\x4c\xeb\xed\xe2\xfc\x86"
29931                           "\x0e\x73\x32\xf9\x1b\xf3\x25\xf3"
29932                           "\x74\xad\xd1\xf4\x2c\x45\xa4\xfd"
29933                           "\x52\x40\xa2\x4e\xa5\x62\xf6\x02"
29934                           "\xbb\xb0\xe3\x23\x86\x67\xb8\xf6",
29935                 .len    = 160,
29936         }
29937 };
29938
29939 static const struct aead_testvec aria_gcm_tv_template[] = {
29940         {
29941                 .key    = "\xe9\x1e\x5e\x75\xda\x65\x55\x4a"
29942                           "\x48\x18\x1f\x38\x46\x34\x95\x62",
29943                 .klen   = 16,
29944                 .iv     = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
29945                           "\x00\x00\x31\x5e",
29946                 .assoc  = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
29947                           "\x20\xe8\xf5\xeb",
29948                 .alen   = 12,
29949                 .ptext  = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
29950                           "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
29951                           "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
29952                           "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
29953                           "\x62\xe9\x72\x95\x66\xed\x66\xe9"
29954                           "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
29955                           "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
29956                           "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
29957                           "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
29958                           "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
29959                           "\x16\x99\x16\x91\xd5\x72\xfd\x14"
29960                           "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
29961                           "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
29962                           "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
29963                           "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
29964                           "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
29965                           "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
29966                           "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
29967                           "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
29968                           "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
29969                 .plen   = 160,
29970                 .ctext  = "\x4d\x8a\x9a\x06\x75\x55\x0c\x70"
29971                           "\x4b\x17\xd8\xc9\xdd\xc8\x1a\x5c"
29972                           "\xd6\xf7\xda\x34\xf2\xfe\x1b\x3d"
29973                           "\xb7\xcb\x3d\xfb\x96\x97\x10\x2e"
29974                           "\xa0\xf3\xc1\xfc\x2d\xbc\x87\x3d"
29975                           "\x44\xbc\xee\xae\x8e\x44\x42\x97"
29976                           "\x4b\xa2\x1f\xf6\x78\x9d\x32\x72"
29977                           "\x61\x3f\xb9\x63\x1a\x7c\xf3\xf1"
29978                           "\x4b\xac\xbe\xb4\x21\x63\x3a\x90"
29979                           "\xff\xbe\x58\xc2\xfa\x6b\xdc\xa5"
29980                           "\x34\xf1\x0d\x0d\xe0\x50\x2c\xe1"
29981                           "\xd5\x31\xb6\x33\x6e\x58\x87\x82"
29982                           "\x78\x53\x1e\x5c\x22\xbc\x6c\x85"
29983                           "\xbb\xd7\x84\xd7\x8d\x9e\x68\x0a"
29984                           "\xa1\x90\x31\xaa\xf8\x91\x01\xd6"
29985                           "\x69\xd7\xa3\x96\x5c\x1f\x7e\x16"
29986                           "\x22\x9d\x74\x63\xe0\x53\x5f\x4e"
29987                           "\x25\x3f\x5d\x18\x18\x7d\x40\xb8"
29988                           "\xae\x0f\x56\x4b\xd9\x70\xb5\xe7"
29989                           "\xe2\xad\xfb\x21\x1e\x89\xa9\x53"
29990                           "\x5a\xba\xce\x3f\x37\xf5\xa7\x36"
29991                           "\xf4\xbe\x98\x4b\xbf\xfb\xed\xc1",
29992                 .clen   = 176,
29993         }, {
29994                 .key    = "\x0c\x5f\xfd\x37\xa1\x1e\xdc\x42"
29995                           "\xc3\x25\x28\x7f\xc0\x60\x4f\x2e"
29996                           "\x3e\x8c\xd5\x67\x1a\x00\xfe\x32"
29997                           "\x16\xaa\x5e\xb1\x05\x78\x3b\x54",
29998                 .klen   = 32,
29999                 .iv     = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
30000                           "\x00\x00\x31\x5e",
30001                 .assoc  = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
30002                           "\x20\xe8\xf5\xeb",
30003                 .alen   = 12,
30004                 .ptext  = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
30005                           "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
30006                           "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
30007                           "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
30008                           "\x62\xe9\x72\x95\x66\xed\x66\xe9"
30009                           "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
30010                           "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
30011                           "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
30012                           "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
30013                           "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
30014                           "\x16\x99\x16\x91\xd5\x72\xfd\x14"
30015                           "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
30016                           "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
30017                           "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
30018                           "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
30019                           "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
30020                           "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
30021                           "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
30022                           "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
30023                           "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
30024                 .plen   = 160,
30025                 .ctext  = "\x6f\x9e\x4b\xcb\xc8\xc8\x5f\xc0"
30026                           "\x12\x8f\xb1\xe4\xa0\xa2\x0c\xb9"
30027                           "\x93\x2f\xf7\x45\x81\xf5\x4f\xc0"
30028                           "\x13\xdd\x05\x4b\x19\xf9\x93\x71"
30029                           "\x42\x5b\x35\x2d\x97\xd3\xf3\x37"
30030                           "\xb9\x0b\x63\xd1\xb0\x82\xad\xee"
30031                           "\xea\x9d\x2d\x73\x91\x89\x7d\x59"
30032                           "\x1b\x98\x5e\x55\xfb\x50\xcb\x53"
30033                           "\x50\xcf\x7d\x38\xdc\x27\xdd\xa1"
30034                           "\x27\xc0\x78\xa1\x49\xc8\xeb\x98"
30035                           "\x08\x3d\x66\x36\x3a\x46\xe3\x72"
30036                           "\x6a\xf2\x17\xd3\xa0\x02\x75\xad"
30037                           "\x5b\xf7\x72\xc7\x61\x0e\xa4\xc2"
30038                           "\x30\x06\x87\x8f\x0e\xe6\x9a\x83"
30039                           "\x97\x70\x31\x69\xa4\x19\x30\x3f"
30040                           "\x40\xb7\x2e\x45\x73\x71\x4d\x19"
30041                           "\xe2\x69\x7d\xf6\x1e\x7c\x72\x52"
30042                           "\xe5\xab\xc6\xba\xde\x87\x6a\xc4"
30043                           "\x96\x1b\xfa\xc4\xd5\xe8\x67\xaf"
30044                           "\xca\x35\x1a\x48\xae\xd5\x28\x22"
30045                           "\xe2\x10\xd6\xce\xd2\xcf\x43\x0f"
30046                           "\xf8\x41\x47\x29\x15\xe7\xef\x48",
30047                 .clen   = 176,
30048         }
30049 };
30050
30051 static const struct cipher_testvec chacha20_tv_template[] = {
30052         { /* RFC7539 A.2. Test Vector #1 */
30053                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
30054                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30055                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30056                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30057                 .klen   = 32,
30058                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30059                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30060                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
30061                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30062                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30063                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30064                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30065                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30066                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30067                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30068                 .ctext  = "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
30069                           "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
30070                           "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
30071                           "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
30072                           "\xda\x41\x59\x7c\x51\x57\x48\x8d"
30073                           "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
30074                           "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
30075                           "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
30076                 .len    = 64,
30077         }, { /* RFC7539 A.2. Test Vector #2 */
30078                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
30079                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30080                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30081                           "\x00\x00\x00\x00\x00\x00\x00\x01",
30082                 .klen   = 32,
30083                 .iv     = "\x01\x00\x00\x00\x00\x00\x00\x00"
30084                           "\x00\x00\x00\x00\x00\x00\x00\x02",
30085                 .ptext  = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
30086                           "\x69\x73\x73\x69\x6f\x6e\x20\x74"
30087                           "\x6f\x20\x74\x68\x65\x20\x49\x45"
30088                           "\x54\x46\x20\x69\x6e\x74\x65\x6e"
30089                           "\x64\x65\x64\x20\x62\x79\x20\x74"
30090                           "\x68\x65\x20\x43\x6f\x6e\x74\x72"
30091                           "\x69\x62\x75\x74\x6f\x72\x20\x66"
30092                           "\x6f\x72\x20\x70\x75\x62\x6c\x69"
30093                           "\x63\x61\x74\x69\x6f\x6e\x20\x61"
30094                           "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
30095                           "\x20\x70\x61\x72\x74\x20\x6f\x66"
30096                           "\x20\x61\x6e\x20\x49\x45\x54\x46"
30097                           "\x20\x49\x6e\x74\x65\x72\x6e\x65"
30098                           "\x74\x2d\x44\x72\x61\x66\x74\x20"
30099                           "\x6f\x72\x20\x52\x46\x43\x20\x61"
30100                           "\x6e\x64\x20\x61\x6e\x79\x20\x73"
30101                           "\x74\x61\x74\x65\x6d\x65\x6e\x74"
30102                           "\x20\x6d\x61\x64\x65\x20\x77\x69"
30103                           "\x74\x68\x69\x6e\x20\x74\x68\x65"
30104                           "\x20\x63\x6f\x6e\x74\x65\x78\x74"
30105                           "\x20\x6f\x66\x20\x61\x6e\x20\x49"
30106                           "\x45\x54\x46\x20\x61\x63\x74\x69"
30107                           "\x76\x69\x74\x79\x20\x69\x73\x20"
30108                           "\x63\x6f\x6e\x73\x69\x64\x65\x72"
30109                           "\x65\x64\x20\x61\x6e\x20\x22\x49"
30110                           "\x45\x54\x46\x20\x43\x6f\x6e\x74"
30111                           "\x72\x69\x62\x75\x74\x69\x6f\x6e"
30112                           "\x22\x2e\x20\x53\x75\x63\x68\x20"
30113                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
30114                           "\x74\x73\x20\x69\x6e\x63\x6c\x75"
30115                           "\x64\x65\x20\x6f\x72\x61\x6c\x20"
30116                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
30117                           "\x74\x73\x20\x69\x6e\x20\x49\x45"
30118                           "\x54\x46\x20\x73\x65\x73\x73\x69"
30119                           "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
30120                           "\x77\x65\x6c\x6c\x20\x61\x73\x20"
30121                           "\x77\x72\x69\x74\x74\x65\x6e\x20"
30122                           "\x61\x6e\x64\x20\x65\x6c\x65\x63"
30123                           "\x74\x72\x6f\x6e\x69\x63\x20\x63"
30124                           "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
30125                           "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
30126                           "\x64\x65\x20\x61\x74\x20\x61\x6e"
30127                           "\x79\x20\x74\x69\x6d\x65\x20\x6f"
30128                           "\x72\x20\x70\x6c\x61\x63\x65\x2c"
30129                           "\x20\x77\x68\x69\x63\x68\x20\x61"
30130                           "\x72\x65\x20\x61\x64\x64\x72\x65"
30131                           "\x73\x73\x65\x64\x20\x74\x6f",
30132                 .ctext  = "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
30133                           "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
30134                           "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
30135                           "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
30136                           "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
30137                           "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
30138                           "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
30139                           "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
30140                           "\x40\x42\xe0\x27\x85\xec\xec\xfa"
30141                           "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
30142                           "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
30143                           "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
30144                           "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
30145                           "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
30146                           "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
30147                           "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
30148                           "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
30149                           "\xd6\x62\xab\x05\x26\x91\xca\x66"
30150                           "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
30151                           "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
30152                           "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
30153                           "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
30154                           "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
30155                           "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
30156                           "\x08\x71\xcd\xac\x63\x89\x39\xe2"
30157                           "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
30158                           "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
30159                           "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
30160                           "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
30161                           "\x37\x20\xfc\x88\xdc\x95\xed\x84"
30162                           "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
30163                           "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
30164                           "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
30165                           "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
30166                           "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
30167                           "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
30168                           "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
30169                           "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
30170                           "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
30171                           "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
30172                           "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
30173                           "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
30174                           "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
30175                           "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
30176                           "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
30177                           "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
30178                           "\xc4\xfd\x80\x6c\x22\xf2\x21",
30179                 .len    = 375,
30180
30181         }, { /* RFC7539 A.2. Test Vector #3 */
30182                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
30183                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
30184                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
30185                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
30186                 .klen   = 32,
30187                 .iv     = "\x2a\x00\x00\x00\x00\x00\x00\x00"
30188                           "\x00\x00\x00\x00\x00\x00\x00\x02",
30189                 .ptext  = "\x27\x54\x77\x61\x73\x20\x62\x72"
30190                           "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
30191                           "\x6e\x64\x20\x74\x68\x65\x20\x73"
30192                           "\x6c\x69\x74\x68\x79\x20\x74\x6f"
30193                           "\x76\x65\x73\x0a\x44\x69\x64\x20"
30194                           "\x67\x79\x72\x65\x20\x61\x6e\x64"
30195                           "\x20\x67\x69\x6d\x62\x6c\x65\x20"
30196                           "\x69\x6e\x20\x74\x68\x65\x20\x77"
30197                           "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
30198                           "\x20\x6d\x69\x6d\x73\x79\x20\x77"
30199                           "\x65\x72\x65\x20\x74\x68\x65\x20"
30200                           "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
30201                           "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
30202                           "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
30203                           "\x72\x61\x74\x68\x73\x20\x6f\x75"
30204                           "\x74\x67\x72\x61\x62\x65\x2e",
30205                 .ctext  = "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
30206                           "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
30207                           "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
30208                           "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
30209                           "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
30210                           "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
30211                           "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
30212                           "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
30213                           "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
30214                           "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
30215                           "\x1a\x55\x32\x05\x57\x16\xea\xd6"
30216                           "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
30217                           "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
30218                           "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
30219                           "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
30220                           "\x75\x7a\x79\x7a\xc1\x88\xd1",
30221                 .len    = 127,
30222         }, { /* Self-made test vector for long data */
30223                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
30224                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
30225                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
30226                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
30227                 .klen   = 32,
30228                 .iv     = "\x1c\x00\x00\x00\x00\x00\x00\x00"
30229                           "\x00\x00\x00\x00\x00\x00\x00\x01",
30230                 .ptext  = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
30231                           "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
30232                           "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
30233                           "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
30234                           "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
30235                           "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
30236                           "\x01\xc6\x67\xda\x03\x91\x18\x90"
30237                           "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
30238                           "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
30239                           "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
30240                           "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
30241                           "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
30242                           "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
30243                           "\x33\x97\xc3\x77\xba\xc5\x70\xde"
30244                           "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
30245                           "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
30246                           "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
30247                           "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
30248                           "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
30249                           "\x79\x49\x41\xf4\x58\x18\xcb\x86"
30250                           "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
30251                           "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
30252                           "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
30253                           "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
30254                           "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
30255                           "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
30256                           "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
30257                           "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
30258                           "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
30259                           "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
30260                           "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
30261                           "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
30262                           "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
30263                           "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
30264                           "\x24\x74\x75\x7f\x95\x81\xb7\x30"
30265                           "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
30266                           "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
30267                           "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
30268                           "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
30269                           "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
30270                           "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
30271                           "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
30272                           "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
30273                           "\x49\x46\x00\x88\x22\x8d\xce\xea"
30274                           "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
30275                           "\x72\x11\xf5\x50\x73\x04\x40\x47"
30276                           "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
30277                           "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
30278                           "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
30279                           "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
30280                           "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
30281                           "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
30282                           "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
30283                           "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
30284                           "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
30285                           "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
30286                           "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
30287                           "\x8b\x10\x67\xa3\x01\x57\x94\x25"
30288                           "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
30289                           "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
30290                           "\x58\xb1\x47\x90\xfe\x42\x21\x72"
30291                           "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
30292                           "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
30293                           "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
30294                           "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
30295                           "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
30296                           "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
30297                           "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
30298                           "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
30299                           "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
30300                           "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
30301                           "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
30302                           "\x65\x69\x8a\x45\x29\xef\x74\x85"
30303                           "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
30304                           "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
30305                           "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
30306                           "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
30307                           "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
30308                           "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
30309                           "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
30310                           "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
30311                           "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
30312                           "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
30313                           "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
30314                           "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
30315                           "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
30316                           "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
30317                           "\x10\x26\x38\x07\xe5\xc7\x36\x80"
30318                           "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
30319                           "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
30320                           "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
30321                           "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
30322                           "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
30323                           "\x83\x66\x80\x47\x80\xe8\xfd\x35"
30324                           "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
30325                           "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
30326                           "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
30327                           "\x25\x94\x10\x5f\x40\x00\x64\x99"
30328                           "\xdc\xae\xd7\x21\x09\x78\x50\x15"
30329                           "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
30330                           "\x87\x6e\x6d\xab\xde\x08\x51\x16"
30331                           "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
30332                           "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
30333                           "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
30334                           "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
30335                           "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
30336                           "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
30337                           "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
30338                           "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
30339                           "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
30340                           "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
30341                           "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
30342                           "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
30343                           "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
30344                           "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
30345                           "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
30346                           "\xb9\x83\x90\xef\x20\x59\x46\xff"
30347                           "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
30348                           "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
30349                           "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
30350                           "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
30351                           "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
30352                           "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
30353                           "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
30354                           "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
30355                           "\x94\x97\xea\xdd\x58\x9e\xae\x76"
30356                           "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
30357                           "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
30358                           "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
30359                           "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
30360                           "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
30361                           "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
30362                           "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
30363                           "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
30364                           "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
30365                           "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
30366                           "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
30367                           "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
30368                           "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
30369                           "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
30370                           "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
30371                           "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
30372                           "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
30373                           "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
30374                           "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
30375                           "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
30376                           "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
30377                           "\xac\xf3\x13\x53\x27\x45\xaf\x64"
30378                           "\x46\xdc\xea\x23\xda\x97\xd1\xab"
30379                           "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
30380                           "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
30381                           "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
30382                           "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
30383                           "\xca\x34\x83\x27\x10\x5b\x68\x45"
30384                           "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
30385                           "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
30386                           "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
30387                           "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
30388                           "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
30389                           "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
30390                           "\x72",
30391                 .ctext  = "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
30392                           "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
30393                           "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
30394                           "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
30395                           "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
30396                           "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
30397                           "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
30398                           "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
30399                           "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
30400                           "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
30401                           "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
30402                           "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
30403                           "\x33\x4a\x71\x15\xfe\xee\x12\x54"
30404                           "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
30405                           "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
30406                           "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
30407                           "\x57\x0e\x94\x17\x26\x39\xbb\x54"
30408                           "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
30409                           "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
30410                           "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
30411                           "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
30412                           "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
30413                           "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
30414                           "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
30415                           "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
30416                           "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
30417                           "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
30418                           "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
30419                           "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
30420                           "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
30421                           "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
30422                           "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
30423                           "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
30424                           "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
30425                           "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
30426                           "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
30427                           "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
30428                           "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
30429                           "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
30430                           "\xae\xe7\x61\x32\xef\x41\x6c\x75"
30431                           "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
30432                           "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
30433                           "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
30434                           "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
30435                           "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
30436                           "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
30437                           "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
30438                           "\xc1\x22\xf3\x79\xae\x95\x78\x66"
30439                           "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
30440                           "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
30441                           "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
30442                           "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
30443                           "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
30444                           "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
30445                           "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
30446                           "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
30447                           "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
30448                           "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
30449                           "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
30450                           "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
30451                           "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
30452                           "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
30453                           "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
30454                           "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
30455                           "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
30456                           "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
30457                           "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
30458                           "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
30459                           "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
30460                           "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
30461                           "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
30462                           "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
30463                           "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
30464                           "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
30465                           "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
30466                           "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
30467                           "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
30468                           "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
30469                           "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
30470                           "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
30471                           "\x54\x1c\x34\x72\xde\x0c\x68\x39"
30472                           "\x9d\x32\xa5\x75\x92\x13\x32\xea"
30473                           "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
30474                           "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
30475                           "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
30476                           "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
30477                           "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
30478                           "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
30479                           "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
30480                           "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
30481                           "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
30482                           "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
30483                           "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
30484                           "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
30485                           "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
30486                           "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
30487                           "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
30488                           "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
30489                           "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
30490                           "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
30491                           "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
30492                           "\x79\x61\x23\xe0\xa2\x99\x73\x55"
30493                           "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
30494                           "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
30495                           "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
30496                           "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
30497                           "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
30498                           "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
30499                           "\x48\x56\xaa\x85\x22\xd8\x36\xed"
30500                           "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
30501                           "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
30502                           "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
30503                           "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
30504                           "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
30505                           "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
30506                           "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
30507                           "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
30508                           "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
30509                           "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
30510                           "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
30511                           "\xec\x83\x92\x99\x87\x47\xe0\x7c"
30512                           "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
30513                           "\x98\xb0\x87\xb6\x86\x13\x64\x33"
30514                           "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
30515                           "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
30516                           "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
30517                           "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
30518                           "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
30519                           "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
30520                           "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
30521                           "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
30522                           "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
30523                           "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
30524                           "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
30525                           "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
30526                           "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
30527                           "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
30528                           "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
30529                           "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
30530                           "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
30531                           "\x5f\xae\x25\x84\x22\x90\x5f\x26"
30532                           "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
30533                           "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
30534                           "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
30535                           "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
30536                           "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
30537                           "\x74\x06\x89\x0e\x90\xeb\x85\xff"
30538                           "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
30539                           "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
30540                           "\x02\x85\x68\xd0\x03\x12\xde\x92"
30541                           "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
30542                           "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
30543                           "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
30544                           "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
30545                           "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
30546                           "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
30547                           "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
30548                           "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
30549                           "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
30550                           "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
30551                           "\x98",
30552                 .len    = 1281,
30553         },
30554 };
30555
30556 static const struct cipher_testvec xchacha20_tv_template[] = {
30557         { /* from libsodium test/default/xchacha20.c */
30558                 .key    = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
30559                           "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
30560                           "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
30561                           "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
30562                 .klen   = 32,
30563                 .iv     = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
30564                           "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
30565                           "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
30566                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30567                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
30568                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30569                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30570                           "\x00\x00\x00\x00\x00",
30571                 .ctext  = "\xc6\xe9\x75\x81\x60\x08\x3a\xc6"
30572                           "\x04\xef\x90\xe7\x12\xce\x6e\x75"
30573                           "\xd7\x79\x75\x90\x74\x4e\x0c\xf0"
30574                           "\x60\xf0\x13\x73\x9c",
30575                 .len    = 29,
30576         }, { /* from libsodium test/default/xchacha20.c */
30577                 .key    = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
30578                           "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
30579                           "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
30580                           "\x22\x35\xea\xaf\x60\x1d\x62\x32",
30581                 .klen   = 32,
30582                 .iv     = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
30583                           "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
30584                           "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
30585                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30586                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
30587                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30588                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30589                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30590                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30591                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30592                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30593                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30594                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30595                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30596                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30597                           "\x00\x00\x00",
30598                 .ctext  = "\xa2\x12\x09\x09\x65\x94\xde\x8c"
30599                           "\x56\x67\xb1\xd1\x3a\xd9\x3f\x74"
30600                           "\x41\x06\xd0\x54\xdf\x21\x0e\x47"
30601                           "\x82\xcd\x39\x6f\xec\x69\x2d\x35"
30602                           "\x15\xa2\x0b\xf3\x51\xee\xc0\x11"
30603                           "\xa9\x2c\x36\x78\x88\xbc\x46\x4c"
30604                           "\x32\xf0\x80\x7a\xcd\x6c\x20\x3a"
30605                           "\x24\x7e\x0d\xb8\x54\x14\x84\x68"
30606                           "\xe9\xf9\x6b\xee\x4c\xf7\x18\xd6"
30607                           "\x8d\x5f\x63\x7c\xbd\x5a\x37\x64"
30608                           "\x57\x78\x8e\x6f\xae\x90\xfc\x31"
30609                           "\x09\x7c\xfc",
30610                 .len    = 91,
30611         }, { /* Taken from the ChaCha20 test vectors, appended 12 random bytes
30612                 to the nonce, zero-padded the stream position from 4 to 8 bytes,
30613                 and recomputed the ciphertext using libsodium's XChaCha20 */
30614                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
30615                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30616                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30617                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30618                 .klen   = 32,
30619                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30620                           "\x00\x00\x00\x00\x67\xc6\x69\x73"
30621                           "\x51\xff\x4a\xec\x29\xcd\xba\xab"
30622                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30623                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
30624                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30625                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30626                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30627                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30628                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30629                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30630                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30631                 .ctext  = "\x9c\x49\x2a\xe7\x8a\x2f\x93\xc7"
30632                           "\xb3\x33\x6f\x82\x17\xd8\xc4\x1e"
30633                           "\xad\x80\x11\x11\x1d\x4c\x16\x18"
30634                           "\x07\x73\x9b\x4f\xdb\x7c\xcb\x47"
30635                           "\xfd\xef\x59\x74\xfa\x3f\xe5\x4c"
30636                           "\x9b\xd0\xea\xbc\xba\x56\xad\x32"
30637                           "\x03\xdc\xf8\x2b\xc1\xe1\x75\x67"
30638                           "\x23\x7b\xe6\xfc\xd4\x03\x86\x54",
30639                 .len    = 64,
30640         }, { /* Derived from a ChaCha20 test vector, via the process above */
30641                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
30642                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30643                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30644                           "\x00\x00\x00\x00\x00\x00\x00\x01",
30645                 .klen   = 32,
30646                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30647                           "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
30648                           "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
30649                           "\x01\x00\x00\x00\x00\x00\x00\x00",
30650                 .ptext  = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
30651                           "\x69\x73\x73\x69\x6f\x6e\x20\x74"
30652                           "\x6f\x20\x74\x68\x65\x20\x49\x45"
30653                           "\x54\x46\x20\x69\x6e\x74\x65\x6e"
30654                           "\x64\x65\x64\x20\x62\x79\x20\x74"
30655                           "\x68\x65\x20\x43\x6f\x6e\x74\x72"
30656                           "\x69\x62\x75\x74\x6f\x72\x20\x66"
30657                           "\x6f\x72\x20\x70\x75\x62\x6c\x69"
30658                           "\x63\x61\x74\x69\x6f\x6e\x20\x61"
30659                           "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
30660                           "\x20\x70\x61\x72\x74\x20\x6f\x66"
30661                           "\x20\x61\x6e\x20\x49\x45\x54\x46"
30662                           "\x20\x49\x6e\x74\x65\x72\x6e\x65"
30663                           "\x74\x2d\x44\x72\x61\x66\x74\x20"
30664                           "\x6f\x72\x20\x52\x46\x43\x20\x61"
30665                           "\x6e\x64\x20\x61\x6e\x79\x20\x73"
30666                           "\x74\x61\x74\x65\x6d\x65\x6e\x74"
30667                           "\x20\x6d\x61\x64\x65\x20\x77\x69"
30668                           "\x74\x68\x69\x6e\x20\x74\x68\x65"
30669                           "\x20\x63\x6f\x6e\x74\x65\x78\x74"
30670                           "\x20\x6f\x66\x20\x61\x6e\x20\x49"
30671                           "\x45\x54\x46\x20\x61\x63\x74\x69"
30672                           "\x76\x69\x74\x79\x20\x69\x73\x20"
30673                           "\x63\x6f\x6e\x73\x69\x64\x65\x72"
30674                           "\x65\x64\x20\x61\x6e\x20\x22\x49"
30675                           "\x45\x54\x46\x20\x43\x6f\x6e\x74"
30676                           "\x72\x69\x62\x75\x74\x69\x6f\x6e"
30677                           "\x22\x2e\x20\x53\x75\x63\x68\x20"
30678                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
30679                           "\x74\x73\x20\x69\x6e\x63\x6c\x75"
30680                           "\x64\x65\x20\x6f\x72\x61\x6c\x20"
30681                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
30682                           "\x74\x73\x20\x69\x6e\x20\x49\x45"
30683                           "\x54\x46\x20\x73\x65\x73\x73\x69"
30684                           "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
30685                           "\x77\x65\x6c\x6c\x20\x61\x73\x20"
30686                           "\x77\x72\x69\x74\x74\x65\x6e\x20"
30687                           "\x61\x6e\x64\x20\x65\x6c\x65\x63"
30688                           "\x74\x72\x6f\x6e\x69\x63\x20\x63"
30689                           "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
30690                           "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
30691                           "\x64\x65\x20\x61\x74\x20\x61\x6e"
30692                           "\x79\x20\x74\x69\x6d\x65\x20\x6f"
30693                           "\x72\x20\x70\x6c\x61\x63\x65\x2c"
30694                           "\x20\x77\x68\x69\x63\x68\x20\x61"
30695                           "\x72\x65\x20\x61\x64\x64\x72\x65"
30696                           "\x73\x73\x65\x64\x20\x74\x6f",
30697                 .ctext  = "\xf9\xab\x7a\x4a\x60\xb8\x5f\xa0"
30698                           "\x50\xbb\x57\xce\xef\x8c\xc1\xd9"
30699                           "\x24\x15\xb3\x67\x5e\x7f\x01\xf6"
30700                           "\x1c\x22\xf6\xe5\x71\xb1\x43\x64"
30701                           "\x63\x05\xd5\xfc\x5c\x3d\xc0\x0e"
30702                           "\x23\xef\xd3\x3b\xd9\xdc\x7f\xa8"
30703                           "\x58\x26\xb3\xd0\xc2\xd5\x04\x3f"
30704                           "\x0a\x0e\x8f\x17\xe4\xcd\xf7\x2a"
30705                           "\xb4\x2c\x09\xe4\x47\xec\x8b\xfb"
30706                           "\x59\x37\x7a\xa1\xd0\x04\x7e\xaa"
30707                           "\xf1\x98\x5f\x24\x3d\x72\x9a\x43"
30708                           "\xa4\x36\x51\x92\x22\x87\xff\x26"
30709                           "\xce\x9d\xeb\x59\x78\x84\x5e\x74"
30710                           "\x97\x2e\x63\xc0\xef\x29\xf7\x8a"
30711                           "\xb9\xee\x35\x08\x77\x6a\x35\x9a"
30712                           "\x3e\xe6\x4f\x06\x03\x74\x1b\xc1"
30713                           "\x5b\xb3\x0b\x89\x11\x07\xd3\xb7"
30714                           "\x53\xd6\x25\x04\xd9\x35\xb4\x5d"
30715                           "\x4c\x33\x5a\xc2\x42\x4c\xe6\xa4"
30716                           "\x97\x6e\x0e\xd2\xb2\x8b\x2f\x7f"
30717                           "\x28\xe5\x9f\xac\x4b\x2e\x02\xab"
30718                           "\x85\xfa\xa9\x0d\x7c\x2d\x10\xe6"
30719                           "\x91\xab\x55\x63\xf0\xde\x3a\x94"
30720                           "\x25\x08\x10\x03\xc2\x68\xd1\xf4"
30721                           "\xaf\x7d\x9c\x99\xf7\x86\x96\x30"
30722                           "\x60\xfc\x0b\xe6\xa8\x80\x15\xb0"
30723                           "\x81\xb1\x0c\xbe\xb9\x12\x18\x25"
30724                           "\xe9\x0e\xb1\xe7\x23\xb2\xef\x4a"
30725                           "\x22\x8f\xc5\x61\x89\xd4\xe7\x0c"
30726                           "\x64\x36\x35\x61\xb6\x34\x60\xf7"
30727                           "\x7b\x61\x37\x37\x12\x10\xa2\xf6"
30728                           "\x7e\xdb\x7f\x39\x3f\xb6\x8e\x89"
30729                           "\x9e\xf3\xfe\x13\x98\xbb\x66\x5a"
30730                           "\xec\xea\xab\x3f\x9c\x87\xc4\x8c"
30731                           "\x8a\x04\x18\x49\xfc\x77\x11\x50"
30732                           "\x16\xe6\x71\x2b\xee\xc0\x9c\xb6"
30733                           "\x87\xfd\x80\xff\x0b\x1d\x73\x38"
30734                           "\xa4\x1d\x6f\xae\xe4\x12\xd7\x93"
30735                           "\x9d\xcd\x38\x26\x09\x40\x52\xcd"
30736                           "\x67\x01\x67\x26\xe0\x3e\x98\xa8"
30737                           "\xe8\x1a\x13\x41\xbb\x90\x4d\x87"
30738                           "\xbb\x42\x82\x39\xce\x3a\xd0\x18"
30739                           "\x6d\x7b\x71\x8f\xbb\x2c\x6a\xd1"
30740                           "\xbd\xf5\xc7\x8a\x7e\xe1\x1e\x0f"
30741                           "\x0d\x0d\x13\x7c\xd9\xd8\x3c\x91"
30742                           "\xab\xff\x1f\x12\xc3\xee\xe5\x65"
30743                           "\x12\x8d\x7b\x61\xe5\x1f\x98",
30744                 .len    = 375,
30745
30746         }, { /* Derived from a ChaCha20 test vector, via the process above */
30747                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
30748                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
30749                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
30750                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
30751                 .klen   = 32,
30752                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30753                           "\x00\x00\x00\x02\x76\x5a\x2e\x63"
30754                           "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
30755                           "\x2a\x00\x00\x00\x00\x00\x00\x00",
30756                 .ptext  = "\x27\x54\x77\x61\x73\x20\x62\x72"
30757                           "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
30758                           "\x6e\x64\x20\x74\x68\x65\x20\x73"
30759                           "\x6c\x69\x74\x68\x79\x20\x74\x6f"
30760                           "\x76\x65\x73\x0a\x44\x69\x64\x20"
30761                           "\x67\x79\x72\x65\x20\x61\x6e\x64"
30762                           "\x20\x67\x69\x6d\x62\x6c\x65\x20"
30763                           "\x69\x6e\x20\x74\x68\x65\x20\x77"
30764                           "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
30765                           "\x20\x6d\x69\x6d\x73\x79\x20\x77"
30766                           "\x65\x72\x65\x20\x74\x68\x65\x20"
30767                           "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
30768                           "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
30769                           "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
30770                           "\x72\x61\x74\x68\x73\x20\x6f\x75"
30771                           "\x74\x67\x72\x61\x62\x65\x2e",
30772                 .ctext  = "\x95\xb9\x51\xe7\x8f\xb4\xa4\x03"
30773                           "\xca\x37\xcc\xde\x60\x1d\x8c\xe2"
30774                           "\xf1\xbb\x8a\x13\x7f\x61\x85\xcc"
30775                           "\xad\xf4\xf0\xdc\x86\xa6\x1e\x10"
30776                           "\xbc\x8e\xcb\x38\x2b\xa5\xc8\x8f"
30777                           "\xaa\x03\x3d\x53\x4a\x42\xb1\x33"
30778                           "\xfc\xd3\xef\xf0\x8e\x7e\x10\x9c"
30779                           "\x6f\x12\x5e\xd4\x96\xfe\x5b\x08"
30780                           "\xb6\x48\xf0\x14\x74\x51\x18\x7c"
30781                           "\x07\x92\xfc\xac\x9d\xf1\x94\xc0"
30782                           "\xc1\x9d\xc5\x19\x43\x1f\x1d\xbb"
30783                           "\x07\xf0\x1b\x14\x25\x45\xbb\xcb"
30784                           "\x5c\xe2\x8b\x28\xf3\xcf\x47\x29"
30785                           "\x27\x79\x67\x24\xa6\x87\xc2\x11"
30786                           "\x65\x03\xfa\x45\xf7\x9e\x53\x7a"
30787                           "\x99\xf1\x82\x25\x4f\x8d\x07",
30788                 .len    = 127,
30789         }, { /* Derived from a ChaCha20 test vector, via the process above */
30790                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
30791                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
30792                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
30793                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
30794                 .klen   = 32,
30795                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30796                           "\x00\x00\x00\x01\x31\x58\xa3\x5a"
30797                           "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
30798                           "\x1c\x00\x00\x00\x00\x00\x00\x00",
30799                 .ptext  = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
30800                           "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
30801                           "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
30802                           "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
30803                           "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
30804                           "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
30805                           "\x01\xc6\x67\xda\x03\x91\x18\x90"
30806                           "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
30807                           "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
30808                           "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
30809                           "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
30810                           "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
30811                           "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
30812                           "\x33\x97\xc3\x77\xba\xc5\x70\xde"
30813                           "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
30814                           "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
30815                           "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
30816                           "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
30817                           "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
30818                           "\x79\x49\x41\xf4\x58\x18\xcb\x86"
30819                           "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
30820                           "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
30821                           "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
30822                           "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
30823                           "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
30824                           "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
30825                           "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
30826                           "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
30827                           "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
30828                           "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
30829                           "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
30830                           "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
30831                           "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
30832                           "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
30833                           "\x24\x74\x75\x7f\x95\x81\xb7\x30"
30834                           "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
30835                           "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
30836                           "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
30837                           "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
30838                           "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
30839                           "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
30840                           "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
30841                           "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
30842                           "\x49\x46\x00\x88\x22\x8d\xce\xea"
30843                           "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
30844                           "\x72\x11\xf5\x50\x73\x04\x40\x47"
30845                           "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
30846                           "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
30847                           "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
30848                           "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
30849                           "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
30850                           "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
30851                           "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
30852                           "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
30853                           "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
30854                           "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
30855                           "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
30856                           "\x8b\x10\x67\xa3\x01\x57\x94\x25"
30857                           "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
30858                           "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
30859                           "\x58\xb1\x47\x90\xfe\x42\x21\x72"
30860                           "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
30861                           "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
30862                           "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
30863                           "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
30864                           "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
30865                           "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
30866                           "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
30867                           "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
30868                           "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
30869                           "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
30870                           "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
30871                           "\x65\x69\x8a\x45\x29\xef\x74\x85"
30872                           "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
30873                           "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
30874                           "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
30875                           "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
30876                           "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
30877                           "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
30878                           "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
30879                           "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
30880                           "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
30881                           "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
30882                           "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
30883                           "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
30884                           "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
30885                           "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
30886                           "\x10\x26\x38\x07\xe5\xc7\x36\x80"
30887                           "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
30888                           "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
30889                           "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
30890                           "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
30891                           "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
30892                           "\x83\x66\x80\x47\x80\xe8\xfd\x35"
30893                           "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
30894                           "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
30895                           "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
30896                           "\x25\x94\x10\x5f\x40\x00\x64\x99"
30897                           "\xdc\xae\xd7\x21\x09\x78\x50\x15"
30898                           "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
30899                           "\x87\x6e\x6d\xab\xde\x08\x51\x16"
30900                           "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
30901                           "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
30902                           "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
30903                           "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
30904                           "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
30905                           "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
30906                           "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
30907                           "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
30908                           "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
30909                           "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
30910                           "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
30911                           "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
30912                           "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
30913                           "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
30914                           "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
30915                           "\xb9\x83\x90\xef\x20\x59\x46\xff"
30916                           "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
30917                           "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
30918                           "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
30919                           "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
30920                           "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
30921                           "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
30922                           "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
30923                           "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
30924                           "\x94\x97\xea\xdd\x58\x9e\xae\x76"
30925                           "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
30926                           "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
30927                           "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
30928                           "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
30929                           "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
30930                           "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
30931                           "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
30932                           "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
30933                           "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
30934                           "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
30935                           "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
30936                           "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
30937                           "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
30938                           "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
30939                           "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
30940                           "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
30941                           "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
30942                           "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
30943                           "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
30944                           "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
30945                           "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
30946                           "\xac\xf3\x13\x53\x27\x45\xaf\x64"
30947                           "\x46\xdc\xea\x23\xda\x97\xd1\xab"
30948                           "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
30949                           "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
30950                           "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
30951                           "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
30952                           "\xca\x34\x83\x27\x10\x5b\x68\x45"
30953                           "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
30954                           "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
30955                           "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
30956                           "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
30957                           "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
30958                           "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
30959                           "\x72",
30960                 .ctext  = "\x3a\x92\xee\x53\x31\xaf\x2b\x60"
30961                           "\x5f\x55\x8d\x00\x5d\xfc\x74\x97"
30962                           "\x28\x54\xf4\xa5\x75\xf1\x9b\x25"
30963                           "\x62\x1c\xc0\xe0\x13\xc8\x87\x53"
30964                           "\xd0\xf3\xa7\x97\x1f\x3b\x1e\xea"
30965                           "\xe0\xe5\x2a\xd1\xdd\xa4\x3b\x50"
30966                           "\x45\xa3\x0d\x7e\x1b\xc9\xa0\xad"
30967                           "\xb9\x2c\x54\xa6\xc7\x55\x16\xd0"
30968                           "\xc5\x2e\x02\x44\x35\xd0\x7e\x67"
30969                           "\xf2\xc4\x9b\xcd\x95\x10\xcc\x29"
30970                           "\x4b\xfa\x86\x87\xbe\x40\x36\xbe"
30971                           "\xe1\xa3\x52\x89\x55\x20\x9b\xc2"
30972                           "\xab\xf2\x31\x34\x16\xad\xc8\x17"
30973                           "\x65\x24\xc0\xff\x12\x37\xfe\x5a"
30974                           "\x62\x3b\x59\x47\x6c\x5f\x3a\x8e"
30975                           "\x3b\xd9\x30\xc8\x7f\x2f\x88\xda"
30976                           "\x80\xfd\x02\xda\x7f\x9a\x7a\x73"
30977                           "\x59\xc5\x34\x09\x9a\x11\xcb\xa7"
30978                           "\xfc\xf6\xa1\xa0\x60\xfb\x43\xbb"
30979                           "\xf1\xe9\xd7\xc6\x79\x27\x4e\xff"
30980                           "\x22\xb4\x24\xbf\x76\xee\x47\xb9"
30981                           "\x6d\x3f\x8b\xb0\x9c\x3c\x43\xdd"
30982                           "\xff\x25\x2e\x6d\xa4\x2b\xfb\x5d"
30983                           "\x1b\x97\x6c\x55\x0a\x82\x7a\x7b"
30984                           "\x94\x34\xc2\xdb\x2f\x1f\xc1\xea"
30985                           "\xd4\x4d\x17\x46\x3b\x51\x69\x09"
30986                           "\xe4\x99\x32\x25\xfd\x94\xaf\xfb"
30987                           "\x10\xf7\x4f\xdd\x0b\x3c\x8b\x41"
30988                           "\xb3\x6a\xb7\xd1\x33\xa8\x0c\x2f"
30989                           "\x62\x4c\x72\x11\xd7\x74\xe1\x3b"
30990                           "\x38\x43\x66\x7b\x6c\x36\x48\xe7"
30991                           "\xe3\xe7\x9d\xb9\x42\x73\x7a\x2a"
30992                           "\x89\x20\x1a\x41\x80\x03\xf7\x8f"
30993                           "\x61\x78\x13\xbf\xfe\x50\xf5\x04"
30994                           "\x52\xf9\xac\x47\xf8\x62\x4b\xb2"
30995                           "\x24\xa9\xbf\x64\xb0\x18\x69\xd2"
30996                           "\xf5\xe4\xce\xc8\xb1\x87\x75\xd6"
30997                           "\x2c\x24\x79\x00\x7d\x26\xfb\x44"
30998                           "\xe7\x45\x7a\xee\x58\xa5\x83\xc1"
30999                           "\xb4\x24\xab\x23\x2f\x4d\xd7\x4f"
31000                           "\x1c\xc7\xaa\xa9\x50\xf4\xa3\x07"
31001                           "\x12\x13\x89\x74\xdc\x31\x6a\xb2"
31002                           "\xf5\x0f\x13\x8b\xb9\xdb\x85\x1f"
31003                           "\xf5\xbc\x88\xd9\x95\xea\x31\x6c"
31004                           "\x36\x60\xb6\x49\xdc\xc4\xf7\x55"
31005                           "\x3f\x21\xc1\xb5\x92\x18\x5e\xbc"
31006                           "\x9f\x87\x7f\xe7\x79\x25\x40\x33"
31007                           "\xd6\xb9\x33\xd5\x50\xb3\xc7\x89"
31008                           "\x1b\x12\xa0\x46\xdd\xa7\xd8\x3e"
31009                           "\x71\xeb\x6f\x66\xa1\x26\x0c\x67"
31010                           "\xab\xb2\x38\x58\x17\xd8\x44\x3b"
31011                           "\x16\xf0\x8e\x62\x8d\x16\x10\x00"
31012                           "\x32\x8b\xef\xb9\x28\xd3\xc5\xad"
31013                           "\x0a\x19\xa2\xe4\x03\x27\x7d\x94"
31014                           "\x06\x18\xcd\xd6\x27\x00\xf9\x1f"
31015                           "\xb6\xb3\xfe\x96\x35\x5f\xc4\x1c"
31016                           "\x07\x62\x10\x79\x68\x50\xf1\x7e"
31017                           "\x29\xe7\xc4\xc4\xe7\xee\x54\xd6"
31018                           "\x58\x76\x84\x6d\x8d\xe4\x59\x31"
31019                           "\xe9\xf4\xdc\xa1\x1f\xe5\x1a\xd6"
31020                           "\xe6\x64\x46\xf5\x77\x9c\x60\x7a"
31021                           "\x5e\x62\xe3\x0a\xd4\x9f\x7a\x2d"
31022                           "\x7a\xa5\x0a\x7b\x29\x86\x7a\x74"
31023                           "\x74\x71\x6b\xca\x7d\x1d\xaa\xba"
31024                           "\x39\x84\x43\x76\x35\xfe\x4f\x9b"
31025                           "\xbb\xbb\xb5\x6a\x32\xb5\x5d\x41"
31026                           "\x51\xf0\x5b\x68\x03\x47\x4b\x8a"
31027                           "\xca\x88\xf6\x37\xbd\x73\x51\x70"
31028                           "\x66\xfe\x9e\x5f\x21\x9c\xf3\xdd"
31029                           "\xc3\xea\x27\xf9\x64\x94\xe1\x19"
31030                           "\xa0\xa9\xab\x60\xe0\x0e\xf7\x78"
31031                           "\x70\x86\xeb\xe0\xd1\x5c\x05\xd3"
31032                           "\xd7\xca\xe0\xc0\x47\x47\x34\xee"
31033                           "\x11\xa3\xa3\x54\x98\xb7\x49\x8e"
31034                           "\x84\x28\x70\x2c\x9e\xfb\x55\x54"
31035                           "\x4d\xf8\x86\xf7\x85\x7c\xbd\xf3"
31036                           "\x17\xd8\x47\xcb\xac\xf4\x20\x85"
31037                           "\x34\x66\xad\x37\x2d\x5e\x52\xda"
31038                           "\x8a\xfe\x98\x55\x30\xe7\x2d\x2b"
31039                           "\x19\x10\x8e\x7b\x66\x5e\xdc\xe0"
31040                           "\x45\x1f\x7b\xb4\x08\xfb\x8f\xf6"
31041                           "\x8c\x89\x21\x34\x55\x27\xb2\x76"
31042                           "\xb2\x07\xd9\xd6\x68\x9b\xea\x6b"
31043                           "\x2d\xb4\xc4\x35\xdd\xd2\x79\xae"
31044                           "\xc7\xd6\x26\x7f\x12\x01\x8c\xa7"
31045                           "\xe3\xdb\xa8\xf4\xf7\x2b\xec\x99"
31046                           "\x11\x00\xf1\x35\x8c\xcf\xd5\xc9"
31047                           "\xbd\x91\x36\x39\x70\xcf\x7d\x70"
31048                           "\x47\x1a\xfc\x6b\x56\xe0\x3f\x9c"
31049                           "\x60\x49\x01\x72\xa9\xaf\x2c\x9c"
31050                           "\xe8\xab\xda\x8c\x14\x19\xf3\x75"
31051                           "\x07\x17\x9d\x44\x67\x7a\x2e\xef"
31052                           "\xb7\x83\x35\x4a\xd1\x3d\x1c\x84"
31053                           "\x32\xdd\xaa\xea\xca\x1d\xdc\x72"
31054                           "\x2c\xcc\x43\xcd\x5d\xe3\x21\xa4"
31055                           "\xd0\x8a\x4b\x20\x12\xa3\xd5\x86"
31056                           "\x76\x96\xff\x5f\x04\x57\x0f\xe6"
31057                           "\xba\xe8\x76\x50\x0c\x64\x1d\x83"
31058                           "\x9c\x9b\x9a\x9a\x58\x97\x9c\x5c"
31059                           "\xb4\xa4\xa6\x3e\x19\xeb\x8f\x5a"
31060                           "\x61\xb2\x03\x7b\x35\x19\xbe\xa7"
31061                           "\x63\x0c\xfd\xdd\xf9\x90\x6c\x08"
31062                           "\x19\x11\xd3\x65\x4a\xf5\x96\x92"
31063                           "\x59\xaa\x9c\x61\x0c\x29\xa7\xf8"
31064                           "\x14\x39\x37\xbf\x3c\xf2\x16\x72"
31065                           "\x02\xfa\xa2\xf3\x18\x67\x5d\xcb"
31066                           "\xdc\x4d\xbb\x96\xff\x70\x08\x2d"
31067                           "\xc2\xa8\x52\xe1\x34\x5f\x72\xfe"
31068                           "\x64\xbf\xca\xa7\x74\x38\xfb\x74"
31069                           "\x55\x9c\xfa\x8a\xed\xfb\x98\xeb"
31070                           "\x58\x2e\x6c\xe1\x52\x76\x86\xd7"
31071                           "\xcf\xa1\xa4\xfc\xb2\x47\x41\x28"
31072                           "\xa3\xc1\xe5\xfd\x53\x19\x28\x2b"
31073                           "\x37\x04\x65\x96\x99\x7a\x28\x0f"
31074                           "\x07\x68\x4b\xc7\x52\x0a\x55\x35"
31075                           "\x40\x19\x95\x61\xe8\x59\x40\x1f"
31076                           "\x9d\xbf\x78\x7d\x8f\x84\xff\x6f"
31077                           "\xd0\xd5\x63\xd2\x22\xbd\xc8\x4e"
31078                           "\xfb\xe7\x9f\x06\xe6\xe7\x39\x6d"
31079                           "\x6a\x96\x9f\xf0\x74\x7e\xc9\x35"
31080                           "\xb7\x26\xb8\x1c\x0a\xa6\x27\x2c"
31081                           "\xa2\x2b\xfe\xbe\x0f\x07\x73\xae"
31082                           "\x7f\x7f\x54\xf5\x7c\x6a\x0a\x56"
31083                           "\x49\xd4\x81\xe5\x85\x53\x99\x1f"
31084                           "\x95\x05\x13\x58\x8d\x0e\x1b\x90"
31085                           "\xc3\x75\x48\x64\x58\x98\x67\x84"
31086                           "\xae\xe2\x21\xa2\x8a\x04\x0a\x0b"
31087                           "\x61\xaa\xb0\xd4\x28\x60\x7a\xf8"
31088                           "\xbc\x52\xfb\x24\x7f\xed\x0d\x2a"
31089                           "\x0a\xb2\xf9\xc6\x95\xb5\x11\xc9"
31090                           "\xf4\x0f\x26\x11\xcf\x2a\x57\x87"
31091                           "\x7a\xf3\xe7\x94\x65\xc2\xb5\xb3"
31092                           "\xab\x98\xe3\xc1\x2b\x59\x19\x7c"
31093                           "\xd6\xf3\xf9\xbf\xff\x6d\xc6\x82"
31094                           "\x13\x2f\x4a\x2e\xcd\x26\xfe\x2d"
31095                           "\x01\x70\xf4\xc2\x7f\x1f\x4c\xcb"
31096                           "\x47\x77\x0c\xa0\xa3\x03\xec\xda"
31097                           "\xa9\xbf\x0d\x2d\xae\xe4\xb8\x7b"
31098                           "\xa9\xbc\x08\xb4\x68\x2e\xc5\x60"
31099                           "\x8d\x87\x41\x2b\x0f\x69\xf0\xaf"
31100                           "\x5f\xba\x72\x20\x0f\x33\xcd\x6d"
31101                           "\x36\x7d\x7b\xd5\x05\xf1\x4b\x05"
31102                           "\xc4\xfc\x7f\x80\xb9\x4d\xbd\xf7"
31103                           "\x7c\x84\x07\x01\xc2\x40\x66\x5b"
31104                           "\x98\xc7\x2c\xe3\x97\xfa\xdf\x87"
31105                           "\xa0\x1f\xe9\x21\x42\x0f\x3b\xeb"
31106                           "\x89\x1c\x3b\xca\x83\x61\x77\x68"
31107                           "\x84\xbb\x60\x87\x38\x2e\x25\xd5"
31108                           "\x9e\x04\x41\x70\xac\xda\xc0\x9c"
31109                           "\x9c\x69\xea\x8d\x4e\x55\x2a\x29"
31110                           "\xed\x05\x4b\x7b\x73\x71\x90\x59"
31111                           "\x4d\xc8\xd8\x44\xf0\x4c\xe1\x5e"
31112                           "\x84\x47\x55\xcc\x32\x3f\xe7\x97"
31113                           "\x42\xc6\x32\xac\x40\xe5\xa5\xc7"
31114                           "\x8b\xed\xdb\xf7\x83\xd6\xb1\xc2"
31115                           "\x52\x5e\x34\xb7\xeb\x6e\xd9\xfc"
31116                           "\xe5\x93\x9a\x97\x3e\xb0\xdc\xd9"
31117                           "\xd7\x06\x10\xb6\x1d\x80\x59\xdd"
31118                           "\x0d\xfe\x64\x35\xcd\x5d\xec\xf0"
31119                           "\xba\xd0\x34\xc9\x2d\x91\xc5\x17"
31120                           "\x11",
31121                 .len    = 1281,
31122         }, { /* test vector from https://tools.ietf.org/html/draft-arciszewski-xchacha-02#appendix-A.3.2 */
31123                 .key    = "\x80\x81\x82\x83\x84\x85\x86\x87"
31124                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31125                           "\x90\x91\x92\x93\x94\x95\x96\x97"
31126                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
31127                 .klen   = 32,
31128                 .iv     = "\x40\x41\x42\x43\x44\x45\x46\x47"
31129                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31130                           "\x50\x51\x52\x53\x54\x55\x56\x58"
31131                           "\x00\x00\x00\x00\x00\x00\x00\x00",
31132                 .ptext  = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
31133                           "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
31134                           "\x75\x6e\x63\x65\x64\x20\x22\x64"
31135                           "\x6f\x6c\x65\x22\x29\x20\x69\x73"
31136                           "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
31137                           "\x6f\x77\x6e\x20\x61\x73\x20\x74"
31138                           "\x68\x65\x20\x41\x73\x69\x61\x74"
31139                           "\x69\x63\x20\x77\x69\x6c\x64\x20"
31140                           "\x64\x6f\x67\x2c\x20\x72\x65\x64"
31141                           "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
31142                           "\x64\x20\x77\x68\x69\x73\x74\x6c"
31143                           "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
31144                           "\x20\x49\x74\x20\x69\x73\x20\x61"
31145                           "\x62\x6f\x75\x74\x20\x74\x68\x65"
31146                           "\x20\x73\x69\x7a\x65\x20\x6f\x66"
31147                           "\x20\x61\x20\x47\x65\x72\x6d\x61"
31148                           "\x6e\x20\x73\x68\x65\x70\x68\x65"
31149                           "\x72\x64\x20\x62\x75\x74\x20\x6c"
31150                           "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
31151                           "\x65\x20\x6c\x69\x6b\x65\x20\x61"
31152                           "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
31153                           "\x67\x67\x65\x64\x20\x66\x6f\x78"
31154                           "\x2e\x20\x54\x68\x69\x73\x20\x68"
31155                           "\x69\x67\x68\x6c\x79\x20\x65\x6c"
31156                           "\x75\x73\x69\x76\x65\x20\x61\x6e"
31157                           "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
31158                           "\x64\x20\x6a\x75\x6d\x70\x65\x72"
31159                           "\x20\x69\x73\x20\x63\x6c\x61\x73"
31160                           "\x73\x69\x66\x69\x65\x64\x20\x77"
31161                           "\x69\x74\x68\x20\x77\x6f\x6c\x76"
31162                           "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
31163                           "\x74\x65\x73\x2c\x20\x6a\x61\x63"
31164                           "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
31165                           "\x64\x20\x66\x6f\x78\x65\x73\x20"
31166                           "\x69\x6e\x20\x74\x68\x65\x20\x74"
31167                           "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
31168                           "\x20\x66\x61\x6d\x69\x6c\x79\x20"
31169                           "\x43\x61\x6e\x69\x64\x61\x65\x2e",
31170                 .ctext  = "\x45\x59\xab\xba\x4e\x48\xc1\x61"
31171                           "\x02\xe8\xbb\x2c\x05\xe6\x94\x7f"
31172                           "\x50\xa7\x86\xde\x16\x2f\x9b\x0b"
31173                           "\x7e\x59\x2a\x9b\x53\xd0\xd4\xe9"
31174                           "\x8d\x8d\x64\x10\xd5\x40\xa1\xa6"
31175                           "\x37\x5b\x26\xd8\x0d\xac\xe4\xfa"
31176                           "\xb5\x23\x84\xc7\x31\xac\xbf\x16"
31177                           "\xa5\x92\x3c\x0c\x48\xd3\x57\x5d"
31178                           "\x4d\x0d\x2c\x67\x3b\x66\x6f\xaa"
31179                           "\x73\x10\x61\x27\x77\x01\x09\x3a"
31180                           "\x6b\xf7\xa1\x58\xa8\x86\x42\x92"
31181                           "\xa4\x1c\x48\xe3\xa9\xb4\xc0\xda"
31182                           "\xec\xe0\xf8\xd9\x8d\x0d\x7e\x05"
31183                           "\xb3\x7a\x30\x7b\xbb\x66\x33\x31"
31184                           "\x64\xec\x9e\x1b\x24\xea\x0d\x6c"
31185                           "\x3f\xfd\xdc\xec\x4f\x68\xe7\x44"
31186                           "\x30\x56\x19\x3a\x03\xc8\x10\xe1"
31187                           "\x13\x44\xca\x06\xd8\xed\x8a\x2b"
31188                           "\xfb\x1e\x8d\x48\xcf\xa6\xbc\x0e"
31189                           "\xb4\xe2\x46\x4b\x74\x81\x42\x40"
31190                           "\x7c\x9f\x43\x1a\xee\x76\x99\x60"
31191                           "\xe1\x5b\xa8\xb9\x68\x90\x46\x6e"
31192                           "\xf2\x45\x75\x99\x85\x23\x85\xc6"
31193                           "\x61\xf7\x52\xce\x20\xf9\xda\x0c"
31194                           "\x09\xab\x6b\x19\xdf\x74\xe7\x6a"
31195                           "\x95\x96\x74\x46\xf8\xd0\xfd\x41"
31196                           "\x5e\x7b\xee\x2a\x12\xa1\x14\xc2"
31197                           "\x0e\xb5\x29\x2a\xe7\xa3\x49\xae"
31198                           "\x57\x78\x20\xd5\x52\x0a\x1f\x3f"
31199                           "\xb6\x2a\x17\xce\x6a\x7e\x68\xfa"
31200                           "\x7c\x79\x11\x1d\x88\x60\x92\x0b"
31201                           "\xc0\x48\xef\x43\xfe\x84\x48\x6c"
31202                           "\xcb\x87\xc2\x5f\x0a\xe0\x45\xf0"
31203                           "\xcc\xe1\xe7\x98\x9a\x9a\xa2\x20"
31204                           "\xa2\x8b\xdd\x48\x27\xe7\x51\xa2"
31205                           "\x4a\x6d\x5c\x62\xd7\x90\xa6\x63"
31206                           "\x93\xb9\x31\x11\xc1\xa5\x5d\xd7"
31207                           "\x42\x1a\x10\x18\x49\x74\xc7\xc5",
31208                 .len    = 304,
31209         }
31210 };
31211
31212 /*
31213  * Same as XChaCha20 test vectors above, but recomputed the ciphertext with
31214  * XChaCha12, using a modified libsodium.
31215  */
31216 static const struct cipher_testvec xchacha12_tv_template[] = {
31217         {
31218                 .key    = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
31219                           "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
31220                           "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
31221                           "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
31222                 .klen   = 32,
31223                 .iv     = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
31224                           "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
31225                           "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
31226                           "\x00\x00\x00\x00\x00\x00\x00\x00",
31227                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
31228                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31229                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31230                           "\x00\x00\x00\x00\x00",
31231                 .ctext  = "\x1b\x78\x7f\xd7\xa1\x41\x68\xab"
31232                           "\x3d\x3f\xd1\x7b\x69\x56\xb2\xd5"
31233                           "\x43\xce\xeb\xaf\x36\xf0\x29\x9d"
31234                           "\x3a\xfb\x18\xae\x1b",
31235                 .len    = 29,
31236         }, {
31237                 .key    = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
31238                           "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
31239                           "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
31240                           "\x22\x35\xea\xaf\x60\x1d\x62\x32",
31241                 .klen   = 32,
31242                 .iv     = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
31243                           "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
31244                           "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
31245                           "\x00\x00\x00\x00\x00\x00\x00\x00",
31246                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
31247                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31248                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31249                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31250                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31251                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31252                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31253                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31254                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31255                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31256                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31257                           "\x00\x00\x00",
31258                 .ctext  = "\xfb\x32\x09\x1d\x83\x05\xae\x4c"
31259                           "\x13\x1f\x12\x71\xf2\xca\xb2\xeb"
31260                           "\x5b\x83\x14\x7d\x83\xf6\x57\x77"
31261                           "\x2e\x40\x1f\x92\x2c\xf9\xec\x35"
31262                           "\x34\x1f\x93\xdf\xfb\x30\xd7\x35"
31263                           "\x03\x05\x78\xc1\x20\x3b\x7a\xe3"
31264                           "\x62\xa3\x89\xdc\x11\x11\x45\xa8"
31265                           "\x82\x89\xa0\xf1\x4e\xc7\x0f\x11"
31266                           "\x69\xdd\x0c\x84\x2b\x89\x5c\xdc"
31267                           "\xf0\xde\x01\xef\xc5\x65\x79\x23"
31268                           "\x87\x67\xd6\x50\xd9\x8d\xd9\x92"
31269                           "\x54\x5b\x0e",
31270                 .len    = 91,
31271         }, {
31272                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
31273                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31274                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31275                           "\x00\x00\x00\x00\x00\x00\x00\x00",
31276                 .klen   = 32,
31277                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
31278                           "\x00\x00\x00\x00\x67\xc6\x69\x73"
31279                           "\x51\xff\x4a\xec\x29\xcd\xba\xab"
31280                           "\x00\x00\x00\x00\x00\x00\x00\x00",
31281                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
31282                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31283                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31284                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31285                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31286                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31287                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31288                           "\x00\x00\x00\x00\x00\x00\x00\x00",
31289                 .ctext  = "\xdf\x2d\xc6\x21\x2a\x9d\xa1\xbb"
31290                           "\xc2\x77\x66\x0c\x5c\x46\xef\xa7"
31291                           "\x79\x1b\xb9\xdf\x55\xe2\xf9\x61"
31292                           "\x4c\x7b\xa4\x52\x24\xaf\xa2\xda"
31293                           "\xd1\x8f\x8f\xa2\x9e\x53\x4d\xc4"
31294                           "\xb8\x55\x98\x08\x7c\x08\xd4\x18"
31295                           "\x67\x8f\xef\x50\xb1\x5f\xa5\x77"
31296                           "\x4c\x25\xe7\x86\x26\x42\xca\x44",
31297                 .len    = 64,
31298         }, {
31299                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
31300                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31301                           "\x00\x00\x00\x00\x00\x00\x00\x00"
31302                           "\x00\x00\x00\x00\x00\x00\x00\x01",
31303                 .klen   = 32,
31304                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
31305                           "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
31306                           "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
31307                           "\x01\x00\x00\x00\x00\x00\x00\x00",
31308                 .ptext  = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
31309                           "\x69\x73\x73\x69\x6f\x6e\x20\x74"
31310                           "\x6f\x20\x74\x68\x65\x20\x49\x45"
31311                           "\x54\x46\x20\x69\x6e\x74\x65\x6e"
31312                           "\x64\x65\x64\x20\x62\x79\x20\x74"
31313                           "\x68\x65\x20\x43\x6f\x6e\x74\x72"
31314                           "\x69\x62\x75\x74\x6f\x72\x20\x66"
31315                           "\x6f\x72\x20\x70\x75\x62\x6c\x69"
31316                           "\x63\x61\x74\x69\x6f\x6e\x20\x61"
31317                           "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
31318                           "\x20\x70\x61\x72\x74\x20\x6f\x66"
31319                           "\x20\x61\x6e\x20\x49\x45\x54\x46"
31320                           "\x20\x49\x6e\x74\x65\x72\x6e\x65"
31321                           "\x74\x2d\x44\x72\x61\x66\x74\x20"
31322                           "\x6f\x72\x20\x52\x46\x43\x20\x61"
31323                           "\x6e\x64\x20\x61\x6e\x79\x20\x73"
31324                           "\x74\x61\x74\x65\x6d\x65\x6e\x74"
31325                           "\x20\x6d\x61\x64\x65\x20\x77\x69"
31326                           "\x74\x68\x69\x6e\x20\x74\x68\x65"
31327                           "\x20\x63\x6f\x6e\x74\x65\x78\x74"
31328                           "\x20\x6f\x66\x20\x61\x6e\x20\x49"
31329                           "\x45\x54\x46\x20\x61\x63\x74\x69"
31330                           "\x76\x69\x74\x79\x20\x69\x73\x20"
31331                           "\x63\x6f\x6e\x73\x69\x64\x65\x72"
31332                           "\x65\x64\x20\x61\x6e\x20\x22\x49"
31333                           "\x45\x54\x46\x20\x43\x6f\x6e\x74"
31334                           "\x72\x69\x62\x75\x74\x69\x6f\x6e"
31335                           "\x22\x2e\x20\x53\x75\x63\x68\x20"
31336                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
31337                           "\x74\x73\x20\x69\x6e\x63\x6c\x75"
31338                           "\x64\x65\x20\x6f\x72\x61\x6c\x20"
31339                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
31340                           "\x74\x73\x20\x69\x6e\x20\x49\x45"
31341                           "\x54\x46\x20\x73\x65\x73\x73\x69"
31342                           "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
31343                           "\x77\x65\x6c\x6c\x20\x61\x73\x20"
31344                           "\x77\x72\x69\x74\x74\x65\x6e\x20"
31345                           "\x61\x6e\x64\x20\x65\x6c\x65\x63"
31346                           "\x74\x72\x6f\x6e\x69\x63\x20\x63"
31347                           "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
31348                           "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
31349                           "\x64\x65\x20\x61\x74\x20\x61\x6e"
31350                           "\x79\x20\x74\x69\x6d\x65\x20\x6f"
31351                           "\x72\x20\x70\x6c\x61\x63\x65\x2c"
31352                           "\x20\x77\x68\x69\x63\x68\x20\x61"
31353                           "\x72\x65\x20\x61\x64\x64\x72\x65"
31354                           "\x73\x73\x65\x64\x20\x74\x6f",
31355                 .ctext  = "\xe4\xa6\xc8\x30\xc4\x23\x13\xd6"
31356                           "\x08\x4d\xc9\xb7\xa5\x64\x7c\xb9"
31357                           "\x71\xe2\xab\x3e\xa8\x30\x8a\x1c"
31358                           "\x4a\x94\x6d\x9b\xe0\xb3\x6f\xf1"
31359                           "\xdc\xe3\x1b\xb3\xa9\x6d\x0d\xd6"
31360                           "\xd0\xca\x12\xef\xe7\x5f\xd8\x61"
31361                           "\x3c\x82\xd3\x99\x86\x3c\x6f\x66"
31362                           "\x02\x06\xdc\x55\xf9\xed\xdf\x38"
31363                           "\xb4\xa6\x17\x00\x7f\xef\xbf\x4f"
31364                           "\xf8\x36\xf1\x60\x7e\x47\xaf\xdb"
31365                           "\x55\x9b\x12\xcb\x56\x44\xa7\x1f"
31366                           "\xd3\x1a\x07\x3b\x00\xec\xe6\x4c"
31367                           "\xa2\x43\x27\xdf\x86\x19\x4f\x16"
31368                           "\xed\xf9\x4a\xf3\x63\x6f\xfa\x7f"
31369                           "\x78\x11\xf6\x7d\x97\x6f\xec\x6f"
31370                           "\x85\x0f\x5c\x36\x13\x8d\x87\xe0"
31371                           "\x80\xb1\x69\x0b\x98\x89\x9c\x4e"
31372                           "\xf8\xdd\xee\x5c\x0a\x85\xce\xd4"
31373                           "\xea\x1b\x48\xbe\x08\xf8\xe2\xa8"
31374                           "\xa5\xb0\x3c\x79\xb1\x15\xb4\xb9"
31375                           "\x75\x10\x95\x35\x81\x7e\x26\xe6"
31376                           "\x78\xa4\x88\xcf\xdb\x91\x34\x18"
31377                           "\xad\xd7\x8e\x07\x7d\xab\x39\xf9"
31378                           "\xa3\x9e\xa5\x1d\xbb\xed\x61\xfd"
31379                           "\xdc\xb7\x5a\x27\xfc\xb5\xc9\x10"
31380                           "\xa8\xcc\x52\x7f\x14\x76\x90\xe7"
31381                           "\x1b\x29\x60\x74\xc0\x98\x77\xbb"
31382                           "\xe0\x54\xbb\x27\x49\x59\x1e\x62"
31383                           "\x3d\xaf\x74\x06\xa4\x42\x6f\xc6"
31384                           "\x52\x97\xc4\x1d\xc4\x9f\xe2\xe5"
31385                           "\x38\x57\x91\xd1\xa2\x28\xcc\x40"
31386                           "\xcc\x70\x59\x37\xfc\x9f\x4b\xda"
31387                           "\xa0\xeb\x97\x9a\x7d\xed\x14\x5c"
31388                           "\x9c\xb7\x93\x26\x41\xa8\x66\xdd"
31389                           "\x87\x6a\xc0\xd3\xc2\xa9\x3e\xae"
31390                           "\xe9\x72\xfe\xd1\xb3\xac\x38\xea"
31391                           "\x4d\x15\xa9\xd5\x36\x61\xe9\x96"
31392                           "\x6c\x23\xf8\x43\xe4\x92\x29\xd9"
31393                           "\x8b\x78\xf7\x0a\x52\xe0\x19\x5b"
31394                           "\x59\x69\x5b\x5d\xa1\x53\xc4\x68"
31395                           "\xe1\xbb\xac\x89\x14\xe2\xe2\x85"
31396                           "\x41\x18\xf5\xb3\xd1\xfa\x68\x19"
31397                           "\x44\x78\xdc\xcf\xe7\x88\x2d\x52"
31398                           "\x5f\x40\xb5\x7e\xf8\x88\xa2\xae"
31399                           "\x4a\xb2\x07\x35\x9d\x9b\x07\x88"
31400                           "\xb7\x00\xd0\x0c\xb6\xa0\x47\x59"
31401                           "\xda\x4e\xc9\xab\x9b\x8a\x7b",
31402
31403                 .len    = 375,
31404
31405         }, {
31406                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
31407                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
31408                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
31409                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
31410                 .klen   = 32,
31411                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
31412                           "\x00\x00\x00\x02\x76\x5a\x2e\x63"
31413                           "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
31414                           "\x2a\x00\x00\x00\x00\x00\x00\x00",
31415                 .ptext  = "\x27\x54\x77\x61\x73\x20\x62\x72"
31416                           "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
31417                           "\x6e\x64\x20\x74\x68\x65\x20\x73"
31418                           "\x6c\x69\x74\x68\x79\x20\x74\x6f"
31419                           "\x76\x65\x73\x0a\x44\x69\x64\x20"
31420                           "\x67\x79\x72\x65\x20\x61\x6e\x64"
31421                           "\x20\x67\x69\x6d\x62\x6c\x65\x20"
31422                           "\x69\x6e\x20\x74\x68\x65\x20\x77"
31423                           "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
31424                           "\x20\x6d\x69\x6d\x73\x79\x20\x77"
31425                           "\x65\x72\x65\x20\x74\x68\x65\x20"
31426                           "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
31427                           "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
31428                           "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
31429                           "\x72\x61\x74\x68\x73\x20\x6f\x75"
31430                           "\x74\x67\x72\x61\x62\x65\x2e",
31431                 .ctext  = "\xb9\x68\xbc\x6a\x24\xbc\xcc\xd8"
31432                           "\x9b\x2a\x8d\x5b\x96\xaf\x56\xe3"
31433                           "\x11\x61\xe7\xa7\x9b\xce\x4e\x7d"
31434                           "\x60\x02\x48\xac\xeb\xd5\x3a\x26"
31435                           "\x9d\x77\x3b\xb5\x32\x13\x86\x8e"
31436                           "\x20\x82\x26\x72\xae\x64\x1b\x7e"
31437                           "\x2e\x01\x68\xb4\x87\x45\xa1\x24"
31438                           "\xe4\x48\x40\xf0\xaa\xac\xee\xa9"
31439                           "\xfc\x31\xad\x9d\x89\xa3\xbb\xd2"
31440                           "\xe4\x25\x13\xad\x0f\x5e\xdf\x3c"
31441                           "\x27\xab\xb8\x62\x46\x22\x30\x48"
31442                           "\x55\x2c\x4e\x84\x78\x1d\x0d\x34"
31443                           "\x8d\x3c\x91\x0a\x7f\x5b\x19\x9f"
31444                           "\x97\x05\x4c\xa7\x62\x47\x8b\xc5"
31445                           "\x44\x2e\x20\x33\xdd\xa0\x82\xa9"
31446                           "\x25\x76\x37\xe6\x3c\x67\x5b",
31447                 .len    = 127,
31448         }, {
31449                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
31450                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
31451                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
31452                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
31453                 .klen   = 32,
31454                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
31455                           "\x00\x00\x00\x01\x31\x58\xa3\x5a"
31456                           "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
31457                           "\x1c\x00\x00\x00\x00\x00\x00\x00",
31458                 .ptext  = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
31459                           "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
31460                           "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
31461                           "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
31462                           "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
31463                           "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
31464                           "\x01\xc6\x67\xda\x03\x91\x18\x90"
31465                           "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
31466                           "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
31467                           "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
31468                           "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
31469                           "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
31470                           "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
31471                           "\x33\x97\xc3\x77\xba\xc5\x70\xde"
31472                           "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
31473                           "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
31474                           "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
31475                           "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
31476                           "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
31477                           "\x79\x49\x41\xf4\x58\x18\xcb\x86"
31478                           "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
31479                           "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
31480                           "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
31481                           "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
31482                           "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
31483                           "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
31484                           "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
31485                           "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
31486                           "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
31487                           "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
31488                           "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
31489                           "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
31490                           "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
31491                           "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
31492                           "\x24\x74\x75\x7f\x95\x81\xb7\x30"
31493                           "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
31494                           "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
31495                           "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
31496                           "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
31497                           "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
31498                           "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
31499                           "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
31500                           "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
31501                           "\x49\x46\x00\x88\x22\x8d\xce\xea"
31502                           "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
31503                           "\x72\x11\xf5\x50\x73\x04\x40\x47"
31504                           "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
31505                           "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
31506                           "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
31507                           "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
31508                           "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
31509                           "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
31510                           "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
31511                           "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
31512                           "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
31513                           "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
31514                           "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
31515                           "\x8b\x10\x67\xa3\x01\x57\x94\x25"
31516                           "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
31517                           "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
31518                           "\x58\xb1\x47\x90\xfe\x42\x21\x72"
31519                           "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
31520                           "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
31521                           "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
31522                           "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
31523                           "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
31524                           "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
31525                           "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
31526                           "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
31527                           "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
31528                           "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
31529                           "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
31530                           "\x65\x69\x8a\x45\x29\xef\x74\x85"
31531                           "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
31532                           "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
31533                           "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
31534                           "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
31535                           "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
31536                           "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
31537                           "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
31538                           "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
31539                           "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
31540                           "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
31541                           "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
31542                           "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
31543                           "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
31544                           "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
31545                           "\x10\x26\x38\x07\xe5\xc7\x36\x80"
31546                           "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
31547                           "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
31548                           "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
31549                           "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
31550                           "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
31551                           "\x83\x66\x80\x47\x80\xe8\xfd\x35"
31552                           "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
31553                           "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
31554                           "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
31555                           "\x25\x94\x10\x5f\x40\x00\x64\x99"
31556                           "\xdc\xae\xd7\x21\x09\x78\x50\x15"
31557                           "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
31558                           "\x87\x6e\x6d\xab\xde\x08\x51\x16"
31559                           "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
31560                           "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
31561                           "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
31562                           "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
31563                           "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
31564                           "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
31565                           "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
31566                           "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
31567                           "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
31568                           "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
31569                           "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
31570                           "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
31571                           "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
31572                           "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
31573                           "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
31574                           "\xb9\x83\x90\xef\x20\x59\x46\xff"
31575                           "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
31576                           "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
31577                           "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
31578                           "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
31579                           "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
31580                           "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
31581                           "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
31582                           "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
31583                           "\x94\x97\xea\xdd\x58\x9e\xae\x76"
31584                           "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
31585                           "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
31586                           "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
31587                           "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
31588                           "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
31589                           "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
31590                           "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
31591                           "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
31592                           "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
31593                           "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
31594                           "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
31595                           "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
31596                           "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
31597                           "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
31598                           "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
31599                           "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
31600                           "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
31601                           "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
31602                           "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
31603                           "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
31604                           "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
31605                           "\xac\xf3\x13\x53\x27\x45\xaf\x64"
31606                           "\x46\xdc\xea\x23\xda\x97\xd1\xab"
31607                           "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
31608                           "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
31609                           "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
31610                           "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
31611                           "\xca\x34\x83\x27\x10\x5b\x68\x45"
31612                           "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
31613                           "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
31614                           "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
31615                           "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
31616                           "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
31617                           "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
31618                           "\x72",
31619                 .ctext  = "\xe1\xb6\x8b\x5c\x80\xb8\xcc\x08"
31620                           "\x1b\x84\xb2\xd1\xad\xa4\x70\xac"
31621                           "\x67\xa9\x39\x27\xac\xb4\x5b\xb7"
31622                           "\x4c\x26\x77\x23\x1d\xce\x0a\xbe"
31623                           "\x18\x9e\x42\x8b\xbd\x7f\xd6\xf1"
31624                           "\xf1\x6b\xe2\x6d\x7f\x92\x0e\xcb"
31625                           "\xb8\x79\xba\xb4\xac\x7e\x2d\xc0"
31626                           "\x9e\x83\x81\x91\xd5\xea\xc3\x12"
31627                           "\x8d\xa4\x26\x70\xa4\xf9\x71\x0b"
31628                           "\xbd\x2e\xe1\xb3\x80\x42\x25\xb3"
31629                           "\x0b\x31\x99\xe1\x0d\xde\xa6\x90"
31630                           "\xf2\xa3\x10\xf7\xe5\xf3\x83\x1e"
31631                           "\x2c\xfb\x4d\xf0\x45\x3d\x28\x3c"
31632                           "\xb8\xf1\xcb\xbf\x67\xd8\x43\x5a"
31633                           "\x9d\x7b\x73\x29\x88\x0f\x13\x06"
31634                           "\x37\x50\x0d\x7c\xe6\x9b\x07\xdd"
31635                           "\x7e\x01\x1f\x81\x90\x10\x69\xdb"
31636                           "\xa4\xad\x8a\x5e\xac\x30\x72\xf2"
31637                           "\x36\xcd\xe3\x23\x49\x02\x93\xfa"
31638                           "\x3d\xbb\xe2\x98\x83\xeb\xe9\x8d"
31639                           "\xb3\x8f\x11\xaa\x53\xdb\xaf\x2e"
31640                           "\x95\x13\x99\x3d\x71\xbd\x32\x92"
31641                           "\xdd\xfc\x9d\x5e\x6f\x63\x2c\xee"
31642                           "\x91\x1f\x4c\x64\x3d\x87\x55\x0f"
31643                           "\xcc\x3d\x89\x61\x53\x02\x57\x8f"
31644                           "\xe4\x77\x29\x32\xaf\xa6\x2f\x0a"
31645                           "\xae\x3c\x3f\x3f\xf4\xfb\x65\x52"
31646                           "\xc5\xc1\x78\x78\x53\x28\xad\xed"
31647                           "\xd1\x67\x37\xc7\x59\x70\xcd\x0a"
31648                           "\xb8\x0f\x80\x51\x9f\xc0\x12\x5e"
31649                           "\x06\x0a\x7e\xec\x24\x5f\x73\x00"
31650                           "\xb1\x0b\x31\x47\x4f\x73\x8d\xb4"
31651                           "\xce\xf3\x55\x45\x6c\x84\x27\xba"
31652                           "\xb9\x6f\x03\x4a\xeb\x98\x88\x6e"
31653                           "\x53\xed\x25\x19\x0d\x8f\xfe\xca"
31654                           "\x60\xe5\x00\x93\x6e\x3c\xff\x19"
31655                           "\xae\x08\x3b\x8a\xa6\x84\x05\xfe"
31656                           "\x9b\x59\xa0\x8c\xc8\x05\x45\xf5"
31657                           "\x05\x37\xdc\x45\x6f\x8b\x95\x8c"
31658                           "\x4e\x11\x45\x7a\xce\x21\xa5\xf7"
31659                           "\x71\x67\xb9\xce\xd7\xf9\xe9\x5e"
31660                           "\x60\xf5\x53\x7a\xa8\x85\x14\x03"
31661                           "\xa0\x92\xec\xf3\x51\x80\x84\xc4"
31662                           "\xdc\x11\x9e\x57\xce\x4b\x45\xcf"
31663                           "\x90\x95\x85\x0b\x96\xe9\xee\x35"
31664                           "\x10\xb8\x9b\xf2\x59\x4a\xc6\x7e"
31665                           "\x85\xe5\x6f\x38\x51\x93\x40\x0c"
31666                           "\x99\xd7\x7f\x32\xa8\x06\x27\xd1"
31667                           "\x2b\xd5\xb5\x3a\x1a\xe1\x5e\xda"
31668                           "\xcd\x5a\x50\x30\x3c\xc7\xe7\x65"
31669                           "\xa6\x07\x0b\x98\x91\xc6\x20\x27"
31670                           "\x2a\x03\x63\x1b\x1e\x3d\xaf\xc8"
31671                           "\x71\x48\x46\x6a\x64\x28\xf9\x3d"
31672                           "\xd1\x1d\xab\xc8\x40\x76\xc2\x39"
31673                           "\x4e\x00\x75\xd2\x0e\x82\x58\x8c"
31674                           "\xd3\x73\x5a\xea\x46\x89\xbe\xfd"
31675                           "\x4e\x2c\x0d\x94\xaa\x9b\x68\xac"
31676                           "\x86\x87\x30\x7e\xa9\x16\xcd\x59"
31677                           "\xd2\xa6\xbe\x0a\xd8\xf5\xfd\x2d"
31678                           "\x49\x69\xd2\x1a\x90\xd2\x1b\xed"
31679                           "\xff\x71\x04\x87\x87\x21\xc4\xb8"
31680                           "\x1f\x5b\x51\x33\xd0\xd6\x59\x9a"
31681                           "\x03\x0e\xd3\x8b\xfb\x57\x73\xfd"
31682                           "\x5a\x52\x63\x82\xc8\x85\x2f\xcb"
31683                           "\x74\x6d\x4e\xd9\x68\x37\x85\x6a"
31684                           "\xd4\xfb\x94\xed\x8d\xd1\x1a\xaf"
31685                           "\x76\xa7\xb7\x88\xd0\x2b\x4e\xda"
31686                           "\xec\x99\x94\x27\x6f\x87\x8c\xdf"
31687                           "\x4b\x5e\xa6\x66\xdd\xcb\x33\x7b"
31688                           "\x64\x94\x31\xa8\x37\xa6\x1d\xdb"
31689                           "\x0d\x5c\x93\xa4\x40\xf9\x30\x53"
31690                           "\x4b\x74\x8d\xdd\xf6\xde\x3c\xac"
31691                           "\x5c\x80\x01\x3a\xef\xb1\x9a\x02"
31692                           "\x0c\x22\x8e\xe7\x44\x09\x74\x4c"
31693                           "\xf2\x9a\x27\x69\x7f\x12\x32\x36"
31694                           "\xde\x92\xdf\xde\x8f\x5b\x31\xab"
31695                           "\x4a\x01\x26\xe0\xb1\xda\xe8\x37"
31696                           "\x21\x64\xe8\xff\x69\xfc\x9e\x41"
31697                           "\xd2\x96\x2d\x18\x64\x98\x33\x78"
31698                           "\x24\x61\x73\x9b\x47\x29\xf1\xa7"
31699                           "\xcb\x27\x0f\xf0\x85\x6d\x8c\x9d"
31700                           "\x2c\x95\x9e\xe5\xb2\x8e\x30\x29"
31701                           "\x78\x8a\x9d\x65\xb4\x8e\xde\x7b"
31702                           "\xd9\x00\x50\xf5\x7f\x81\xc3\x1b"
31703                           "\x25\x85\xeb\xc2\x8c\x33\x22\x1e"
31704                           "\x68\x38\x22\x30\xd8\x2e\x00\x98"
31705                           "\x85\x16\x06\x56\xb4\x81\x74\x20"
31706                           "\x95\xdb\x1c\x05\x19\xe8\x23\x4d"
31707                           "\x65\x5d\xcc\xd8\x7f\xc4\x2d\x0f"
31708                           "\x57\x26\x71\x07\xad\xaa\x71\x9f"
31709                           "\x19\x76\x2f\x25\x51\x88\xe4\xc0"
31710                           "\x82\x6e\x08\x05\x37\x04\xee\x25"
31711                           "\x23\x90\xe9\x4e\xce\x9b\x16\xc1"
31712                           "\x31\xe7\x6e\x2c\x1b\xe1\x85\x9a"
31713                           "\x0c\x8c\xbb\x12\x1e\x68\x7b\x93"
31714                           "\xa9\x3c\x39\x56\x23\x3e\x6e\xc7"
31715                           "\x77\x84\xd3\xe0\x86\x59\xaa\xb9"
31716                           "\xd5\x53\x58\xc9\x0a\x83\x5f\x85"
31717                           "\xd8\x47\x14\x67\x8a\x3c\x17\xe0"
31718                           "\xab\x02\x51\xea\xf1\xf0\x4f\x30"
31719                           "\x7d\xe0\x92\xc2\x5f\xfb\x19\x5a"
31720                           "\x3f\xbd\xf4\x39\xa4\x31\x0c\x39"
31721                           "\xd1\xae\x4e\xf7\x65\x7f\x1f\xce"
31722                           "\xc2\x39\xd1\x84\xd4\xe5\x02\xe0"
31723                           "\x58\xaa\xf1\x5e\x81\xaf\x7f\x72"
31724                           "\x0f\x08\x99\x43\xb9\xd8\xac\x41"
31725                           "\x35\x55\xf2\xb2\xd4\x98\xb8\x3b"
31726                           "\x2b\x3c\x3e\x16\x06\x31\xfc\x79"
31727                           "\x47\x38\x63\x51\xc5\xd0\x26\xd7"
31728                           "\x43\xb4\x2b\xd9\xc5\x05\xf2\x9d"
31729                           "\x18\xc9\x26\x82\x56\xd2\x11\x05"
31730                           "\xb6\x89\xb4\x43\x9c\xb5\x9d\x11"
31731                           "\x6c\x83\x37\x71\x27\x1c\xae\xbf"
31732                           "\xcd\x57\xd2\xee\x0d\x5a\x15\x26"
31733                           "\x67\x88\x80\x80\x1b\xdc\xc1\x62"
31734                           "\xdd\x4c\xff\x92\x5c\x6c\xe1\xa0"
31735                           "\xe3\x79\xa9\x65\x8c\x8c\x14\x42"
31736                           "\xe5\x11\xd2\x1a\xad\xa9\x56\x6f"
31737                           "\x98\xfc\x8a\x7b\x56\x1f\xc6\xc1"
31738                           "\x52\x12\x92\x9b\x41\x0f\x4b\xae"
31739                           "\x1b\x4a\xbc\xfe\x23\xb6\x94\x70"
31740                           "\x04\x30\x9e\x69\x47\xbe\xb8\x8f"
31741                           "\xca\x45\xd7\x8a\xf4\x78\x3e\xaa"
31742                           "\x71\x17\xd8\x1e\xb8\x11\x8f\xbc"
31743                           "\xc8\x1a\x65\x7b\x41\x89\x72\xc7"
31744                           "\x5f\xbe\xc5\x2a\xdb\x5c\x54\xf9"
31745                           "\x25\xa3\x7a\x80\x56\x9c\x8c\xab"
31746                           "\x26\x19\x10\x36\xa6\xf3\x14\x79"
31747                           "\x40\x98\x70\x68\xb7\x35\xd9\xb9"
31748                           "\x27\xd4\xe7\x74\x5b\x3d\x97\xb4"
31749                           "\xd9\xaa\xd9\xf2\xb5\x14\x84\x1f"
31750                           "\xa9\xde\x12\x44\x5b\x00\xc0\xbc"
31751                           "\xc8\x11\x25\x1b\x67\x7a\x15\x72"
31752                           "\xa6\x31\x6f\xf4\x68\x7a\x86\x9d"
31753                           "\x43\x1c\x5f\x16\xd3\xad\x2e\x52"
31754                           "\xf3\xb4\xc3\xfa\x27\x2e\x68\x6c"
31755                           "\x06\xe7\x4c\x4f\xa2\xe0\xe4\x21"
31756                           "\x5d\x9e\x33\x58\x8d\xbf\xd5\x70"
31757                           "\xf8\x80\xa5\xdd\xe7\x18\x79\xfa"
31758                           "\x7b\xfd\x09\x69\x2c\x37\x32\xa8"
31759                           "\x65\xfa\x8d\x8b\x5c\xcc\xe8\xf3"
31760                           "\x37\xf6\xa6\xc6\x5c\xa2\x66\x79"
31761                           "\xfa\x8a\xa7\xd1\x0b\x2e\x1b\x5e"
31762                           "\x95\x35\x00\x76\xae\x42\xf7\x50"
31763                           "\x51\x78\xfb\xb4\x28\x24\xde\x1a"
31764                           "\x70\x8b\xed\xca\x3c\x5e\xe4\xbd"
31765                           "\x28\xb5\xf3\x76\x4f\x67\x5d\x81"
31766                           "\xb2\x60\x87\xd9\x7b\x19\x1a\xa7"
31767                           "\x79\xa2\xfa\x3f\x9e\xa9\xd7\x25"
31768                           "\x61\xe1\x74\x31\xa2\x77\xa0\x1b"
31769                           "\xf6\xf7\xcb\xc5\xaa\x9e\xce\xf9"
31770                           "\x9b\x96\xef\x51\xc3\x1a\x44\x96"
31771                           "\xae\x17\x50\xab\x29\x08\xda\xcc"
31772                           "\x1a\xb3\x12\xd0\x24\xe4\xe2\xe0"
31773                           "\xc6\xe3\xcc\x82\xd0\xba\x47\x4c"
31774                           "\x3f\x49\xd7\xe8\xb6\x61\xaa\x65"
31775                           "\x25\x18\x40\x2d\x62\x25\x02\x71"
31776                           "\x61\xa2\xc1\xb2\x13\xd2\x71\x3f"
31777                           "\x43\x1a\xc9\x09\x92\xff\xd5\x57"
31778                           "\xf0\xfc\x5e\x1c\xf1\xf5\xf9\xf3"
31779                           "\x5b",
31780                 .len    = 1281,
31781         }, {
31782                 .key    = "\x80\x81\x82\x83\x84\x85\x86\x87"
31783                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31784                           "\x90\x91\x92\x93\x94\x95\x96\x97"
31785                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
31786                 .klen   = 32,
31787                 .iv     = "\x40\x41\x42\x43\x44\x45\x46\x47"
31788                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31789                           "\x50\x51\x52\x53\x54\x55\x56\x58"
31790                           "\x00\x00\x00\x00\x00\x00\x00\x00",
31791                 .ptext  = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
31792                           "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
31793                           "\x75\x6e\x63\x65\x64\x20\x22\x64"
31794                           "\x6f\x6c\x65\x22\x29\x20\x69\x73"
31795                           "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
31796                           "\x6f\x77\x6e\x20\x61\x73\x20\x74"
31797                           "\x68\x65\x20\x41\x73\x69\x61\x74"
31798                           "\x69\x63\x20\x77\x69\x6c\x64\x20"
31799                           "\x64\x6f\x67\x2c\x20\x72\x65\x64"
31800                           "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
31801                           "\x64\x20\x77\x68\x69\x73\x74\x6c"
31802                           "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
31803                           "\x20\x49\x74\x20\x69\x73\x20\x61"
31804                           "\x62\x6f\x75\x74\x20\x74\x68\x65"
31805                           "\x20\x73\x69\x7a\x65\x20\x6f\x66"
31806                           "\x20\x61\x20\x47\x65\x72\x6d\x61"
31807                           "\x6e\x20\x73\x68\x65\x70\x68\x65"
31808                           "\x72\x64\x20\x62\x75\x74\x20\x6c"
31809                           "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
31810                           "\x65\x20\x6c\x69\x6b\x65\x20\x61"
31811                           "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
31812                           "\x67\x67\x65\x64\x20\x66\x6f\x78"
31813                           "\x2e\x20\x54\x68\x69\x73\x20\x68"
31814                           "\x69\x67\x68\x6c\x79\x20\x65\x6c"
31815                           "\x75\x73\x69\x76\x65\x20\x61\x6e"
31816                           "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
31817                           "\x64\x20\x6a\x75\x6d\x70\x65\x72"
31818                           "\x20\x69\x73\x20\x63\x6c\x61\x73"
31819                           "\x73\x69\x66\x69\x65\x64\x20\x77"
31820                           "\x69\x74\x68\x20\x77\x6f\x6c\x76"
31821                           "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
31822                           "\x74\x65\x73\x2c\x20\x6a\x61\x63"
31823                           "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
31824                           "\x64\x20\x66\x6f\x78\x65\x73\x20"
31825                           "\x69\x6e\x20\x74\x68\x65\x20\x74"
31826                           "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
31827                           "\x20\x66\x61\x6d\x69\x6c\x79\x20"
31828                           "\x43\x61\x6e\x69\x64\x61\x65\x2e",
31829                 .ctext  = "\x9f\x1a\xab\x8a\x95\xf4\x7e\xcd"
31830                           "\xee\x34\xc0\x39\xd6\x23\x43\x94"
31831                           "\xf6\x01\xc1\x7f\x60\x91\xa5\x23"
31832                           "\x4a\x8a\xe6\xb1\x14\x8b\xd7\x58"
31833                           "\xee\x02\xad\xab\xce\x1e\x7d\xdf"
31834                           "\xf9\x49\x27\x69\xd0\x8d\x0c\x20"
31835                           "\x6e\x17\xc4\xae\x87\x7a\xc6\x61"
31836                           "\x91\xe2\x8e\x0a\x1d\x61\xcc\x38"
31837                           "\x02\x64\x43\x49\xc6\xb2\x59\x59"
31838                           "\x42\xe7\x9d\x83\x00\x60\x90\xd2"
31839                           "\xb9\xcd\x97\x6e\xc7\x95\x71\xbc"
31840                           "\x23\x31\x58\x07\xb3\xb4\xac\x0b"
31841                           "\x87\x64\x56\xe5\xe3\xec\x63\xa1"
31842                           "\x71\x8c\x08\x48\x33\x20\x29\x81"
31843                           "\xea\x01\x25\x20\xc3\xda\xe6\xee"
31844                           "\x6a\x03\xf6\x68\x4d\x26\xa0\x91"
31845                           "\x9e\x44\xb8\xc1\xc0\x8f\x5a\x6a"
31846                           "\xc0\xcd\xbf\x24\x5e\x40\x66\xd2"
31847                           "\x42\x24\xb5\xbf\xc1\xeb\x12\x60"
31848                           "\x56\xbe\xb1\xa6\xc4\x0f\xfc\x49"
31849                           "\x69\x9f\xcc\x06\x5c\xe3\x26\xd7"
31850                           "\x52\xc0\x42\xe8\xb4\x76\xc3\xee"
31851                           "\xb2\x97\xe3\x37\x61\x29\x5a\xb5"
31852                           "\x8e\xe8\x8c\xc5\x38\xcc\xcb\xec"
31853                           "\x64\x1a\xa9\x12\x5f\xf7\x79\xdf"
31854                           "\x64\xca\x77\x4e\xbd\xf9\x83\xa0"
31855                           "\x13\x27\x3f\x31\x03\x63\x30\x26"
31856                           "\x27\x0b\x3e\xb3\x23\x13\x61\x0b"
31857                           "\x70\x1d\xd4\xad\x85\x1e\xbf\xdf"
31858                           "\xc6\x8e\x4d\x08\xcc\x7e\x77\xbd"
31859                           "\x1e\x18\x77\x38\x3a\xfe\xc0\x5d"
31860                           "\x16\xfc\xf0\xa9\x2f\xe9\x17\xc7"
31861                           "\xd3\x23\x17\x18\xa3\xe6\x54\x77"
31862                           "\x6f\x1b\xbe\x8a\x6e\x7e\xca\x97"
31863                           "\x08\x05\x36\x76\xaf\x12\x7a\x42"
31864                           "\xf7\x7a\xc2\x35\xc3\xb4\x93\x40"
31865                           "\x54\x14\x90\xa0\x4d\x65\x1c\x37"
31866                           "\x50\x70\x44\x29\x6d\x6e\x62\x68",
31867                 .len    = 304,
31868         }
31869 };
31870
31871 /* Adiantum test vectors from https://github.com/google/adiantum */
31872 static const struct cipher_testvec adiantum_xchacha12_aes_tv_template[] = {
31873         {
31874                 .key    = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
31875                           "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
31876                           "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
31877                           "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
31878                 .klen   = 32,
31879                 .iv     = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
31880                           "\x33\x81\x37\x60\x7d\xfa\x73\x08"
31881                           "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
31882                           "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
31883                 .ptext  = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
31884                           "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
31885                 .ctext  = "\x6d\x32\x86\x18\x67\x86\x0f\x3f"
31886                           "\x96\x7c\x9d\x28\x0d\x53\xec\x9f",
31887                 .len    = 16,
31888         }, {
31889                 .key    = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
31890                           "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
31891                           "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
31892                           "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
31893                 .klen   = 32,
31894                 .iv     = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
31895                           "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
31896                           "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
31897                           "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
31898                 .ptext  = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
31899                           "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
31900                           "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
31901                           "\x43\x5a\x46\x06\x94\x2d\xf2",
31902                 .ctext  = "\xc7\xc6\xf1\x73\x8f\xc4\xff\x4a"
31903                           "\x39\xbe\x78\xbe\x8d\x28\xc8\x89"
31904                           "\x46\x63\xe7\x0c\x7d\x87\xe8\x4e"
31905                           "\xc9\x18\x7b\xbe\x18\x60\x50",
31906                 .len    = 31,
31907         }, {
31908                 .key    = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
31909                           "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
31910                           "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
31911                           "\x19\x09\x00\xa9\x04\x31\x4f\x11",
31912                 .klen   = 32,
31913                 .iv     = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
31914                           "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
31915                           "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
31916                           "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
31917                 .ptext  = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
31918                           "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
31919                           "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
31920                           "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
31921                           "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
31922                           "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
31923                           "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
31924                           "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
31925                           "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
31926                           "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
31927                           "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
31928                           "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
31929                           "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
31930                           "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
31931                           "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
31932                           "\x56\x65\xc5\x54\x23\x28\xb0\x03",
31933                 .ctext  = "\x9e\x16\xab\xed\x4b\xa7\x42\x5a"
31934                           "\xc6\xfb\x4e\x76\xff\xbe\x03\xa0"
31935                           "\x0f\xe3\xad\xba\xe4\x98\x2b\x0e"
31936                           "\x21\x48\xa0\xb8\x65\x48\x27\x48"
31937                           "\x84\x54\x54\xb2\x9a\x94\x7b\xe6"
31938                           "\x4b\x29\xe9\xcf\x05\x91\x80\x1a"
31939                           "\x3a\xf3\x41\x96\x85\x1d\x9f\x74"
31940                           "\x51\x56\x63\xfa\x7c\x28\x85\x49"
31941                           "\xf7\x2f\xf9\xf2\x18\x46\xf5\x33"
31942                           "\x80\xa3\x3c\xce\xb2\x57\x93\xf5"
31943                           "\xae\xbd\xa9\xf5\x7b\x30\xc4\x93"
31944                           "\x66\xe0\x30\x77\x16\xe4\xa0\x31"
31945                           "\xba\x70\xbc\x68\x13\xf5\xb0\x9a"
31946                           "\xc1\xfc\x7e\xfe\x55\x80\x5c\x48"
31947                           "\x74\xa6\xaa\xa3\xac\xdc\xc2\xf5"
31948                           "\x8d\xde\x34\x86\x78\x60\x75\x8d",
31949                 .len    = 128,
31950         }, {
31951                 .key    = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
31952                           "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
31953                           "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
31954                           "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
31955                 .klen   = 32,
31956                 .iv     = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
31957                           "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
31958                           "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
31959                           "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
31960                 .ptext  = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
31961                           "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
31962                           "\x05\xa3\x69\x60\x91\x36\x98\x57"
31963                           "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
31964                           "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
31965                           "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
31966                           "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
31967                           "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
31968                           "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
31969                           "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
31970                           "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
31971                           "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
31972                           "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
31973                           "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
31974                           "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
31975                           "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
31976                           "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
31977                           "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
31978                           "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
31979                           "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
31980                           "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
31981                           "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
31982                           "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
31983                           "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
31984                           "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
31985                           "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
31986                           "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
31987                           "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
31988                           "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
31989                           "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
31990                           "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
31991                           "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
31992                           "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
31993                           "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
31994                           "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
31995                           "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
31996                           "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
31997                           "\xd7\x31\x87\x89\x09\xab\xd5\x96"
31998                           "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
31999                           "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
32000                           "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
32001                           "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
32002                           "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
32003                           "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
32004                           "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
32005                           "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
32006                           "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
32007                           "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
32008                           "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
32009                           "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
32010                           "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
32011                           "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
32012                           "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
32013                           "\x17\x7c\x25\x48\x52\x67\x11\x27"
32014                           "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
32015                           "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
32016                           "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
32017                           "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
32018                           "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
32019                           "\x79\x50\x33\xca\xd0\xd7\x42\x55"
32020                           "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
32021                           "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
32022                           "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
32023                           "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
32024                 .ctext  = "\x15\x97\xd0\x86\x18\x03\x9c\x51"
32025                           "\xc5\x11\x36\x62\x13\x92\xe6\x73"
32026                           "\x29\x79\xde\xa1\x00\x3e\x08\x64"
32027                           "\x17\x1a\xbc\xd5\xfe\x33\x0e\x0c"
32028                           "\x7c\x94\xa7\xc6\x3c\xbe\xac\xa2"
32029                           "\x89\xe6\xbc\xdf\x0c\x33\x27\x42"
32030                           "\x46\x73\x2f\xba\x4e\xa6\x46\x8f"
32031                           "\xe4\xee\x39\x63\x42\x65\xa3\x88"
32032                           "\x7a\xad\x33\x23\xa9\xa7\x20\x7f"
32033                           "\x0b\xe6\x6a\xc3\x60\xda\x9e\xb4"
32034                           "\xd6\x07\x8a\x77\x26\xd1\xab\x44"
32035                           "\x99\x55\x03\x5e\xed\x8d\x7b\xbd"
32036                           "\xc8\x21\xb7\x21\x30\x3f\xc0\xb5"
32037                           "\xc8\xec\x6c\x23\xa6\xa3\x6d\xf1"
32038                           "\x30\x0a\xd0\xa6\xa9\x28\x69\xae"
32039                           "\x2a\xe6\x54\xac\x82\x9d\x6a\x95"
32040                           "\x6f\x06\x44\xc5\x5a\x77\x6e\xec"
32041                           "\xf8\xf8\x63\xb2\xe6\xaa\xbd\x8e"
32042                           "\x0e\x8a\x62\x00\x03\xc8\x84\xdd"
32043                           "\x47\x4a\xc3\x55\xba\xb7\xe7\xdf"
32044                           "\x08\xbf\x62\xf5\xe8\xbc\xb6\x11"
32045                           "\xe4\xcb\xd0\x66\x74\x32\xcf\xd4"
32046                           "\xf8\x51\x80\x39\x14\x05\x12\xdb"
32047                           "\x87\x93\xe2\x26\x30\x9c\x3a\x21"
32048                           "\xe5\xd0\x38\x57\x80\x15\xe4\x08"
32049                           "\x58\x05\x49\x7d\xe6\x92\x77\x70"
32050                           "\xfb\x1e\x2d\x6a\x84\x00\xc8\x68"
32051                           "\xf7\x1a\xdd\xf0\x7b\x38\x1e\xd8"
32052                           "\x2c\x78\x78\x61\xcf\xe3\xde\x69"
32053                           "\x1f\xd5\x03\xd5\x1a\xb4\xcf\x03"
32054                           "\xc8\x7a\x70\x68\x35\xb4\xf6\xbe"
32055                           "\x90\x62\xb2\x28\x99\x86\xf5\x44"
32056                           "\x99\xeb\x31\xcf\xca\xdf\xd0\x21"
32057                           "\xd6\x60\xf7\x0f\x40\xb4\x80\xb7"
32058                           "\xab\xe1\x9b\x45\xba\x66\xda\xee"
32059                           "\xdd\x04\x12\x40\x98\xe1\x69\xe5"
32060                           "\x2b\x9c\x59\x80\xe7\x7b\xcc\x63"
32061                           "\xa6\xc0\x3a\xa9\xfe\x8a\xf9\x62"
32062                           "\x11\x34\x61\x94\x35\xfe\xf2\x99"
32063                           "\xfd\xee\x19\xea\x95\xb6\x12\xbf"
32064                           "\x1b\xdf\x02\x1a\xcc\x3e\x7e\x65"
32065                           "\x78\x74\x10\x50\x29\x63\x28\xea"
32066                           "\x6b\xab\xd4\x06\x4d\x15\x24\x31"
32067                           "\xc7\x0a\xc9\x16\xb6\x48\xf0\xbf"
32068                           "\x49\xdb\x68\x71\x31\x8f\x87\xe2"
32069                           "\x13\x05\x64\xd6\x22\x0c\xf8\x36"
32070                           "\x84\x24\x3e\x69\x5e\xb8\x9e\x16"
32071                           "\x73\x6c\x83\x1e\xe0\x9f\x9e\xba"
32072                           "\xe5\x59\x21\x33\x1b\xa9\x26\xc2"
32073                           "\xc7\xd9\x30\x73\xb6\xa6\x73\x82"
32074                           "\x19\xfa\x44\x4d\x40\x8b\x69\x04"
32075                           "\x94\x74\xea\x6e\xb3\x09\x47\x01"
32076                           "\x2a\xb9\x78\x34\x43\x11\xed\xd6"
32077                           "\x8c\x95\x65\x1b\x85\x67\xa5\x40"
32078                           "\xac\x9c\x05\x4b\x57\x4a\xa9\x96"
32079                           "\x0f\xdd\x4f\xa1\xe0\xcf\x6e\xc7"
32080                           "\x1b\xed\xa2\xb4\x56\x8c\x09\x6e"
32081                           "\xa6\x65\xd7\x55\x81\xb7\xed\x11"
32082                           "\x9b\x40\x75\xa8\x6b\x56\xaf\x16"
32083                           "\x8b\x3d\xf4\xcb\xfe\xd5\x1d\x3d"
32084                           "\x85\xc2\xc0\xde\x43\x39\x4a\x96"
32085                           "\xba\x88\x97\xc0\xd6\x00\x0e\x27"
32086                           "\x21\xb0\x21\x52\xba\xa7\x37\xaa"
32087                           "\xcc\xbf\x95\xa8\xf4\xd0\x91\xf6",
32088                 .len    = 512,
32089         }, {
32090                 .key    = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
32091                           "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
32092                           "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
32093                           "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
32094                 .klen   = 32,
32095                 .iv     = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
32096                           "\x88\x76\x65\xb4\x1a\x29\x27\x12"
32097                           "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
32098                           "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
32099                 .ptext  = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
32100                           "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
32101                           "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
32102                           "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
32103                           "\x38\x24\x62\xdb\x65\x82\x10\x7f"
32104                           "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
32105                           "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
32106                           "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
32107                           "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
32108                           "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
32109                           "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
32110                           "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
32111                           "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
32112                           "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
32113                           "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
32114                           "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
32115                           "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
32116                           "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
32117                           "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
32118                           "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
32119                           "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
32120                           "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
32121                           "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
32122                           "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
32123                           "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
32124                           "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
32125                           "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
32126                           "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
32127                           "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
32128                           "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
32129                           "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
32130                           "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
32131                           "\x28\x04\x4c\xff\x98\x20\x08\x10"
32132                           "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
32133                           "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
32134                           "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
32135                           "\x24\x62\xcf\x17\x36\x84\xc0\x72"
32136                           "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
32137                           "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
32138                           "\x71\x73\x08\x4e\x22\x31\xfd\x88"
32139                           "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
32140                           "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
32141                           "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
32142                           "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
32143                           "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
32144                           "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
32145                           "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
32146                           "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
32147                           "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
32148                           "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
32149                           "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
32150                           "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
32151                           "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
32152                           "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
32153                           "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
32154                           "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
32155                           "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
32156                           "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
32157                           "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
32158                           "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
32159                           "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
32160                           "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
32161                           "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
32162                           "\x85\x12\xca\x61\x65\xd1\x66\xd8"
32163                           "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
32164                           "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
32165                           "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
32166                           "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
32167                           "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
32168                           "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
32169                           "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
32170                           "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
32171                           "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
32172                           "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
32173                           "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
32174                           "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
32175                           "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
32176                           "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
32177                           "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
32178                           "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
32179                           "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
32180                           "\x16\xcb\xae\x7d\x38\x21\x67\x74"
32181                           "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
32182                           "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
32183                           "\xa8\x88\x27\x86\x44\x75\x5b\x29"
32184                           "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
32185                           "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
32186                           "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
32187                           "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
32188                           "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
32189                           "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
32190                           "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
32191                           "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
32192                           "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
32193                           "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
32194                           "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
32195                           "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
32196                           "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
32197                           "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
32198                           "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
32199                           "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
32200                           "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
32201                           "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
32202                           "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
32203                           "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
32204                           "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
32205                           "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
32206                           "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
32207                           "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
32208                           "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
32209                           "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
32210                           "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
32211                           "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
32212                           "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
32213                           "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
32214                           "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
32215                           "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
32216                           "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
32217                           "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
32218                           "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
32219                           "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
32220                           "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
32221                           "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
32222                           "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
32223                           "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
32224                           "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
32225                           "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
32226                           "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
32227                           "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
32228                           "\x55\x9a\xe0\x09\x21\xac\x61\x85"
32229                           "\x4b\x20\x95\x73\x63\x26\xe3\x83"
32230                           "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
32231                           "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
32232                           "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
32233                           "\x98\x09\x11\xb7\x00\x06\x24\x5a"
32234                           "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
32235                           "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
32236                           "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
32237                           "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
32238                           "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
32239                           "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
32240                           "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
32241                           "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
32242                           "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
32243                           "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
32244                           "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
32245                           "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
32246                           "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
32247                           "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
32248                           "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
32249                           "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
32250                           "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
32251                           "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
32252                           "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
32253                           "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
32254                           "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
32255                           "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
32256                           "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
32257                           "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
32258                           "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
32259                           "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
32260                           "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
32261                           "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
32262                           "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
32263                           "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
32264                           "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
32265                           "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
32266                           "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
32267                           "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
32268                           "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
32269                           "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
32270                           "\x62\x96\x79\x0c\x81\x05\x41\xf2"
32271                           "\x07\x20\x26\xe5\x8e\x10\x54\x03"
32272                           "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
32273                           "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
32274                           "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
32275                           "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
32276                           "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
32277                           "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
32278                           "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
32279                           "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
32280                           "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
32281                           "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
32282                           "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
32283                           "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
32284                           "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
32285                           "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
32286                           "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
32287                           "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
32288                           "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
32289                           "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
32290                           "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
32291                 .ctext  = "\xcb\x78\x87\x9c\xc7\x13\xc1\x30"
32292                           "\xdd\x2c\x7d\xb2\x97\xab\x06\x69"
32293                           "\x47\x87\x8a\x12\x2b\x5d\x86\xd7"
32294                           "\x2e\xe6\x7a\x0d\x58\x5d\xe7\x01"
32295                           "\x78\x0e\xff\xc7\xc5\xd2\x94\xd6"
32296                           "\xdd\x6b\x38\x1f\xa4\xe3\x3d\xe7"
32297                           "\xc5\x8a\xb5\xbe\x65\x11\x2b\xe1"
32298                           "\x2b\x8e\x84\xe8\xe0\x00\x7f\xdd"
32299                           "\x15\x15\xab\xbd\x22\x94\xf7\xce"
32300                           "\x99\x6f\xfd\x0e\x9b\x16\xeb\xeb"
32301                           "\x24\xc7\xbb\xc6\xe1\x6c\x57\xba"
32302                           "\x84\xab\x16\xf2\x57\xd6\x42\x9d"
32303                           "\x56\x92\x5b\x44\x18\xd4\xa2\x1b"
32304                           "\x1e\xa9\xdc\x7a\x16\x88\xc4\x4f"
32305                           "\x6d\x77\x9a\x2e\x82\xa9\xc3\xee"
32306                           "\xa4\xca\x05\x1b\x0e\xdc\x48\x96"
32307                           "\xd0\x50\x21\x1f\x46\xc7\xc7\x70"
32308                           "\x53\xcd\x1e\x4e\x5f\x2d\x4b\xb2"
32309                           "\x86\xe5\x3a\xe6\x1d\xec\x7b\x9d"
32310                           "\x8f\xd6\x41\xc6\xbb\x00\x4f\xe6"
32311                           "\x02\x47\x07\x73\x50\x6b\xcf\xb2"
32312                           "\x9e\x1c\x01\xc9\x09\xcc\xc3\x52"
32313                           "\x27\xe6\x63\xe0\x5b\x55\x60\x4d"
32314                           "\x72\xd0\xda\x4b\xec\xcb\x72\x5d"
32315                           "\x37\x4a\xf5\xb8\xd9\xe2\x08\x10"
32316                           "\xf3\xb9\xdc\x07\xc0\x02\x10\x14"
32317                           "\x9f\xe6\x8f\xc4\xc4\xe1\x39\x7b"
32318                           "\x47\xea\xae\x7c\xdd\x27\xa8\x4c"
32319                           "\x6b\x0f\x4c\xf8\xff\x16\x4e\xcb"
32320                           "\xec\x88\x33\x0d\x15\x10\x82\x66"
32321                           "\xa7\x3d\x2c\xb6\xbc\x2e\xe4\xce"
32322                           "\x4c\x2f\x4b\x46\x0f\x67\x78\xa5"
32323                           "\xff\x6a\x7d\x0d\x5e\x6d\xab\xfb"
32324                           "\x59\x99\xd8\x1f\x30\xd4\x33\xe8"
32325                           "\x7d\x11\xae\xe3\xba\xd0\x3f\xa7"
32326                           "\xa5\x5e\x43\xda\xf3\x0f\x3a\x5f"
32327                           "\xba\xb0\x47\xb2\x08\x60\xf4\xed"
32328                           "\x35\x23\x0c\xe9\x4f\x81\xc4\xc5"
32329                           "\xa8\x35\xdc\x99\x52\x33\x19\xd4"
32330                           "\x00\x01\x8d\x5a\x10\x82\x39\x78"
32331                           "\xfc\x72\x24\x63\x4a\x38\xc5\x6f"
32332                           "\xfe\xec\x2f\x26\x0c\x3c\x1c\xf6"
32333                           "\x4d\x99\x7a\x77\x59\xfe\x10\xa5"
32334                           "\xa1\x35\xbf\x2f\x15\xfa\x4e\x52"
32335                           "\xe6\xd5\x1c\x88\x90\x75\xd5\xcc"
32336                           "\xdb\x2a\xb1\xf0\x70\x54\x89\xc7"
32337                           "\xeb\x1d\x6e\x61\x45\xa3\x50\x48"
32338                           "\xcd\xdb\x32\xba\x7f\x6b\xaf\xef"
32339                           "\x50\xcb\x0d\x36\xf7\x29\x3a\x10"
32340                           "\x02\x73\xca\x8f\x3f\x5d\x82\x17"
32341                           "\x91\x9a\xd8\x15\x15\xe3\xe1\x41"
32342                           "\x43\xef\x85\xa6\xb0\xc7\x3b\x0f"
32343                           "\xf0\xa5\xaa\x66\x77\x70\x5e\x70"
32344                           "\xce\x17\x84\x68\x45\x39\x2c\x25"
32345                           "\xc6\xc1\x5f\x7e\xe8\xfa\xe4\x3a"
32346                           "\x47\x51\x7b\x9d\x54\x84\x98\x04"
32347                           "\x5f\xf7\x5f\x3c\x34\xe7\xa3\x1d"
32348                           "\xea\xb7\x6d\x05\xab\x28\xe4\x2c"
32349                           "\xb1\x7f\x08\xa8\x5d\x07\xbf\xfe"
32350                           "\x39\x72\x44\x87\x51\xc5\x73\xe4"
32351                           "\x9a\x5f\xdd\x46\xbc\x4e\xb1\x39"
32352                           "\xe4\x78\xb8\xbf\xdc\x5b\x88\x9b"
32353                           "\xc1\x3f\xd9\xd0\xb3\x5a\xdf\xaa"
32354                           "\x53\x6a\x91\x6d\x2a\x09\xf0\x0b"
32355                           "\x5e\xe8\xb2\xa0\xb4\x73\x07\x1d"
32356                           "\xc8\x33\x84\xe6\xda\xe6\xad\xd6"
32357                           "\xad\x91\x01\x4e\x14\x42\x34\x2c"
32358                           "\xe5\xf9\x99\x21\x56\x1f\x6c\x2b"
32359                           "\x4c\xe3\xd5\x9e\x04\xdc\x9a\x16"
32360                           "\xd1\x54\xe9\xc2\xf7\xc0\xd5\x06"
32361                           "\x2f\xa1\x38\x2a\x55\x88\x23\xf8"
32362                           "\xb0\xdb\x87\x32\xc9\x4e\xb0\x0c"
32363                           "\xc5\x05\x78\x58\xa1\x2e\x75\x75"
32364                           "\x68\xdc\xea\xdd\x0c\x33\x16\x5e"
32365                           "\xe7\xdc\xfd\x42\x74\xbe\xae\x60"
32366                           "\x3c\x37\x4b\x27\xf5\x2c\x5f\x55"
32367                           "\x4a\x0b\x64\xfd\xa2\x01\x65\x9c"
32368                           "\x27\x9f\x5e\x87\xd5\x95\x88\x66"
32369                           "\x09\x84\x42\xab\x00\xe2\x58\xc3"
32370                           "\x97\x45\xf1\x93\xe2\x34\x37\x3d"
32371                           "\xfe\x93\x8c\x17\xb9\x79\x65\x06"
32372                           "\xf7\x58\xe5\x1b\x3b\x4e\xda\x36"
32373                           "\x17\xe3\x56\xec\x26\x0f\x2e\xfa"
32374                           "\xd1\xb9\x2b\x3e\x7f\x1d\xe3\x4b"
32375                           "\x67\xdf\x43\x53\x10\xba\xa3\xfb"
32376                           "\x5d\x5a\xd8\xc4\xab\x19\x7e\x12"
32377                           "\xaa\x83\xf1\xc0\xa1\xe0\xbf\x72"
32378                           "\x5f\xe8\x68\x39\xef\x1a\xbe\xee"
32379                           "\x6f\x47\x79\x19\xed\xf2\xa1\x4a"
32380                           "\xe5\xfc\xb5\x58\xae\x63\x82\xcb"
32381                           "\x16\x0b\x94\xbb\x3e\x02\x49\xc4"
32382                           "\x3c\x33\xf1\xec\x1b\x11\x71\x9b"
32383                           "\x5b\x80\xf1\x6f\x88\x1c\x05\x36"
32384                           "\xa8\xd8\xee\x44\xb5\x18\xc3\x14"
32385                           "\x62\xba\x98\xb9\xc0\x2a\x70\x93"
32386                           "\xb3\xd8\x11\x69\x95\x1d\x43\x7b"
32387                           "\x39\xc1\x91\x05\xc4\xe3\x1e\xc2"
32388                           "\x1e\x5d\xe7\xde\xbe\xfd\xae\x99"
32389                           "\x4b\x8f\x83\x1e\xf4\x9b\xb0\x2b"
32390                           "\x66\x6e\x62\x24\x8d\xe0\x1b\x22"
32391                           "\x59\xeb\xbd\x2a\x6b\x2e\x37\x17"
32392                           "\x9e\x1f\x66\xcb\x66\xb4\xfb\x2c"
32393                           "\x36\x22\x5d\x73\x56\xc1\xb0\x27"
32394                           "\xe0\xf0\x1b\xe4\x47\x8b\xc6\xdc"
32395                           "\x7c\x0c\x3d\x29\xcb\x33\x10\xfe"
32396                           "\xc3\xc3\x1e\xff\x4c\x9b\x27\x86"
32397                           "\xe2\xb0\xaf\xb7\x89\xce\x61\x69"
32398                           "\xe7\x00\x3e\x92\xea\x5f\x9e\xc1"
32399                           "\xfa\x6b\x20\xe2\x41\x23\x82\xeb"
32400                           "\x07\x76\x4c\x4c\x2a\x96\x33\xbe"
32401                           "\x89\xa9\xa8\xb9\x9a\x7d\x27\x18"
32402                           "\x48\x23\x70\x46\xf3\x87\xa7\x91"
32403                           "\x58\xb8\x74\xba\xed\xc6\xb2\xa1"
32404                           "\x4d\xb6\x43\x9a\xe1\xa2\x41\xa5"
32405                           "\x35\xd3\x90\x8a\xc7\x4d\xb7\x88"
32406                           "\x0b\xe3\x74\x9f\x84\xfc\xd9\x73"
32407                           "\xf2\x86\x0c\xad\xeb\x5d\x70\xac"
32408                           "\x65\x07\x14\x8e\x57\xf6\xdc\xb4"
32409                           "\xc2\x02\x7c\xd6\x89\xe2\x8a\x3e"
32410                           "\x8e\x08\x3c\x12\x37\xaf\xe1\xa8"
32411                           "\x04\x11\x5c\xae\x5a\x2b\x60\xa0"
32412                           "\x03\x3c\x7a\xa2\x38\x92\xbe\xce"
32413                           "\x09\xa2\x5e\x0f\xc2\xb2\xb5\x06"
32414                           "\xc2\x97\x97\x9b\x09\x2f\x04\xfe"
32415                           "\x2c\xe7\xa3\xc4\x42\xe9\xa3\x40"
32416                           "\xa5\x52\x07\x2c\x3b\x89\x1a\xa5"
32417                           "\x28\xb1\x93\x05\x98\x0c\x2f\x3d"
32418                           "\xc6\xf5\x83\xac\x24\x1d\x28\x9f"
32419                           "\x32\x66\x4d\x70\xb7\xe0\xab\xb8"
32420                           "\x75\xc5\xf3\xd2\x7b\x26\x3e\xec"
32421                           "\x64\xe6\xf7\x70\xe7\xf8\x10\x8e"
32422                           "\x67\xd2\xb3\x87\x69\x40\x06\x9a"
32423                           "\x2f\x6a\x1a\xfd\x62\x0c\xee\x31"
32424                           "\x2e\xbe\x58\x97\x77\xd1\x09\x08"
32425                           "\x1f\x8d\x42\x29\x34\xd5\xd8\xb5"
32426                           "\x1f\xd7\x21\x18\xe3\xe7\x2e\x4a"
32427                           "\x42\xfc\xdb\x19\xe9\xee\xb9\x22"
32428                           "\xad\x5c\x07\xe9\xc8\x07\xe5\xe9"
32429                           "\x95\xa2\x0d\x30\x46\xe2\x65\x51"
32430                           "\x01\xa5\x74\x85\xe2\x52\x6e\x07"
32431                           "\xc9\xf5\x33\x09\xde\x78\x62\xa9"
32432                           "\x30\x2a\xd3\x86\xe5\x46\x2e\x60"
32433                           "\xff\x74\xb0\x5f\xec\x76\xb7\xd1"
32434                           "\x5e\x4d\x61\x97\x3c\x9c\x99\xc3"
32435                           "\x41\x65\x21\x47\xf9\xb1\x06\xec"
32436                           "\x18\xf8\x3f\xc7\x38\xfa\x7b\x14"
32437                           "\x62\x79\x6a\x0b\x0c\xf5\x2c\xb7"
32438                           "\xab\xcf\x63\x49\x6d\x1f\x46\xa8"
32439                           "\xbc\x7d\x42\x53\x75\x6b\xca\x38"
32440                           "\xac\x8b\xe7\xa1\xa1\x92\x19\x6b"
32441                           "\x0d\x75\x80\x5b\x7d\x35\x86\x70"
32442                           "\x12\x6b\xe5\x3e\xe5\x85\xa0\xa4"
32443                           "\xd6\x77\x5e\x4d\x24\x57\x84\xa9"
32444                           "\xe5\xa4\xbf\x25\xfb\x36\x65\x3b"
32445                           "\x81\x39\x61\xec\x5e\x4a\x7e\x10"
32446                           "\x58\x19\x13\x5c\x0f\x79\xec\xcf"
32447                           "\xbb\x5f\x69\x21\xc3\xa7\x5a\xff"
32448                           "\x3b\xc7\x85\x9b\x47\xbc\x3e\xad"
32449                           "\xbf\x54\x60\xb6\x5b\x3f\xfc\x50"
32450                           "\x68\x83\x76\x24\xb0\xc3\x3f\x93"
32451                           "\x0d\xce\x36\x0a\x58\x9d\xcc\xe9"
32452                           "\x52\xbb\xd0\x0b\x65\xe5\x0f\x62"
32453                           "\x82\x16\xaa\xd2\xba\x5a\x4c\xd0"
32454                           "\x67\xb5\x4e\x84\x1c\x02\x6e\xa3"
32455                           "\xaa\x22\x54\x96\xc8\xd9\x9c\x58"
32456                           "\x15\x63\xf4\x98\x1a\xa1\xd9\x11"
32457                           "\x64\x25\x56\xb5\x03\x8e\x29\x85"
32458                           "\x75\x88\xd1\xd2\xe4\xe6\x27\x48"
32459                           "\x13\x9c\x2b\xaa\xfb\xd3\x6e\x2c"
32460                           "\xe6\xd4\xe4\x8b\xd9\xf7\x01\x16"
32461                           "\x46\xf9\x5c\x88\x7a\x93\x9e\x2d"
32462                           "\xa6\xeb\x01\x2a\x72\xe4\x7f\xb4"
32463                           "\x78\x0c\x50\x18\xd3\x8e\x65\xa7"
32464                           "\x1b\xf9\x28\x5d\x89\x70\x96\x2f"
32465                           "\xa1\xc2\x9b\x34\xfc\x7c\x27\x63"
32466                           "\x93\xe6\xe3\xa4\x9d\x17\x97\x7e"
32467                           "\x13\x79\x9c\x4b\x2c\x23\x91\x2c"
32468                           "\x4f\xb1\x1d\x4b\xb4\x61\x6e\xe8"
32469                           "\x32\x35\xc3\x41\x7a\x50\x60\xc8"
32470                           "\x3e\xd8\x3f\x38\xfc\xc2\xa2\xe0"
32471                           "\x3a\x21\x25\x8f\xc2\x22\xed\x04"
32472                           "\x31\xb8\x72\x69\xaf\x6c\x6d\xab"
32473                           "\x25\x16\x95\x87\x92\xc7\x46\x3f"
32474                           "\x47\x05\x6c\xad\xa0\xa6\x1d\xf0"
32475                           "\x66\x2e\x01\x1a\xc3\xbe\xe4\xf6"
32476                           "\x51\xec\xa3\x95\x81\xe1\xcc\xab"
32477                           "\xc1\x71\x65\x0a\xe6\x53\xfb\xb8"
32478                           "\x53\x69\xad\x8b\xab\x8b\xa7\xcd"
32479                           "\x8f\x15\x01\x25\xb1\x1f\x9c\x3b"
32480                           "\x9b\x47\xad\x38\x38\x89\x6b\x1c"
32481                           "\x8a\x33\xdd\x8a\x06\x23\x06\x0b"
32482                           "\x7f\x70\xbe\x7e\xa1\x80\xbc\x7a",
32483                 .len    = 1536,
32484         }, {
32485                 .key    = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
32486                           "\x70\x47\x8c\xea\x87\x30\x1d\x58"
32487                           "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
32488                           "\x56\x95\x83\x98\x38\x80\x84\x8a",
32489                 .klen   = 32,
32490                 .iv     = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
32491                           "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
32492                           "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
32493                           "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
32494                 .ptext  = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
32495                           "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
32496                           "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
32497                           "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
32498                           "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
32499                           "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
32500                           "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
32501                           "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
32502                           "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
32503                           "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
32504                           "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
32505                           "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
32506                           "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
32507                           "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
32508                           "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
32509                           "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
32510                           "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
32511                           "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
32512                           "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
32513                           "\x35\x21\x66\x78\x3d\xb6\x65\x83"
32514                           "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
32515                           "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
32516                           "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
32517                           "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
32518                           "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
32519                           "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
32520                           "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
32521                           "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
32522                           "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
32523                           "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
32524                           "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
32525                           "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
32526                           "\x96\x87\xc9\x34\x02\x26\xde\x20"
32527                           "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
32528                           "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
32529                           "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
32530                           "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
32531                           "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
32532                           "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
32533                           "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
32534                           "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
32535                           "\x85\xfd\x22\x08\x00\xae\x72\x10"
32536                           "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
32537                           "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
32538                           "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
32539                           "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
32540                           "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
32541                           "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
32542                           "\x93\x45\x38\x95\xb9\x69\xe9\x62"
32543                           "\x21\x73\xbd\x81\x73\xac\x15\x74"
32544                           "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
32545                           "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
32546                           "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
32547                           "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
32548                           "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
32549                           "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
32550                           "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
32551                           "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
32552                           "\x24\x43\xb3\x0e\xba\xad\x63\x63"
32553                           "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
32554                           "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
32555                           "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
32556                           "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
32557                           "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
32558                           "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
32559                           "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
32560                           "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
32561                           "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
32562                           "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
32563                           "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
32564                           "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
32565                           "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
32566                           "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
32567                           "\x9d\x46\xae\x67\x00\x3b\x40\x94"
32568                           "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
32569                           "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
32570                           "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
32571                           "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
32572                           "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
32573                           "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
32574                           "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
32575                           "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
32576                           "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
32577                           "\x76\xca\x9f\x56\xae\x04\x2e\x75"
32578                           "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
32579                           "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
32580                           "\x08\x67\x02\x01\xe3\x64\x82\xee"
32581                           "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
32582                           "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
32583                           "\x85\x48\xb6\x97\x97\x02\x43\x1f"
32584                           "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
32585                           "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
32586                           "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
32587                           "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
32588                           "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
32589                           "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
32590                           "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
32591                           "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
32592                           "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
32593                           "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
32594                           "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
32595                           "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
32596                           "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
32597                           "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
32598                           "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
32599                           "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
32600                           "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
32601                           "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
32602                           "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
32603                           "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
32604                           "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
32605                           "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
32606                           "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
32607                           "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
32608                           "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
32609                           "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
32610                           "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
32611                           "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
32612                           "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
32613                           "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
32614                           "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
32615                           "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
32616                           "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
32617                           "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
32618                           "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
32619                           "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
32620                           "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
32621                           "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
32622                           "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
32623                           "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
32624                           "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
32625                           "\x36\x12\x35\x28\x64\x12\xe7\xbb"
32626                           "\x50\xac\x45\x15\x7b\x16\x23\x5e"
32627                           "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
32628                           "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
32629                           "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
32630                           "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
32631                           "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
32632                           "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
32633                           "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
32634                           "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
32635                           "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
32636                           "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
32637                           "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
32638                           "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
32639                           "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
32640                           "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
32641                           "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
32642                           "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
32643                           "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
32644                           "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
32645                           "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
32646                           "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
32647                           "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
32648                           "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
32649                           "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
32650                           "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
32651                           "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
32652                           "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
32653                           "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
32654                           "\x7d\x65\x57\x65\x98\xff\x8b\x02"
32655                           "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
32656                           "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
32657                           "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
32658                           "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
32659                           "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
32660                           "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
32661                           "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
32662                           "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
32663                           "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
32664                           "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
32665                           "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
32666                           "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
32667                           "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
32668                           "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
32669                           "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
32670                           "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
32671                           "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
32672                           "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
32673                           "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
32674                           "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
32675                           "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
32676                           "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
32677                           "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
32678                           "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
32679                           "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
32680                           "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
32681                           "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
32682                           "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
32683                           "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
32684                           "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
32685                           "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
32686                           "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
32687                           "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
32688                           "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
32689                           "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
32690                           "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
32691                           "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
32692                           "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
32693                           "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
32694                           "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
32695                           "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
32696                           "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
32697                           "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
32698                           "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
32699                           "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
32700                           "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
32701                           "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
32702                           "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
32703                           "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
32704                           "\x53\xf1\x61\x97\x63\x52\x38\x86"
32705                           "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
32706                           "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
32707                           "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
32708                           "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
32709                           "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
32710                           "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
32711                           "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
32712                           "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
32713                           "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
32714                           "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
32715                           "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
32716                           "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
32717                           "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
32718                           "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
32719                           "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
32720                           "\x48\xb9\x27\x62\x00\x12\xc5\x03"
32721                           "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
32722                           "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
32723                           "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
32724                           "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
32725                           "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
32726                           "\x99\xd5\xff\x34\x93\x8f\x31\x45"
32727                           "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
32728                           "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
32729                           "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
32730                           "\x26\xec\x3a\x64\xc4\xab\x74\x97"
32731                           "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
32732                           "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
32733                           "\x68\x50\x22\x16\x96\x2f\xc4\x23"
32734                           "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
32735                           "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
32736                           "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
32737                           "\x20\x89\xef\x44\x22\x38\x3c\x14"
32738                           "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
32739                           "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
32740                           "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
32741                           "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
32742                           "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
32743                           "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
32744                           "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
32745                           "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
32746                           "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
32747                           "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
32748                           "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
32749                           "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
32750                           "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
32751                           "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
32752                           "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
32753                           "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
32754                           "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
32755                           "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
32756                           "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
32757                           "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
32758                           "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
32759                           "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
32760                           "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
32761                           "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
32762                           "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
32763                           "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
32764                           "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
32765                           "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
32766                           "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
32767                           "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
32768                           "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
32769                           "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
32770                           "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
32771                           "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
32772                           "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
32773                           "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
32774                           "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
32775                           "\x60\x81\x75\x29\x9e\xce\x2a\x70"
32776                           "\x28\x0c\x87\xe5\x46\x73\x76\x66"
32777                           "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
32778                           "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
32779                           "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
32780                           "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
32781                           "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
32782                           "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
32783                           "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
32784                           "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
32785                           "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
32786                           "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
32787                           "\xf1\x11\x02\x64\x09\x25\x7c\x26"
32788                           "\xee\xad\x50\x68\x31\x26\x16\x0f"
32789                           "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
32790                           "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
32791                           "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
32792                           "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
32793                           "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
32794                           "\x40\x12\x43\x31\xb8\x12\xe0\x95"
32795                           "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
32796                           "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
32797                           "\xab\x03\xda\x41\xab\xc5\x4e\x33"
32798                           "\x5a\x63\x94\x90\x22\x72\x54\x26"
32799                           "\x93\x65\x99\x45\x55\xd3\x55\x56"
32800                           "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
32801                           "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
32802                           "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
32803                           "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
32804                           "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
32805                           "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
32806                           "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
32807                           "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
32808                           "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
32809                           "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
32810                           "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
32811                           "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
32812                           "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
32813                           "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
32814                           "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
32815                           "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
32816                           "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
32817                           "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
32818                           "\xad\x6e\x83\x90\x21\x10\xb8\x07"
32819                           "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
32820                           "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
32821                           "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
32822                           "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
32823                           "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
32824                           "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
32825                           "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
32826                           "\x02\x5a\x20\x4d\x43\x08\x71\x49"
32827                           "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
32828                           "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
32829                           "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
32830                           "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
32831                           "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
32832                           "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
32833                           "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
32834                           "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
32835                           "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
32836                           "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
32837                           "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
32838                           "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
32839                           "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
32840                           "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
32841                           "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
32842                           "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
32843                           "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
32844                           "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
32845                           "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
32846                           "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
32847                           "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
32848                           "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
32849                           "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
32850                           "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
32851                           "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
32852                           "\x08\x48\xfd\x9b\x47\x41\x10\xae"
32853                           "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
32854                           "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
32855                           "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
32856                           "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
32857                           "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
32858                           "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
32859                           "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
32860                           "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
32861                           "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
32862                           "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
32863                           "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
32864                           "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
32865                           "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
32866                           "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
32867                           "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
32868                           "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
32869                           "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
32870                           "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
32871                           "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
32872                           "\x54\x14\x91\x12\x41\x41\x54\xa2"
32873                           "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
32874                           "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
32875                           "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
32876                           "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
32877                           "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
32878                           "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
32879                           "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
32880                           "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
32881                           "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
32882                           "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
32883                           "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
32884                           "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
32885                           "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
32886                           "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
32887                           "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
32888                           "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
32889                           "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
32890                           "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
32891                           "\x58\xec\x70\x4f\x40\x25\x2b\xba"
32892                           "\x96\x59\xac\x34\x45\x29\xc6\x57"
32893                           "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
32894                           "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
32895                           "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
32896                           "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
32897                           "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
32898                           "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
32899                           "\xea\xa5\x56\x02\x5b\x93\x13\x46"
32900                           "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
32901                           "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
32902                           "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
32903                           "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
32904                           "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
32905                           "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
32906                           "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
32907                           "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
32908                           "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
32909                           "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
32910                           "\xad\x57\xae\x98\x83\xd5\x92\x4e"
32911                           "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
32912                           "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
32913                           "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
32914                           "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
32915                           "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
32916                           "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
32917                           "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
32918                           "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
32919                           "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
32920                           "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
32921                           "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
32922                           "\x32\x06\x3f\x12\x23\x19\x22\x82"
32923                           "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
32924                           "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
32925                           "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
32926                           "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
32927                           "\x35\x79\x84\x78\x06\x68\x97\x30"
32928                           "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
32929                           "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
32930                           "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
32931                           "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
32932                           "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
32933                           "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
32934                           "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
32935                           "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
32936                           "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
32937                           "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
32938                           "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
32939                           "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
32940                           "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
32941                           "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
32942                           "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
32943                           "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
32944                           "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
32945                           "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
32946                           "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
32947                           "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
32948                           "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
32949                           "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
32950                           "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
32951                           "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
32952                           "\x13\xa7\x47\x89\x62\xa3\x03\x19"
32953                           "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
32954                           "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
32955                           "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
32956                           "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
32957                           "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
32958                           "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
32959                           "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
32960                           "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
32961                           "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
32962                           "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
32963                           "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
32964                           "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
32965                           "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
32966                           "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
32967                           "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
32968                           "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
32969                           "\x20\xa9\x37\x78\x32\x03\x60\xcc"
32970                           "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
32971                           "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
32972                           "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
32973                           "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
32974                           "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
32975                           "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
32976                           "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
32977                           "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
32978                           "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
32979                           "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
32980                           "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
32981                           "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
32982                           "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
32983                           "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
32984                           "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
32985                           "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
32986                           "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
32987                           "\x12\xab\x95\x66\xec\x09\x64\xea"
32988                           "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
32989                           "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
32990                           "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
32991                           "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
32992                           "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
32993                           "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
32994                           "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
32995                           "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
32996                           "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
32997                           "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
32998                           "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
32999                           "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
33000                           "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
33001                           "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
33002                           "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
33003                           "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
33004                           "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
33005                           "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
33006                 .ctext  = "\x57\xd1\xcf\x26\xe5\x07\x7a\x3f"
33007                           "\xa5\x5e\xd4\xa8\x12\xe9\x4e\x36"
33008                           "\x9c\x28\x65\xe0\xbd\xef\xf1\x49"
33009                           "\x04\xd4\xd4\x01\x4d\xf5\xfc\x2a"
33010                           "\x32\xd8\x19\x21\xcd\x58\x2a\x1a"
33011                           "\x43\x78\xa4\x57\x69\xa0\x52\xeb"
33012                           "\xcd\xa5\x9c\x4d\x03\x28\xef\x8b"
33013                           "\x54\xc6\x6c\x31\xab\x3e\xaf\x6d"
33014                           "\x0a\x87\x83\x3d\xb7\xea\x6b\x3d"
33015                           "\x11\x58\x7d\x5f\xaf\xc9\xfc\x50"
33016                           "\x58\x9a\x84\xa1\xcf\x76\xdc\x77"
33017                           "\x83\x9a\x28\x74\x69\xc9\x0c\xc2"
33018                           "\x7b\x1e\x4e\xe4\x25\x41\x23\x0d"
33019                           "\x4e\x0e\x2d\x7a\x87\xaa\x0f\x7c"
33020                           "\x98\xad\xf0\x6f\xbf\xcb\xd5\x1a"
33021                           "\x3e\xcf\x0e\xc5\xde\xbd\x8d\xf1"
33022                           "\xaa\x19\x16\xb8\xc5\x25\x02\x33"
33023                           "\xbd\x5a\x85\xe2\xc0\x77\x71\xda"
33024                           "\x12\x4c\xdf\x7f\xce\xc0\x32\x95"
33025                           "\x1a\xde\xcb\x0a\x70\xd0\x9e\x89"
33026                           "\xc5\x97\x18\x04\xab\x8c\x38\x56"
33027                           "\x69\xe5\xf6\xa5\x76\x2c\x52\x7a"
33028                           "\x49\xd2\x9a\x95\xa6\xa8\x82\x42"
33029                           "\x20\x1f\x58\x57\x4e\x22\xdb\x92"
33030                           "\xec\xbd\x4a\x21\x66\x9b\x7a\xcb"
33031                           "\x73\xcd\x6d\x15\x07\xc9\x97\xb8"
33032                           "\x11\x35\xee\x29\xa4\x90\xfc\x46"
33033                           "\x0f\x39\x56\xc6\x4a\x3a\xcf\xcc"
33034                           "\xb1\xbf\x62\x1c\x16\xc5\x12\x6c"
33035                           "\x0e\x69\x89\xce\xcf\x11\x4e\xe5"
33036                           "\x7e\x4e\x7c\x8f\xb4\xc9\xe6\x54"
33037                           "\x42\x89\x28\x27\xe6\xec\x50\xb7"
33038                           "\x69\x91\x44\x3e\x46\xd4\x64\xf6"
33039                           "\x25\x4c\x4d\x2f\x60\xd9\x9a\xd3"
33040                           "\x1c\x70\xf4\xd8\x24\x1e\xdb\xcf"
33041                           "\xa8\xc0\x22\xe6\x82\x57\xf6\xf0"
33042                           "\xe1\x1e\x38\x66\xec\xdc\x20\xdb"
33043                           "\x6a\x57\x68\xb1\x43\x61\xe1\x12"
33044                           "\x18\x5f\x31\x57\x39\xcb\xea\x3c"
33045                           "\x6e\x5d\x9a\xe0\xa6\x70\x4d\xd8"
33046                           "\xf9\x47\x4e\xef\x31\xa5\x66\x9b"
33047                           "\xb7\xf1\xd9\x59\x85\xfc\xdb\x7e"
33048                           "\xa2\x7a\x70\x25\x0c\xfd\x18\x0d"
33049                           "\x00\x42\xc9\x48\x8a\xbd\x74\xc5"
33050                           "\x3e\xe1\x20\x5a\x5d\x2e\xe5\x32"
33051                           "\x1d\x1c\x08\x65\x80\x69\xae\x24"
33052                           "\x80\xde\xb6\xdf\x97\xaa\x42\x8d"
33053                           "\xce\x39\x07\xe6\x69\x94\x5a\x75"
33054                           "\x39\xda\x5e\x1a\xed\x4a\x4c\x23"
33055                           "\x66\x1f\xf3\xb1\x6e\x8f\x21\x94"
33056                           "\x45\xc4\x63\xbd\x06\x93\x5e\x30"
33057                           "\xe7\x8f\xcb\xe0\xbb\x2a\x27\xcf"
33058                           "\x57\xa9\xa6\x28\xaf\xae\xcb\xa5"
33059                           "\x7b\x36\x61\x77\x3a\x4f\xec\x51"
33060                           "\x71\xfd\x52\x9e\x32\x7b\x98\x09"
33061                           "\xae\x27\xbc\x93\x96\xab\xb6\x02"
33062                           "\xf7\x21\xd3\x42\x00\x7e\x7a\x92"
33063                           "\x17\xfe\x1b\x3d\xcf\xb6\xfe\x1e"
33064                           "\x40\xc3\x10\x25\xac\x22\x9e\xcc"
33065                           "\xc2\x02\x61\xf5\x0a\x4b\xc3\xec"
33066                           "\xb1\x44\x06\x05\xb8\xd6\xcb\xd5"
33067                           "\xf1\xf5\xb5\x65\xbc\x1a\x19\xa2"
33068                           "\x7d\x60\x87\x11\x06\x83\x25\xe3"
33069                           "\x5e\xf0\xeb\x15\x93\xb6\x8e\xab"
33070                           "\x49\x52\xe8\xdb\xde\xd1\x8e\xa2"
33071                           "\x3a\x64\x13\x30\xaa\x20\xaf\x81"
33072                           "\x8d\x3c\x24\x2a\x76\x6d\xca\x32"
33073                           "\x63\x51\x6b\x8e\x4b\xa7\xf6\xad"
33074                           "\xa5\x94\x16\x82\xa6\x97\x3b\xe5"
33075                           "\x41\xcd\x87\x33\xdc\xc1\x48\xca"
33076                           "\x4e\xa2\x82\xad\x8e\x1b\xae\xcb"
33077                           "\x12\x93\x27\xa3\x2b\xfa\xe6\x26"
33078                           "\x43\xbd\xb0\x00\x01\x22\x1d\xd3"
33079                           "\x28\x9d\x69\xe0\xd4\xf8\x5b\x01"
33080                           "\x40\x7d\x54\xe5\xe2\xbd\x78\x5a"
33081                           "\x0e\xab\x51\xfc\xd4\xde\xba\xbc"
33082                           "\xa4\x7a\x74\x6d\xf8\x36\xc2\x70"
33083                           "\x03\x27\x36\xa2\xc0\xde\xf2\xc7"
33084                           "\x55\xd4\x66\xee\x9a\x9e\xaa\x99"
33085                           "\x2b\xeb\xa2\x6f\x17\x80\x60\x64"
33086                           "\xed\x73\xdb\xc1\x70\xda\xde\x67"
33087                           "\xcd\x6e\xc9\xfa\x3f\xef\x49\xd9"
33088                           "\x18\x42\xf1\x87\x6e\x2c\xac\xe1"
33089                           "\x12\x26\x52\xbe\x3e\xf1\xcc\x85"
33090                           "\x9a\xd1\x9e\xc1\x02\xd3\xca\x2b"
33091                           "\x99\xe7\xe8\x95\x7f\x91\x4b\xc0"
33092                           "\xab\xd4\x5a\xf7\x88\x1c\x7e\xea"
33093                           "\xd3\x15\x38\x26\xb5\xa3\xf2\xfc"
33094                           "\xc4\x12\x70\x5a\x37\x83\x49\xac"
33095                           "\xf4\x5e\x4c\xc8\x64\x03\x98\xad"
33096                           "\xd2\xbb\x8d\x90\x01\x80\xa1\x2a"
33097                           "\x23\xd1\x8d\x26\x43\x7d\x2b\xd0"
33098                           "\x87\xe1\x8e\x6a\xb3\x73\x9d\xc2"
33099                           "\x66\x75\xee\x2b\x41\x1a\xa0\x3b"
33100                           "\x1b\xdd\xb9\x21\x69\x5c\xef\x52"
33101                           "\x21\x57\xd6\x53\x31\x67\x7e\xd1"
33102                           "\xd0\x67\x8b\xc0\x97\x2c\x0a\x09"
33103                           "\x1d\xd4\x35\xc5\xd4\x11\x68\xf8"
33104                           "\x5e\x75\xaf\x0c\xc3\x9d\xa7\x09"
33105                           "\x38\xf5\x77\xb9\x80\xa9\x6b\xbd"
33106                           "\x0c\x98\xb4\x8d\xf0\x35\x5a\x19"
33107                           "\x1d\xf8\xb3\x5b\x45\xad\x4e\x4e"
33108                           "\xd5\x59\xf5\xd7\x53\x63\x3e\x97"
33109                           "\x7f\x91\x50\x65\x61\x21\xa9\xb7"
33110                           "\x65\x12\xdc\x01\x56\x40\xe0\xb1"
33111                           "\xe1\x23\xba\x9d\xb9\xc4\x8b\x1f"
33112                           "\xa6\xfe\x24\x19\xe9\x42\x9f\x9b"
33113                           "\x02\x48\xaa\x60\x0b\xf5\x7f\x8f"
33114                           "\x35\x70\xed\x85\xb8\xc4\xdc\xb7"
33115                           "\x16\xb7\x03\xe0\x2e\xa0\x25\xab"
33116                           "\x02\x1f\x97\x8e\x5a\x48\xb6\xdb"
33117                           "\x25\x7a\x16\xf6\x4c\xec\xec\xa6"
33118                           "\xc1\x4e\xe3\x4e\xe3\x27\x78\xc8"
33119                           "\xb6\xd7\x01\x61\x98\x1b\x38\xaa"
33120                           "\x36\x93\xac\x6d\x05\x61\x4d\x5a"
33121                           "\xc9\xe5\x27\xa9\x22\xf2\x38\x5e"
33122                           "\x9e\xe5\xf7\x4a\x64\xd2\x14\x15"
33123                           "\x71\x7c\x65\x6e\x90\x31\xc7\x49"
33124                           "\x25\xec\x9f\xf1\xb2\xd6\xbc\x20"
33125                           "\x6a\x13\xd5\x70\x65\xfc\x8b\x66"
33126                           "\x2c\xf1\x57\xc2\xe7\xb8\x89\xf7"
33127                           "\x17\xb2\x45\x64\xe0\xb3\x8c\x0d"
33128                           "\x69\x57\xf9\x5c\xff\xc2\x3c\x18"
33129                           "\x1e\xfd\x4b\x5e\x0d\x20\x01\x1a"
33130                           "\xa3\xa3\xb3\x76\x98\x9c\x92\x41"
33131                           "\xb4\xcd\x9f\x8f\x88\xcb\xb1\xb5"
33132                           "\x25\x87\x45\x4c\x07\xa7\x15\x99"
33133                           "\x24\x85\x15\x9e\xfc\x28\x98\x2b"
33134                           "\xd0\x22\x0a\xcc\x62\x12\x86\x0a"
33135                           "\xa8\x0e\x7d\x15\x32\x98\xae\x2d"
33136                           "\x95\x25\x55\x33\x41\x5b\x8d\x75"
33137                           "\x46\x61\x01\xa4\xfb\xf8\x6e\xe5"
33138                           "\xec\x24\xfe\xd2\xd2\x46\xe2\x3a"
33139                           "\x77\xf3\xa1\x39\xd3\x39\x32\xd8"
33140                           "\x2a\x6b\x44\xd7\x70\x36\x23\x89"
33141                           "\x4f\x75\x85\x42\x70\xd4\x2d\x4f"
33142                           "\xea\xfc\xc9\xfe\xb4\x86\xd8\x73"
33143                           "\x1d\xeb\xf7\x54\x0a\x47\x7e\x2c"
33144                           "\x04\x7b\x47\xea\x52\x8f\x13\x1a"
33145                           "\xf0\x19\x65\xe2\x0a\x1c\xae\x89"
33146                           "\xe1\xc5\x87\x6e\x5d\x7f\xf8\x79"
33147                           "\x08\xbf\xd2\x7f\x2c\x95\x22\xba"
33148                           "\x32\x78\xa9\xf6\x03\x98\x18\xed"
33149                           "\x15\xbf\x49\xb0\x6c\xa1\x4b\xb0"
33150                           "\xf3\x17\xd5\x35\x5d\x19\x57\x5b"
33151                           "\xf1\x07\x1e\xaa\x4d\xef\xd0\xd6"
33152                           "\x72\x12\x6b\xd9\xbc\x10\x49\xc5"
33153                           "\x28\xd4\xec\xe9\x8a\xb1\x6d\x50"
33154                           "\x4b\xf3\x44\xb8\x49\x04\x62\xe9"
33155                           "\xa4\xd8\x5a\xe7\x90\x02\xb7\x1e"
33156                           "\x66\x89\xbc\x5a\x71\x4e\xbd\xf8"
33157                           "\x18\xfb\x34\x2f\x67\xa2\x65\x71"
33158                           "\x00\x63\x22\xef\x3a\xa5\x18\x0e"
33159                           "\x54\x76\xaa\x58\xae\x87\x23\x93"
33160                           "\xb0\x3c\xa2\xa4\x07\x77\x3e\xd7"
33161                           "\x1a\x9c\xfe\x32\xc3\x54\x04\x4e"
33162                           "\xd6\x98\x44\xda\x98\xf8\xd3\xc8"
33163                           "\x1c\x07\x4b\xcd\x97\x5d\x96\x95"
33164                           "\x9a\x1d\x4a\xfc\x19\xcb\x0b\xd0"
33165                           "\x6d\x43\x3a\x9a\x39\x1c\xa8\x90"
33166                           "\x9f\x53\x8b\xc4\x41\x75\xb5\xb9"
33167                           "\x91\x5f\x02\x0a\x57\x6c\x8f\xc3"
33168                           "\x1b\x0b\x3a\x8b\x58\x3b\xbe\x2e"
33169                           "\xdc\x4c\x23\x71\x2e\x14\x06\x21"
33170                           "\x0b\x3b\x58\xb8\x97\xd1\x00\x62"
33171                           "\x2e\x74\x3e\x6e\x21\x8a\xcf\x60"
33172                           "\xda\x0c\xf8\x7c\xfd\x07\x55\x7f"
33173                           "\xb9\x1d\xda\x34\xc7\x27\xbf\x2a"
33174                           "\xd9\xba\x41\x9b\x37\xa1\xc4\x5d"
33175                           "\x03\x01\xce\xbb\x58\xff\xee\x74"
33176                           "\x08\xbd\x0b\x80\xb1\xd5\xf8\xb5"
33177                           "\x92\xf9\xbb\xbe\x03\xb5\xec\xbe"
33178                           "\x17\xee\xd7\x4e\x87\x2b\x61\x1b"
33179                           "\x27\xc3\x51\x50\xa0\x02\x73\x00"
33180                           "\x1a\xea\x2a\x2b\xf8\xf6\xe6\x96"
33181                           "\x75\x00\x56\xcc\xcb\x7a\x24\x29"
33182                           "\xe8\xdb\x95\xbf\x4e\x8f\x0a\x78"
33183                           "\xb8\xeb\x5a\x90\x37\xd0\x21\x94"
33184                           "\x6a\x89\x6b\x41\x3a\x1b\xa7\x20"
33185                           "\x43\x37\xda\xad\x81\xdd\xb4\xfc"
33186                           "\xe9\x60\x82\x77\x44\x3f\x89\x23"
33187                           "\x35\x04\x8f\xa1\xe8\xc0\xb6\x9f"
33188                           "\x56\xa7\x86\x3d\x65\x9c\x57\xbb"
33189                           "\x27\xdb\xe1\xb2\x13\x07\x9c\xb1"
33190                           "\x60\x8b\x38\x6b\x7f\x24\x28\x14"
33191                           "\xfe\xbf\xc0\xda\x61\x6e\xc2\xc7"
33192                           "\x63\x36\xa8\x02\x54\x93\xb0\xba"
33193                           "\xbd\x4d\x29\x14\x5a\x8b\xbc\x78"
33194                           "\xb3\xa6\xc5\x15\x5d\x36\x4d\x38"
33195                           "\x20\x9c\x1e\x98\x2e\x16\x89\x33"
33196                           "\x66\xa2\x54\x57\xcc\xde\x12\xa6"
33197                           "\x3b\x44\xf1\xac\x36\x3b\x97\xc1"
33198                           "\x96\x94\xf2\x67\x57\x23\x9c\x29"
33199                           "\xcd\xb7\x24\x2a\x8c\x86\xee\xaa"
33200                           "\x0f\xee\xaf\xa0\xec\x40\x8c\x08"
33201                           "\x18\xa1\xb4\x2c\x09\x46\x11\x7e"
33202                           "\x97\x84\xb1\x03\xa5\x3e\x59\x05"
33203                           "\x07\xc5\xf0\xcc\xb6\x71\x72\x2a"
33204                           "\xa2\x02\x78\x60\x0b\xc4\x47\x93"
33205                           "\xab\xcd\x67\x2b\xf5\xc5\x67\xa0"
33206                           "\xc0\x3c\x6a\xd4\x7e\xc9\x93\x0c"
33207                           "\x02\xdc\x15\x87\x48\x16\x26\x18"
33208                           "\x4e\x0b\x16\x0e\xb3\x02\x3e\x4b"
33209                           "\xc2\xe4\x49\x08\x9f\xb9\x8b\x1a"
33210                           "\xca\x10\xe8\x6c\x58\xa9\x7e\xb8"
33211                           "\xbe\xff\x58\x0e\x8a\xfb\x35\x93"
33212                           "\xcc\x76\x7d\xd9\x44\x7c\x31\x96"
33213                           "\xc0\x29\x73\xd3\x91\x0a\xc0\x65"
33214                           "\x5c\xbe\xe7\x4e\xda\x31\x85\xf2"
33215                           "\x72\xee\x34\xbe\x41\x90\xd4\x07"
33216                           "\x50\x64\x56\x81\xe3\x27\xfb\xcc"
33217                           "\xb7\x5c\x36\xb4\x6e\xbd\x23\xf8"
33218                           "\xe8\x71\xce\xa8\x73\x77\x82\x74"
33219                           "\xab\x8d\x0e\xe5\x93\x68\xb1\xd2"
33220                           "\x51\xc2\x18\x58\xd5\x3f\x29\x6b"
33221                           "\x2e\xd0\x88\x7f\x4a\x9d\xa2\xb8"
33222                           "\xae\x96\x09\xbf\x47\xae\x7d\x12"
33223                           "\x70\x67\xf1\xdd\xda\xdf\x47\x57"
33224                           "\xc9\x2c\x0f\xcb\xf3\x57\xd4\xda"
33225                           "\x00\x2e\x13\x48\x8f\xc0\xaa\x46"
33226                           "\xe1\xc1\x57\x75\x1e\xce\x74\xc2"
33227                           "\x82\xef\x31\x85\x8e\x38\x56\xff"
33228                           "\xcb\xab\xe0\x78\x40\x51\xd3\xc5"
33229                           "\xc3\xb1\xee\x9b\xd7\x72\x7f\x13"
33230                           "\x83\x7f\x45\x49\x45\xa1\x05\x8e"
33231                           "\xdc\x83\x81\x3c\x24\x28\x87\x08"
33232                           "\xa0\x70\x73\x80\x42\xcf\x5c\x26"
33233                           "\x39\xa5\xc5\x90\x5c\x56\xda\x58"
33234                           "\x93\x45\x5d\x45\x64\x59\x16\x3f"
33235                           "\xf1\x20\xf7\xa8\x2a\xd4\x3d\xbd"
33236                           "\x17\xfb\x90\x01\xcf\x1e\x71\xab"
33237                           "\x22\xa2\x24\xb5\x80\xac\xa2\x9a"
33238                           "\x9c\x2d\x85\x69\xa7\x87\x33\x55"
33239                           "\x65\x72\xc0\x91\x2a\x3d\x05\x33"
33240                           "\x25\x0d\x29\x25\x9f\x45\x4e\xfa"
33241                           "\x5d\x90\x3f\x34\x08\x54\xdb\x7d"
33242                           "\x94\x20\xa2\x3b\x10\x01\xa4\x89"
33243                           "\x1e\x90\x4f\x36\x3f\xc2\x40\x07"
33244                           "\x3f\xab\x2e\x89\xce\x80\xe1\xf5"
33245                           "\xac\xaf\x17\x10\x18\x0f\x4d\xe3"
33246                           "\xfc\x82\x2b\xbe\xe2\x91\xfa\x5b"
33247                           "\x9a\x9b\x2a\xd7\x99\x8d\x8f\xdc"
33248                           "\x54\x99\xc4\xa3\x97\xfd\xd3\xdb"
33249                           "\xd1\x51\x7c\xce\x13\x5c\x3b\x74"
33250                           "\xda\x9a\xe3\xdc\xdc\x87\x84\x98"
33251                           "\x16\x6d\xb0\x3d\x65\x57\x0b\xb2"
33252                           "\xb8\x04\xd4\xea\x49\x72\xc3\x66"
33253                           "\xbc\xdc\x91\x05\x2b\xa6\x5e\xeb"
33254                           "\x55\x72\x3e\x34\xd4\x28\x4b\x9c"
33255                           "\x07\x51\xf7\x30\xf3\xca\x04\xc1"
33256                           "\xd3\x69\x50\x2c\x27\x27\xc4\xb9"
33257                           "\x56\xc7\xa2\xd2\x66\x29\xea\xe0"
33258                           "\x25\xb8\x49\xd1\x60\xc9\x5e\xb5"
33259                           "\xed\x87\xb8\x74\x98\x0d\x16\x86"
33260                           "\x2a\x02\x24\xde\xb9\xa9\x5e\xf0"
33261                           "\xdd\xf7\x55\xb0\x26\x7a\x93\xd4"
33262                           "\xe6\x7d\xd2\x43\xb2\x8f\x7e\x9a"
33263                           "\x5d\x81\xe6\x28\xe5\x96\x7d\xc8"
33264                           "\x33\xe0\x56\x57\xe2\xa0\xf2\x1d"
33265                           "\x61\x78\x60\xd5\x81\x70\xa4\x11"
33266                           "\x43\x36\xe9\xd1\x68\x27\x21\x3c"
33267                           "\xb2\xa2\xad\x5f\x04\xd4\x55\x00"
33268                           "\x25\x71\x91\xed\x3a\xc9\x7b\x57"
33269                           "\x7b\xd1\x8a\xfb\x0e\xf5\x7b\x08"
33270                           "\xa9\x26\x4f\x24\x5f\xdd\x79\xed"
33271                           "\x19\xc4\xe1\xd5\xa8\x66\x60\xfc"
33272                           "\x5d\x48\x11\xb0\xa3\xc3\xe6\xc0"
33273                           "\xc6\x16\x7d\x20\x3f\x7c\x25\x52"
33274                           "\xdf\x05\xdd\xb5\x0b\x92\xee\xc5"
33275                           "\xe6\xd2\x7c\x3e\x2e\xd5\xac\xda"
33276                           "\xdb\x48\x31\xac\x87\x13\x8c\xfa"
33277                           "\xac\x18\xbc\xd1\x7f\x2d\xc6\x19"
33278                           "\x8a\xfa\xa0\x97\x89\x26\x50\x46"
33279                           "\x9c\xca\xe1\x73\x97\x26\x0a\x50"
33280                           "\x95\xec\x79\x19\xf6\xbd\x9a\xa1"
33281                           "\xcf\xc9\xab\xf7\x85\x84\xb2\xf5"
33282                           "\x2c\x7c\x73\xaa\xe2\xc2\xfb\xcd"
33283                           "\x5f\x08\x46\x2f\x8e\xd9\xff\xfd"
33284                           "\x19\xf6\xf4\x5d\x2b\x4b\x54\xe2"
33285                           "\x27\xaa\xfd\x2c\x5f\x75\x7c\xf6"
33286                           "\x2c\x95\x77\xcc\x90\xa2\xda\x1e"
33287                           "\x85\x37\x18\x34\x1d\xcf\x1b\xf2"
33288                           "\x86\xda\x71\xfb\x72\xab\x87\x0f"
33289                           "\x1e\x10\xb3\xba\x51\xea\x29\xd3"
33290                           "\x8c\x87\xce\x4b\x66\xbf\x60\x6d"
33291                           "\x81\x7c\xb8\x9c\xcc\x2e\x35\x02"
33292                           "\x02\x32\x4a\x7a\x24\xc4\x9f\xce"
33293                           "\xf0\x8a\x85\x90\xf3\x24\x95\x02"
33294                           "\xec\x13\xc1\xa4\xdd\x44\x01\xef"
33295                           "\xf6\xaa\x30\x70\xbf\x4e\x1a\xb9"
33296                           "\xc0\xff\x3b\x57\x5d\x12\xfe\xc3"
33297                           "\x1d\x5c\x3f\x74\xf9\xd9\x64\x61"
33298                           "\x20\xb2\x76\x79\x38\xd2\x21\xfb"
33299                           "\xc9\x32\xe8\xcc\x8e\x5f\xd7\x01"
33300                           "\x9e\x25\x76\x4d\xa7\xc1\x33\x21"
33301                           "\xfa\xcf\x98\x40\xd2\x1d\x48\xbd"
33302                           "\xd0\xc0\x38\x90\x27\x9b\x89\x4a"
33303                           "\x10\x1e\xaf\xa0\x78\x7d\x87\x2b"
33304                           "\x72\x10\x02\xf0\x5d\x22\x8b\x22"
33305                           "\xd7\x56\x7c\xd7\x6d\xcd\x9b\xc6"
33306                           "\xbc\xb2\xa6\x36\xde\xac\x87\x14"
33307                           "\x92\x93\x47\xca\x7d\xf4\x0b\x88"
33308                           "\xea\xbf\x3f\x2f\xa9\x94\x24\x13"
33309                           "\xa1\x52\x29\xfd\x5d\xa9\x76\x85"
33310                           "\x21\x62\x39\xa3\xf0\xf7\xb5\xa3"
33311                           "\xe0\x6c\x1b\xcb\xdb\x41\x91\xc6"
33312                           "\x4f\xaa\x26\x8b\x15\xd5\x84\x3a"
33313                           "\xda\xd6\x05\xc8\x8c\x0f\xe9\x19"
33314                           "\x00\x81\x38\xfb\x8f\xdf\xb0\x63"
33315                           "\x75\xe0\xe8\x8f\xef\x4a\xe0\x83"
33316                           "\x34\xe9\x4e\x06\xd7\xbb\xcd\xed"
33317                           "\x70\x0c\x72\x80\x64\x94\x67\xad"
33318                           "\x4a\xda\x82\xcf\x60\xfc\x92\x43"
33319                           "\xe3\x2f\xd1\x1e\x81\x1d\xdc\x62"
33320                           "\xec\xb1\xb0\xad\x4f\x43\x1d\x38"
33321                           "\x4e\x0d\x90\x40\x29\x1b\x98\xf1"
33322                           "\xbc\x70\x4e\x5a\x08\xbe\x88\x3a"
33323                           "\x55\xfb\x8c\x33\x1f\x0a\x7d\x2d"
33324                           "\xdc\x75\x03\xd2\x3b\xe8\xb8\x32"
33325                           "\x13\xab\x04\xbc\xe2\x33\x44\xa6"
33326                           "\xff\x6e\xba\xbd\xdc\xe2\xbf\x54"
33327                           "\x99\x71\x76\x59\x3b\x7a\xbc\xde"
33328                           "\xa1\x6e\x73\x62\x96\x73\x56\x66"
33329                           "\xfb\x1a\x56\x91\x2a\x8b\x12\xb0"
33330                           "\x82\x9f\x9b\x0c\x42\xc7\x22\x2c"
33331                           "\xbc\x49\xc5\x3c\x3b\xbf\x52\x64"
33332                           "\xd6\xd4\x03\x52\xf3\xfd\x13\x98"
33333                           "\xcc\xd8\xaa\x3e\x1d\x1f\x04\x8a"
33334                           "\x03\x41\x19\x5b\x31\xf3\x48\x83"
33335                           "\x49\xa3\xdd\xc9\x7c\x01\x34\x64"
33336                           "\xe5\xf3\xdf\xc9\x7f\x17\xa2\xf5"
33337                           "\x9c\x21\x79\x93\x91\x93\xbf\x9b"
33338                           "\xa5\xa5\xda\x1d\x55\x32\x72\x78"
33339                           "\xa6\x45\x2d\x21\x97\x6b\xfe\xbc"
33340                           "\xd0\xe7\x8e\x97\x66\x85\x9e\x41"
33341                           "\xfa\x2c\x8a\xee\x0d\x5a\x18\xf2"
33342                           "\x15\x89\x8f\xfb\xbc\xd8\xa6\x0c"
33343                           "\x83\xcc\x20\x08\xce\x70\xe5\xe6"
33344                           "\xbb\x7d\x9f\x11\x5f\x1e\x16\x68"
33345                           "\x18\xad\xa9\x4b\x04\x97\x8c\x18"
33346                           "\xed\x2a\x70\x79\x39\xcf\x36\x72"
33347                           "\x1e\x3e\x6d\x3c\x19\xce\x13\x19"
33348                           "\xb5\x13\xe7\x02\xd8\x5c\xec\x0c"
33349                           "\x81\xc5\xe5\x86\x10\x83\x9e\x67"
33350                           "\x3b\x74\x29\x63\xda\x23\xbc\x43"
33351                           "\xe9\x73\xa6\x2d\x25\x77\x66\xd0"
33352                           "\x2e\x05\x38\xae\x2e\x0e\x7f\xaf"
33353                           "\x82\xed\xef\x28\x39\x4c\x4b\x6f"
33354                           "\xdb\xa1\xb5\x79\xd0\x5b\x50\x77"
33355                           "\x6d\x75\x9f\x3c\xcf\xde\x41\xb8"
33356                           "\xa9\x13\x11\x60\x19\x23\xc7\x35"
33357                           "\x48\xbc\x14\x08\xf9\x57\xfe\x15"
33358                           "\xfd\xb2\xbb\x8c\x44\x3b\xf1\x62"
33359                           "\xbc\x0e\x01\x45\x39\xc0\xbb\xce"
33360                           "\xf5\xb7\xe1\x16\x7b\xcc\x8d\x7f"
33361                           "\xd3\x15\x36\xef\x8e\x4b\xaa\xee"
33362                           "\x49\x0c\x6e\x9b\x8c\x0e\x9f\xe0"
33363                           "\xd5\x7b\xdd\xbc\xb3\x67\x53\x6d"
33364                           "\x8b\xbe\xa3\xcd\x1e\x37\x9d\xc3"
33365                           "\x61\x36\xf4\x77\xec\x2b\xc7\x8b"
33366                           "\xd7\xad\x8d\x23\xdd\xf7\x9d\xf1"
33367                           "\x61\x1c\xbf\x09\xa5\x5e\xb9\x14"
33368                           "\xa6\x3f\x1a\xd9\x12\xb4\xef\x56"
33369                           "\x20\xa0\x77\x3e\xab\xf1\xb9\x91"
33370                           "\x5a\x92\x85\x5c\x92\x15\xb2\x1f"
33371                           "\xaf\xb0\x92\x23\x2d\x27\x8b\x7e"
33372                           "\x12\xcc\x56\xaa\x62\x85\x15\xd7"
33373                           "\x41\x89\x62\xd6\xd9\xd0\x6d\xbd"
33374                           "\x21\xa8\x49\xb6\x35\x40\x2f\x8d"
33375                           "\x2e\xfa\x24\x1e\x30\x12\x9c\x05"
33376                           "\x59\xfa\xe1\xad\xc0\x53\x09\xda"
33377                           "\xc0\x2e\x9d\x24\x0e\x4b\x6e\xd7"
33378                           "\x68\x32\x6a\xa0\x3c\x23\xb6\x5a"
33379                           "\x90\xb1\x1f\x62\xc8\x37\x36\x88"
33380                           "\xa4\x4d\x91\x12\x8d\x51\x8d\x81"
33381                           "\x44\x21\xfe\xd3\x61\x8d\xea\x5b"
33382                           "\x87\x24\xa9\xe9\x87\xde\x75\x77"
33383                           "\xc6\xa0\xd3\xf6\x99\x8b\x32\x56"
33384                           "\x47\xc6\x60\x65\xb6\x4f\xd1\x59"
33385                           "\x08\xb2\xe0\x15\x3e\xcb\x2c\xd6"
33386                           "\x8d\xc6\xbf\xda\x63\xe2\x04\x88"
33387                           "\x30\x9f\x37\x38\x98\x1c\x3e\x7a"
33388                           "\xa8\x8f\x3e\x2c\xcf\x90\x15\x6e"
33389                           "\x5d\xe9\x76\xd5\xdf\xc6\x2f\xf6"
33390                           "\xf5\x4a\x86\xbd\x36\x2a\xda\xdf"
33391                           "\x2f\xd8\x6e\x15\x18\x6b\xe9\xdb"
33392                           "\x26\x54\x6e\x60\x3b\xb8\xf9\x91"
33393                           "\xc1\x1d\xc0\x4f\x26\x8b\xdf\x55"
33394                           "\x47\x2f\xce\xdd\x4e\x93\x58\x3f"
33395                           "\x70\xdc\xf9\x4e\x9b\x37\x5e\x4f"
33396                           "\x39\xb9\x30\xe6\xce\xdb\xaf\x46"
33397                           "\xca\xfa\x52\xc9\x75\x3e\xd6\x96"
33398                           "\xe8\x97\xf1\xb1\x64\x31\x71\x1e"
33399                           "\x9f\xb6\xff\x69\xd6\xcd\x85\x4e"
33400                           "\x20\xf5\xfc\x84\x3c\xaf\xcc\x8d"
33401                           "\x5b\x52\xb8\xa2\x1c\x38\x47\x82"
33402                           "\x96\xff\x06\x4c\xaf\x8a\xf4\x8f"
33403                           "\xf8\x15\x97\xf6\xc3\xbc\x8c\x9e"
33404                           "\xc2\x06\xd9\x64\xb8\x1b\x0d\xd1"
33405                           "\x53\x55\x83\x7d\xcb\x8b\x7d\x20"
33406                           "\xa7\x70\xcb\xaa\x25\xae\x5a\x4f"
33407                           "\xdc\x66\xad\xe4\x54\xff\x09\xef"
33408                           "\x25\xcb\xac\x59\x89\x1d\x06\xcf"
33409                           "\xc7\x74\xe0\x5d\xa6\xd0\x04\xb4"
33410                           "\x41\x75\x34\x80\x6c\x4c\xc9\xd0"
33411                           "\x51\x0c\x0f\x84\x26\x75\x69\x23"
33412                           "\x81\x67\xde\xbf\x6c\x57\x8a\xc4"
33413                           "\xba\x91\xba\x8c\x2c\x75\xeb\x55"
33414                           "\xe5\x1b\x13\xbc\xaa\xec\x31\xdb"
33415                           "\xcc\x00\x3b\xe6\x50\xd8\xc3\xcc"
33416                           "\x9c\xb8\x6e\xb4\x9b\x16\xee\x74"
33417                           "\x26\x51\xda\x39\xe6\x31\xa1\xb2"
33418                           "\xd7\x6f\xcb\xae\x7d\x9f\x38\x7d"
33419                           "\x86\x49\x2a\x16\x5c\xc0\x08\xea"
33420                           "\x6b\x55\x85\x47\xbb\x90\xba\x69"
33421                           "\x56\xa5\x44\x62\x5b\xe6\x3b\xcc"
33422                           "\xe7\x6d\x1e\xca\x4b\xf3\x86\xe0"
33423                           "\x09\x76\x51\x83\x0a\x46\x19\x61"
33424                           "\xf0\xce\xe1\x06\x7d\x06\xb4\xfe"
33425                           "\xd9\xd3\x64\x8e\x0f\xd9\x64\x9e"
33426                           "\x74\x44\x97\x5d\x92\x7b\xe3\xcf"
33427                           "\x51\x44\xe7\xf2\xe7\xc0\x0c\xc2"
33428                           "\xf1\xf7\xa6\x36\x52\x2f\x7c\x09"
33429                           "\xfe\x8c\x59\x77\x52\x6a\x7e\xb3"
33430                           "\x2b\xb9\x17\x78\xe4\xf2\x82\x62"
33431                           "\x7f\x68\x8e\x04\xb4\x8f\x60\xd2"
33432                           "\xc6\x22\x1e\x0f\x3a\x8e\x3c\xb2"
33433                           "\x60\xbc\xa9\xb3\xda\xbd\x50\xe4"
33434                           "\x33\x98\xdd\x6f\xe9\x3b\x77\x57"
33435                           "\xeb\x7c\x8f\xbc\xfc\x34\x34\xb9"
33436                           "\x40\x31\x67\xcf\xfe\x22\x20\xa5"
33437                           "\x97\xe8\x4c\xa2\xc3\x94\xc6\x28"
33438                           "\xa6\x24\xe5\xa6\xb5\xd8\x24\xef"
33439                           "\x16\xa1\xc9\xe5\x92\xe6\x8c\x45"
33440                           "\x24\x24\x51\x22\x1e\xad\xef\x2f"
33441                           "\xb6\xbe\xfc\x92\x20\xac\x45\xe6"
33442                           "\xc0\xb0\xc8\xfb\x21\x34\xd4\x05"
33443                           "\x54\xb3\x99\xa4\xfe\xa9\xd5\xb5"
33444                           "\x3b\x72\x83\xf6\xe2\xf9\x88\x0e"
33445                           "\x20\x80\x3e\x4e\x8f\xa1\x75\x69"
33446                           "\x43\x5a\x7c\x38\x62\x51\xb5\xb7"
33447                           "\x84\x95\x3f\x6d\x24\xcc\xfd\x4b"
33448                           "\x4a\xaa\x97\x83\x6d\x16\xa8\xc5"
33449                           "\x18\xd9\xb9\xfe\xe2\x3f\xe8\xbd"
33450                           "\x37\x44\xdf\x79\x3b\x34\x19\x1a"
33451                           "\x65\x5e\xc7\x61\x1f\x17\x5e\x84"
33452                           "\x20\x72\x32\x98\x8c\x9e\xac\x1f"
33453                           "\x6e\x32\xae\x86\x46\x4f\x0f\x64"
33454                           "\x3f\xce\x96\xe6\x02\x41\x53\x1f"
33455                           "\x35\x30\x57\x7f\xfe\xb7\x47\xb9"
33456                           "\x0c\x2f\x14\x34\x9b\x1c\x88\x17"
33457                           "\xb5\xe5\x94\x17\x3e\xdc\x4d\x49"
33458                           "\xe1\x5d\x75\x3e\xa6\x16\x42\xd4"
33459                           "\x59\xb5\x24\x7c\x4c\x54\x1c\xf9"
33460                           "\xd6\xed\x69\x22\x5f\x74\xc9\xa9"
33461                           "\x7c\xb8\x09\xa7\xf9\x2b\x0d\x5f"
33462                           "\x42\xff\x4e\x57\xde\x0c\x67\x45"
33463                           "\xa4\x6e\xa0\x7e\x28\x34\xc5\xfe"
33464                           "\x58\x7e\xda\xec\x9f\x0b\x31\x2a"
33465                           "\x1f\x1b\x98\xad\x14\xcf\x9f\x96"
33466                           "\xf8\x87\x0e\x14\x19\x81\x23\x53"
33467                           "\x5f\x38\x08\xd9\xc1\xcb\xb2\xc5"
33468                           "\x19\x72\x75\x01\xd4\xcf\xd9\x91"
33469                           "\xfc\x48\xcc\xa3\x3c\xe6\x4c\xc6"
33470                           "\x73\xde\x5e\x90\xce\x6c\x85\x43"
33471                           "\x0d\xdf\xe3\x8c\x02\x62\xef\xac"
33472                           "\xb8\x05\x80\x81\xf6\x22\x30\xad"
33473                           "\x30\xa8\xcb\x55\x1e\xe6\x05\x7f"
33474                           "\xc5\x58\x1a\x78\xb7\x2f\x8e\x3c"
33475                           "\x80\x09\xca\xa2\x9a\x72\xeb\x10"
33476                           "\x84\x54\xaa\x98\x35\x5e\xb1\xc2"
33477                           "\xb7\x73\x14\x69\xef\xf8\x28\x43"
33478                           "\x36\xd3\x10\x0a\xd6\x69\xf8\xc8"
33479                           "\xbb\xe9\xe9\xf9\x29\x52\xf8\x6f"
33480                           "\x12\x78\xf9\xc6\xb2\x12\xfd\x39"
33481                           "\xa9\xeb\xe2\x47\xb9\x22\xc5\x8f"
33482                           "\x4d\xb1\x17\x40\x02\x84\xed\x53"
33483                           "\xc5\xfa\xc1\xcd\x59\x56\x93\xaa"
33484                           "\x3f\x23\x3f\x02\xb7\xe9\x6e\xa0"
33485                           "\xbc\x96\xb8\xb2\xf8\x04\x19\x87"
33486                           "\xe9\x4f\x29\xbf\x3a\xcb\x6d\x48"
33487                           "\xc9\xe7\x1f\xb7\xa8\xf8\xd4\xb4"
33488                           "\x6d\x0f\xb4\xf6\x44\x11\x0f\xf7"
33489                           "\x3d\xd2\x36\x05\x67\xa1\x46\x81"
33490                           "\x90\xe9\x60\x64\xfa\x52\x87\x37"
33491                           "\x44\x01\xbd\x58\xe1\xda\xda\x1e"
33492                           "\xa7\x09\xf7\x43\x31\x2b\x4b\x55"
33493                           "\xbd\x0d\x53\x7f\x12\x6c\xf5\x07"
33494                           "\xfc\x61\xda\xd6\x0a\xbd\x89\x5f"
33495                           "\x2c\xf5\xa8\x1f\x0d\x60\xe4\x3c"
33496                           "\x5d\x94\x8a\x1f\x64\xce\xd5\x16"
33497                           "\x73\xbc\xbe\xb1\x85\x28\xcb\x0b"
33498                           "\x47\x5c\x1f\x66\x25\x89\x61\x6a"
33499                           "\xa7\xcd\xf8\x1b\x31\x88\x42\x71"
33500                           "\x58\x65\x53\xd5\xc0\xa3\x56\x2e"
33501                           "\xb6\x86\x9e\x13\x78\x34\x36\x85"
33502                           "\xbb\xce\x6e\x54\x33\xb9\x97\xc5"
33503                           "\x72\xb8\xe0\x13\x34\x04\xbf\x83"
33504                           "\xbf\x78\x1d\x7c\x23\x34\x90\xe0"
33505                           "\x57\xd4\x3f\xc6\x61\xe3\xca\x96"
33506                           "\x13\xdd\x9e\x20\x51\x18\x73\x37"
33507                           "\x69\x37\xfb\xe5\x60\x1f\xf2\xa1"
33508                           "\xef\xa2\x6e\x16\x32\x8e\xc3\xb6"
33509                           "\x21\x5e\xc2\x1c\xb6\xc6\x96\x72"
33510                           "\x4f\xa6\x85\x69\xa9\x5d\xb2\x2e"
33511                           "\xac\xfe\x6e\xc3\xe7\xb3\x51\x08"
33512                           "\x66\x2a\xac\x59\xb3\x73\x86\xae"
33513                           "\x6d\x85\x97\x37\x68\xef\xa7\x85"
33514                           "\xb7\xdd\xdd\xd9\x85\xc9\x57\x01"
33515                           "\x10\x2b\x9a\x1e\x44\x12\x87\xa5"
33516                           "\x60\x1f\x88\xae\xbf\x14\x2d\x05"
33517                           "\x4c\x60\x85\x8a\x45\xac\x0f\xc2",
33518                 .len    = 4096,
33519         }
33520 };
33521
33522 /* Adiantum with XChaCha20 instead of XChaCha12 */
33523 /* Test vectors from https://github.com/google/adiantum */
33524 static const struct cipher_testvec adiantum_xchacha20_aes_tv_template[] = {
33525         {
33526                 .key    = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
33527                           "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
33528                           "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
33529                           "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
33530                 .klen   = 32,
33531                 .iv     = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
33532                           "\x33\x81\x37\x60\x7d\xfa\x73\x08"
33533                           "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
33534                           "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
33535                 .ptext  = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
33536                           "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
33537                 .ctext  = "\xf6\x78\x97\xd6\xaa\x94\x01\x27"
33538                           "\x2e\x4d\x83\xe0\x6e\x64\x9a\xdf",
33539                 .len    = 16,
33540         }, {
33541                 .key    = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
33542                           "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
33543                           "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
33544                           "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
33545                 .klen   = 32,
33546                 .iv     = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
33547                           "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
33548                           "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
33549                           "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
33550                 .ptext  = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
33551                           "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
33552                           "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
33553                           "\x43\x5a\x46\x06\x94\x2d\xf2",
33554                 .ctext  = "\x4b\xb8\x90\x10\xdf\x7f\x64\x08"
33555                           "\x0e\x14\x42\x5f\x00\x74\x09\x36"
33556                           "\x57\x72\xb5\xfd\xb5\x5d\xb8\x28"
33557                           "\x0c\x04\x91\x14\x91\xe9\x37",
33558                 .len    = 31,
33559         }, {
33560                 .key    = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
33561                           "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
33562                           "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
33563                           "\x19\x09\x00\xa9\x04\x31\x4f\x11",
33564                 .klen   = 32,
33565                 .iv     = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
33566                           "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
33567                           "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
33568                           "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
33569                 .ptext  = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
33570                           "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
33571                           "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
33572                           "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
33573                           "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
33574                           "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
33575                           "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
33576                           "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
33577                           "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
33578                           "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
33579                           "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
33580                           "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
33581                           "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
33582                           "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
33583                           "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
33584                           "\x56\x65\xc5\x54\x23\x28\xb0\x03",
33585                 .ctext  = "\xb1\x8b\xa0\x05\x77\xa8\x4d\x59"
33586                           "\x1b\x8e\x21\xfc\x3a\x49\xfa\xd4"
33587                           "\xeb\x36\xf3\xc4\xdf\xdc\xae\x67"
33588                           "\x07\x3f\x70\x0e\xe9\x66\xf5\x0c"
33589                           "\x30\x4d\x66\xc9\xa4\x2f\x73\x9c"
33590                           "\x13\xc8\x49\x44\xcc\x0a\x90\x9d"
33591                           "\x7c\xdd\x19\x3f\xea\x72\x8d\x58"
33592                           "\xab\xe7\x09\x2c\xec\xb5\x44\xd2"
33593                           "\xca\xa6\x2d\x7a\x5c\x9c\x2b\x15"
33594                           "\xec\x2a\xa6\x69\x91\xf9\xf3\x13"
33595                           "\xf7\x72\xc1\xc1\x40\xd5\xe1\x94"
33596                           "\xf4\x29\xa1\x3e\x25\x02\xa8\x3e"
33597                           "\x94\xc1\x91\x14\xa1\x14\xcb\xbe"
33598                           "\x67\x4c\xb9\x38\xfe\xa7\xaa\x32"
33599                           "\x29\x62\x0d\xb2\xf6\x3c\x58\x57"
33600                           "\xc1\xd5\x5a\xbb\xd6\xa6\x2a\xe5",
33601                 .len    = 128,
33602         }, {
33603                 .key    = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
33604                           "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
33605                           "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
33606                           "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
33607                 .klen   = 32,
33608                 .iv     = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
33609                           "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
33610                           "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
33611                           "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
33612                 .ptext  = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
33613                           "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
33614                           "\x05\xa3\x69\x60\x91\x36\x98\x57"
33615                           "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
33616                           "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
33617                           "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
33618                           "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
33619                           "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
33620                           "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
33621                           "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
33622                           "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
33623                           "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
33624                           "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
33625                           "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
33626                           "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
33627                           "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
33628                           "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
33629                           "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
33630                           "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
33631                           "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
33632                           "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
33633                           "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
33634                           "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
33635                           "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
33636                           "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
33637                           "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
33638                           "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
33639                           "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
33640                           "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
33641                           "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
33642                           "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
33643                           "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
33644                           "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
33645                           "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
33646                           "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
33647                           "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
33648                           "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
33649                           "\xd7\x31\x87\x89\x09\xab\xd5\x96"
33650                           "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
33651                           "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
33652                           "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
33653                           "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
33654                           "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
33655                           "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
33656                           "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
33657                           "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
33658                           "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
33659                           "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
33660                           "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
33661                           "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
33662                           "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
33663                           "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
33664                           "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
33665                           "\x17\x7c\x25\x48\x52\x67\x11\x27"
33666                           "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
33667                           "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
33668                           "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
33669                           "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
33670                           "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
33671                           "\x79\x50\x33\xca\xd0\xd7\x42\x55"
33672                           "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
33673                           "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
33674                           "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
33675                           "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
33676                 .ctext  = "\xe0\x33\xf6\xe0\xb4\xa5\xdd\x2b"
33677                           "\xdd\xce\xfc\x12\x1e\xfc\x2d\xf2"
33678                           "\x8b\xc7\xeb\xc1\xc4\x2a\xe8\x44"
33679                           "\x0f\x3d\x97\x19\x2e\x6d\xa2\x38"
33680                           "\x9d\xa6\xaa\xe1\x96\xb9\x08\xe8"
33681                           "\x0b\x70\x48\x5c\xed\xb5\x9b\xcb"
33682                           "\x8b\x40\x88\x7e\x69\x73\xf7\x16"
33683                           "\x71\xbb\x5b\xfc\xa3\x47\x5d\xa6"
33684                           "\xae\x3a\x64\xc4\xe7\xb8\xa8\xe7"
33685                           "\xb1\x32\x19\xdb\xe3\x01\xb8\xf0"
33686                           "\xa4\x86\xb4\x4c\xc2\xde\x5c\xd2"
33687                           "\x6c\x77\xd2\xe8\x18\xb7\x0a\xc9"
33688                           "\x3d\x53\xb5\xc4\x5c\xf0\x8c\x06"
33689                           "\xdc\x90\xe0\x74\x47\x1b\x0b\xf6"
33690                           "\xd2\x71\x6b\xc4\xf1\x97\x00\x2d"
33691                           "\x63\x57\x44\x1f\x8c\xf4\xe6\x9b"
33692                           "\xe0\x7a\xdd\xec\x32\x73\x42\x32"
33693                           "\x7f\x35\x67\x60\x0d\xcf\x10\x52"
33694                           "\x61\x22\x53\x8d\x8e\xbb\x33\x76"
33695                           "\x59\xd9\x10\xce\xdf\xef\xc0\x41"
33696                           "\xd5\x33\x29\x6a\xda\x46\xa4\x51"
33697                           "\xf0\x99\x3d\x96\x31\xdd\xb5\xcb"
33698                           "\x3e\x2a\x1f\xc7\x5c\x79\xd3\xc5"
33699                           "\x20\xa1\xb1\x39\x1b\xc6\x0a\x70"
33700                           "\x26\x39\x95\x07\xad\x7a\xc9\x69"
33701                           "\xfe\x81\xc7\x88\x08\x38\xaf\xad"
33702                           "\x9e\x8d\xfb\xe8\x24\x0d\x22\xb8"
33703                           "\x0e\xed\xbe\x37\x53\x7c\xa6\xc6"
33704                           "\x78\x62\xec\xa3\x59\xd9\xc6\x9d"
33705                           "\xb8\x0e\x69\x77\x84\x2d\x6a\x4c"
33706                           "\xc5\xd9\xb2\xa0\x2b\xa8\x80\xcc"
33707                           "\xe9\x1e\x9c\x5a\xc4\xa1\xb2\x37"
33708                           "\x06\x9b\x30\x32\x67\xf7\xe7\xd2"
33709                           "\x42\xc7\xdf\x4e\xd4\xcb\xa0\x12"
33710                           "\x94\xa1\x34\x85\x93\x50\x4b\x0a"
33711                           "\x3c\x7d\x49\x25\x01\x41\x6b\x96"
33712                           "\xa9\x12\xbb\x0b\xc0\xd7\xd0\x93"
33713                           "\x1f\x70\x38\xb8\x21\xee\xf6\xa7"
33714                           "\xee\xeb\xe7\x81\xa4\x13\xb4\x87"
33715                           "\xfa\xc1\xb0\xb5\x37\x8b\x74\xa2"
33716                           "\x4e\xc7\xc2\xad\x3d\x62\x3f\xf8"
33717                           "\x34\x42\xe5\xae\x45\x13\x63\xfe"
33718                           "\xfc\x2a\x17\x46\x61\xa9\xd3\x1c"
33719                           "\x4c\xaf\xf0\x09\x62\x26\x66\x1e"
33720                           "\x74\xcf\xd6\x68\x3d\x7d\xd8\xb7"
33721                           "\xe7\xe6\xf8\xf0\x08\x20\xf7\x47"
33722                           "\x1c\x52\xaa\x0f\x3e\x21\xa3\xf2"
33723                           "\xbf\x2f\x95\x16\xa8\xc8\xc8\x8c"
33724                           "\x99\x0f\x5d\xfb\xfa\x2b\x58\x8a"
33725                           "\x7e\xd6\x74\x02\x60\xf0\xd0\x5b"
33726                           "\x65\xa8\xac\xea\x8d\x68\x46\x34"
33727                           "\x26\x9d\x4f\xb1\x9a\x8e\xc0\x1a"
33728                           "\xf1\xed\xc6\x7a\x83\xfd\x8a\x57"
33729                           "\xf2\xe6\xe4\xba\xfc\xc6\x3c\xad"
33730                           "\x5b\x19\x50\x2f\x3a\xcc\x06\x46"
33731                           "\x04\x51\x3f\x91\x97\xf0\xd2\x07"
33732                           "\xe7\x93\x89\x7e\xb5\x32\x0f\x03"
33733                           "\xe5\x58\x9e\x74\x72\xeb\xc2\x38"
33734                           "\x00\x0c\x91\x72\x69\xed\x7d\x6d"
33735                           "\xc8\x71\xf0\xec\xff\x80\xd9\x1c"
33736                           "\x9e\xd2\xfa\x15\xfc\x6c\x4e\xbc"
33737                           "\xb1\xa6\xbd\xbd\x70\x40\xca\x20"
33738                           "\xb8\x78\xd2\xa3\xc6\xf3\x79\x9c"
33739                           "\xc7\x27\xe1\x6a\x29\xad\xa4\x03",
33740                 .len    = 512,
33741         }, {
33742                 .key    = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
33743                           "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
33744                           "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
33745                           "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
33746                 .klen   = 32,
33747                 .iv     = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
33748                           "\x88\x76\x65\xb4\x1a\x29\x27\x12"
33749                           "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
33750                           "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
33751                 .ptext  = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
33752                           "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
33753                           "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
33754                           "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
33755                           "\x38\x24\x62\xdb\x65\x82\x10\x7f"
33756                           "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
33757                           "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
33758                           "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
33759                           "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
33760                           "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
33761                           "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
33762                           "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
33763                           "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
33764                           "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
33765                           "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
33766                           "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
33767                           "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
33768                           "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
33769                           "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
33770                           "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
33771                           "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
33772                           "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
33773                           "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
33774                           "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
33775                           "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
33776                           "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
33777                           "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
33778                           "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
33779                           "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
33780                           "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
33781                           "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
33782                           "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
33783                           "\x28\x04\x4c\xff\x98\x20\x08\x10"
33784                           "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
33785                           "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
33786                           "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
33787                           "\x24\x62\xcf\x17\x36\x84\xc0\x72"
33788                           "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
33789                           "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
33790                           "\x71\x73\x08\x4e\x22\x31\xfd\x88"
33791                           "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
33792                           "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
33793                           "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
33794                           "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
33795                           "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
33796                           "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
33797                           "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
33798                           "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
33799                           "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
33800                           "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
33801                           "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
33802                           "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
33803                           "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
33804                           "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
33805                           "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
33806                           "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
33807                           "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
33808                           "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
33809                           "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
33810                           "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
33811                           "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
33812                           "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
33813                           "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
33814                           "\x85\x12\xca\x61\x65\xd1\x66\xd8"
33815                           "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
33816                           "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
33817                           "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
33818                           "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
33819                           "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
33820                           "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
33821                           "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
33822                           "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
33823                           "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
33824                           "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
33825                           "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
33826                           "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
33827                           "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
33828                           "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
33829                           "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
33830                           "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
33831                           "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
33832                           "\x16\xcb\xae\x7d\x38\x21\x67\x74"
33833                           "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
33834                           "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
33835                           "\xa8\x88\x27\x86\x44\x75\x5b\x29"
33836                           "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
33837                           "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
33838                           "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
33839                           "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
33840                           "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
33841                           "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
33842                           "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
33843                           "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
33844                           "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
33845                           "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
33846                           "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
33847                           "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
33848                           "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
33849                           "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
33850                           "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
33851                           "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
33852                           "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
33853                           "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
33854                           "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
33855                           "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
33856                           "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
33857                           "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
33858                           "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
33859                           "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
33860                           "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
33861                           "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
33862                           "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
33863                           "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
33864                           "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
33865                           "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
33866                           "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
33867                           "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
33868                           "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
33869                           "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
33870                           "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
33871                           "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
33872                           "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
33873                           "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
33874                           "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
33875                           "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
33876                           "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
33877                           "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
33878                           "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
33879                           "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
33880                           "\x55\x9a\xe0\x09\x21\xac\x61\x85"
33881                           "\x4b\x20\x95\x73\x63\x26\xe3\x83"
33882                           "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
33883                           "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
33884                           "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
33885                           "\x98\x09\x11\xb7\x00\x06\x24\x5a"
33886                           "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
33887                           "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
33888                           "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
33889                           "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
33890                           "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
33891                           "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
33892                           "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
33893                           "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
33894                           "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
33895                           "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
33896                           "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
33897                           "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
33898                           "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
33899                           "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
33900                           "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
33901                           "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
33902                           "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
33903                           "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
33904                           "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
33905                           "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
33906                           "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
33907                           "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
33908                           "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
33909                           "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
33910                           "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
33911                           "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
33912                           "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
33913                           "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
33914                           "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
33915                           "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
33916                           "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
33917                           "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
33918                           "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
33919                           "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
33920                           "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
33921                           "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
33922                           "\x62\x96\x79\x0c\x81\x05\x41\xf2"
33923                           "\x07\x20\x26\xe5\x8e\x10\x54\x03"
33924                           "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
33925                           "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
33926                           "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
33927                           "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
33928                           "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
33929                           "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
33930                           "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
33931                           "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
33932                           "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
33933                           "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
33934                           "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
33935                           "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
33936                           "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
33937                           "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
33938                           "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
33939                           "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
33940                           "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
33941                           "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
33942                           "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
33943                 .ctext  = "\xfc\x02\x83\x13\x73\x06\x70\x3f"
33944                           "\x71\x28\x98\x61\xe5\x2c\x45\x49"
33945                           "\x18\xa2\x0e\x17\xc9\xdb\x4d\xf6"
33946                           "\xbe\x05\x02\x35\xc1\x18\x61\x28"
33947                           "\xff\x28\x0a\xd9\x00\xb8\xed\xec"
33948                           "\x14\x80\x88\x56\xcf\x98\x32\xcc"
33949                           "\xb0\xee\xb4\x5e\x2d\x61\x59\xcb"
33950                           "\x48\xc9\x25\xaa\x7e\x5f\xe5\x4f"
33951                           "\x95\x8f\x5d\x47\xe8\xc3\x09\xb4"
33952                           "\xce\xe7\x74\xcd\xc6\x09\x5c\xfc"
33953                           "\xc7\x79\xc9\x39\xe4\xe3\x9b\x59"
33954                           "\x67\x61\x10\xc9\xb7\x7a\xa8\x11"
33955                           "\x59\xf6\x7a\x67\x1c\x3a\x70\x76"
33956                           "\x2e\x0e\xbd\x10\x93\x01\x06\xea"
33957                           "\x51\xc6\x5c\xa7\xda\xd1\x7d\x06"
33958                           "\x8b\x1d\x5b\xb6\x87\xf0\x32\xbe"
33959                           "\xff\x55\xaa\x58\x5a\x28\xd1\x64"
33960                           "\x45\x3b\x0b\x5c\xee\xc4\x12\x2d"
33961                           "\x1f\xb7\xa5\x73\xf5\x20\xf5\xa8"
33962                           "\x10\x9d\xd8\x16\xd2\x05\x4d\x49"
33963                           "\x99\x4a\x71\x56\xec\xa3\xc7\x27"
33964                           "\xb0\x98\xcd\x59\x3c\x8a\xd1\x9e"
33965                           "\x33\xa5\x92\xf2\xb7\x87\x23\x5d"
33966                           "\x53\x9a\x8e\x7c\x63\x57\x5e\x9a"
33967                           "\x21\x54\x7a\x3c\x5a\xd5\x68\x69"
33968                           "\x35\x17\x51\x06\x19\x82\x9d\x44"
33969                           "\x9e\x8a\x75\xc5\x16\x55\xa4\x78"
33970                           "\x95\x63\xc3\xf0\x91\x73\x77\x44"
33971                           "\x0c\xff\xb9\xb3\xa7\x5f\xcf\x2a"
33972                           "\xa2\x54\x9c\xe3\x8b\x7e\x9d\x65"
33973                           "\xe5\x64\x8b\xbe\x06\x3a\x90\x31"
33974                           "\xdb\x42\x78\xe9\xe6\x8a\xae\xba"
33975                           "\x8f\xfb\xc9\x3d\xd9\xc2\x3e\x57"
33976                           "\xd5\x58\xfe\x70\x44\xe5\x2a\xd5"
33977                           "\x87\xcf\x9f\x6a\x02\xde\x48\xe9"
33978                           "\x13\xed\x8d\x2b\xf2\xa1\x56\x07"
33979                           "\x36\x2d\xcf\xc3\x5c\xd4\x4b\x20"
33980                           "\xb0\xdf\x1a\x70\xed\x0a\xe4\x2e"
33981                           "\x9a\xfc\x88\xa1\xc4\x2d\xd6\xb8"
33982                           "\xf1\x6e\x2c\x5c\xdc\x0e\xb0\x21"
33983                           "\x2d\x76\xb8\xc3\x05\x4c\xf5\xc5"
33984                           "\x9a\x14\xab\x08\xc2\x67\x59\x30"
33985                           "\x7a\xef\xd8\x4a\x89\x49\xd4\xf0"
33986                           "\x22\x39\xf2\x61\xaa\x70\x36\xcf"
33987                           "\x65\xee\x43\x83\x2e\x32\xe4\xc9"
33988                           "\xc2\xf1\xc7\x08\x28\x59\x10\x6f"
33989                           "\x7a\xeb\x8f\x78\x9e\xdf\x07\x0f"
33990                           "\xca\xc7\x02\x6a\x2e\x2a\xf0\x64"
33991                           "\xfa\x4c\x8c\x4c\xfc\x13\x23\x63"
33992                           "\x54\xeb\x1d\x41\xdf\x88\xd6\x66"
33993                           "\xae\x5e\x31\x74\x5d\x84\x65\xb8"
33994                           "\x61\x1c\x88\x1b\x8f\xb6\x14\x4e"
33995                           "\x73\x23\x27\x71\x85\x04\x07\x59"
33996                           "\x18\xa3\x2b\x69\x2a\x42\x81\xbf"
33997                           "\x40\xf4\x40\xdf\x04\xb8\x6c\x2e"
33998                           "\x21\x5b\x22\x25\x61\x01\x96\xce"
33999                           "\xfb\xbc\x75\x25\x2c\x03\x55\xea"
34000                           "\xb6\x56\x31\x03\xc8\x98\x77\xd6"
34001                           "\x30\x19\x9e\x45\x05\xfd\xca\xdf"
34002                           "\xae\x89\x30\xa3\xc1\x65\x41\x67"
34003                           "\x12\x8e\xa4\x61\xd0\x87\x04\x0a"
34004                           "\xe6\xf3\x43\x3a\x38\xce\x22\x36"
34005                           "\x41\xdc\xe1\x7d\xd2\xa6\xe2\x66"
34006                           "\x21\x8d\xc9\x59\x73\x52\x34\xd8"
34007                           "\x1f\xf1\x87\x00\x9b\x12\x74\xeb"
34008                           "\xbb\xa9\x34\x0c\x8e\x79\x74\x64"
34009                           "\xbf\x94\x97\xe4\x94\xda\xf0\x39"
34010                           "\x66\xa8\xd9\x82\xe3\x11\x3d\xe7"
34011                           "\xb3\x9a\x40\x7a\x6f\x71\xc7\x0f"
34012                           "\x7b\x6d\x59\x79\x18\x2f\x11\x60"
34013                           "\x1e\xe0\xae\x1b\x1b\xb4\xad\x4d"
34014                           "\x63\xd9\x3e\xa0\x8f\xe3\x66\x8c"
34015                           "\xfe\x5a\x73\x07\x95\x27\x1a\x07"
34016                           "\x6e\xd6\x14\x3f\xbe\xc5\x99\x94"
34017                           "\xcf\x40\xf4\x39\x1c\xf2\x99\x5b"
34018                           "\xb7\xfb\xb4\x4e\x5f\x21\x10\x04"
34019                           "\x24\x08\xd4\x0d\x10\x7a\x2f\x52"
34020                           "\x7d\x91\xc3\x38\xd3\x16\xf0\xfd"
34021                           "\x53\xba\xda\x88\xa5\xf6\xc7\xfd"
34022                           "\x63\x4a\x9f\x48\xb5\x31\xc2\xe1"
34023                           "\x7b\x3e\xac\x8d\xc9\x95\x02\x92"
34024                           "\xcc\xbd\x0e\x15\x2d\x97\x08\x82"
34025                           "\xa6\x99\xbc\x2c\x96\x91\xde\xa4"
34026                           "\x9c\xf5\x2c\xef\x12\x29\xb0\x72"
34027                           "\x5f\x60\x5d\x3d\xf3\x85\x59\x79"
34028                           "\xac\x06\x63\x74\xcc\x1a\x8d\x0e"
34029                           "\xa7\x5f\xd9\x3e\x84\xf7\xbb\xde"
34030                           "\x06\xd9\x4b\xab\xee\xb2\x03\xbe"
34031                           "\x68\x49\x72\x84\x8e\xf8\x45\x2b"
34032                           "\x59\x99\x17\xd3\xe9\x32\x79\xc3"
34033                           "\x83\x4c\x7a\x6c\x71\x53\x8c\x09"
34034                           "\x76\xfb\x3e\x80\x99\xbc\x2c\x7d"
34035                           "\x42\xe5\x70\x08\x80\xc7\xaf\x15"
34036                           "\x90\xda\x98\x98\x81\x04\x1c\x4d"
34037                           "\x78\xf1\xf3\xcc\x1b\x3a\x7b\xef"
34038                           "\xea\xe1\xee\x0e\xd2\x32\xb6\x63"
34039                           "\xbf\xb2\xb5\x86\x8d\x16\xd3\x23"
34040                           "\x04\x59\x51\xbb\x17\x03\xc0\x07"
34041                           "\x93\xbf\x72\x58\x30\xf2\x0a\xa2"
34042                           "\xbc\x60\x86\x3b\x68\x91\x67\x14"
34043                           "\x10\x76\xda\xa3\x98\x2d\xfc\x8a"
34044                           "\xb8\x95\xf7\xd2\x8b\x97\x8b\xfc"
34045                           "\xf2\x9e\x86\x20\xb6\xdf\x93\x41"
34046                           "\x06\x5e\x37\x3e\xe2\xb8\xd5\x06"
34047                           "\x59\xd2\x8d\x43\x91\x5a\xed\x94"
34048                           "\x54\xc2\x77\xbc\x0b\xb4\x29\x80"
34049                           "\x22\x19\xe7\x35\x1f\x29\x4f\xd8"
34050                           "\x02\x98\xee\x83\xca\x4c\x94\xa3"
34051                           "\xec\xde\x4b\xf5\xca\x57\x93\xa3"
34052                           "\x72\x69\xfe\x27\x7d\x39\x24\x9a"
34053                           "\x60\x19\x72\xbe\x24\xb2\x2d\x99"
34054                           "\x8c\xb7\x32\xf8\x74\x77\xfc\x8d"
34055                           "\xb2\xc1\x7a\x88\x28\x26\xea\xb7"
34056                           "\xad\xf0\x38\x49\x88\x78\x73\xcd"
34057                           "\x01\xef\xb9\x30\x1a\x33\xa3\x24"
34058                           "\x9b\x0b\xc5\x89\x64\x3f\xbe\x76"
34059                           "\xd5\xa5\x28\x74\xa2\xc6\xa0\xa0"
34060                           "\xdd\x13\x81\x64\x2f\xd1\xab\x15"
34061                           "\xab\x13\xb5\x68\x59\xa4\x9f\x0e"
34062                           "\x1e\x0a\xaf\xf7\x0b\x6e\x6b\x0b"
34063                           "\xf7\x95\x4c\xbc\x1d\x40\x6d\x9c"
34064                           "\x08\x42\xef\x07\x03\xb7\xa3\xea"
34065                           "\x2a\x5f\xec\x41\x3c\x72\x31\x9d"
34066                           "\xdc\x6b\x3a\x5e\x35\x3d\x12\x09"
34067                           "\x27\xe8\x63\xbe\xcf\xb3\xbc\x01"
34068                           "\x2d\x0c\x86\xb2\xab\x4a\x69\xe5"
34069                           "\xf8\x45\x97\x76\x0e\x31\xe5\xc6"
34070                           "\x4c\x4f\x94\xa5\x26\x19\x9f\x1b"
34071                           "\xe1\xf4\x79\x04\xb4\x93\x92\xdc"
34072                           "\xa5\x2a\x66\x25\x0d\xb2\x9e\xea"
34073                           "\xa8\xf6\x02\x77\x2d\xd1\x3f\x59"
34074                           "\x5c\x04\xe2\x36\x52\x5f\xa1\x27"
34075                           "\x0a\x07\x56\xb6\x2d\xd5\x90\x32"
34076                           "\x64\xee\x3f\x42\x8f\x61\xf8\xa0"
34077                           "\xc1\x8b\x1e\x0b\xa2\x73\xa9\xf3"
34078                           "\xc9\x0e\xb1\x96\x3a\x67\x5f\x1e"
34079                           "\xd1\x98\x57\xa2\xba\xb3\x23\x9d"
34080                           "\xa3\xc6\x3c\x7d\x5e\x3e\xb3\xe8"
34081                           "\x80\xae\x2d\xda\x85\x90\x69\x3c"
34082                           "\xf0\xe7\xdd\x9e\x20\x10\x52\xdb"
34083                           "\xc3\xa0\x15\x73\xee\xb1\xf1\x0f"
34084                           "\xf1\xf8\x3f\x40\xe5\x17\x80\x4e"
34085                           "\x91\x95\xc7\xec\xd1\x9c\xd9\x1a"
34086                           "\x8b\xac\xec\xc9\x0c\x07\xf4\xdc"
34087                           "\x77\x2d\xa2\xc4\xf8\x27\xb5\x41"
34088                           "\x2f\x85\xa6\x48\xad\x2a\x58\xc5"
34089                           "\xea\xfa\x1c\xdb\xfd\xb7\x70\x45"
34090                           "\xfc\xad\x11\xaf\x05\xed\xbf\xb6"
34091                           "\x3c\xe1\x57\xb8\x72\x4a\xa0\x6b"
34092                           "\x40\xd3\xda\xa9\xbc\xa5\x02\x95"
34093                           "\x8c\xf0\x4e\x67\xb2\x58\x66\xea"
34094                           "\x58\x0e\xc4\x88\xbc\x1d\x3b\x15"
34095                           "\x17\xc8\xf5\xd0\x69\x08\x0a\x01"
34096                           "\x80\x2e\x9e\x69\x4c\x37\x0b\xba"
34097                           "\xfb\x1a\xa9\xc3\x5f\xec\x93\x7c"
34098                           "\x4f\x72\x68\x1a\x05\xa1\x32\xe1"
34099                           "\x16\x57\x9e\xa6\xe0\x42\xfa\x76"
34100                           "\xc2\xf6\xd3\x9b\x37\x0d\xa3\x58"
34101                           "\x30\x27\xe7\xea\xb1\xc3\x43\xfb"
34102                           "\x67\x04\x70\x86\x0a\x71\x69\x34"
34103                           "\xca\xb1\xe3\x4a\x56\xc9\x29\xd1"
34104                           "\x12\x6a\xee\x89\xfd\x27\x83\xdf"
34105                           "\x32\x1a\xc2\xe9\x94\xcc\x44\x2e"
34106                           "\x0f\x3e\xc8\xc1\x70\x5b\xb0\xe8"
34107                           "\x6d\x47\xe3\x39\x75\xd5\x45\x8a"
34108                           "\x48\x4c\x64\x76\x6f\xae\x24\x6f"
34109                           "\xae\x77\x33\x5b\xf5\xca\x9c\x30"
34110                           "\x2c\x27\x15\x5e\x9c\x65\xad\x2a"
34111                           "\x88\xb1\x36\xf6\xcd\x5e\x73\x72"
34112                           "\x99\x5c\xe2\xe4\xb8\x3e\x12\xfb"
34113                           "\x55\x86\xfa\xab\x53\x12\xdc\x6a"
34114                           "\xe3\xfe\x6a\xeb\x9b\x5d\xeb\x72"
34115                           "\x9d\xf1\xbb\x80\x80\x76\x2d\x57"
34116                           "\x11\xde\xcf\xae\x46\xad\xdb\xcd"
34117                           "\x62\x66\x3d\x7b\x7f\xcb\xc4\x43"
34118                           "\x81\x0c\x7e\xb9\xb7\x47\x1a\x40"
34119                           "\xfd\x08\x51\xbe\x01\x1a\xd8\x31"
34120                           "\x43\x5e\x24\x91\xa2\x53\xa1\xc5"
34121                           "\x8a\xe4\xbc\x00\x8e\xf7\x0c\x30"
34122                           "\xdf\x03\x34\x2f\xce\xe4\x2e\xda"
34123                           "\x2b\x87\xfc\xf8\x9b\x50\xd5\xb0"
34124                           "\x5b\x08\xc6\x17\xa0\xae\x6b\x24"
34125                           "\xe2\x1d\xd0\x47\xbe\xc4\x8f\x62"
34126                           "\x1d\x12\x26\xc7\x78\xd4\xf2\xa3"
34127                           "\xea\x39\x8c\xcb\x54\x3e\x2b\xb9"
34128                           "\x9a\x8f\x97\xcf\x68\x53\x40\x02"
34129                           "\x56\xac\x52\xbb\x62\x3c\xc6\x3f"
34130                           "\x3a\x53\x3c\xe8\x21\x9a\x60\x65"
34131                           "\x10\x6e\x59\xc3\x4f\xc3\x07\xc8"
34132                           "\x61\x1c\xea\x62\x6e\xa2\x5a\x12"
34133                           "\xd6\x10\x91\xbe\x5e\x58\x73\xbe"
34134                           "\x77\xb8\xb7\x98\xc7\x7e\x78\x9a",
34135                 .len    = 1536,
34136         }, {
34137                 .key    = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
34138                           "\x70\x47\x8c\xea\x87\x30\x1d\x58"
34139                           "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
34140                           "\x56\x95\x83\x98\x38\x80\x84\x8a",
34141                 .klen   = 32,
34142                 .iv     = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
34143                           "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
34144                           "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
34145                           "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
34146                 .ptext  = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
34147                           "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
34148                           "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
34149                           "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
34150                           "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
34151                           "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
34152                           "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
34153                           "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
34154                           "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
34155                           "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
34156                           "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
34157                           "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
34158                           "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
34159                           "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
34160                           "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
34161                           "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
34162                           "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
34163                           "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
34164                           "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
34165                           "\x35\x21\x66\x78\x3d\xb6\x65\x83"
34166                           "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
34167                           "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
34168                           "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
34169                           "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
34170                           "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
34171                           "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
34172                           "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
34173                           "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
34174                           "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
34175                           "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
34176                           "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
34177                           "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
34178                           "\x96\x87\xc9\x34\x02\x26\xde\x20"
34179                           "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
34180                           "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
34181                           "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
34182                           "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
34183                           "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
34184                           "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
34185                           "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
34186                           "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
34187                           "\x85\xfd\x22\x08\x00\xae\x72\x10"
34188                           "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
34189                           "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
34190                           "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
34191                           "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
34192                           "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
34193                           "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
34194                           "\x93\x45\x38\x95\xb9\x69\xe9\x62"
34195                           "\x21\x73\xbd\x81\x73\xac\x15\x74"
34196                           "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
34197                           "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
34198                           "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
34199                           "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
34200                           "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
34201                           "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
34202                           "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
34203                           "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
34204                           "\x24\x43\xb3\x0e\xba\xad\x63\x63"
34205                           "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
34206                           "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
34207                           "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
34208                           "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
34209                           "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
34210                           "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
34211                           "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
34212                           "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
34213                           "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
34214                           "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
34215                           "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
34216                           "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
34217                           "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
34218                           "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
34219                           "\x9d\x46\xae\x67\x00\x3b\x40\x94"
34220                           "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
34221                           "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
34222                           "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
34223                           "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
34224                           "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
34225                           "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
34226                           "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
34227                           "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
34228                           "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
34229                           "\x76\xca\x9f\x56\xae\x04\x2e\x75"
34230                           "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
34231                           "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
34232                           "\x08\x67\x02\x01\xe3\x64\x82\xee"
34233                           "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
34234                           "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
34235                           "\x85\x48\xb6\x97\x97\x02\x43\x1f"
34236                           "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
34237                           "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
34238                           "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
34239                           "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
34240                           "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
34241                           "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
34242                           "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
34243                           "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
34244                           "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
34245                           "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
34246                           "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
34247                           "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
34248                           "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
34249                           "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
34250                           "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
34251                           "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
34252                           "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
34253                           "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
34254                           "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
34255                           "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
34256                           "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
34257                           "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
34258                           "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
34259                           "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
34260                           "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
34261                           "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
34262                           "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
34263                           "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
34264                           "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
34265                           "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
34266                           "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
34267                           "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
34268                           "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
34269                           "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
34270                           "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
34271                           "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
34272                           "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
34273                           "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
34274                           "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
34275                           "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
34276                           "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
34277                           "\x36\x12\x35\x28\x64\x12\xe7\xbb"
34278                           "\x50\xac\x45\x15\x7b\x16\x23\x5e"
34279                           "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
34280                           "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
34281                           "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
34282                           "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
34283                           "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
34284                           "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
34285                           "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
34286                           "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
34287                           "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
34288                           "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
34289                           "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
34290                           "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
34291                           "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
34292                           "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
34293                           "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
34294                           "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
34295                           "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
34296                           "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
34297                           "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
34298                           "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
34299                           "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
34300                           "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
34301                           "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
34302                           "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
34303                           "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
34304                           "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
34305                           "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
34306                           "\x7d\x65\x57\x65\x98\xff\x8b\x02"
34307                           "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
34308                           "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
34309                           "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
34310                           "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
34311                           "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
34312                           "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
34313                           "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
34314                           "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
34315                           "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
34316                           "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
34317                           "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
34318                           "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
34319                           "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
34320                           "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
34321                           "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
34322                           "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
34323                           "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
34324                           "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
34325                           "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
34326                           "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
34327                           "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
34328                           "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
34329                           "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
34330                           "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
34331                           "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
34332                           "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
34333                           "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
34334                           "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
34335                           "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
34336                           "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
34337                           "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
34338                           "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
34339                           "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
34340                           "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
34341                           "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
34342                           "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
34343                           "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
34344                           "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
34345                           "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
34346                           "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
34347                           "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
34348                           "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
34349                           "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
34350                           "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
34351                           "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
34352                           "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
34353                           "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
34354                           "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
34355                           "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
34356                           "\x53\xf1\x61\x97\x63\x52\x38\x86"
34357                           "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
34358                           "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
34359                           "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
34360                           "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
34361                           "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
34362                           "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
34363                           "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
34364                           "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
34365                           "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
34366                           "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
34367                           "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
34368                           "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
34369                           "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
34370                           "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
34371                           "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
34372                           "\x48\xb9\x27\x62\x00\x12\xc5\x03"
34373                           "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
34374                           "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
34375                           "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
34376                           "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
34377                           "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
34378                           "\x99\xd5\xff\x34\x93\x8f\x31\x45"
34379                           "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
34380                           "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
34381                           "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
34382                           "\x26\xec\x3a\x64\xc4\xab\x74\x97"
34383                           "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
34384                           "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
34385                           "\x68\x50\x22\x16\x96\x2f\xc4\x23"
34386                           "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
34387                           "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
34388                           "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
34389                           "\x20\x89\xef\x44\x22\x38\x3c\x14"
34390                           "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
34391                           "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
34392                           "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
34393                           "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
34394                           "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
34395                           "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
34396                           "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
34397                           "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
34398                           "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
34399                           "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
34400                           "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
34401                           "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
34402                           "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
34403                           "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
34404                           "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
34405                           "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
34406                           "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
34407                           "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
34408                           "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
34409                           "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
34410                           "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
34411                           "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
34412                           "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
34413                           "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
34414                           "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
34415                           "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
34416                           "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
34417                           "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
34418                           "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
34419                           "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
34420                           "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
34421                           "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
34422                           "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
34423                           "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
34424                           "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
34425                           "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
34426                           "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
34427                           "\x60\x81\x75\x29\x9e\xce\x2a\x70"
34428                           "\x28\x0c\x87\xe5\x46\x73\x76\x66"
34429                           "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
34430                           "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
34431                           "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
34432                           "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
34433                           "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
34434                           "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
34435                           "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
34436                           "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
34437                           "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
34438                           "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
34439                           "\xf1\x11\x02\x64\x09\x25\x7c\x26"
34440                           "\xee\xad\x50\x68\x31\x26\x16\x0f"
34441                           "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
34442                           "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
34443                           "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
34444                           "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
34445                           "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
34446                           "\x40\x12\x43\x31\xb8\x12\xe0\x95"
34447                           "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
34448                           "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
34449                           "\xab\x03\xda\x41\xab\xc5\x4e\x33"
34450                           "\x5a\x63\x94\x90\x22\x72\x54\x26"
34451                           "\x93\x65\x99\x45\x55\xd3\x55\x56"
34452                           "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
34453                           "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
34454                           "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
34455                           "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
34456                           "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
34457                           "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
34458                           "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
34459                           "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
34460                           "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
34461                           "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
34462                           "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
34463                           "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
34464                           "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
34465                           "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
34466                           "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
34467                           "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
34468                           "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
34469                           "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
34470                           "\xad\x6e\x83\x90\x21\x10\xb8\x07"
34471                           "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
34472                           "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
34473                           "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
34474                           "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
34475                           "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
34476                           "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
34477                           "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
34478                           "\x02\x5a\x20\x4d\x43\x08\x71\x49"
34479                           "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
34480                           "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
34481                           "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
34482                           "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
34483                           "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
34484                           "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
34485                           "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
34486                           "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
34487                           "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
34488                           "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
34489                           "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
34490                           "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
34491                           "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
34492                           "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
34493                           "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
34494                           "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
34495                           "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
34496                           "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
34497                           "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
34498                           "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
34499                           "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
34500                           "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
34501                           "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
34502                           "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
34503                           "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
34504                           "\x08\x48\xfd\x9b\x47\x41\x10\xae"
34505                           "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
34506                           "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
34507                           "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
34508                           "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
34509                           "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
34510                           "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
34511                           "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
34512                           "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
34513                           "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
34514                           "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
34515                           "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
34516                           "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
34517                           "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
34518                           "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
34519                           "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
34520                           "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
34521                           "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
34522                           "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
34523                           "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
34524                           "\x54\x14\x91\x12\x41\x41\x54\xa2"
34525                           "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
34526                           "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
34527                           "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
34528                           "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
34529                           "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
34530                           "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
34531                           "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
34532                           "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
34533                           "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
34534                           "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
34535                           "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
34536                           "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
34537                           "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
34538                           "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
34539                           "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
34540                           "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
34541                           "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
34542                           "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
34543                           "\x58\xec\x70\x4f\x40\x25\x2b\xba"
34544                           "\x96\x59\xac\x34\x45\x29\xc6\x57"
34545                           "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
34546                           "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
34547                           "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
34548                           "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
34549                           "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
34550                           "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
34551                           "\xea\xa5\x56\x02\x5b\x93\x13\x46"
34552                           "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
34553                           "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
34554                           "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
34555                           "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
34556                           "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
34557                           "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
34558                           "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
34559                           "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
34560                           "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
34561                           "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
34562                           "\xad\x57\xae\x98\x83\xd5\x92\x4e"
34563                           "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
34564                           "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
34565                           "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
34566                           "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
34567                           "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
34568                           "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
34569                           "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
34570                           "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
34571                           "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
34572                           "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
34573                           "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
34574                           "\x32\x06\x3f\x12\x23\x19\x22\x82"
34575                           "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
34576                           "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
34577                           "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
34578                           "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
34579                           "\x35\x79\x84\x78\x06\x68\x97\x30"
34580                           "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
34581                           "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
34582                           "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
34583                           "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
34584                           "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
34585                           "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
34586                           "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
34587                           "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
34588                           "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
34589                           "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
34590                           "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
34591                           "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
34592                           "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
34593                           "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
34594                           "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
34595                           "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
34596                           "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
34597                           "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
34598                           "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
34599                           "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
34600                           "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
34601                           "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
34602                           "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
34603                           "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
34604                           "\x13\xa7\x47\x89\x62\xa3\x03\x19"
34605                           "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
34606                           "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
34607                           "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
34608                           "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
34609                           "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
34610                           "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
34611                           "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
34612                           "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
34613                           "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
34614                           "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
34615                           "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
34616                           "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
34617                           "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
34618                           "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
34619                           "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
34620                           "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
34621                           "\x20\xa9\x37\x78\x32\x03\x60\xcc"
34622                           "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
34623                           "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
34624                           "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
34625                           "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
34626                           "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
34627                           "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
34628                           "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
34629                           "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
34630                           "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
34631                           "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
34632                           "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
34633                           "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
34634                           "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
34635                           "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
34636                           "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
34637                           "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
34638                           "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
34639                           "\x12\xab\x95\x66\xec\x09\x64\xea"
34640                           "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
34641                           "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
34642                           "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
34643                           "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
34644                           "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
34645                           "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
34646                           "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
34647                           "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
34648                           "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
34649                           "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
34650                           "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
34651                           "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
34652                           "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
34653                           "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
34654                           "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
34655                           "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
34656                           "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
34657                           "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
34658                 .ctext  = "\x2c\xf5\x4c\xc9\x99\x19\x83\x84"
34659                           "\x09\xbc\xe6\xad\xbe\xb6\x6b\x1b"
34660                           "\x75\x0b\x3d\x33\x10\xb4\x8b\xf7"
34661                           "\xa7\xc7\xba\x9f\x6e\xd7\xc7\xfd"
34662                           "\x58\xef\x24\xf4\xdc\x26\x3f\x35"
34663                           "\x02\x98\xf2\x8c\x96\xca\xfc\xca"
34664                           "\xca\xfa\x27\xe6\x23\x1f\xf0\xc7"
34665                           "\xe3\x46\xbf\xca\x7b\x4e\x24\xcd"
34666                           "\xd0\x13\x3f\x80\xd6\x5b\x0b\xdc"
34667                           "\xad\xc6\x49\x77\xd7\x58\xf5\xfd"
34668                           "\x58\xba\x72\x0d\x9e\x0b\x63\xc3"
34669                           "\x86\xac\x06\x97\x70\x42\xec\x3a"
34670                           "\x0d\x53\x27\x17\xbd\x3e\xcb\xe0"
34671                           "\xaa\x19\xb4\xfe\x5d\x1b\xcb\xd7"
34672                           "\x99\xc3\x19\x45\x6f\xdf\x64\x44"
34673                           "\x9f\xf8\x55\x1b\x72\x8d\x78\x51"
34674                           "\x3c\x83\x48\x8f\xaf\x05\x60\x7d"
34675                           "\x22\xce\x07\x53\xfd\x91\xcf\xfa"
34676                           "\x5f\x86\x66\x3e\x72\x67\x7f\xc1"
34677                           "\x49\x82\xc7\x1c\x91\x1e\x48\xcd"
34678                           "\x5e\xc6\x5f\xd9\xc9\x43\x88\x35"
34679                           "\x80\xba\x91\xe1\x54\x4b\x14\xbe"
34680                           "\xbd\x75\x48\xb8\xde\x22\x64\xb5"
34681                           "\x8c\xcb\x5e\x92\x99\x8f\x4a\xab"
34682                           "\x00\x6c\xb4\x2e\x03\x3b\x0e\xee"
34683                           "\x4d\x39\x05\xbc\x94\x80\xbb\xb2"
34684                           "\x36\x16\xa3\xd9\x8f\x61\xd7\x67"
34685                           "\xb5\x90\x46\x85\xe1\x4e\x71\x84"
34686                           "\xd0\x84\xc0\xc0\x8f\xad\xdb\xeb"
34687                           "\x44\xf4\x66\x35\x3f\x92\xa2\x05"
34688                           "\xa4\x9c\xb8\xdc\x77\x6c\x85\x34"
34689                           "\xd2\x6a\xea\x32\xb8\x08\xf6\x13"
34690                           "\x78\x1e\x29\xef\x12\x54\x16\x28"
34691                           "\x25\xf8\x32\x0e\x4f\x94\xe6\xb3"
34692                           "\x0b\x97\x79\x97\xb3\xb0\x37\x61"
34693                           "\xa4\x10\x6f\x15\x9c\x7d\x22\x41"
34694                           "\xe2\xd7\xa7\xa0\xfc\xc5\x62\x55"
34695                           "\xed\x68\x39\x7b\x09\xd2\x17\xaa"
34696                           "\xf2\xb8\xc9\x1d\xa2\x23\xfd\xaa"
34697                           "\x9c\x57\x16\x0d\xe3\x63\x3c\x2b"
34698                           "\x13\xdd\xa2\xf0\x8e\xd3\x02\x81"
34699                           "\x09\xba\x80\x02\xdb\x97\xfe\x0f"
34700                           "\x77\x8d\x18\xf1\xf4\x59\x27\x79"
34701                           "\xa3\x46\x88\xda\x51\x67\xd0\xe9"
34702                           "\x5d\x22\x98\xc1\xe4\xea\x08\xda"
34703                           "\xf7\xb9\x16\x71\x36\xbd\x43\x8a"
34704                           "\x4b\x6e\xf3\xaa\xb0\xba\x1a\xbc"
34705                           "\xaa\xca\xde\x5c\xc0\xa5\x11\x6d"
34706                           "\x8a\x8f\xcc\x04\xfc\x6c\x89\x75"
34707                           "\x4b\x2c\x29\x6f\x41\xc7\x6e\xda"
34708                           "\xea\xa6\xaf\xb0\xb1\x46\x9e\x30"
34709                           "\x5e\x11\x46\x07\x3b\xd6\xaa\x36"
34710                           "\xa4\x01\x84\x1d\xb9\x8e\x58\x9d"
34711                           "\xa9\xb6\x1c\x56\x5c\x5a\xde\xfa"
34712                           "\x66\x96\xe6\x29\x26\xd4\x68\xd0"
34713                           "\x1a\xcb\x98\xbb\xce\x19\xbb\x87"
34714                           "\x00\x6c\x59\x17\xe3\xd1\xe6\x5c"
34715                           "\xd0\x98\xe1\x91\xc4\x28\xaf\xbf"
34716                           "\xbb\xdf\x75\x4e\xd9\x9d\x99\x0f"
34717                           "\xc6\x0c\x03\x24\x3e\xb6\xd7\x3f"
34718                           "\xd5\x43\x4a\x47\x26\xab\xf6\x3f"
34719                           "\x7f\xf1\x15\x0c\xde\x68\xa0\x5f"
34720                           "\x63\xf9\xe2\x5e\x5d\x42\xf1\x36"
34721                           "\x38\x90\x06\x18\x84\xf2\xfa\x81"
34722                           "\x36\x33\x29\x18\xaa\x8c\x49\x0e"
34723                           "\xda\x27\x38\x9c\x12\x8b\x83\xfa"
34724                           "\x40\xd0\xb6\x0a\x72\x85\xf0\xc7"
34725                           "\xaa\x5f\x30\x1a\x6f\x45\xe4\x35"
34726                           "\x4c\xf3\x4c\xe4\x1c\xd7\x48\x77"
34727                           "\xdd\x3e\xe4\x73\x44\xb1\xb8\x1c"
34728                           "\x42\x40\x90\x61\xb1\x6d\x8b\x20"
34729                           "\x2d\x30\x63\x01\x26\x71\xbc\x5a"
34730                           "\x76\xce\xc1\xfb\x13\xf9\x4c\x6e"
34731                           "\x7a\x16\x8a\x53\xcb\x07\xaa\xa1"
34732                           "\xba\xd0\x68\x7a\x2d\x25\x48\x85"
34733                           "\xb7\x6b\x0a\x05\xf2\xdf\x0e\x46"
34734                           "\x4e\xc8\xcd\x59\x5b\x9a\x2e\x9e"
34735                           "\xdb\x4a\xf6\xfd\x7b\xa4\x5c\x4d"
34736                           "\x78\x8d\xe7\xb0\x84\x3f\xf0\xc1"
34737                           "\x47\x39\xbf\x1e\x8c\xc2\x11\x0d"
34738                           "\x90\xd1\x17\x42\xb3\x50\xeb\xaa"
34739                           "\xcd\xc0\x98\x36\x84\xd0\xfe\x75"
34740                           "\xf8\x8f\xdc\xa0\xa1\x53\xe5\x8c"
34741                           "\xf2\x0f\x4a\x31\x48\xae\x3d\xaf"
34742                           "\x19\x4b\x75\x2e\xc1\xe3\xcd\x4d"
34743                           "\x2c\xa4\x54\x7b\x4d\x5e\x93\xa2"
34744                           "\xe7\x1f\x34\x19\x9f\xb2\xbf\x22"
34745                           "\x65\x1a\x03\x48\x12\x66\x50\x3e"
34746                           "\x0e\x5d\x60\x29\x44\x69\x90\xee"
34747                           "\x9d\x8b\x55\x78\xdf\x63\x31\xc3"
34748                           "\x1b\x21\x7d\x06\x21\x86\x60\xb0"
34749                           "\x9d\xdb\x3d\xcc\xe2\x20\xf4\x88"
34750                           "\x20\x62\x2e\xe8\xa9\xea\x42\x41"
34751                           "\xb0\xab\x73\x61\x40\x39\xac\x11"
34752                           "\x55\x27\x51\x5f\x11\xef\xb1\x23"
34753                           "\xff\x81\x99\x86\x0c\x6f\x16\xaf"
34754                           "\xf6\x89\x86\xd8\xf6\x41\xc2\x80"
34755                           "\x21\xf4\xd5\x6d\xef\xa3\x0c\x4d"
34756                           "\x59\xfd\xdc\x93\x1a\x4f\xe6\x22"
34757                           "\x83\x40\x0c\x98\x67\xba\x7c\x93"
34758                           "\x0b\xa9\x89\xfc\x3e\xff\x84\x12"
34759                           "\x3e\x27\xa3\x8a\x48\x17\xd6\x08"
34760                           "\x85\x2f\xf1\xa8\x90\x90\x71\xbe"
34761                           "\x44\xd6\x34\xbf\x74\x52\x0a\x17"
34762                           "\x39\x64\x78\x1a\xbc\x81\xbe\xc8"
34763                           "\xea\x7f\x0b\x5a\x2c\x77\xff\xac"
34764                           "\xdd\x37\x35\x78\x09\x28\x29\x4a"
34765                           "\xd1\xd6\x6c\xc3\xd5\x70\xdd\xfc"
34766                           "\x21\xcd\xce\xeb\x51\x11\xf7\xbc"
34767                           "\x12\x43\x1e\x6c\xa1\xa3\x79\xe6"
34768                           "\x1d\x63\x52\xff\xf0\xbb\xcf\xec"
34769                           "\x56\x58\x63\xe2\x21\x0b\x2d\x5c"
34770                           "\x64\x09\xf3\xee\x05\x42\x34\x93"
34771                           "\x38\xa8\x60\xea\x1d\x95\x90\x65"
34772                           "\xad\x2f\xda\x1d\xdd\x21\x1a\xf1"
34773                           "\x94\xe0\x6a\x81\xa1\xd3\x63\x31"
34774                           "\x45\x73\xce\x54\x4e\xb1\x75\x26"
34775                           "\x59\x18\xc2\x31\x73\xe6\xf5\x7d"
34776                           "\x06\x5b\x65\x67\xe5\x69\x90\xdf"
34777                           "\x27\x6a\xbf\x81\x7d\x92\xbe\xd1"
34778                           "\x4e\x0b\xa8\x18\x94\x72\xe1\xd0"
34779                           "\xb6\x2a\x16\x08\x7a\x34\xb8\xf2"
34780                           "\xe1\xac\x08\x66\xe6\x78\x66\xfd"
34781                           "\x36\xbd\xee\xc6\x71\xa4\x09\x4e"
34782                           "\x3b\x09\xf2\x8e\x3a\x90\xba\xa0"
34783                           "\xc2\x1d\x9f\xad\x52\x0e\xc9\x10"
34784                           "\x99\x40\x90\xd5\x7d\x73\x56\xef"
34785                           "\x48\x1e\x56\x5c\x7d\x3c\xcb\x84"
34786                           "\x10\x0a\xcc\xda\xce\xad\xd8\xa8"
34787                           "\x79\xc7\x29\x95\x31\x3b\xd9\x9b"
34788                           "\xb6\x84\x3e\x03\x74\xc5\x76\xba"
34789                           "\x4b\xd9\x4f\x7c\xc4\x5f\x7f\x70"
34790                           "\xc5\xe3\x6e\xd0\x14\x32\xec\x60"
34791                           "\xb0\x69\x78\xb7\xef\xda\x5a\xe7"
34792                           "\x4e\x50\x97\xd4\x94\x58\x67\x57"
34793                           "\x4e\x7c\x75\xe0\xcf\x8d\xe1\x78"
34794                           "\x97\x52\xc8\x73\x81\xf9\xb6\x02"
34795                           "\x54\x72\x6d\xc0\x70\xff\xe2\xeb"
34796                           "\x6c\xe1\x30\x0a\x94\xd0\x55\xec"
34797                           "\xed\x61\x9c\x6d\xd9\xa0\x92\x62"
34798                           "\x4e\xfd\xd8\x79\x27\x02\x4e\x13"
34799                           "\xb2\x04\xba\x00\x9a\x77\xed\xc3"
34800                           "\x5b\xa4\x22\x02\xa9\xed\xaf\xac"
34801                           "\x4f\xe1\x74\x73\x51\x36\x78\x8b"
34802                           "\xdb\xf5\x32\xfd\x0d\xb9\xcb\x15"
34803                           "\x4c\xae\x43\x72\xeb\xbe\xc0\xf8"
34804                           "\x91\x67\xf1\x4f\x5a\xd4\xa4\x69"
34805                           "\x8f\x3e\x16\xd2\x09\x31\x72\x5a"
34806                           "\x5e\x0a\xc4\xbc\x44\xd4\xbb\x82"
34807                           "\x7a\xdf\x52\x25\x8c\x45\xdc\xe4"
34808                           "\xe0\x71\x84\xe4\xe0\x3d\x59\x30"
34809                           "\x5b\x94\x12\x33\x78\x85\x90\x84"
34810                           "\x52\x05\x33\xa7\xa7\x16\xe0\x4d"
34811                           "\x6a\xf7\xfa\x03\x98\x6c\x4f\xb0"
34812                           "\x06\x66\x06\xa1\xdd\x3c\xbe\xbb"
34813                           "\xb2\x62\xab\x64\xd3\xbf\x2c\x30"
34814                           "\x0e\xfc\xd9\x95\x32\x32\xf3\x3b"
34815                           "\x39\x7e\xda\x62\x62\x0f\xc3\xfe"
34816                           "\x55\x76\x09\xf5\x8a\x09\x91\x93"
34817                           "\x32\xea\xbc\x2b\x0b\xcf\x1d\x65"
34818                           "\x48\x33\xba\xeb\x0f\xd4\xf9\x3b"
34819                           "\x1e\x90\x74\x6d\x93\x52\x61\x81"
34820                           "\xa3\xf2\xb5\xea\x1d\x61\x86\x68"
34821                           "\x00\x40\xcc\x58\xdd\xf2\x64\x01"
34822                           "\xab\xfd\x94\xc0\xa3\x83\x83\x33"
34823                           "\xa4\xb0\xb8\xd3\x9d\x08\x3c\x7f"
34824                           "\x8e\xa8\xaf\x87\xa5\xe7\xcd\x36"
34825                           "\x92\x96\xdc\xa1\xf2\xea\xe6\xd1"
34826                           "\x1e\xe9\x65\xa4\xff\xda\x17\x96"
34827                           "\xad\x91\x4a\xc5\x26\xb4\x1d\x1c"
34828                           "\x2b\x50\x48\x26\xc8\x86\x3f\x05"
34829                           "\xb8\x87\x1b\x3f\xee\x2e\x55\x61"
34830                           "\x0d\xdc\xcf\x56\x0e\xe2\xcc\xda"
34831                           "\x87\xee\xc5\xcd\x0e\xf4\xa4\xaf"
34832                           "\x8a\x02\xee\x16\x0b\xc4\xdd\x6d"
34833                           "\x80\x3e\xf3\xfe\x95\xb4\xfe\x97"
34834                           "\x0d\xe2\xab\xbb\x27\x84\xee\x25"
34835                           "\x39\x74\xb0\xfb\xdc\x5a\x0f\x65"
34836                           "\x31\x2a\x89\x08\xa4\x8c\x9f\x25"
34837                           "\x5f\x93\x83\x39\xda\xb4\x22\x17"
34838                           "\xbd\xd2\x0d\xfc\xde\xf8\x00\x34"
34839                           "\xc2\x48\x55\x06\x4c\x8b\x79\xe5"
34840                           "\xba\x0c\x50\x4f\x98\xa3\x59\x3d"
34841                           "\xc4\xec\xd1\x85\xf3\x60\x41\x16"
34842                           "\x0a\xe2\xf4\x38\x33\x24\xc1\xe0"
34843                           "\x0d\x86\x1f\x5a\xd2\xba\x7c\x5f"
34844                           "\x97\x60\x54\xa3\x52\x31\x78\x57"
34845                           "\x7a\xc0\xc7\x1e\xd4\x11\x8f\xef"
34846                           "\x86\x0a\x60\x26\x4a\x8f\x06\xf7"
34847                           "\x1f\x47\x45\x6e\x87\x13\x15\xf3"
34848                           "\x91\x08\xbf\x2a\x6e\x71\x21\x8e"
34849                           "\x92\x90\xde\x01\x97\x81\x46\x87"
34850                           "\x8a\xfc\xab\x12\x0c\x60\x3e\x9d"
34851                           "\xbd\x40\x0a\x45\x3f\x5b\x83\x04"
34852                           "\xb5\x8f\x42\x78\x68\xfe\x3a\xd1"
34853                           "\x59\xf7\x12\xaa\x86\x86\x1c\x77"
34854                           "\xfc\xc6\x64\x47\x0f\x7e\xd3\xbc"
34855                           "\x95\x90\x23\xb3\x60\xdc\x0d\xf4"
34856                           "\x67\xe6\x32\xee\xad\xbf\x60\x07"
34857                           "\xbd\xdb\x6e\x3f\x55\x88\xdb\x93"
34858                           "\x62\x41\xd6\xeb\x34\xd6\xa3\x96"
34859                           "\xd2\xbc\x29\xaa\x75\x65\x41\x9f"
34860                           "\x70\x43\xbb\x6d\xd9\xa5\x95\x22"
34861                           "\x3e\xf9\x07\xa0\x7d\x75\xba\xb8"
34862                           "\xcd\x81\x3b\x94\x01\x19\xc3\x67"
34863                           "\x9d\xa4\x7f\xa0\x99\xcc\x4a\xc4"
34864                           "\xfa\x76\x3f\xab\x5c\xea\x26\xdf"
34865                           "\xa2\x4c\x5b\x11\x55\xa3\x6a\x70"
34866                           "\xcb\xbc\x93\x11\x48\x38\x73\x7a"
34867                           "\x40\xbf\xbc\x04\x05\xb0\x2d\x9b"
34868                           "\x9a\x23\x57\xa5\xf6\x63\xfa\xc7"
34869                           "\xd8\x4d\xc2\xc0\xf8\xbd\xfb\x7d"
34870                           "\xea\x20\xa2\xe0\x4d\xaa\x63\x1e"
34871                           "\x9a\xa2\xed\x54\xe6\x49\xaf\x52"
34872                           "\xaf\x7e\x94\x57\x19\x07\x06\x74"
34873                           "\x57\x5b\x62\x61\x99\x20\xe7\x95"
34874                           "\x14\x19\xcf\x42\x83\x6a\x94\xf5"
34875                           "\xab\xa7\xf2\x48\xf6\x0b\x40\x3d"
34876                           "\x93\x8d\x3d\x14\x5d\xf2\x45\x2c"
34877                           "\xac\x1c\x0b\x12\xc9\x56\x3f\x7c"
34878                           "\x17\xeb\x1d\xed\x7e\x5c\xaa\x37"
34879                           "\xe3\xb4\x56\xf9\x0e\xb9\x8e\xc8"
34880                           "\x16\x70\x3e\xff\x95\xb9\x89\x9c"
34881                           "\x19\x0d\x0d\x48\xbd\xb9\xe3\x73"
34882                           "\xdf\x4e\x67\x9d\x93\x6c\x0b\x75"
34883                           "\x8a\x2d\x89\x5c\x32\x9d\x75\x05"
34884                           "\xd9\x13\xbe\x14\x5f\xf0\xb7\xb4"
34885                           "\xd9\x2c\x02\x22\x41\xf2\x9c\x1f"
34886                           "\xc1\x8c\xf5\x6a\x8c\xd5\xa5\x6b"
34887                           "\x54\x47\xec\x3a\x76\x08\xf6\xf7"
34888                           "\xed\x7c\x7e\x3b\x55\xb8\xa9\x20"
34889                           "\xa6\xec\x2d\x8c\x03\x38\x9d\x74"
34890                           "\xe9\x36\xe7\x05\x40\xec\xf4\xa1"
34891                           "\xa7\x70\xa7\x6f\x1f\x93\xc2\x1d"
34892                           "\x2c\x4e\x5f\xe8\x04\x6d\x91\x67"
34893                           "\x23\xd9\x47\xb4\xf6\xbc\x35\x25"
34894                           "\x1b\xa8\xe1\x17\xa8\x21\x38\xd8"
34895                           "\x7a\x55\xd9\xc6\x6f\x0a\x1b\xcb"
34896                           "\xde\xf8\x1e\x20\x8c\xa1\x14\x49"
34897                           "\x49\x00\x00\x31\x0f\xa8\x24\x67"
34898                           "\x97\x7a\x1f\x04\xb9\x6b\x60\xd0"
34899                           "\x32\xc3\xf4\xf9\x4f\xb2\xfd\x7b"
34900                           "\xf9\xb3\x43\xd8\x23\xaa\x21\x37"
34901                           "\x9e\x91\xc5\xa4\xce\xd8\xe4\xf5"
34902                           "\x55\x3e\xc9\xe4\xc5\x51\xd3\x4d"
34903                           "\xc6\x83\xe9\x23\x8e\x3e\x21\xe0"
34904                           "\x40\x23\x4e\x2b\x2d\x89\xc4\x5d"
34905                           "\x58\xdc\x43\x03\x8e\x9a\xfb\xef"
34906                           "\x76\xac\x78\x57\xc3\xb8\xf7\x9f"
34907                           "\xf5\xb1\xc2\xa4\x0c\xee\x58\x52"
34908                           "\x45\xdf\x1a\xd9\x0e\xe0\x56\x1f"
34909                           "\x23\x79\x99\x5f\x34\xad\x9f\x41"
34910                           "\x67\x2a\xc7\x8b\xe7\x82\x6e\x67"
34911                           "\x58\xb5\xae\x18\xd7\x2f\x8f\x57"
34912                           "\x0e\xa4\x21\x3c\x84\x21\x05\x50"
34913                           "\x57\xb0\xd1\xb1\xc8\x9d\xd4\x44"
34914                           "\x25\x40\x6b\xd5\x6f\x18\x92\x89"
34915                           "\x6d\x5b\xe9\x5a\x3c\x74\xc0\x33"
34916                           "\x2c\x7a\xa7\x99\x71\x4e\x9d\x1b"
34917                           "\xe1\x1d\xcb\x62\x8b\x3c\x07\x07"
34918                           "\x67\xf6\xa6\x54\x10\x72\x3f\xea"
34919                           "\xe5\xcd\xe6\xf1\xeb\x3d\x43\x0b"
34920                           "\xfe\x4b\xc7\x1d\x3d\xd9\xa3\xe2"
34921                           "\x9b\x79\x47\xc7\xab\x28\xcc\x4d"
34922                           "\xa8\x77\x9c\xec\xef\x56\xf8\x92"
34923                           "\x07\x48\x1b\x21\x04\xa8\x24\xb0"
34924                           "\x82\x7d\xd1\x17\xa4\xaf\x5f\xfa"
34925                           "\x92\xbf\x6a\xb7\x7e\xc7\xb7\x75"
34926                           "\x40\x3c\x14\x09\x57\xae\xe0\x4e"
34927                           "\xf8\xc9\xda\x1e\x5d\x27\xc4\x8c"
34928                           "\x27\xe3\x4d\xe3\x55\x8c\xd2\xef"
34929                           "\x0c\xab\x67\x53\x96\xd3\x48\xfb"
34930                           "\x75\x4f\x74\x9e\xcb\x82\xa4\x96"
34931                           "\x91\x41\x48\xaa\x65\xdb\x34\x72"
34932                           "\xc9\xee\xa2\x77\x8b\x6e\x44\x12"
34933                           "\x4e\x51\x51\xc3\xf5\xef\x6a\x50"
34934                           "\x99\x26\x41\x1e\x66\xa4\x2b\xb9"
34935                           "\x21\x15\x38\xc2\x0b\x7f\x37\xb6"
34936                           "\x89\x8b\x27\x70\xae\xa1\x90\x28"
34937                           "\x04\xe7\xd5\x17\xcb\x60\x99\xb4"
34938                           "\xe2\xd7\x04\xd3\x11\x27\x86\xe4"
34939                           "\xd0\x0d\x36\x04\x68\xe0\xb4\x71"
34940                           "\xe8\x86\x4b\x9f\xa3\xd2\xda\x87"
34941                           "\xc2\x2c\xad\x66\xfa\x53\x18\xf8"
34942                           "\xec\x10\x74\xc5\xb6\x53\x09\x93"
34943                           "\x21\x09\xbd\x77\x2d\x2a\x12\x4c"
34944                           "\x86\xfe\x50\x8e\xd1\x16\xab\xb1"
34945                           "\xfd\xd7\x87\xde\xc3\x6f\x7c\x16"
34946                           "\xe2\x88\x3d\x41\xac\x36\x7e\xf8"
34947                           "\xc2\x3b\x46\xd5\x44\x3d\x9d\xe8"
34948                           "\xe9\x0c\xb7\xb3\xc6\xb9\xe5\xe7"
34949                           "\x27\x17\x78\x03\xd4\xda\xe4\x73"
34950                           "\x38\x34\xe7\x53\x29\xc4\xcb\x93"
34951                           "\xc9\xa1\x10\x8a\xb2\xfc\x0b\x07"
34952                           "\x47\xb8\xb1\x13\x49\x86\x24\x8b"
34953                           "\x10\xb1\xd9\x5f\xbb\xd8\x90\x37"
34954                           "\x06\x03\xe0\x76\xff\x19\x1a\x16"
34955                           "\xd8\x2d\xa7\x4a\xea\x22\x64\xbe"
34956                           "\xed\x1c\xc8\x33\xb4\xf4\xb1\x48"
34957                           "\x95\xb5\x2f\xaa\x05\xc7\x03\xa0"
34958                           "\xf1\xa4\xf3\x63\x4b\xbe\x79\xb9"
34959                           "\x4b\x67\x7e\x4e\x3e\x81\x8f\xef"
34960                           "\xe9\x55\x99\x30\xd0\x26\xec\x5d"
34961                           "\x89\xb6\x3f\x28\x38\x81\x7a\x00"
34962                           "\x89\x85\xb8\xff\x19\x0f\x8f\x5d"
34963                           "\x5c\x6d\x6a\x3d\x6c\xb9\xfb\x7c"
34964                           "\x0c\x4b\x7e\xbc\x0c\xc4\xad\xbb"
34965                           "\x0a\x8b\xc8\x48\xb7\xfa\x4d\x53"
34966                           "\x82\x10\xd6\x29\x58\x83\x50\x3c"
34967                           "\xd4\x5a\xfd\x14\xa3\xb5\x88\xfb"
34968                           "\x23\xee\xc9\xcc\xab\x92\x52\xb3"
34969                           "\x0b\x07\xf3\x1e\x9a\x2a\x2e\x35"
34970                           "\x32\x37\xa5\x86\xd0\xe5\x5f\xdd"
34971                           "\x3d\x67\x70\xb4\x9a\xc9\x93\xdc"
34972                           "\x31\x33\xe3\x3a\xc5\xcf\xd9\x44"
34973                           "\x2f\x3f\x87\xb2\x0c\x36\x55\x17"
34974                           "\xa9\xda\xb1\xca\x00\x09\x87\xe6"
34975                           "\x66\x34\xb3\x9f\x52\x37\x98\x10"
34976                           "\x2e\x5d\xa4\x14\x7f\x63\xa6\xcd"
34977                           "\x6c\x2d\x7c\x74\x4c\xae\x9c\x65"
34978                           "\xe0\x79\xc0\xd6\xc3\xfe\xa8\xf4"
34979                           "\x1a\x4f\xf5\xbc\xea\x7a\x92\x40"
34980                           "\x51\xa7\x05\x45\x40\xd8\x9c\x3c"
34981                           "\xde\x5f\x0b\x6e\x10\x5c\x1c\xdc"
34982                           "\xd2\x65\x60\xbb\x70\x68\x5c\xa9"
34983                           "\x59\x25\x0e\x4e\x93\xb8\x49\x89"
34984                           "\xf6\xae\xeb\x1f\x8b\x56\xc8\x56"
34985                           "\xb0\xb5\xc9\xee\xa5\x15\x07\x4d"
34986                           "\x8a\xcc\xad\x04\x4d\x99\x8c\x49"
34987                           "\x8d\x7c\xe0\xa5\x7d\x7f\x33\x61"
34988                           "\xf2\xfc\xe7\x88\x3f\x2b\x73\xab"
34989                           "\x2e\x38\x17\x48\xa9\x86\xdd\x81"
34990                           "\x21\x45\xbc\x98\x1d\xe5\xa5\xbc"
34991                           "\x0d\x0b\x18\x8e\x86\x1e\x76\x0a"
34992                           "\x30\x12\x21\xf0\x51\xed\xc1\xcd"
34993                           "\x9a\xf1\x7e\x7e\x64\xb2\xa3\xd6"
34994                           "\x37\xe7\xc6\xde\x97\xb9\x5d\x05"
34995                           "\xf5\x50\xe2\x0a\xaa\x68\x16\xa6"
34996                           "\x26\x9c\x7d\xff\x4c\x05\xce\x48"
34997                           "\xa7\xff\x10\x19\x5e\xef\x46\x54"
34998                           "\xec\xe4\x7b\xb6\x12\x23\xae\x93"
34999                           "\x4f\x79\xf8\x3c\x1c\x07\x15\x66"
35000                           "\x07\xc1\x52\xde\x7f\xda\x51\x7b"
35001                           "\xfe\x13\x67\xab\x8d\x56\xdc\xc1"
35002                           "\x70\x4b\x13\xd2\x30\x00\xc1\x97"
35003                           "\x22\xa7\x83\xf8\x18\xd9\x6d\x40"
35004                           "\x54\xe0\xc1\xdb\x3e\x83\x73\x12"
35005                           "\xe1\x48\x49\xb9\xd4\x20\x0c\x06"
35006                           "\x1c\x82\xb5\xbe\x5a\xae\x60\x5e"
35007                           "\xe2\x09\xba\x05\xbb\x9a\x80\x63"
35008                           "\xf2\xc4\x4b\x41\x39\x16\x76\x26"
35009                           "\xb1\x03\x06\x23\x65\x37\x33\x92"
35010                           "\xca\xf9\x72\xf5\xcd\x95\xc1\xc0"
35011                           "\x91\x5a\xfd\x28\xb9\x62\x59\x84"
35012                           "\x87\x9d\x82\xcb\xe0\x67\x7c\x26"
35013                           "\xb8\x00\x16\xd9\x5d\xb4\x74\xd4"
35014                           "\x75\x8c\x75\xf8\x87\x3b\xa8\x77"
35015                           "\xcd\x82\x3d\x7b\xb9\x63\x44\x0f"
35016                           "\x44\x83\x55\x5b\xc7\xdc\x18\x0b"
35017                           "\x8c\x36\xb3\x59\xeb\x58\x13\x38"
35018                           "\x4b\x8a\xb7\xa3\x9a\xa2\xf3\xeb"
35019                           "\xc6\x30\x84\x86\x0a\xcf\x8b\xfa"
35020                           "\x36\x66\x26\xbc\xd0\x96\xa3\xb4"
35021                           "\x8d\x6b\xf7\x5b\x75\x59\xbb\xd3"
35022                           "\x14\x78\x57\x2f\x27\xa8\x95\xcf"
35023                           "\xa2\xa5\x76\x28\xbd\xab\x8b\x59"
35024                           "\x04\x91\x8a\xc5\x3c\xc3\xa7\xcf"
35025                           "\xe0\xfb\xdd\x7a\xbb\x10\xde\x36"
35026                           "\x43\x1c\x59\xf7\x41\xb6\xa5\x80"
35027                           "\x72\x7b\xe3\x7a\xa3\x01\xc3\x8c"
35028                           "\x7e\xf3\xf2\x42\x1a\x0c\x7e\xf3"
35029                           "\xfc\x5b\x6e\x1f\x20\xf1\x32\x76"
35030                           "\x83\x71\x36\x3e\x7e\xa7\xf7\xdd"
35031                           "\x25\x2e\xe6\x04\xe2\x5b\x44\xb5"
35032                           "\x16\xfb\xdf\x9b\x46\x2a\xa8\x81"
35033                           "\x89\x15\x3e\xb5\xb0\x09\x40\x33"
35034                           "\x60\xc7\x37\x63\x14\x09\xc1\x6e"
35035                           "\x56\x52\xbe\xe4\x88\xe0\x75\xbc"
35036                           "\x49\x62\x8c\xf1\xdf\x62\xe6\xac"
35037                           "\xd5\x87\xf7\xc9\x92\x52\x36\x59"
35038                           "\x22\x6f\x31\x99\x76\xdb\x41\xb6"
35039                           "\x26\x91\x79\x7e\xd2\x78\xaf\x07"
35040                           "\x78\x4b\xed\x54\x30\xb2\xff\xbc"
35041                           "\x2c\x0a\x1a\xbe\xbf\xd5\x5a\x4d"
35042                           "\xd1\xbc\x30\xc2\xf4\xf1\xc1\x9e"
35043                           "\x9a\x96\x89\x00\x50\xfc\xf6\xaf"
35044                           "\xfa\x60\xbf\x1a\x32\x8f\x57\x36"
35045                           "\x2f\x02\xb7\x28\x50\xc3\xd3\xfd"
35046                           "\x6b\xc4\xe6\xbb\xc9\xec\xed\x86"
35047                           "\xdf\x27\x45\x2c\x0c\x6d\x65\x3b"
35048                           "\x6e\x63\x96\xc7\xd6\xb5\xb2\x05"
35049                           "\x8b\xe0\x02\x2a\xfa\x20\x0c\x82"
35050                           "\xa5\x45\x75\x12\x01\x40\xff\x3e"
35051                           "\xfd\xfc\xfb\xbc\x30\x49\xe8\x99"
35052                           "\x8d\x48\x8e\x49\x65\x2a\xe3\xa5"
35053                           "\x06\xe3\x22\x68\x3b\xd9\xa4\xcf"
35054                           "\x84\x6f\xfa\x2b\xb1\xd8\x8c\x30"
35055                           "\xd5\x5d\x0c\x63\x32\x59\x28\x6e"
35056                           "\x2a\x60\xa4\x57\x12\xf8\xc2\x95"
35057                           "\x0a\xf6\xc6\x48\x23\xce\x72\x40"
35058                           "\x0d\x75\xa0\xd4\x48\x03\xf5\xc4"
35059                           "\xcd\x26\xe7\x83\xcc\x0d\xcf\x7f"
35060                           "\x22\x5f\x91\xb3\x42\x02\x9a\x26"
35061                           "\x12\x26\x68\x12\x25\x0b\x08\x61"
35062                           "\xcb\x25\x86\x95\xfc\x57\x4d\xb6"
35063                           "\x36\x6c\xb4\xdc\xa9\x2d\x76\x7f"
35064                           "\x25\x06\xa2\x08\x69\x09\xd9\x09"
35065                           "\x3c\x40\xe1\xfd\x30\x8f\xc2\x13"
35066                           "\x92\xd4\xb5\x3b\x0c\xb2\x32\x4f"
35067                           "\x10\xc9\x1a\x41\xa6\xb2\x11\xf6"
35068                           "\x3b\x1b\x88\x56\xbf\x61\x3c\xb2"
35069                           "\xe6\xdb\x24\x9a\x55\x7e\x35\xf8"
35070                           "\x82\x5e\x52\xe3\xf2\xb3\x40\x1c"
35071                           "\xdd\xe3\x29\x37\xe0\x85\x08\x8b"
35072                           "\xb2\x8b\x09\x38\xac\xa9\x85\xe5"
35073                           "\x9e\x36\xb8\x95\x0b\x84\x9d\x10"
35074                           "\xcc\xae\xe2\x06\x56\x3c\x85\xce"
35075                           "\xc0\xdc\x36\x59\x17\xf9\x48\xf4"
35076                           "\x5b\x08\x8e\x86\x00\xa0\xf5\xdd"
35077                           "\x0c\xb6\x63\xfd\x5a\xe5\x1e\xa6"
35078                           "\x0a\xef\x76\xc2\xc7\x9b\x96\x2f"
35079                           "\x66\x2b\x7d\x50\xa6\x0c\x42\xc6"
35080                           "\xa5\x05\x05\x10\xeb\xd8\xda\x15"
35081                           "\x03\xbe\x2f\x24\x34\x8f\x84\xd8"
35082                           "\x58\xb8\xa3\xf2\x63\xc8\xc3\xf6"
35083                           "\xc2\xde\x27\x58\x69\xf9\x07\xca"
35084                           "\x12\x3e\xe2\xf4\xc8\x29\x60\x30"
35085                           "\x2f\x87\xf4\x50\xc2\x25\xcc\xfd"
35086                           "\xdc\x76\x4f\x56\x1c\xb2\xd9\x78"
35087                           "\x11\x6b\x6e\xb4\x67\xbf\x25\xc4"
35088                           "\xae\x7d\x50\x7f\xb2\x5c\x69\x26"
35089                           "\xed\x6b\xd2\x3b\x42\x64\xe3\x0c"
35090                           "\x15\xa6\xd1\xb6\x3e\x23\x76\x09"
35091                           "\x48\xd2\x08\x41\x76\xc9\x7d\x5f"
35092                           "\x50\x5d\x8e\xf9\x04\x96\xed\x3a"
35093                           "\xf8\x7c\x3b\x7d\x84\xba\xea\xe6"
35094                           "\x24\xd2\x0f\x7f\x5a\x0b\x6f\xd9"
35095                           "\x33\x14\x67\xfb\x9f\xe7\x44\x4e"
35096                           "\x3b\x4b\x06\xaa\xb4\x7a\x8b\x83"
35097                           "\x82\x74\xa6\x5e\x10\xea\xd6\x4b"
35098                           "\x56\x32\xd7\x79\x7c\x05\xf4\x64"
35099                           "\x9c\x64\x25\x9c\xc2\xda\x21\x9a"
35100                           "\xd8\xde\x37\x83\x3f\xd8\x83\xa2"
35101                           "\x1e\x3c\x1e\x41\x7e\xf2\x97\x84"
35102                           "\xe5\xa2\x02\x2b\x6e\xc5\xd7\x91"
35103                           "\x24\x66\xc1\xf0\x05\x1c\x0f\x3d"
35104                           "\xcf\x63\x94\x10\x2e\x0e\x89\xda"
35105                           "\x0d\xe9\x58\x2a\x48\x0c\xc8\x36"
35106                           "\xc4\x7b\xf0\xd3\xe2\x5b\xf1\xf6"
35107                           "\xad\x3d\xe7\x25\x6b\x83\x08\x5c"
35108                           "\xd9\x79\xde\x93\x37\x93\x92\x46"
35109                           "\xe7\xf4\x1c\x9e\x94\x91\x30\xd9"
35110                           "\xb6\x57\xf1\x04\xb5\x2f\xe3\xb9"
35111                           "\x0a\x78\xfe\xcb\xb5\x31\xc1\xc6"
35112                           "\x99\xb3\xaf\x73\xfb\x69\xcb\x49"
35113                           "\xd2\xec\xea\xd3\x0f\x45\x13\x23"
35114                           "\xc8\xae\x92\x29\xce\x71\xd0\xba"
35115                           "\xcf\xfd\xb2\x14\x61\xfd\xf6\x7b"
35116                           "\xdf\x05\xe5\xbb\x58\xf7\x41\x3b"
35117                           "\x6e\xd2\x14\x28\x7c\x15\xb7\x70"
35118                           "\xca\xc7\x7a\xd7\x4e\x4b\x35\x6e"
35119                           "\x9e\x09\x24\x33\xaf\xca\x41\x1f"
35120                           "\x0d\xe3\xf1\x7c\x35\xcb\xe2\x0a"
35121                           "\xb2\xeb\x94\x7a\xbc\x53\xd7\xe1"
35122                           "\x5e\xbc\xa1\x55\xef\x3c\x37\xef"
35123                           "\x6d\xfe\x3a\xcd\xcf\x48\x36\x26"
35124                           "\xdb\x3e\x44\xdd\xc8\x03\xa6\xa6"
35125                           "\x85\xb5\xfe\xf3\xec\x44\xb3\x22"
35126                           "\x9d\x21\x82\xc6\x0b\x1a\x7c\xc6"
35127                           "\xf7\xa9\x8e\x7e\x13\x1a\x85\x1f"
35128                           "\x93\x81\x38\x47\xc0\x83\x21\xa3"
35129                           "\xde\xec\xc0\x8f\x4c\x3b\x57\x2f"
35130                           "\x92\xbb\x66\xe3\x24\xeb\xae\x1e"
35131                           "\xb3\x18\x57\xf2\xf3\x4a\x50\x52"
35132                           "\xe9\x91\x08\x1f\x85\x44\xc1\x07"
35133                           "\xa1\xd3\x62\xe9\xe0\x82\x38\xfd"
35134                           "\x27\x3f\x7e\x10\x7d\xaf\xa1\x7a"
35135                           "\xf0\xaa\x79\xee\x6e\xa2\xc0\xbb"
35136                           "\x01\xda\xfb\xc4\x85\x26\x85\x31"
35137                           "\x15\xf4\x3c\xe0\x96\x79\x0e\xd7"
35138                           "\x50\x68\x37\x57\xb5\x31\xf7\x3c"
35139                           "\xbd\xaa\xcc\x2c\x8f\x57\x59\xa5"
35140                           "\xd4\x4b\xc6\x45\xc0\x32\x3d\x85"
35141                           "\x6d\xee\xf4\x6b\x63\xf9\x3a\xfb"
35142                           "\x2f\xdb\xb8\x42\x19\x8e\x88\x1f"
35143                           "\xfd\x7d\x0b\x69\x14\x8f\x36\xb2"
35144                           "\xd9\x27\x34\x53\x9c\x52\x00\x94"
35145                           "\xcc\x8b\x37\x82\xaf\x8e\xb3\xc0"
35146                           "\x8a\xcf\x44\xc6\x3a\x19\xbe\x1f"
35147                           "\x23\x33\x68\xc4\xb6\xbb\x13\x20"
35148                           "\xec\x6a\x87\x5b\xc2\x7c\xd3\x04"
35149                           "\x34\x97\x32\xd5\x11\x02\x06\x45"
35150                           "\x98\x0b\xaa\xab\xbe\xfb\xd0\x2c"
35151                           "\x0e\xf1\x8b\x7f\x1c\x70\x85\x67"
35152                           "\x60\x50\x66\x79\xbb\x45\x21\xc4"
35153                           "\xb5\xd3\xb9\x4f\xe5\x41\x49\x86"
35154                           "\x6b\x20\xef\xac\x16\x74\xe9\x23"
35155                           "\xa5\x2d\x5c\x2b\x85\xb2\x33\xe8"
35156                           "\x2a\xd1\x24\xd1\x5b\x9b\x7f\xfc"
35157                           "\x2f\x3b\xf7\x6a\x8b\xde\x55\x7e"
35158                           "\xda\x13\x1b\xd6\x90\x74\xb0\xbe"
35159                           "\x46\x0d\xcf\xc7\x78\x33\x31\xdc"
35160                           "\x6a\x6a\x50\x3e\x4c\xe2\xab\x48"
35161                           "\xbc\x4e\x7d\x62\xb9\xfc\xdd\x85"
35162                           "\x1c\x5d\x93\x15\x5e\x01\xd9\x2b"
35163                           "\x48\x71\x82\xd6\x44\xd6\x0e\x92"
35164                           "\x6e\x75\xc9\x3c\x1d\x31\x18\x6f"
35165                           "\x8b\xd7\x18\xf3\x09\x08\x45\xb1"
35166                           "\x3e\xa4\x25\xc6\x34\x48\xaf\x42"
35167                           "\x77\x33\x03\x65\x3e\x2f\xff\x8f"
35168                           "\xe9\xe1\xa0\xfe\xb2\xc3\x80\x77"
35169                           "\x20\x05\xe4\x9b\x47\x3b\xb2\xbd",
35170                 .len    = 4096,
35171         }
35172 };
35173
35174 /*
35175  * CTS (Cipher Text Stealing) mode tests
35176  */
35177 static const struct cipher_testvec cts_mode_tv_template[] = {
35178         { /* from rfc3962 */
35179                 .klen   = 16,
35180                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
35181                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
35182                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
35183                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
35184                           "\x20",
35185                 .len    = 17,
35186                 .ctext  = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
35187                           "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
35188                           "\x97",
35189         }, {
35190                 .klen   = 16,
35191                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
35192                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
35193                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
35194                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
35195                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
35196                           "\x20\x47\x61\x75\x27\x73\x20",
35197                 .len    = 31,
35198                 .ctext  = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
35199                           "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
35200                           "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
35201                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
35202         }, {
35203                 .klen   = 16,
35204                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
35205                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
35206                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
35207                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
35208                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
35209                           "\x20\x47\x61\x75\x27\x73\x20\x43",
35210                 .len    = 32,
35211                 .ctext  = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
35212                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
35213                           "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
35214                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
35215         }, {
35216                 .klen   = 16,
35217                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
35218                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
35219                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
35220                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
35221                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
35222                           "\x20\x47\x61\x75\x27\x73\x20\x43"
35223                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
35224                           "\x70\x6c\x65\x61\x73\x65\x2c",
35225                 .len    = 47,
35226                 .ctext  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
35227                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
35228                           "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
35229                           "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
35230                           "\x39\x31\x25\x23\xa7\x86\x62\xd5"
35231                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
35232         }, {
35233                 .klen   = 16,
35234                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
35235                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
35236                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
35237                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
35238                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
35239                           "\x20\x47\x61\x75\x27\x73\x20\x43"
35240                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
35241                           "\x70\x6c\x65\x61\x73\x65\x2c\x20",
35242                 .len    = 48,
35243                 .ctext  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
35244                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
35245                           "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
35246                           "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
35247                           "\x39\x31\x25\x23\xa7\x86\x62\xd5"
35248                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
35249         }, {
35250                 .klen   = 16,
35251                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
35252                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
35253                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
35254                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
35255                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
35256                           "\x20\x47\x61\x75\x27\x73\x20\x43"
35257                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
35258                           "\x70\x6c\x65\x61\x73\x65\x2c\x20"
35259                           "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
35260                           "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
35261                 .len    = 64,
35262                 .ctext  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
35263                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
35264                           "\x39\x31\x25\x23\xa7\x86\x62\xd5"
35265                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
35266                           "\x48\x07\xef\xe8\x36\xee\x89\xa5"
35267                           "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
35268                           "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
35269                           "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
35270         }
35271 };
35272
35273 /*
35274  * Compression stuff.
35275  */
35276 #define COMP_BUF_SIZE           512
35277
35278 struct comp_testvec {
35279         int inlen, outlen;
35280         char input[COMP_BUF_SIZE];
35281         char output[COMP_BUF_SIZE];
35282 };
35283
35284 /*
35285  * Deflate test vectors (null-terminated strings).
35286  * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
35287  */
35288
35289 static const struct comp_testvec deflate_comp_tv_template[] = {
35290         {
35291                 .inlen  = 70,
35292                 .outlen = 38,
35293                 .input  = "Join us now and share the software "
35294                         "Join us now and share the software ",
35295                 .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
35296                           "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
35297                           "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
35298                           "\x48\x55\x28\xce\x4f\x2b\x29\x07"
35299                           "\x71\xbc\x08\x2b\x01\x00",
35300         }, {
35301                 .inlen  = 191,
35302                 .outlen = 122,
35303                 .input  = "This document describes a compression method based on the DEFLATE"
35304                         "compression algorithm.  This document defines the application of "
35305                         "the DEFLATE algorithm to the IP Payload Compression Protocol.",
35306                 .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
35307                           "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
35308                           "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
35309                           "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
35310                           "\x68\x12\x51\xae\x76\x67\xd6\x27"
35311                           "\x19\x88\x1a\xde\x85\xab\x21\xf2"
35312                           "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
35313                           "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
35314                           "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
35315                           "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
35316                           "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
35317                           "\x52\x37\xed\x0e\x52\x6b\x59\x02"
35318                           "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
35319                           "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
35320                           "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
35321                           "\xfa\x02",
35322         },
35323 };
35324
35325 static const struct comp_testvec deflate_decomp_tv_template[] = {
35326         {
35327                 .inlen  = 122,
35328                 .outlen = 191,
35329                 .input  = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
35330                           "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
35331                           "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
35332                           "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
35333                           "\x68\x12\x51\xae\x76\x67\xd6\x27"
35334                           "\x19\x88\x1a\xde\x85\xab\x21\xf2"
35335                           "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
35336                           "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
35337                           "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
35338                           "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
35339                           "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
35340                           "\x52\x37\xed\x0e\x52\x6b\x59\x02"
35341                           "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
35342                           "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
35343                           "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
35344                           "\xfa\x02",
35345                 .output = "This document describes a compression method based on the DEFLATE"
35346                         "compression algorithm.  This document defines the application of "
35347                         "the DEFLATE algorithm to the IP Payload Compression Protocol.",
35348         }, {
35349                 .inlen  = 38,
35350                 .outlen = 70,
35351                 .input  = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
35352                           "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
35353                           "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
35354                           "\x48\x55\x28\xce\x4f\x2b\x29\x07"
35355                           "\x71\xbc\x08\x2b\x01\x00",
35356                 .output = "Join us now and share the software "
35357                         "Join us now and share the software ",
35358         },
35359 };
35360
35361 /*
35362  * LZO test vectors (null-terminated strings).
35363  */
35364 static const struct comp_testvec lzo_comp_tv_template[] = {
35365         {
35366                 .inlen  = 70,
35367                 .outlen = 57,
35368                 .input  = "Join us now and share the software "
35369                         "Join us now and share the software ",
35370                 .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
35371                           "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
35372                           "\x64\x20\x73\x68\x61\x72\x65\x20"
35373                           "\x74\x68\x65\x20\x73\x6f\x66\x74"
35374                           "\x77\x70\x01\x32\x88\x00\x0c\x65"
35375                           "\x20\x74\x68\x65\x20\x73\x6f\x66"
35376                           "\x74\x77\x61\x72\x65\x20\x11\x00"
35377                           "\x00",
35378         }, {
35379                 .inlen  = 159,
35380                 .outlen = 131,
35381                 .input  = "This document describes a compression method based on the LZO "
35382                         "compression algorithm.  This document defines the application of "
35383                         "the LZO algorithm used in UBIFS.",
35384                 .output = "\x00\x2c\x54\x68\x69\x73\x20\x64"
35385                           "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
35386                           "\x64\x65\x73\x63\x72\x69\x62\x65"
35387                           "\x73\x20\x61\x20\x63\x6f\x6d\x70"
35388                           "\x72\x65\x73\x73\x69\x6f\x6e\x20"
35389                           "\x6d\x65\x74\x68\x6f\x64\x20\x62"
35390                           "\x61\x73\x65\x64\x20\x6f\x6e\x20"
35391                           "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
35392                           "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
35393                           "\x72\x69\x74\x68\x6d\x2e\x20\x20"
35394                           "\x2e\x54\x01\x03\x66\x69\x6e\x65"
35395                           "\x73\x20\x74\x06\x05\x61\x70\x70"
35396                           "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
35397                           "\x66\x88\x02\x60\x09\x27\xf0\x00"
35398                           "\x0c\x20\x75\x73\x65\x64\x20\x69"
35399                           "\x6e\x20\x55\x42\x49\x46\x53\x2e"
35400                           "\x11\x00\x00",
35401         },
35402 };
35403
35404 static const struct comp_testvec lzo_decomp_tv_template[] = {
35405         {
35406                 .inlen  = 133,
35407                 .outlen = 159,
35408                 .input  = "\x00\x2b\x54\x68\x69\x73\x20\x64"
35409                           "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
35410                           "\x64\x65\x73\x63\x72\x69\x62\x65"
35411                           "\x73\x20\x61\x20\x63\x6f\x6d\x70"
35412                           "\x72\x65\x73\x73\x69\x6f\x6e\x20"
35413                           "\x6d\x65\x74\x68\x6f\x64\x20\x62"
35414                           "\x61\x73\x65\x64\x20\x6f\x6e\x20"
35415                           "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
35416                           "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
35417                           "\x69\x74\x68\x6d\x2e\x20\x20\x54"
35418                           "\x68\x69\x73\x2a\x54\x01\x02\x66"
35419                           "\x69\x6e\x65\x73\x94\x06\x05\x61"
35420                           "\x70\x70\x6c\x69\x63\x61\x74\x76"
35421                           "\x0a\x6f\x66\x88\x02\x60\x09\x27"
35422                           "\xf0\x00\x0c\x20\x75\x73\x65\x64"
35423                           "\x20\x69\x6e\x20\x55\x42\x49\x46"
35424                           "\x53\x2e\x11\x00\x00",
35425                 .output = "This document describes a compression method based on the LZO "
35426                         "compression algorithm.  This document defines the application of "
35427                         "the LZO algorithm used in UBIFS.",
35428         }, {
35429                 .inlen  = 46,
35430                 .outlen = 70,
35431                 .input  = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
35432                           "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
35433                           "\x64\x20\x73\x68\x61\x72\x65\x20"
35434                           "\x74\x68\x65\x20\x73\x6f\x66\x74"
35435                           "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
35436                           "\x3d\x88\x00\x11\x00\x00",
35437                 .output = "Join us now and share the software "
35438                         "Join us now and share the software ",
35439         },
35440 };
35441
35442 static const struct comp_testvec lzorle_comp_tv_template[] = {
35443         {
35444                 .inlen  = 70,
35445                 .outlen = 59,
35446                 .input  = "Join us now and share the software "
35447                         "Join us now and share the software ",
35448                 .output = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
35449                           "\x20\x75\x73\x20\x6e\x6f\x77\x20"
35450                           "\x61\x6e\x64\x20\x73\x68\x61\x72"
35451                           "\x65\x20\x74\x68\x65\x20\x73\x6f"
35452                           "\x66\x74\x77\x70\x01\x32\x88\x00"
35453                           "\x0c\x65\x20\x74\x68\x65\x20\x73"
35454                           "\x6f\x66\x74\x77\x61\x72\x65\x20"
35455                           "\x11\x00\x00",
35456         }, {
35457                 .inlen  = 159,
35458                 .outlen = 133,
35459                 .input  = "This document describes a compression method based on the LZO "
35460                         "compression algorithm.  This document defines the application of "
35461                         "the LZO algorithm used in UBIFS.",
35462                 .output = "\x11\x01\x00\x2c\x54\x68\x69\x73"
35463                           "\x20\x64\x6f\x63\x75\x6d\x65\x6e"
35464                           "\x74\x20\x64\x65\x73\x63\x72\x69"
35465                           "\x62\x65\x73\x20\x61\x20\x63\x6f"
35466                           "\x6d\x70\x72\x65\x73\x73\x69\x6f"
35467                           "\x6e\x20\x6d\x65\x74\x68\x6f\x64"
35468                           "\x20\x62\x61\x73\x65\x64\x20\x6f"
35469                           "\x6e\x20\x74\x68\x65\x20\x4c\x5a"
35470                           "\x4f\x20\x2a\x8c\x00\x09\x61\x6c"
35471                           "\x67\x6f\x72\x69\x74\x68\x6d\x2e"
35472                           "\x20\x20\x2e\x54\x01\x03\x66\x69"
35473                           "\x6e\x65\x73\x20\x74\x06\x05\x61"
35474                           "\x70\x70\x6c\x69\x63\x61\x74\x76"
35475                           "\x0a\x6f\x66\x88\x02\x60\x09\x27"
35476                           "\xf0\x00\x0c\x20\x75\x73\x65\x64"
35477                           "\x20\x69\x6e\x20\x55\x42\x49\x46"
35478                           "\x53\x2e\x11\x00\x00",
35479         },
35480 };
35481
35482 static const struct comp_testvec lzorle_decomp_tv_template[] = {
35483         {
35484                 .inlen  = 133,
35485                 .outlen = 159,
35486                 .input  = "\x00\x2b\x54\x68\x69\x73\x20\x64"
35487                           "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
35488                           "\x64\x65\x73\x63\x72\x69\x62\x65"
35489                           "\x73\x20\x61\x20\x63\x6f\x6d\x70"
35490                           "\x72\x65\x73\x73\x69\x6f\x6e\x20"
35491                           "\x6d\x65\x74\x68\x6f\x64\x20\x62"
35492                           "\x61\x73\x65\x64\x20\x6f\x6e\x20"
35493                           "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
35494                           "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
35495                           "\x69\x74\x68\x6d\x2e\x20\x20\x54"
35496                           "\x68\x69\x73\x2a\x54\x01\x02\x66"
35497                           "\x69\x6e\x65\x73\x94\x06\x05\x61"
35498                           "\x70\x70\x6c\x69\x63\x61\x74\x76"
35499                           "\x0a\x6f\x66\x88\x02\x60\x09\x27"
35500                           "\xf0\x00\x0c\x20\x75\x73\x65\x64"
35501                           "\x20\x69\x6e\x20\x55\x42\x49\x46"
35502                           "\x53\x2e\x11\x00\x00",
35503                 .output = "This document describes a compression method based on the LZO "
35504                         "compression algorithm.  This document defines the application of "
35505                         "the LZO algorithm used in UBIFS.",
35506         }, {
35507                 .inlen  = 59,
35508                 .outlen = 70,
35509                 .input  = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
35510                           "\x20\x75\x73\x20\x6e\x6f\x77\x20"
35511                           "\x61\x6e\x64\x20\x73\x68\x61\x72"
35512                           "\x65\x20\x74\x68\x65\x20\x73\x6f"
35513                           "\x66\x74\x77\x70\x01\x32\x88\x00"
35514                           "\x0c\x65\x20\x74\x68\x65\x20\x73"
35515                           "\x6f\x66\x74\x77\x61\x72\x65\x20"
35516                           "\x11\x00\x00",
35517                 .output = "Join us now and share the software "
35518                         "Join us now and share the software ",
35519         },
35520 };
35521
35522 /*
35523  * Michael MIC test vectors from IEEE 802.11i
35524  */
35525 #define MICHAEL_MIC_TEST_VECTORS 6
35526
35527 static const struct hash_testvec michael_mic_tv_template[] = {
35528         {
35529                 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
35530                 .ksize = 8,
35531                 .plaintext = zeroed_string,
35532                 .psize = 0,
35533                 .digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
35534         },
35535         {
35536                 .key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
35537                 .ksize = 8,
35538                 .plaintext = "M",
35539                 .psize = 1,
35540                 .digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
35541         },
35542         {
35543                 .key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
35544                 .ksize = 8,
35545                 .plaintext = "Mi",
35546                 .psize = 2,
35547                 .digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
35548         },
35549         {
35550                 .key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
35551                 .ksize = 8,
35552                 .plaintext = "Mic",
35553                 .psize = 3,
35554                 .digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
35555         },
35556         {
35557                 .key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
35558                 .ksize = 8,
35559                 .plaintext = "Mich",
35560                 .psize = 4,
35561                 .digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
35562         },
35563         {
35564                 .key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
35565                 .ksize = 8,
35566                 .plaintext = "Michael",
35567                 .psize = 7,
35568                 .digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
35569         }
35570 };
35571
35572 /*
35573  * CRC32 test vectors
35574  */
35575 static const struct hash_testvec crc32_tv_template[] = {
35576         {
35577                 .psize = 0,
35578                 .digest = "\x00\x00\x00\x00",
35579         },
35580         {
35581                 .plaintext = "abcdefg",
35582                 .psize = 7,
35583                 .digest = "\xd8\xb5\x46\xac",
35584         },
35585         {
35586                 .key = "\x87\xa9\xcb\xed",
35587                 .ksize = 4,
35588                 .psize = 0,
35589                 .digest = "\x87\xa9\xcb\xed",
35590         },
35591         {
35592                 .key = "\xff\xff\xff\xff",
35593                 .ksize = 4,
35594                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
35595                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
35596                              "\x11\x12\x13\x14\x15\x16\x17\x18"
35597                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
35598                              "\x21\x22\x23\x24\x25\x26\x27\x28",
35599                 .psize = 40,
35600                 .digest = "\x3a\xdf\x4b\xb0",
35601         },
35602         {
35603                 .key = "\xff\xff\xff\xff",
35604                 .ksize = 4,
35605                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
35606                              "\x31\x32\x33\x34\x35\x36\x37\x38"
35607                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
35608                              "\x41\x42\x43\x44\x45\x46\x47\x48"
35609                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
35610                 .psize = 40,
35611                 .digest = "\xa9\x7a\x7f\x7b",
35612         },
35613         {
35614                 .key = "\xff\xff\xff\xff",
35615                 .ksize = 4,
35616                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
35617                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
35618                              "\x61\x62\x63\x64\x65\x66\x67\x68"
35619                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
35620                              "\x71\x72\x73\x74\x75\x76\x77\x78",
35621                 .psize = 40,
35622                 .digest = "\xba\xd3\xf8\x1c",
35623         },
35624         {
35625                 .key = "\xff\xff\xff\xff",
35626                 .ksize = 4,
35627                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
35628                              "\x81\x82\x83\x84\x85\x86\x87\x88"
35629                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
35630                              "\x91\x92\x93\x94\x95\x96\x97\x98"
35631                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
35632                 .psize = 40,
35633                 .digest = "\xa8\xa9\xc2\x02",
35634         },
35635         {
35636                 .key = "\xff\xff\xff\xff",
35637                 .ksize = 4,
35638                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
35639                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
35640                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
35641                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
35642                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
35643                 .psize = 40,
35644                 .digest = "\x27\xf0\x57\xe2",
35645         },
35646         {
35647                 .key = "\xff\xff\xff\xff",
35648                 .ksize = 4,
35649                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
35650                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
35651                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
35652                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
35653                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
35654                 .psize = 40,
35655                 .digest = "\x49\x78\x10\x08",
35656         },
35657         {
35658                 .key = "\x80\xea\xd3\xf1",
35659                 .ksize = 4,
35660                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
35661                              "\x31\x32\x33\x34\x35\x36\x37\x38"
35662                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
35663                              "\x41\x42\x43\x44\x45\x46\x47\x48"
35664                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
35665                 .psize = 40,
35666                 .digest = "\x9a\xb1\xdc\xf0",
35667         },
35668         {
35669                 .key = "\xf3\x4a\x1d\x5d",
35670                 .ksize = 4,
35671                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
35672                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
35673                              "\x61\x62\x63\x64\x65\x66\x67\x68"
35674                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
35675                              "\x71\x72\x73\x74\x75\x76\x77\x78",
35676                 .psize = 40,
35677                 .digest = "\xb4\x97\xcc\xd4",
35678         },
35679         {
35680                 .key = "\x2e\x80\x04\x59",
35681                 .ksize = 4,
35682                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
35683                              "\x81\x82\x83\x84\x85\x86\x87\x88"
35684                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
35685                              "\x91\x92\x93\x94\x95\x96\x97\x98"
35686                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
35687                 .psize = 40,
35688                 .digest = "\x67\x9b\xfa\x79",
35689         },
35690         {
35691                 .key = "\xa6\xcc\x19\x85",
35692                 .ksize = 4,
35693                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
35694                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
35695                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
35696                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
35697                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
35698                 .psize = 40,
35699                 .digest = "\x24\xb5\x16\xef",
35700         },
35701         {
35702                 .key = "\x41\xfc\xfe\x2d",
35703                 .ksize = 4,
35704                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
35705                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
35706                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
35707                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
35708                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
35709                 .psize = 40,
35710                 .digest = "\x15\x94\x80\x39",
35711         },
35712         {
35713                 .key = "\xff\xff\xff\xff",
35714                 .ksize = 4,
35715                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
35716                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
35717                              "\x11\x12\x13\x14\x15\x16\x17\x18"
35718                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
35719                              "\x21\x22\x23\x24\x25\x26\x27\x28"
35720                              "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
35721                              "\x31\x32\x33\x34\x35\x36\x37\x38"
35722                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
35723                              "\x41\x42\x43\x44\x45\x46\x47\x48"
35724                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
35725                              "\x51\x52\x53\x54\x55\x56\x57\x58"
35726                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
35727                              "\x61\x62\x63\x64\x65\x66\x67\x68"
35728                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
35729                              "\x71\x72\x73\x74\x75\x76\x77\x78"
35730                              "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
35731                              "\x81\x82\x83\x84\x85\x86\x87\x88"
35732                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
35733                              "\x91\x92\x93\x94\x95\x96\x97\x98"
35734                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
35735                              "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
35736                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
35737                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
35738                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
35739                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
35740                              "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
35741                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
35742                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
35743                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
35744                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
35745                 .psize = 240,
35746                 .digest = "\x6c\xc6\x56\xde",
35747         }, {
35748                 .key = "\xff\xff\xff\xff",
35749                 .ksize = 4,
35750                 .plaintext =    "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
35751                                 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
35752                                 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
35753                                 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
35754                                 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
35755                                 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
35756                                 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
35757                                 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
35758                                 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
35759                                 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
35760                                 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
35761                                 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
35762                                 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
35763                                 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
35764                                 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
35765                                 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
35766                                 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
35767                                 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
35768                                 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
35769                                 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
35770                                 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
35771                                 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
35772                                 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
35773                                 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
35774                                 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
35775                                 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
35776                                 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
35777                                 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
35778                                 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
35779                                 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
35780                                 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
35781                                 "\x47\xde\x75\x0c\x80\x17\xae\x22"
35782                                 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
35783                                 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
35784                                 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
35785                                 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
35786                                 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
35787                                 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
35788                                 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
35789                                 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
35790                                 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
35791                                 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
35792                                 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
35793                                 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
35794                                 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
35795                                 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
35796                                 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
35797                                 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
35798                                 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
35799                                 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
35800                                 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
35801                                 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
35802                                 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
35803                                 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
35804                                 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
35805                                 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
35806                                 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
35807                                 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
35808                                 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
35809                                 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
35810                                 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
35811                                 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
35812                                 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
35813                                 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
35814                                 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
35815                                 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
35816                                 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
35817                                 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
35818                                 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
35819                                 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
35820                                 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
35821                                 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
35822                                 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
35823                                 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
35824                                 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
35825                                 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
35826                                 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
35827                                 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
35828                                 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
35829                                 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
35830                                 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
35831                                 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
35832                                 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
35833                                 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
35834                                 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
35835                                 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
35836                                 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
35837                                 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
35838                                 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
35839                                 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
35840                                 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
35841                                 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
35842                                 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
35843                                 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
35844                                 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
35845                                 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
35846                                 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
35847                                 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
35848                                 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
35849                                 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
35850                                 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
35851                                 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
35852                                 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
35853                                 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
35854                                 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
35855                                 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
35856                                 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
35857                                 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
35858                                 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
35859                                 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
35860                                 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
35861                                 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
35862                                 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
35863                                 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
35864                                 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
35865                                 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
35866                                 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
35867                                 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
35868                                 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
35869                                 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
35870                                 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
35871                                 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
35872                                 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
35873                                 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
35874                                 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
35875                                 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
35876                                 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
35877                                 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
35878                                 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
35879                                 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
35880                                 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
35881                                 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
35882                                 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
35883                                 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
35884                                 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
35885                                 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
35886                                 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
35887                                 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
35888                                 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
35889                                 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
35890                                 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
35891                                 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
35892                                 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
35893                                 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
35894                                 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
35895                                 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
35896                                 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
35897                                 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
35898                                 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
35899                                 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
35900                                 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
35901                                 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
35902                                 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
35903                                 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
35904                                 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
35905                                 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
35906                                 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
35907                                 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
35908                                 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
35909                                 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
35910                                 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
35911                                 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
35912                                 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
35913                                 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
35914                                 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
35915                                 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
35916                                 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
35917                                 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
35918                                 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
35919                                 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
35920                                 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
35921                                 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
35922                                 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
35923                                 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
35924                                 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
35925                                 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
35926                                 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
35927                                 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
35928                                 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
35929                                 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
35930                                 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
35931                                 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
35932                                 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
35933                                 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
35934                                 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
35935                                 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
35936                                 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
35937                                 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
35938                                 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
35939                                 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
35940                                 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
35941                                 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
35942                                 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
35943                                 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
35944                                 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
35945                                 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
35946                                 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
35947                                 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
35948                                 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
35949                                 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
35950                                 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
35951                                 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
35952                                 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
35953                                 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
35954                                 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
35955                                 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
35956                                 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
35957                                 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
35958                                 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
35959                                 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
35960                                 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
35961                                 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
35962                                 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
35963                                 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
35964                                 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
35965                                 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
35966                                 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
35967                                 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
35968                                 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
35969                                 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
35970                                 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
35971                                 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
35972                                 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
35973                                 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
35974                                 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
35975                                 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
35976                                 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
35977                                 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
35978                                 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
35979                                 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
35980                                 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
35981                                 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
35982                                 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
35983                                 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
35984                                 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
35985                                 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
35986                                 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
35987                                 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
35988                                 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
35989                                 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
35990                                 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
35991                                 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
35992                                 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
35993                                 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
35994                                 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
35995                                 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
35996                                 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
35997                                 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
35998                                 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
35999                                 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
36000                                 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
36001                                 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
36002                                 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
36003                                 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
36004                                 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
36005                                 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
36006                 .psize = 2048,
36007                 .digest = "\xfb\x3a\x7a\xda",
36008         }
36009 };
36010
36011 /*
36012  * CRC32C test vectors
36013  */
36014 static const struct hash_testvec crc32c_tv_template[] = {
36015         {
36016                 .psize = 0,
36017                 .digest = "\x00\x00\x00\x00",
36018         },
36019         {
36020                 .plaintext = "abcdefg",
36021                 .psize = 7,
36022                 .digest = "\x41\xf4\x27\xe6",
36023         },
36024         {
36025                 .key = "\x87\xa9\xcb\xed",
36026                 .ksize = 4,
36027                 .psize = 0,
36028                 .digest = "\x78\x56\x34\x12",
36029         },
36030         {
36031                 .key = "\xff\xff\xff\xff",
36032                 .ksize = 4,
36033                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
36034                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
36035                              "\x11\x12\x13\x14\x15\x16\x17\x18"
36036                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
36037                              "\x21\x22\x23\x24\x25\x26\x27\x28",
36038                 .psize = 40,
36039                 .digest = "\x7f\x15\x2c\x0e",
36040         },
36041         {
36042                 .key = "\xff\xff\xff\xff",
36043                 .ksize = 4,
36044                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
36045                              "\x31\x32\x33\x34\x35\x36\x37\x38"
36046                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
36047                              "\x41\x42\x43\x44\x45\x46\x47\x48"
36048                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
36049                 .psize = 40,
36050                 .digest = "\xf6\xeb\x80\xe9",
36051         },
36052         {
36053                 .key = "\xff\xff\xff\xff",
36054                 .ksize = 4,
36055                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
36056                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
36057                              "\x61\x62\x63\x64\x65\x66\x67\x68"
36058                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
36059                              "\x71\x72\x73\x74\x75\x76\x77\x78",
36060                 .psize = 40,
36061                 .digest = "\xed\xbd\x74\xde",
36062         },
36063         {
36064                 .key = "\xff\xff\xff\xff",
36065                 .ksize = 4,
36066                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
36067                              "\x81\x82\x83\x84\x85\x86\x87\x88"
36068                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
36069                              "\x91\x92\x93\x94\x95\x96\x97\x98"
36070                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
36071                 .psize = 40,
36072                 .digest = "\x62\xc8\x79\xd5",
36073         },
36074         {
36075                 .key = "\xff\xff\xff\xff",
36076                 .ksize = 4,
36077                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
36078                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
36079                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
36080                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
36081                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
36082                 .psize = 40,
36083                 .digest = "\xd0\x9a\x97\xba",
36084         },
36085         {
36086                 .key = "\xff\xff\xff\xff",
36087                 .ksize = 4,
36088                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
36089                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
36090                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
36091                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
36092                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
36093                 .psize = 40,
36094                 .digest = "\x13\xd9\x29\x2b",
36095         },
36096         {
36097                 .key = "\x80\xea\xd3\xf1",
36098                 .ksize = 4,
36099                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
36100                              "\x31\x32\x33\x34\x35\x36\x37\x38"
36101                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
36102                              "\x41\x42\x43\x44\x45\x46\x47\x48"
36103                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
36104                 .psize = 40,
36105                 .digest = "\x0c\xb5\xe2\xa2",
36106         },
36107         {
36108                 .key = "\xf3\x4a\x1d\x5d",
36109                 .ksize = 4,
36110                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
36111                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
36112                              "\x61\x62\x63\x64\x65\x66\x67\x68"
36113                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
36114                              "\x71\x72\x73\x74\x75\x76\x77\x78",
36115                 .psize = 40,
36116                 .digest = "\xd1\x7f\xfb\xa6",
36117         },
36118         {
36119                 .key = "\x2e\x80\x04\x59",
36120                 .ksize = 4,
36121                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
36122                              "\x81\x82\x83\x84\x85\x86\x87\x88"
36123                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
36124                              "\x91\x92\x93\x94\x95\x96\x97\x98"
36125                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
36126                 .psize = 40,
36127                 .digest = "\x59\x33\xe6\x7a",
36128         },
36129         {
36130                 .key = "\xa6\xcc\x19\x85",
36131                 .ksize = 4,
36132                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
36133                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
36134                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
36135                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
36136                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
36137                 .psize = 40,
36138                 .digest = "\xbe\x03\x01\xd2",
36139         },
36140         {
36141                 .key = "\x41\xfc\xfe\x2d",
36142                 .ksize = 4,
36143                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
36144                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
36145                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
36146                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
36147                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
36148                 .psize = 40,
36149                 .digest = "\x75\xd3\xc5\x24",
36150         },
36151         {
36152                 .key = "\xff\xff\xff\xff",
36153                 .ksize = 4,
36154                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
36155                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
36156                              "\x11\x12\x13\x14\x15\x16\x17\x18"
36157                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
36158                              "\x21\x22\x23\x24\x25\x26\x27\x28"
36159                              "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
36160                              "\x31\x32\x33\x34\x35\x36\x37\x38"
36161                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
36162                              "\x41\x42\x43\x44\x45\x46\x47\x48"
36163                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
36164                              "\x51\x52\x53\x54\x55\x56\x57\x58"
36165                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
36166                              "\x61\x62\x63\x64\x65\x66\x67\x68"
36167                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
36168                              "\x71\x72\x73\x74\x75\x76\x77\x78"
36169                              "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
36170                              "\x81\x82\x83\x84\x85\x86\x87\x88"
36171                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
36172                              "\x91\x92\x93\x94\x95\x96\x97\x98"
36173                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
36174                              "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
36175                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
36176                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
36177                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
36178                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
36179                              "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
36180                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
36181                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
36182                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
36183                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
36184                 .psize = 240,
36185                 .digest = "\x75\xd3\xc5\x24",
36186         }, {
36187                 .key = "\xff\xff\xff\xff",
36188                 .ksize = 4,
36189                 .plaintext =    "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
36190                                 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
36191                                 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
36192                                 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
36193                                 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
36194                                 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
36195                                 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
36196                                 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
36197                                 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
36198                                 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
36199                                 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
36200                                 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
36201                                 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
36202                                 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
36203                                 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
36204                                 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
36205                                 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
36206                                 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
36207                                 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
36208                                 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
36209                                 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
36210                                 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
36211                                 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
36212                                 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
36213                                 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
36214                                 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
36215                                 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
36216                                 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
36217                                 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
36218                                 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
36219                                 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
36220                                 "\x47\xde\x75\x0c\x80\x17\xae\x22"
36221                                 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
36222                                 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
36223                                 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
36224                                 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
36225                                 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
36226                                 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
36227                                 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
36228                                 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
36229                                 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
36230                                 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
36231                                 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
36232                                 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
36233                                 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
36234                                 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
36235                                 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
36236                                 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
36237                                 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
36238                                 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
36239                                 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
36240                                 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
36241                                 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
36242                                 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
36243                                 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
36244                                 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
36245                                 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
36246                                 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
36247                                 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
36248                                 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
36249                                 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
36250                                 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
36251                                 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
36252                                 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
36253                                 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
36254                                 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
36255                                 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
36256                                 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
36257                                 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
36258                                 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
36259                                 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
36260                                 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
36261                                 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
36262                                 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
36263                                 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
36264                                 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
36265                                 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
36266                                 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
36267                                 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
36268                                 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
36269                                 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
36270                                 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
36271                                 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
36272                                 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
36273                                 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
36274                                 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
36275                                 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
36276                                 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
36277                                 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
36278                                 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
36279                                 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
36280                                 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
36281                                 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
36282                                 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
36283                                 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
36284                                 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
36285                                 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
36286                                 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
36287                                 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
36288                                 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
36289                                 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
36290                                 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
36291                                 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
36292                                 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
36293                                 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
36294                                 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
36295                                 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
36296                                 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
36297                                 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
36298                                 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
36299                                 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
36300                                 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
36301                                 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
36302                                 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
36303                                 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
36304                                 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
36305                                 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
36306                                 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
36307                                 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
36308                                 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
36309                                 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
36310                                 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
36311                                 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
36312                                 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
36313                                 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
36314                                 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
36315                                 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
36316                                 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
36317                                 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
36318                                 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
36319                                 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
36320                                 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
36321                                 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
36322                                 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
36323                                 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
36324                                 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
36325                                 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
36326                                 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
36327                                 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
36328                                 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
36329                                 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
36330                                 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
36331                                 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
36332                                 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
36333                                 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
36334                                 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
36335                                 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
36336                                 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
36337                                 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
36338                                 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
36339                                 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
36340                                 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
36341                                 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
36342                                 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
36343                                 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
36344                                 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
36345                                 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
36346                                 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
36347                                 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
36348                                 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
36349                                 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
36350                                 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
36351                                 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
36352                                 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
36353                                 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
36354                                 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
36355                                 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
36356                                 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
36357                                 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
36358                                 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
36359                                 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
36360                                 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
36361                                 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
36362                                 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
36363                                 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
36364                                 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
36365                                 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
36366                                 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
36367                                 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
36368                                 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
36369                                 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
36370                                 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
36371                                 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
36372                                 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
36373                                 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
36374                                 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
36375                                 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
36376                                 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
36377                                 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
36378                                 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
36379                                 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
36380                                 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
36381                                 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
36382                                 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
36383                                 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
36384                                 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
36385                                 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
36386                                 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
36387                                 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
36388                                 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
36389                                 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
36390                                 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
36391                                 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
36392                                 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
36393                                 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
36394                                 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
36395                                 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
36396                                 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
36397                                 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
36398                                 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
36399                                 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
36400                                 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
36401                                 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
36402                                 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
36403                                 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
36404                                 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
36405                                 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
36406                                 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
36407                                 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
36408                                 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
36409                                 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
36410                                 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
36411                                 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
36412                                 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
36413                                 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
36414                                 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
36415                                 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
36416                                 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
36417                                 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
36418                                 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
36419                                 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
36420                                 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
36421                                 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
36422                                 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
36423                                 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
36424                                 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
36425                                 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
36426                                 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
36427                                 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
36428                                 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
36429                                 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
36430                                 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
36431                                 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
36432                                 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
36433                                 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
36434                                 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
36435                                 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
36436                                 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
36437                                 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
36438                                 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
36439                                 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
36440                                 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
36441                                 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
36442                                 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
36443                                 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
36444                                 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
36445                 .psize = 2048,
36446                 .digest = "\xec\x26\x4d\x95",
36447         }
36448 };
36449
36450 static const struct hash_testvec xxhash64_tv_template[] = {
36451         {
36452                 .psize = 0,
36453                 .digest = "\x99\xe9\xd8\x51\x37\xdb\x46\xef",
36454         },
36455         {
36456                 .plaintext = "\x40",
36457                 .psize = 1,
36458                 .digest = "\x20\x5c\x91\xaa\x88\xeb\x59\xd0",
36459         },
36460         {
36461                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
36462                              "\x88\xc7\x9a\x09\x1a\x9b",
36463                 .psize = 14,
36464                 .digest = "\xa8\xe8\x2b\xa9\x92\xa1\x37\x4a",
36465         },
36466         {
36467                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
36468                              "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
36469                              "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
36470                              "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
36471                              "\x31\x65\x05\xbb\x31\xae\x51\x11"
36472                              "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
36473                              "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
36474                              "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
36475                              "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
36476                              "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
36477                              "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
36478                              "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
36479                              "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
36480                              "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
36481                              "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
36482                              "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
36483                              "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
36484                              "\x43\x99\x4d\x81\x85\xae\x82\x00"
36485                              "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
36486                              "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
36487                              "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
36488                              "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
36489                              "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
36490                              "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
36491                              "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
36492                              "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
36493                              "\x12\x02\x0c\xdb\x94\x00\x38\x95"
36494                              "\xed\xfd\x08\xf7\xe8\x04",
36495                 .psize = 222,
36496                 .digest = "\x41\xfc\xd4\x29\xfe\xe7\x85\x17",
36497         },
36498         {
36499                 .psize = 0,
36500                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
36501                 .ksize = 8,
36502                 .digest = "\xef\x17\x9b\x92\xa2\xfd\x75\xac",
36503         },
36504
36505         {
36506                 .plaintext = "\x40",
36507                 .psize = 1,
36508                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
36509                 .ksize = 8,
36510                 .digest = "\xd1\x70\x4f\x14\x02\xc4\x9e\x71",
36511         },
36512         {
36513                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
36514                              "\x88\xc7\x9a\x09\x1a\x9b",
36515                 .psize = 14,
36516                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
36517                 .ksize = 8,
36518                 .digest = "\xa4\xcd\xfe\x8e\x37\xe2\x1c\x64"
36519         },
36520         {
36521                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
36522                              "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
36523                              "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
36524                              "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
36525                              "\x31\x65\x05\xbb\x31\xae\x51\x11"
36526                              "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
36527                              "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
36528                              "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
36529                              "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
36530                              "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
36531                              "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
36532                              "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
36533                              "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
36534                              "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
36535                              "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
36536                              "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
36537                              "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
36538                              "\x43\x99\x4d\x81\x85\xae\x82\x00"
36539                              "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
36540                              "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
36541                              "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
36542                              "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
36543                              "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
36544                              "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
36545                              "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
36546                              "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
36547                              "\x12\x02\x0c\xdb\x94\x00\x38\x95"
36548                              "\xed\xfd\x08\xf7\xe8\x04",
36549                 .psize = 222,
36550                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
36551                 .ksize = 8,
36552                 .digest = "\x58\xbc\x55\xf2\x42\x81\x5c\xf0"
36553         },
36554 };
36555
36556 static const struct comp_testvec lz4_comp_tv_template[] = {
36557         {
36558                 .inlen  = 255,
36559                 .outlen = 218,
36560                 .input  = "LZ4 is lossless compression algorithm, providing"
36561                          " compression speed at 400 MB/s per core, scalable "
36562                          "with multi-cores CPU. It features an extremely fast "
36563                          "decoder, with speed in multiple GB/s per core, "
36564                          "typically reaching RAM speed limits on multi-core "
36565                          "systems.",
36566                 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
36567                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
36568                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
36569                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
36570                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
36571                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
36572                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
36573                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
36574                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
36575                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
36576                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
36577                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
36578                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
36579                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
36580                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
36581                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
36582                           "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
36583
36584         },
36585 };
36586
36587 static const struct comp_testvec lz4_decomp_tv_template[] = {
36588         {
36589                 .inlen  = 218,
36590                 .outlen = 255,
36591                 .input  = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
36592                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
36593                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
36594                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
36595                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
36596                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
36597                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
36598                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
36599                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
36600                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
36601                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
36602                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
36603                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
36604                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
36605                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
36606                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
36607                           "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
36608                 .output = "LZ4 is lossless compression algorithm, providing"
36609                          " compression speed at 400 MB/s per core, scalable "
36610                          "with multi-cores CPU. It features an extremely fast "
36611                          "decoder, with speed in multiple GB/s per core, "
36612                          "typically reaching RAM speed limits on multi-core "
36613                          "systems.",
36614         },
36615 };
36616
36617 static const struct comp_testvec lz4hc_comp_tv_template[] = {
36618         {
36619                 .inlen  = 255,
36620                 .outlen = 216,
36621                 .input  = "LZ4 is lossless compression algorithm, providing"
36622                          " compression speed at 400 MB/s per core, scalable "
36623                          "with multi-cores CPU. It features an extremely fast "
36624                          "decoder, with speed in multiple GB/s per core, "
36625                          "typically reaching RAM speed limits on multi-core "
36626                          "systems.",
36627                 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
36628                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
36629                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
36630                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
36631                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
36632                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
36633                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
36634                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
36635                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
36636                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
36637                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
36638                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
36639                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
36640                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
36641                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
36642                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
36643                           "\x73\x79\x73\x74\x65\x6d\x73\x2e",
36644
36645         },
36646 };
36647
36648 static const struct comp_testvec lz4hc_decomp_tv_template[] = {
36649         {
36650                 .inlen  = 216,
36651                 .outlen = 255,
36652                 .input  = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
36653                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
36654                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
36655                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
36656                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
36657                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
36658                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
36659                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
36660                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
36661                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
36662                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
36663                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
36664                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
36665                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
36666                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
36667                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
36668                           "\x73\x79\x73\x74\x65\x6d\x73\x2e",
36669                 .output = "LZ4 is lossless compression algorithm, providing"
36670                          " compression speed at 400 MB/s per core, scalable "
36671                          "with multi-cores CPU. It features an extremely fast "
36672                          "decoder, with speed in multiple GB/s per core, "
36673                          "typically reaching RAM speed limits on multi-core "
36674                          "systems.",
36675         },
36676 };
36677
36678 static const struct comp_testvec zstd_comp_tv_template[] = {
36679         {
36680                 .inlen  = 68,
36681                 .outlen = 39,
36682                 .input  = "The algorithm is zstd. "
36683                           "The algorithm is zstd. "
36684                           "The algorithm is zstd.",
36685                 .output = "\x28\xb5\x2f\xfd\x00\x50\xf5\x00\x00\xb8\x54\x68\x65"
36686                           "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
36687                           "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
36688                           ,
36689         },
36690         {
36691                 .inlen  = 244,
36692                 .outlen = 151,
36693                 .input  = "zstd, short for Zstandard, is a fast lossless "
36694                           "compression algorithm, targeting real-time "
36695                           "compression scenarios at zlib-level and better "
36696                           "compression ratios. The zstd compression library "
36697                           "provides in-memory compression and decompression "
36698                           "functions.",
36699                 .output = "\x28\xb5\x2f\xfd\x00\x50\x75\x04\x00\x42\x4b\x1e\x17"
36700                           "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
36701                           "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
36702                           "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
36703                           "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
36704                           "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
36705                           "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
36706                           "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
36707                           "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
36708                           "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
36709                           "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
36710                           "\x20\xa9\x0e\x82\xb9\x43\x45\x01",
36711         },
36712 };
36713
36714 static const struct comp_testvec zstd_decomp_tv_template[] = {
36715         {
36716                 .inlen  = 43,
36717                 .outlen = 68,
36718                 .input  = "\x28\xb5\x2f\xfd\x04\x50\xf5\x00\x00\xb8\x54\x68\x65"
36719                           "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
36720                           "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
36721                           "\x6b\xf4\x13\x35",
36722                 .output = "The algorithm is zstd. "
36723                           "The algorithm is zstd. "
36724                           "The algorithm is zstd.",
36725         },
36726         {
36727                 .inlen  = 155,
36728                 .outlen = 244,
36729                 .input  = "\x28\xb5\x2f\xfd\x04\x50\x75\x04\x00\x42\x4b\x1e\x17"
36730                           "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
36731                           "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
36732                           "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
36733                           "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
36734                           "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
36735                           "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
36736                           "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
36737                           "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
36738                           "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
36739                           "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
36740                           "\x20\xa9\x0e\x82\xb9\x43\x45\x01\xaa\x6d\xda\x0d",
36741                 .output = "zstd, short for Zstandard, is a fast lossless "
36742                           "compression algorithm, targeting real-time "
36743                           "compression scenarios at zlib-level and better "
36744                           "compression ratios. The zstd compression library "
36745                           "provides in-memory compression and decompression "
36746                           "functions.",
36747         },
36748 };
36749
36750 /* based on aes_cbc_tv_template */
36751 static const struct cipher_testvec essiv_aes_cbc_tv_template[] = {
36752         {
36753                 .key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
36754                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
36755                 .klen   = 16,
36756                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
36757                           "\x00\x00\x00\x00\x00\x00\x00\x00",
36758                 .ptext  = "Single block msg",
36759                 .ctext  = "\xfa\x59\xe7\x5f\x41\x56\x65\xc3"
36760                           "\x36\xca\x6b\x72\x10\x9f\x8c\xd4",
36761                 .len    = 16,
36762         }, {
36763                 .key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
36764                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
36765                 .klen   = 16,
36766                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
36767                           "\x00\x00\x00\x00\x00\x00\x00\x00",
36768                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
36769                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
36770                           "\x10\x11\x12\x13\x14\x15\x16\x17"
36771                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
36772                 .ctext  = "\xc8\x59\x9a\xfe\x79\xe6\x7b\x20"
36773                           "\x06\x7d\x55\x0a\x5e\xc7\xb5\xa7"
36774                           "\x0b\x9c\x80\xd2\x15\xa1\xb8\x6d"
36775                           "\xc6\xab\x7b\x65\xd9\xfd\x88\xeb",
36776                 .len    = 32,
36777         }, {
36778                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
36779                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
36780                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
36781                 .klen   = 24,
36782                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
36783                           "\x00\x00\x00\x00\x00\x00\x00\x00",
36784                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
36785                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
36786                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
36787                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
36788                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
36789                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
36790                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
36791                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
36792                 .ctext  = "\x96\x6d\xa9\x7a\x42\xe6\x01\xc7"
36793                           "\x17\xfc\xa7\x41\xd3\x38\x0b\xe5"
36794                           "\x51\x48\xf7\x7e\x5e\x26\xa9\xfe"
36795                           "\x45\x72\x1c\xd9\xde\xab\xf3\x4d"
36796                           "\x39\x47\xc5\x4f\x97\x3a\x55\x63"
36797                           "\x80\x29\x64\x4c\x33\xe8\x21\x8a"
36798                           "\x6a\xef\x6b\x6a\x8f\x43\xc0\xcb"
36799                           "\xf0\xf3\x6e\x74\x54\x44\x92\x44",
36800                 .len    = 64,
36801         }, {
36802                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
36803                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
36804                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
36805                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
36806                 .klen   = 32,
36807                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
36808                           "\x00\x00\x00\x00\x00\x00\x00\x00",
36809                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
36810                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
36811                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
36812                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
36813                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
36814                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
36815                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
36816                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
36817                 .ctext  = "\x24\x52\xf1\x48\x74\xd0\xa7\x93"
36818                           "\x75\x9b\x63\x46\xc0\x1c\x1e\x17"
36819                           "\x4d\xdc\x5b\x3a\x27\x93\x2a\x63"
36820                           "\xf7\xf1\xc7\xb3\x54\x56\x5b\x50"
36821                           "\xa3\x31\xa5\x8b\xd6\xfd\xb6\x3c"
36822                           "\x8b\xf6\xf2\x45\x05\x0c\xc8\xbb"
36823                           "\x32\x0b\x26\x1c\xe9\x8b\x02\xc0"
36824                           "\xb2\x6f\x37\xa7\x5b\xa8\xa9\x42",
36825                 .len    = 64,
36826         }, {
36827                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
36828                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
36829                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
36830                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
36831                 .klen   = 32,
36832                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
36833                           "\x00\x00\x00\x00\x00\x00\x00\x00",
36834                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
36835                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
36836                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
36837                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
36838                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
36839                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
36840                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
36841                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
36842                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
36843                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
36844                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
36845                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
36846                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
36847                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
36848                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
36849                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
36850                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
36851                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
36852                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
36853                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
36854                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
36855                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
36856                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
36857                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
36858                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
36859                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
36860                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
36861                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
36862                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
36863                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
36864                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
36865                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
36866                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
36867                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
36868                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
36869                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
36870                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
36871                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
36872                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
36873                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
36874                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
36875                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
36876                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
36877                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
36878                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
36879                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
36880                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
36881                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
36882                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
36883                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
36884                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
36885                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
36886                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
36887                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
36888                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
36889                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
36890                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
36891                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
36892                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
36893                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
36894                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
36895                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
36896                 .ctext  = "\x97\x7f\x69\x0f\x0f\x34\xa6\x33"
36897                           "\x66\x49\x7e\xd0\x4d\x1b\xc9\x64"
36898                           "\xf9\x61\x95\x98\x11\x00\x88\xf8"
36899                           "\x2e\x88\x01\x0f\x2b\xe1\xae\x3e"
36900                           "\xfe\xd6\x47\x30\x11\x68\x7d\x99"
36901                           "\xad\x69\x6a\xe8\x41\x5f\x1e\x16"
36902                           "\x00\x3a\x47\xdf\x8e\x7d\x23\x1c"
36903                           "\x19\x5b\x32\x76\x60\x03\x05\xc1"
36904                           "\xa0\xff\xcf\xcc\x74\x39\x46\x63"
36905                           "\xfe\x5f\xa6\x35\xa7\xb4\xc1\xf9"
36906                           "\x4b\x5e\x38\xcc\x8c\xc1\xa2\xcf"
36907                           "\x9a\xc3\xae\x55\x42\x46\x93\xd9"
36908                           "\xbd\x22\xd3\x8a\x19\x96\xc3\xb3"
36909                           "\x7d\x03\x18\xf9\x45\x09\x9c\xc8"
36910                           "\x90\xf3\x22\xb3\x25\x83\x9a\x75"
36911                           "\xbb\x04\x48\x97\x3a\x63\x08\x04"
36912                           "\xa0\x69\xf6\x52\xd4\x89\x93\x69"
36913                           "\xb4\x33\xa2\x16\x58\xec\x4b\x26"
36914                           "\x76\x54\x10\x0b\x6e\x53\x1e\xbc"
36915                           "\x16\x18\x42\xb1\xb1\xd3\x4b\xda"
36916                           "\x06\x9f\x8b\x77\xf7\xab\xd6\xed"
36917                           "\xa3\x1d\x90\xda\x49\x38\x20\xb8"
36918                           "\x6c\xee\xae\x3e\xae\x6c\x03\xb8"
36919                           "\x0b\xed\xc8\xaa\x0e\xc5\x1f\x90"
36920                           "\x60\xe2\xec\x1b\x76\xd0\xcf\xda"
36921                           "\x29\x1b\xb8\x5a\xbc\xf4\xba\x13"
36922                           "\x91\xa6\xcb\x83\x3f\xeb\xe9\x7b"
36923                           "\x03\xba\x40\x9e\xe6\x7a\xb2\x4a"
36924                           "\x73\x49\xfc\xed\xfb\x55\xa4\x24"
36925                           "\xc7\xa4\xd7\x4b\xf5\xf7\x16\x62"
36926                           "\x80\xd3\x19\x31\x52\x25\xa8\x69"
36927                           "\xda\x9a\x87\xf5\xf2\xee\x5d\x61"
36928                           "\xc1\x12\x72\x3e\x52\x26\x45\x3a"
36929                           "\xd8\x9d\x57\xfa\x14\xe2\x9b\x2f"
36930                           "\xd4\xaa\x5e\x31\xf4\x84\x89\xa4"
36931                           "\xe3\x0e\xb0\x58\x41\x75\x6a\xcb"
36932                           "\x30\x01\x98\x90\x15\x80\xf5\x27"
36933                           "\x92\x13\x81\xf0\x1c\x1e\xfc\xb1"
36934                           "\x33\xf7\x63\xb0\x67\xec\x2e\x5c"
36935                           "\x85\xe3\x5b\xd0\x43\x8a\xb8\x5f"
36936                           "\x44\x9f\xec\x19\xc9\x8f\xde\xdf"
36937                           "\x79\xef\xf8\xee\x14\x87\xb3\x34"
36938                           "\x76\x00\x3a\x9b\xc7\xed\xb1\x3d"
36939                           "\xef\x07\xb0\xe4\xfd\x68\x9e\xeb"
36940                           "\xc2\xb4\x1a\x85\x9a\x7d\x11\x88"
36941                           "\xf8\xab\x43\x55\x2b\x8a\x4f\x60"
36942                           "\x85\x9a\xf4\xba\xae\x48\x81\xeb"
36943                           "\x93\x07\x97\x9e\xde\x2a\xfc\x4e"
36944                           "\x31\xde\xaa\x44\xf7\x2a\xc3\xee"
36945                           "\x60\xa2\x98\x2c\x0a\x88\x50\xc5"
36946                           "\x6d\x89\xd3\xe4\xb6\xa7\xf4\xb0"
36947                           "\xcf\x0e\x89\xe3\x5e\x8f\x82\xf4"
36948                           "\x9d\xd1\xa9\x51\x50\x8a\xd2\x18"
36949                           "\x07\xb2\xaa\x3b\x7f\x58\x9b\xf4"
36950                           "\xb7\x24\x39\xd3\x66\x2f\x1e\xc0"
36951                           "\x11\xa3\x56\x56\x2a\x10\x73\xbc"
36952                           "\xe1\x23\xbf\xa9\x37\x07\x9c\xc3"
36953                           "\xb2\xc9\xa8\x1c\x5b\x5c\x58\xa4"
36954                           "\x77\x02\x26\xad\xc3\x40\x11\x53"
36955                           "\x93\x68\x72\xde\x05\x8b\x10\xbc"
36956                           "\xa6\xd4\x1b\xd9\x27\xd8\x16\x12"
36957                           "\x61\x2b\x31\x2a\x44\x87\x96\x58",
36958                 .len    = 496,
36959         },
36960 };
36961
36962 /* based on hmac_sha256_aes_cbc_tv_temp */
36963 static const struct aead_testvec essiv_hmac_sha256_aes_cbc_tv_temp[] = {
36964         {
36965 #ifdef __LITTLE_ENDIAN
36966                 .key    = "\x08\x00"            /* rta length */
36967                           "\x01\x00"            /* rta type */
36968 #else
36969                 .key    = "\x00\x08"            /* rta length */
36970                           "\x00\x01"            /* rta type */
36971 #endif
36972                           "\x00\x00\x00\x10"    /* enc key length */
36973                           "\x00\x00\x00\x00\x00\x00\x00\x00"
36974                           "\x00\x00\x00\x00\x00\x00\x00\x00"
36975                           "\x00\x00\x00\x00\x00\x00\x00\x00"
36976                           "\x00\x00\x00\x00\x00\x00\x00\x00"
36977                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
36978                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
36979                 .klen   = 8 + 32 + 16,
36980                 .iv     = "\xb3\x0c\x5a\x11\x41\xad\xc1\x04"
36981                           "\xbc\x1e\x7e\x35\xb0\x5d\x78\x29",
36982                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
36983                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
36984                 .alen   = 16,
36985                 .ptext  = "Single block msg",
36986                 .plen   = 16,
36987                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
36988                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
36989                           "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
36990                           "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
36991                           "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
36992                           "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
36993                 .clen   = 16 + 32,
36994         }, {
36995 #ifdef __LITTLE_ENDIAN
36996                 .key    = "\x08\x00"            /* rta length */
36997                           "\x01\x00"            /* rta type */
36998 #else
36999                 .key    = "\x00\x08"            /* rta length */
37000                           "\x00\x01"            /* rta type */
37001 #endif
37002                           "\x00\x00\x00\x10"    /* enc key length */
37003                           "\x20\x21\x22\x23\x24\x25\x26\x27"
37004                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
37005                           "\x30\x31\x32\x33\x34\x35\x36\x37"
37006                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
37007                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
37008                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
37009                 .klen   = 8 + 32 + 16,
37010                 .iv     = "\x56\xe8\x14\xa5\x74\x18\x75\x13"
37011                           "\x2f\x79\xe7\xc8\x65\xe3\x48\x45",
37012                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
37013                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
37014                 .alen   = 16,
37015                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
37016                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
37017                           "\x10\x11\x12\x13\x14\x15\x16\x17"
37018                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
37019                 .plen   = 32,
37020                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
37021                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
37022                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
37023                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
37024                           "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
37025                           "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
37026                           "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
37027                           "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
37028                 .clen   = 32 + 32,
37029         }, {
37030 #ifdef __LITTLE_ENDIAN
37031                 .key    = "\x08\x00"            /* rta length */
37032                           "\x01\x00"            /* rta type */
37033 #else
37034                 .key    = "\x00\x08"            /* rta length */
37035                           "\x00\x01"            /* rta type */
37036 #endif
37037                           "\x00\x00\x00\x10"    /* enc key length */
37038                           "\x11\x22\x33\x44\x55\x66\x77\x88"
37039                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
37040                           "\x22\x33\x44\x55\x66\x77\x88\x99"
37041                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
37042                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
37043                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
37044                 .klen   = 8 + 32 + 16,
37045                 .iv     = "\x1f\x6b\xfb\xd6\x6b\x72\x2f\xc9"
37046                           "\xb6\x9f\x8c\x10\xa8\x96\x15\x64",
37047                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
37048                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
37049                 .alen   = 16,
37050                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
37051                 .plen   = 48,
37052                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
37053                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
37054                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
37055                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
37056                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
37057                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
37058                           "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
37059                           "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
37060                           "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
37061                           "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
37062                 .clen   = 48 + 32,
37063         }, {
37064 #ifdef __LITTLE_ENDIAN
37065                 .key    = "\x08\x00"            /* rta length */
37066                           "\x01\x00"            /* rta type */
37067 #else
37068                 .key    = "\x00\x08"            /* rta length */
37069                           "\x00\x01"            /* rta type */
37070 #endif
37071                           "\x00\x00\x00\x10"    /* enc key length */
37072                           "\x11\x22\x33\x44\x55\x66\x77\x88"
37073                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
37074                           "\x22\x33\x44\x55\x66\x77\x88\x99"
37075                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
37076                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
37077                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
37078                 .klen   = 8 + 32 + 16,
37079                 .iv     = "\x13\xe5\xf2\xef\x61\x97\x59\x35"
37080                           "\x9b\x36\x84\x46\x4e\x63\xd1\x41",
37081                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
37082                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
37083                 .alen   = 16,
37084                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
37085                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
37086                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
37087                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
37088                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
37089                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
37090                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
37091                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
37092                 .plen   = 64,
37093                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
37094                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
37095                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
37096                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
37097                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
37098                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
37099                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
37100                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
37101                           "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
37102                           "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
37103                           "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
37104                           "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
37105                 .clen   = 64 + 32,
37106         }, {
37107 #ifdef __LITTLE_ENDIAN
37108                 .key    = "\x08\x00"            /* rta length */
37109                           "\x01\x00"            /* rta type */
37110 #else
37111                 .key    = "\x00\x08"            /* rta length */
37112                           "\x00\x01"            /* rta type */
37113 #endif
37114                           "\x00\x00\x00\x10"    /* enc key length */
37115                           "\x11\x22\x33\x44\x55\x66\x77\x88"
37116                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
37117                           "\x22\x33\x44\x55\x66\x77\x88\x99"
37118                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
37119                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
37120                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
37121                 .klen   = 8 + 32 + 16,
37122                 .iv     = "\xe4\x13\xa1\x15\xe9\x6b\xb8\x23"
37123                           "\x81\x7a\x94\x29\xab\xfd\xd2\x2c",
37124                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
37125                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
37126                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
37127                 .alen   = 24,
37128                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
37129                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
37130                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
37131                           "\x10\x11\x12\x13\x14\x15\x16\x17"
37132                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
37133                           "\x20\x21\x22\x23\x24\x25\x26\x27"
37134                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
37135                           "\x30\x31\x32\x33\x34\x35\x36\x37"
37136                           "\x01\x02\x03\x04\x05\x06\x07\x08"
37137                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
37138                 .plen   = 80,
37139                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
37140                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
37141                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
37142                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
37143                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
37144                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
37145                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
37146                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
37147                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
37148                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
37149                           "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
37150                           "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
37151                           "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
37152                           "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
37153                 .clen   = 80 + 32,
37154        }, {
37155 #ifdef __LITTLE_ENDIAN
37156                 .key    = "\x08\x00"            /* rta length */
37157                           "\x01\x00"            /* rta type */
37158 #else
37159                 .key    = "\x00\x08"            /* rta length */
37160                           "\x00\x01"            /* rta type */
37161 #endif
37162                           "\x00\x00\x00\x18"    /* enc key length */
37163                           "\x11\x22\x33\x44\x55\x66\x77\x88"
37164                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
37165                           "\x22\x33\x44\x55\x66\x77\x88\x99"
37166                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
37167                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
37168                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
37169                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
37170                 .klen   = 8 + 32 + 24,
37171                 .iv     = "\x49\xca\x41\xc9\x6b\xbf\x6c\x98"
37172                           "\x38\x2f\xa7\x3d\x4d\x80\x49\xb0",
37173                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
37174                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
37175                 .alen   = 16,
37176                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
37177                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
37178                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
37179                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
37180                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
37181                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
37182                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
37183                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
37184                 .plen   = 64,
37185                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
37186                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
37187                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
37188                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
37189                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
37190                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
37191                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
37192                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
37193                           "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
37194                           "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
37195                           "\xca\x71\x85\x93\xf7\x85\x55\x8b"
37196                           "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
37197                 .clen   = 64 + 32,
37198         }, {
37199 #ifdef __LITTLE_ENDIAN
37200                 .key    = "\x08\x00"            /* rta length */
37201                           "\x01\x00"            /* rta type */
37202 #else
37203                 .key    = "\x00\x08"            /* rta length */
37204                           "\x00\x01"            /* rta type */
37205 #endif
37206                           "\x00\x00\x00\x20"    /* enc key length */
37207                           "\x11\x22\x33\x44\x55\x66\x77\x88"
37208                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
37209                           "\x22\x33\x44\x55\x66\x77\x88\x99"
37210                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
37211                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
37212                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
37213                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
37214                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
37215                 .klen   = 8 + 32 + 32,
37216                 .iv     = "\xdf\xab\xf2\x7c\xdc\xe0\x33\x4c"
37217                           "\xf9\x75\xaf\xf9\x2f\x60\x3a\x9b",
37218                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
37219                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
37220                 .alen   = 16,
37221                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
37222                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
37223                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
37224                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
37225                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
37226                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
37227                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
37228                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
37229                 .plen   = 64,
37230                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
37231                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
37232                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
37233                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
37234                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
37235                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
37236                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
37237                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
37238                           "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
37239                           "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
37240                           "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
37241                           "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
37242                 .clen   = 64 + 32,
37243         },
37244 };
37245
37246 static const char blake2_ordered_sequence[] =
37247         "\x00\x01\x02\x03\x04\x05\x06\x07"
37248         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
37249         "\x10\x11\x12\x13\x14\x15\x16\x17"
37250         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
37251         "\x20\x21\x22\x23\x24\x25\x26\x27"
37252         "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
37253         "\x30\x31\x32\x33\x34\x35\x36\x37"
37254         "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
37255         "\x40\x41\x42\x43\x44\x45\x46\x47"
37256         "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
37257         "\x50\x51\x52\x53\x54\x55\x56\x57"
37258         "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
37259         "\x60\x61\x62\x63\x64\x65\x66\x67"
37260         "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
37261         "\x70\x71\x72\x73\x74\x75\x76\x77"
37262         "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
37263         "\x80\x81\x82\x83\x84\x85\x86\x87"
37264         "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
37265         "\x90\x91\x92\x93\x94\x95\x96\x97"
37266         "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
37267         "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
37268         "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
37269         "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
37270         "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
37271         "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
37272         "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
37273         "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
37274         "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
37275         "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
37276         "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
37277         "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
37278         "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
37279
37280 static const struct hash_testvec blake2b_160_tv_template[] = {{
37281         .digest = (u8[]){ 0x33, 0x45, 0x52, 0x4a, 0xbf, 0x6b, 0xbe, 0x18,
37282                           0x09, 0x44, 0x92, 0x24, 0xb5, 0x97, 0x2c, 0x41,
37283                           0x79, 0x0b, 0x6c, 0xf2, },
37284 }, {
37285         .plaintext = blake2_ordered_sequence,
37286         .psize = 64,
37287         .digest = (u8[]){ 0x11, 0xcc, 0x66, 0x61, 0xe9, 0x22, 0xb0, 0xe4,
37288                           0x07, 0xe0, 0xa5, 0x72, 0x49, 0xc3, 0x8d, 0x4f,
37289                           0xf7, 0x6d, 0x8e, 0xc8, },
37290 }, {
37291         .ksize = 32,
37292         .key = blake2_ordered_sequence,
37293         .plaintext = blake2_ordered_sequence,
37294         .psize = 1,
37295         .digest = (u8[]){ 0x31, 0xe3, 0xd9, 0xd5, 0x4e, 0x72, 0xd8, 0x0b,
37296                           0x2b, 0x3b, 0xd7, 0x6b, 0x82, 0x7a, 0x1d, 0xfb,
37297                           0x56, 0x2f, 0x79, 0x4c, },
37298 }, {
37299         .ksize = 64,
37300         .key = blake2_ordered_sequence,
37301         .plaintext = blake2_ordered_sequence,
37302         .psize = 7,
37303         .digest = (u8[]){ 0x28, 0x20, 0xd1, 0xbe, 0x7f, 0xcc, 0xc1, 0x62,
37304                           0xd9, 0x0d, 0x9a, 0x4b, 0x47, 0xd1, 0x5e, 0x04,
37305                           0x74, 0x2a, 0x53, 0x17, },
37306 }, {
37307         .ksize = 1,
37308         .key = "B",
37309         .plaintext = blake2_ordered_sequence,
37310         .psize = 15,
37311         .digest = (u8[]){ 0x45, 0xe9, 0x95, 0xb6, 0xc4, 0xe8, 0x22, 0xea,
37312                           0xfe, 0xd2, 0x37, 0xdb, 0x46, 0xbf, 0xf1, 0x25,
37313                           0xd5, 0x03, 0x1d, 0x81, },
37314 }, {
37315         .ksize = 32,
37316         .key = blake2_ordered_sequence,
37317         .plaintext = blake2_ordered_sequence,
37318         .psize = 247,
37319         .digest = (u8[]){ 0x7e, 0xb9, 0xf2, 0x9b, 0x2f, 0xc2, 0x01, 0xd4,
37320                           0xb0, 0x4f, 0x08, 0x2b, 0x8e, 0xbd, 0x06, 0xef,
37321                           0x1c, 0xc4, 0x25, 0x95, },
37322 }, {
37323         .ksize = 64,
37324         .key = blake2_ordered_sequence,
37325         .plaintext = blake2_ordered_sequence,
37326         .psize = 256,
37327         .digest = (u8[]){ 0x6e, 0x35, 0x01, 0x70, 0xbf, 0xb6, 0xc4, 0xba,
37328                           0x33, 0x1b, 0xa6, 0xd3, 0xc2, 0x5d, 0xb4, 0x03,
37329                           0x95, 0xaf, 0x29, 0x16, },
37330 }};
37331
37332 static const struct hash_testvec blake2b_256_tv_template[] = {{
37333         .plaintext = blake2_ordered_sequence,
37334         .psize = 7,
37335         .digest = (u8[]){ 0x9d, 0xf1, 0x4b, 0x72, 0x48, 0x76, 0x4a, 0x86,
37336                           0x91, 0x97, 0xc3, 0x5e, 0x39, 0x2d, 0x2a, 0x6d,
37337                           0x6f, 0xdc, 0x5b, 0x79, 0xd5, 0x97, 0x29, 0x79,
37338                           0x20, 0xfd, 0x3f, 0x14, 0x91, 0xb4, 0x42, 0xd2, },
37339 }, {
37340         .plaintext = blake2_ordered_sequence,
37341         .psize = 256,
37342         .digest = (u8[]){ 0x39, 0xa7, 0xeb, 0x9f, 0xed, 0xc1, 0x9a, 0xab,
37343                           0xc8, 0x34, 0x25, 0xc6, 0x75, 0x5d, 0xd9, 0x0e,
37344                           0x6f, 0x9d, 0x0c, 0x80, 0x49, 0x64, 0xa1, 0xf4,
37345                           0xaa, 0xee, 0xa3, 0xb9, 0xfb, 0x59, 0x98, 0x35, },
37346 }, {
37347         .ksize = 1,
37348         .key = "B",
37349         .digest = (u8[]){ 0xc3, 0x08, 0xb1, 0xbf, 0xe4, 0xf9, 0xbc, 0xb4,
37350                           0x75, 0xaf, 0x3f, 0x59, 0x6e, 0xae, 0xde, 0x6a,
37351                           0xa3, 0x8e, 0xb5, 0x94, 0xad, 0x30, 0xf0, 0x17,
37352                           0x1c, 0xfb, 0xd8, 0x3e, 0x8a, 0xbe, 0xed, 0x9c, },
37353 }, {
37354         .ksize = 64,
37355         .key = blake2_ordered_sequence,
37356         .plaintext = blake2_ordered_sequence,
37357         .psize = 1,
37358         .digest = (u8[]){ 0x34, 0x75, 0x8b, 0x64, 0x71, 0x35, 0x62, 0x82,
37359                           0x97, 0xfb, 0x09, 0xc7, 0x93, 0x0c, 0xd0, 0x4e,
37360                           0x95, 0x28, 0xe5, 0x66, 0x91, 0x12, 0xf5, 0xb1,
37361                           0x31, 0x84, 0x93, 0xe1, 0x4d, 0xe7, 0x7e, 0x55, },
37362 }, {
37363         .ksize = 32,
37364         .key = blake2_ordered_sequence,
37365         .plaintext = blake2_ordered_sequence,
37366         .psize = 15,
37367         .digest = (u8[]){ 0xce, 0x74, 0xa9, 0x2e, 0xe9, 0x40, 0x3d, 0xa2,
37368                           0x11, 0x4a, 0x99, 0x25, 0x7a, 0x34, 0x5d, 0x35,
37369                           0xdf, 0x6a, 0x48, 0x79, 0x2a, 0x93, 0x93, 0xff,
37370                           0x1f, 0x3c, 0x39, 0xd0, 0x71, 0x1f, 0x20, 0x7b, },
37371 }, {
37372         .ksize = 1,
37373         .key = "B",
37374         .plaintext = blake2_ordered_sequence,
37375         .psize = 64,
37376         .digest = (u8[]){ 0x2e, 0x84, 0xdb, 0xa2, 0x5f, 0x0e, 0xe9, 0x52,
37377                           0x79, 0x50, 0x69, 0x9f, 0xf1, 0xfd, 0xfc, 0x9d,
37378                           0x89, 0x83, 0xa9, 0xb6, 0xa4, 0xd5, 0xfa, 0xb5,
37379                           0xbe, 0x35, 0x1a, 0x17, 0x8a, 0x2c, 0x7f, 0x7d, },
37380 }, {
37381         .ksize = 64,
37382         .key = blake2_ordered_sequence,
37383         .plaintext = blake2_ordered_sequence,
37384         .psize = 247,
37385         .digest = (u8[]){ 0x2e, 0x26, 0xf0, 0x09, 0x02, 0x65, 0x90, 0x09,
37386                           0xcc, 0xf5, 0x4c, 0x44, 0x74, 0x0e, 0xa0, 0xa8,
37387                           0x25, 0x4a, 0xda, 0x61, 0x56, 0x95, 0x7d, 0x3f,
37388                           0x6d, 0xc0, 0x43, 0x17, 0x95, 0x89, 0xcd, 0x9d, },
37389 }};
37390
37391 static const struct hash_testvec blake2b_384_tv_template[] = {{
37392         .plaintext = blake2_ordered_sequence,
37393         .psize = 1,
37394         .digest = (u8[]){ 0xcc, 0x01, 0x08, 0x85, 0x36, 0xf7, 0x84, 0xf0,
37395                           0xbb, 0x76, 0x9e, 0x41, 0xc4, 0x95, 0x7b, 0x6d,
37396                           0x0c, 0xde, 0x1f, 0xcc, 0x8c, 0xf1, 0xd9, 0x1f,
37397                           0xc4, 0x77, 0xd4, 0xdd, 0x6e, 0x3f, 0xbf, 0xcd,
37398                           0x43, 0xd1, 0x69, 0x8d, 0x14, 0x6f, 0x34, 0x8b,
37399                           0x2c, 0x36, 0xa3, 0x39, 0x68, 0x2b, 0xec, 0x3f, },
37400 }, {
37401         .plaintext = blake2_ordered_sequence,
37402         .psize = 247,
37403         .digest = (u8[]){ 0xc8, 0xf8, 0xf0, 0xa2, 0x69, 0xfa, 0xcc, 0x4d,
37404                           0x32, 0x5f, 0x13, 0x88, 0xca, 0x71, 0x99, 0x8f,
37405                           0xf7, 0x30, 0x41, 0x5d, 0x6e, 0x34, 0xb7, 0x6e,
37406                           0x3e, 0xd0, 0x46, 0xb6, 0xca, 0x30, 0x66, 0xb2,
37407                           0x6f, 0x0c, 0x35, 0x54, 0x17, 0xcd, 0x26, 0x1b,
37408                           0xef, 0x48, 0x98, 0xe0, 0x56, 0x7c, 0x05, 0xd2, },
37409 }, {
37410         .ksize = 32,
37411         .key = blake2_ordered_sequence,
37412         .digest = (u8[]){ 0x15, 0x09, 0x7a, 0x90, 0x13, 0x23, 0xab, 0x0c,
37413                           0x0b, 0x43, 0x21, 0x9a, 0xb5, 0xc6, 0x0c, 0x2e,
37414                           0x7c, 0x57, 0xfc, 0xcc, 0x4b, 0x0f, 0xf0, 0x57,
37415                           0xb7, 0x9c, 0xe7, 0x0f, 0xe1, 0x57, 0xac, 0x37,
37416                           0x77, 0xd4, 0xf4, 0x2f, 0x03, 0x3b, 0x64, 0x09,
37417                           0x84, 0xa0, 0xb3, 0x24, 0xb7, 0xae, 0x47, 0x5e, },
37418 }, {
37419         .ksize = 1,
37420         .key = "B",
37421         .plaintext = blake2_ordered_sequence,
37422         .psize = 7,
37423         .digest = (u8[]){ 0x0b, 0x82, 0x88, 0xca, 0x05, 0x2f, 0x1b, 0x15,
37424                           0xdc, 0xbb, 0x22, 0x27, 0x11, 0x6b, 0xf4, 0xd1,
37425                           0xe9, 0x8f, 0x1b, 0x0b, 0x58, 0x3f, 0x5e, 0x86,
37426                           0x80, 0x82, 0x6f, 0x8e, 0x54, 0xc1, 0x9f, 0x12,
37427                           0xcf, 0xe9, 0x56, 0xc1, 0xfc, 0x1a, 0x08, 0xb9,
37428                           0x4a, 0x57, 0x0a, 0x76, 0x3c, 0x15, 0x33, 0x18, },
37429 }, {
37430         .ksize = 64,
37431         .key = blake2_ordered_sequence,
37432         .plaintext = blake2_ordered_sequence,
37433         .psize = 15,
37434         .digest = (u8[]){ 0x4a, 0x81, 0x55, 0xb9, 0x79, 0x42, 0x8c, 0xc6,
37435                           0x4f, 0xfe, 0xca, 0x82, 0x3b, 0xb2, 0xf7, 0xbc,
37436                           0x5e, 0xfc, 0xab, 0x09, 0x1c, 0xd6, 0x3b, 0xe1,
37437                           0x50, 0x82, 0x3b, 0xde, 0xc7, 0x06, 0xee, 0x3b,
37438                           0x29, 0xce, 0xe5, 0x68, 0xe0, 0xff, 0xfa, 0xe1,
37439                           0x7a, 0xf1, 0xc0, 0xfe, 0x57, 0xf4, 0x60, 0x49, },
37440 }, {
37441         .ksize = 32,
37442         .key = blake2_ordered_sequence,
37443         .plaintext = blake2_ordered_sequence,
37444         .psize = 64,
37445         .digest = (u8[]){ 0x34, 0xbd, 0xe1, 0x99, 0x43, 0x9f, 0x82, 0x72,
37446                           0xe7, 0xed, 0x94, 0x9e, 0xe1, 0x84, 0xee, 0x82,
37447                           0xfd, 0x26, 0x23, 0xc4, 0x17, 0x8d, 0xf5, 0x04,
37448                           0xeb, 0xb7, 0xbc, 0xb8, 0xf3, 0x68, 0xb7, 0xad,
37449                           0x94, 0x8e, 0x05, 0x3f, 0x8a, 0x5d, 0x8d, 0x81,
37450                           0x3e, 0x88, 0xa7, 0x8c, 0xa2, 0xd5, 0xdc, 0x76, },
37451 }, {
37452         .ksize = 1,
37453         .key = "B",
37454         .plaintext = blake2_ordered_sequence,
37455         .psize = 256,
37456         .digest = (u8[]){ 0x22, 0x14, 0xf4, 0xb0, 0x4c, 0xa8, 0xb5, 0x7d,
37457                           0xa7, 0x5c, 0x04, 0xeb, 0xd8, 0x8d, 0x04, 0x71,
37458                           0xc7, 0x3c, 0xc7, 0x6e, 0x8b, 0x20, 0x36, 0x40,
37459                           0x9d, 0xd0, 0x60, 0xc6, 0xe3, 0x0b, 0x6e, 0x50,
37460                           0xf5, 0xaf, 0xf5, 0xc6, 0x3b, 0xe3, 0x84, 0x6a,
37461                           0x93, 0x1b, 0x12, 0xd6, 0x18, 0x27, 0xba, 0x36, },
37462 }};
37463
37464 static const struct hash_testvec blake2b_512_tv_template[] = {{
37465         .plaintext = blake2_ordered_sequence,
37466         .psize = 15,
37467         .digest = (u8[]){ 0x44, 0x4b, 0x24, 0x0f, 0xe3, 0xed, 0x86, 0xd0,
37468                           0xe2, 0xef, 0x4c, 0xe7, 0xd8, 0x51, 0xed, 0xde,
37469                           0x22, 0x15, 0x55, 0x82, 0xaa, 0x09, 0x14, 0x79,
37470                           0x7b, 0x72, 0x6c, 0xd0, 0x58, 0xb6, 0xf4, 0x59,
37471                           0x32, 0xe0, 0xe1, 0x29, 0x51, 0x68, 0x76, 0x52,
37472                           0x7b, 0x1d, 0xd8, 0x8f, 0xc6, 0x6d, 0x71, 0x19,
37473                           0xf4, 0xab, 0x3b, 0xed, 0x93, 0xa6, 0x1a, 0x0e,
37474                           0x2d, 0x2d, 0x2a, 0xea, 0xc3, 0x36, 0xd9, 0x58, },
37475 }, {
37476         .ksize = 64,
37477         .key = blake2_ordered_sequence,
37478         .digest = (u8[]){ 0x10, 0xeb, 0xb6, 0x77, 0x00, 0xb1, 0x86, 0x8e,
37479                           0xfb, 0x44, 0x17, 0x98, 0x7a, 0xcf, 0x46, 0x90,
37480                           0xae, 0x9d, 0x97, 0x2f, 0xb7, 0xa5, 0x90, 0xc2,
37481                           0xf0, 0x28, 0x71, 0x79, 0x9a, 0xaa, 0x47, 0x86,
37482                           0xb5, 0xe9, 0x96, 0xe8, 0xf0, 0xf4, 0xeb, 0x98,
37483                           0x1f, 0xc2, 0x14, 0xb0, 0x05, 0xf4, 0x2d, 0x2f,
37484                           0xf4, 0x23, 0x34, 0x99, 0x39, 0x16, 0x53, 0xdf,
37485                           0x7a, 0xef, 0xcb, 0xc1, 0x3f, 0xc5, 0x15, 0x68, },
37486 }, {
37487         .ksize = 1,
37488         .key = "B",
37489         .plaintext = blake2_ordered_sequence,
37490         .psize = 1,
37491         .digest = (u8[]){ 0xd2, 0x11, 0x31, 0x29, 0x3f, 0xea, 0xca, 0x72,
37492                           0x21, 0xe4, 0x06, 0x65, 0x05, 0x2a, 0xd1, 0x02,
37493                           0xc0, 0x8d, 0x7b, 0xf1, 0x09, 0x3c, 0xef, 0x88,
37494                           0xe1, 0x68, 0x0c, 0xf1, 0x3b, 0xa4, 0xe3, 0x03,
37495                           0xed, 0xa0, 0xe3, 0x60, 0x58, 0xa0, 0xdb, 0x52,
37496                           0x8a, 0x66, 0x43, 0x09, 0x60, 0x1a, 0xbb, 0x67,
37497                           0xc5, 0x84, 0x31, 0x40, 0xfa, 0xde, 0xc1, 0xd0,
37498                           0xff, 0x3f, 0x4a, 0x69, 0xd9, 0x92, 0x26, 0x86, },
37499 }, {
37500         .ksize = 32,
37501         .key = blake2_ordered_sequence,
37502         .plaintext = blake2_ordered_sequence,
37503         .psize = 7,
37504         .digest = (u8[]){ 0xa3, 0x3e, 0x50, 0xbc, 0xfb, 0xd9, 0xf0, 0x82,
37505                           0xa6, 0xd1, 0xdf, 0xaf, 0x82, 0xd0, 0xcf, 0x84,
37506                           0x9a, 0x25, 0x3c, 0xae, 0x6d, 0xb5, 0xaf, 0x01,
37507                           0xd7, 0xaf, 0xed, 0x50, 0xdc, 0xe2, 0xba, 0xcc,
37508                           0x8c, 0x38, 0xf5, 0x16, 0x89, 0x38, 0x86, 0xce,
37509                           0x68, 0x10, 0x63, 0x64, 0xa5, 0x79, 0x53, 0xb5,
37510                           0x2e, 0x8e, 0xbc, 0x0a, 0xce, 0x95, 0xc0, 0x1e,
37511                           0x69, 0x59, 0x1d, 0x3b, 0xd8, 0x19, 0x90, 0xd7, },
37512 }, {
37513         .ksize = 64,
37514         .key = blake2_ordered_sequence,
37515         .plaintext = blake2_ordered_sequence,
37516         .psize = 64,
37517         .digest = (u8[]){ 0x65, 0x67, 0x6d, 0x80, 0x06, 0x17, 0x97, 0x2f,
37518                           0xbd, 0x87, 0xe4, 0xb9, 0x51, 0x4e, 0x1c, 0x67,
37519                           0x40, 0x2b, 0x7a, 0x33, 0x10, 0x96, 0xd3, 0xbf,
37520                           0xac, 0x22, 0xf1, 0xab, 0xb9, 0x53, 0x74, 0xab,
37521                           0xc9, 0x42, 0xf1, 0x6e, 0x9a, 0xb0, 0xea, 0xd3,
37522                           0x3b, 0x87, 0xc9, 0x19, 0x68, 0xa6, 0xe5, 0x09,
37523                           0xe1, 0x19, 0xff, 0x07, 0x78, 0x7b, 0x3e, 0xf4,
37524                           0x83, 0xe1, 0xdc, 0xdc, 0xcf, 0x6e, 0x30, 0x22, },
37525 }, {
37526         .ksize = 1,
37527         .key = "B",
37528         .plaintext = blake2_ordered_sequence,
37529         .psize = 247,
37530         .digest = (u8[]){ 0xc2, 0x96, 0x2c, 0x6b, 0x84, 0xff, 0xee, 0xea,
37531                           0x9b, 0xb8, 0x55, 0x2d, 0x6b, 0xa5, 0xd5, 0xe5,
37532                           0xbd, 0xb1, 0x54, 0xb6, 0x1e, 0xfb, 0x63, 0x16,
37533                           0x6e, 0x22, 0x04, 0xf0, 0x82, 0x7a, 0xc6, 0x99,
37534                           0xf7, 0x4c, 0xff, 0x93, 0x71, 0x57, 0x64, 0xd0,
37535                           0x08, 0x60, 0x39, 0x98, 0xb8, 0xd2, 0x2b, 0x4e,
37536                           0x81, 0x8d, 0xe4, 0x8f, 0xb2, 0x1e, 0x8f, 0x99,
37537                           0x98, 0xf1, 0x02, 0x9b, 0x4c, 0x7c, 0x97, 0x1a, },
37538 }, {
37539         .ksize = 32,
37540         .key = blake2_ordered_sequence,
37541         .plaintext = blake2_ordered_sequence,
37542         .psize = 256,
37543         .digest = (u8[]){ 0x0f, 0x32, 0x05, 0x09, 0xad, 0x9f, 0x25, 0xf7,
37544                           0xf2, 0x00, 0x71, 0xc9, 0x9f, 0x08, 0x58, 0xd1,
37545                           0x67, 0xc3, 0xa6, 0x2c, 0x0d, 0xe5, 0x7c, 0x15,
37546                           0x35, 0x18, 0x5a, 0x68, 0xc1, 0xca, 0x1c, 0x6e,
37547                           0x0f, 0xc4, 0xf6, 0x0c, 0x43, 0xe1, 0xb4, 0x3d,
37548                           0x28, 0xe4, 0xc7, 0xa1, 0xcf, 0x6b, 0x17, 0x4e,
37549                           0xf1, 0x5b, 0xb5, 0x53, 0xd4, 0xa7, 0xd0, 0x5b,
37550                           0xae, 0x15, 0x81, 0x15, 0xd0, 0x88, 0xa0, 0x3c, },
37551 }};
37552
37553 /*
37554  * Test vectors generated using https://github.com/google/hctr2
37555  */
37556 static const struct cipher_testvec aes_xctr_tv_template[] = {
37557         {
37558                 .key    = "\x9c\x8d\xc4\xbd\x71\x36\xdc\x82"
37559                           "\x7c\xa1\xca\xa3\x23\x5a\xdb\xa4",
37560                 .iv     = "\x8d\xe7\xa5\x6a\x95\x86\x42\xde"
37561                           "\xba\xea\x6e\x69\x03\x33\x86\x0f",
37562                 .ptext  = "\xbd",
37563                 .ctext  = "\xb9",
37564                 .klen   = 16,
37565                 .len    = 1,
37566         },
37567         {
37568                 .key    = "\xbc\x1b\x12\x0c\x3f\x18\xcc\x1f"
37569                           "\x5a\x1d\xab\x81\xa8\x68\x7c\x63",
37570                 .iv     = "\x22\xc1\xdd\x25\x0b\x18\xcb\xa5"
37571                           "\x4a\xda\x15\x07\x73\xd9\x88\x10",
37572                 .ptext  = "\x24\x6e\x64\xc6\x15\x26\x9c\xda"
37573                           "\x2a\x4b\x57\x12\xff\x7c\xd6\xb5",
37574                 .ctext  = "\xd6\x47\x8d\x58\x92\xb2\x84\xf9"
37575                           "\xb7\xee\x0d\x98\xa1\x39\x4d\x8f",
37576                 .klen   = 16,
37577                 .len    = 16,
37578         },
37579         {
37580                 .key    = "\x44\x03\xbf\x4c\x30\xf0\xa7\xd6"
37581                           "\xbd\x54\xbb\x66\x8e\xa6\x0e\x8a",
37582                 .iv     = "\xe6\xf7\x26\xdf\x8c\x3c\xaa\x88"
37583                           "\xce\xc1\xbd\x43\x3b\x09\x62\xad",
37584                 .ptext  = "\x3c\xe3\x46\xb9\x8f\x9d\x3f\x8d"
37585                           "\xef\xf2\x53\xab\x24\xe2\x29\x08"
37586                           "\xf8\x7e\x1d\xa6\x6d\x86\x7d\x60"
37587                           "\x97\x63\x93\x29\x71\x94\xb4",
37588                 .ctext  = "\xd4\xa3\xc6\xb8\xc1\x6f\x70\x1a"
37589                           "\x52\x0c\xed\x4c\xaf\x51\x56\x23"
37590                           "\x48\x45\x07\x10\x34\xc5\xba\x71"
37591                           "\xe5\xf8\x1e\xd8\xcb\xa6\xe7",
37592                 .klen   = 16,
37593                 .len    = 31,
37594         },
37595         {
37596                 .key    = "\x5b\x17\x30\x94\x19\x31\xa1\xae"
37597                           "\x24\x8e\x42\x1e\x82\xe6\xec\xb8",
37598                 .iv     = "\xd1\x2e\xb9\xb8\xf8\x49\xeb\x68"
37599                           "\x06\xeb\x65\x33\x34\xa2\xeb\xf0",
37600                 .ptext  = "\x19\x75\xec\x59\x60\x1b\x7a\x3e"
37601                           "\x62\x46\x87\xf0\xde\xab\x81\x36"
37602                           "\x63\x53\x11\xa0\x1f\xce\x25\x85"
37603                           "\x49\x6b\x28\xfa\x1c\x92\xe5\x18"
37604                           "\x38\x14\x00\x79\xf2\x9e\xeb\xfc"
37605                           "\x36\xa7\x6b\xe1\xe5\xcf\x04\x48"
37606                           "\x44\x6d\xbd\x64\xb3\xcb\x78\x05"
37607                           "\x8d\x7f\x9a\xaf\x3c\xcf\x6c\x45"
37608                           "\x6c\x7c\x46\x4c\xa8\xc0\x1e\xe4"
37609                           "\x33\xa5\x7b\xbb\x26\xd9\xc0\x32"
37610                           "\x9d\x8a\xb3\xf3\x3d\x52\xe6\x48"
37611                           "\x4c\x9b\x4c\x6e\xa4\xa3\xad\x66"
37612                           "\x56\x48\xd5\x98\x3a\x93\xc4\x85"
37613                           "\xe9\x89\xca\xa6\xc1\xc8\xe7\xf8"
37614                           "\xc3\xe9\xef\xbe\x77\xe6\xd1\x3a"
37615                           "\xa6\x99\xc8\x2d\xdf\x40\x0f\x44",
37616                 .ctext  = "\xc6\x1a\x01\x1a\x00\xba\x04\xff"
37617                           "\x10\xd1\x7e\x5d\xad\x91\xde\x8c"
37618                           "\x08\x55\x95\xae\xd7\x22\x77\x40"
37619                           "\xf0\x33\x1b\x51\xef\xfe\x3d\x67"
37620                           "\xdf\xc4\x9f\x39\x47\x67\x93\xab"
37621                           "\xaa\x37\x55\xfe\x41\xe0\xba\xcd"
37622                           "\x25\x02\x7c\x61\x51\xa1\xcc\x72"
37623                           "\x7a\x20\x26\xb9\x06\x68\xbd\x19"
37624                           "\xc5\x2e\x1b\x75\x4a\x40\xb2\xd2"
37625                           "\xc4\xee\xd8\x5b\xa4\x55\x7d\x25"
37626                           "\xfc\x01\x4d\x6f\x0a\xfd\x37\x5d"
37627                           "\x3e\x67\xc0\x35\x72\x53\x7b\xe2"
37628                           "\xd6\x19\x5b\x92\x6c\x3a\x8c\x2a"
37629                           "\xe2\xc2\xa2\x4f\x2a\xf2\xb5\x15"
37630                           "\x65\xc5\x8d\x97\xf9\xbf\x8c\x98"
37631                           "\xe4\x50\x1a\xf2\x76\x55\x07\x49",
37632                 .klen   = 16,
37633                 .len    = 128,
37634         },
37635         {
37636                 .key    = "\x17\xa6\x01\x3d\x5d\xd6\xef\x2d"
37637                           "\x69\x8f\x4c\x54\x5b\xae\x43\xf0",
37638                 .iv     = "\xa9\x1b\x47\x60\x26\x82\xf7\x1c"
37639                           "\x80\xf8\x88\xdd\xfb\x44\xd9\xda",
37640                 .ptext  = "\xf7\x67\xcd\xa6\x04\x65\x53\x99"
37641                           "\x90\x5c\xa2\x56\x74\xd7\x9d\xf2"
37642                           "\x0b\x03\x7f\x4e\xa7\x84\x72\x2b"
37643                           "\xf0\xa5\xbf\xe6\x9a\x62\x3a\xfe"
37644                           "\x69\x5c\x93\x79\x23\x86\x64\x85"
37645                           "\xeb\x13\xb1\x5a\xd5\x48\x39\xa0"
37646                           "\x70\xfb\x06\x9a\xd7\x12\x5a\xb9"
37647                           "\xbe\xed\x2c\x81\x64\xf7\xcf\x80"
37648                           "\xee\xe6\x28\x32\x2d\x37\x4c\x32"
37649                           "\xf4\x1f\x23\x21\xe9\xc8\xc9\xbf"
37650                           "\x54\xbc\xcf\xb4\xc2\x65\x39\xdf"
37651                           "\xa5\xfb\x14\x11\xed\x62\x38\xcf"
37652                           "\x9b\x58\x11\xdd\xe9\xbd\x37\x57"
37653                           "\x75\x4c\x9e\xd5\x67\x0a\x48\xc6"
37654                           "\x0d\x05\x4e\xb1\x06\xd7\xec\x2e"
37655                           "\x9e\x59\xde\x4f\xab\x38\xbb\xe5"
37656                           "\x87\x04\x5a\x2c\x2a\xa2\x8f\x3c"
37657                           "\xe7\xe1\x46\xa9\x49\x9f\x24\xad"
37658                           "\x2d\xb0\x55\x40\x64\xd5\xda\x7e"
37659                           "\x1e\x77\xb8\x29\x72\x73\xc3\x84"
37660                           "\xcd\xf3\x94\x90\x58\x76\xc9\x2c"
37661                           "\x2a\xad\x56\xde\x33\x18\xb6\x3b"
37662                           "\x10\xe9\xe9\x8d\xf0\xa9\x7f\x05"
37663                           "\xf7\xb5\x8c\x13\x7e\x11\x3d\x1e"
37664                           "\x02\xbb\x5b\xea\x69\xff\x85\xcf"
37665                           "\x6a\x18\x97\x45\xe3\x96\xba\x4d"
37666                           "\x2d\x7a\x70\x78\x15\x2c\xe9\xdc"
37667                           "\x4e\x09\x92\x57\x04\xd8\x0b\xa6"
37668                           "\x20\x71\x76\x47\x76\x96\x89\xa0"
37669                           "\xd9\x29\xa2\x5a\x06\xdb\x56\x39"
37670                           "\x60\x33\x59\x04\x95\x89\xf6\x18"
37671                           "\x1d\x70\x75\x85\x3a\xb7\x6e",
37672                 .ctext  = "\xe1\xe7\x3f\xd3\x6a\xb9\x2f\x64"
37673                           "\x37\xc5\xa4\xe9\xca\x0a\xa1\xd6"
37674                           "\xea\x7d\x39\xe5\xe6\xcc\x80\x54"
37675                           "\x74\x31\x2a\x04\x33\x79\x8c\x8e"
37676                           "\x4d\x47\x84\x28\x27\x9b\x3c\x58"
37677                           "\x54\x58\x20\x4f\x70\x01\x52\x5b"
37678                           "\xac\x95\x61\x49\x5f\xef\xba\xce"
37679                           "\xd7\x74\x56\xe7\xbb\xe0\x3c\xd0"
37680                           "\x7f\xa9\x23\x57\x33\x2a\xf6\xcb"
37681                           "\xbe\x42\x14\x95\xa8\xf9\x7a\x7e"
37682                           "\x12\x53\x3a\xe2\x13\xfe\x2d\x89"
37683                           "\xeb\xac\xd7\xa8\xa5\xf8\x27\xf3"
37684                           "\x74\x9a\x65\x63\xd1\x98\x3a\x7e"
37685                           "\x27\x7b\xc0\x20\x00\x4d\xf4\xe5"
37686                           "\x7b\x69\xa6\xa8\x06\x50\x85\xb6"
37687                           "\x7f\xac\x7f\xda\x1f\xf5\x37\x56"
37688                           "\x9b\x2f\xd3\x86\x6b\x70\xbd\x0e"
37689                           "\x55\x9a\x9d\x4b\x08\xb5\x5b\x7b"
37690                           "\xd4\x7c\xb4\x71\x49\x92\x4a\x1e"
37691                           "\xed\x6d\x11\x09\x47\x72\x32\x6a"
37692                           "\x97\x53\x36\xaf\xf3\x06\x06\x2c"
37693                           "\x69\xf1\x59\x00\x36\x95\x28\x2a"
37694                           "\xb6\xcd\x10\x21\x84\x73\x5c\x96"
37695                           "\x86\x14\x2c\x3d\x02\xdb\x53\x9a"
37696                           "\x61\xde\xea\x99\x84\x7a\x27\xf6"
37697                           "\xf7\xc8\x49\x73\x4b\xb8\xeb\xd3"
37698                           "\x41\x33\xdd\x09\x68\xe2\x64\xb8"
37699                           "\x5f\x75\x74\x97\x91\x54\xda\xc2"
37700                           "\x73\x2c\x1e\x5a\x84\x48\x01\x1a"
37701                           "\x0d\x8b\x0a\xdf\x07\x2e\xee\x77"
37702                           "\x1d\x17\x41\x7a\xc9\x33\x63\xfa"
37703                           "\x9f\xc3\x74\x57\x5f\x03\x4c",
37704                 .klen   = 16,
37705                 .len    = 255,
37706         },
37707         {
37708                 .key    = "\xe5\xf1\x48\x2e\x88\xdb\xc7\x28"
37709                           "\xa2\x55\x5d\x2f\x90\x02\xdc\xd3"
37710                           "\xf5\xd3\x9e\x87\xd5\x58\x30\x4a",
37711                 .iv     = "\xa6\x40\x39\xf9\x63\x6c\x2d\xd4"
37712                           "\x1b\x71\x05\xa4\x88\x86\x11\xd3",
37713                 .ptext  = "\xb6\x06\xae\x15\x11\x96\xc1\x44"
37714                           "\x44\xc2\x98\xf9\xa8\x0a\x0b",
37715                 .ctext  = "\x27\x3b\x68\x40\xa9\x5e\x74\x6b"
37716                           "\x74\x67\x18\xf9\x37\xed\xed",
37717                 .klen   = 24,
37718                 .len    = 15,
37719         },
37720         {
37721                 .key    = "\xc8\xa0\x27\x67\x04\x3f\xed\xa5"
37722                           "\xb4\x0c\x51\x91\x2d\x27\x77\x33"
37723                           "\xa5\xfc\x2a\x9f\x78\xd8\x1c\x68",
37724                 .iv     = "\x83\x99\x1a\xe2\x84\xca\xa9\x16"
37725                           "\x8d\xc4\x2d\x1b\x67\xc8\x86\x21",
37726                 .ptext  = "\xd6\x22\x85\xb8\x5d\x7e\x26\x2e"
37727                           "\xbe\x04\x9d\x0c\x03\x91\x45\x4a"
37728                           "\x36",
37729                 .ctext  = "\x0f\x44\xa9\x62\x72\xec\x12\x26"
37730                           "\x3a\xc6\x83\x26\x62\x5e\xb7\x13"
37731                           "\x05",
37732                 .klen   = 24,
37733                 .len    = 17,
37734         },
37735         {
37736                 .key    = "\xc5\x87\x18\x09\x0a\x4e\x66\x3e"
37737                           "\x50\x90\x19\x93\xc0\x33\xcf\x80"
37738                           "\x3a\x36\x6b\x6c\x43\xd7\xe4\x93",
37739                 .iv     = "\xdd\x0b\x75\x1f\xee\x2f\xb4\x52"
37740                           "\x10\x82\x1f\x79\x8a\xa4\x9b\x87",
37741                 .ptext  = "\x56\xf9\x13\xce\x9f\x30\x10\x11"
37742                           "\x1b\x59\xfd\x39\x5a\x29\xa3\x44"
37743                           "\x78\x97\x8c\xf6\x99\x6d\x26\xf1"
37744                           "\x32\x60\x6a\xeb\x04\x47\x29\x4c"
37745                           "\x7e\x14\xef\x4d\x55\x29\xfe\x36"
37746                           "\x37\xcf\x0b\x6e\xf3\xce\x15\xd2",
37747                 .ctext  = "\x8f\x98\xe1\x5a\x7f\xfe\xc7\x05"
37748                           "\x76\xb0\xd5\xde\x90\x52\x2b\xa8"
37749                           "\xf3\x6e\x3c\x77\xa5\x33\x63\xdd"
37750                           "\x6f\x62\x12\xb0\x80\x10\xc1\x28"
37751                           "\x58\xe5\xd6\x24\x44\x04\x55\xf3"
37752                           "\x6d\x94\xcb\x2c\x7e\x7a\x85\x79",
37753                 .klen   = 24,
37754                 .len    = 48,
37755         },
37756         {
37757                 .key    = "\x84\x9b\xe8\x10\x4c\xb3\xd1\x7a"
37758                           "\xb3\xab\x4e\x6f\x90\x12\x07\xf8"
37759                           "\xef\xde\x42\x09\xbf\x34\x95\xb2",
37760                 .iv     = "\x66\x62\xf9\x48\x9d\x17\xf7\xdf"
37761                           "\x06\x67\xf4\x6d\xf2\xbc\xa2\xe5",
37762                 .ptext  = "\x2f\xd6\x16\x6b\xf9\x4b\x44\x14"
37763                           "\x90\x93\xe5\xfd\x05\xaa\x00\x26"
37764                           "\xbd\xab\x11\xb8\xf0\xcb\x11\x72"
37765                           "\xdd\xc5\x15\x4f\x4e\x1b\xf8\xc9"
37766                           "\x8f\x4a\xd5\x69\xf8\x9e\xfb\x05"
37767                           "\x8a\x37\x46\xfe\xfa\x58\x9b\x0e"
37768                           "\x72\x90\x9a\x06\xa5\x42\xf4\x7c"
37769                           "\x35\xd5\x64\x70\x72\x67\xfc\x8b"
37770                           "\xab\x5a\x2f\x64\x9b\xa1\xec\xe7"
37771                           "\xe6\x92\x69\xdb\x62\xa4\xe7\x44"
37772                           "\x88\x28\xd4\x52\x64\x19\xa9\xd7"
37773                           "\x0c\x00\xe6\xe7\xc1\x28\xc1\xf5"
37774                           "\x72\xc5\xfa\x09\x22\x2e\xf4\x82"
37775                           "\xa3\xdc\xc1\x68\xf9\x29\x55\x8d"
37776                           "\x04\x67\x13\xa6\x52\x04\x3c\x0c"
37777                           "\x14\xf2\x87\x23\x61\xab\x82\xcb"
37778                           "\x49\x5b\x6b\xd4\x4f\x0d\xd4\x95"
37779                           "\x82\xcd\xe3\x69\x47\x1b\x31\x73"
37780                           "\x73\x77\xc1\x53\x7d\x43\x5e\x4a"
37781                           "\x80\x3a\xca\x9c\xc7\x04\x1a\x31"
37782                           "\x8e\xe6\x76\x7f\xe1\xb3\xd0\x57"
37783                           "\xa2\xb2\xf6\x09\x51\xc9\x6d\xbc"
37784                           "\x79\xed\x57\x50\x36\xd2\x93\xa4"
37785                           "\x40\x5d\xac\x3a\x3b\xb6\x2d\x89"
37786                           "\x78\xa2\xbd\x23\xec\x35\x06\xf0"
37787                           "\xa8\xc8\xc9\xb0\xe3\x28\x2b\xba"
37788                           "\x70\xa0\xfe\xed\x13\xc4\xd7\x90"
37789                           "\xb1\x6a\xe0\xe1\x30\x71\x15\xd0"
37790                           "\xe2\xb3\xa6\x4e\xb0\x01\xf9\xe7"
37791                           "\x59\xc6\x1e\xed\x46\x2b\xe3\xa8"
37792                           "\x22\xeb\x7f\x1c\xd9\xcd\xe0\xa6"
37793                           "\x72\x42\x2c\x06\x75\xbb\xb7\x6b"
37794                           "\xca\x49\x5e\xa1\x47\x8d\x9e\xfe"
37795                           "\x60\xcc\x34\x95\x8e\xfa\x1e\x3e"
37796                           "\x85\x4b\x03\x54\xea\x34\x1c\x41"
37797                           "\x90\x45\xa6\xbe\xcf\x58\x4f\xca"
37798                           "\x2c\x79\xc0\x3e\x8f\xd7\x3b\xd4"
37799                           "\x55\x74\xa8\xe1\x57\x09\xbf\xab"
37800                           "\x2c\xf9\xe4\xdd\x17\x99\x57\x60"
37801                           "\x4b\x88\x2a\x7f\x43\x86\xb9\x9a"
37802                           "\x60\xbf\x4c\xcf\x9b\x41\xb8\x99"
37803                           "\x69\x15\x4f\x91\x4d\xeb\xdf\x6f"
37804                           "\xcc\x4c\xf9\x6f\xf2\x33\x23\xe7"
37805                           "\x02\x44\xaa\xa2\xfa\xb1\x39\xa5"
37806                           "\xff\x88\xf5\x37\x02\x33\x24\xfc"
37807                           "\x79\x11\x4c\x94\xc2\x31\x87\x9c"
37808                           "\x53\x19\x99\x32\xe4\xde\x18\xf4"
37809                           "\x8f\xe2\xe8\xa3\xfb\x0b\xaa\x7c"
37810                           "\xdb\x83\x0f\xf6\xc0\x8a\x9b\xcd"
37811                           "\x7b\x16\x05\x5b\xe4\xb4\x34\x03"
37812                           "\xe3\x8f\xc9\x4b\x56\x84\x2a\x4c"
37813                           "\x36\x72\x3c\x84\x4f\xba\xa2\x7f"
37814                           "\xf7\x1b\xba\x4d\x8a\xb8\x5d\x51"
37815                           "\x36\xfb\xef\x23\x18\x6f\x33\x2d"
37816                           "\xbb\x06\x24\x8e\x33\x98\x6e\xcd"
37817                           "\x63\x11\x18\x6b\xcc\x1b\x66\xb9"
37818                           "\x38\x8d\x06\x8d\x98\x1a\xef\xaa"
37819                           "\x35\x4a\x90\xfa\xb1\xd3\xcc\x11"
37820                           "\x50\x4c\x54\x18\x60\x5d\xe4\x11"
37821                           "\xfc\x19\xe1\x53\x20\x5c\xe7\xef"
37822                           "\x8a\x2b\xa8\x82\x51\x5f\x5d\x43"
37823                           "\x34\xe5\xcf\x7b\x1b\x6f\x81\x19"
37824                           "\xb7\xdf\xa8\x9e\x81\x89\x5f\x33"
37825                           "\x69\xaf\xde\x89\x68\x88\xf0\x71",
37826                 .ctext  = "\xab\x15\x46\x5b\xed\x4f\xa8\xac"
37827                           "\xbf\x31\x30\x84\x55\xa4\xb8\x98"
37828                           "\x79\xba\xa0\x15\xa4\x55\x20\xec"
37829                           "\xf9\x94\x71\xe6\x6a\x6f\xee\x87"
37830                           "\x2e\x3a\xa2\x95\xae\x6e\x56\x09"
37831                           "\xe9\xc0\x0f\xe2\xc6\xb7\x30\xa9"
37832                           "\x73\x8e\x59\x7c\xfd\xe3\x71\xf7"
37833                           "\xae\x8b\x91\xab\x5e\x36\xe9\xa8"
37834                           "\xff\x17\xfa\xa2\x94\x93\x11\x42"
37835                           "\x67\x96\x99\xc5\xf0\xad\x2a\x57"
37836                           "\xf9\xa6\x70\x4a\xdf\x71\xff\xc0"
37837                           "\xe2\xaf\x9a\xae\x57\x58\x13\x3b"
37838                           "\x2d\xf1\xc7\x8f\xdb\x8a\xcc\xce"
37839                           "\x53\x1a\x69\x55\x39\xc8\xbe\xc3"
37840                           "\x2d\xb1\x03\xd9\xa3\x99\xf4\x8d"
37841                           "\xd9\x2d\x27\xae\xa5\xe7\x77\x7f"
37842                           "\xbb\x88\x84\xea\xfa\x19\x3f\x44"
37843                           "\x61\x21\x8a\x1f\xbe\xac\x60\xb4"
37844                           "\xaf\xe9\x00\xab\xef\x3c\x53\x56"
37845                           "\xcd\x4b\x53\xd8\x9b\xfe\x88\x23"
37846                           "\x5b\x85\x76\x08\xec\xd1\x6e\x4a"
37847                           "\x87\xa4\x7d\x29\x4e\x4f\x3f\xc9"
37848                           "\xa4\xab\x63\xea\xdd\xef\x9f\x79"
37849                           "\x38\x18\x7d\x90\x90\xf9\x12\x57"
37850                           "\x1d\x89\xea\xfe\xd4\x47\x45\x32"
37851                           "\x6a\xf6\xe7\xde\x22\x7e\xee\xc1"
37852                           "\xbc\x2d\xc3\xbb\xe5\xd4\x13\xac"
37853                           "\x63\xff\x5b\xb1\x05\x96\xd5\xf3"
37854                           "\x07\x9a\x62\xb6\x30\xea\x7d\x1e"
37855                           "\xee\x75\x0a\x1b\xcc\x6e\x4d\xa7"
37856                           "\xf7\x4d\x74\xd8\x60\x32\x5e\xd0"
37857                           "\x93\xd7\x19\x90\x4e\x26\xdb\xe4"
37858                           "\x5e\xd4\xa8\xb9\x76\xba\x56\x91"
37859                           "\xc4\x75\x04\x1e\xc2\x77\x24\x6f"
37860                           "\xf9\xe8\x4a\xec\x7f\x86\x95\xb3"
37861                           "\x5c\x2c\x97\xab\xf0\xf7\x74\x5b"
37862                           "\x0b\xc2\xda\x42\x40\x34\x16\xed"
37863                           "\x06\xc1\x25\x53\x17\x0d\x81\x4e"
37864                           "\xe6\xf2\x0f\x6d\x94\x3c\x90\x7a"
37865                           "\xae\x20\xe9\x3f\xf8\x18\x67\x6a"
37866                           "\x49\x1e\x41\xb6\x46\xab\xc8\xa7"
37867                           "\xcb\x19\x96\xf5\x99\xc0\x66\x3e"
37868                           "\x77\xcf\x73\x52\x83\x2a\xe2\x48"
37869                           "\x27\x6c\xeb\xe7\xe7\xc4\xd5\x6a"
37870                           "\x40\x67\xbc\xbf\x6b\x3c\xf3\xbb"
37871                           "\x51\x5e\x31\xac\x03\x81\xab\x61"
37872                           "\xfa\xa5\xa6\x7d\x8b\xc3\x8a\x75"
37873                           "\x28\x7a\x71\x9c\xac\x8f\x76\xfc"
37874                           "\xf9\x6c\x5d\x9b\xd7\xf6\x36\x2d"
37875                           "\x61\xd5\x61\xaa\xdd\x01\xfc\x57"
37876                           "\x91\x10\xcd\xcd\x6d\x27\x63\x24"
37877                           "\x67\x46\x7a\xbb\x61\x56\x39\xb1"
37878                           "\xd6\x79\xfe\x77\xca\xd6\x73\x59"
37879                           "\x6e\x58\x11\x90\x03\x26\x74\x2a"
37880                           "\xfa\x52\x12\x47\xfb\x12\xeb\x3e"
37881                           "\x88\xf0\x52\x6c\xc0\x54\x7a\x88"
37882                           "\x8c\xe5\xde\x9e\xba\xb9\xf2\xe1"
37883                           "\x97\x2e\x5c\xbd\xf4\x13\x7e\xf3"
37884                           "\xc4\xe1\x87\xa5\x35\xfa\x7c\x71"
37885                           "\x1a\xc9\xf4\xa8\x57\xe2\x5a\x6b"
37886                           "\x14\xe0\x73\xaf\x56\x6b\xa0\x00"
37887                           "\x9e\x5f\x64\xac\x00\xfb\xc4\x92"
37888                           "\xe5\xe2\x8a\xb2\x9e\x75\x49\x85"
37889                           "\x25\x66\xa5\x1a\xf9\x7d\x1d\x60",
37890                 .klen   = 24,
37891                 .len    = 512,
37892         },
37893         {
37894                 .key    = "\x05\x60\x3a\x7e\x60\x90\x46\x18"
37895                           "\x6c\x60\xba\xeb\x12\xd7\xbe\xd1"
37896                           "\xd3\xf6\x10\x46\x9d\xf1\x0c\xb4"
37897                           "\x73\xe3\x93\x27\xa8\x2c\x13\xaa",
37898                 .iv     = "\xf5\x96\xd1\xb6\xcb\x44\xd8\xd0"
37899                           "\x3e\xdb\x92\x80\x08\x94\xcd\xd3",
37900                 .ptext  = "\x78",
37901                 .ctext  = "\xc5",
37902                 .klen   = 32,
37903                 .len    = 1,
37904         },
37905         {
37906                 .key    = "\x35\xca\x38\xf3\xd9\xd6\x34\xef"
37907                           "\xcd\xee\xa3\x26\x86\xba\xfb\x45"
37908                           "\x01\xfa\x52\x67\xff\xc5\x9d\xaa"
37909                           "\x64\x9a\x05\xbb\x85\x20\xa7\xf2",
37910                 .iv     = "\xe3\xda\xf5\xff\x42\x59\x87\x86"
37911                           "\xee\x7b\xd6\xb4\x6a\x25\x44\xff",
37912                 .ptext  = "\x44\x67\x1e\x04\x53\xd2\x4b\xd9"
37913                           "\x96\x33\x07\x54\xe4\x8e\x20",
37914                 .ctext  = "\xcc\x55\x40\x79\x47\x5c\x8b\xa6"
37915                           "\xca\x7b\x9f\x50\xe3\x21\xea",
37916                 .klen   = 32,
37917                 .len    = 15,
37918         },
37919         {
37920                 .key    = "\xaf\xd9\x14\x14\xd5\xdb\xc9\xce"
37921                           "\x76\x5c\x5a\xbf\x43\x05\x29\x24"
37922                           "\xc4\x13\x68\xcc\xe8\x37\xbd\xb9"
37923                           "\x41\x20\xf5\x53\x48\xd0\xa2\xd6",
37924                 .iv     = "\xa7\xb4\x00\x08\x79\x10\xae\xf5"
37925                           "\x02\xbf\x85\xb2\x69\x4c\xc6\x04",
37926                 .ptext  = "\xac\x6a\xa8\x0c\xb0\x84\xbf\x4c"
37927                           "\xae\x94\x20\x58\x7e\x00\x93\x89",
37928                 .ctext  = "\xd5\xaa\xe2\xe9\x86\x4c\x95\x4e"
37929                           "\xde\xb6\x15\xcb\xdc\x1f\x13\x38",
37930                 .klen   = 32,
37931                 .len    = 16,
37932         },
37933         {
37934                 .key    = "\xed\xe3\x8b\xe7\x1c\x17\xbf\x4a"
37935                           "\x02\xe2\xfc\x76\xac\xf5\x3c\x00"
37936                           "\x5d\xdc\xfc\x83\xeb\x45\xb4\xcb"
37937                           "\x59\x62\x60\xec\x69\x9c\x16\x45",
37938                 .iv     = "\xe4\x0e\x2b\x90\xd2\xfa\x94\x2e"
37939                           "\x10\xe5\x64\x2b\x97\x28\x15\xc7",
37940                 .ptext  = "\xe6\x53\xff\x60\x0e\xc4\x51\xe4"
37941                           "\x93\x4d\xe5\x55\xc5\xd9\xad\x48"
37942                           "\x52",
37943                 .ctext  = "\xba\x25\x28\xf5\xcf\x31\x91\x80"
37944                           "\xda\x2b\x95\x5f\x20\xcb\xfb\x9f"
37945                           "\xc6",
37946                 .klen   = 32,
37947                 .len    = 17,
37948         },
37949         {
37950                 .key    = "\x77\x5c\xc0\x73\x9a\x64\x97\x91"
37951                           "\x2f\xee\xe0\x20\xc2\x04\x59\x2e"
37952                           "\x97\xd2\xa7\x70\xb3\xb0\x21\x6b"
37953                           "\x8f\xbf\xb8\x51\xa8\xea\x0f\x62",
37954                 .iv     = "\x31\x8e\x1f\xcd\xfd\x23\xeb\x7f"
37955                           "\x8a\x1f\x1b\x23\x53\x27\x44\xe5",
37956                 .ptext  = "\xcd\xff\x8c\x9b\x94\x5a\x51\x3f"
37957                           "\x40\x93\x56\x93\x66\x39\x63\x1f"
37958                           "\xbf\xe6\xa4\xfa\xbe\x79\x93\x03"
37959                           "\xf5\x66\x74\x16\xfc\xe4\xce",
37960                 .ctext  = "\x8b\xd3\xc3\xce\x66\xf8\x66\x4c"
37961                           "\xad\xd6\xf5\x0f\xd8\x99\x5a\x75"
37962                           "\xa1\x3c\xab\x0b\x21\x36\x57\x72"
37963                           "\x88\x29\xe9\xea\x4a\x8d\xe9",
37964                 .klen   = 32,
37965                 .len    = 31,
37966         },
37967         {
37968                 .key    = "\xa1\x2f\x4d\xde\xfe\xa1\xff\xa8"
37969                           "\x73\xdd\xe3\xe2\x95\xfc\xea\x9c"
37970                           "\xd0\x80\x42\x0c\xb8\x43\x3e\x99"
37971                           "\x39\x38\x0a\x8c\xe8\x45\x3a\x7b",
37972                 .iv     = "\x32\xc4\x6f\xb1\x14\x43\xd1\x87"
37973                           "\xe2\x6f\x5a\x58\x02\x36\x7e\x2a",
37974                 .ptext  = "\x9e\x5c\x1e\xf1\xd6\x7d\x09\x57"
37975                           "\x18\x48\x55\xda\x7d\x44\xf9\x6d"
37976                           "\xac\xcd\x59\xbb\x10\xa2\x94\x67"
37977                           "\xd1\x6f\xfe\x6b\x4a\x11\xe8\x04"
37978                           "\x09\x26\x4f\x8d\x5d\xa1\x7b\x42"
37979                           "\xf9\x4b\x66\x76\x38\x12\xfe\xfe",
37980                 .ctext  = "\x42\xbc\xa7\x64\x15\x9a\x04\x71"
37981                           "\x2c\x5f\x94\xba\x89\x3a\xad\xbc"
37982                           "\x87\xb3\xf4\x09\x4f\x57\x06\x18"
37983                           "\xdc\x84\x20\xf7\x64\x85\xca\x3b"
37984                           "\xab\xe6\x33\x56\x34\x60\x5d\x4b"
37985                           "\x2e\x16\x13\xd4\x77\xde\x2d\x2b",
37986                 .klen   = 32,
37987                 .len    = 48,
37988         },
37989         {
37990                 .key    = "\xfb\xf5\xb7\x3d\xa6\x95\x42\xbf"
37991                           "\xd2\x94\x6c\x74\x0f\xbc\x5a\x28"
37992                           "\x35\x3c\x51\x58\x84\xfb\x7d\x11"
37993                           "\x16\x1e\x00\x97\x37\x08\xb7\x16",
37994                 .iv     = "\x9b\x53\x57\x40\xe6\xd9\xa7\x27"
37995                           "\x78\xd4\x9b\xd2\x29\x1d\x24\xa9",
37996                 .ptext  = "\x8b\x02\x60\x0a\x3e\xb7\x10\x59"
37997                           "\xc3\xac\xd5\x2a\x75\x81\xf2\xdb"
37998                           "\x55\xca\x65\x86\x44\xfb\xfe\x91"
37999                           "\x26\xbb\x45\xb2\x46\x22\x3e\x08"
38000                           "\xa2\xbf\x46\xcb\x68\x7d\x45\x7b"
38001                           "\xa1\x6a\x3c\x6e\x25\xeb\xed\x31"
38002                           "\x7a\x8b\x47\xf9\xde\xec\x3d\x87"
38003                           "\x09\x20\x2e\xfa\xba\x8b\x9b\xc5"
38004                           "\x6c\x25\x9c\x9d\x2a\xe8\xab\x90"
38005                           "\x3f\x86\xee\x61\x13\x21\xd4\xde"
38006                           "\xe1\x0c\x95\xfc\x5c\x8a\x6e\x0a"
38007                           "\x73\xcf\x08\x69\x44\x4e\xde\x25"
38008                           "\xaf\xaa\x56\x04\xc4\xb3\x60\x44"
38009                           "\x3b\x8b\x3d\xee\xae\x42\x4b\xd2"
38010                           "\x9a\x6c\xa0\x8e\x52\x06\xb2\xd1"
38011                           "\x5d\x38\x30\x6d\x27\x9b\x1a\xd8",
38012                 .ctext  = "\xa3\x78\x33\x78\x95\x95\x97\x07"
38013                           "\x53\xa3\xa1\x5b\x18\x32\x27\xf7"
38014                           "\x09\x12\x53\x70\x83\xb5\x6a\x9f"
38015                           "\x26\x6d\x10\x0d\xe0\x1c\xe6\x2b"
38016                           "\x70\x00\xdc\xa1\x60\xef\x1b\xee"
38017                           "\xc5\xa5\x51\x17\xae\xcc\xf2\xed"
38018                           "\xc4\x60\x07\xdf\xd5\x7a\xe9\x90"
38019                           "\x3c\x9f\x96\x5d\x72\x65\x5d\xef"
38020                           "\xd0\x94\x32\xc4\x85\x90\x78\xa1"
38021                           "\x2e\x64\xf6\xee\x8e\x74\x3f\x20"
38022                           "\x2f\x12\x3b\x3d\xd5\x39\x8e\x5a"
38023                           "\xf9\x8f\xce\x94\x5d\x82\x18\x66"
38024                           "\x14\xaf\x4c\xfe\xe0\x91\xc3\x4a"
38025                           "\x85\xcf\xe7\xe8\xf7\xcb\xf0\x31"
38026                           "\x88\x7d\xc9\x5b\x71\x9d\x5f\xd2"
38027                           "\xfa\xed\xa6\x24\xda\xbb\xb1\x84",
38028                 .klen   = 32,
38029                 .len    = 128,
38030         },
38031         {
38032                 .key    = "\x32\x37\x2b\x8f\x7b\xb1\x23\x79"
38033                           "\x05\x52\xde\x05\xf1\x68\x3f\x6c"
38034                           "\xa4\xae\xbc\x21\xc2\xc6\xf0\xbd"
38035                           "\x0f\x20\xb7\xa4\xc5\x05\x7b\x64",
38036                 .iv     = "\xff\x26\x4e\x67\x48\xdd\xcf\xfe"
38037                           "\x42\x09\x04\x98\x5f\x1e\xfa\x80",
38038                 .ptext  = "\x99\xdc\x3b\x19\x41\xf9\xff\x6e"
38039                           "\x76\xb5\x03\xfa\x61\xed\xf8\x44"
38040                           "\x70\xb9\xf0\x83\x80\x6e\x31\x77"
38041                           "\x77\xe4\xc7\xb4\x77\x02\xab\x91"
38042                           "\x82\xc6\xf8\x7c\x46\x61\x03\x69"
38043                           "\x09\xa0\xf7\x12\xb7\x81\x6c\xa9"
38044                           "\x10\x5c\xbb\x55\xb3\x44\xed\xb5"
38045                           "\xa2\x52\x48\x71\x90\x5d\xda\x40"
38046                           "\x0b\x7f\x4a\x11\x6d\xa7\x3d\x8e"
38047                           "\x1b\xcd\x9d\x4e\x75\x8b\x7d\x87"
38048                           "\xe5\x39\x34\x32\x1e\xe6\x8d\x51"
38049                           "\xd4\x1f\xe3\x1d\x50\xa0\x22\x37"
38050                           "\x7c\xb0\xd9\xfb\xb6\xb2\x16\xf6"
38051                           "\x6d\x26\xa0\x4e\x8c\x6a\xe6\xb6"
38052                           "\xbe\x4c\x7c\xe3\x88\x10\x18\x90"
38053                           "\x11\x50\x19\x90\xe7\x19\x3f\xd0"
38054                           "\x31\x15\x0f\x06\x96\xfe\xa7\x7b"
38055                           "\xc3\x32\x88\x69\xa4\x12\xe3\x64"
38056                           "\x02\x30\x17\x74\x6c\x88\x7c\x9b"
38057                           "\xd6\x6d\x75\xdf\x11\x86\x70\x79"
38058                           "\x48\x7d\x34\x3e\x33\x58\x07\x8b"
38059                           "\xd2\x50\xac\x35\x15\x45\x05\xb4"
38060                           "\x4d\x31\x97\x19\x87\x23\x4b\x87"
38061                           "\x53\xdc\xa9\x19\x78\xf1\xbf\x35"
38062                           "\x30\x04\x14\xd4\xcf\xb2\x8c\x87"
38063                           "\x7d\xdb\x69\xc9\xcd\xfe\x40\x3e"
38064                           "\x8d\x66\x5b\x61\xe5\xf0\x2d\x87"
38065                           "\x93\x3a\x0c\x2b\x04\x98\x05\xc2"
38066                           "\x56\x4d\xc4\x6c\xcd\x7a\x98\x7e"
38067                           "\xe2\x2d\x79\x07\x91\x9f\xdf\x2f"
38068                           "\x72\xc9\x8f\xcb\x0b\x87\x1b\xb7"
38069                           "\x04\x86\xcb\x47\xfa\x5d\x03",
38070                 .ctext  = "\x0b\x00\xf7\xf2\xc8\x6a\xba\x9a"
38071                           "\x0a\x97\x18\x7a\x00\xa0\xdb\xf4"
38072                           "\x5e\x8e\x4a\xb7\xe0\x51\xf1\x75"
38073                           "\x17\x8b\xb4\xf1\x56\x11\x05\x9f"
38074                           "\x2f\x2e\xba\x67\x04\xe1\xb4\xa5"
38075                           "\xfc\x7c\x8c\xad\xc6\xb9\xd1\x64"
38076                           "\xca\xbd\x5d\xaf\xdb\x65\x48\x4f"
38077                           "\x1b\xb3\x94\x5c\x0b\xd0\xee\xcd"
38078                           "\xb5\x7f\x43\x8a\xd8\x8b\x66\xde"
38079                           "\xd2\x9c\x13\x65\xa4\x47\xa7\x03"
38080                           "\xc5\xa1\x46\x8f\x2f\x84\xbc\xef"
38081                           "\x48\x9d\x9d\xb5\xbd\x43\xff\xd2"
38082                           "\xd2\x7a\x5a\x13\xbf\xb4\xf6\x05"
38083                           "\x17\xcd\x01\x12\xf0\x35\x27\x96"
38084                           "\xf4\xc1\x65\xf7\x69\xef\x64\x1b"
38085                           "\x6e\x4a\xe8\x77\xce\x83\x01\xb7"
38086                           "\x60\xe6\x45\x2a\xcd\x41\x4a\xb5"
38087                           "\x8e\xcc\x45\x93\xf1\xd6\x64\x5f"
38088                           "\x32\x60\xe4\x29\x4a\x82\x6c\x86"
38089                           "\x16\xe4\xcc\xdb\x5f\xc8\x11\xa6"
38090                           "\xfe\x88\xd6\xc3\xe5\x5c\xbb\x67"
38091                           "\xec\xa5\x7b\xf5\xa8\x4f\x77\x25"
38092                           "\x5d\x0c\x2a\x99\xf9\xb9\xd1\xae"
38093                           "\x3c\x83\x2a\x93\x9b\x66\xec\x68"
38094                           "\x2c\x93\x02\x8a\x8a\x1e\x2f\x50"
38095                           "\x09\x37\x19\x5c\x2a\x3a\xc2\xcb"
38096                           "\xcb\x89\x82\x81\xb7\xbb\xef\x73"
38097                           "\x8b\xc9\xae\x42\x96\xef\x70\xc0"
38098                           "\x89\xc7\x3e\x6a\x26\xc3\xe4\x39"
38099                           "\x53\xa9\xcf\x63\x7d\x05\xf3\xff"
38100                           "\x52\x04\xf6\x7f\x23\x96\xe9\xf7"
38101                           "\xff\xd6\x50\xa3\x0e\x20\x71",
38102                 .klen   = 32,
38103                 .len    = 255,
38104         },
38105         {
38106                 .key    = "\x39\x5f\xf4\x9c\x90\x3a\x9a\x25"
38107                           "\x15\x11\x79\x39\xed\x26\x5e\xf6"
38108                           "\xda\xcf\x33\x4f\x82\x97\xab\x10"
38109                           "\xc1\x55\x48\x82\x80\xa8\x02\xb2",
38110                 .iv     = "\x82\x60\xd9\x06\xeb\x40\x99\x76"
38111                           "\x08\xc5\xa4\x83\x45\xb8\x38\x5a",
38112                 .ptext  = "\xa1\xa8\xac\xac\x08\xaf\x8f\x84"
38113                           "\xbf\xcc\x79\x31\x5e\x61\x01\xd1"
38114                           "\x4d\x5f\x9b\xcd\x91\x92\x9a\xa1"
38115                           "\x99\x0d\x49\xb2\xd7\xfd\x25\x93"
38116                           "\x51\x96\xbd\x91\x8b\x08\xf1\xc6"
38117                           "\x0d\x17\xf6\xef\xfd\xd2\x78\x16"
38118                           "\xc8\x08\x27\x7b\xca\x98\xc6\x12"
38119                           "\x86\x11\xdb\xd5\x08\x3d\x5a\x2c"
38120                           "\xcf\x15\x0e\x9b\x42\x78\xeb\x1f"
38121                           "\x52\xbc\xd7\x5a\x8a\x33\x6c\x14"
38122                           "\xfc\x61\xad\x2e\x1e\x03\x66\xea"
38123                           "\x79\x0e\x88\x88\xde\x93\xe3\x81"
38124                           "\xb5\xc4\x1c\xe6\x9c\x08\x18\x8e"
38125                           "\xa0\x87\xda\xe6\xf8\xcb\x30\x44"
38126                           "\x2d\x4e\xc0\xa3\x60\xf9\x62\x7b"
38127                           "\x4b\xd5\x61\x6d\xe2\x67\x95\x54"
38128                           "\x10\xd1\xca\x22\xe8\xb6\xb1\x3a"
38129                           "\x2d\xd7\x35\x5b\x22\x88\x55\x67"
38130                           "\x3d\x83\x8f\x07\x98\xa8\xf2\xcf"
38131                           "\x04\xb7\x9e\x52\xca\xe0\x98\x72"
38132                           "\x5c\xc1\x00\xd4\x1f\x2c\x61\xf3"
38133                           "\xe8\x40\xaf\x4a\xee\x66\x41\xa0"
38134                           "\x02\x77\x29\x30\x65\x59\x4b\x20"
38135                           "\x7b\x0d\x80\x97\x27\x7f\xd5\x90"
38136                           "\xbb\x9d\x76\x90\xe5\x43\x43\x72"
38137                           "\xd0\xd4\x14\x75\x66\xb3\xb6\xaf"
38138                           "\x09\xe4\x23\xb0\x62\xad\x17\x28"
38139                           "\x39\x26\xab\xf5\xf7\x5c\xb6\x33"
38140                           "\xbd\x27\x09\x5b\x29\xe4\x40\x0b"
38141                           "\xc1\x26\x32\xdb\x9a\xdf\xf9\x5a"
38142                           "\xae\x03\x2c\xa4\x40\x84\x9a\xb7"
38143                           "\x4e\x47\xa8\x0f\x23\xc7\xbb\xcf"
38144                           "\x2b\xf2\x32\x6c\x35\x6a\x91\xba"
38145                           "\x0e\xea\xa2\x8b\x2f\xbd\xb5\xea"
38146                           "\x6e\xbc\xb5\x4b\x03\xb3\x86\xe0"
38147                           "\x86\xcf\xba\xcb\x38\x2c\x32\xa6"
38148                           "\x6d\xe5\x28\xa6\xad\xd2\x7f\x73"
38149                           "\x43\x14\xf8\xb1\x99\x12\x2d\x2b"
38150                           "\xdf\xcd\xf2\x81\x43\x94\xdf\xb1"
38151                           "\x17\xc9\x33\xa6\x3d\xef\x96\xb8"
38152                           "\xd6\x0d\x00\xec\x49\x66\x85\x5d"
38153                           "\x44\x62\x12\x04\x55\x5c\x48\xd3"
38154                           "\xbd\x73\xac\x54\x8f\xbf\x97\x8e"
38155                           "\x85\xfd\xc2\xa1\x25\x32\x38\x6a"
38156                           "\x1f\xac\x57\x3c\x4f\x56\x73\xf2"
38157                           "\x1d\xb6\x48\x68\xc7\x0c\xe7\x60"
38158                           "\xd2\x8e\x4d\xfb\xc7\x20\x7b\xb7"
38159                           "\x45\x28\x12\xc6\x26\xae\xea\x7c"
38160                           "\x5d\xe2\x46\xb5\xae\xe1\xc3\x98"
38161                           "\x6f\x72\xd5\xa2\xfd\xed\x40\xfd"
38162                           "\xf9\xdf\x61\xec\x45\x2c\x15\xe0"
38163                           "\x1e\xbb\xde\x71\x37\x5f\x73\xc2"
38164                           "\x11\xcc\x6e\x6d\xe1\xb5\x1b\xd2"
38165                           "\x2a\xdd\x19\x8a\xc2\xe1\xa0\xa4"
38166                           "\x26\xeb\xb2\x2c\x4f\x77\x52\xf1"
38167                           "\x42\x72\x6c\xad\xd7\x78\x5d\x72"
38168                           "\xc9\x16\x26\x25\x1b\x4c\xe6\x58"
38169                           "\x79\x57\xb5\x06\x15\x4f\xe5\xba"
38170                           "\xa2\x7f\x2d\x5b\x87\x8a\x44\x70"
38171                           "\xec\xc7\xef\x84\xae\x60\xa2\x61"
38172                           "\x86\xe9\x18\xcd\x28\xc4\xa4\xf5"
38173                           "\xbc\x84\xb8\x86\xa0\xba\xf1\xf1"
38174                           "\x08\x3b\x32\x75\x35\x22\x7a\x65"
38175                           "\xca\x48\xe8\xef\x6e\xe2\x8e\x00",
38176                 .ctext  = "\x2f\xae\xd8\x67\xeb\x15\xde\x75"
38177                           "\x53\xa3\x0e\x5a\xcf\x1c\xbe\xea"
38178                           "\xde\xf9\xcf\xc2\x9f\xfd\x0f\x44"
38179                           "\xc0\xe0\x7a\x76\x1d\xcb\x4a\xf8"
38180                           "\x35\xd6\xe3\x95\x98\x6b\x3f\x89"
38181                           "\xc4\xe6\xb6\x6f\xe1\x8b\x39\x4b"
38182                           "\x1c\x6c\x77\xe4\xe1\x8a\xbc\x61"
38183                           "\x00\x6a\xb1\x37\x2f\x45\xe6\x04"
38184                           "\x52\x0b\xfc\x1e\x32\xc1\xd8\x9d"
38185                           "\xfa\xdd\x67\x5c\xe0\x75\x83\xd0"
38186                           "\x21\x9e\x02\xea\xc0\x7f\xc0\x29"
38187                           "\xb3\x6c\xa5\x97\xb3\x29\x82\x1a"
38188                           "\x94\xa5\xb4\xb6\x49\xe5\xa5\xad"
38189                           "\x95\x40\x52\x7c\x84\x88\xa4\xa8"
38190                           "\x26\xe4\xd9\x5d\x41\xf2\x93\x7b"
38191                           "\xa4\x48\x1b\x66\x91\xb9\x7c\xc2"
38192                           "\x99\x29\xdf\xd8\x30\xac\xd4\x47"
38193                           "\x42\xa0\x14\x87\x67\xb8\xfd\x0b"
38194                           "\x1e\xcb\x5e\x5c\x9a\xc2\x04\x8b"
38195                           "\x17\x29\x9d\x99\x7f\x86\x4c\xe2"
38196                           "\x5c\x96\xa6\x0f\xb6\x47\x33\x5c"
38197                           "\xe4\x50\x49\xd5\x4f\x92\x0b\x9a"
38198                           "\xbc\x52\x4c\x41\xf5\xc9\x3e\x76"
38199                           "\x55\x55\xd4\xdc\x71\x14\x23\xfc"
38200                           "\x5f\xd5\x08\xde\xa0\xf7\x28\xc0"
38201                           "\xe1\x61\xac\x64\x66\xf6\xd1\x31"
38202                           "\xe4\xa4\xa9\xed\xbc\xad\x4f\x3b"
38203                           "\x59\xb9\x48\x1b\xe7\xb1\x6f\xc6"
38204                           "\xba\x40\x1c\x0b\xe7\x2f\x31\x65"
38205                           "\x85\xf5\xe9\x14\x0a\x31\xf5\xf3"
38206                           "\xc0\x1c\x20\x35\x73\x38\x0f\x8e"
38207                           "\x39\xf0\x68\xae\x08\x9c\x87\x4b"
38208                           "\x42\xfc\x22\x17\xee\x96\x51\x2a"
38209                           "\xd8\x57\x5a\x35\xea\x72\x74\xfc"
38210                           "\xb3\x0e\x69\x9a\xe1\x4f\x24\x90"
38211                           "\xc5\x4b\xe5\xd7\xe3\x82\x2f\xc5"
38212                           "\x62\x46\x3e\xab\x72\x4e\xe0\xf3"
38213                           "\x90\x09\x4c\xb2\xe1\xe8\xa0\xf5"
38214                           "\x46\x40\x2b\x47\x85\x3c\x21\x90"
38215                           "\x3d\xad\x25\x5a\x36\xdf\xe5\xbc"
38216                           "\x7e\x80\x4d\x53\x77\xf1\x79\xa6"
38217                           "\xec\x22\x80\x88\x68\xd6\x2d\x8b"
38218                           "\x3e\xf7\x52\xc7\x2a\x20\x42\x5c"
38219                           "\xed\x99\x4f\x32\x80\x00\x7e\x73"
38220                           "\xd7\x6d\x7f\x7d\x42\x54\x4a\xfe"
38221                           "\xff\x6f\x61\xca\x2a\xbb\x4f\xeb"
38222                           "\x4f\xe4\x4e\xaf\x2c\x4f\x82\xcd"
38223                           "\xa1\xa7\x11\xb3\x34\x33\xcf\x32"
38224                           "\x63\x0e\x24\x3a\x35\xbe\x06\xd5"
38225                           "\x17\xcb\x02\x30\x33\x6e\x8c\x49"
38226                           "\x40\x6e\x34\x8c\x07\xd4\x3e\xe6"
38227                           "\xaf\x78\x6d\x8c\x10\x5f\x21\x58"
38228                           "\x49\x26\xc5\xaf\x0d\x7d\xd4\xaf"
38229                           "\xcd\x5b\xa1\xe3\xf6\x39\x1c\x9b"
38230                           "\x8e\x00\xa1\xa7\x9e\x17\x4a\xc0"
38231                           "\x54\x56\x9e\xcf\xcf\x88\x79\x8d"
38232                           "\x50\xf7\x56\x8e\x0a\x73\x46\x6b"
38233                           "\xc3\xb9\x9b\x6c\x7d\xc4\xc8\xb6"
38234                           "\x03\x5f\x30\x62\x7d\xe6\xdb\x15"
38235                           "\xe1\x39\x02\x8c\xff\xda\xc8\x43"
38236                           "\xf2\xa9\xbf\x00\xe7\x3a\x61\x89"
38237                           "\xdf\xb0\xca\x7d\x8c\x8a\x6a\x9f"
38238                           "\x18\x89\x3d\x39\xac\x36\x6f\x05"
38239                           "\x1f\xb5\xda\x00\xea\xe1\x51\x21",
38240                 .klen   = 32,
38241                 .len    = 512,
38242         },
38243
38244 };
38245
38246 /*
38247  * Test vectors generated using https://github.com/google/hctr2
38248  *
38249  * To ensure compatibility with RFC 8452, some tests were sourced from
38250  * https://datatracker.ietf.org/doc/html/rfc8452
38251  */
38252 static const struct hash_testvec polyval_tv_template[] = {
38253         { // From RFC 8452
38254                 .key    = "\x31\x07\x28\xd9\x91\x1f\x1f\x38"
38255                           "\x37\xb2\x43\x16\xc3\xfa\xb9\xa0",
38256                 .plaintext      = "\x65\x78\x61\x6d\x70\x6c\x65\x00"
38257                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38258                           "\x48\x65\x6c\x6c\x6f\x20\x77\x6f"
38259                           "\x72\x6c\x64\x00\x00\x00\x00\x00"
38260                           "\x38\x00\x00\x00\x00\x00\x00\x00"
38261                           "\x58\x00\x00\x00\x00\x00\x00\x00",
38262                 .digest = "\xad\x7f\xcf\x0b\x51\x69\x85\x16"
38263                           "\x62\x67\x2f\x3c\x5f\x95\x13\x8f",
38264                 .psize  = 48,
38265                 .ksize  = 16,
38266         },
38267         { // From RFC 8452
38268                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
38269                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
38270                 .plaintext      = "\x00\x00\x00\x00\x00\x00\x00\x00"
38271                           "\x00\x00\x00\x00\x00\x00\x00\x00",
38272                 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
38273                           "\x00\x00\x00\x00\x00\x00\x00\x00",
38274                 .psize  = 16,
38275                 .ksize  = 16,
38276         },
38277         { // From RFC 8452
38278                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
38279                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
38280                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
38281                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38282                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38283                           "\x40\x00\x00\x00\x00\x00\x00\x00",
38284                 .digest = "\xeb\x93\xb7\x74\x09\x62\xc5\xe4"
38285                           "\x9d\x2a\x90\xa7\xdc\x5c\xec\x74",
38286                 .psize  = 32,
38287                 .ksize  = 16,
38288         },
38289         { // From RFC 8452
38290                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
38291                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
38292                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
38293                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38294                           "\x02\x00\x00\x00\x00\x00\x00\x00"
38295                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38296                           "\x03\x00\x00\x00\x00\x00\x00\x00"
38297                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38298                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38299                           "\x80\x01\x00\x00\x00\x00\x00\x00",
38300                 .digest = "\x81\x38\x87\x46\xbc\x22\xd2\x6b"
38301                           "\x2a\xbc\x3d\xcb\x15\x75\x42\x22",
38302                 .psize  = 64,
38303                 .ksize  = 16,
38304         },
38305         { // From RFC 8452
38306                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
38307                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
38308                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
38309                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38310                           "\x02\x00\x00\x00\x00\x00\x00\x00"
38311                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38312                           "\x03\x00\x00\x00\x00\x00\x00\x00"
38313                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38314                           "\x04\x00\x00\x00\x00\x00\x00\x00"
38315                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38316                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38317                           "\x00\x02\x00\x00\x00\x00\x00\x00",
38318                 .digest = "\x1e\x39\xb6\xd3\x34\x4d\x34\x8f"
38319                           "\x60\x44\xf8\x99\x35\xd1\xcf\x78",
38320                 .psize  = 80,
38321                 .ksize  = 16,
38322         },
38323         { // From RFC 8452
38324                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
38325                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
38326                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
38327                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38328                           "\x02\x00\x00\x00\x00\x00\x00\x00"
38329                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38330                           "\x03\x00\x00\x00\x00\x00\x00\x00"
38331                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38332                           "\x04\x00\x00\x00\x00\x00\x00\x00"
38333                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38334                           "\x05\x00\x00\x00\x00\x00\x00\x00"
38335                           "\x00\x00\x00\x00\x00\x00\x00\x00"
38336                           "\x08\x00\x00\x00\x00\x00\x00\x00"
38337                           "\x00\x02\x00\x00\x00\x00\x00\x00",
38338                 .digest = "\xff\xcd\x05\xd5\x77\x0f\x34\xad"
38339                           "\x92\x67\xf0\xa5\x99\x94\xb1\x5a",
38340                 .psize  = 96,
38341                 .ksize  = 16,
38342         },
38343         { // Random ( 1)
38344                 .key    = "\x90\xcc\xac\xee\xba\xd7\xd4\x68"
38345                           "\x98\xa6\x79\x70\xdf\x66\x15\x6c",
38346                 .plaintext      = "",
38347                 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
38348                           "\x00\x00\x00\x00\x00\x00\x00\x00",
38349                 .psize  = 0,
38350                 .ksize  = 16,
38351         },
38352         { // Random ( 1)
38353                 .key    = "\xc1\x45\x71\xf0\x30\x07\x94\xe7"
38354                           "\x3a\xdd\xe4\xc6\x19\x2d\x02\xa2",
38355                 .plaintext      = "\xc1\x5d\x47\xc7\x4c\x7c\x5e\x07"
38356                           "\x85\x14\x8f\x79\xcc\x73\x83\xf7"
38357                           "\x35\xb8\xcb\x73\x61\xf0\x53\x31"
38358                           "\xbf\x84\xde\xb6\xde\xaf\xb0\xb8"
38359                           "\xb7\xd9\x11\x91\x89\xfd\x1e\x4c"
38360                           "\x84\x4a\x1f\x2a\x87\xa4\xaf\x62"
38361                           "\x8d\x7d\x58\xf6\x43\x35\xfc\x53"
38362                           "\x8f\x1a\xf6\x12\xe1\x13\x3f\x66"
38363                           "\x91\x4b\x13\xd6\x45\xfb\xb0\x7a"
38364                           "\xe0\x8b\x8e\x99\xf7\x86\x46\x37"
38365                           "\xd1\x22\x9e\x52\xf3\x3f\xd9\x75"
38366                           "\x2c\x2c\xc6\xbb\x0e\x08\x14\x29"
38367                           "\xe8\x50\x2f\xd8\xbe\xf4\xe9\x69"
38368                           "\x4a\xee\xf7\xae\x15\x65\x35\x1e",
38369                 .digest = "\x00\x4f\x5d\xe9\x3b\xc0\xd6\x50"
38370                           "\x3e\x38\x73\x86\xc6\xda\xca\x7f",
38371                 .psize  = 112,
38372                 .ksize  = 16,
38373         },
38374         { // Random ( 1)
38375                 .key    = "\x37\xbe\x68\x16\x50\xb9\x4e\xb0"
38376                           "\x47\xde\xe2\xbd\xde\xe4\x48\x09",
38377                 .plaintext      = "\x87\xfc\x68\x9f\xff\xf2\x4a\x1e"
38378                           "\x82\x3b\x73\x8f\xc1\xb2\x1b\x7a"
38379                           "\x6c\x4f\x81\xbc\x88\x9b\x6c\xa3"
38380                           "\x9c\xc2\xa5\xbc\x14\x70\x4c\x9b"
38381                           "\x0c\x9f\x59\x92\x16\x4b\x91\x3d"
38382                           "\x18\x55\x22\x68\x12\x8c\x63\xb2"
38383                           "\x51\xcb\x85\x4b\xd2\xae\x0b\x1c"
38384                           "\x5d\x28\x9d\x1d\xb1\xc8\xf0\x77"
38385                           "\xe9\xb5\x07\x4e\x06\xc8\xee\xf8"
38386                           "\x1b\xed\x72\x2a\x55\x7d\x16\xc9"
38387                           "\xf2\x54\xe7\xe9\xe0\x44\x5b\x33"
38388                           "\xb1\x49\xee\xff\x43\xfb\x82\xcd"
38389                           "\x4a\x70\x78\x81\xa4\x34\x36\xe8"
38390                           "\x4c\x28\x54\xa6\x6c\xc3\x6b\x78"
38391                           "\xe7\xc0\x5d\xc6\x5d\x81\xab\x70"
38392                           "\x08\x86\xa1\xfd\xf4\x77\x55\xfd"
38393                           "\xa3\xe9\xe2\x1b\xdf\x99\xb7\x80"
38394                           "\xf9\x0a\x4f\x72\x4a\xd3\xaf\xbb"
38395                           "\xb3\x3b\xeb\x08\x58\x0f\x79\xce"
38396                           "\xa5\x99\x05\x12\x34\xd4\xf4\x86"
38397                           "\x37\x23\x1d\xc8\x49\xc0\x92\xae"
38398                           "\xa6\xac\x9b\x31\x55\xed\x15\xc6"
38399                           "\x05\x17\x37\x8d\x90\x42\xe4\x87"
38400                           "\x89\x62\x88\x69\x1c\x6a\xfd\xe3"
38401                           "\x00\x2b\x47\x1a\x73\xc1\x51\xc2"
38402                           "\xc0\x62\x74\x6a\x9e\xb2\xe5\x21"
38403                           "\xbe\x90\xb5\xb0\x50\xca\x88\x68"
38404                           "\xe1\x9d\x7a\xdf\x6c\xb7\xb9\x98"
38405                           "\xee\x28\x62\x61\x8b\xd1\x47\xf9"
38406                           "\x04\x7a\x0b\x5d\xcd\x2b\x65\xf5"
38407                           "\x12\xa3\xfe\x1a\xaa\x2c\x78\x42"
38408                           "\xb8\xbe\x7d\x74\xeb\x59\xba\xba",
38409                 .digest = "\xae\x11\xd4\x60\x2a\x5f\x9e\x42"
38410                           "\x89\x04\xc2\x34\x8d\x55\x94\x0a",
38411                 .psize  = 256,
38412                 .ksize  = 16,
38413         },
38414
38415 };
38416
38417 /*
38418  * Test vectors generated using https://github.com/google/hctr2
38419  */
38420 static const struct cipher_testvec aes_hctr2_tv_template[] = {
38421         {
38422                 .key    = "\xe1\x15\x66\x3c\x8d\xc6\x3a\xff"
38423                           "\xef\x41\xd7\x47\xa2\xcc\x8a\xba",
38424                 .iv     = "\xc3\xbe\x2a\xcb\xb5\x39\x86\xf1"
38425                           "\x91\xad\x6c\xf4\xde\x74\x45\x63"
38426                           "\x5c\x7a\xd5\xcc\x8b\x76\xef\x0e"
38427                           "\xcf\x2c\x60\x69\x37\xfd\x07\x96",
38428                 .ptext  = "\x65\x75\xae\xd3\xe2\xbc\x43\x5c"
38429                           "\xb3\x1a\xd8\x05\xc3\xd0\x56\x29",
38430                 .ctext  = "\x11\x91\xea\x74\x58\xcc\xd5\xa2"
38431                           "\xd0\x55\x9e\x3d\xfe\x7f\xc8\xfe",
38432                 .klen   = 16,
38433                 .len    = 16,
38434         },
38435         {
38436                 .key    = "\xe7\xd1\x77\x48\x76\x0b\xcd\x34"
38437                           "\x2a\x2d\xe7\x74\xca\x11\x9c\xae",
38438                 .iv     = "\x71\x1c\x49\x62\xd9\x5b\x50\x5e"
38439                           "\x68\x87\xbc\xf6\x89\xff\xed\x30"
38440                           "\xe4\xe5\xbd\xb6\x10\x4f\x9f\x66"
38441                           "\x28\x06\x5a\xf4\x27\x35\xcd\xe5",
38442                 .ptext  = "\x87\x03\x8f\x06\xa8\x61\x54\xda"
38443                           "\x01\x45\xd4\x01\xef\x4a\x22\xcf"
38444                           "\x78\x15\x9f\xbd\x64\xbd\x2c\xb9"
38445                           "\x40\x1d\x72\xae\x53\x63\xa5",
38446                 .ctext  = "\x4e\xa1\x05\x27\xb8\x45\xe4\xa1"
38447                           "\xbb\x30\xb4\xa6\x12\x74\x63\xd6"
38448                           "\x17\xc9\xcc\x2f\x18\x64\xe0\x06"
38449                           "\x0a\xa0\xff\x72\x10\x7b\x22",
38450                 .klen   = 16,
38451                 .len    = 31,
38452         },
38453         {
38454                 .key    = "\x59\x65\x3b\x1d\x43\x5e\xc0\xae"
38455                           "\xb8\x9d\x9b\xdd\x22\x03\xbf\xca",
38456                 .iv     = "\xec\x95\xfa\x5a\xcf\x5e\xd2\x93"
38457                           "\xa3\xb5\xe5\xbe\xf3\x01\x7b\x01"
38458                           "\xd1\xca\x6c\x06\x82\xf0\xbd\x67"
38459                           "\xd9\x6c\xa4\xdc\xb4\x38\x0f\x74",
38460                 .ptext  = "\x45\xdf\x75\x87\xbc\x72\xce\x55"
38461                           "\xc9\xfa\xcb\xfc\x9f\x40\x82\x2b"
38462                           "\xc6\x4f\x4f\x5b\x8b\x3b\x6d\x67"
38463                           "\xa6\x93\x62\x89\x8c\x19\xf4\xe3"
38464                           "\x08\x92\x9c\xc9\x47\x2c\x6e\xd0"
38465                           "\xa3\x02\x2b\xdb\x2c\xf2\x8d\x46"
38466                           "\xcd\xb0\x9d\x26\x63\x4c\x40\x6b"
38467                           "\x79\x43\xe5\xce\x42\xa8\xec\x3b"
38468                           "\x5b\xd0\xea\xa4\xe6\xdb\x66\x55"
38469                           "\x7a\x76\xec\xab\x7d\x2a\x2b\xbd"
38470                           "\xa9\xab\x22\x64\x1a\xa1\xae\x84"
38471                           "\x86\x79\x67\xe9\xb2\x50\xbe\x12"
38472                           "\x2f\xb2\x14\xf0\xdb\x71\xd8\xa7"
38473                           "\x41\x8a\x88\xa0\x6a\x6e\x9d\x2a"
38474                           "\xfa\x11\x37\x40\x32\x09\x4c\x47"
38475                           "\x41\x07\x31\x85\x3d\xa8\xf7\x64",
38476                 .ctext  = "\x2d\x4b\x9f\x93\xca\x5a\x48\x26"
38477                           "\x01\xcc\x54\xe4\x31\x50\x12\xf0"
38478                           "\x49\xff\x59\x42\x68\xbd\x87\x8f"
38479                           "\x9e\x62\x96\xcd\xb9\x24\x57\xa4"
38480                           "\x0b\x7b\xf5\x2e\x0e\xa8\x65\x07"
38481                           "\xab\x05\xd5\xca\xe7\x9c\x6c\x34"
38482                           "\x5d\x42\x34\xa4\x62\xe9\x75\x48"
38483                           "\x3d\x9e\x8f\xfa\x42\xe9\x75\x08"
38484                           "\x4e\x54\x91\x2b\xbd\x11\x0f\x8e"
38485                           "\xf0\x82\xf5\x24\xf1\xc4\xfc\xae"
38486                           "\x42\x54\x7f\xce\x15\xa8\xb2\x33"
38487                           "\xc0\x86\xb6\x2b\xe8\x44\xce\x1f"
38488                           "\x68\x57\x66\x94\x6e\xad\xeb\xf3"
38489                           "\x30\xf8\x11\xbd\x60\x00\xc6\xd5"
38490                           "\x4c\x81\xf1\x20\x2b\x4a\x5b\x99"
38491                           "\x79\x3b\xc9\x5c\x74\x23\xe6\x5d",
38492                 .klen   = 16,
38493                 .len    = 128,
38494         },
38495         {
38496                 .key    = "\x3e\x08\x5d\x64\x6c\x98\xec\xec"
38497                           "\x70\x0e\x0d\xa1\x41\x20\x99\x82",
38498                 .iv     = "\x11\xb7\x77\x91\x0d\x99\xd9\x8d"
38499                           "\x35\x3a\xf7\x14\x6b\x09\x37\xe5"
38500                           "\xad\x51\xf6\xc3\x96\x4b\x64\x56"
38501                           "\xa8\xbd\x81\xcc\xbe\x94\xaf\xe4",
38502                 .ptext  = "\xff\x8d\xb9\xc0\xe3\x69\xb3\xb2"
38503                           "\x8b\x11\x26\xb3\x11\xec\xfb\xb9"
38504                           "\x9c\xc1\x71\xd6\xe3\x26\x0e\xe0"
38505                           "\x68\x40\x60\xb9\x3a\x63\x56\x8a"
38506                           "\x9e\xc1\xf0\x10\xb1\x64\x32\x70"
38507                           "\xf8\xcd\xc6\xc4\x49\x4c\xe1\xce"
38508                           "\xf3\xe1\x03\xf8\x35\xae\xe0\x5e"
38509                           "\xef\x5f\xbc\x41\x75\x26\x13\xcc"
38510                           "\x37\x85\xdf\xc0\x5d\xa6\x47\x98"
38511                           "\xf1\x97\x52\x58\x04\xe6\xb5\x01"
38512                           "\xc0\xb8\x17\x6d\x74\xbd\x9a\xdf"
38513                           "\xa4\x37\x94\x86\xb0\x13\x83\x28"
38514                           "\xc9\xa2\x07\x3f\xb5\xb2\x72\x40"
38515                           "\x0e\x60\xdf\x57\x07\xb7\x2c\x66"
38516                           "\x10\x3f\x8d\xdd\x30\x0a\x47\xd5"
38517                           "\xe8\x9d\xfb\xa1\xaf\x53\xd7\x05"
38518                           "\xc7\xd2\xba\xe7\x2c\xa0\xbf\xb8"
38519                           "\xd1\x93\xe7\x41\x82\xa3\x41\x3a"
38520                           "\xaf\x12\xd6\xf8\x34\xda\x92\x46"
38521                           "\xad\xa2\x2f\xf6\x7e\x46\x96\xd8"
38522                           "\x03\xf3\x49\x64\xde\xd8\x06\x8b"
38523                           "\xa0\xbc\x63\x35\x38\xb6\x6b\xda"
38524                           "\x5b\x50\x3f\x13\xa5\x84\x1b\x1b"
38525                           "\x66\x89\x95\xb7\xc2\x16\x3c\xe9"
38526                           "\x24\xb0\x8c\x6f\x49\xef\xf7\x28"
38527                           "\x6a\x24\xfd\xbe\x25\xe2\xb4\x90"
38528                           "\x77\x44\x08\xb8\xda\xd2\xde\x2c"
38529                           "\xa0\x57\x45\x57\x29\x47\x6b\x89"
38530                           "\x4a\xf6\xa7\x2a\xc3\x9e\x7b\xc8"
38531                           "\xfd\x9f\x89\xab\xee\x6d\xa3\xb4"
38532                           "\x23\x90\x7a\xe9\x89\xa0\xc7\xb3"
38533                           "\x17\x41\x87\x91\xfc\x97\x42",
38534                 .ctext  = "\xfc\x9b\x96\x66\xc4\x82\x2a\x4a"
38535                           "\xb1\x24\xba\xc7\x78\x5f\x79\xc1"
38536                           "\x57\x2e\x47\x29\x4d\x7b\xd2\x9a"
38537                           "\xbd\xc6\xc1\x26\x7b\x8e\x3f\x5d"
38538                           "\xd4\xb4\x9f\x6a\x02\x24\x4a\xad"
38539                           "\x0c\x00\x1b\xdf\x92\xc5\x8a\xe1"
38540                           "\x77\x79\xcc\xd5\x20\xbf\x83\xf4"
38541                           "\x4b\xad\x11\xbf\xdb\x47\x65\x70"
38542                           "\x43\xf3\x65\xdf\xb7\xdc\xb2\xb9"
38543                           "\xaa\x3f\xb3\xdf\x79\x69\x0d\xa0"
38544                           "\x86\x1c\xba\x48\x0b\x01\xc1\x88"
38545                           "\xdf\x03\xb1\x06\x3c\x1d\x56\xa1"
38546                           "\x8e\x98\xc1\xa6\x95\xa2\x5b\x72"
38547                           "\x76\x59\xd2\x26\x25\xcd\xef\x7c"
38548                           "\xc9\x60\xea\x43\xd1\x12\x8a\x8a"
38549                           "\x63\x12\x78\xcb\x2f\x88\x1e\x88"
38550                           "\x78\x59\xde\xba\x4d\x2c\x78\x61"
38551                           "\x75\x37\x54\xfd\x80\xc7\x5e\x98"
38552                           "\xcf\x14\x62\x8e\xfb\x72\xee\x4d"
38553                           "\x9f\xaf\x8b\x09\xe5\x21\x0a\x91"
38554                           "\x8f\x88\x87\xd5\xb1\x84\xab\x18"
38555                           "\x08\x57\xed\x72\x35\xa6\x0e\xc6"
38556                           "\xff\xcb\xfe\x2c\x48\x39\x14\x44"
38557                           "\xba\x59\x32\x3a\x2d\xc4\x5f\xcb"
38558                           "\xbe\x68\x8e\x7b\xee\x21\xa4\x32"
38559                           "\x11\xa0\x99\xfd\x90\xde\x59\x43"
38560                           "\xeb\xed\xd5\x87\x68\x46\xc6\xde"
38561                           "\x0b\x07\x17\x59\x6a\xab\xca\x15"
38562                           "\x65\x02\x01\xb6\x71\x8c\x3b\xaa"
38563                           "\x18\x3b\x30\xae\x38\x5b\x2c\x74"
38564                           "\xd4\xee\x4a\xfc\xf7\x1b\x09\xd4"
38565                           "\xda\x8b\x1d\x5d\x6f\x21\x6c",
38566                 .klen   = 16,
38567                 .len    = 255,
38568         },
38569         {
38570                 .key    = "\x24\xf6\xe1\x62\xe5\xaf\x99\xda"
38571                           "\x84\xec\x41\xb0\xa3\x0b\xd5\xa8"
38572                           "\xa0\x3e\x7b\xa6\xdd\x6c\x8f\xa8",
38573                 .iv     = "\x7f\x80\x24\x62\x32\xdd\xab\x66"
38574                           "\xf2\x87\x29\x24\xec\xd2\x4b\x9f"
38575                           "\x0c\x33\x52\xd9\xe0\xcc\x6e\xe4"
38576                           "\x90\x85\x43\x97\xc4\x62\x14\x33",
38577                 .ptext  = "\xef\x58\xe7\x7f\xa9\xd9\xb8\xd7"
38578                           "\xa2\x91\x97\x07\x27\x9e\xba\xe8"
38579                           "\xaa",
38580                 .ctext  = "\xd7\xc3\x81\x91\xf2\x40\x17\x73"
38581                           "\x3e\x3b\x1c\x2a\x8e\x11\x9c\x17"
38582                           "\xf1",
38583                 .klen   = 24,
38584                 .len    = 17,
38585         },
38586         {
38587                 .key    = "\xbf\xaf\xd7\x67\x8c\x47\xcf\x21"
38588                           "\x8a\xa5\xdd\x32\x25\x47\xbe\x4f"
38589                           "\xf1\x3a\x0b\xa6\xaa\x2d\xcf\x09",
38590                 .iv     = "\xd9\xe8\xf0\x92\x4e\xfc\x1d\xf2"
38591                           "\x81\x37\x7c\x8f\xf1\x59\x09\x20"
38592                           "\xf4\x46\x51\x86\x4f\x54\x8b\x32"
38593                           "\x58\xd1\x99\x8b\x8c\x03\xeb\x5d",
38594                 .ptext  = "\xcd\x64\x90\xf9\x7c\xe5\x0e\x5a"
38595                           "\x75\xe7\x8e\x39\x86\xec\x20\x43"
38596                           "\x8a\x49\x09\x15\x47\xf4\x3c\x89"
38597                           "\x21\xeb\xcf\x4e\xcf\x91\xb5\x40"
38598                           "\xcd\xe5\x4d\x5c\x6f\xf2\xd2\x80"
38599                           "\xfa\xab\xb3\x76\x9f\x7f\x84\x0a",
38600                 .ctext  = "\x44\x98\x64\x15\xb7\x0b\x80\xa3"
38601                           "\xb9\xca\x23\xff\x3b\x0b\x68\x74"
38602                           "\xbb\x3e\x20\x19\x9f\x28\x71\x2a"
38603                           "\x48\x3c\x7c\xe2\xef\xb5\x10\xac"
38604                           "\x82\x9f\xcd\x08\x8f\x6b\x16\x6f"
38605                           "\xc3\xbb\x07\xfb\x3c\xb0\x1b\x27",
38606                 .klen   = 24,
38607                 .len    = 48,
38608         },
38609         {
38610                 .key    = "\xb8\x35\xa2\x5f\x86\xbb\x82\x99"
38611                           "\x27\xeb\x01\x3f\x92\xaf\x80\x24"
38612                           "\x4c\x66\xa2\x89\xff\x2e\xa2\x25",
38613                 .iv     = "\x0a\x1d\x96\xd3\xe0\xe8\x0c\x9b"
38614                           "\x9d\x6f\x21\x97\xc2\x17\xdb\x39"
38615                           "\x3f\xd8\x64\x48\x80\x04\xee\x43"
38616                           "\x02\xce\x88\xe2\x81\x81\x5f\x81",
38617                 .ptext  = "\xb8\xf9\x16\x8b\x25\x68\xd0\x9c"
38618                           "\xd2\x28\xac\xa8\x79\xc2\x30\xc1"
38619                           "\x31\xde\x1c\x37\x1b\xa2\xb5\xe6"
38620                           "\xf0\xd0\xf8\x9c\x7f\xc6\x46\x07"
38621                           "\x5c\xc3\x06\xe4\xf0\x02\xec\xf8"
38622                           "\x59\x7c\xc2\x5d\xf8\x0c\x21\xae"
38623                           "\x9e\x82\xb1\x1a\x5f\x78\x44\x15"
38624                           "\x00\xa7\x2e\x52\xc5\x98\x98\x35"
38625                           "\x03\xae\xd0\x8e\x07\x57\xe2\x5a"
38626                           "\x17\xbf\x52\x40\x54\x5b\x74\xe5"
38627                           "\x2d\x35\xaf\x9e\x37\xf7\x7e\x4a"
38628                           "\x8c\x9e\xa1\xdc\x40\xb4\x5b\x36"
38629                           "\xdc\x3a\x68\xe6\xb7\x35\x0b\x8a"
38630                           "\x90\xec\x74\x8f\x09\x9a\x7f\x02"
38631                           "\x4d\x03\x46\x35\x62\xb1\xbd\x08"
38632                           "\x3f\x54\x2a\x10\x0b\xdc\x69\xaf"
38633                           "\x25\x3a\x0c\x5f\xe0\x51\xe7\x11"
38634                           "\xb7\x00\xab\xbb\x9a\xb0\xdc\x4d"
38635                           "\xc3\x7d\x1a\x6e\xd1\x09\x52\xbd"
38636                           "\x6b\x43\x55\x22\x3a\x78\x14\x7d"
38637                           "\x79\xfd\x8d\xfc\x9b\x1d\x0f\xa2"
38638                           "\xc7\xb9\xf8\x87\xd5\x96\x50\x61"
38639                           "\xa7\x5e\x1e\x57\x97\xe0\xad\x2f"
38640                           "\x93\xe6\xe8\x83\xec\x85\x26\x5e"
38641                           "\xd9\x2a\x15\xe0\xe9\x09\x25\xa1"
38642                           "\x77\x2b\x88\xdc\xa4\xa5\x48\xb6"
38643                           "\xf7\xcc\xa6\xa9\xba\xf3\x42\x5c"
38644                           "\x70\x9d\xe9\x29\xc1\xf1\x33\xdd"
38645                           "\x56\x48\x17\x86\x14\x51\x5c\x10"
38646                           "\xab\xfd\xd3\x26\x8c\x21\xf5\x93"
38647                           "\x1b\xeb\x47\x97\x73\xbb\x88\x10"
38648                           "\xf3\xfe\xf5\xde\xf3\x2e\x05\x46"
38649                           "\x1c\x0d\xa3\x10\x48\x9c\x71\x16"
38650                           "\x78\x33\x4d\x0a\x74\x3b\xe9\x34"
38651                           "\x0b\xa7\x0e\x9e\x61\xe9\xe9\xfd"
38652                           "\x85\xa0\xcb\x19\xfd\x7c\x33\xe3"
38653                           "\x0e\xce\xc2\x6f\x9d\xa4\x2d\x77"
38654                           "\xfd\xad\xee\x5e\x08\x3e\xd7\xf5"
38655                           "\xfb\xc3\xd7\x93\x96\x08\x96\xca"
38656                           "\x58\x81\x16\x9b\x98\x0a\xe2\xef"
38657                           "\x7f\xda\x40\xe4\x1f\x46\x9e\x67"
38658                           "\x2b\x84\xcb\x42\xc4\xd6\x6a\xcf"
38659                           "\x2d\xb2\x33\xc0\x56\xb3\x35\x6f"
38660                           "\x29\x36\x8f\x6a\x5b\xec\xd5\x4f"
38661                           "\xa0\x70\xff\xb6\x5b\xde\x6a\x93"
38662                           "\x20\x3c\xe2\x76\x7a\xef\x3c\x79"
38663                           "\x31\x65\xce\x3a\x0e\xd0\xbe\xa8"
38664                           "\x21\x95\xc7\x2b\x62\x8e\x67\xdd"
38665                           "\x20\x79\xe4\xe5\x01\x15\xc0\xec"
38666                           "\x0f\xd9\x23\xc8\xca\xdf\xd4\x7d"
38667                           "\x1d\xf8\x64\x4f\x56\xb1\x83\xa7"
38668                           "\x43\xbe\xfc\xcf\xc2\x8c\x33\xda"
38669                           "\x36\xd0\x52\xef\x9e\x9e\x88\xf4"
38670                           "\xa8\x21\x0f\xaa\xee\x8d\xa0\x24"
38671                           "\x4d\xcb\xb1\x72\x07\xf0\xc2\x06"
38672                           "\x60\x65\x85\x84\x2c\x60\xcf\x61"
38673                           "\xe7\x56\x43\x5b\x2b\x50\x74\xfa"
38674                           "\xdb\x4e\xea\x88\xd4\xb3\x83\x8f"
38675                           "\x6f\x97\x4b\x57\x7a\x64\x64\xae"
38676                           "\x0a\x37\x66\xc5\x03\xad\xb5\xf9"
38677                           "\x08\xb0\x3a\x74\xde\x97\x51\xff"
38678                           "\x48\x4f\x5c\xa4\xf8\x7a\xb4\x05"
38679                           "\x27\x70\x52\x86\x1b\x78\xfc\x18"
38680                           "\x06\x27\xa9\x62\xf7\xda\xd2\x8e",
38681                 .ctext  = "\x3b\xe1\xdb\xb3\xc5\x9a\xde\x69"
38682                           "\x58\x05\xcc\xeb\x02\x51\x78\x4a"
38683                           "\xac\x28\xe9\xed\xd1\xc9\x15\x7d"
38684                           "\x33\x7d\xc1\x47\x12\x41\x11\xf8"
38685                           "\x4a\x2c\xb7\xa3\x41\xbe\x59\xf7"
38686                           "\x22\xdb\x2c\xda\x9c\x00\x61\x9b"
38687                           "\x73\xb3\x0b\x84\x2b\xc1\xf3\x80"
38688                           "\x84\xeb\x19\x60\x80\x09\xe1\xcd"
38689                           "\x16\x3a\x20\x23\xc4\x82\x4f\xba"
38690                           "\x3b\x8e\x55\xd7\xa9\x0b\x75\xd0"
38691                           "\xda\xce\xd2\xee\x7e\x4b\x7f\x65"
38692                           "\x4d\x28\xc5\xd3\x15\x2c\x40\x96"
38693                           "\x52\xd4\x18\x61\x2b\xe7\x83\xec"
38694                           "\x89\x62\x9c\x4c\x50\xe6\xe2\xbb"
38695                           "\x25\xa1\x0f\xa7\xb0\xb4\xb2\xde"
38696                           "\x54\x20\xae\xa3\x56\xa5\x26\x4c"
38697                           "\xd5\xcc\xe5\xcb\x28\x44\xb1\xef"
38698                           "\x67\x2e\x93\x6d\x00\x88\x83\x9a"
38699                           "\xf2\x1c\x48\x38\xec\x1a\x24\x90"
38700                           "\x73\x0a\xdb\xe8\xce\x95\x7a\x2c"
38701                           "\x8c\xe9\xb7\x07\x1d\xb3\xa3\x20"
38702                           "\xbe\xad\x61\x84\xac\xde\x76\xb5"
38703                           "\xa6\x28\x29\x47\x63\xc4\xfc\x13"
38704                           "\x3f\x71\xfb\x58\x37\x34\x82\xed"
38705                           "\x9e\x05\x19\x1f\xc1\x67\xc1\xab"
38706                           "\xf5\xfd\x7c\xea\xfa\xa4\xf8\x0a"
38707                           "\xac\x4c\x92\xdf\x65\x73\xd7\xdb"
38708                           "\xed\x2c\xe0\x84\x5f\x57\x8c\x76"
38709                           "\x3e\x05\xc0\xc3\x68\x96\x95\x0b"
38710                           "\x88\x97\xfe\x2e\x99\xd5\xc2\xb9"
38711                           "\x53\x9f\xf3\x32\x10\x1f\x1f\x5d"
38712                           "\xdf\x21\x95\x70\x91\xe8\xa1\x3e"
38713                           "\x19\x3e\xb6\x0b\xa8\xdb\xf8\xd4"
38714                           "\x54\x27\xb8\xab\x5d\x78\x0c\xe6"
38715                           "\xb7\x08\xee\xa4\xb6\x6b\xeb\x5a"
38716                           "\x89\x69\x2b\xbd\xd4\x21\x5b\xbf"
38717                           "\x79\xbb\x0f\xff\xdb\x23\x9a\xeb"
38718                           "\x8d\xf2\xc4\x39\xb4\x90\x77\x6f"
38719                           "\x68\xe2\xb8\xf3\xf1\x65\x4f\xd5"
38720                           "\x24\x80\x06\xaf\x7c\x8d\x15\x0c"
38721                           "\xfd\x56\xe5\xe3\x01\xa5\xf7\x1c"
38722                           "\x31\xd6\xa2\x01\x1e\x59\xf9\xa9"
38723                           "\x42\xd5\xc2\x34\xda\x25\xde\xc6"
38724                           "\x5d\x38\xef\xd1\x4c\xc1\xd9\x1b"
38725                           "\x98\xfd\xcd\x57\x6f\xfd\x46\x91"
38726                           "\x90\x3d\x52\x2b\x2c\x7d\xcf\x71"
38727                           "\xcf\xd1\x77\x23\x71\x36\xb1\xce"
38728                           "\xc7\x5d\xf0\x5b\x44\x3d\x43\x71"
38729                           "\xac\xb8\xa0\x6a\xea\x89\x5c\xff"
38730                           "\x81\x73\xd4\x83\xd1\xc9\xe9\xe2"
38731                           "\xa8\xa6\x0f\x36\xe6\xaa\x57\xd4"
38732                           "\x27\xd2\xc9\xda\x94\x02\x1f\xfb"
38733                           "\xe1\xa1\x07\xbe\xe1\x1b\x15\x94"
38734                           "\x1e\xac\x2f\x57\xbb\x41\x22\xaf"
38735                           "\x60\x5e\xcc\x66\xcb\x16\x62\xab"
38736                           "\xb8\x7c\x99\xf4\x84\x93\x0c\xc2"
38737                           "\xa2\x49\xe4\xfd\x17\x55\xe1\xa6"
38738                           "\x8d\x5b\xc6\x1b\xc8\xac\xec\x11"
38739                           "\x33\xcf\xb0\xe8\xc7\x28\x4f\xb2"
38740                           "\x5c\xa6\xe2\x71\xab\x80\x0a\xa7"
38741                           "\x5c\x59\x50\x9f\x7a\x32\xb7\xe5"
38742                           "\x24\x9a\x8e\x25\x21\x2e\xb7\x18"
38743                           "\xd0\xf2\xe7\x27\x6f\xda\xc1\x00"
38744                           "\xd9\xa6\x03\x59\xac\x4b\xcb\xba",
38745                 .klen   = 24,
38746                 .len    = 512,
38747         },
38748         {
38749                 .key    = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
38750                           "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
38751                           "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
38752                           "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
38753                 .iv     = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
38754                           "\x33\x81\x37\x60\x7d\xfa\x73\x08"
38755                           "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
38756                           "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
38757                 .ptext  = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
38758                           "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
38759                 .ctext  = "\x27\x38\x78\x47\x16\xd9\x71\x35"
38760                           "\x2e\x7e\xdd\x7e\x43\x3c\xb8\x40",
38761                 .klen   = 32,
38762                 .len    = 16,
38763         },
38764         {
38765                 .key    = "\x93\xfa\x7e\xe2\x0e\x67\xc4\x39"
38766                           "\xe7\xca\x47\x95\x68\x9d\x5e\x5a"
38767                           "\x7c\x26\x19\xab\xc6\xca\x6a\x4c"
38768                           "\x45\xa6\x96\x42\xae\x6c\xff\xe7",
38769                 .iv     = "\xea\x82\x47\x95\x3b\x22\xa1\x3a"
38770                           "\x6a\xca\x24\x4c\x50\x7e\x23\xcd"
38771                           "\x0e\x50\xe5\x41\xb6\x65\x29\xd8"
38772                           "\x30\x23\x00\xd2\x54\xa7\xd6\x56",
38773                 .ptext  = "\xdb\x1f\x1f\xec\xad\x83\x6e\x5d"
38774                           "\x19\xa5\xf6\x3b\xb4\x93\x5a\x57"
38775                           "\x6f",
38776                 .ctext  = "\xf1\x46\x6e\x9d\xb3\x01\xf0\x6b"
38777                           "\xc2\xac\x57\x88\x48\x6d\x40\x72"
38778                           "\x68",
38779                 .klen   = 32,
38780                 .len    = 17,
38781         },
38782         {
38783                 .key    = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
38784                           "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
38785                           "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
38786                           "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
38787                 .iv     = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
38788                           "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
38789                           "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
38790                           "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
38791                 .ptext  = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
38792                           "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
38793                           "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
38794                           "\x43\x5a\x46\x06\x94\x2d\xf2",
38795                 .ctext  = "\xdb\xfd\xc8\x03\xd0\xec\xc1\xfe"
38796                           "\xbd\x64\x37\xb8\x82\x43\x62\x4e"
38797                           "\x7e\x54\xa3\xe2\x24\xa7\x27\xe8"
38798                           "\xa4\xd5\xb3\x6c\xb2\x26\xb4",
38799                 .klen   = 32,
38800                 .len    = 31,
38801         },
38802         {
38803                 .key    = "\x03\x65\x03\x6e\x4d\xe6\xe8\x4e"
38804                           "\x8b\xbe\x22\x19\x48\x31\xee\xd9"
38805                           "\xa0\x91\x21\xbe\x62\x89\xde\x78"
38806                           "\xd9\xb0\x36\xa3\x3c\xce\x43\xd5",
38807                 .iv     = "\xa9\xc3\x4b\xe7\x0f\xfc\x6d\xbf"
38808                           "\x56\x27\x21\x1c\xfc\xd6\x04\x10"
38809                           "\x5f\x43\xe2\x30\x35\x29\x6c\x10"
38810                           "\x90\xf1\xbf\x61\xed\x0f\x8a\x91",
38811                 .ptext  = "\x07\xaa\x02\x26\xb4\x98\x11\x5e"
38812                           "\x33\x41\x21\x51\x51\x63\x2c\x72"
38813                           "\x00\xab\x32\xa7\x1c\xc8\x3c\x9c"
38814                           "\x25\x0e\x8b\x9a\xdf\x85\xed\x2d"
38815                           "\xf4\xf2\xbc\x55\xca\x92\x6d\x22"
38816                           "\xfd\x22\x3b\x42\x4c\x0b\x74\xec",
38817                 .ctext  = "\x7b\xb1\x43\x6d\xd8\x72\x6c\xf6"
38818                           "\x67\x6a\x00\xc4\xf1\xf0\xf5\xa4"
38819                           "\xfc\x60\x91\xab\x46\x0b\x15\xfc"
38820                           "\xd7\xc1\x28\x15\xa1\xfc\xf7\x68"
38821                           "\x8e\xcc\x27\x62\x00\x64\x56\x72"
38822                           "\xa6\x17\xd7\x3f\x67\x80\x10\x58",
38823                 .klen   = 32,
38824                 .len    = 48,
38825         },
38826         {
38827                 .key    = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
38828                           "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
38829                           "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
38830                           "\x19\x09\x00\xa9\x04\x31\x4f\x11",
38831                 .iv     = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
38832                           "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
38833                           "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
38834                           "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
38835                 .ptext  = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
38836                           "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
38837                           "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
38838                           "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
38839                           "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
38840                           "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
38841                           "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
38842                           "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
38843                           "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
38844                           "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
38845                           "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
38846                           "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
38847                           "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
38848                           "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
38849                           "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
38850                           "\x56\x65\xc5\x54\x23\x28\xb0\x03",
38851                 .ctext  = "\xeb\xf9\x98\x86\x3c\x40\x9f\x16"
38852                           "\x84\x01\xf9\x06\x0f\xeb\x3c\xa9"
38853                           "\x4c\xa4\x8e\x5d\xc3\x8d\xe5\xd3"
38854                           "\xae\xa6\xe6\xcc\xd6\x2d\x37\x4f"
38855                           "\x99\xc8\xa3\x21\x46\xb8\x69\xf2"
38856                           "\xe3\x14\x89\xd7\xb9\xf5\x9e\x4e"
38857                           "\x07\x93\x6f\x78\x8e\x6b\xea\x8f"
38858                           "\xfb\x43\xb8\x3e\x9b\x4c\x1d\x7e"
38859                           "\x20\x9a\xc5\x87\xee\xaf\xf6\xf9"
38860                           "\x46\xc5\x18\x8a\xe8\x69\xe7\x96"
38861                           "\x52\x55\x5f\x00\x1e\x1a\xdc\xcc"
38862                           "\x13\xa5\xee\xff\x4b\x27\xca\xdc"
38863                           "\x10\xa6\x48\x76\x98\x43\x94\xa3"
38864                           "\xc7\xe2\xc9\x65\x9b\x08\x14\x26"
38865                           "\x1d\x68\xfb\x15\x0a\x33\x49\x84"
38866                           "\x84\x33\x5a\x1b\x24\x46\x31\x92",
38867                 .klen   = 32,
38868                 .len    = 128,
38869         },
38870         {
38871                 .key    = "\x36\x45\x11\xa2\x98\x5f\x96\x7c"
38872                           "\xc6\xb4\x94\x31\x0a\x67\x09\x32"
38873                           "\x6c\x6f\x6f\x00\xf0\x17\xcb\xac"
38874                           "\xa5\xa9\x47\x9e\x2e\x85\x2f\xfa",
38875                 .iv     = "\x28\x88\xaa\x9b\x59\x3b\x1e\x97"
38876                           "\x82\xe5\x5c\x9e\x6d\x14\x11\x19"
38877                           "\x6e\x38\x8f\xd5\x40\x2b\xca\xf9"
38878                           "\x7b\x4c\xe4\xa3\xd0\xd2\x8a\x13",
38879                 .ptext  = "\x95\xd2\xf7\x71\x1b\xca\xa5\x86"
38880                           "\xd9\x48\x01\x93\x2f\x79\x55\x29"
38881                           "\x71\x13\x15\x0e\xe6\x12\xbc\x4d"
38882                           "\x8a\x31\xe3\x40\x2a\xc6\x5e\x0d"
38883                           "\x68\xbb\x4a\x62\x8d\xc7\x45\x77"
38884                           "\xd2\xb8\xc7\x1d\xf1\xd2\x5d\x97"
38885                           "\xcf\xac\x52\xe5\x32\x77\xb6\xda"
38886                           "\x30\x85\xcf\x2b\x98\xe9\xaa\x34"
38887                           "\x62\xb5\x23\x9e\xb7\xa6\xd4\xe0"
38888                           "\xb4\x58\x18\x8c\x4d\xde\x4d\x01"
38889                           "\x83\x89\x24\xca\xfb\x11\xd4\x82"
38890                           "\x30\x7a\x81\x35\xa0\xb4\xd4\xb6"
38891                           "\x84\xea\x47\x91\x8c\x19\x86\x25"
38892                           "\xa6\x06\x8d\x78\xe6\xed\x87\xeb"
38893                           "\xda\xea\x73\x7c\xbf\x66\xb8\x72"
38894                           "\xe3\x0a\xb8\x0c\xcb\x1a\x73\xf1"
38895                           "\xa7\xca\x0a\xde\x57\x2b\xbd\x2b"
38896                           "\xeb\x8b\x24\x38\x22\xd3\x0e\x1f"
38897                           "\x17\xa0\x84\x98\x31\x77\xfd\x34"
38898                           "\x6a\x4e\x3d\x84\x4c\x0e\xfb\xed"
38899                           "\xc8\x2a\x51\xfa\xd8\x73\x21\x8a"
38900                           "\xdb\xb5\xfe\x1f\xee\xc4\xe8\x65"
38901                           "\x54\x84\xdd\x96\x6d\xfd\xd3\x31"
38902                           "\x77\x36\x52\x6b\x80\x4f\x9e\xb4"
38903                           "\xa2\x55\xbf\x66\x41\x49\x4e\x87"
38904                           "\xa7\x0c\xca\xe7\xa5\xc5\xf6\x6f"
38905                           "\x27\x56\xe2\x48\x22\xdd\x5f\x59"
38906                           "\x3c\xf1\x9f\x83\xe5\x2d\xfb\x71"
38907                           "\xad\xd1\xae\x1b\x20\x5c\x47\xb7"
38908                           "\x3b\xd3\x14\xce\x81\x42\xb1\x0a"
38909                           "\xf0\x49\xfa\xc2\xe7\x86\xbf\xcd"
38910                           "\xb0\x95\x9f\x8f\x79\x41\x54",
38911                 .ctext  = "\xf6\x57\x51\xc4\x25\x61\x2d\xfa"
38912                           "\xd6\xd9\x3f\x9a\x81\x51\xdd\x8e"
38913                           "\x3d\xe7\xaa\x2d\xb1\xda\xc8\xa6"
38914                           "\x9d\xaa\x3c\xab\x62\xf2\x80\xc3"
38915                           "\x2c\xe7\x58\x72\x1d\x44\xc5\x28"
38916                           "\x7f\xb4\xf9\xbc\x9c\xb2\xab\x8e"
38917                           "\xfa\xd1\x4d\x72\xd9\x79\xf5\xa0"
38918                           "\x24\x3e\x90\x25\x31\x14\x38\x45"
38919                           "\x59\xc8\xf6\xe2\xc6\xf6\xc1\xa7"
38920                           "\xb2\xf8\xa7\xa9\x2b\x6f\x12\x3a"
38921                           "\xb0\x81\xa4\x08\x57\x59\xb1\x56"
38922                           "\x4c\x8f\x18\x55\x33\x5f\xd6\x6a"
38923                           "\xc6\xa0\x4b\xd6\x6b\x64\x3e\x9e"
38924                           "\xfd\x66\x16\xe2\xdb\xeb\x5f\xb3"
38925                           "\x50\x50\x3e\xde\x8d\x72\x76\x01"
38926                           "\xbe\xcc\xc9\x52\x09\x2d\x8d\xe7"
38927                           "\xd6\xc3\x66\xdb\x36\x08\xd1\x77"
38928                           "\xc8\x73\x46\x26\x24\x29\xbf\x68"
38929                           "\x2d\x2a\x99\x43\x56\x55\xe4\x93"
38930                           "\xaf\xae\x4d\xe7\x55\x4a\xc0\x45"
38931                           "\x26\xeb\x3b\x12\x90\x7c\xdc\xd1"
38932                           "\xd5\x6f\x0a\xd0\xa9\xd7\x4b\x89"
38933                           "\x0b\x07\xd8\x86\xad\xa1\xc4\x69"
38934                           "\x1f\x5e\x8b\xc4\x9e\x91\x41\x25"
38935                           "\x56\x98\x69\x78\x3a\x9e\xae\x91"
38936                           "\xd8\xd9\xfa\xfb\xff\x81\x25\x09"
38937                           "\xfc\xed\x2d\x87\xbc\x04\x62\x97"
38938                           "\x35\xe1\x26\xc2\x46\x1c\xcf\xd7"
38939                           "\x14\xed\x02\x09\xa5\xb2\xb6\xaa"
38940                           "\x27\x4e\x61\xb3\x71\x6b\x47\x16"
38941                           "\xb7\xe8\xd4\xaf\x52\xeb\x6a\x6b"
38942                           "\xdb\x4c\x65\x21\x9e\x1c\x36",
38943                 .klen   = 32,
38944                 .len    = 255,
38945         },
38946         {
38947                 .key    = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
38948                           "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
38949                           "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
38950                           "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
38951                 .iv     = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
38952                           "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
38953                           "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
38954                           "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
38955                 .ptext  = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
38956                           "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
38957                           "\x05\xa3\x69\x60\x91\x36\x98\x57"
38958                           "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
38959                           "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
38960                           "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
38961                           "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
38962                           "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
38963                           "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
38964                           "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
38965                           "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
38966                           "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
38967                           "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
38968                           "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
38969                           "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
38970                           "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
38971                           "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
38972                           "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
38973                           "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
38974                           "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
38975                           "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
38976                           "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
38977                           "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
38978                           "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
38979                           "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
38980                           "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
38981                           "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
38982                           "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
38983                           "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
38984                           "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
38985                           "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
38986                           "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
38987                           "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
38988                           "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
38989                           "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
38990                           "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
38991                           "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
38992                           "\xd7\x31\x87\x89\x09\xab\xd5\x96"
38993                           "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
38994                           "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
38995                           "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
38996                           "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
38997                           "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
38998                           "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
38999                           "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
39000                           "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
39001                           "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
39002                           "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
39003                           "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
39004                           "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
39005                           "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
39006                           "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
39007                           "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
39008                           "\x17\x7c\x25\x48\x52\x67\x11\x27"
39009                           "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
39010                           "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
39011                           "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
39012                           "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
39013                           "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
39014                           "\x79\x50\x33\xca\xd0\xd7\x42\x55"
39015                           "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
39016                           "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
39017                           "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
39018                           "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
39019                 .ctext  = "\x9f\x72\x87\xc7\x17\xfb\x20\x15"
39020                           "\x65\xb3\x55\xa8\x1c\x8e\x52\x32"
39021                           "\xb1\x82\x8d\xbf\xb5\x9f\x10\x0a"
39022                           "\xe8\x0c\x70\x62\xef\x89\xb6\x1f"
39023                           "\x73\xcc\xe4\xcc\x7a\x3a\x75\x4a"
39024                           "\x26\xe7\xf5\xd7\x7b\x17\x39\x2d"
39025                           "\xd2\x27\x6e\xf9\x2f\x9e\xe2\xf6"
39026                           "\xfa\x16\xc2\xf2\x49\x26\xa7\x5b"
39027                           "\xe7\xca\x25\x0e\x45\xa0\x34\xc2"
39028                           "\x9a\x37\x79\x7e\x7c\x58\x18\x94"
39029                           "\x10\xa8\x7c\x48\xa9\xd7\x63\x89"
39030                           "\x9e\x61\x4d\x26\x34\xd9\xf0\xb1"
39031                           "\x2d\x17\x2c\x6f\x7c\x35\x0e\xbe"
39032                           "\x77\x71\x7c\x17\x5b\xab\x70\xdb"
39033                           "\x2f\x54\x0f\xa9\xc8\xf4\xf5\xab"
39034                           "\x52\x04\x3a\xb8\x03\xa7\xfd\x57"
39035                           "\x45\x5e\xbc\x77\xe1\xee\x79\x8c"
39036                           "\x58\x7b\x1f\xf7\x75\xde\x68\x17"
39037                           "\x98\x85\x8a\x18\x5c\xd2\x39\x78"
39038                           "\x7a\x6f\x26\x6e\xe1\x13\x91\xdd"
39039                           "\xdf\x0e\x6e\x67\xcc\x51\x53\xd8"
39040                           "\x17\x5e\xce\xa7\xe4\xaf\xfa\xf3"
39041                           "\x4f\x9f\x01\x9b\x04\xe7\xfc\xf9"
39042                           "\x6a\xdc\x1d\x0c\x9a\xaa\x3a\x7a"
39043                           "\x73\x03\xdf\xbf\x3b\x82\xbe\xb0"
39044                           "\xb4\xa4\xcf\x07\xd7\xde\x71\x25"
39045                           "\xc5\x10\xee\x0a\x15\x96\x8b\x4f"
39046                           "\xfe\xb8\x28\xbd\x4a\xcd\xeb\x9f"
39047                           "\x5d\x00\xc1\xee\xe8\x16\x44\xec"
39048                           "\xe9\x7b\xd6\x85\x17\x29\xcf\x58"
39049                           "\x20\xab\xf7\xce\x6b\xe7\x71\x7d"
39050                           "\x4f\xa8\xb0\xe9\x7d\x70\xd6\x0b"
39051                           "\x2e\x20\xb1\x1a\x63\x37\xaa\x2c"
39052                           "\x94\xee\xd5\xf6\x58\x2a\xf4\x7a"
39053                           "\x4c\xba\xf5\xe9\x3c\x6f\x95\x13"
39054                           "\x5f\x96\x81\x5b\xb5\x62\xf2\xd7"
39055                           "\x8d\xbe\xa1\x31\x51\xe6\xfe\xc9"
39056                           "\x07\x7d\x0f\x00\x3a\x66\x8c\x4b"
39057                           "\x94\xaa\xe5\x56\xde\xcd\x74\xa7"
39058                           "\x48\x67\x6f\xed\xc9\x6a\xef\xaf"
39059                           "\x9a\xb7\xae\x60\xfa\xc0\x37\x39"
39060                           "\xa5\x25\xe5\x22\xea\x82\x55\x68"
39061                           "\x3e\x30\xc3\x5a\xb6\x29\x73\x7a"
39062                           "\xb6\xfb\x34\xee\x51\x7c\x54\xe5"
39063                           "\x01\x4d\x72\x25\x32\x4a\xa3\x68"
39064                           "\x80\x9a\x89\xc5\x11\x66\x4c\x8c"
39065                           "\x44\x50\xbe\xd7\xa0\xee\xa6\xbb"
39066                           "\x92\x0c\xe6\xd7\x83\x51\xb1\x69"
39067                           "\x63\x40\xf3\xf4\x92\x84\xc4\x38"
39068                           "\x29\xfb\xb4\x84\xa0\x19\x75\x16"
39069                           "\x60\xbf\x0a\x9c\x89\xee\xad\xb4"
39070                           "\x43\xf9\x71\x39\x45\x7c\x24\x83"
39071                           "\x30\xbb\xee\x28\xb0\x86\x7b\xec"
39072                           "\x93\xc1\xbf\xb9\x97\x1b\x96\xef"
39073                           "\xee\x58\x35\x61\x12\x19\xda\x25"
39074                           "\x77\xe5\x80\x1a\x31\x27\x9b\xe4"
39075                           "\xda\x8b\x7e\x51\x4d\xcb\x01\x19"
39076                           "\x4f\xdc\x92\x1a\x17\xd5\x6b\xf4"
39077                           "\x50\xe3\x06\xe4\x76\x9f\x65\x00"
39078                           "\xbd\x7a\xe2\x64\x26\xf2\xe4\x7e"
39079                           "\x40\xf2\x80\xab\x62\xd5\xef\x23"
39080                           "\x8b\xfb\x6f\x24\x6e\x9b\x66\x0e"
39081                           "\xf4\x1c\x24\x1e\x1d\x26\x95\x09"
39082                           "\x94\x3c\xb2\xb6\x02\xa7\xd9\x9a",
39083                 .klen   = 32,
39084                 .len    = 512,
39085         },
39086
39087 };
39088
39089 #endif  /* _CRYPTO_TESTMGR_H */
This page took 2.63303 seconds and 4 git commands to generate.