a66a1529565af985f63186b92574a9d26ca05314
[openssl.git] / test / evptests.txt
1 #!/bin/sh
2 #
3 # Copyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved.
4 #
5 # Licensed under the OpenSSL license (the "License").  You may not use
6 # this file except in compliance with the License.  You can obtain a copy
7 # in the file LICENSE in the source distribution or at
8 # https://www.openssl.org/source/license.html
9
10 #cipher:key:iv:plaintext:ciphertext:0/1(decrypt/encrypt)
11 #aadcipher:key:iv:plaintext:ciphertext:aad:tag:0/1(decrypt/encrypt)
12 #digest:::input:output
13
14 # BLAKE2 tests, using same inputs as MD5
15 # There are no official BLAKE2 test vectors we can use since they all use a key
16 # Which is currently unsupported by OpenSSL.  They were generated using the
17 # reference implementation.  RFC7693 also mentions the 616263 / "abc" values.
18 Digest = BLAKE2s256
19 Input = 
20 Output = 69217a3079908094e11121d042354a7c1f55b6482ca1a51e1b250dfd1ed0eef9
21
22 Digest = BLAKE2s256
23 Input = 61
24 Output = 4a0d129873403037c2cd9b9048203687f6233fb6738956e0349bd4320fec3e90
25
26 Digest = BLAKE2s256
27 Input = 616263
28 Output = 508c5e8c327c14e2e1a72ba34eeb452f37458b209ed63a294d999b4c86675982
29
30 Digest = BLAKE2s256
31 Input = 6d65737361676520646967657374
32 Output = fa10ab775acf89b7d3c8a6e823d586f6b67bdbac4ce207fe145b7d3ac25cd28c
33
34 Digest = BLAKE2s256
35 Input = 6162636465666768696a6b6c6d6e6f707172737475767778797a
36 Output = bdf88eb1f86a0cdf0e840ba88fa118508369df186c7355b4b16cf79fa2710a12
37
38 Digest = BLAKE2s256
39 Input = 4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a30313233343536373839
40 Output = c75439ea17e1de6fa4510c335dc3d3f343e6f9e1ce2773e25b4174f1df8b119b
41
42 Digest = BLAKE2s256
43 Input = 3132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930
44 Output = fdaedb290a0d5af9870864fec2e090200989dc9cd53a3c092129e8535e8b4f66
45
46 Digest = BLAKE2s256
47 Input = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F
48 Output = 1FA877DE67259D19863A2A34BCC6962A2B25FCBF5CBECD7EDE8F1FA36688A796
49
50 Digest = BLAKE2s256
51 Input = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F8081
52 Output = C80ABEEBB669AD5DEEB5F5EC8EA6B7A05DDF7D31EC4C0A2EE20B0B98CAEC6746
53
54 Digest = BLAKE2b512
55 Input = 
56 Output = 786a02f742015903c6c6fd852552d272912f4740e15847618a86e217f71f5419d25e1031afee585313896444934eb04b903a685b1448b755d56f701afe9be2ce
57
58 Digest = BLAKE2b512
59 Input = 61
60 Output = 333fcb4ee1aa7c115355ec66ceac917c8bfd815bf7587d325aec1864edd24e34d5abe2c6b1b5ee3face62fed78dbef802f2a85cb91d455a8f5249d330853cb3c
61
62 Digest = BLAKE2b512
63 Input = 616263
64 Output = ba80a53f981c4d0d6a2797b69f12f6e94c212f14685ac4b74b12bb6fdbffa2d17d87c5392aab792dc252d5de4533cc9518d38aa8dbf1925ab92386edd4009923
65
66 Digest = BLAKE2b512
67 Input = 6d65737361676520646967657374
68 Output = 3c26ce487b1c0f062363afa3c675ebdbf5f4ef9bdc022cfbef91e3111cdc283840d8331fc30a8a0906cff4bcdbcd230c61aaec60fdfad457ed96b709a382359a
69
70 Digest = BLAKE2b512
71 Input = 6162636465666768696a6b6c6d6e6f707172737475767778797a
72 Output = c68ede143e416eb7b4aaae0d8e48e55dd529eafed10b1df1a61416953a2b0a5666c761e7d412e6709e31ffe221b7a7a73908cb95a4d120b8b090a87d1fbedb4c
73
74 Digest = BLAKE2b512
75 Input = 4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a30313233343536373839
76 Output = 99964802e5c25e703722905d3fb80046b6bca698ca9e2cc7e49b4fe1fa087c2edf0312dfbb275cf250a1e542fd5dc2edd313f9c491127c2e8c0c9b24168e2d50
77
78 Digest = BLAKE2b512
79 Input = 3132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930
80 Output = 686f41ec5afff6e87e1f076f542aa466466ff5fbde162c48481ba48a748d842799f5b30f5b67fc684771b33b994206d05cc310f31914edd7b97e41860d77d282
81
82 Digest = BLAKE2b512
83 Input = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F
84 Output = 2319E3789C47E2DAA5FE807F61BEC2A1A6537FA03F19FF32E87EECBFD64B7E0E8CCFF439AC333B040F19B0C4DDD11A61E24AC1FE0F10A039806C5DCC0DA3D115
85
86 Digest = BLAKE2b512
87 Input = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F8081
88 Output = DF0A9D0C212843A6A934E3902B2DD30D17FBA5F969D2030B12A546D8A6A45E80CF5635F071F0452E9C919275DA99BED51EB1173C1AF0518726B75B0EC3BAE2B5
89
90 # SHA(1) tests (from shatest.c)
91 Digest = SHA1
92 Input = 616263
93 Output = a9993e364706816aba3e25717850c26c9cd0d89d
94
95
96 # MD5 tests (from md5test.c)
97 Digest = MD5
98 Input =
99 Output = d41d8cd98f00b204e9800998ecf8427e
100
101 Digest = MD5
102 Input = 61
103 Output = 0cc175b9c0f1b6a831c399e269772661
104
105 Digest = MD5
106 Input = 616263
107 Output = 900150983cd24fb0d6963f7d28e17f72
108
109 Digest = MD5
110 Input = 6d65737361676520646967657374
111 Output = f96b697d7cb7938d525a2f31aaf161d0
112
113 Digest = MD5
114 Input = 6162636465666768696a6b6c6d6e6f707172737475767778797a
115 Output = c3fcd3d76192e4007dfb496cca67e13b
116
117 Digest = MD5
118 Input = 4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a30313233343536373839
119 Output = d174ab98d277d9f5a5611c2c9f419d9f
120
121 Digest = MD5
122 Input = 3132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930
123 Output = 57edf4a22be3c955ac49da2e2107b67a
124
125 # MD4 tests from md4test.c
126 Digest = MD4
127 Input = ""
128 Output = 31d6cfe0d16ae931b73c59d7e0c089c0
129 Digest = MD4
130 Input = "a"
131 Output = bde52cb31de33e46245e05fbdbd6fb24
132 Digest = MD4
133 Input = "abc"
134 Output = a448017aaf21d8525fc10ae87aa6729d
135 Digest = MD4
136 Input = "message digest"
137 Output = d9130a8164549fe818874806e1c7014b
138 Digest = MD4
139 Input = "abcdefghijklmnopqrstuvwxyz"
140 Output = d79e1c308aa5bbcdeea8ed63df412da9
141 Digest = MD4
142 Input = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
143 Output = 043f8582f241db351ce627e153e7f0e4
144 Digest = MD4
145 Input = "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
146 Output = e33b4ddc9c38f2199c3e7b164fcc0536
147
148 # RIPEMD160 tests from rmdtest.c
149 Digest = RIPEMD160
150 Input = ""
151 Output = 9c1185a5c5e9fc54612808977ee8f548b2258d31
152 Digest = RIPEMD160
153 Input = "a"
154 Output = 0bdc9d2d256b3ee9daae347be6f4dc835a467ffe
155 Digest = RIPEMD160
156 Input = "abc"
157 Output = 8eb208f7e05d987a9b044a8e98c6b087f15a0bfc
158 Digest = RIPEMD160
159 Input = "message digest"
160 Output = 5d0689ef49d2fae572b881b123a85ffa21595f36
161 Digest = RIPEMD160
162 Input = "abcdefghijklmnopqrstuvwxyz"
163 Output = f71c27109c692c1b56bbdceb5b9d2865b3708dbc
164 Digest = RIPEMD160
165 Input = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
166 Output = 12a053384a9c0c88e405a06c27dcf49ada62eb2b
167 Digest = RIPEMD160
168 Input = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
169 Output = b0e20b6e3116640286ed3a87a5713079b21f5189
170 Digest = RIPEMD160
171 Input = "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
172 Output = 9b752e45573d4b39f4dbd3323cab82bf63326bfb
173
174 # whirlpool tests from wp_test.c
175 Digest = whirlpool
176 Input = ""
177 Output = 19FA61D75522A4669B44E39C1D2E1726C530232130D407F89AFEE0964997F7A73E83BE698B288FEBCF88E3E03C4F0757EA8964E59B63D93708B138CC42A66EB3
178 Digest = whirlpool
179 Input = "a"
180 Output = 8ACA2602792AEC6F11A67206531FB7D7F0DFF59413145E6973C45001D0087B42D11BC645413AEFF63A42391A39145A591A92200D560195E53B478584FDAE231A
181 Digest = whirlpool
182 Input = "abc"
183 Output = 4E2448A4C6F486BB16B6562C73B4020BF3043E3A731BCE721AE1B303D97E6D4C7181EEBDB6C57E277D0E34957114CBD6C797FC9D95D8B582D225292076D4EEF5
184 Digest = whirlpool
185 Input = "message digest"
186 Output = 378C84A4126E2DC6E56DCC7458377AAC838D00032230F53CE1F5700C0FFB4D3B8421557659EF55C106B4B52AC5A4AAA692ED920052838F3362E86DBD37A8903E
187 Digest = whirlpool
188 Input = "abcdefghijklmnopqrstuvwxyz"
189 Output = F1D754662636FFE92C82EBB9212A484A8D38631EAD4238F5442EE13B8054E41B08BF2A9251C30B6A0B8AAE86177AB4A6F68F673E7207865D5D9819A3DBA4EB3B
190 Digest = whirlpool
191 Input = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
192 Output = DC37E008CF9EE69BF11F00ED9ABA26901DD7C28CDEC066CC6AF42E40F82F3A1E08EBA26629129D8FB7CB57211B9281A65517CC879D7B962142C65F5A7AF01467
193 Digest = whirlpool
194 Input = "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
195 Output = 466EF18BABB0154D25B9D38A6414F5C08784372BCCB204D6549C4AFADB6014294D5BD8DF2A6C44E538CD047B2681A51A2C60481E88C5A20B2C2A80CF3A9A083B
196 Digest = whirlpool
197 Input = "abcdbcdecdefdefgefghfghighijhijk"
198 Output = 2A987EA40F917061F5D6F0A0E4644F488A7A5A52DEEE656207C562F988E95C6916BDC8031BC5BE1B7B947639FE050B56939BAAA0ADFF9AE6745B7B181C3BE3FD
199 Digest = whirlpool
200 Input = "aaaaaaaaaa"
201 Count = 100000
202 Output = 0C99005BEB57EFF50A7CF005560DDF5D29057FD86B20BFD62DECA0F1CCEA4AF51FC15490EDDC47AF32BB2B66C34FF9AD8C6008AD677F77126953B226E4ED8B01
203
204 # DES EDE3 CFB1
205 # echo -n "Hello World" |
206 #  apps/openssl enc -des-ede3-cfb1 \
207 #   -K 000102030405060708090A0B0C0D0E0F1011121314151617 -iv 0001020304050607 |
208 #  xxd -ps -u
209
210 Cipher = DES-EDE3-CFB1
211 Key = 000102030405060708090A0B0C0D0E0F1011121314151617
212 IV = 0001020304050607
213 Plaintext = "Hello World"
214 Ciphertext = 3CF55D656E9C0664513358
215
216 Cipher = DES-EDE3-CFB1
217 Key = 000102030405060708090A0B0C0D0E0F1011121314151617
218 IV = 0001020304050607
219 Operation = DECRYPT
220 Plaintext = "Hello World"
221 Ciphertext = 3CF55D656E9C0664513358
222
223 # AES 128 ECB tests (from FIPS-197 test vectors, encrypt)
224
225 Cipher = AES-128-ECB
226 Key = 000102030405060708090A0B0C0D0E0F
227 Operation = ENCRYPT
228 Plaintext = 00112233445566778899AABBCCDDEEFF
229 Ciphertext = 69C4E0D86A7B0430D8CDB78070B4C55A
230
231 # AES 192 ECB tests (from FIPS-197 test vectors, encrypt)
232
233 Cipher = AES-192-ECB
234 Key = 000102030405060708090A0B0C0D0E0F1011121314151617
235 Operation = ENCRYPT
236 Plaintext = 00112233445566778899AABBCCDDEEFF
237 Ciphertext = DDA97CA4864CDFE06EAF70A0EC0D7191
238
239
240 # AES 256 ECB tests (from FIPS-197 test vectors, encrypt)
241
242 Cipher = AES-256-ECB
243 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
244 Operation = ENCRYPT
245 Plaintext = 00112233445566778899AABBCCDDEEFF
246 Ciphertext = 8EA2B7CA516745BFEAFC49904B496089
247
248
249 # AES 128 ECB tests (from NIST test vectors, encrypt)
250
251 #AES-128-ECB:00000000000000000000000000000000::00000000000000000000000000000000:C34C052CC0DA8D73451AFE5F03BE297F:1
252
253 # AES 128 ECB tests (from NIST test vectors, decrypt)
254
255 #AES-128-ECB:00000000000000000000000000000000::44416AC2D1F53C583303917E6BE9EBE0:00000000000000000000000000000000:0
256
257 # AES 192 ECB tests (from NIST test vectors, decrypt)
258
259 #AES-192-ECB:000000000000000000000000000000000000000000000000::48E31E9E256718F29229319C19F15BA4:00000000000000000000000000000000:0
260
261 # AES 256 ECB tests (from NIST test vectors, decrypt)
262
263 #AES-256-ECB:0000000000000000000000000000000000000000000000000000000000000000::058CCFFDBBCB382D1F6F56585D8A4ADE:00000000000000000000000000000000:0
264
265 # AES 128 CBC tests (from NIST test vectors, encrypt)
266
267 #AES-128-CBC:00000000000000000000000000000000:00000000000000000000000000000000:00000000000000000000000000000000:8A05FC5E095AF4848A08D328D3688E3D:1
268
269 # AES 192 CBC tests (from NIST test vectors, encrypt)
270
271 #AES-192-CBC:000000000000000000000000000000000000000000000000:00000000000000000000000000000000:00000000000000000000000000000000:7BD966D53AD8C1BB85D2ADFAE87BB104:1
272
273 # AES 256 CBC tests (from NIST test vectors, encrypt)
274
275 #AES-256-CBC:0000000000000000000000000000000000000000000000000000000000000000:00000000000000000000000000000000:00000000000000000000000000000000:FE3C53653E2F45B56FCD88B2CC898FF0:1
276
277 # AES 128 CBC tests (from NIST test vectors, decrypt)
278
279 #AES-128-CBC:00000000000000000000000000000000:00000000000000000000000000000000:FACA37E0B0C85373DF706E73F7C9AF86:00000000000000000000000000000000:0
280
281 # AES tests from NIST document SP800-38A
282 # For all ECB encrypts and decrypts, the transformed sequence is
283 #   AES-bits-ECB:key::plaintext:ciphertext:encdec
284 # ECB-AES128.Encrypt and ECB-AES128.Decrypt
285 Cipher = AES-128-ECB
286 Key = 2B7E151628AED2A6ABF7158809CF4F3C
287 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
288 Ciphertext = 3AD77BB40D7A3660A89ECAF32466EF97
289
290 Cipher = AES-128-ECB
291 Key = 2B7E151628AED2A6ABF7158809CF4F3C
292 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
293 Ciphertext = F5D3D58503B9699DE785895A96FDBAAF
294
295 Cipher = AES-128-ECB
296 Key = 2B7E151628AED2A6ABF7158809CF4F3C
297 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
298 Ciphertext = 43B1CD7F598ECE23881B00E3ED030688
299
300 Cipher = AES-128-ECB
301 Key = 2B7E151628AED2A6ABF7158809CF4F3C
302 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
303 Ciphertext = 7B0C785E27E8AD3F8223207104725DD4
304
305 # ECB-AES192.Encrypt and ECB-AES192.Decrypt
306 Cipher = AES-192-ECB
307 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
308 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
309 Ciphertext = BD334F1D6E45F25FF712A214571FA5CC
310
311 Cipher = AES-192-ECB
312 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
313 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
314 Ciphertext = 974104846D0AD3AD7734ECB3ECEE4EEF
315
316 Cipher = AES-192-ECB
317 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
318 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
319 Ciphertext = EF7AFD2270E2E60ADCE0BA2FACE6444E
320
321 Cipher = AES-192-ECB
322 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
323 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
324 Ciphertext = 9A4B41BA738D6C72FB16691603C18E0E
325
326 # ECB-AES256.Encrypt and ECB-AES256.Decrypt
327 Cipher = AES-256-ECB
328 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
329 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
330 Ciphertext = F3EED1BDB5D2A03C064B5A7E3DB181F8
331
332 Cipher = AES-256-ECB
333 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
334 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
335 Ciphertext = 591CCB10D410ED26DC5BA74A31362870
336
337 Cipher = AES-256-ECB
338 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
339 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
340 Ciphertext = B6ED21B99CA6F4F9F153E7B1BEAFED1D
341
342 Cipher = AES-256-ECB
343 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
344 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
345 Ciphertext = 23304B7A39F9F3FF067D8D8F9E24ECC7
346
347 # For all CBC encrypts and decrypts, the transformed sequence is
348 #   AES-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
349 # CBC-AES128.Encrypt and CBC-AES128.Decrypt
350 Cipher = AES-128-CBC
351 Key = 2B7E151628AED2A6ABF7158809CF4F3C
352 IV = 000102030405060708090A0B0C0D0E0F
353 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
354 Ciphertext = 7649ABAC8119B246CEE98E9B12E9197D
355
356 Cipher = AES-128-CBC
357 Key = 2B7E151628AED2A6ABF7158809CF4F3C
358 IV = 7649ABAC8119B246CEE98E9B12E9197D
359 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
360 Ciphertext = 5086CB9B507219EE95DB113A917678B2
361
362 Cipher = AES-128-CBC
363 Key = 2B7E151628AED2A6ABF7158809CF4F3C
364 IV = 5086CB9B507219EE95DB113A917678B2
365 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
366 Ciphertext = 73BED6B8E3C1743B7116E69E22229516
367
368 Cipher = AES-128-CBC
369 Key = 2B7E151628AED2A6ABF7158809CF4F3C
370 IV = 73BED6B8E3C1743B7116E69E22229516
371 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
372 Ciphertext = 3FF1CAA1681FAC09120ECA307586E1A7
373
374 # CBC-AES192.Encrypt and CBC-AES192.Decrypt
375 Cipher = AES-192-CBC
376 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
377 IV = 000102030405060708090A0B0C0D0E0F
378 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
379 Ciphertext = 4F021DB243BC633D7178183A9FA071E8
380
381 Cipher = AES-192-CBC
382 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
383 IV = 4F021DB243BC633D7178183A9FA071E8
384 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
385 Ciphertext = B4D9ADA9AD7DEDF4E5E738763F69145A
386
387 Cipher = AES-192-CBC
388 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
389 IV = B4D9ADA9AD7DEDF4E5E738763F69145A
390 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
391 Ciphertext = 571B242012FB7AE07FA9BAAC3DF102E0
392
393 Cipher = AES-192-CBC
394 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
395 IV = 571B242012FB7AE07FA9BAAC3DF102E0
396 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
397 Ciphertext = 08B0E27988598881D920A9E64F5615CD
398
399 # CBC-AES256.Encrypt and CBC-AES256.Decrypt
400 Cipher = AES-256-CBC
401 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
402 IV = 000102030405060708090A0B0C0D0E0F
403 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
404 Ciphertext = F58C4C04D6E5F1BA779EABFB5F7BFBD6
405
406 Cipher = AES-256-CBC
407 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
408 IV = F58C4C04D6E5F1BA779EABFB5F7BFBD6
409 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
410 Ciphertext = 9CFC4E967EDB808D679F777BC6702C7D
411
412 Cipher = AES-256-CBC
413 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
414 IV = 9CFC4E967EDB808D679F777BC6702C7D
415 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
416 Ciphertext = 39F23369A9D9BACFA530E26304231461
417
418 Cipher = AES-256-CBC
419 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
420 IV = 39F23369A9D9BACFA530E26304231461
421 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
422 Ciphertext = B2EB05E2C39BE9FCDA6C19078C6A9D1B
423
424 # We don't support CFB{1,8}-AESxxx.{En,De}crypt
425 # For all CFB128 encrypts and decrypts, the transformed sequence is
426 #   AES-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
427 # CFB128-AES128.Encrypt
428 Cipher = AES-128-CFB
429 Key = 2B7E151628AED2A6ABF7158809CF4F3C
430 IV = 000102030405060708090A0B0C0D0E0F
431 Operation = ENCRYPT
432 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
433 Ciphertext = 3B3FD92EB72DAD20333449F8E83CFB4A
434
435 Cipher = AES-128-CFB
436 Key = 2B7E151628AED2A6ABF7158809CF4F3C
437 IV = 3B3FD92EB72DAD20333449F8E83CFB4A
438 Operation = ENCRYPT
439 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
440 Ciphertext = C8A64537A0B3A93FCDE3CDAD9F1CE58B
441
442 Cipher = AES-128-CFB
443 Key = 2B7E151628AED2A6ABF7158809CF4F3C
444 IV = C8A64537A0B3A93FCDE3CDAD9F1CE58B
445 Operation = ENCRYPT
446 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
447 Ciphertext = 26751F67A3CBB140B1808CF187A4F4DF
448
449 Cipher = AES-128-CFB
450 Key = 2B7E151628AED2A6ABF7158809CF4F3C
451 IV = 26751F67A3CBB140B1808CF187A4F4DF
452 Operation = ENCRYPT
453 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
454 Ciphertext = C04B05357C5D1C0EEAC4C66F9FF7F2E6
455
456 # CFB128-AES128.Decrypt
457 Cipher = AES-128-CFB
458 Key = 2B7E151628AED2A6ABF7158809CF4F3C
459 IV = 000102030405060708090A0B0C0D0E0F
460 Operation = DECRYPT
461 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
462 Ciphertext = 3B3FD92EB72DAD20333449F8E83CFB4A
463
464 Cipher = AES-128-CFB
465 Key = 2B7E151628AED2A6ABF7158809CF4F3C
466 IV = 3B3FD92EB72DAD20333449F8E83CFB4A
467 Operation = DECRYPT
468 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
469 Ciphertext = C8A64537A0B3A93FCDE3CDAD9F1CE58B
470
471 Cipher = AES-128-CFB
472 Key = 2B7E151628AED2A6ABF7158809CF4F3C
473 IV = C8A64537A0B3A93FCDE3CDAD9F1CE58B
474 Operation = DECRYPT
475 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
476 Ciphertext = 26751F67A3CBB140B1808CF187A4F4DF
477
478 Cipher = AES-128-CFB
479 Key = 2B7E151628AED2A6ABF7158809CF4F3C
480 IV = 26751F67A3CBB140B1808CF187A4F4DF
481 Operation = DECRYPT
482 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
483 Ciphertext = C04B05357C5D1C0EEAC4C66F9FF7F2E6
484
485 # CFB128-AES192.Encrypt
486 Cipher = AES-192-CFB
487 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
488 IV = 000102030405060708090A0B0C0D0E0F
489 Operation = ENCRYPT
490 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
491 Ciphertext = CDC80D6FDDF18CAB34C25909C99A4174
492
493 Cipher = AES-192-CFB
494 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
495 IV = CDC80D6FDDF18CAB34C25909C99A4174
496 Operation = ENCRYPT
497 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
498 Ciphertext = 67CE7F7F81173621961A2B70171D3D7A
499
500 Cipher = AES-192-CFB
501 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
502 IV = 67CE7F7F81173621961A2B70171D3D7A
503 Operation = ENCRYPT
504 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
505 Ciphertext = 2E1E8A1DD59B88B1C8E60FED1EFAC4C9
506
507 Cipher = AES-192-CFB
508 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
509 IV = 2E1E8A1DD59B88B1C8E60FED1EFAC4C9
510 Operation = ENCRYPT
511 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
512 Ciphertext = C05F9F9CA9834FA042AE8FBA584B09FF
513
514 # CFB128-AES192.Decrypt
515 Cipher = AES-192-CFB
516 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
517 IV = 000102030405060708090A0B0C0D0E0F
518 Operation = DECRYPT
519 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
520 Ciphertext = CDC80D6FDDF18CAB34C25909C99A4174
521
522 Cipher = AES-192-CFB
523 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
524 IV = CDC80D6FDDF18CAB34C25909C99A4174
525 Operation = DECRYPT
526 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
527 Ciphertext = 67CE7F7F81173621961A2B70171D3D7A
528
529 Cipher = AES-192-CFB
530 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
531 IV = 67CE7F7F81173621961A2B70171D3D7A
532 Operation = DECRYPT
533 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
534 Ciphertext = 2E1E8A1DD59B88B1C8E60FED1EFAC4C9
535
536 Cipher = AES-192-CFB
537 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
538 IV = 2E1E8A1DD59B88B1C8E60FED1EFAC4C9
539 Operation = DECRYPT
540 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
541 Ciphertext = C05F9F9CA9834FA042AE8FBA584B09FF
542
543 # CFB128-AES256.Encrypt
544 Cipher = AES-256-CFB
545 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
546 IV = 000102030405060708090A0B0C0D0E0F
547 Operation = ENCRYPT
548 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
549 Ciphertext = DC7E84BFDA79164B7ECD8486985D3860
550
551 Cipher = AES-256-CFB
552 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
553 IV = DC7E84BFDA79164B7ECD8486985D3860
554 Operation = ENCRYPT
555 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
556 Ciphertext = 39FFED143B28B1C832113C6331E5407B
557
558 Cipher = AES-256-CFB
559 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
560 IV = 39FFED143B28B1C832113C6331E5407B
561 Operation = ENCRYPT
562 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
563 Ciphertext = DF10132415E54B92A13ED0A8267AE2F9
564
565 Cipher = AES-256-CFB
566 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
567 IV = DF10132415E54B92A13ED0A8267AE2F9
568 Operation = ENCRYPT
569 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
570 Ciphertext = 75A385741AB9CEF82031623D55B1E471
571
572 # CFB128-AES256.Decrypt
573 Cipher = AES-256-CFB
574 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
575 IV = 000102030405060708090A0B0C0D0E0F
576 Operation = DECRYPT
577 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
578 Ciphertext = DC7E84BFDA79164B7ECD8486985D3860
579
580 Cipher = AES-256-CFB
581 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
582 IV = DC7E84BFDA79164B7ECD8486985D3860
583 Operation = DECRYPT
584 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
585 Ciphertext = 39FFED143B28B1C832113C6331E5407B
586
587 Cipher = AES-256-CFB
588 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
589 IV = 39FFED143B28B1C832113C6331E5407B
590 Operation = DECRYPT
591 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
592 Ciphertext = DF10132415E54B92A13ED0A8267AE2F9
593
594 Cipher = AES-256-CFB
595 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
596 IV = DF10132415E54B92A13ED0A8267AE2F9
597 Operation = DECRYPT
598 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
599 Ciphertext = 75A385741AB9CEF82031623D55B1E471
600
601 # For all OFB encrypts and decrypts, the transformed sequence is
602 #   AES-bits-CFB:key:IV/output':plaintext:ciphertext:encdec
603 # OFB-AES128.Encrypt
604 Cipher = AES-128-OFB
605 Key = 2B7E151628AED2A6ABF7158809CF4F3C
606 IV = 000102030405060708090A0B0C0D0E0F
607 Operation = ENCRYPT
608 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
609 Ciphertext = 3B3FD92EB72DAD20333449F8E83CFB4A
610
611 Cipher = AES-128-OFB
612 Key = 2B7E151628AED2A6ABF7158809CF4F3C
613 IV = 50FE67CC996D32B6DA0937E99BAFEC60
614 Operation = ENCRYPT
615 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
616 Ciphertext = 7789508D16918F03F53C52DAC54ED825
617
618 Cipher = AES-128-OFB
619 Key = 2B7E151628AED2A6ABF7158809CF4F3C
620 IV = D9A4DADA0892239F6B8B3D7680E15674
621 Operation = ENCRYPT
622 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
623 Ciphertext = 9740051E9C5FECF64344F7A82260EDCC
624
625 Cipher = AES-128-OFB
626 Key = 2B7E151628AED2A6ABF7158809CF4F3C
627 IV = A78819583F0308E7A6BF36B1386ABF23
628 Operation = ENCRYPT
629 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
630 Ciphertext = 304C6528F659C77866A510D9C1D6AE5E
631
632 # OFB-AES128.Decrypt
633 Cipher = AES-128-OFB
634 Key = 2B7E151628AED2A6ABF7158809CF4F3C
635 IV = 000102030405060708090A0B0C0D0E0F
636 Operation = DECRYPT
637 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
638 Ciphertext = 3B3FD92EB72DAD20333449F8E83CFB4A
639
640 Cipher = AES-128-OFB
641 Key = 2B7E151628AED2A6ABF7158809CF4F3C
642 IV = 50FE67CC996D32B6DA0937E99BAFEC60
643 Operation = DECRYPT
644 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
645 Ciphertext = 7789508D16918F03F53C52DAC54ED825
646
647 Cipher = AES-128-OFB
648 Key = 2B7E151628AED2A6ABF7158809CF4F3C
649 IV = D9A4DADA0892239F6B8B3D7680E15674
650 Operation = DECRYPT
651 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
652 Ciphertext = 9740051E9C5FECF64344F7A82260EDCC
653
654 Cipher = AES-128-OFB
655 Key = 2B7E151628AED2A6ABF7158809CF4F3C
656 IV = A78819583F0308E7A6BF36B1386ABF23
657 Operation = DECRYPT
658 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
659 Ciphertext = 304C6528F659C77866A510D9C1D6AE5E
660
661 # OFB-AES192.Encrypt
662 Cipher = AES-192-OFB
663 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
664 IV = 000102030405060708090A0B0C0D0E0F
665 Operation = ENCRYPT
666 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
667 Ciphertext = CDC80D6FDDF18CAB34C25909C99A4174
668
669 Cipher = AES-192-OFB
670 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
671 IV = A609B38DF3B1133DDDFF2718BA09565E
672 Operation = ENCRYPT
673 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
674 Ciphertext = FCC28B8D4C63837C09E81700C1100401
675
676 Cipher = AES-192-OFB
677 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
678 IV = 52EF01DA52602FE0975F78AC84BF8A50
679 Operation = ENCRYPT
680 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
681 Ciphertext = 8D9A9AEAC0F6596F559C6D4DAF59A5F2
682
683 Cipher = AES-192-OFB
684 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
685 IV = BD5286AC63AABD7EB067AC54B553F71D
686 Operation = ENCRYPT
687 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
688 Ciphertext = 6D9F200857CA6C3E9CAC524BD9ACC92A
689
690 # OFB-AES192.Decrypt
691 Cipher = AES-192-OFB
692 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
693 IV = 000102030405060708090A0B0C0D0E0F
694 Operation = ENCRYPT
695 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
696 Ciphertext = CDC80D6FDDF18CAB34C25909C99A4174
697
698 Cipher = AES-192-OFB
699 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
700 IV = A609B38DF3B1133DDDFF2718BA09565E
701 Operation = ENCRYPT
702 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
703 Ciphertext = FCC28B8D4C63837C09E81700C1100401
704
705 Cipher = AES-192-OFB
706 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
707 IV = 52EF01DA52602FE0975F78AC84BF8A50
708 Operation = ENCRYPT
709 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
710 Ciphertext = 8D9A9AEAC0F6596F559C6D4DAF59A5F2
711
712 Cipher = AES-192-OFB
713 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
714 IV = BD5286AC63AABD7EB067AC54B553F71D
715 Operation = ENCRYPT
716 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
717 Ciphertext = 6D9F200857CA6C3E9CAC524BD9ACC92A
718
719 # OFB-AES256.Encrypt
720 Cipher = AES-256-OFB
721 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
722 IV = 000102030405060708090A0B0C0D0E0F
723 Operation = ENCRYPT
724 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
725 Ciphertext = DC7E84BFDA79164B7ECD8486985D3860
726
727 Cipher = AES-256-OFB
728 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
729 IV = B7BF3A5DF43989DD97F0FA97EBCE2F4A
730 Operation = ENCRYPT
731 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
732 Ciphertext = 4FEBDC6740D20B3AC88F6AD82A4FB08D
733
734 Cipher = AES-256-OFB
735 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
736 IV = E1C656305ED1A7A6563805746FE03EDC
737 Operation = ENCRYPT
738 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
739 Ciphertext = 71AB47A086E86EEDF39D1C5BBA97C408
740
741 Cipher = AES-256-OFB
742 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
743 IV = 41635BE625B48AFC1666DD42A09D96E7
744 Operation = ENCRYPT
745 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
746 Ciphertext = 0126141D67F37BE8538F5A8BE740E484
747
748 # OFB-AES256.Decrypt
749 Cipher = AES-256-OFB
750 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
751 IV = 000102030405060708090A0B0C0D0E0F
752 Operation = DECRYPT
753 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
754 Ciphertext = DC7E84BFDA79164B7ECD8486985D3860
755
756 Cipher = AES-256-OFB
757 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
758 IV = B7BF3A5DF43989DD97F0FA97EBCE2F4A
759 Operation = DECRYPT
760 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
761 Ciphertext = 4FEBDC6740D20B3AC88F6AD82A4FB08D
762
763 Cipher = AES-256-OFB
764 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
765 IV = E1C656305ED1A7A6563805746FE03EDC
766 Operation = DECRYPT
767 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
768 Ciphertext = 71AB47A086E86EEDF39D1C5BBA97C408
769
770 Cipher = AES-256-OFB
771 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
772 IV = 41635BE625B48AFC1666DD42A09D96E7
773 Operation = DECRYPT
774 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
775 Ciphertext = 0126141D67F37BE8538F5A8BE740E484
776
777
778 # AES Counter test vectors from RFC3686
779 Cipher = aes-128-ctr
780 Key = AE6852F8121067CC4BF7A5765577F39E
781 IV = 00000030000000000000000000000001
782 Operation = ENCRYPT
783 Plaintext = 53696E676C6520626C6F636B206D7367
784 Ciphertext = E4095D4FB7A7B3792D6175A3261311B8
785
786 Cipher = aes-128-ctr
787 Key = 7E24067817FAE0D743D6CE1F32539163
788 IV = 006CB6DBC0543B59DA48D90B00000001
789 Operation = ENCRYPT
790 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
791 Ciphertext = 5104A106168A72D9790D41EE8EDAD388EB2E1EFC46DA57C8FCE630DF9141BE28
792
793 Cipher = aes-128-ctr
794 Key = 7691BE035E5020A8AC6E618529F9A0DC
795 IV = 00E0017B27777F3F4A1786F000000001
796 Operation = ENCRYPT
797 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
798 Ciphertext = C1CF48A89F2FFDD9CF4652E9EFDB72D74540A42BDE6D7836D59A5CEAAEF3105325B2072F
799
800
801 Cipher = aes-192-ctr
802 Key = 16AF5B145FC9F579C175F93E3BFB0EED863D06CCFDB78515
803 IV = 0000004836733C147D6D93CB00000001
804 Operation = ENCRYPT
805 Plaintext = 53696E676C6520626C6F636B206D7367
806 Ciphertext = 4B55384FE259C9C84E7935A003CBE928
807
808 Cipher = aes-192-ctr
809 Key = 7C5CB2401B3DC33C19E7340819E0F69C678C3DB8E6F6A91A
810 IV = 0096B03B020C6EADC2CB500D00000001
811 Operation = ENCRYPT
812 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
813 Ciphertext = 453243FC609B23327EDFAAFA7131CD9F8490701C5AD4A79CFC1FE0FF42F4FB00
814
815 Cipher = aes-192-ctr
816 Key = 02BF391EE8ECB159B959617B0965279BF59B60A786D3E0FE
817 IV = 0007BDFD5CBD60278DCC091200000001
818 Operation = ENCRYPT
819 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
820 Ciphertext = 96893FC55E5C722F540B7DD1DDF7E758D288BC95C69165884536C811662F2188ABEE0935
821
822
823 Cipher = aes-256-ctr
824 Key = 776BEFF2851DB06F4C8A0542C8696F6C6A81AF1EEC96B4D37FC1D689E6C1C104
825 IV = 00000060DB5672C97AA8F0B200000001
826 Operation = ENCRYPT
827 Plaintext = 53696E676C6520626C6F636B206D7367
828 Ciphertext = 145AD01DBF824EC7560863DC71E3E0C0
829
830 Cipher = aes-256-ctr
831 Key = F6D66D6BD52D59BB0796365879EFF886C66DD51A5B6A99744B50590C87A23884
832 IV = 00FAAC24C1585EF15A43D87500000001
833 Operation = ENCRYPT
834 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
835 Ciphertext = F05E231B3894612C49EE000B804EB2A9B8306B508F839D6A5530831D9344AF1C
836
837 Cipher = aes-256-ctr
838 Key = FF7A617CE69148E4F1726E2F43581DE2AA62D9F805532EDFF1EED687FB54153D
839 IV = 001CC5B751A51D70A1C1114800000001
840 Operation = ENCRYPT
841 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
842 Ciphertext = EB6C52821D0BBBF7CE7594462ACA4FAAB407DF866569FD07F48CC0B583D6071F1EC0E6B8
843
844
845 # DES ECB tests (from destest)
846
847 Cipher = DES-ECB
848 Key = 0000000000000000
849 Plaintext = 0000000000000000
850 Ciphertext = 8CA64DE9C1B123A7
851
852 Cipher = DES-ECB
853 Key = FFFFFFFFFFFFFFFF
854 Plaintext = FFFFFFFFFFFFFFFF
855 Ciphertext = 7359B2163E4EDC58
856
857 Cipher = DES-ECB
858 Key = 3000000000000000
859 Plaintext = 1000000000000001
860 Ciphertext = 958E6E627A05557B
861
862 Cipher = DES-ECB
863 Key = 1111111111111111
864 Plaintext = 1111111111111111
865 Ciphertext = F40379AB9E0EC533
866
867 Cipher = DES-ECB
868 Key = 0123456789ABCDEF
869 Plaintext = 1111111111111111
870 Ciphertext = 17668DFC7292532D
871
872 Cipher = DES-ECB
873 Key = 1111111111111111
874 Plaintext = 0123456789ABCDEF
875 Ciphertext = 8A5AE1F81AB8F2DD
876
877 Cipher = DES-ECB
878 Key = FEDCBA9876543210
879 Plaintext = 0123456789ABCDEF
880 Ciphertext = ED39D950FA74BCC4
881
882
883 # DESX-CBC tests (from destest)
884 Cipher = DESX-CBC
885 Key = 0123456789abcdeff1e0d3c2b5a49786fedcba9876543210
886 IV = fedcba9876543210
887 Plaintext = 37363534333231204E6F77206973207468652074696D6520666F722000000000
888 Ciphertext = 846B2914851E9A2954732F8AA0A611C115CDC2D7951B1053A63C5E03B21AA3C4
889
890
891 # DES EDE3 CBC tests (from destest)
892 Cipher = DES-EDE3-CBC
893 Key = 0123456789abcdeff1e0d3c2b5a49786fedcba9876543210
894 IV = fedcba9876543210
895 Plaintext = 37363534333231204E6F77206973207468652074696D6520666F722000000000
896 Ciphertext = 3FE301C962AC01D02213763C1CBD4CDC799657C064ECF5D41C673812CFDE9675
897
898
899 # RC4 tests (from rc4test)
900 Cipher = RC4
901 Key = 0123456789abcdef0123456789abcdef
902 Plaintext = 0123456789abcdef
903 Ciphertext = 75b7878099e0c596
904
905 Cipher = RC4
906 Key = 0123456789abcdef0123456789abcdef
907 Plaintext = 0000000000000000
908 Ciphertext = 7494c2e7104b0879
909
910 Cipher = RC4
911 Key = 00000000000000000000000000000000
912 Plaintext = 0000000000000000
913 Ciphertext = de188941a3375d3a
914
915 Cipher = RC4
916 Key = ef012345ef012345ef012345ef012345
917 Plaintext = 0000000000000000000000000000000000000000
918 Ciphertext = d6a141a7ec3c38dfbd615a1162e1c7ba36b67858
919
920 Cipher = RC4
921 Key = 0123456789abcdef0123456789abcdef
922 Plaintext = 123456789ABCDEF0123456789ABCDEF0123456789ABCDEF012345678
923 Ciphertext = 66a0949f8af7d6891f7f832ba833c00c892ebe30143ce28740011ecf
924
925 Cipher = RC4
926 Key = ef012345ef012345ef012345ef012345
927 Plaintext = 00000000000000000000
928 Ciphertext = d6a141a7ec3c38dfbd61
929
930
931
932 # Camellia tests from RFC3713
933 # For all ECB encrypts and decrypts, the transformed sequence is
934 #   CAMELLIA-bits-ECB:key::plaintext:ciphertext:encdec
935 Cipher = CAMELLIA-128-ECB
936 Key = 0123456789abcdeffedcba9876543210
937 Plaintext = 0123456789abcdeffedcba9876543210
938 Ciphertext = 67673138549669730857065648eabe43
939
940 Cipher = CAMELLIA-192-ECB
941 Key = 0123456789abcdeffedcba98765432100011223344556677
942 Plaintext = 0123456789abcdeffedcba9876543210
943 Ciphertext = b4993401b3e996f84ee5cee7d79b09b9
944
945 Cipher = CAMELLIA-256-ECB
946 Key = 0123456789abcdeffedcba987654321000112233445566778899aabbccddeeff
947 Plaintext = 0123456789abcdeffedcba9876543210
948 Ciphertext = 9acc237dff16d76c20ef7c919e3a7509
949
950
951 # ECB-CAMELLIA128.Encrypt
952 Cipher = CAMELLIA-128-ECB
953 Key = 000102030405060708090A0B0C0D0E0F
954 Operation = ENCRYPT
955 Plaintext = 00112233445566778899AABBCCDDEEFF
956 Ciphertext = 77CF412067AF8270613529149919546F
957
958 Cipher = CAMELLIA-192-ECB
959 Key = 000102030405060708090A0B0C0D0E0F1011121314151617
960 Operation = ENCRYPT
961 Plaintext = 00112233445566778899AABBCCDDEEFF
962 Ciphertext = B22F3C36B72D31329EEE8ADDC2906C68
963
964 Cipher = CAMELLIA-256-ECB
965 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
966 Operation = ENCRYPT
967 Plaintext = 00112233445566778899AABBCCDDEEFF
968 Ciphertext = 2EDF1F3418D53B88841FC8985FB1ECF2
969
970
971 # ECB-CAMELLIA128.Encrypt and ECB-CAMELLIA128.Decrypt
972 Cipher = CAMELLIA-128-ECB
973 Key = 2B7E151628AED2A6ABF7158809CF4F3C
974 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
975 Ciphertext = 432FC5DCD628115B7C388D770B270C96
976
977 Cipher = CAMELLIA-128-ECB
978 Key = 2B7E151628AED2A6ABF7158809CF4F3C
979 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
980 Ciphertext = 0BE1F14023782A22E8384C5ABB7FAB2B
981
982 Cipher = CAMELLIA-128-ECB
983 Key = 2B7E151628AED2A6ABF7158809CF4F3C
984 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
985 Ciphertext = A0A1ABCD1893AB6FE0FE5B65DF5F8636
986
987 Cipher = CAMELLIA-128-ECB
988 Key = 2B7E151628AED2A6ABF7158809CF4F3C
989 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
990 Ciphertext = E61925E0D5DFAA9BB29F815B3076E51A
991
992
993 # ECB-CAMELLIA192.Encrypt and ECB-CAMELLIA192.Decrypt
994 Cipher = CAMELLIA-192-ECB
995 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
996 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
997 Ciphertext = CCCC6C4E138B45848514D48D0D3439D3
998
999 Cipher = CAMELLIA-192-ECB
1000 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1001 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1002 Ciphertext = 5713C62C14B2EC0F8393B6AFD6F5785A
1003
1004 Cipher = CAMELLIA-192-ECB
1005 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1006 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1007 Ciphertext = B40ED2B60EB54D09D030CF511FEEF366
1008
1009 Cipher = CAMELLIA-192-ECB
1010 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1011 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1012 Ciphertext = 909DBD95799096748CB27357E73E1D26
1013
1014
1015 # ECB-CAMELLIA256.Encrypt and ECB-CAMELLIA256.Decrypt
1016 Cipher = CAMELLIA-256-ECB
1017 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1018 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1019 Ciphertext = BEFD219B112FA00098919CD101C9CCFA
1020
1021 Cipher = CAMELLIA-256-ECB
1022 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1023 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1024 Ciphertext = C91D3A8F1AEA08A9386CF4B66C0169EA
1025
1026 Cipher = CAMELLIA-256-ECB
1027 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1028 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1029 Ciphertext = A623D711DC5F25A51BB8A80D56397D28
1030
1031 Cipher = CAMELLIA-256-ECB
1032 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1033 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1034 Ciphertext = 7960109FB6DC42947FCFE59EA3C5EB6B
1035
1036
1037 # For all CBC encrypts and decrypts, the transformed sequence is
1038 #   CAMELLIA-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
1039 # CBC-CAMELLIA128.Encrypt and CBC-CAMELLIA128.Decrypt
1040 Cipher = CAMELLIA-128-CBC
1041 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1042 IV = 000102030405060708090A0B0C0D0E0F
1043 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1044 Ciphertext = 1607CF494B36BBF00DAEB0B503C831AB
1045
1046 Cipher = CAMELLIA-128-CBC
1047 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1048 IV = 1607CF494B36BBF00DAEB0B503C831AB
1049 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1050 Ciphertext = A2F2CF671629EF7840C5A5DFB5074887
1051
1052 Cipher = CAMELLIA-128-CBC
1053 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1054 IV = A2F2CF671629EF7840C5A5DFB5074887
1055 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1056 Ciphertext = 0F06165008CF8B8B5A63586362543E54
1057
1058 Cipher = CAMELLIA-128-CBC
1059 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1060 IV = 36A84CDAFD5F9A85ADA0F0A993D6D577
1061 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1062 Ciphertext = 74C64268CDB8B8FAF5B34E8AF3732980
1063
1064
1065 # CBC-CAMELLIA192.Encrypt and CBC-CAMELLIA192.Decrypt
1066 Cipher = CAMELLIA-192-CBC
1067 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1068 IV = 000102030405060708090A0B0C0D0E0F
1069 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1070 Ciphertext = 2A4830AB5AC4A1A2405955FD2195CF93
1071
1072 Cipher = CAMELLIA-192-CBC
1073 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1074 IV = 2A4830AB5AC4A1A2405955FD2195CF93
1075 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1076 Ciphertext = 5D5A869BD14CE54264F892A6DD2EC3D5
1077
1078 Cipher = CAMELLIA-192-CBC
1079 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1080 IV = 5D5A869BD14CE54264F892A6DD2EC3D5
1081 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1082 Ciphertext = 37D359C3349836D884E310ADDF68C449
1083
1084 Cipher = CAMELLIA-192-CBC
1085 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1086 IV = 37D359C3349836D884E310ADDF68C449
1087 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1088 Ciphertext = 01FAAA930B4AB9916E9668E1428C6B08
1089
1090
1091 # CBC-CAMELLIA256.Encrypt and CBC-CAMELLIA256.Decrypt
1092 Cipher = CAMELLIA-256-CBC
1093 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1094 IV = 000102030405060708090A0B0C0D0E0F
1095 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1096 Ciphertext = E6CFA35FC02B134A4D2C0B6737AC3EDA
1097
1098 Cipher = CAMELLIA-256-CBC
1099 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1100 IV = E6CFA35FC02B134A4D2C0B6737AC3EDA
1101 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1102 Ciphertext = 36CBEB73BD504B4070B1B7DE2B21EB50
1103
1104 Cipher = CAMELLIA-256-CBC
1105 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1106 IV = 36CBEB73BD504B4070B1B7DE2B21EB50
1107 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1108 Ciphertext = E31A6055297D96CA3330CDF1B1860A83
1109
1110 Cipher = CAMELLIA-256-CBC
1111 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1112 IV = E31A6055297D96CA3330CDF1B1860A83
1113 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1114 Ciphertext = 5D563F6D1CCCF236051C0C5C1C58F28F
1115
1116
1117 # We don't support CFB{1,8}-CAMELLIAxxx.{En,De}crypt
1118 # For all CFB128 encrypts and decrypts, the transformed sequence is
1119 #   CAMELLIA-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
1120 # CFB128-CAMELLIA128.Encrypt
1121 Cipher = CAMELLIA-128-CFB
1122 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1123 IV = 000102030405060708090A0B0C0D0E0F
1124 Operation = ENCRYPT
1125 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1126 Ciphertext = 14F7646187817EB586599146B82BD719
1127
1128 Cipher = CAMELLIA-128-CFB
1129 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1130 IV = 14F7646187817EB586599146B82BD719
1131 Operation = ENCRYPT
1132 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1133 Ciphertext = A53D28BB82DF741103EA4F921A44880B
1134
1135 Cipher = CAMELLIA-128-CFB
1136 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1137 IV = A53D28BB82DF741103EA4F921A44880B
1138 Operation = ENCRYPT
1139 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1140 Ciphertext = 9C2157A664626D1DEF9EA420FDE69B96
1141
1142 Cipher = CAMELLIA-128-CFB
1143 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1144 IV = 9C2157A664626D1DEF9EA420FDE69B96
1145 Operation = ENCRYPT
1146 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1147 Ciphertext = 742A25F0542340C7BAEF24CA8482BB09
1148
1149
1150 # CFB128-CAMELLIA128.Decrypt
1151 Cipher = CAMELLIA-128-CFB
1152 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1153 IV = 000102030405060708090A0B0C0D0E0F
1154 Operation = DECRYPT
1155 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1156 Ciphertext = 14F7646187817EB586599146B82BD719
1157
1158 Cipher = CAMELLIA-128-CFB
1159 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1160 IV = 14F7646187817EB586599146B82BD719
1161 Operation = DECRYPT
1162 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1163 Ciphertext = A53D28BB82DF741103EA4F921A44880B
1164
1165 Cipher = CAMELLIA-128-CFB
1166 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1167 IV = A53D28BB82DF741103EA4F921A44880B
1168 Operation = DECRYPT
1169 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1170 Ciphertext = 9C2157A664626D1DEF9EA420FDE69B96
1171
1172 Cipher = CAMELLIA-128-CFB
1173 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1174 IV = 9C2157A664626D1DEF9EA420FDE69B96
1175 Operation = DECRYPT
1176 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1177 Ciphertext = 742A25F0542340C7BAEF24CA8482BB09
1178
1179
1180 # CFB128-CAMELLIA192.Encrypt
1181 Cipher = CAMELLIA-192-CFB
1182 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1183 IV = 000102030405060708090A0B0C0D0E0F
1184 Operation = ENCRYPT
1185 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1186 Ciphertext = C832BB9780677DAA82D9B6860DCD565E
1187
1188 Cipher = CAMELLIA-192-CFB
1189 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1190 IV = C832BB9780677DAA82D9B6860DCD565E
1191 Operation = ENCRYPT
1192 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1193 Ciphertext = 86F8491627906D780C7A6D46EA331F98
1194
1195 Cipher = CAMELLIA-192-CFB
1196 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1197 IV = 86F8491627906D780C7A6D46EA331F98
1198 Operation = ENCRYPT
1199 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1200 Ciphertext = 69511CCE594CF710CB98BB63D7221F01
1201
1202 Cipher = CAMELLIA-192-CFB
1203 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1204 IV = 69511CCE594CF710CB98BB63D7221F01
1205 Operation = ENCRYPT
1206 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1207 Ciphertext = D5B5378A3ABED55803F25565D8907B84
1208
1209
1210 # CFB128-CAMELLIA192.Decrypt
1211 Cipher = CAMELLIA-192-CFB
1212 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1213 IV = 000102030405060708090A0B0C0D0E0F
1214 Operation = DECRYPT
1215 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1216 Ciphertext = C832BB9780677DAA82D9B6860DCD565E
1217
1218 Cipher = CAMELLIA-192-CFB
1219 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1220 IV = C832BB9780677DAA82D9B6860DCD565E
1221 Operation = DECRYPT
1222 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1223 Ciphertext = 86F8491627906D780C7A6D46EA331F98
1224
1225 Cipher = CAMELLIA-192-CFB
1226 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1227 IV = 86F8491627906D780C7A6D46EA331F98
1228 Operation = DECRYPT
1229 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1230 Ciphertext = 69511CCE594CF710CB98BB63D7221F01
1231
1232 Cipher = CAMELLIA-192-CFB
1233 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1234 IV = 69511CCE594CF710CB98BB63D7221F01
1235 Operation = DECRYPT
1236 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1237 Ciphertext = D5B5378A3ABED55803F25565D8907B84
1238
1239
1240 # CFB128-CAMELLIA256.Encrypt
1241 Cipher = CAMELLIA-256-CFB
1242 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1243 IV = 000102030405060708090A0B0C0D0E0F
1244 Operation = ENCRYPT
1245 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1246 Ciphertext = CF6107BB0CEA7D7FB1BD31F5E7B06C93
1247
1248 Cipher = CAMELLIA-256-CFB
1249 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1250 IV = CF6107BB0CEA7D7FB1BD31F5E7B06C93
1251 Operation = ENCRYPT
1252 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1253 Ciphertext = 89BEDB4CCDD864EA11BA4CBE849B5E2B
1254
1255 Cipher = CAMELLIA-256-CFB
1256 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1257 IV = 89BEDB4CCDD864EA11BA4CBE849B5E2B
1258 Operation = ENCRYPT
1259 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1260 Ciphertext = 555FC3F34BDD2D54C62D9E3BF338C1C4
1261
1262 Cipher = CAMELLIA-256-CFB
1263 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1264 IV = 555FC3F34BDD2D54C62D9E3BF338C1C4
1265 Operation = ENCRYPT
1266 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1267 Ciphertext = 5953ADCE14DB8C7F39F1BD39F359BFFA
1268
1269
1270 # CFB128-CAMELLIA256.Decrypt
1271 Cipher = CAMELLIA-256-CFB
1272 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1273 IV = 000102030405060708090A0B0C0D0E0F
1274 Operation = DECRYPT
1275 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1276 Ciphertext = CF6107BB0CEA7D7FB1BD31F5E7B06C93
1277
1278 Cipher = CAMELLIA-256-CFB
1279 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1280 IV = CF6107BB0CEA7D7FB1BD31F5E7B06C93
1281 Operation = DECRYPT
1282 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1283 Ciphertext = 89BEDB4CCDD864EA11BA4CBE849B5E2B
1284
1285 Cipher = CAMELLIA-256-CFB
1286 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1287 IV = 89BEDB4CCDD864EA11BA4CBE849B5E2B
1288 Operation = DECRYPT
1289 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1290 Ciphertext = 555FC3F34BDD2D54C62D9E3BF338C1C4
1291
1292 Cipher = CAMELLIA-256-CFB
1293 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1294 IV = 555FC3F34BDD2D54C62D9E3BF338C1C4
1295 Operation = DECRYPT
1296 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1297 Ciphertext = 5953ADCE14DB8C7F39F1BD39F359BFFA
1298
1299
1300 # For all OFB encrypts and decrypts, the transformed sequence is
1301 #   CAMELLIA-bits-OFB:key:IV/output':plaintext:ciphertext:encdec
1302 # OFB-CAMELLIA128.Encrypt
1303 Cipher = CAMELLIA-128-OFB
1304 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1305 IV = 000102030405060708090A0B0C0D0E0F
1306 Operation = ENCRYPT
1307 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1308 Ciphertext = 14F7646187817EB586599146B82BD719
1309
1310 Cipher = CAMELLIA-128-OFB
1311 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1312 IV = 50FE67CC996D32B6DA0937E99BAFEC60
1313 Operation = ENCRYPT
1314 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1315 Ciphertext = 25623DB569CA51E01482649977E28D84
1316
1317 Cipher = CAMELLIA-128-OFB
1318 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1319 IV = D9A4DADA0892239F6B8B3D7680E15674
1320 Operation = ENCRYPT
1321 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1322 Ciphertext = C776634A60729DC657D12B9FCA801E98
1323
1324 Cipher = CAMELLIA-128-OFB
1325 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1326 IV = A78819583F0308E7A6BF36B1386ABF23
1327 Operation = ENCRYPT
1328 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1329 Ciphertext = D776379BE0E50825E681DA1A4C980E8E
1330
1331
1332 # OFB-CAMELLIA128.Decrypt
1333 Cipher = CAMELLIA-128-OFB
1334 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1335 IV = 000102030405060708090A0B0C0D0E0F
1336 Operation = DECRYPT
1337 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1338 Ciphertext = 14F7646187817EB586599146B82BD719
1339
1340 Cipher = CAMELLIA-128-OFB
1341 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1342 IV = 50FE67CC996D32B6DA0937E99BAFEC60
1343 Operation = DECRYPT
1344 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1345 Ciphertext = 25623DB569CA51E01482649977E28D84
1346
1347 Cipher = CAMELLIA-128-OFB
1348 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1349 IV = D9A4DADA0892239F6B8B3D7680E15674
1350 Operation = DECRYPT
1351 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1352 Ciphertext = C776634A60729DC657D12B9FCA801E98
1353
1354 Cipher = CAMELLIA-128-OFB
1355 Key = 2B7E151628AED2A6ABF7158809CF4F3C
1356 IV = A78819583F0308E7A6BF36B1386ABF23
1357 Operation = DECRYPT
1358 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1359 Ciphertext = D776379BE0E50825E681DA1A4C980E8E
1360
1361
1362 # OFB-CAMELLIA192.Encrypt
1363 Cipher = CAMELLIA-192-OFB
1364 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1365 IV = 000102030405060708090A0B0C0D0E0F
1366 Operation = ENCRYPT
1367 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1368 Ciphertext = C832BB9780677DAA82D9B6860DCD565E
1369
1370 Cipher = CAMELLIA-192-OFB
1371 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1372 IV = A609B38DF3B1133DDDFF2718BA09565E
1373 Operation = ENCRYPT
1374 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1375 Ciphertext = 8ECEB7D0350D72C7F78562AEBDF99339
1376
1377 Cipher = CAMELLIA-192-OFB
1378 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1379 IV = 52EF01DA52602FE0975F78AC84BF8A50
1380 Operation = ENCRYPT
1381 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1382 Ciphertext = BDD62DBBB9700846C53B507F544696F0
1383
1384 Cipher = CAMELLIA-192-OFB
1385 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1386 IV = BD5286AC63AABD7EB067AC54B553F71D
1387 Operation = ENCRYPT
1388 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1389 Ciphertext = E28014E046B802F385C4C2E13EAD4A72
1390
1391
1392 # OFB-CAMELLIA192.Decrypt
1393 Cipher = CAMELLIA-192-OFB
1394 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1395 IV = 000102030405060708090A0B0C0D0E0F
1396 Operation = DECRYPT
1397 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1398 Ciphertext = C832BB9780677DAA82D9B6860DCD565E
1399
1400 Cipher = CAMELLIA-192-OFB
1401 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1402 IV = A609B38DF3B1133DDDFF2718BA09565E
1403 Operation = DECRYPT
1404 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1405 Ciphertext = 8ECEB7D0350D72C7F78562AEBDF99339
1406
1407 Cipher = CAMELLIA-192-OFB
1408 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1409 IV = 52EF01DA52602FE0975F78AC84BF8A50
1410 Operation = DECRYPT
1411 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1412 Ciphertext = BDD62DBBB9700846C53B507F544696F0
1413
1414 Cipher = CAMELLIA-192-OFB
1415 Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
1416 IV = BD5286AC63AABD7EB067AC54B553F71D
1417 Operation = DECRYPT
1418 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1419 Ciphertext = E28014E046B802F385C4C2E13EAD4A72
1420
1421
1422 # OFB-CAMELLIA256.Encrypt
1423 Cipher = CAMELLIA-256-OFB
1424 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1425 IV = 000102030405060708090A0B0C0D0E0F
1426 Operation = ENCRYPT
1427 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1428 Ciphertext = CF6107BB0CEA7D7FB1BD31F5E7B06C93
1429
1430 Cipher = CAMELLIA-256-OFB
1431 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1432 IV = B7BF3A5DF43989DD97F0FA97EBCE2F4A
1433 Operation = ENCRYPT
1434 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1435 Ciphertext = 127AD97E8E3994E4820027D7BA109368
1436
1437 Cipher = CAMELLIA-256-OFB
1438 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1439 IV = E1C656305ED1A7A6563805746FE03EDC
1440 Operation = ENCRYPT
1441 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1442 Ciphertext = 6BFF6265A6A6B7A535BC65A80B17214E
1443
1444 Cipher = CAMELLIA-256-OFB
1445 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1446 IV = 41635BE625B48AFC1666DD42A09D96E7
1447 Operation = ENCRYPT
1448 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1449 Ciphertext = 0A4A0404E26AA78A27CB271E8BF3CF20
1450
1451
1452 # OFB-CAMELLIA256.Decrypt
1453 Cipher = CAMELLIA-256-OFB
1454 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1455 IV = 000102030405060708090A0B0C0D0E0F
1456 Operation = DECRYPT
1457 Plaintext = 6BC1BEE22E409F96E93D7E117393172A
1458 Ciphertext = CF6107BB0CEA7D7FB1BD31F5E7B06C93
1459
1460 Cipher = CAMELLIA-256-OFB
1461 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1462 IV = B7BF3A5DF43989DD97F0FA97EBCE2F4A
1463 Operation = DECRYPT
1464 Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
1465 Ciphertext = 127AD97E8E3994E4820027D7BA109368
1466
1467 Cipher = CAMELLIA-256-OFB
1468 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1469 IV = E1C656305ED1A7A6563805746FE03EDC
1470 Operation = DECRYPT
1471 Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
1472 Ciphertext = 6BFF6265A6A6B7A535BC65A80B17214E
1473
1474 Cipher = CAMELLIA-256-OFB
1475 Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
1476 IV = 41635BE625B48AFC1666DD42A09D96E7
1477 Operation = DECRYPT
1478 Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
1479 Ciphertext = 0A4A0404E26AA78A27CB271E8BF3CF20
1480
1481
1482 # Camellia test vectors from RFC5528
1483 Cipher = CAMELLIA-128-CTR
1484 Key = AE6852F8121067CC4BF7A5765577F39E
1485 IV = 00000030000000000000000000000001
1486 Operation = ENCRYPT
1487 Plaintext = 53696E676C6520626C6F636B206D7367
1488 Ciphertext = D09DC29A8214619A20877C76DB1F0B3F
1489
1490 Cipher = CAMELLIA-128-CTR
1491 Key = 7E24067817FAE0D743D6CE1F32539163
1492 IV = 006CB6DBC0543B59DA48D90B00000001
1493 Operation = ENCRYPT
1494 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
1495 Ciphertext = DBF3C78DC08396D4DA7C907765BBCB442B8E8E0F31F0DCA72C7417E35360E048
1496
1497 Cipher = CAMELLIA-128-CTR
1498 Key = 7691BE035E5020A8AC6E618529F9A0DC
1499 IV = 00E0017B27777F3F4A1786F000000001
1500 Operation = ENCRYPT
1501 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
1502 Ciphertext = B19D1FCDCB75EB882F849CE24D85CF739CE64B2B5C9D73F14F2D5D9DCE9889CDDF508696
1503
1504 Cipher = CAMELLIA-192-CTR
1505 Key = 16AF5B145FC9F579C175F93E3BFB0EED863D06CCFDB78515
1506 IV = 0000004836733C147D6D93CB00000001
1507 Operation = ENCRYPT
1508 Plaintext = 53696E676C6520626C6F636B206D7367
1509 Ciphertext = 2379399E8A8D2B2B16702FC78B9E9696
1510
1511 Cipher = CAMELLIA-192-CTR
1512 Key = 7C5CB2401B3DC33C19E7340819E0F69C678C3DB8E6F6A91A
1513 IV = 0096B03B020C6EADC2CB500D00000001
1514 Operation = ENCRYPT
1515 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
1516 Ciphertext = 7DEF34F7A5D0E415674B7FFCAE67C75DD018B86FF23051E056392A99F35A4CED
1517
1518 Cipher = CAMELLIA-192-CTR
1519 Key = 02BF391EE8ECB159B959617B0965279BF59B60A786D3E0FE
1520 IV = 0007BDFD5CBD60278DCC091200000001
1521 Operation = ENCRYPT
1522 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
1523 Ciphertext = 5710E556E1487A20B5AC0E73F19E4E7876F37FDC91B1EF4D4DADE8E666A64D0ED557AB57
1524
1525 Cipher = CAMELLIA-256-CTR
1526 Key = 776BEFF2851DB06F4C8A0542C8696F6C6A81AF1EEC96B4D37FC1D689E6C1C104
1527 IV = 00000060DB5672C97AA8F0B200000001
1528 Operation = ENCRYPT
1529 Plaintext = 53696E676C6520626C6F636B206D7367
1530 Ciphertext = 3401F9C8247EFFCEBD6994714C1BBB11
1531
1532 Cipher = CAMELLIA-256-CTR
1533 Key = F6D66D6BD52D59BB0796365879EFF886C66DD51A5B6A99744B50590C87A23884
1534 IV = 00FAAC24C1585EF15A43D87500000001
1535 Operation = ENCRYPT
1536 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
1537 Ciphertext = D6C30392246F7808A83C2B22A8839E45E51CD48A1CDF406EBC9CC2D3AB834108
1538
1539 Cipher = CAMELLIA-256-CTR
1540 Key = FF7A617CE69148E4F1726E2F43581DE2AA62D9F805532EDFF1EED687FB54153D
1541 IV = 001CC5B751A51D70A1C1114800000001
1542 Operation = ENCRYPT
1543 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
1544 Ciphertext = A4DA23FCE6A5FFAA6D64AE9A0652A42CD161A34B65F9679F75C01F101F71276F15EF0D8D
1545
1546 # SEED test vectors from RFC4269
1547 Cipher = SEED-ECB
1548 Key = 00000000000000000000000000000000
1549 Operation = DECRYPT
1550 Plaintext = 000102030405060708090A0B0C0D0E0F
1551 Ciphertext = 5EBAC6E0054E166819AFF1CC6D346CDB
1552
1553 Cipher = SEED-ECB
1554 Key = 000102030405060708090A0B0C0D0E0F
1555 Operation = DECRYPT
1556 Plaintext = 00000000000000000000000000000000
1557 Ciphertext = C11F22F20140505084483597E4370F43
1558
1559 Cipher = SEED-ECB
1560 Key = 4706480851E61BE85D74BFB3FD956185
1561 Operation = DECRYPT
1562 Plaintext = 83A2F8A288641FB9A4E9A5CC2F131C7D
1563 Ciphertext = EE54D13EBCAE706D226BC3142CD40D4A
1564
1565 Cipher = SEED-ECB
1566 Key = 28DBC3BC49FFD87DCFA509B11D422BE7
1567 Operation = DECRYPT
1568 Plaintext = B41E6BE2EBA84A148E2EED84593C5EC7
1569 Ciphertext = 9B9B7BFCD1813CB95D0B3618F40F5122
1570
1571 Cipher = SEED-ECB
1572 Key = 00000000000000000000000000000000
1573 Operation = ENCRYPT
1574 Plaintext = 000102030405060708090A0B0C0D0E0F
1575 Ciphertext = 5EBAC6E0054E166819AFF1CC6D346CDB
1576
1577 Cipher = SEED-ECB
1578 Key = 000102030405060708090A0B0C0D0E0F
1579 Operation = ENCRYPT
1580 Plaintext = 00000000000000000000000000000000
1581 Ciphertext = C11F22F20140505084483597E4370F43
1582
1583 Cipher = SEED-ECB
1584 Key = 4706480851E61BE85D74BFB3FD956185
1585 Operation = ENCRYPT
1586 Plaintext = 83A2F8A288641FB9A4E9A5CC2F131C7D
1587 Ciphertext = EE54D13EBCAE706D226BC3142CD40D4A
1588
1589 Cipher = SEED-ECB
1590 Key = 28DBC3BC49FFD87DCFA509B11D422BE7
1591 Operation = ENCRYPT
1592 Plaintext = B41E6BE2EBA84A148E2EED84593C5EC7
1593 Ciphertext = 9B9B7BFCD1813CB95D0B3618F40F5122
1594
1595
1596 # AES CCM 256 bit key
1597 Cipher = aes-256-ccm
1598 Key = 1bde3251d41a8b5ea013c195ae128b218b3e0306376357077ef1c1c78548b92e
1599 IV = 5b8e40746f6b98e00f1d13ff41
1600 AAD = c17a32514eb6103f3249e076d4c871dc97e04b286699e54491dc18f6d734d4c0
1601 Tag = 2024931d73bca480c24a24ece6b6c2bf
1602 Plaintext = 53bd72a97089e312422bf72e242377b3c6ee3e2075389b999c4ef7f28bd2b80a
1603 Ciphertext = 9a5fcccdb4cf04e7293d2775cc76a488f042382d949b43b7d6bb2b9864786726
1604
1605
1606 # AES GCM test vectors from http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf
1607 Cipher = aes-128-gcm
1608 Key = 00000000000000000000000000000000
1609 IV = 000000000000000000000000
1610 AAD =
1611 Tag = 58e2fccefa7e3061367f1d57a4e7455a
1612 Plaintext =
1613 Ciphertext =
1614
1615 Cipher = aes-128-gcm
1616 Key = 00000000000000000000000000000000
1617 IV = 000000000000000000000000
1618 AAD =
1619 Tag = ab6e47d42cec13bdf53a67b21257bddf
1620 Plaintext = 00000000000000000000000000000000
1621 Ciphertext = 0388dace60b6a392f328c2b971b2fe78
1622
1623 Cipher = aes-128-gcm
1624 Key = feffe9928665731c6d6a8f9467308308
1625 IV = cafebabefacedbaddecaf888
1626 AAD =
1627 Tag = 4d5c2af327cd64a62cf35abd2ba6fab4
1628 Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b391aafd255
1629 Ciphertext = 42831ec2217774244b7221b784d0d49ce3aa212f2c02a4e035c17e2329aca12e21d514b25466931c7d8f6a5aac84aa051ba30b396a0aac973d58e091473f5985
1630
1631 Cipher = aes-128-gcm
1632 Key = feffe9928665731c6d6a8f9467308308
1633 IV = cafebabefacedbaddecaf888
1634 AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
1635 Tag = 5bc94fbc3221a5db94fae95ae7121a47
1636 Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
1637 Ciphertext = 42831ec2217774244b7221b784d0d49ce3aa212f2c02a4e035c17e2329aca12e21d514b25466931c7d8f6a5aac84aa051ba30b396a0aac973d58e091
1638
1639 Cipher = aes-128-gcm
1640 Key = feffe9928665731c6d6a8f9467308308
1641 IV = cafebabefacedbad
1642 AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
1643 Tag = 3612d2e79e3b0785561be14aaca2fccb
1644 Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
1645 Ciphertext = 61353b4c2806934a777ff51fa22a4755699b2a714fcdc6f83766e5f97b6c742373806900e49f24b22b097544d4896b424989b5e1ebac0f07c23f4598
1646
1647 Cipher = aes-128-gcm
1648 Key = feffe9928665731c6d6a8f9467308308
1649 IV = 9313225df88406e555909c5aff5269aa6a7a9538534f7da1e4c303d2a318a728c3c0c95156809539fcf0e2429a6b525416aedbf5a0de6a57a637b39b
1650 AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
1651 Tag = 619cc5aefffe0bfa462af43c1699d050
1652 Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
1653 Ciphertext = 8ce24998625615b603a033aca13fb894be9112a5c3a211a8ba262a3cca7e2ca701e4a9a4fba43c90ccdcb281d48c7c6fd62875d2aca417034c34aee5
1654
1655 Cipher = aes-192-gcm
1656 Key = 000000000000000000000000000000000000000000000000
1657 IV = 000000000000000000000000
1658 AAD =
1659 Tag = cd33b28ac773f74ba00ed1f312572435
1660 Plaintext =
1661 Ciphertext =
1662
1663 Cipher = aes-192-gcm
1664 Key = 000000000000000000000000000000000000000000000000
1665 IV = 000000000000000000000000
1666 AAD =
1667 Tag = 2ff58d80033927ab8ef4d4587514f0fb
1668 Plaintext = 00000000000000000000000000000000
1669 Ciphertext = 98e7247c07f0fe411c267e4384b0f600
1670
1671 Cipher = aes-192-gcm
1672 Key = feffe9928665731c6d6a8f9467308308feffe9928665731c
1673 IV = cafebabefacedbaddecaf888
1674 AAD =
1675 Tag = 9924a7c8587336bfb118024db8674a14
1676 Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b391aafd255
1677 Ciphertext = 3980ca0b3c00e841eb06fac4872a2757859e1ceaa6efd984628593b40ca1e19c7d773d00c144c525ac619d18c84a3f4718e2448b2fe324d9ccda2710acade256
1678
1679 Cipher = aes-192-gcm
1680 Key = feffe9928665731c6d6a8f9467308308feffe9928665731c
1681 IV = cafebabefacedbaddecaf888
1682 AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
1683 Tag = 2519498e80f1478f37ba55bd6d27618c
1684 Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
1685 Ciphertext = 3980ca0b3c00e841eb06fac4872a2757859e1ceaa6efd984628593b40ca1e19c7d773d00c144c525ac619d18c84a3f4718e2448b2fe324d9ccda2710
1686
1687 Cipher = aes-192-gcm
1688 Key = feffe9928665731c6d6a8f9467308308feffe9928665731c
1689 IV = cafebabefacedbad
1690 AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
1691 Tag = 65dcc57fcf623a24094fcca40d3533f8
1692 Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
1693 Ciphertext = 0f10f599ae14a154ed24b36e25324db8c566632ef2bbb34f8347280fc4507057fddc29df9a471f75c66541d4d4dad1c9e93a19a58e8b473fa0f062f7
1694
1695 Cipher = aes-192-gcm
1696 Key = feffe9928665731c6d6a8f9467308308feffe9928665731c
1697 IV = 9313225df88406e555909c5aff5269aa6a7a9538534f7da1e4c303d2a318a728c3c0c95156809539fcf0e2429a6b525416aedbf5a0de6a57a637b39b
1698 AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
1699 Tag = dcf566ff291c25bbb8568fc3d376a6d9
1700 Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
1701 Ciphertext = d27e88681ce3243c4830165a8fdcf9ff1de9a1d8e6b447ef6ef7b79828666e4581e79012af34ddd9e2f037589b292db3e67c036745fa22e7e9b7373b
1702
1703 Cipher = aes-256-gcm
1704 Key = 0000000000000000000000000000000000000000000000000000000000000000
1705 IV = 000000000000000000000000
1706 AAD =
1707 Tag = 530f8afbc74536b9a963b4f1c4cb738b
1708 Plaintext =
1709 Ciphertext =
1710
1711 Cipher = aes-256-gcm
1712 Key = 0000000000000000000000000000000000000000000000000000000000000000
1713 IV = 000000000000000000000000
1714 AAD =
1715 Tag = d0d1c8a799996bf0265b98b5d48ab919
1716 Plaintext = 00000000000000000000000000000000
1717 Ciphertext = cea7403d4d606b6e074ec5d3baf39d18
1718
1719 Cipher = aes-256-gcm
1720 Key = feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308
1721 IV = cafebabefacedbaddecaf888
1722 AAD =
1723 Tag = b094dac5d93471bdec1a502270e3cc6c
1724 Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b391aafd255
1725 Ciphertext = 522dc1f099567d07f47f37a32a84427d643a8cdcbfe5c0c97598a2bd2555d1aa8cb08e48590dbb3da7b08b1056828838c5f61e6393ba7a0abcc9f662898015ad
1726
1727 Cipher = aes-256-gcm
1728 Key = feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308
1729 IV = cafebabefacedbaddecaf888
1730 AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
1731 Tag = 76fc6ece0f4e1768cddf8853bb2d551b
1732 Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
1733 Ciphertext = 522dc1f099567d07f47f37a32a84427d643a8cdcbfe5c0c97598a2bd2555d1aa8cb08e48590dbb3da7b08b1056828838c5f61e6393ba7a0abcc9f662
1734
1735 Cipher = aes-256-gcm
1736 Key = feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308
1737 IV = cafebabefacedbad
1738 AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
1739 Tag = 3a337dbf46a792c45e454913fe2ea8f2
1740 Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
1741 Ciphertext = c3762df1ca787d32ae47c13bf19844cbaf1ae14d0b976afac52ff7d79bba9de0feb582d33934a4f0954cc2363bc73f7862ac430e64abe499f47c9b1f
1742
1743 Cipher = aes-256-gcm
1744 Key = feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308
1745 IV = 9313225df88406e555909c5aff5269aa6a7a9538534f7da1e4c303d2a318a728c3c0c95156809539fcf0e2429a6b525416aedbf5a0de6a57a637b39b
1746 AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
1747 Tag = a44a8266ee1c8eb0c8b5d4cf5ae9f19a
1748 Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
1749 Ciphertext = 5a8def2f0c9e53f1f75d7853659e2a20eeb2b22aafde6419a058ab4f6f746bf40fc0c3b780f244452da3ebf1c5d82cdea2418997200ef82e44ae7e3f
1750
1751 # local add-ons, primarily streaming ghash tests
1752 # 128 bytes aad
1753 Cipher = aes-128-gcm
1754 Key = 00000000000000000000000000000000
1755 IV = 000000000000000000000000
1756 AAD = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b391aafd255522dc1f099567d07f47f37a32a84427d643a8cdcbfe5c0c97598a2bd2555d1aa8cb08e48590dbb3da7b08b1056828838c5f61e6393ba7a0abcc9f662898015ad
1757 Tag = 5fea793a2d6f974d37e68e0cb8ff9492
1758 Plaintext =
1759 Ciphertext =
1760
1761 # 48 bytes plaintext
1762 Cipher = aes-128-gcm
1763 Key = 00000000000000000000000000000000
1764 IV = 000000000000000000000000
1765 AAD =
1766 Tag = 9dd0a376b08e40eb00c35f29f9ea61a4
1767 Plaintext = 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1768 Ciphertext = 0388dace60b6a392f328c2b971b2fe78f795aaab494b5923f7fd89ff948bc1e0200211214e7394da2089b6acd093abe0
1769
1770 # 80 bytes plaintext
1771 Cipher = aes-128-gcm
1772 Key = 00000000000000000000000000000000
1773 IV = 000000000000000000000000
1774 AAD =
1775 Tag = 98885a3a22bd4742fe7b72172193b163
1776 Plaintext = 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1777 Ciphertext = 0388dace60b6a392f328c2b971b2fe78f795aaab494b5923f7fd89ff948bc1e0200211214e7394da2089b6acd093abe0c94da219118e297d7b7ebcbcc9c388f28ade7d85a8ee35616f7124a9d5270291
1778
1779 # 128 bytes plaintext
1780 Cipher = aes-128-gcm
1781 Key = 00000000000000000000000000000000
1782 IV = 000000000000000000000000
1783 AAD =
1784 Tag = cac45f60e31efd3b5a43b98a22ce1aa1
1785 Plaintext = 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1786 Ciphertext = 0388dace60b6a392f328c2b971b2fe78f795aaab494b5923f7fd89ff948bc1e0200211214e7394da2089b6acd093abe0c94da219118e297d7b7ebcbcc9c388f28ade7d85a8ee35616f7124a9d527029195b84d1b96c690ff2f2de30bf2ec89e00253786e126504f0dab90c48a30321de3345e6b0461e7c9e6c6b7afedde83f40
1787
1788 # 192 bytes plaintext, iv is chosen so that initial counter LSB is 0xFF
1789 Cipher = aes-128-gcm
1790 Key = 00000000000000000000000000000000
1791 IV = ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1792 AAD =
1793 Tag = 566f8ef683078bfdeeffa869d751a017
1794 Plaintext = 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1795 Ciphertext = 56b3373ca9ef6e4a2b64fe1e9a17b61425f10d47a75a5fce13efc6bc784af24f4141bdd48cf7c770887afd573cca5418a9aeffcd7c5ceddfc6a78397b9a85b499da558257267caab2ad0b23ca476a53cb17fb41c4b8b475cb4f3f7165094c229c9e8c4dc0a2a5ff1903e501511221376a1cdb8364c5061a20cae74bc4acd76ceb0abc9fd3217ef9f8c90be402ddf6d8697f4f880dff15bfb7a6b28241ec8fe183c2d59e3f9dfff653c7126f0acb9e64211f42bae12af462b1070bef1ab5e3606
1796
1797 # 240 bytes plaintext, iv is chosen so that initial counter LSB is 0xFF
1798 Cipher = aes-128-gcm
1799 Key = 00000000000000000000000000000000
1800 IV = ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1801 AAD =
1802 Tag = fd0c7011ff07f0071324bdfb2d0f3a29
1803 Plaintext = 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1804 Ciphertext = 56b3373ca9ef6e4a2b64fe1e9a17b61425f10d47a75a5fce13efc6bc784af24f4141bdd48cf7c770887afd573cca5418a9aeffcd7c5ceddfc6a78397b9a85b499da558257267caab2ad0b23ca476a53cb17fb41c4b8b475cb4f3f7165094c229c9e8c4dc0a2a5ff1903e501511221376a1cdb8364c5061a20cae74bc4acd76ceb0abc9fd3217ef9f8c90be402ddf6d8697f4f880dff15bfb7a6b28241ec8fe183c2d59e3f9dfff653c7126f0acb9e64211f42bae12af462b1070bef1ab5e3606872ca10dee15b3249b1a1b958f23134c4bccb7d03200bce420a2f8eb66dcf3644d1423c1b5699003c13ecef4bf38a3b6
1805
1806 # 288 bytes plaintext, iv is chosen so that initial counter LSB is 0xFF
1807 Cipher = aes-128-gcm
1808 Key = 00000000000000000000000000000000
1809 IV = ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1810 AAD =
1811 Tag = 8b307f6b33286d0ab026a9ed3fe1e85f
1812 Plaintext = 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1813 Ciphertext = 56b3373ca9ef6e4a2b64fe1e9a17b61425f10d47a75a5fce13efc6bc784af24f4141bdd48cf7c770887afd573cca5418a9aeffcd7c5ceddfc6a78397b9a85b499da558257267caab2ad0b23ca476a53cb17fb41c4b8b475cb4f3f7165094c229c9e8c4dc0a2a5ff1903e501511221376a1cdb8364c5061a20cae74bc4acd76ceb0abc9fd3217ef9f8c90be402ddf6d8697f4f880dff15bfb7a6b28241ec8fe183c2d59e3f9dfff653c7126f0acb9e64211f42bae12af462b1070bef1ab5e3606872ca10dee15b3249b1a1b958f23134c4bccb7d03200bce420a2f8eb66dcf3644d1423c1b5699003c13ecef4bf38a3b60eedc34033bac1902783dc6d89e2e774188a439c7ebcc0672dbda4ddcfb2794613b0be41315ef778708a70ee7d75165c
1814
1815 # 80 bytes plaintext, submitted by Intel
1816 Cipher = aes-128-gcm
1817 Key = 843ffcf5d2b72694d19ed01d01249412
1818 IV = dbcca32ebf9b804617c3aa9e
1819 AAD = 00000000000000000000000000000000101112131415161718191a1b1c1d1e1f
1820 Tag = 3b629ccfbc1119b7319e1dce2cd6fd6d
1821 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f
1822 Ciphertext = 6268c6fa2a80b2d137467f092f657ac04d89be2beaa623d61b5a868c8f03ff95d3dcee23ad2f1ab3a6c80eaf4b140eb05de3457f0fbc111a6b43d0763aa422a3013cf1dc37fe417d1fbfc449b75d4cc5
1823
1824 #AES OCB Test vectors
1825 Cipher = aes-128-ocb
1826 Key = 000102030405060708090A0B0C0D0E0F
1827 IV = 000102030405060708090A0B
1828 AAD =
1829 Tag = 197B9C3C441D3C83EAFB2BEF633B9182
1830 Plaintext =
1831 Ciphertext =
1832
1833 Cipher = aes-128-ocb
1834 Key = 000102030405060708090A0B0C0D0E0F
1835 IV = 000102030405060708090A0B
1836 AAD = 0001020304050607
1837 Tag = 16DC76A46D47E1EAD537209E8A96D14E
1838 Plaintext = 0001020304050607
1839 Ciphertext = 92B657130A74B85A
1840
1841 Cipher = aes-128-ocb
1842 Key = 000102030405060708090A0B0C0D0E0F
1843 IV = 000102030405060708090A0B
1844 AAD = 0001020304050607
1845 Tag = 98B91552C8C009185044E30A6EB2FE21
1846 Plaintext =
1847 Ciphertext =
1848
1849 Cipher = aes-128-ocb
1850 Key = 000102030405060708090A0B0C0D0E0F
1851 IV = 000102030405060708090A0B
1852 AAD =
1853 Tag = 971EFFCAE19AD4716F88E87B871FBEED
1854 Plaintext = 0001020304050607
1855 Ciphertext = 92B657130A74B85A
1856
1857 Cipher = aes-128-ocb
1858 Key = 000102030405060708090A0B0C0D0E0F
1859 IV = 000102030405060708090A0B
1860 AAD = 000102030405060708090A0B0C0D0E0F
1861 Tag = 776C9924D6723A1FC4524532AC3E5BEB
1862 Plaintext = 000102030405060708090A0B0C0D0E0F
1863 Ciphertext = BEA5E8798DBE7110031C144DA0B26122
1864
1865 Cipher = aes-128-ocb
1866 Key = 000102030405060708090A0B0C0D0E0F
1867 IV = 000102030405060708090A0B
1868 AAD = 000102030405060708090A0B0C0D0E0F
1869 Tag = 7DDB8E6CEA6814866212509619B19CC6
1870 Plaintext =
1871 Ciphertext =
1872
1873 Cipher = aes-128-ocb
1874 Key = 000102030405060708090A0B0C0D0E0F
1875 IV = 000102030405060708090A0B
1876 AAD =
1877 Tag = 13CC8B747807121A4CBB3E4BD6B456AF
1878 Plaintext = 000102030405060708090A0B0C0D0E0F
1879 Ciphertext = BEA5E8798DBE7110031C144DA0B26122
1880
1881 Cipher = aes-128-ocb
1882 Key = 000102030405060708090A0B0C0D0E0F
1883 IV = 000102030405060708090A0B
1884 AAD = 000102030405060708090A0B0C0D0E0F1011121314151617
1885 Tag = 5FA94FC3F38820F1DC3F3D1FD4E55E1C
1886 Plaintext = 000102030405060708090A0B0C0D0E0F1011121314151617
1887 Ciphertext = BEA5E8798DBE7110031C144DA0B26122FCFCEE7A2A8D4D48
1888
1889 Cipher = aes-128-ocb
1890 Key = 000102030405060708090A0B0C0D0E0F
1891 IV = 000102030405060708090A0B
1892 AAD = 000102030405060708090A0B0C0D0E0F1011121314151617
1893 Tag = 282026DA3068BC9FA118681D559F10F6
1894 Plaintext =
1895 Ciphertext =
1896
1897 Cipher = aes-128-ocb
1898 Key = 000102030405060708090A0B0C0D0E0F
1899 IV = 000102030405060708090A0B
1900 AAD =
1901 Tag = 6EF2F52587FDA0ED97DC7EEDE241DF68
1902 Plaintext = 000102030405060708090A0B0C0D0E0F1011121314151617
1903 Ciphertext = BEA5E8798DBE7110031C144DA0B26122FCFCEE7A2A8D4D48
1904
1905 Cipher = aes-128-ocb
1906 Key = 000102030405060708090A0B0C0D0E0F
1907 IV = 000102030405060708090A0B
1908 AAD = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
1909 Tag = B2A040DD3BD5164372D76D7BB6824240
1910 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
1911 Ciphertext = BEA5E8798DBE7110031C144DA0B26122CEAAB9B05DF771A657149D53773463CB
1912
1913 Cipher = aes-128-ocb
1914 Key = 000102030405060708090A0B0C0D0E0F
1915 IV = 000102030405060708090A0B
1916 AAD = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
1917 Tag = E1E072633BADE51A60E85951D9C42A1B
1918 Plaintext =
1919 Ciphertext =
1920
1921 Cipher = aes-128-ocb
1922 Key = 000102030405060708090A0B0C0D0E0F
1923 IV = 000102030405060708090A0B
1924 AAD =
1925 Tag = 4A3BAE824465CFDAF8C41FC50C7DF9D9
1926 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
1927 Ciphertext = BEA5E8798DBE7110031C144DA0B26122CEAAB9B05DF771A657149D53773463CB
1928
1929 Cipher = aes-128-ocb
1930 Key = 000102030405060708090A0B0C0D0E0F
1931 IV = 000102030405060708090A0B
1932 AAD = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627
1933 Tag = 659C623211DEEA0DE30D2C381879F4C8
1934 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627
1935 Ciphertext = BEA5E8798DBE7110031C144DA0B26122CEAAB9B05DF771A657149D53773463CB68C65778B058A635
1936
1937 Cipher = aes-128-ocb
1938 Key = 000102030405060708090A0B0C0D0E0F
1939 IV = 000102030405060708090A0B
1940 AAD = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627
1941 Tag = 7AEB7A69A1687DD082CA27B0D9A37096
1942 Plaintext =
1943 Ciphertext =
1944
1945 Cipher = aes-128-ocb
1946 Key = 000102030405060708090A0B0C0D0E0F
1947 IV = 000102030405060708090A0B
1948 AAD =
1949 Tag = 060C8467F4ABAB5E8B3C2067A2E115DC
1950 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627
1951 Ciphertext = BEA5E8798DBE7110031C144DA0B26122CEAAB9B05DF771A657149D53773463CB68C65778B058A635
1952
1953 #AES OCB Non standard test vectors - generated from reference implementation
1954 Cipher = aes-128-ocb
1955 Key = 000102030405060708090A0B0C0D0E0F
1956 IV = 000102030405060708090A0B
1957 AAD = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627
1958 Tag = 1b6c44f34e3abb3cbf8976e7
1959 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627
1960 Ciphertext = 09a4fd29de949d9a9aa9924248422097ad4883b4713e6c214ff6567ada08a96766fc4e2ee3e3a5a1
1961
1962 Cipher = aes-128-ocb
1963 Key = 000102030405060708090A0B0C0D0E0F
1964 IV = 000102030405060708090A0B0C0D0E
1965 AAD = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627
1966 Tag = 1ad62009901f40cba7cd7156f94a7324
1967 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627
1968 Ciphertext = 5e2fa7367ffbdb3938845cfd415fcc71ec79634eb31451609d27505f5e2978f43c44213d8fa441ee
1969
1970 Cipher = aes-128-ocb
1971 Key = 000102030405060708090A0B0C0D0E0F
1972 IV = 000102030405060708090A0B
1973 AAD = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627
1974 Tag = C203F98CE28F7DAD3F31C021
1975 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F3031
1976 Ciphertext = 09A4FD29DE949D9A9AA9924248422097AD4883B4713E6C214FF6567ADA08A967B2176C12F110DD441B7CAA3A509B13C822D6
1977
1978 Cipher = aes-128-ocb
1979 Key = 000102030405060708090A0B0C0D0E0F
1980 IV = 000102030405060708090A0B
1981 AAD = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627
1982 Tag = 8346D7D47C5D893ED472F5AB
1983 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F4041
1984 Ciphertext = 09A4FD29DE949D9A9AA9924248422097AD4883B4713E6C214FF6567ADA08A967B2176C12F110DD441B7CAA3A509B13C86A023AFCEE998BEE42028D44507B15F714FF
1985
1986 Cipher = aes-128-ocb
1987 Key = 000102030405060708090A0B0C0D0E0F
1988 IV = 000102030405060708090A0B
1989 AAD = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627
1990 Tag = 5822A9A70FDF55D29D2984A6
1991 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F5051
1992 Ciphertext = 09A4FD29DE949D9A9AA9924248422097AD4883B4713E6C214FF6567ADA08A967B2176C12F110DD441B7CAA3A509B13C86A023AFCEE998BEE42028D44507B15F77C528A1DE6406B519BCEE8FCB8294170634D
1993
1994 Cipher = aes-128-ocb
1995 Key = 000102030405060708090A0B0C0D0E0F
1996 IV = 000102030405060708090A0B
1997 AAD = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627
1998 Tag = 81772B6741ABB4ECA9D2DEB2
1999 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F6061
2000 Ciphertext = 09A4FD29DE949D9A9AA9924248422097AD4883B4713E6C214FF6567ADA08A967B2176C12F110DD441B7CAA3A509B13C86A023AFCEE998BEE42028D44507B15F77C528A1DE6406B519BCEE8FCB829417001E54E15A7576C4DF32366E0F439C7050FAA
2001
2002 Cipher = aes-128-ocb
2003 Key = 000102030405060708090A0B0C0D0E0F
2004 IV = 000102030405060708090A0B
2005 AAD = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F2021222324252627
2006 Tag = 3E52A01D068DE85456DB03B7
2007 Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F7071
2008 Ciphertext = 09A4FD29DE949D9A9AA9924248422097AD4883B4713E6C214FF6567ADA08A967B2176C12F110DD441B7CAA3A509B13C86A023AFCEE998BEE42028D44507B15F77C528A1DE6406B519BCEE8FCB829417001E54E15A7576C4DF32366E0F439C7051CB4824B8114E9A720CBC1CE0185B156B486
2009
2010 # AES XTS test vectors from IEEE Std 1619-2007
2011 Cipher = aes-128-xts
2012 Key = 0000000000000000000000000000000000000000000000000000000000000000
2013 IV = 00000000000000000000000000000000
2014 Plaintext = 0000000000000000000000000000000000000000000000000000000000000000
2015 Ciphertext = 917cf69ebd68b2ec9b9fe9a3eadda692cd43d2f59598ed858c02c2652fbf922e
2016
2017 Cipher = aes-128-xts
2018 Key = 1111111111111111111111111111111122222222222222222222222222222222
2019 IV = 33333333330000000000000000000000
2020 Plaintext = 4444444444444444444444444444444444444444444444444444444444444444
2021 Ciphertext = c454185e6a16936e39334038acef838bfb186fff7480adc4289382ecd6d394f0
2022
2023 Cipher = aes-128-xts
2024 Key = fffefdfcfbfaf9f8f7f6f5f4f3f2f1f022222222222222222222222222222222
2025 IV = 33333333330000000000000000000000
2026 Plaintext = 4444444444444444444444444444444444444444444444444444444444444444
2027 Ciphertext = af85336b597afc1a900b2eb21ec949d292df4c047e0b21532186a5971a227a89
2028
2029 Cipher = aes-128-xts
2030 Key = 2718281828459045235360287471352631415926535897932384626433832795
2031 IV = 00000000000000000000000000000000
2032 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
2033 Ciphertext = 27a7479befa1d476489f308cd4cfa6e2a96e4bbe3208ff25287dd3819616e89cc78cf7f5e543445f8333d8fa7f56000005279fa5d8b5e4ad40e736ddb4d35412328063fd2aab53e5ea1e0a9f332500a5df9487d07a5c92cc512c8866c7e860ce93fdf166a24912b422976146ae20ce846bb7dc9ba94a767aaef20c0d61ad02655ea92dc4c4e41a8952c651d33174be51a10c421110e6d81588ede82103a252d8a750e8768defffed9122810aaeb99f9172af82b604dc4b8e51bcb08235a6f4341332e4ca60482a4ba1a03b3e65008fc5da76b70bf1690db4eae29c5f1badd03c5ccf2a55d705ddcd86d449511ceb7ec30bf12b1fa35b913f9f747a8afd1b130e94bff94effd01a91735ca1726acd0b197c4e5b03393697e126826fb6bbde8ecc1e08298516e2c9ed03ff3c1b7860f6de76d4cecd94c8119855ef5297ca67e9f3e7ff72b1e99785ca0a7e7720c5b36dc6d72cac9574c8cbbc2f801e23e56fd344b07f22154beba0f08ce8891e643ed995c94d9a69c9f1b5f499027a78572aeebd74d20cc39881c213ee770b1010e4bea718846977ae119f7a023ab58cca0ad752afe656bb3c17256a9f6e9bf19fdd5a38fc82bbe872c5539edb609ef4f79c203ebb140f2e583cb2ad15b4aa5b655016a8449277dbd477ef2c8d6c017db738b18deb4a427d1923ce3ff262735779a418f20a282df920147beabe421ee5319d0568
2034
2035 Cipher = aes-128-xts
2036 Key = 2718281828459045235360287471352631415926535897932384626433832795
2037 IV = 01000000000000000000000000000000
2038 Plaintext = 27a7479befa1d476489f308cd4cfa6e2a96e4bbe3208ff25287dd3819616e89cc78cf7f5e543445f8333d8fa7f56000005279fa5d8b5e4ad40e736ddb4d35412328063fd2aab53e5ea1e0a9f332500a5df9487d07a5c92cc512c8866c7e860ce93fdf166a24912b422976146ae20ce846bb7dc9ba94a767aaef20c0d61ad02655ea92dc4c4e41a8952c651d33174be51a10c421110e6d81588ede82103a252d8a750e8768defffed9122810aaeb99f9172af82b604dc4b8e51bcb08235a6f4341332e4ca60482a4ba1a03b3e65008fc5da76b70bf1690db4eae29c5f1badd03c5ccf2a55d705ddcd86d449511ceb7ec30bf12b1fa35b913f9f747a8afd1b130e94bff94effd01a91735ca1726acd0b197c4e5b03393697e126826fb6bbde8ecc1e08298516e2c9ed03ff3c1b7860f6de76d4cecd94c8119855ef5297ca67e9f3e7ff72b1e99785ca0a7e7720c5b36dc6d72cac9574c8cbbc2f801e23e56fd344b07f22154beba0f08ce8891e643ed995c94d9a69c9f1b5f499027a78572aeebd74d20cc39881c213ee770b1010e4bea718846977ae119f7a023ab58cca0ad752afe656bb3c17256a9f6e9bf19fdd5a38fc82bbe872c5539edb609ef4f79c203ebb140f2e583cb2ad15b4aa5b655016a8449277dbd477ef2c8d6c017db738b18deb4a427d1923ce3ff262735779a418f20a282df920147beabe421ee5319d0568
2039 Ciphertext = 264d3ca8512194fec312c8c9891f279fefdd608d0c027b60483a3fa811d65ee59d52d9e40ec5672d81532b38b6b089ce951f0f9c35590b8b978d175213f329bb1c2fd30f2f7f30492a61a532a79f51d36f5e31a7c9a12c286082ff7d2394d18f783e1a8e72c722caaaa52d8f065657d2631fd25bfd8e5baad6e527d763517501c68c5edc3cdd55435c532d7125c8614deed9adaa3acade5888b87bef641c4c994c8091b5bcd387f3963fb5bc37aa922fbfe3df4e5b915e6eb514717bdd2a74079a5073f5c4bfd46adf7d282e7a393a52579d11a028da4d9cd9c77124f9648ee383b1ac763930e7162a8d37f350b2f74b8472cf09902063c6b32e8c2d9290cefbd7346d1c779a0df50edcde4531da07b099c638e83a755944df2aef1aa31752fd323dcb710fb4bfbb9d22b925bc3577e1b8949e729a90bbafeacf7f7879e7b1147e28ba0bae940db795a61b15ecf4df8db07b824bb062802cc98a9545bb2aaeed77cb3fc6db15dcd7d80d7d5bc406c4970a3478ada8899b329198eb61c193fb6275aa8ca340344a75a862aebe92eee1ce032fd950b47d7704a3876923b4ad62844bf4a09c4dbe8b4397184b7471360c9564880aedddb9baa4af2e75394b08cd32ff479c57a07d3eab5d54de5f9738b8d27f27a9f0ab11799d7b7ffefb2704c95c6ad12c39f1e867a4b7b1d7818a4b753dfd2a89ccb45e001a03a867b187f225dd
2040
2041 Cipher = aes-128-xts
2042 Key = 2718281828459045235360287471352631415926535897932384626433832795
2043 IV = 02000000000000000000000000000000
2044 Plaintext = 264d3ca8512194fec312c8c9891f279fefdd608d0c027b60483a3fa811d65ee59d52d9e40ec5672d81532b38b6b089ce951f0f9c35590b8b978d175213f329bb1c2fd30f2f7f30492a61a532a79f51d36f5e31a7c9a12c286082ff7d2394d18f783e1a8e72c722caaaa52d8f065657d2631fd25bfd8e5baad6e527d763517501c68c5edc3cdd55435c532d7125c8614deed9adaa3acade5888b87bef641c4c994c8091b5bcd387f3963fb5bc37aa922fbfe3df4e5b915e6eb514717bdd2a74079a5073f5c4bfd46adf7d282e7a393a52579d11a028da4d9cd9c77124f9648ee383b1ac763930e7162a8d37f350b2f74b8472cf09902063c6b32e8c2d9290cefbd7346d1c779a0df50edcde4531da07b099c638e83a755944df2aef1aa31752fd323dcb710fb4bfbb9d22b925bc3577e1b8949e729a90bbafeacf7f7879e7b1147e28ba0bae940db795a61b15ecf4df8db07b824bb062802cc98a9545bb2aaeed77cb3fc6db15dcd7d80d7d5bc406c4970a3478ada8899b329198eb61c193fb6275aa8ca340344a75a862aebe92eee1ce032fd950b47d7704a3876923b4ad62844bf4a09c4dbe8b4397184b7471360c9564880aedddb9baa4af2e75394b08cd32ff479c57a07d3eab5d54de5f9738b8d27f27a9f0ab11799d7b7ffefb2704c95c6ad12c39f1e867a4b7b1d7818a4b753dfd2a89ccb45e001a03a867b187f225dd
2045 Ciphertext = fa762a3680b76007928ed4a4f49a9456031b704782e65e16cecb54ed7d017b5e18abd67b338e81078f21edb7868d901ebe9c731a7c18b5e6dec1d6a72e078ac9a4262f860beefa14f4e821018272e411a951502b6e79066e84252c3346f3aa62344351a291d4bedc7a07618bdea2af63145cc7a4b8d4070691ae890cd65733e7946e9021a1dffc4c59f159425ee6d50ca9b135fa6162cea18a939838dc000fb386fad086acce5ac07cb2ece7fd580b00cfa5e98589631dc25e8e2a3daf2ffdec26531659912c9d8f7a15e5865ea8fb5816d6207052bd7128cd743c12c8118791a4736811935eb982a532349e31dd401e0b660a568cb1a4711f552f55ded59f1f15bf7196b3ca12a91e488ef59d64f3a02bf45239499ac6176ae321c4a211ec545365971c5d3f4f09d4eb139bfdf2073d33180b21002b65cc9865e76cb24cd92c874c24c18350399a936ab3637079295d76c417776b94efce3a0ef7206b15110519655c956cbd8b2489405ee2b09a6b6eebe0c53790a12a8998378b33a5b71159625f4ba49d2a2fdba59fbf0897bc7aabd8d707dc140a80f0f309f835d3da54ab584e501dfa0ee977fec543f74186a802b9a37adb3e8291eca04d66520d229e60401e7282bef486ae059aa70696e0e305d777140a7a883ecdcb69b9ff938e8a4231864c69ca2c2043bed007ff3e605e014bcf518138dc3a25c5e236171a2d01d6
2046
2047 Cipher = aes-128-xts
2048 Key = 2718281828459045235360287471352631415926535897932384626433832795
2049 IV = fd000000000000000000000000000000
2050 Plaintext = 8e41b78c390b5af9d758bb214a67e9f6bf7727b09ac6124084c37611398fa45daad94868600ed391fb1acd4857a95b466e62ef9f4b377244d1c152e7b30d731aad30c716d214b707aed99eb5b5e580b3e887cf7497465651d4b60e6042051da3693c3b78c14489543be8b6ad0ba629565bba202313ba7b0d0c94a3252b676f46cc02ce0f8a7d34c0ed229129673c1f61aed579d08a9203a25aac3a77e9db60267996db38df637356d9dcd1632e369939f2a29d89345c66e05066f1a3677aef18dea4113faeb629e46721a66d0a7e785d3e29af2594eb67dfa982affe0aac058f6e15864269b135418261fc3afb089472cf68c45dd7f231c6249ba0255e1e033833fc4d00a3fe02132d7bc3873614b8aee34273581ea0325c81f0270affa13641d052d36f0757d484014354d02d6883ca15c24d8c3956b1bd027bcf41f151fd8023c5340e5606f37e90fdb87c86fb4fa634b3718a30bace06a66eaf8f63c4aa3b637826a87fe8cfa44282e92cb1615af3a28e53bc74c7cba1a0977be9065d0c1a5dec6c54ae38d37f37aa35283e048e5530a85c4e7a29d7b92ec0c3169cdf2a805c7604bce60049b9fb7b8eaac10f51ae23794ceba68bb58112e293b9b692ca721b37c662f8574ed4dba6f88e170881c82cddc1034a0ca7e284bf0962b6b26292d836fa9f73c1ac770eef0f2d3a1eaf61d3e03555fd424eedd67e18a18094f888
2051 Ciphertext = d55f684f81f4426e9fde92a5ff02df2ac896af63962888a97910c1379e20b0a3b1db613fb7fe2e07004329ea5c22bfd33e3dbe4cf58cc608c2c26c19a2e2fe22f98732c2b5cb844cc6c0702d91e1d50fc4382a7eba5635cd602432a2306ac4ce82f8d70c8d9bc15f918fe71e74c622d5cf71178bf6e0b9cc9f2b41dd8dbe441c41cd0c73a6dc47a348f6702f9d0e9b1b1431e948e299b9ec2272ab2c5f0c7be86affa5dec87a0bee81d3d50007edaa2bcfccb35605155ff36ed8edd4a40dcd4b243acd11b2b987bdbfaf91a7cac27e9c5aea525ee53de7b2d3332c8644402b823e94a7db26276d2d23aa07180f76b4fd29b9c0823099c9d62c519880aee7e9697617c1497d47bf3e571950311421b6b734d38b0db91eb85331b91ea9f61530f54512a5a52a4bad589eb69781d537f23297bb459bdad2948a29e1550bf4787e0be95bb173cf5fab17dab7a13a052a63453d97ccec1a321954886b7a1299faaeecae35c6eaaca753b041b5e5f093bf83397fd21dd6b3012066fcc058cc32c3b09d7562dee29509b5839392c9ff05f51f3166aaac4ac5f238038a3045e6f72e48ef0fe8bc675e82c318a268e43970271bf119b81bf6a982746554f84e72b9f00280a320a08142923c23c883423ff949827f29bbacdc1ccdb04938ce6098c95ba6b32528f4ef78eed778b2e122ddfd1cbdd11d1c0a6783e011fc536d63d053260637
2052
2053 Cipher = aes-128-xts
2054 Key = 2718281828459045235360287471352631415926535897932384626433832795
2055 IV = fe000000000000000000000000000000
2056 Plaintext = d55f684f81f4426e9fde92a5ff02df2ac896af63962888a97910c1379e20b0a3b1db613fb7fe2e07004329ea5c22bfd33e3dbe4cf58cc608c2c26c19a2e2fe22f98732c2b5cb844cc6c0702d91e1d50fc4382a7eba5635cd602432a2306ac4ce82f8d70c8d9bc15f918fe71e74c622d5cf71178bf6e0b9cc9f2b41dd8dbe441c41cd0c73a6dc47a348f6702f9d0e9b1b1431e948e299b9ec2272ab2c5f0c7be86affa5dec87a0bee81d3d50007edaa2bcfccb35605155ff36ed8edd4a40dcd4b243acd11b2b987bdbfaf91a7cac27e9c5aea525ee53de7b2d3332c8644402b823e94a7db26276d2d23aa07180f76b4fd29b9c0823099c9d62c519880aee7e9697617c1497d47bf3e571950311421b6b734d38b0db91eb85331b91ea9f61530f54512a5a52a4bad589eb69781d537f23297bb459bdad2948a29e1550bf4787e0be95bb173cf5fab17dab7a13a052a63453d97ccec1a321954886b7a1299faaeecae35c6eaaca753b041b5e5f093bf83397fd21dd6b3012066fcc058cc32c3b09d7562dee29509b5839392c9ff05f51f3166aaac4ac5f238038a3045e6f72e48ef0fe8bc675e82c318a268e43970271bf119b81bf6a982746554f84e72b9f00280a320a08142923c23c883423ff949827f29bbacdc1ccdb04938ce6098c95ba6b32528f4ef78eed778b2e122ddfd1cbdd11d1c0a6783e011fc536d63d053260637
2057 Ciphertext = 72efc1ebfe1ee25975a6eb3aa8589dda2b261f1c85bdab442a9e5b2dd1d7c3957a16fc08e526d4b1223f1b1232a11af274c3d70dac57f83e0983c498f1a6f1aecb021c3e70085a1e527f1ce41ee5911a82020161529cd82773762daf5459de94a0a82adae7e1703c808543c29ed6fb32d9e004327c1355180c995a07741493a09c21ba01a387882da4f62534b87bb15d60d197201c0fd3bf30c1500a3ecfecdd66d8721f90bcc4c17ee925c61b0a03727a9c0d5f5ca462fbfa0af1c2513a9d9d4b5345bd27a5f6e653f751693e6b6a2b8ead57d511e00e58c45b7b8d005af79288f5c7c22fd4f1bf7a898b03a5634c6a1ae3f9fae5de4f296a2896b23e7ed43ed14fa5a2803f4d28f0d3ffcf24757677aebdb47bb388378708948a8d4126ed1839e0da29a537a8c198b3c66ab00712dd261674bf45a73d67f76914f830ca014b65596f27e4cf62de66125a5566df9975155628b400fbfb3a29040ed50faffdbb18aece7c5c44693260aab386c0a37b11b114f1c415aebb653be468179428d43a4d8bc3ec38813eca30a13cf1bb18d524f1992d44d8b1a42ea30b22e6c95b199d8d182f8840b09d059585c31ad691fa0619ff038aca2c39a943421157361717c49d322028a74648113bd8c9d7ec77cf3c89c1ec8718ceff8516d96b34c3c614f10699c9abc4ed0411506223bea16af35c883accdbe1104eef0cfdb54e12fb230a
2058
2059 Cipher = aes-128-xts
2060 Key = 2718281828459045235360287471352631415926535897932384626433832795
2061 IV = ff000000000000000000000000000000
2062 Plaintext = 72efc1ebfe1ee25975a6eb3aa8589dda2b261f1c85bdab442a9e5b2dd1d7c3957a16fc08e526d4b1223f1b1232a11af274c3d70dac57f83e0983c498f1a6f1aecb021c3e70085a1e527f1ce41ee5911a82020161529cd82773762daf5459de94a0a82adae7e1703c808543c29ed6fb32d9e004327c1355180c995a07741493a09c21ba01a387882da4f62534b87bb15d60d197201c0fd3bf30c1500a3ecfecdd66d8721f90bcc4c17ee925c61b0a03727a9c0d5f5ca462fbfa0af1c2513a9d9d4b5345bd27a5f6e653f751693e6b6a2b8ead57d511e00e58c45b7b8d005af79288f5c7c22fd4f1bf7a898b03a5634c6a1ae3f9fae5de4f296a2896b23e7ed43ed14fa5a2803f4d28f0d3ffcf24757677aebdb47bb388378708948a8d4126ed1839e0da29a537a8c198b3c66ab00712dd261674bf45a73d67f76914f830ca014b65596f27e4cf62de66125a5566df9975155628b400fbfb3a29040ed50faffdbb18aece7c5c44693260aab386c0a37b11b114f1c415aebb653be468179428d43a4d8bc3ec38813eca30a13cf1bb18d524f1992d44d8b1a42ea30b22e6c95b199d8d182f8840b09d059585c31ad691fa0619ff038aca2c39a943421157361717c49d322028a74648113bd8c9d7ec77cf3c89c1ec8718ceff8516d96b34c3c614f10699c9abc4ed0411506223bea16af35c883accdbe1104eef0cfdb54e12fb230a
2063 Ciphertext = 3260ae8dad1f4a32c5cafe3ab0eb95549d461a67ceb9e5aa2d3afb62dece0553193ba50c75be251e08d1d08f1088576c7efdfaaf3f459559571e12511753b07af073f35da06af0ce0bbf6b8f5ccc5cea500ec1b211bd51f63b606bf6528796ca12173ba39b8935ee44ccce646f90a45bf9ccc567f0ace13dc2d53ebeedc81f58b2e41179dddf0d5a5c42f5d8506c1a5d2f8f59f3ea873cbcd0eec19acbf325423bd3dcb8c2b1bf1d1eaed0eba7f0698e4314fbeb2f1566d1b9253008cbccf45a2b0d9c5c9c21474f4076e02be26050b99dee4fd68a4cf890e496e4fcae7b70f94ea5a9062da0daeba1993d2ccd1dd3c244b8428801495a58b216547e7e847c46d1d756377b6242d2e5fb83bf752b54e0df71e889f3a2bb0f4c10805bf3c590376e3c24e22ff57f7fa965577375325cea5d920db94b9c336b455f6e894c01866fe9fbb8c8d3f70a2957285f6dfb5dcd8cbf54782f8fe7766d4723819913ac773421e3a31095866bad22c86a6036b2518b2059b4229d18c8c2ccbdf906c6cc6e82464ee57bddb0bebcb1dc645325bfb3e665ef7251082c88ebb1cf203bd779fdd38675713c8daadd17e1cabee432b09787b6ddf3304e38b731b45df5df51b78fcfb3d32466028d0ba36555e7e11ab0ee0666061d1645d962444bc47a38188930a84b4d561395c73c087021927ca638b7afc8a8679ccb84c26555440ec7f10445cd
2064
2065
2066 Cipher = aes-256-xts
2067 Key = 27182818284590452353602874713526624977572470936999595749669676273141592653589793238462643383279502884197169399375105820974944592
2068 IV = ff000000000000000000000000000000
2069 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
2070 Ciphertext = 1c3b3a102f770386e4836c99e370cf9bea00803f5e482357a4ae12d414a3e63b5d31e276f8fe4a8d66b317f9ac683f44680a86ac35adfc3345befecb4bb188fd5776926c49a3095eb108fd1098baec70aaa66999a72a82f27d848b21d4a741b0c5cd4d5fff9dac89aeba122961d03a757123e9870f8acf1000020887891429ca2a3e7a7d7df7b10355165c8b9a6d0a7de8b062c4500dc4cd120c0f7418dae3d0b5781c34803fa75421c790dfe1de1834f280d7667b327f6c8cd7557e12ac3a0f93ec05c52e0493ef31a12d3d9260f79a289d6a379bc70c50841473d1a8cc81ec583e9645e07b8d9670655ba5bbcfecc6dc3966380ad8fecb17b6ba02469a020a84e18e8f84252070c13e9f1f289be54fbc481457778f616015e1327a02b140f1505eb309326d68378f8374595c849d84f4c333ec4423885143cb47bd71c5edae9be69a2ffeceb1bec9de244fbe15992b11b77c040f12bd8f6a975a44a0f90c29a9abc3d4d893927284c58754cce294529f8614dcd2aba991925fedc4ae74ffac6e333b93eb4aff0479da9a410e4450e0dd7ae4c6e2910900575da401fc07059f645e8b7e9bfdef33943054ff84011493c27b3429eaedb4ed5376441a77ed43851ad77f16f541dfd269d50d6a5f14fb0aab1cbb4c1550be97f7ab4066193c4caa773dad38014bd2092fa755c824bb5e54c4f36ffda9fcea70b9c6e693e148c151
2071
2072 Cipher = aes-256-xts
2073 Key = 27182818284590452353602874713526624977572470936999595749669676273141592653589793238462643383279502884197169399375105820974944592
2074 IV = ffff0000000000000000000000000000
2075 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
2076 Ciphertext = 77a31251618a15e6b92d1d66dffe7b50b50bad552305ba0217a610688eff7e11e1d0225438e093242d6db274fde801d4cae06f2092c728b2478559df58e837c2469ee4a4fa794e4bbc7f39bc026e3cb72c33b0888f25b4acf56a2a9804f1ce6d3d6e1dc6ca181d4b546179d55544aa7760c40d06741539c7e3cd9d2f6650b2013fd0eeb8c2b8e3d8d240ccae2d4c98320a7442e1c8d75a42d6e6cfa4c2eca1798d158c7aecdf82490f24bb9b38e108bcda12c3faf9a21141c3613b58367f922aaa26cd22f23d708dae699ad7cb40a8ad0b6e2784973dcb605684c08b8d6998c69aac049921871ebb65301a4619ca80ecb485a31d744223ce8ddc2394828d6a80470c092f5ba413c3378fa6054255c6f9df4495862bbb3287681f931b687c888abf844dfc8fc28331e579928cd12bd2390ae123cf03818d14dedde5c0c24c8ab018bfca75ca096f2d531f3d1619e785f1ada437cab92e980558b3dce1474afb75bfedbf8ff54cb2618e0244c9ac0d3c66fb51598cd2db11f9be39791abe447c63094f7c453b7ff87cb5bb36b7c79efb0872d17058b83b15ab0866ad8a58656c5a7e20dbdf308b2461d97c0ec0024a2715055249cf3b478ddd4740de654f75ca686e0d7345c69ed50cdc2a8b332b1f8824108ac937eb050585608ee734097fc09054fbff89eeaeea791f4a7ab1f9868294a4f9e27b42af8100cb9d59cef9645803
2077
2078 Cipher = aes-256-xts
2079 Key = 27182818284590452353602874713526624977572470936999595749669676273141592653589793238462643383279502884197169399375105820974944592
2080 IV = ffffff00000000000000000000000000
2081 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
2082 Ciphertext = e387aaa58ba483afa7e8eb469778317ecf4cf573aa9d4eac23f2cdf914e4e200a8b490e42ee646802dc6ee2b471b278195d60918ececb44bf79966f83faba0499298ebc699c0c8634715a320bb4f075d622e74c8c932004f25b41e361025b5a87815391f6108fc4afa6a05d9303c6ba68a128a55705d415985832fdeaae6c8e19110e84d1b1f199a2692119edc96132658f09da7c623efcec712537a3d94c0bf5d7e352ec94ae5797fdb377dc1551150721adf15bd26a8efc2fcaad56881fa9e62462c28f30ae1ceaca93c345cf243b73f542e2074a705bd2643bb9f7cc79bb6e7091ea6e232df0f9ad0d6cf502327876d82207abf2115cdacf6d5a48f6c1879a65b115f0f8b3cb3c59d15dd8c769bc014795a1837f3901b5845eb491adfefe097b1fa30a12fc1f65ba22905031539971a10f2f36c321bb51331cdefb39e3964c7ef079994f5b69b2edd83a71ef549971ee93f44eac3938fcdd61d01fa71799da3a8091c4c48aa9ed263ff0749df95d44fef6a0bb578ec69456aa5408ae32c7af08ad7ba8921287e3bbee31b767be06a0e705c864a769137df28292283ea81a2480241b44d9921cdbec1bc28dc1fda114bd8e5217ac9d8ebafa720e9da4f9ace231cc949e5b96fe76ffc21063fddc83a6b8679c00d35e09576a875305bed5f36ed242c8900dd1fa965bc950dfce09b132263a1eef52dd6888c309f5a7d712826
2083
2084 Cipher = aes-256-xts
2085 Key = 27182818284590452353602874713526624977572470936999595749669676273141592653589793238462643383279502884197169399375105820974944592
2086 IV = ffffffff000000000000000000000000
2087 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
2088 Ciphertext = bf53d2dade78e822a4d949a9bc6766b01b06a8ef70d26748c6a7fc36d80ae4c5520f7c4ab0ac8544424fa405162fef5a6b7f229498063618d39f0003cb5fb8d1c86b643497da1ff945c8d3bedeca4f479702a7a735f043ddb1d6aaade3c4a0ac7ca7f3fa5279bef56f82cd7a2f38672e824814e10700300a055e1630b8f1cb0e919f5e942010a416e2bf48cb46993d3cb6a51c19bacf864785a00bc2ecff15d350875b246ed53e68be6f55bd7e05cfc2b2ed6432198a6444b6d8c247fab941f569768b5c429366f1d3f00f0345b96123d56204c01c63b22ce78baf116e525ed90fdea39fa469494d3866c31e05f295ff21fea8d4e6e13d67e47ce722e9698a1c1048d68ebcde76b86fcf976eab8aa9790268b7068e017a8b9b749409514f1053027fd16c3786ea1bac5f15cb79711ee2abe82f5cf8b13ae73030ef5b9e4457e75d1304f988d62dd6fc4b94ed38ba831da4b7634971b6cd8ec325d9c61c00f1df73627ed3745a5e8489f3a95c69639c32cd6e1d537a85f75cc844726e8a72fc0077ad22000f1d5078f6b866318c668f1ad03d5a5fced5219f2eabbd0aa5c0f460d183f04404a0d6f469558e81fab24a167905ab4c7878502ad3e38fdbe62a41556cec37325759533ce8f25f367c87bb5578d667ae93f9e2fd99bcbc5f2fbba88cf6516139420fcff3b7361d86322c4bd84c82f335abb152c4a93411373aaa8220
2089
2090 Cipher = aes-256-xts
2091 Key = 27182818284590452353602874713526624977572470936999595749669676273141592653589793238462643383279502884197169399375105820974944592
2092 IV = ffffffffff0000000000000000000000
2093 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
2094 Ciphertext = 64497e5a831e4a932c09be3e5393376daa599548b816031d224bbf50a818ed2350eae7e96087c8a0db51ad290bd00c1ac1620857635bf246c176ab463be30b808da548081ac847b158e1264be25bb0910bbc92647108089415d45fab1b3d2604e8a8eff1ae4020cfa39936b66827b23f371b92200be90251e6d73c5f86de5fd4a950781933d79a28272b782a2ec313efdfcc0628f43d744c2dc2ff3dcb66999b50c7ca895b0c64791eeaa5f29499fb1c026f84ce5b5c72ba1083cddb5ce45434631665c333b60b11593fb253c5179a2c8db813782a004856a1653011e93fb6d876c18366dd8683f53412c0c180f9c848592d593f8609ca736317d356e13e2bff3a9f59cd9aeb19cd482593d8c46128bb32423b37a9adfb482b99453fbe25a41bf6feb4aa0bef5ed24bf73c762978025482c13115e4015aac992e5613a3b5c2f685b84795cb6e9b2656d8c88157e52c42f978d8634c43d06fea928f2822e465aa6576e9bf419384506cc3ce3c54ac1a6f67dc66f3b30191e698380bc999b05abce19dc0c6dcc2dd001ec535ba18deb2df1a101023108318c75dc98611a09dc48a0acdec676fabdf222f07e026f059b672b56e5cbc8e1d21bbd867dd927212054681d70ea737134cdfce93b6f82ae22423274e58a0821cc5502e2d0ab4585e94de6975be5e0b4efce51cd3e70c25a1fbbbd609d273ad5b0d59631c531f6a0a57b9
2095
2096
2097 Cipher = aes-128-xts
2098 Key = fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0bfbebdbcbbbab9b8b7b6b5b4b3b2b1b0
2099 IV = 9a785634120000000000000000000000
2100 Plaintext = 000102030405060708090a0b0c0d0e0f10
2101 Ciphertext = 6c1625db4671522d3d7599601de7ca09ed
2102
2103 Cipher = aes-128-xts
2104 Key = fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0bfbebdbcbbbab9b8b7b6b5b4b3b2b1b0
2105 IV = 9a785634120000000000000000000000
2106 Plaintext = 000102030405060708090a0b0c0d0e0f1011
2107 Ciphertext = d069444b7a7e0cab09e24447d24deb1fedbf
2108
2109 Cipher = aes-128-xts
2110 Key = fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0bfbebdbcbbbab9b8b7b6b5b4b3b2b1b0
2111 IV = 9a785634120000000000000000000000
2112 Plaintext = 000102030405060708090a0b0c0d0e0f101112
2113 Ciphertext = e5df1351c0544ba1350b3363cd8ef4beedbf9d
2114
2115 Cipher = aes-128-xts
2116 Key = fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0bfbebdbcbbbab9b8b7b6b5b4b3b2b1b0
2117 IV = 9a785634120000000000000000000000
2118 Plaintext = 000102030405060708090a0b0c0d0e0f10111213
2119 Ciphertext = 9d84c813f719aa2c7be3f66171c7c5c2edbf9dac
2120
2121 Cipher = aes-128-xts
2122 Key = e0e1e2e3e4e5e6e7e8e9eaebecedeeefc0c1c2c3c4c5c6c7c8c9cacbcccdcecf
2123 IV = 21436587a90000000000000000000000
2124 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
2125 Ciphertext = 38b45812ef43a05bd957e545907e223b954ab4aaf088303ad910eadf14b42be68b2461149d8c8ba85f992be970bc621f1b06573f63e867bf5875acafa04e42ccbd7bd3c2a0fb1fff791ec5ec36c66ae4ac1e806d81fbf709dbe29e471fad38549c8e66f5345d7c1eb94f405d1ec785cc6f6a68f6254dd8339f9d84057e01a17741990482999516b5611a38f41bb6478e6f173f320805dd71b1932fc333cb9ee39936beea9ad96fa10fb4112b901734ddad40bc1878995f8e11aee7d141a2f5d48b7a4e1e7f0b2c04830e69a4fd1378411c2f287edf48c6c4e5c247a19680f7fe41cefbd49b582106e3616cbbe4dfb2344b2ae9519391f3e0fb4922254b1d6d2d19c6d4d537b3a26f3bcc51588b32f3eca0829b6a5ac72578fb814fb43cf80d64a233e3f997a3f02683342f2b33d25b492536b93becb2f5e1a8b82f5b883342729e8ae09d16938841a21a97fb543eea3bbff59f13c1a18449e398701c1ad51648346cbc04c27bb2da3b93a1372ccae548fb53bee476f9e9c91773b1bb19828394d55d3e1a20ed69113a860b6829ffa847224604435070221b257e8dff783615d2cae4803a93aa4334ab482a0afac9c0aeda70b45a481df5dec5df8cc0f423c77a5fd46cd312021d4b438862419a791be03bb4d97c0e59578542531ba466a83baf92cefc151b5cc1611a167893819b63fb8a6b18e86de60290fa72b797b0ce59f3
2126
2127 # Exercise different lengths covering even ciphertext stealing cases
2128 Cipher = aes-128-xts
2129 Key = 2718281828459045235360287471352631415926535897932384626433832795
2130 IV = 00000000000000000000000000000000
2131 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f
2132 Ciphertext = 27a7479befa1d476489f308cd4cfa6e2a96e4bbe3208ff25287dd3819616e89cc78cf7f5e543445f8333d8fa7f56000005279fa5d8b5e4ad40e736ddb4d35412328063fd2aab53e5ea1e0a9f332500a5df9487d07a5c92cc512c8866c7e860ce
2133
2134 Cipher = aes-128-xts
2135 Key = 2718281828459045235360287471352631415926535897932384626433832795
2136 IV = 00000000000000000000000000000000
2137 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f6061
2138 Ciphertext = 27A7479BEFA1D476489F308CD4CFA6E2A96E4BBE3208FF25287DD3819616E89CC78CF7F5E543445F8333D8FA7F56000005279FA5D8B5E4AD40E736DDB4D35412328063FD2AAB53E5EA1E0A9F332500A5B079C6307EA0914559C6D2FB6384F8AADF94
2139
2140 Cipher = aes-128-xts
2141 Key = 2718281828459045235360287471352631415926535897932384626433832795
2142 IV = 00000000000000000000000000000000
2143 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f
2144 Ciphertext = 27a7479befa1d476489f308cd4cfa6e2a96e4bbe3208ff25287dd3819616e89cc78cf7f5e543445f8333d8fa7f56000005279fa5d8b5e4ad40e736ddb4d35412328063fd2aab53e5ea1e0a9f332500a5df9487d07a5c92cc512c8866c7e860ce93fdf166a24912b422976146ae20ce84
2145
2146 Cipher = aes-128-xts
2147 Key = 2718281828459045235360287471352631415926535897932384626433832795
2148 IV = 00000000000000000000000000000000
2149 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f7071
2150 Ciphertext = 27A7479BEFA1D476489F308CD4CFA6E2A96E4BBE3208FF25287DD3819616E89CC78CF7F5E543445F8333D8FA7F56000005279FA5D8B5E4AD40E736DDB4D35412328063FD2AAB53E5EA1E0A9F332500A5DF9487D07A5C92CC512C8866C7E860CEF4F253466EF4953ADC8FE2F5BC1FF57593FD
2151
2152 Cipher = aes-128-xts
2153 Key = 2718281828459045235360287471352631415926535897932384626433832795
2154 IV = 00000000000000000000000000000000
2155 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f
2156 Ciphertext = 27a7479befa1d476489f308cd4cfa6e2a96e4bbe3208ff25287dd3819616e89cc78cf7f5e543445f8333d8fa7f56000005279fa5d8b5e4ad40e736ddb4d35412328063fd2aab53e5ea1e0a9f332500a5df9487d07a5c92cc512c8866c7e860ce93fdf166a24912b422976146ae20ce846bb7dc9ba94a767aaef20c0d61ad0265
2157
2158 Cipher = aes-128-xts
2159 Key = 2718281828459045235360287471352631415926535897932384626433832795
2160 IV = 00000000000000000000000000000000
2161 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f8081
2162 Ciphertext = 27A7479BEFA1D476489F308CD4CFA6E2A96E4BBE3208FF25287DD3819616E89CC78CF7F5E543445F8333D8FA7F56000005279FA5D8B5E4AD40E736DDB4D35412328063FD2AAB53E5EA1E0A9F332500A5DF9487D07A5C92CC512C8866C7E860CE93FDF166A24912B422976146AE20CE842973C68248EDDFE26FB9B096659C8A5D6BB7
2163
2164 Cipher = aes-128-xts
2165 Key = 2718281828459045235360287471352631415926535897932384626433832795
2166 IV = 00000000000000000000000000000000
2167 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f
2168 Ciphertext = 27a7479befa1d476489f308cd4cfa6e2a96e4bbe3208ff25287dd3819616e89cc78cf7f5e543445f8333d8fa7f56000005279fa5d8b5e4ad40e736ddb4d35412328063fd2aab53e5ea1e0a9f332500a5df9487d07a5c92cc512c8866c7e860ce93fdf166a24912b422976146ae20ce846bb7dc9ba94a767aaef20c0d61ad02655ea92dc4c4e41a8952c651d33174be51
2169
2170 Cipher = aes-128-xts
2171 Key = 2718281828459045235360287471352631415926535897932384626433832795
2172 IV = 00000000000000000000000000000000
2173 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f9091
2174 Ciphertext = 27A7479BEFA1D476489F308CD4CFA6E2A96E4BBE3208FF25287DD3819616E89CC78CF7F5E543445F8333D8FA7F56000005279FA5D8B5E4AD40E736DDB4D35412328063FD2AAB53E5EA1E0A9F332500A5DF9487D07A5C92CC512C8866C7E860CE93FDF166A24912B422976146AE20CE846BB7DC9BA94A767AAEF20C0D61AD0265C4DD16E65A24575A709F174593F19FF85EA9
2175
2176 Cipher = aes-128-xts
2177 Key = 2718281828459045235360287471352631415926535897932384626433832795
2178 IV = 00000000000000000000000000000000
2179 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f
2180 Ciphertext = 27a7479befa1d476489f308cd4cfa6e2a96e4bbe3208ff25287dd3819616e89cc78cf7f5e543445f8333d8fa7f56000005279fa5d8b5e4ad40e736ddb4d35412328063fd2aab53e5ea1e0a9f332500a5df9487d07a5c92cc512c8866c7e860ce93fdf166a24912b422976146ae20ce846bb7dc9ba94a767aaef20c0d61ad02655ea92dc4c4e41a8952c651d33174be51a10c421110e6d81588ede82103a252d8
2181
2182 Cipher = aes-128-xts
2183 Key = 2718281828459045235360287471352631415926535897932384626433832795
2184 IV = 00000000000000000000000000000000
2185 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1
2186 Ciphertext = 27A7479BEFA1D476489F308CD4CFA6E2A96E4BBE3208FF25287DD3819616E89CC78CF7F5E543445F8333D8FA7F56000005279FA5D8B5E4AD40E736DDB4D35412328063FD2AAB53E5EA1E0A9F332500A5DF9487D07A5C92CC512C8866C7E860CE93FDF166A24912B422976146AE20CE846BB7DC9BA94A767AAEF20C0D61AD02655EA92DC4C4E41A8952C651D33174BE519215FA160C664D4B07D757A034AB3B35A10C
2187
2188 Cipher = aes-128-xts
2189 Key = 2718281828459045235360287471352631415926535897932384626433832795
2190 IV = 00000000000000000000000000000000
2191 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeaf
2192 Ciphertext = 27a7479befa1d476489f308cd4cfa6e2a96e4bbe3208ff25287dd3819616e89cc78cf7f5e543445f8333d8fa7f56000005279fa5d8b5e4ad40e736ddb4d35412328063fd2aab53e5ea1e0a9f332500a5df9487d07a5c92cc512c8866c7e860ce93fdf166a24912b422976146ae20ce846bb7dc9ba94a767aaef20c0d61ad02655ea92dc4c4e41a8952c651d33174be51a10c421110e6d81588ede82103a252d8a750e8768defffed9122810aaeb99f91
2193
2194 Cipher = aes-128-xts
2195 Key = 2718281828459045235360287471352631415926535897932384626433832795
2196 IV = 00000000000000000000000000000000
2197 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1
2198 Ciphertext = 27A7479BEFA1D476489F308CD4CFA6E2A96E4BBE3208FF25287DD3819616E89CC78CF7F5E543445F8333D8FA7F56000005279FA5D8B5E4AD40E736DDB4D35412328063FD2AAB53E5EA1E0A9F332500A5DF9487D07A5C92CC512C8866C7E860CE93FDF166A24912B422976146AE20CE846BB7DC9BA94A767AAEF20C0D61AD02655EA92DC4C4E41A8952C651D33174BE51A10C421110E6D81588EDE82103A252D82C6CBC24F9357BD1FB882AA4B2CC2E7FA750
2199
2200 Cipher = aes-128-xts
2201 Key = 2718281828459045235360287471352631415926535897932384626433832795
2202 IV = 00000000000000000000000000000000
2203 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebf
2204 Ciphertext = 27a7479befa1d476489f308cd4cfa6e2a96e4bbe3208ff25287dd3819616e89cc78cf7f5e543445f8333d8fa7f56000005279fa5d8b5e4ad40e736ddb4d35412328063fd2aab53e5ea1e0a9f332500a5df9487d07a5c92cc512c8866c7e860ce93fdf166a24912b422976146ae20ce846bb7dc9ba94a767aaef20c0d61ad02655ea92dc4c4e41a8952c651d33174be51a10c421110e6d81588ede82103a252d8a750e8768defffed9122810aaeb99f9172af82b604dc4b8e51bcb08235a6f434
2205
2206 Cipher = aes-128-xts
2207 Key = 2718281828459045235360287471352631415926535897932384626433832795
2208 IV = 00000000000000000000000000000000
2209 Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1
2210 Ciphertext = 27A7479BEFA1D476489F308CD4CFA6E2A96E4BBE3208FF25287DD3819616E89CC78CF7F5E543445F8333D8FA7F56000005279FA5D8B5E4AD40E736DDB4D35412328063FD2AAB53E5EA1E0A9F332500A5DF9487D07A5C92CC512C8866C7E860CE93FDF166A24912B422976146AE20CE846BB7DC9BA94A767AAEF20C0D61AD02655EA92DC4C4E41A8952C651D33174BE51A10C421110E6D81588EDE82103A252D8A750E8768DEFFFED9122810AAEB99F910409B03D164E727C31290FD4E039500872AF
2211
2212 # AES wrap tests from RFC3394
2213 Cipher = id-aes128-wrap
2214 Key = 000102030405060708090A0B0C0D0E0F
2215 Plaintext = 00112233445566778899AABBCCDDEEFF
2216 Ciphertext = 1FA68B0A8112B447AEF34BD8FB5A7B829D3E862371D2CFE5
2217
2218 Cipher = id-aes192-wrap
2219 Key = 000102030405060708090A0B0C0D0E0F1011121314151617
2220 Plaintext = 00112233445566778899AABBCCDDEEFF
2221 Ciphertext = 96778B25AE6CA435F92B5B97C050AED2468AB8A17AD84E5D
2222
2223 Cipher = id-aes256-wrap
2224 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
2225 Plaintext = 00112233445566778899AABBCCDDEEFF
2226 Ciphertext = 64E8C3F9CE0F5BA263E9777905818A2A93C8191E7D6E8AE7
2227
2228 Cipher = id-aes192-wrap
2229 Key = 000102030405060708090A0B0C0D0E0F1011121314151617
2230 Plaintext = 00112233445566778899AABBCCDDEEFF0001020304050607
2231 Ciphertext = 031D33264E15D33268F24EC260743EDCE1C6C7DDEE725A936BA814915C6762D2
2232
2233 Cipher = id-aes256-wrap
2234 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
2235 Plaintext = 00112233445566778899AABBCCDDEEFF0001020304050607
2236 Ciphertext = A8F9BC1612C68B3FF6E6F4FBE30E71E4769C8B80A32CB8958CD5D17D6B254DA1
2237
2238 Cipher = id-aes256-wrap
2239 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
2240 Plaintext = 00112233445566778899AABBCCDDEEFF000102030405060708090A0B0C0D0E0F
2241 Ciphertext = 28C9F404C4B810F4CBCCB35CFB87F8263F5786E2D80ED326CBC7F0E71A99F43BFB988B9B7A02DD21
2242
2243 # Same as previous example but with invalid unwrap key: should be rejected
2244 # without returning any plaintext
2245 Cipher = id-aes256-wrap
2246 Operation = DECRYPT
2247 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E00
2248 Plaintext = 00112233445566778899AABBCCDDEEFF000102030405060708090A0B0C0D0E0F
2249 Ciphertext = 28C9F404C4B810F4CBCCB35CFB87F8263F5786E2D80ED326CBC7F0E71A99F43BFB988B9B7A02DD21
2250 Result = CIPHERUPDATE_ERROR
2251
2252 # AES wrap tests from RFC5649
2253 Cipher = id-aes192-wrap-pad
2254 Key = 5840df6e29b02af1ab493b705bf16ea1ae8338f4dcc176a8
2255 Plaintext = c37b7e6492584340bed12207808941155068f738
2256 Ciphertext = 138bdeaa9b8fa7fc61f97742e72248ee5ae6ae5360d1ae6a5f54f373fa543b6a
2257
2258 Cipher = id-aes192-wrap-pad
2259 Key = 5840df6e29b02af1ab493b705bf16ea1ae8338f4dcc176a8
2260 Plaintext = 466f7250617369
2261 Ciphertext = afbeb0f07dfbf5419200f2ccb50bb24f
2262
2263 # HMAC tests from RFC2104
2264 MAC = HMAC
2265 Algorithm = MD5
2266 Key = 0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b
2267 Input = "Hi There"
2268 Output = 9294727a3638bb1c13f48ef8158bfc9d
2269
2270 MAC = HMAC
2271 Algorithm = MD5
2272 Key = "Jefe"
2273 Input = "what do ya want for nothing?"
2274 Output = 750c783e6ab0b503eaa86e310a5db738
2275
2276 MAC = HMAC
2277 Algorithm = MD5
2278 Key = AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2279 Input = DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
2280 Output = 56be34521d144c88dbb8c733f0e8b3f6
2281
2282 # HMAC tests from NIST test data
2283
2284 MAC = HMAC
2285 Algorithm = SHA1
2286 Input = "Sample message for keylen=blocklen"
2287 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F
2288 Output = 5FD596EE78D5553C8FF4E72D266DFD192366DA29
2289 MAC = HMAC
2290 Algorithm = SHA1
2291 Input = "Sample message for keylen<blocklen"
2292 Key = 000102030405060708090A0B0C0D0E0F10111213
2293 Output = 4C99FF0CB1B31BD33F8431DBAF4D17FCD356A807
2294 MAC = HMAC
2295 Algorithm = SHA1
2296 Input = "Sample message for keylen=blocklen"
2297 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F60616263
2298 Output = 2D51B2F7750E410584662E38F133435F4C4FD42A
2299 MAC = HMAC
2300 Algorithm = SHA224
2301 Input = "Sample message for keylen=blocklen"
2302 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F
2303 Output = C7405E3AE058E8CD30B08B4140248581ED174CB34E1224BCC1EFC81B
2304 MAC = HMAC
2305 Algorithm = SHA224
2306 Input = "Sample message for keylen<blocklen"
2307 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B
2308 Output = E3D249A8CFB67EF8B7A169E9A0A599714A2CECBA65999A51BEB8FBBE
2309 MAC = HMAC
2310 Algorithm = SHA224
2311 Input = "Sample message for keylen=blocklen"
2312 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F60616263
2313 Output = 91C52509E5AF8531601AE6230099D90BEF88AAEFB961F4080ABC014D
2314 MAC = HMAC
2315 Algorithm = SHA256
2316 Input = "Sample message for keylen=blocklen"
2317 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F
2318 Output = 8BB9A1DB9806F20DF7F77B82138C7914D174D59E13DC4D0169C9057B133E1D62
2319 MAC = HMAC
2320 Algorithm = SHA256
2321 Input = "Sample message for keylen<blocklen"
2322 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
2323 Output = A28CF43130EE696A98F14A37678B56BCFCBDD9E5CF69717FECF5480F0EBDF790
2324 MAC = HMAC
2325 Algorithm = SHA256
2326 Input = "Sample message for keylen=blocklen"
2327 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F60616263
2328 Output = BDCCB6C72DDEADB500AE768386CB38CC41C63DBB0878DDB9C7A38A431B78378D
2329 MAC = HMAC
2330 Algorithm = SHA384
2331 Input = "Sample message for keylen=blocklen"
2332 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F
2333 Output = 63C5DAA5E651847CA897C95814AB830BEDEDC7D25E83EEF9195CD45857A37F448947858F5AF50CC2B1B730DDF29671A9
2334 MAC = HMAC
2335 Algorithm = SHA384
2336 Input = "Sample message for keylen<blocklen"
2337 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F
2338 Output = 6EB242BDBB582CA17BEBFA481B1E23211464D2B7F8C20B9FF2201637B93646AF5AE9AC316E98DB45D9CAE773675EEED0
2339 MAC = HMAC
2340 Algorithm = SHA384
2341 Input = "Sample message for keylen=blocklen"
2342 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7
2343 Output = 5B664436DF69B0CA22551231A3F0A3D5B4F97991713CFA84BFF4D0792EFF96C27DCCBBB6F79B65D548B40E8564CEF594
2344 MAC = HMAC
2345 Algorithm = SHA512
2346 Input = "Sample message for keylen=blocklen"
2347 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F
2348 Output = FC25E240658CA785B7A811A8D3F7B4CA48CFA26A8A366BF2CD1F836B05FCB024BD36853081811D6CEA4216EBAD79DA1CFCB95EA4586B8A0CE356596A55FB1347
2349 MAC = HMAC
2350 Algorithm = SHA512
2351 Input = "Sample message for keylen<blocklen"
2352 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F
2353 Output = FD44C18BDA0BB0A6CE0E82B031BF2818F6539BD56EC00BDC10A8A2D730B3634DE2545D639B0F2CF710D0692C72A1896F1F211C2B922D1A96C392E07E7EA9FEDC
2354 MAC = HMAC
2355 Algorithm = SHA512
2356 Input = "Sample message for keylen=blocklen"
2357 Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7
2358 Output = D93EC8D2DE1AD2A9957CB9B83F14E76AD6B5E0CCE285079A127D3B14BCCB7AA7286D4AC0D4CE64215F2BC9E6870B33D97438BE4AAA20CDA5C5A912B48B8E27F3
2359
2360 # CMAC tests from FIPS module
2361
2362 MAC = CMAC
2363 Algorithm = AES-128-CBC
2364 Key = 77A77FAF290C1FA30C683DF16BA7A77B
2365 Input = 020683E1F0392F4CAC54318B6029259E9C553DBC4B6AD998E64D58E4E7DC2E13
2366 Output = FBFEA41BF9740CB501F1292C21CEBB40
2367
2368 MAC = CMAC
2369 Algorithm = AES-192-CBC
2370 Key = 7B32391369AA4CA97558095BE3C3EC862BD057CEF1E32D62
2371 Input =
2372 Output = E4D9340B03E67DEFD4969CC1ED3735E6
2373
2374 MAC = CMAC
2375 Algorithm = AES-256-CBC
2376 Key = 0B122AC8F34ED1FE082A3625D157561454167AC145A10BBF77C6A70596D574F1
2377 Input = 498B53FDEC87EDCBF07097DCCDE93A084BAD7501A224E388DF349CE18959FE8485F8AD1537F0D896EA73BEDC7214713F
2378 Output = F62C46329B41085625669BAF51DEA66A
2379
2380 MAC = CMAC
2381 Algorithm = DES-EDE3-CBC
2382 Key = 89BCD952A8C8AB371AF48AC7D07085D5EFF702E6D62CDC23
2383 Input = FA620C1BBE97319E9A0CF0492121F7A20EB08A6A709DCBD00AAF38E4F99E754E
2384 Output = 8F49A1B7D6AA2258
2385
2386 # Public key algorithm tests
2387
2388 # Private keys used for PKEY operations.
2389
2390 # RSA 2048 bit key.
2391
2392 PrivateKey = RSA-2048
2393
2394 -----BEGIN PRIVATE KEY-----
2395 MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDNAIHqeyrh6gbV
2396 n3xz2f+5SglhXC5Lp8Y2zvCN01M+wxhVJbAVx2m5mnfWclv5w1Mqm25fZifV+4UW
2397 B2jT3anL01l0URcX3D0wnS/EfuQfl+Mq23+d2GShxHZ6Zm7NcbwarPXnUX9LOFlP
2398 6psF5C1a2pkSAIAT5FMWpNm7jtCGuI0odYusr5ItRqhotIXSOcm66w4rZFknEPQr
2399 LR6gpLSALAvsqzKPimiwBzvbVG/uqYCdKEmRKzkMFTK8finHZY+BdfrkbzQzL/h7
2400 yrPkBkm5hXeGnaDqcYNT8HInVIhpE2SHYNEivmduD8SD3SD/wxvalqMZZsmqLnWt
2401 A95H4cRPAgMBAAECggEAYCl6x5kbFnoG1rJHWLjL4gi+ubLZ7Jc4vYD5Ci41AF3X
2402 ziktnim6iFvTFv7x8gkTvArJDWsICLJBTYIQREHYYkozzgIzyPeApIs3Wv8C12cS
2403 IopwJITbP56+zM+77hcJ26GCgA2Unp5CFuC/81WDiPi9kNo3Oh2CdD7D+90UJ/0W
2404 glplejFpEuhpU2URfKL4RckJQF/KxV+JX8FdIDhsJu54yemQdQKaF4psHkzwwgDo
2405 qc+yfp0Vb4bmwq3CKxqEoc1cpbJ5CHXXlAfISzUjlcuBzD/tW7BDtp7eDAcgRVAC
2406 XO6MX0QBcLYSC7SOD3R7zY9SIRCFDfBDxCjf0YcFMQKBgQD2+WG0fLwDXTrt68fe
2407 hQqVa2Xs25z2B2QGPxWqSFU8WNly/mZ1BW413f3De/O58vYi7icTNyVoScm+8hdv
2408 6PfD+LuRujdN1TuvPeyBTSvewQwf3IjN0Wh28mse36PwlBl+301C/x+ylxEDuJjK
2409 hZxCcocIaoQqtBC7ac8tNa9r4wKBgQDUfnJKf/QQSLJwwlJKQQGHi3MVm7c9PbwY
2410 eyIOY1s1NPluJDoYTZP4YLa/u2txwe2aHh9FhYMCPDAelqaSwaCLU9DsnKkQEA2A
2411 RR47fcagG6xK7O+N95iEa8I1oIy7os9MBoBMwRIZ6VYIxxTj8UMNSR+tu6MqV1Gg
2412 T5d0WDTJpQKBgCHyRSu5uV39AoyRS/eZ8cp36JqV1Q08FtOE+EVfi9evnrPfo9WR
2413 2YQt7yNfdjCo5IwIj/ZkLhAXlFNakz4el2+oUJ/HKLLaDEoaCNf883q6rh/zABrK
2414 HcG7sF2d/7qhoJ9/se7zgjfZ68zHIrkzhDbd5xGREnmMJoCcGo3sQyBhAoGAH3UQ
2415 qmLC2N5KPFMoJ4H0HgLQ6LQCrnhDLkScSBEBYaEUA/AtAYgKjcyTgVLXlyGkcRpg
2416 esRHHr+WSBD5W+R6ReYEmeKfTJdzyDdzQE9gZjdyjC0DUbsDwybIu3OnIef6VEDq
2417 IXK7oUZfzDDcsNn4mTDoFaoff5cpqFfgDgM43VkCgYBNHw11b+d+AQmaZS9QqIt7
2418 aF3FvwCYHV0jdv0Mb+Kc1bY4c0R5MFpzrTwVmdOerjuuA1+9b+0Hwo3nBZM4eaBu
2419 SOamA2hu2OJWCl9q8fLCT69KqWDjghhvFe7c6aJJGucwaA3Uz3eLcPqoaCarMiNH
2420 fMkTd7GabVourqIZdgvu1Q==
2421 -----END PRIVATE KEY-----
2422
2423 # Corresponding public key
2424
2425 PublicKey = RSA-2048-PUBLIC
2426
2427 -----BEGIN PUBLIC KEY-----
2428 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzQCB6nsq4eoG1Z98c9n/
2429 uUoJYVwuS6fGNs7wjdNTPsMYVSWwFcdpuZp31nJb+cNTKptuX2Yn1fuFFgdo092p
2430 y9NZdFEXF9w9MJ0vxH7kH5fjKtt/ndhkocR2emZuzXG8Gqz151F/SzhZT+qbBeQt
2431 WtqZEgCAE+RTFqTZu47QhriNKHWLrK+SLUaoaLSF0jnJuusOK2RZJxD0Ky0eoKS0
2432 gCwL7Ksyj4posAc721Rv7qmAnShJkSs5DBUyvH4px2WPgXX65G80My/4e8qz5AZJ
2433 uYV3hp2g6nGDU/ByJ1SIaRNkh2DRIr5nbg/Eg90g/8Mb2pajGWbJqi51rQPeR+HE
2434 TwIDAQAB
2435 -----END PUBLIC KEY-----
2436
2437 # EC P-256 key
2438
2439 PrivateKey=P-256
2440
2441 -----BEGIN PRIVATE KEY-----
2442 MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgiocvtiiTxNH/xbnw
2443 +RdYBp+DUuCPoFpJ+NuSbLVyhyWhRANCAAQsFQ9CnOcPIWwlLPXgYs4fY5zV0WXH
2444 +JQkBywnGX14szuSDpXNtmTpkNzwz+oNlOKo5q+dDlgFbmUxBJJbn+bJ
2445 -----END PRIVATE KEY-----
2446
2447 # EC public key for above
2448
2449 PublicKey=P-256-PUBLIC
2450
2451 -----BEGIN PUBLIC KEY-----
2452 MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELBUPQpznDyFsJSz14GLOH2Oc1dFl
2453 x/iUJAcsJxl9eLM7kg6VzbZk6ZDc8M/qDZTiqOavnQ5YBW5lMQSSW5/myQ==
2454 -----END PUBLIC KEY-----
2455
2456 # Additional EC key for ECDH
2457 PrivateKey=P-256-Peer
2458 -----BEGIN PRIVATE KEY-----
2459 MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg/URzu1TDNwUFWZ3i
2460 dLISAZpEY0vfJ2pLB7f+Xnjyl2OhRANCAAQgBuXhSgeKpz+4piXlYSVLvy0NT+wK
2461 uZWUI3LqUUCV07wg+RLLMY8yNK9kjqcgZDs/cB+bet64nQq+dNnvtpxG
2462 -----END PRIVATE KEY-----
2463
2464 PublicKey=P-256-Peer-PUBLIC
2465 -----BEGIN PUBLIC KEY-----
2466 MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEIAbl4UoHiqc/uKYl5WElS78tDU/s
2467 CrmVlCNy6lFAldO8IPkSyzGPMjSvZI6nIGQ7P3Afm3reuJ0KvnTZ77acRg==
2468 -----END PUBLIC KEY-----
2469
2470 # DSA key
2471 PrivateKey=DSA-1024
2472
2473 -----BEGIN PRIVATE KEY-----
2474 MIIBSwIBADCCASwGByqGSM44BAEwggEfAoGBAO0SwRpkAeM21qSM5ch4CLEHpFk4
2475 19R5ve1UUr421y3HEUURsrVpxYKvyx8aOBQC/akz95cYxNN3y1JnJJMxPklhdJrJ
2476 f/WDYPxjMk8BqNJmeZtLuCVLKGwQomuo7ZkG955WRyLHYEdQ6uC7K2QTPKpW6psF
2477 YFaDYjAjSEKk2MFxAhUAykDkKLZdhPWzwM8/qYaE31VmWz0CgYEApNVF8oFK41ez
2478 Qci9XbSZJHyPB+3jML1YQkHxiiInaIz6GEFtjUbIUEYA/ovY+6ECNI1aIDHTd7CH
2479 woS0mp33oQYs43nt29B6UwbtMmbzCOQ9vGGwWVho+JtHyyPWrDuLmkvLtoQPaxYt
2480 6PVa3gncr2v3njcVuH+EQ6DuFR93zksEFgIUbyv6pqH+UQurernJn/7sUm2U2i0=
2481 -----END PRIVATE KEY-----
2482
2483 PublicKey=DSA-1024-PUBLIC
2484
2485 -----BEGIN PUBLIC KEY-----
2486 MIIBtzCCASwGByqGSM44BAEwggEfAoGBAO0SwRpkAeM21qSM5ch4CLEHpFk419R5
2487 ve1UUr421y3HEUURsrVpxYKvyx8aOBQC/akz95cYxNN3y1JnJJMxPklhdJrJf/WD
2488 YPxjMk8BqNJmeZtLuCVLKGwQomuo7ZkG955WRyLHYEdQ6uC7K2QTPKpW6psFYFaD
2489 YjAjSEKk2MFxAhUAykDkKLZdhPWzwM8/qYaE31VmWz0CgYEApNVF8oFK41ezQci9
2490 XbSZJHyPB+3jML1YQkHxiiInaIz6GEFtjUbIUEYA/ovY+6ECNI1aIDHTd7CHwoS0
2491 mp33oQYs43nt29B6UwbtMmbzCOQ9vGGwWVho+JtHyyPWrDuLmkvLtoQPaxYt6PVa
2492 3gncr2v3njcVuH+EQ6DuFR93zksDgYQAAoGAVXFwJ5wTuF0rQ6AWfTitm3/zUeRW
2493 SeKFo+Rg0GrBI+Wg2Tj+Yn6V8Xs+Xyjim1wsd2P6/BlJzCEr4nHjP9JcBICqM3vI
2494 9zCaT/vYsLD7/T7rF9AF/jV+LnkGJCzLbDYF04IkhtLNHOQob+Uc8PWB78e/1Lc4
2495 SzJw2oHciIOt+UU=
2496 -----END PUBLIC KEY-----
2497
2498 # RSA tests
2499
2500 Sign = RSA-2048
2501 Ctrl = digest:SHA1
2502 Input = "0123456789ABCDEF1234"
2503 Output = c09d402423cbf233d26cae21f954547bc43fe80fd41360a0336cfdbe9aedad05bef6fd2eaee6cd60089a52482d4809a238149520df3bdde4cb9e23d9307b05c0a6f327052325a29adf2cc95b66523be7024e2a585c3d4db15dfbe146efe0ecdc0402e33fe5d40324ee96c5c3edd374a15cdc0f5d84aa243c0f07e188c6518fbfceae158a9943be398e31097da81b62074f626eff738be6160741d5a26957a482b3251fd85d8df78b98148459de10aa93305dbb4a5230aa1da291a9b0e481918f99b7638d72bb687f97661d304ae145d64a474437a4ef39d7b8059332ddeb07e92bf6e0e3acaf8afedc93795e4511737ec1e7aab6d5bc9466afc950c1c17b48ad
2504
2505 Verify = RSA-2048
2506 Ctrl = digest:SHA1
2507 Input = "0123456789ABCDEF1234"
2508 Output = c09d402423cbf233d26cae21f954547bc43fe80fd41360a0336cfdbe9aedad05bef6fd2eaee6cd60089a52482d4809a238149520df3bdde4cb9e23d9307b05c0a6f327052325a29adf2cc95b66523be7024e2a585c3d4db15dfbe146efe0ecdc0402e33fe5d40324ee96c5c3edd374a15cdc0f5d84aa243c0f07e188c6518fbfceae158a9943be398e31097da81b62074f626eff738be6160741d5a26957a482b3251fd85d8df78b98148459de10aa93305dbb4a5230aa1da291a9b0e481918f99b7638d72bb687f97661d304ae145d64a474437a4ef39d7b8059332ddeb07e92bf6e0e3acaf8afedc93795e4511737ec1e7aab6d5bc9466afc950c1c17b48ad
2509
2510 # Digest too long
2511 Sign = RSA-2048
2512 Ctrl = digest:SHA1
2513 Input = "0123456789ABCDEF12345"
2514 Output = 00
2515 Result = KEYOP_ERROR
2516
2517 # Digest too short
2518 Sign = RSA-2048
2519 Ctrl = digest:SHA1
2520 Input = "0123456789ABCDEF12345"
2521 Output = 00
2522 Result = KEYOP_ERROR
2523
2524 # Mismatched digest
2525 Verify = RSA-2048
2526 Ctrl = digest:SHA1
2527 Input = "0123456789ABCDEF1233"
2528 Output = c09d402423cbf233d26cae21f954547bc43fe80fd41360a0336cfdbe9aedad05bef6fd2eaee6cd60089a52482d4809a238149520df3bdde4cb9e23d9307b05c0a6f327052325a29adf2cc95b66523be7024e2a585c3d4db15dfbe146efe0ecdc0402e33fe5d40324ee96c5c3edd374a15cdc0f5d84aa243c0f07e188c6518fbfceae158a9943be398e31097da81b62074f626eff738be6160741d5a26957a482b3251fd85d8df78b98148459de10aa93305dbb4a5230aa1da291a9b0e481918f99b7638d72bb687f97661d304ae145d64a474437a4ef39d7b8059332ddeb07e92bf6e0e3acaf8afedc93795e4511737ec1e7aab6d5bc9466afc950c1c17b48ad
2529 Result = VERIFY_ERROR
2530
2531 # Corrupted signature
2532 Verify = RSA-2048
2533 Ctrl = digest:SHA1
2534 Input = "0123456789ABCDEF1233"
2535 Output = c09d402423cbf233d26cae21f954547bc43fe80fd41360a0336cfdbe9aedad05bef6fd2eaee6cd60089a52482d4809a238149520df3bdde4cb9e23d9307b05c0a6f327052325a29adf2cc95b66523be7024e2a585c3d4db15dfbe146efe0ecdc0402e33fe5d40324ee96c5c3edd374a15cdc0f5d84aa243c0f07e188c6518fbfceae158a9943be398e31097da81b62074f626eff738be6160741d5a26957a482b3251fd85d8df78b98148459de10aa93305dbb4a5230aa1da291a9b0e481918f99b7638d72bb687f97661d304ae145d64a474437a4ef39d7b8059332ddeb07e92bf6e0e3acaf8afedc93795e4511737ec1e7aab6d5bc9466afc950c1c17b48ae
2536 Result = VERIFY_ERROR
2537
2538 # parameter is not NULL: should verify OK
2539 Verify = RSA-2048
2540 Ctrl = digest:sha1
2541 Input = "0123456789ABCDEF1234"
2542 Output = 3ec3fc29eb6e122bd7aa361cd09fe1bcbe85311096a7b9e4799cedfb2351ce0ab7fe4e75b4f6b37f67edd9c60c800f9ab941c0c157d7d880ca9de40c951d60fd293ae220d4bc510b1572d6e85a1bbbd8605b52e05f1c64fafdae59a1c2fbed214b7844d0134619de62851d5a0522e32e556e5950f3f97b8150e3f0dffee612c924201c27cd9bc8b423a71533380c276d3d59fcba35a2e80a1a192ec266a6c2255012cd86a349fe90a542b355fa3355b04da6cdf1df77f0e7bd44a90e880e1760266d233e465226f5db1c68857847d82072861ee266ddfc2e596845b77e1803274a579835ab5e4975d81d20b7df9cec7795489e4a2bdb8c1cf6a6b359945ac92c
2543
2544 # embedded digest too long
2545 Verify = RSA-2048
2546 Ctrl = digest:sha1
2547 Input = "0123456789ABCDEF1234"
2548 Output = afec9a0d5330a08f54283bb4a9d4e7e7e70fc1342336c4c766fba713f66970151c6e27413c48c33864ea45a0238787004f338ed3e21b53b0fe9c1151c42c388cbc7cba5a06b706c407a5b48324fbe994dc7afc3a19fb3d2841e66222596c14cd72a0f0a7455a019d8eb554f59c0183f9552b75aa96fee8bf935945e079ca283d2bd3534a86f11351f6d6181fbf433e5b01a6d1422145c7a72214d3aacdd5d3af12b2d6bf6438f9f9a64010d8aeed801c87f0859412b236150b86a545f7239be022f4a7ad246b59df87514294cb4a4c7c5a997ee53c66054d9f38ca4e76c1f7af83c30f737ef70f83a45aebe18238ddb95e1998814ca4fc72388f1533147c169d
2549 Result = VERIFY_ERROR
2550
2551 # embedded digest too short
2552 Verify = RSA-2048
2553 Ctrl = digest:sha1
2554 Input = "0123456789ABCDEF1234"
2555 Output = afec9a0d5330a08f54283bb4a9d4e7e7e70fc1342336c4c766fba713f66970151c6e27413c48c33864ea45a0238787004f338ed3e21b53b0fe9c1151c42c388cbc7cba5a06b706c407a5b48324fbe994dc7afc3a19fb3d2841e66222596c14cd72a0f0a7455a019d8eb554f59c0183f9552b75aa96fee8bf935945e079ca283d2bd3534a86f11351f6d6181fbf433e5b01a6d1422145c7a72214d3aacdd5d3af12b2d6bf6438f9f9a64010d8aeed801c87f0859412b236150b86a545f7239be022f4a7ad246b59df87514294cb4a4c7c5a997ee53c66054d9f38ca4e76c1f7af83c30f737ef70f83a45aebe18238ddb95e1998814ca4fc72388f1533147c169d
2556 Result = VERIFY_ERROR
2557
2558 # Garbage after DigestInfo
2559 Verify = RSA-2048
2560 Ctrl = digest:sha1
2561 Input = "0123456789ABCDEF1234"
2562 Output = 9ee34872d4271a7d8808af0a4052a145a6d6a8437d00da3ed14428c7f087cd39f4d43334c41af63e7fa1ba363fee7bcef401d9d36a662abbab55ce89a696e1be0dfa19a5d09ca617dd488787b6048baaefeb29bc8688b2fe3882de2b77c905b5a8b56cf9616041e5ec934ba6de863efe93acc4eef783fe7f72a00fa65d6093ed32bf98ce527e62ccb1d56317f4be18b7e0f55d7c36617d2d0678a306e3350956b662ac15df45215dd8f6b314babb9788e6c272fa461e4c9b512a11a4b92bc77c3a4c95c903fccb238794eca5c750477bf56ea6ee6a167367d881b485ae3889e7c489af8fdf38e0c0f2aed780831182e34abedd43c39281b290774bf35cc25274
2563 Result = VERIFY_ERROR
2564
2565 # invalid tag for parameter
2566 Verify = RSA-2048
2567 Ctrl = digest:sha1
2568 Input = "0123456789ABCDEF1234"
2569 Output = 49525db4d44c755e560cba980b1d85ea604b0e077fcadd4ba44072a3487bbddb835016200a7d8739cce2dc3223d9c20cbdd25059ab02277f1f21318efd18e21038ec89aa9d40680987129e8b41ba33bceb86518bdf47268b921cce2037acabca6575d832499538d6f40cdba0d40bd7f4d8ea6ca6e2eec87f294efc971407857f5d7db09f6a7b31e301f571c6d82a5e3d08d2bb3a36e673d28b910f5bec57f0fcc4d968fd7c94d0b9226dec17f5192ad8b42bcab6f26e1bea1fdc3b958199acb00f14ebcb2a352f3afcedd4c09000128a603bbeb9696dea13040445253972d46237a25c7845e3b464e6984c2348ea1f1210a9ff0b00d2d72b50db00c009bb39f9
2570 Result = VERIFY_ERROR
2571
2572 # Verify using public key
2573
2574 Verify = RSA-2048-PUBLIC
2575 Ctrl = digest:SHA1
2576 Input = "0123456789ABCDEF1234"
2577 Output = c09d402423cbf233d26cae21f954547bc43fe80fd41360a0336cfdbe9aedad05bef6fd2eaee6cd60089a52482d4809a238149520df3bdde4cb9e23d9307b05c0a6f327052325a29adf2cc95b66523be7024e2a585c3d4db15dfbe146efe0ecdc0402e33fe5d40324ee96c5c3edd374a15cdc0f5d84aa243c0f07e188c6518fbfceae158a9943be398e31097da81b62074f626eff738be6160741d5a26957a482b3251fd85d8df78b98148459de10aa93305dbb4a5230aa1da291a9b0e481918f99b7638d72bb687f97661d304ae145d64a474437a4ef39d7b8059332ddeb07e92bf6e0e3acaf8afedc93795e4511737ec1e7aab6d5bc9466afc950c1c17b48ad
2578
2579 # EC tests
2580
2581 Verify = P-256
2582 Ctrl = digest:SHA1
2583 Input = "0123456789ABCDEF1234"
2584 Output = 3045022100b1d1cb1a577035bccdd5a86c6148c2cc7c633cd42b7234139b593076d041e15202201898cdd52b41ca502098184b409cf83a21bc945006746e3b7cea52234e043ec8
2585
2586 # Digest too long
2587 Verify = P-256
2588 Ctrl = digest:SHA1
2589 Input = "0123456789ABCDEF12345"
2590 Output = 3045022100b1d1cb1a577035bccdd5a86c6148c2cc7c633cd42b7234139b593076d041e15202201898cdd52b41ca502098184b409cf83a21bc945006746e3b7cea52234e043ec8
2591 Result = VERIFY_ERROR
2592
2593 # Digest too short
2594 Verify = P-256
2595 Ctrl = digest:SHA1
2596 Input = "0123456789ABCDEF123"
2597 Output = 3045022100b1d1cb1a577035bccdd5a86c6148c2cc7c633cd42b7234139b593076d041e15202201898cdd52b41ca502098184b409cf83a21bc945006746e3b7cea52234e043ec8
2598 Result = VERIFY_ERROR
2599
2600 # Digest invalid
2601 Verify = P-256
2602 Ctrl = digest:SHA1
2603 Input = "0123456789ABCDEF1235"
2604 Output = 3045022100b1d1cb1a577035bccdd5a86c6148c2cc7c633cd42b7234139b593076d041e15202201898cdd52b41ca502098184b409cf83a21bc945006746e3b7cea52234e043ec8
2605 Result = VERIFY_ERROR
2606
2607 # Invalid signature
2608 Verify = P-256
2609 Ctrl = digest:SHA1
2610 Input = "0123456789ABCDEF1234"
2611 Output = 3045022100b1d1cb1a577035bccdd5a86c6148c2cc7c633cd42b7234139b593076d041e15202201898cdd52b41ca502098184b409cf83a21bc945006746e3b7cea52234e043ec7
2612 Result = VERIFY_ERROR
2613
2614 # Garbage after signature
2615 Verify = P-256
2616 Ctrl = digest:SHA1
2617 Input = "0123456789ABCDEF1234"
2618 Output = 3045022100b1d1cb1a577035bccdd5a86c6148c2cc7c633cd42b7234139b593076d041e15202201898cdd52b41ca502098184b409cf83a21bc945006746e3b7cea52234e043ec800
2619 Result = VERIFY_ERROR
2620
2621 # BER signature
2622 Verify = P-256
2623 Ctrl = digest:SHA1
2624 Input = "0123456789ABCDEF1234"
2625 Output = 3080022100b1d1cb1a577035bccdd5a86c6148c2cc7c633cd42b7234139b593076d041e15202201898cdd52b41ca502098184b409cf83a21bc945006746e3b7cea52234e043ec80000
2626 Result = VERIFY_ERROR
2627
2628 Verify = P-256-PUBLIC
2629 Ctrl = digest:SHA1
2630 Input = "0123456789ABCDEF1234"
2631 Output = 3045022100b1d1cb1a577035bccdd5a86c6148c2cc7c633cd42b7234139b593076d041e15202201898cdd52b41ca502098184b409cf83a21bc945006746e3b7cea52234e043ec8
2632
2633 # DSA tests
2634 Verify = DSA-1024
2635 Ctrl = digest:SHA1
2636 Input = "0123456789ABCDEF1234"
2637 Output = 302d021500942b8c5850e05b59e24495116b1e8559e51b610e0214237aedf272d91f2397f63c9fc8790e1a6cde5d87
2638
2639 Verify = DSA-1024-PUBLIC
2640 Ctrl = digest:SHA1
2641 Input = "0123456789ABCDEF1234"
2642 Output = 302d021500942b8c5850e05b59e24495116b1e8559e51b610e0214237aedf272d91f2397f63c9fc8790e1a6cde5d87
2643
2644 # Modified signature
2645 Verify = DSA-1024-PUBLIC
2646 Ctrl = digest:SHA1
2647 Input = "0123456789ABCDEF1234"
2648 Output = 302d021500942b8c5850e05b59e24495116b1e8559e51b610e0214237aedf272d91f2397f63c9fc8790e1a6cde5d88
2649 Result = VERIFY_ERROR
2650
2651 # Digest too short
2652 Verify = DSA-1024-PUBLIC
2653 Ctrl = digest:SHA1
2654 Input = "0123456789ABCDEF123"
2655 Output = 302d021500942b8c5850e05b59e24495116b1e8559e51b610e0214237aedf272d91f2397f63c9fc8790e1a6cde5d87
2656 Result = VERIFY_ERROR
2657
2658 # Digest too long
2659 Verify = DSA-1024-PUBLIC
2660 Ctrl = digest:SHA1
2661 Input = "0123456789ABCDEF12345"
2662 Output = 302d021500942b8c5850e05b59e24495116b1e8559e51b610e0214237aedf272d91f2397f63c9fc8790e1a6cde5d87
2663 Result = VERIFY_ERROR
2664
2665 # Garbage after signature
2666 Verify = DSA-1024-PUBLIC
2667 Input = "0123456789ABCDEF1234"
2668 Output = 302d021500942b8c5850e05b59e24495116b1e8559e51b610e0214237aedf272d91f2397f63c9fc8790e1a6cde5d8700
2669 Result = VERIFY_ERROR
2670
2671 # Invalid tag
2672 Verify = DSA-1024-PUBLIC
2673 Ctrl = digest:SHA1
2674 Input = "0123456789ABCDEF1234"
2675 Output = 312d021500942b8c5850e05b59e24495116b1e8559e51b610e0214237aedf272d91f2397f63c9fc8790e1a6cde5d87
2676 Result = VERIFY_ERROR
2677
2678 # BER signature
2679 Verify = DSA-1024-PUBLIC
2680 Ctrl = digest:SHA1
2681 Input = "0123456789ABCDEF1234"
2682 Output = 3080021500942b8c5850e05b59e24495116b1e8559e51b610e0214237aedf272d91f2397f63c9fc8790e1a6cde5d870000
2683 Result = VERIFY_ERROR
2684
2685 # scrypt tests from draft-josefsson-scrypt-kdf-03
2686 PBE = scrypt
2687 Password = ""
2688 Salt = ""
2689 N = 16
2690 r = 1
2691 p = 1
2692 Key = 77d6576238657b203b19ca42c18a0497f16b4844e3074ae8dfdffa3fede21442fcd0069ded0948f8326a753a0fc81f17e8d3e0fb2e0d3628cf35e20c38d18906
2693
2694 PBE = scrypt
2695 Password = "password"
2696 Salt = "NaCl"
2697 N = 1024
2698 r = 8
2699 p = 16
2700 Key = fdbabe1c9d3472007856e7190d01e9fe7c6ad7cbc8237830e77376634b3731622eaf30d92e22a3886ff109279d9830dac727afb94a83ee6d8360cbdfa2cc0640
2701
2702 PBE = scrypt
2703 Password = "pleaseletmein"
2704 Salt = "SodiumChloride"
2705 N = 16384
2706 r = 8
2707 p = 1
2708 Key = 7023bdcb3afd7348461c06cd81fd38ebfda8fbba904f8e3ea9b543f6545da1f2d5432955613f0fcf62d49705242a9af9e61e85dc0d651e40dfcf017b45575887
2709
2710 # NB: this test requires more than 1GB of memory to run so it will hit the
2711 # scrypt memory limit and return an error. To run this test without error
2712 # uncomment out the "maxmem" line and comment out the "Result"
2713 # line
2714 PBE = scrypt
2715 Password = "pleaseletmein"
2716 Salt = "SodiumChloride"
2717 N = 1048576
2718 r = 8
2719 p = 1
2720 Key = 2101cb9b6a511aaeaddbbe09cf70f881ec568d574a2ffd4dabe5ee9820adaa478e56fd8f4ba5d09ffa1c6d927c40f4c337304049e8a952fbcbf45c6fa77a41a4
2721 #maxmem = 10000000000
2722 Result = SCRYPT_ERROR
2723
2724 # PKCS#12 tests
2725
2726 PBE = pkcs12
2727 id = 1
2728 iter = 1
2729 MD = SHA1
2730 Password = 0073006D006500670000
2731 Salt = 0A58CF64530D823F
2732 Key = 8AAAE6297B6CB04642AB5B077851284EB7128F1A2A7FBCA3
2733
2734 PBE = pkcs12
2735 id = 2
2736 iter = 1
2737 MD = SHA1
2738 Password = 0073006D006500670000
2739 Salt = 0A58CF64530D823F
2740 Key = 79993DFE048D3B76
2741
2742 PBE = pkcs12
2743 id = 3
2744 iter 1
2745 MD = SHA1
2746 Password = 0073006D006500670000
2747 Salt = 3D83C0E4546AC140
2748 Key = 8D967D88F6CAA9D714800AB3D48051D63F73A312
2749
2750 PBE = pkcs12
2751 id = 1
2752 iter = 1000
2753 MD = SHA1
2754 Password = 007100750065006500670000
2755 Salt = 1682C0FC5B3F7EC5
2756 Key = 483DD6E919D7DE2E8E648BA8F862F3FBFBDC2BCB2C02957F
2757
2758 PBE = pkcs12
2759 id = 2
2760 iter = 1000
2761 MD = SHA1
2762 Password = 007100750065006500670000
2763 Salt = 1682C0FC5B3F7EC5
2764 Key = 9D461D1B00355C50
2765
2766 PBE = pkcs12
2767 id = 3
2768 iter = 1000
2769 MD = SHA1
2770 Password = 007100750065006500670000
2771 Salt = 263216FCC2FAB31C
2772 Key = 5EC4C7A80DF652294C3925B6489A7AB857C83476
2773
2774 # PBKDF2 tests from p5_crpt2_test.c
2775 PBE = pbkdf2
2776 Password = "password"
2777 Salt = "salt"
2778 iter = 1
2779 MD = sha1
2780 Key = 0c60c80f961f0e71f3a9b524af6012062fe037a6
2781
2782 PBE = pbkdf2
2783 Password = "password"
2784 Salt = "salt"
2785 iter = 1
2786 MD = sha256
2787 Key = 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b
2788
2789 PBE = pbkdf2
2790 Password = "password"
2791 Salt = "salt"
2792 iter = 1
2793 MD = sha512
2794 Key = 867f70cf1ade02cff3752599a3a53dc4af34c7a669815ae5d513554e1c8cf252c02d470a285a0501bad999bfe943c08f050235d7d68b1da55e63f73b60a57fce
2795
2796 PBE = pbkdf2
2797 Password = "password"
2798 Salt = "salt"
2799 iter = 2
2800 MD = sha1
2801 Key = ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957
2802
2803 PBE = pbkdf2
2804 Password = "password"
2805 Salt = "salt"
2806 iter = 2
2807 MD = sha256
2808 Key = ae4d0c95af6b46d32d0adff928f06dd02a303f8ef3c251dfd6e2d85a95474c43
2809
2810 PBE = pbkdf2
2811 Password = "password"
2812 Salt = "salt"
2813 iter = 2
2814 MD = sha512
2815 Key = e1d9c16aa681708a45f5c7c4e215ceb66e011a2e9f0040713f18aefdb866d53cf76cab2868a39b9f7840edce4fef5a82be67335c77a6068e04112754f27ccf4e
2816
2817 PBE = pbkdf2
2818 Password = "password"
2819 Salt = "salt"
2820 iter = 4096
2821 MD = sha1
2822 Key = 4b007901b765489abead49d926f721d065a429c1
2823
2824 PBE = pbkdf2
2825 Password = "password"
2826 Salt = "salt"
2827 iter = 4096
2828 MD = sha256
2829 Key = c5e478d59288c841aa530db6845c4c8d962893a001ce4e11a4963873aa98134a
2830
2831 PBE = pbkdf2
2832 Password = "password"
2833 Salt = "salt"
2834 iter = 4096
2835 MD = sha512
2836 Key = d197b1b33db0143e018b12f3d1d1479e6cdebdcc97c5c0f87f6902e072f457b5143f30602641b3d55cd335988cb36b84376060ecd532e039b742a239434af2d5
2837
2838 PBE = pbkdf2
2839 Password = "passwordPASSWORDpassword"
2840 Salt = "saltSALTsaltSALTsaltSALTsaltSALTsalt"
2841 iter = 4096
2842 MD = sha1
2843 Key = 3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038
2844
2845 PBE = pbkdf2
2846 Password = "passwordPASSWORDpassword"
2847 Salt = "saltSALTsaltSALTsaltSALTsaltSALTsalt"
2848 iter = 4096
2849 MD = sha256
2850 Key = 348c89dbcbd32b2f32d814b8116e84cf2b17347ebc1800181c4e2a1fb8dd53e1c635518c7dac47e9
2851
2852 PBE = pbkdf2
2853 Password = "passwordPASSWORDpassword"
2854 Salt = "saltSALTsaltSALTsaltSALTsaltSALTsalt"
2855 iter = 4096
2856 MD = sha512
2857 Key = 8c0511f4c6e597c6ac6315d8f0362e225f3c501495ba23b868c005174dc4ee71115b59f9e60cd9532fa33e0f75aefe30225c583a186cd82bd4daea9724a3d3b8
2858
2859 PBE = pbkdf2
2860 Password = 7061737300776f7264
2861 Salt = 7361006c74
2862 iter = 4096
2863 MD = sha1
2864 Key = 56fa6aa75548099dcc37d7f03425e0c3
2865
2866 PBE = pbkdf2
2867 Password = 7061737300776f7264
2868 Salt = 7361006c74
2869 iter = 4096
2870 MD = sha256
2871 Key = 89b69d0516f829893c696226650a8687
2872
2873 PBE = pbkdf2
2874 Password = 7061737300776f7264
2875 Salt = 7361006c74
2876 iter = 4096
2877 MD = sha512
2878 Key = 9d9e9c4cd21fe4be24d5b8244c759665
2879
2880 # Base64 tests
2881
2882 Encoding = canonical
2883 Input = ""
2884 Output = ""
2885
2886 Encoding = canonical
2887 Input = "h"
2888 Output = "aA==\n"
2889
2890 Encoding = canonical
2891 Input = "hello"
2892 Output = "aGVsbG8=\n"
2893
2894 Encoding = canonical
2895 Input = "hello world!"
2896 Output = "aGVsbG8gd29ybGQh\n"
2897
2898 Encoding = canonical
2899 Input = 00010203040506070809a0b0c0d0e0f000
2900 Output = "AAECAwQFBgcICaCwwNDg8AA=\n"
2901
2902 # Missing padding
2903 Encoding = invalid
2904 Output = "aGVsbG8"
2905
2906 Encoding = invalid
2907 Output = "aGVsbG8\n"
2908
2909 # Tolerate missing newline
2910 Encoding = valid
2911 Input = "hello"
2912 Output = "aGVsbG8="
2913
2914 # Don't tolerate extra trailing '='
2915 Encoding = invalid
2916 Input = "hello"
2917 Output = "aGVsbG8==\n"
2918
2919 Encoding = invalid
2920 Output = "aGVsbG8===\n"
2921
2922 # Don't tolerate data after '='
2923 Encoding = invalid
2924 Output = "aGV=sbG8=\n"
2925
2926 # Newlines are ignored
2927 Encoding = valid
2928 Input = "hello"
2929 Output = "aGV\nsbG8=\n"
2930
2931 Encoding = canonical
2932 Input = "hello"
2933 Output = 614756736247383d0a
2934
2935 # Invalid characters
2936 Encoding = invalid
2937 Output = 614756736247383d0a00
2938
2939 Encoding = invalid
2940 Output = 61475600736247383d0a
2941
2942 Encoding = invalid
2943 Output = 61475601736247383d0a
2944
2945 Encoding = invalid
2946 Output = 61475680736247383d0a
2947
2948 Encoding = invalid
2949 Output = e14756736247383d0a
2950
2951 Encoding = canonical
2952 Input = "OpenSSLOpenSSL\n"
2953 Output = "T3BlblNTTE9wZW5TU0wK\n"
2954
2955 Encoding = valid
2956 Input = "OpenSSLOpenSSL\n"
2957 Output = "T3BlblNTTE9wZW5TU0wK"
2958
2959 # Truncate 1-3 chars
2960 Encoding = invalid
2961 Output = "T3BlblNTTE9wZW5TU0w"
2962
2963 Encoding = invalid
2964 Output = "T3BlblNTTE9wZW5TU0"
2965
2966 Encoding = invalid
2967 Output = "T3BlblNTTE9wZW5TU"
2968
2969 Encoding = invalid
2970 Output = "T3BlblNTTE9wZW5TU0wK===="
2971
2972 Encoding = invalid
2973 Output = "T3BlblNTTE9wZW5TU0wK============================================\n"
2974
2975 Encoding = invalid
2976 Output = "YQ==YQ==YQ==\n"
2977
2978 Encoding = invalid
2979 Output = "A"
2980
2981 Encoding = invalid
2982 Output = "A\n"
2983
2984 Encoding = invalid
2985 Output = "A="
2986
2987 Encoding = invalid
2988 Output = "A==\n"
2989
2990 Encoding = invalid
2991 Output = "A===\n"
2992
2993 Encoding = invalid
2994 Output = "A====\n"
2995
2996 Encoding = valid
2997 Input = "OpenSSLOpenSSL\n"
2998 Output = "T3BlblNTTE9wZW5TU0wK\n\n"
2999
3000 Encoding = valid
3001 Input = "OpenSSLOpenSSL\n"
3002 Output = "T3BlblNTTE\n9wZW5TU0wK"
3003
3004 # CVE 2015-0292
3005 Encoding = invalid
3006 Output = "ZW5jb2RlIG1lCg==================================================================\n"
3007
3008 Encoding = canonical
3009 Input = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
3010 Output = "eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eA==\n"
3011
3012 Encoding = valid
3013 Input = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
3014 Output = "eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eA\n==\n"
3015
3016 Encoding = valid
3017 Input = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
3018 Output = "eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eA=\n=\n"
3019
3020 Encoding = invalid
3021 Output = "eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eA====\n"
3022
3023 # Multiline output without padding
3024 Encoding = canonical
3025 Input = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
3026 Output = "eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4\neHh4eHh4eHh4eHh4\n"
3027
3028 # Multiline output with padding
3029 Encoding = canonical
3030 Input = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
3031 Output = "eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4\neHh4eHh4eHh4eHh4eHh4eA==\n"
3032
3033 # Multiline output with line break in the middle of a b64 block is accepted
3034 Encoding = valid
3035 Input = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
3036 Output = "eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh\n4eHh4eHh4eHh4eHh4eHh4eA==\n"
3037
3038 # Long lines are accepted
3039 Encoding = valid
3040 Input = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
3041 Output = "eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eA==\n"
3042
3043 # Multiline input with data after '='.
3044 Encoding = invalid
3045 Output = "eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eA==\neHh4eHh4eHh4eHh4eHh4eHh4\n"
3046
3047 Encoding = invalid
3048 Output = "eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4\neA==eHh4eHh4eHh4eHh4eHh4\n"
3049
3050 # B64_EOF ('-') terminates input and trailing bytes are ignored
3051 Encoding = valid
3052 Input = "OpenSSLOpenSSL\n"
3053 Output = "T3BlblNTTE9wZW5TU0wK\n-abcd"
3054
3055 Encoding = valid
3056 Input = "OpenSSLOpenSSL\n"
3057 Output = "T3BlblNTTE9wZW5TU0wK-abcd"
3058
3059 Cipher = chacha20
3060 Key = 0000000000000000000000000000000000000000000000000000000000000000
3061 IV = 00000000000000000000000000000000
3062 Plaintext = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3063 Ciphertext = 76b8e0ada0f13d90405d6ae55386bd28bdd219b8a08ded1aa836efcc8b770dc7da41597c5157488d7724e03fb8d84a376a43b8f41518a11cc387b669b2ee6586
3064
3065 Cipher = chacha20
3066 Key = 0000000000000000000000000000000000000000000000000000000000000001
3067 IV = 00000000000000000000000000000000
3068 Plaintext = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3069 Ciphertext = 4540f05a9f1fb296d7736e7b208e3c96eb4fe1834688d2604f450952ed432d41bbe2a0b6ea7566d2a5d1e7e20d42af2c53d792b1c43fea817e9ad275ae546963
3070
3071 Cipher = chacha20
3072 Key = 0000000000000000000000000000000000000000000000000000000000000000
3073 IV = 00000000000000000000000000000001
3074 Plaintext = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3075 Ciphertext = de9cba7bf3d69ef5e786dc63973f653a0b49e015adbff7134fcb7df137821031e85a050278a7084527214f73efc7fa5b5277062eb7a0433e445f41e31afab757
3076
3077 Cipher = chacha20
3078 Key = 0000000000000000000000000000000000000000000000000000000000000000
3079 IV = 00000000000000000100000000000000
3080 Plaintext = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3081 Ciphertext = ef3fdfd6c61578fbf5cf35bd3dd33b8009631634d21e42ac33960bd138e50d32111e4caf237ee53ca8ad6426194a88545ddc497a0b466e7d6bbdb0041b2f586b
3082
3083 Cipher = chacha20
3084 Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
3085 IV = 00000000000000000001020304050607
3086 Plaintext = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3087 Ciphertext = f798a189f195e66982105ffb640bb7757f579da31602fc93ec01ac56f85ac3c134a4547b733b46413042c9440049176905d3be59ea1c53f15916155c2be8241a38008b9a26bc35941e2444177c8ade6689de95264986d95889fb60e84629c9bd9a5acb1cc118be563eb9b3a4a472f82e09a7e778492b562ef7130e88dfe031c79db9d4f7c7a899151b9a475032b63fc385245fe054e3dd5a97a5f576fe064025d3ce042c566ab2c507b138db853e3d6959660996546cc9c4a6eafdc777c040d70eaf46f76dad3979e5c5360c3317166a1c894c94a371876a94df7628fe4eaaf2ccb27d5aaae0ad7ad0f9d4b6ad3b54098746d4524d38407a6deb
3088
3089 Cipher = chacha20
3090 Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
3091 IV = 00000000000000000001020304050607
3092 Plaintext = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3093 Ciphertext = f798a189f195e66982105ffb640bb7757f579da31602fc93ec01ac56f85ac3c134a4547b733b46413042c9440049176905d3be59ea1c53f15916155c2be8241a38008b9a26bc35941e2444177c8ade6689de95264986d95889fb60e84629c9bd9a5acb1cc118be563eb9b3a4a472f82e09a7e778492b562ef7130e88dfe031c79db9d4f7c7a899151b9a475032b63fc385245fe054e3dd5a97a5f576fe064025d3ce042c566ab2c507b138db853e3d6959660996546cc9c4a6eafdc777c040d70eaf46f76dad3979e5c5360c3317166a1c894c94a371876a94df7628fe4eaaf2ccb27d5aaae0ad7ad0f9d4b6ad3b54098746d4524d38407a6deb3ab78fab78c9
3094
3095 Cipher = chacha20
3096 Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
3097 IV = 00000000000000000001020304050607
3098 Plaintext = 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3099 Ciphertext = f798a189f195e66982105ffb640bb7757f579da31602fc93ec01ac56f85ac3c134a4547b733b46413042c9440049176905d3be59ea1c53f15916155c2be8241a38008b9a26bc35941e2444177c8ade6689de95264986d95889fb60e84629c9bd9a5acb1cc118be563eb9b3a4a472f82e09a7e778492b562ef7130e88dfe031c79db9d4f7c7a899151b9a475032b63fc385245fe054e3dd5a97a5f576fe064025d3ce042c566ab2c507b138db853e3d6959660996546cc9c4a6eafdc777c040d70eaf46f76dad3979e5c5360c3317166a1c894c94a371876a94df7628fe4eaaf2ccb27d5aaae0ad7ad0f9d4b6ad3b54098746d4524d38407a6deb3ab78fab78c94213668bbbd394c5de93b853178addd6b97f9fa1ec3e56c00c9ddff0a44a204241175a4cab0f961ba53ede9bdf960b94f9829b1f3414726429b362c5b538e391520f489b7ed8d20ae3fd49e9e259e44397514d618c96c4846be3c680bdc11c71dcbbe29ccf80d62a0938fa549391e6ea57ecbe2606790ec15d2224ae307c144226b7c4e8c2f97d2a1d67852d29beba110edd445197012062a393a9c92803ad3b4f31d7bc6033ccf7932cfed3f019044d25905916777286f82f9a4cc1ffe430ffd1dcfc27deed327b9f9630d2fa969fb6f0603cd19dd9a9519e673bcfcd9014125291a44669ef7285e74ed3729b677f801c3cdf058c50963168b496043716c730
3100
3101 Cipher = chacha20
3102 Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
3103 IV = 00000000000000000001020304050607
3104 Plaintext = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3105 Ciphertext = f798a189f195e66982105ffb640bb7757f579da31602fc93ec01ac56f85ac3c134a4547b733b46413042c9440049176905d3be59ea1c53f15916155c2be8241a38008b9a26bc35941e2444177c8ade6689de95264986d95889fb60e84629c9bd9a5acb1cc118be563eb9b3a4a472f82e09a7e778492b562ef7130e88dfe031c79db9d4f7c7a899151b9a475032b63fc385245fe054e3dd5a97a5f576fe064025d3ce042c566ab2c507b138db853e3d6959660996546cc9c4a6eafdc777c040d70eaf46f76dad3979e5c5360c3317166a1c894c94a371876a94df7628fe4eaaf2ccb27d5aaae0ad7ad0f9d4b6ad3b54098746d4524d38407a6deb3ab78fab78c94213668bbbd394c5de93b853178addd6b97f9fa1ec3e56c00c9ddff0a44a204241175a4cab0f961ba53ede9bdf960b94f9829b1f3414726429b362c5b538e391520f489b7ed8d20ae3fd49e9e259e44397514d618c96c4846be3c680bdc11c71dcbbe29ccf80d62a0938fa549391e6ea57ecbe2606790ec15d2224ae307c144226b7c4e8c2f97d2a1d67852d29beba110edd445197012062a393a9c92803ad3b4f31d7bc6033ccf7932cfed3f019044d25905916777286f82f9a4cc1ffe430ffd1dcfc27deed327b9f9630d2fa969fb6f0603cd19dd9a9519e673bcfcd9014125291a44669ef7285e74ed3729b677f801c3cdf058c50963168b496043716c7307cd9e0cdd137fccb0f05b47cdbb95c5f54831622c3652a32b2531fe326bcd6e2bbf56a194fa196fbd1a54952110f51c73433865f7664b836685e3664b3d8444aF89A242805E18C975F1146324996FDE17007CF3E6E8F4E764022533EDBFE07D4733E48BB372D75B0EF48EC983EB78532161CC529E5ABB89837DFCCA6261DBB37
3106
3107 Cipher = chacha20
3108 Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
3109 IV = 00000000000000000001020304050607
3110 Plaintext = 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3111 Ciphertext = f798a189f195e66982105ffb640bb7757f579da31602fc93ec01ac56f85ac3c134a4547b733b46413042c9440049176905d3be59ea1c53f15916155c2be8241a38008b9a26bc35941e2444177c8ade6689de95264986d95889fb60e84629c9bd9a5acb1cc118be563eb9b3a4a472f82e09a7e778492b562ef7130e88dfe031c79db9d4f7c7a899151b9a475032b63fc385245fe054e3dd5a97a5f576fe064025d3ce042c566ab2c507b138db853e3d6959660996546cc9c4a6eafdc777c040d70eaf46f76dad3979e5c5360c3317166a1c894c94a371876a94df7628fe4eaaf2ccb27d5aaae0ad7ad0f9d4b6ad3b54098746d4524d38407a6deb3ab78fab78c94213668bbbd394c5de93b853178addd6b97f9fa1ec3e56c00c9ddff0a44a204241175a4cab0f961ba53ede9bdf960b94f9829b1f3414726429b362c5b538e391520f489b7ed8d20ae3fd49e9e259e44397514d618c96c4846be3c680bdc11c71dcbbe29ccf80d62a0938fa549391e6ea57ecbe2606790ec15d2224ae307c144226b7c4e8c2f97d2a1d67852d29beba110edd445197012062a393a9c92803ad3b4f31d7bc6033ccf7932cfed3f019044d25905916777286f82f9a4cc1ffe430ffd1dcfc27deed327b9f9630d2fa969fb6f0603cd19dd9a9519e673bcfcd9014125291a44669ef7285e74ed3729b677f801c3cdf058c50963168b496043716c7307cd9e0cdd137fccb0f05b47cdbb95c5f54831622c3652a32b2531fe326bcd6e2bbf56a194fa196fbd1a54952110f51c73433865f7664b836685e3664b3d8444a
3112
3113 Cipher = chacha20
3114 Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
3115 IV = 00000000000000000001020304050607
3116 Plaintext = 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3117 Ciphertext = f798a189f195e66982105ffb640bb7757f579da31602fc93ec01ac56f85ac3c134a4547b733b46413042c9440049176905d3be59ea1c53f15916155c2be8241a38008b9a26bc35941e2444177c8ade6689de95264986d95889fb60e84629c9bd9a5acb1cc118be563eb9b3a4a472f82e09a7e778492b562ef7130e88dfe031c79db9d4f7c7a899151b9a475032b63fc385245fe054e3dd5a97a5f576fe064025d3ce042c566ab2c507b138db853e3d6959660996546cc9c4a6eafdc777c040d70eaf46f76dad3979e5c5360c3317166a1c894c94a371876a94df7628fe4eaaf2ccb27d5aaae0ad7ad0f9d4b6ad3b54098746d4524d38407a6deb3ab78fab78c94213668bbbd394c5de93b853178addd6b97f9fa1ec3e56c00c9ddff0a44a204241175a4cab0f961ba53ede9bdf960b94f9829b1f3414726429b362c5b538e391520f489b7ed8d20ae3fd49e9e259e44397514d618c96c4846be3c680bdc11c71dcbbe29ccf80d62a0938fa549391e6ea57ecbe2606790ec15d2224ae307c144226b7c4e8c2f97d2a1d67852d29beba110edd445197012062a393a9c92803ad3b4f31d7bc6033ccf7932cfed3f019044d25905916777286f82f9a4cc1ffe430ffd1dcfc27deed327b9f9630d2fa969fb6f0603cd19dd9a9519e673bcfcd9014125291a44669ef7285e74ed3729b677f801c3cdf058c50963168b496043716c7307cd9e0cdd137fccb0f05b47cdbb95c5f54831622c3652a32b2531fe326bcd6e2bbf56a194fa196fbd1a54952110f51c73433865f7664b836685e3664b3d8444aF89A242805E18C975F1146324996FDE17007CF3E6E8F4E764022533EDBFE07D4733E48BB372D75B0EF48EC983EB78532161CC529E5ABB89837DFCCA6261DBB37C7C5E6A87478BF41EE85A518C0F4EFA9BDE828C5A71B8E46597B634AFD204D3C501334239C3414285ED72D3A9169EABBD4DC25D52BB7516D3BA712D75AD8C0AE
3118
3119 Cipher = chacha20
3120 Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
3121 IV = 00000000000000000001020304050607
3122 Plaintext = 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3123 Ciphertext = f798a189f195e66982105ffb640bb7757f579da31602fc93ec01ac56f85ac3c134a4547b733b46413042c9440049176905d3be59ea1c53f15916155c2be8241a38008b9a26bc35941e2444177c8ade6689de95264986d95889fb60e84629c9bd9a5acb1cc118be563eb9b3a4a472f82e09a7e778492b562ef7130e88dfe031c79db9d4f7c7a899151b9a475032b63fc385245fe054e3dd5a97a5f576fe064025d3ce042c566ab2c507b138db853e3d6959660996546cc9c4a6eafdc777c040d70eaf46f76dad3979e5c5360c3317166a1c894c94a371876a94df7628fe4eaaf2ccb27d5aaae0ad7ad0f9d4b6ad3b54098746d4524d38407a6deb3ab78fab78c94213668bbbd394c5de93b853178addd6b97f9fa1ec3e56c00c9ddff0a44a204241175a4cab0f961ba53ede9bdf960b94f9829b1f3414726429b362c5b538e391520f489b7ed8d20ae3fd49e9e259e44397514d618c96c4846be3c680bdc11c71dcbbe29ccf80d62a0938fa549391e6ea57ecbe2606790ec15d2224ae307c144226b7c4e8c2f97d2a1d67852d29beba110edd445197012062a393a9c92803ad3b4f31d7bc6033ccf7932cfed3f019044d25905916777286f82f9a4cc1ffe430ffd1dcfc27deed327b9f9630d2fa969fb6f0603cd19dd9a9519e673bcfcd9014125291a44669ef7285e74ed3729b677f801c3cdf058c50963168b496043716c7307cd9e0cdd137fccb0f05b47cdbb95c5f54831622c3652a32b2531fe326bcd6e2bbf56a194fa196fbd1a54952110f51c73433865f7664b836685e3664b3d8444aF89A242805E18C975F1146324996FDE17007CF3E6E8F4E764022533EDBFE07D4733E48BB372D75B0EF48EC983EB78532161CC529E5ABB89837DFCCA6261DBB37C7C5E6A87478BF41EE85A518C0F4EFA9BDE828C5A71B8E46597B634AFD204D3C501334239C3414285ED72D3A9169EABBD4DC25D52BB7516D3BA712D75AD8C0AE5D493C19E38A77939E7A058D713E9CCCCA58045F436B434B1C80D365472406E392951987DB6905C80D431DA18451135BE7E82BCAB358CB3971E61405B2FF1798
3124
3125 Cipher = chacha20
3126 Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
3127 IV = 00000000000000000001020304050607
3128 Plaintext = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3129 Ciphertext = f798a189f195e66982105ffb640bb7757f579da31602fc93ec01ac56f85ac3c134a4547b733b46413042c9440049176905d3be59ea1c53f15916155c2be8241a38008b9a26bc35941e2444177c8ade6689de95264986d95889fb60e84629c9bd9a5acb1cc118be563eb9b3a4a472f82e09a7e778492b562ef7130e88dfe031c79db9d4f7c7a899151b9a475032b63fc385245fe054e3dd5a97a5f576fe064025d3ce042c566ab2c507b138db853e3d6959660996546cc9c4a6eafdc777c040d70eaf46f76dad3979e5c5360c3317166a1c894c94a371876a94df7628fe4eaaf2ccb27d5aaae0ad7ad0f9d4b6ad3b54098746d4524d38407a6deb3ab78fab78c94213668bbbd394c5de93b853178addd6b97f9fa1ec3e56c00c9ddff0a44a204241175a4cab0f961ba53ede9bdf960b94f9829b1f3414726429b362c5b538e391520f489b7ed8d20ae3fd49e9e259e44397514d618c96c4846be3c680bdc11c71dcbbe29ccf80d62a0938fa549391e6ea57ecbe2606790ec15d2224ae307c144226b7c4e8c2f97d2a1d67852d29beba110edd445197012062a393a9c92803ad3b4f31d7bc6033ccf7932cfed3f019044d25905916777286f82f9a4cc1ffe430ffd1dcfc27deed327b9f9630d2fa969fb6f0603cd19dd9a9519e673bcfcd9014125291a44669ef7285e74ed3729b677f801c3cdf058c50963168b496043716c7307cd9e0cdd137fccb0f05b47cdbb95c5f54831622c3652a32b2531fe326bcd6e2bbf56a194fa196fbd1a54952110f51c73433865f7664b836685e3664b3d8444aF89A242805E18C975F1146324996FDE17007CF3E6E8F4E764022533EDBFE07D4733E48BB372D75B0EF48EC983EB78532161CC529E5ABB89837DFCCA6261DBB37C7C5E6A87478BF41EE85A518C0F4EFA9BDE828C5A71B8E46597B634AFD204D3C501334239C3414285ED72D3A9169EABBD4DC25D52BB7516D3BA712D75AD8C0AE5D493C19E38A77939E7A058D713E9CCCCA58045F436B434B1C80D365472406E392951987DB6905C80D431DA18451135BE7E82BCAB358CB3971E61405B2FF17980D6E7E67E861E28201C1EE30B441040FD06878D65042C95582A4318207BFC700BE0CE32889AEC2FFE5085E8967910D879FA0E8C0FF85FDC510B9FF2FBF87CFCB
3130
3131 Cipher = chacha20
3132 Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
3133 IV = 00000000000000000001020304050607
3134 Plaintext = 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3135 Ciphertext = f798a189f195e66982105ffb640bb7757f579da31602fc93ec01ac56f85ac3c134a4547b733b46413042c9440049176905d3be59ea1c53f15916155c2be8241a38008b9a26bc35941e2444177c8ade6689de95264986d95889fb60e84629c9bd9a5acb1cc118be563eb9b3a4a472f82e09a7e778492b562ef7130e88dfe031c79db9d4f7c7a899151b9a475032b63fc385245fe054e3dd5a97a5f576fe064025d3ce042c566ab2c507b138db853e3d6959660996546cc9c4a6eafdc777c040d70eaf46f76dad3979e5c5360c3317166a1c894c94a371876a94df7628fe4eaaf2ccb27d5aaae0ad7ad0f9d4b6ad3b54098746d4524d38407a6deb3ab78fab78c94213668bbbd394c5de93b853178addd6b97f9fa1ec3e56c00c9ddff0a44a204241175a4cab0f961ba53ede9bdf960b94f9829b1f3414726429b362c5b538e391520f489b7ed8d20ae3fd49e9e259e44397514d618c96c4846be3c680bdc11c71dcbbe29ccf80d62a0938fa549391e6ea57ecbe2606790ec15d2224ae307c144226b7c4e8c2f97d2a1d67852d29beba110edd445197012062a393a9c92803ad3b4f31d7bc6033ccf7932cfed3f019044d25905916777286f82f9a4cc1ffe430ffd1dcfc27deed327b9f9630d2fa969fb6f0603cd19dd9a9519e673bcfcd9014125291a44669ef7285e74ed3729b677f801c3cdf058c50963168b496043716c7307cd9e0cdd137fccb0f05b47cdbb95c5f54831622c3652a32b2531fe326bcd6e2bbf56a194fa196fbd1a54952110f51c73433865f7664b836685e3664b3d8444aF89A242805E18C975F1146324996FDE17007CF3E6E8F4E764022533EDBFE07D4733E48BB372D75B0EF48EC983EB78532161CC529E5ABB89837DFCCA6261DBB37C7C5E6A87478BF41EE85A518C0F4EFA9BDE828C5A71B8E46597B634AFD204D3C501334239C3414285ED72D3A9169EABBD4DC25D52BB7516D3BA712D75AD8C0AE5D493C19E38A77939E7A058D713E9CCCCA58045F436B434B1C80D365472406E392951987DB6905C80D431DA18451135BE7E82BCAB358CB3971E61405B2FF17980D6E7E67E861E28201C1EE30B441040FD06878D65042C95582A4318207BFC700BE0CE32889AEC2FFE5085E8967910D879FA0E8C0FF85FDC510B9FF2FBF87CFCB29577D68099E04FFA05F752A73D377C70D3A8BC2DA80E6E780EC057182C33AD1DE387252258A1E18E6FAD910327CE7F42FD1E1E0515F9586E2F2EFCB9F472B1D
3136
3137 Cipher = chacha20
3138 Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
3139 IV = 00000000000000000001020304050607
3140 Plaintext = 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3141 Ciphertext = f798a189f195e66982105ffb640bb7757f579da31602fc93ec01ac56f85ac3c134a4547b733b46413042c9440049176905d3be59ea1c53f15916155c2be8241a38008b9a26bc35941e2444177c8ade6689de95264986d95889fb60e84629c9bd9a5acb1cc118be563eb9b3a4a472f82e09a7e778492b562ef7130e88dfe031c79db9d4f7c7a899151b9a475032b63fc385245fe054e3dd5a97a5f576fe064025d3ce042c566ab2c507b138db853e3d6959660996546cc9c4a6eafdc777c040d70eaf46f76dad3979e5c5360c3317166a1c894c94a371876a94df7628fe4eaaf2ccb27d5aaae0ad7ad0f9d4b6ad3b54098746d4524d38407a6deb3ab78fab78c94213668bbbd394c5de93b853178addd6b97f9fa1ec3e56c00c9ddff0a44a204241175a4cab0f961ba53ede9bdf960b94f9829b1f3414726429b362c5b538e391520f489b7ed8d20ae3fd49e9e259e44397514d618c96c4846be3c680bdc11c71dcbbe29ccf80d62a0938fa549391e6ea57ecbe2606790ec15d2224ae307c144226b7c4e8c2f97d2a1d67852d29beba110edd445197012062a393a9c92803ad3b4f31d7bc6033ccf7932cfed3f019044d25905916777286f82f9a4cc1ffe430ffd1dcfc27deed327b9f9630d2fa969fb6f0603cd19dd9a9519e673bcfcd9014125291a44669ef7285e74ed3729b677f801c3cdf058c50963168b496043716c7307cd9e0cdd137fccb0f05b47cdbb95c5f54831622c3652a32b2531fe326bcd6e2bbf56a194fa196fbd1a54952110f51c73433865f7664b836685e3664b3d8444aF89A242805E18C975F1146324996FDE17007CF3E6E8F4E764022533EDBFE07D4733E48BB372D75B0EF48EC983EB78532161CC529E5ABB89837DFCCA6261DBB37C7C5E6A87478BF41EE85A518C0F4EFA9BDE828C5A71B8E46597B634AFD204D3C501334239C3414285ED72D3A9169EABBD4DC25D52BB7516D3BA712D75AD8C0AE5D493C19E38A77939E7A058D713E9CCCCA58045F436B434B1C80D365472406E392951987DB6905C80D431DA18451135BE7E82BCAB358CB3971E61405B2FF17980D6E7E67E861E28201C1EE30B441040FD06878D65042C95582A4318207BFC700BE0CE32889AEC2FFE5085E8967910D879FA0E8C0FF85FDC510B9FF2FBF87CFCB29577D68099E04FFA05F752A73D377C70D3A8BC2DA80E6E780EC057182C33AD1DE387252258A1E18E6FAD910327CE7F42FD1E1E0515F9586E2F2EFCB9F472B1DBDBAC354A4162151E9D92C79FB08BB4DDC56F19448C0175A46E2E6C491FEC71419AA43A349BEA768A92C75DE68FD9591E68067F3197094D3FB87ED81785EA075
3142
3143 Cipher = chacha20
3144 Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
3145 IV = 00000000000000000001020304050607
3146 Plaintext = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3147 Ciphertext = f798a189f195e66982105ffb640bb7757f579da31602fc93ec01ac56f85ac3c134a4547b733b46413042c9440049176905d3be59ea1c53f15916155c2be8241a38008b9a26bc35941e2444177c8ade6689de95264986d95889fb60e84629c9bd9a5acb1cc118be563eb9b3a4a472f82e09a7e778492b562ef7130e88dfe031c79db9d4f7c7a899151b9a475032b63fc385245fe054e3dd5a97a5f576fe064025d3ce042c566ab2c507b138db853e3d6959660996546cc9c4a6eafdc777c040d70eaf46f76dad3979e5c5360c3317166a1c894c94a371876a94df7628fe4eaaf2ccb27d5aaae0ad7ad0f9d4b6ad3b54098746d4524d38407a6deb3ab78fab78c94213668bbbd394c5de93b853178addd6b97f9fa1ec3e56c00c9ddff0a44a204241175a4cab0f961ba53ede9bdf960b94f9829b1f3414726429b362c5b538e391520f489b7ed8d20ae3fd49e9e259e44397514d618c96c4846be3c680bdc11c71dcbbe29ccf80d62a0938fa549391e6ea57ecbe2606790ec15d2224ae307c144226b7c4e8c2f97d2a1d67852d29beba110edd445197012062a393a9c92803ad3b4f31d7bc6033ccf7932cfed3f019044d25905916777286f82f9a4cc1ffe430ffd1dcfc27deed327b9f9630d2fa969fb6f0603cd19dd9a9519e673bcfcd9014125291a44669ef7285e74ed3729b677f801c3cdf058c50963168b496043716c7307cd9e0cdd137fccb0f05b47cdbb95c5f54831622c3652a32b2531fe326bcd6e2bbf56a194fa196fbd1a54952110f51c73433865f7664b836685e3664b3d8444aF89A242805E18C975F1146324996FDE17007CF3E6E8F4E764022533EDBFE07D4733E48BB372D75B0EF48EC983EB78532161CC529E5ABB89837DFCCA6261DBB37C7C5E6A87478BF41EE85A518C0F4EFA9BDE828C5A71B8E46597B634AFD204D3C501334239C3414285ED72D3A9169EABBD4DC25D52BB7516D3BA712D75AD8C0AE5D493C19E38A77939E7A058D713E9CCCCA58045F436B434B1C80D365472406E392951987DB6905C80D431DA18451135BE7E82BCAB358CB3971E61405B2FF17980D6E7E67E861E28201C1EE30B441040FD06878D65042C95582A4318207BFC700BE0CE32889AEC2FFE5085E8967910D879FA0E8C0FF85FDC510B9FF2FBF87CFCB29577D68099E04FFA05F752A73D377C70D3A8BC2DA80E6E780EC057182C33AD1DE387252258A1E18E6FAD910327CE7F42FD1E1E0515F9586E2F2EFCB9F472B1DBDBAC354A4162151E9D92C79FB08BB4DDC56F19448C0175A46E2E6C491FEC71419AA43A349BEA768A92C75DE68FD9591E68067F3197094D3FB87ED81785EA075E4B65E3E4C78F81DA9B751C5EFE024152301C48E63245B556C4C67AFF857E5EA15A908D83A1D9704F8E55E7352B20B694BF9970298E6B5AAD33EA2155D105D4E
3148
3149 Cipher = chacha20
3150 Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
3151 IV = 00000000000000000001020304050607
3152 Plaintext = 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3153 Ciphertext = f798a189f195e66982105ffb640bb7757f579da31602fc93ec01ac56f85ac3c134a4547b733b46413042c9440049176905d3be59ea1c53f15916155c2be8241a38008b9a26bc35941e2444177c8ade6689de95264986d95889fb60e84629c9bd9a5acb1cc118be563eb9b3a4a472f82e09a7e778492b562ef7130e88dfe031c79db9d4f7c7a899151b9a475032b63fc385245fe054e3dd5a97a5f576fe064025d3ce042c566ab2c507b138db853e3d6959660996546cc9c4a6eafdc777c040d70eaf46f76dad3979e5c5360c3317166a1c894c94a371876a94df7628fe4eaaf2ccb27d5aaae0ad7ad0f9d4b6ad3b54098746d4524d38407a6deb3ab78fab78c94213668bbbd394c5de93b853178addd6b97f9fa1ec3e56c00c9ddff0a44a204241175a4cab0f961ba53ede9bdf960b94f9829b1f3414726429b362c5b538e391520f489b7ed8d20ae3fd49e9e259e44397514d618c96c4846be3c680bdc11c71dcbbe29ccf80d62a0938fa549391e6ea57ecbe2606790ec15d2224ae307c144226b7c4e8c2f97d2a1d67852d29beba110edd445197012062a393a9c92803ad3b4f31d7bc6033ccf7932cfed3f019044d25905916777286f82f9a4cc1ffe430ffd1dcfc27deed327b9f9630d2fa969fb6f0603cd19dd9a9519e673bcfcd9014125291a44669ef7285e74ed3729b677f801c3cdf058c50963168b496043716c7307cd9e0cdd137fccb0f05b47cdbb95c5f54831622c3652a32b2531fe326bcd6e2bbf56a194fa196fbd1a54952110f51c73433865f7664b836685e3664b3d8444aF89A242805E18C975F1146324996FDE17007CF3E6E8F4E764022533EDBFE07D4733E48BB372D75B0EF48EC983EB78532161CC529E5ABB89837DFCCA6261DBB37C7C5E6A87478BF41EE85A518C0F4EFA9BDE828C5A71B8E46597B634AFD204D3C501334239C3414285ED72D3A9169EABBD4DC25D52BB7516D3BA712D75AD8C0AE5D493C19E38A77939E7A058D713E9CCCCA58045F436B434B1C80D365472406E392951987DB6905C80D431DA18451135BE7E82BCAB358CB3971E61405B2FF17980D6E7E67E861E28201C1EE30B441040FD06878D65042C95582A4318207BFC700BE0CE32889AEC2FFE5085E8967910D879FA0E8C0FF85FDC510B9FF2FBF87CFCB29577D68099E04FFA05F752A73D377C70D3A8BC2DA80E6E780EC057182C33AD1DE387252258A1E18E6FAD910327CE7F42FD1E1E0515F9586E2F2EFCB9F472B1DBDBAC354A4162151E9D92C79FB08BB4DDC56F19448C0175A46E2E6C491FEC71419AA43A349BEA768A92C75DE68FD9591E68067F3197094D3FB87ED81785EA075E4B65E3E4C78F81DA9B751C5EFE024152301C48E63245B556C4C67AFF857E5EA15A908D83A1D9704F8E55E7352B20B694BF9970298E6B5AAD33EA2155D105D4E637D1E87C40A8E5F4E8C5A16A4B8F3DC27B31721D77A65FD1ED6F86BE25FB95DB29B1988493770A7C60E451FF97DD241A236851FC425691979FE30226559AD95
3154
3155 # RFC7539
3156 Cipher = chacha20-poly1305
3157 Key = 808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f
3158 IV = 070000004041424344454647
3159 AAD = 50515253c0c1c2c3c4c5c6c7
3160 Tag = 1ae10b594f09e26a7e902ecbd0600691
3161 Plaintext = 4c616469657320616e642047656e746c656d656e206f662074686520636c617373206f66202739393a204966204920636f756c64206f6666657220796f75206f6e6c79206f6e652074697020666f7220746865206675747572652c2073756e73637265656e20776f756c642062652069742e
3162 Ciphertext = d31a8d34648e60db7b86afbc53ef7ec2a4aded51296e08fea9e2b5a736ee62d63dbea45e8ca9671282fafb69da92728b1a71de0a9e060b2905d6a5b67ecd3b3692ddbd7f2d778b8c9803aee328091b58fab324e4fad675945585808b4831d7bc3ff4def08e4b7a9de576d26586cec64b6116
3163
3164 Cipher = chacha20-poly1305
3165 Key = 1c9240a5eb55d38af333888604f6b5f0473917c1402b80099dca5cbc207075c0
3166 IV = 000000000102030405060708
3167 AAD = f33388860000000000004e91
3168 Tag = eead9d67890cbb22392336fea1851f38
3169 Plaintext = 496e7465726e65742d4472616674732061726520647261667420646f63756d656e74732076616c696420666f722061206d6178696d756d206f6620736978206d6f6e74687320616e64206d617920626520757064617465642c207265706c616365642c206f72206f62736f6c65746564206279206f7468657220646f63756d656e747320617420616e792074696d652e20497420697320696e617070726f70726961746520746f2075736520496e7465726e65742d447261667473206173207265666572656e6365206d6174657269616c206f7220746f2063697465207468656d206f74686572207468616e206173202fe2809c776f726b20696e2070726f67726573732e2fe2809d
3170 Ciphertext = 64a0861575861af460f062c79be643bd5e805cfd345cf389f108670ac76c8cb24c6cfc18755d43eea09ee94e382d26b0bdb7b73c321b0100d4f03b7f355894cf332f830e710b97ce98c8a84abd0b948114ad176e008d33bd60f982b1ff37c8559797a06ef4f0ef61c186324e2b3506383606907b6a7c02b0f9f6157b53c867e4b9166c767b804d46a59b5216cde7a4e99040c5a40433225ee282a1b0a06c523eaf4534d7f83fa1155b0047718cbc546a0d072b04b3564eea1b422273f548271a0bb2316053fa76991955ebd63159434ecebb4e466dae5a1073a6727627097a1049e617d91d361094fa68f0ff77987130305beaba2eda04df997b714d6c6f2c29a6ad5cb4022b02709b
3171
3172 # TLS1 PRF tests, from NIST test vectors
3173
3174 KDF=TLS1-PRF
3175 Ctrl.md = md:MD5-SHA1
3176 Ctrl.Secret = hexsecret:bded7fa5c1699c010be23dd06ada3a48349f21e5f86263d512c0c5cc379f0e780ec55d9844b2f1db02a96453513568d0
3177 Ctrl.label = seed:master secret
3178 Ctrl.client_random = hexseed:e5acaf549cd25c22d964c0d930fa4b5261d2507fad84c33715b7b9a864020693
3179 Ctrl.server_random = hexseed:135e4d557fdf3aa6406d82975d5c606a9734c9334b42136e96990fbd5358cdb2
3180 Output = 2f6962dfbc744c4b2138bb6b3d33054c5ecc14f24851d9896395a44ab3964efc2090c5bf51a0891209f46c1e1e998f62
3181
3182 KDF=TLS1-PRF
3183 Ctrl.md = md:MD5-SHA1
3184 Ctrl.Secret = hexsecret:2f6962dfbc744c4b2138bb6b3d33054c5ecc14f24851d9896395a44ab3964efc2090c5bf51a0891209f46c1e1e998f62
3185 Ctrl.label = seed:key expansion
3186 Ctrl.server_random = hexseed:67267e650eb32444119d222a368c191af3082888dc35afe8368e638c828874be
3187 Ctrl.client_random = hexseed:d58a7b1cd4fedaa232159df652ce188f9d997e061b9bf48e83b62990440931f6
3188 Output = 3088825988e77fce68d19f756e18e43eb7fe672433504feaf99b3c503d9091b164f166db301d70c9fc0870b4a94563907bee1a61fb786cb717576890bcc51cb9ead97e01d0a2fea99c953377b195205ff07b369589178796edc963fd80fdbe518a2fc1c35c18ae8d
3189
3190 KDF=TLS1-PRF
3191 Ctrl.md = md:SHA256
3192 Ctrl.Secret = hexsecret:f8938ecc9edebc5030c0c6a441e213cd24e6f770a50dda07876f8d55da062bcadb386b411fd4fe4313a604fce6c17fbc
3193 Ctrl.label = seed:master secret
3194 Ctrl.client_random = hexseed:36c129d01a3200894b9179faac589d9835d58775f9b5ea3587cb8fd0364cae8c
3195 Ctrl.server_random = hexseed:f6c9575ed7ddd73e1f7d16eca115415812a43c2b747daaaae043abfb50053fce
3196 Output = 202c88c00f84a17a20027079604787461176455539e705be730890602c289a5001e34eeb3a043e5d52a65e66125188bf
3197
3198 KDF=TLS1-PRF
3199 Ctrl.md = md:SHA256
3200 Ctrl.Secret = hexsecret:202c88c00f84a17a20027079604787461176455539e705be730890602c289a5001e34eeb3a043e5d52a65e66125188bf
3201 Ctrl.label = seed:key expansion
3202 Ctrl.server_random = hexseed:ae6c806f8ad4d80784549dff28a4b58fd837681a51d928c3e30ee5ff14f39868
3203 Ctrl.client_random = hexseed:62e1fd91f23f558a605f28478c58cf72637b89784d959df7e946d3f07bd1b616
3204 Output = d06139889fffac1e3a71865f504aa5d0d2a2e89506c6f2279b670c3e1b74f531016a2530c51a3a0f7e1d6590d0f0566b2f387f8d11fd4f731cdd572d2eae927f6f2f81410b25e6960be68985add6c38445ad9f8c64bf8068bf9a6679485d966f1ad6f68b43495b10a683755ea2b858d70ccac7ec8b053c6bd41ca299d4e51928
3205
3206 # Missing digest.
3207 KDF=TLS1-PRF
3208 Ctrl.Secret = hexsecret:01
3209 Ctrl.Seed = hexseed:02
3210 Output = 03
3211 Result = KDF_DERIVE_ERROR
3212
3213 # Missing secret.
3214 KDF=TLS1-PRF
3215 Ctrl.md = md:MD5-SHA1
3216 Ctrl.Seed = hexseed:02
3217 Output = 03
3218 Result = KDF_DERIVE_ERROR
3219
3220 # HKDF tests, from RFC5869 test vectors
3221
3222 KDF = HKDF
3223 Ctrl.md = md:SHA256
3224 Ctrl.IKM = hexkey:0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b
3225 Ctrl.salt = hexsalt:000102030405060708090a0b0c
3226 Ctrl.info = hexinfo:f0f1f2f3f4f5f6f7f8f9
3227 Output = 3cb25f25faacd57a90434f64d0362f2a2d2d0a90cf1a5a4c5db02d56ecc4c5bf34007208d5b887185865
3228
3229 KDF = HKDF
3230 Ctrl.md = md:SHA256
3231 Ctrl.IKM = hexkey:000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f
3232 Ctrl.salt = hexsalt:606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeaf
3233 Ctrl.info = hexinfo:b0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
3234 Output = b11e398dc80327a1c8e7f78c596a49344f012eda2d4efad8a050cc4c19afa97c59045a99cac7827271cb41c65e590e09da3275600c2f09b8367793a9aca3db71cc30c58179ec3e87c14c01d5c1f3434f1d87
3235
3236 KDF = HKDF
3237 Ctrl.md = md:SHA256
3238 Ctrl.IKM = hexkey:0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b
3239 Ctrl.salt = salt:
3240 Ctrl.info = info:
3241 Output = 8da4e775a563c18f715f802a063c5a31b8a11f5c5ee1879ec3454e5f3c738d2d9d201395faa4b61a96c8
3242
3243 KDF = HKDF
3244 Ctrl.md = md:SHA1
3245 Ctrl.IKM = hexkey:0b0b0b0b0b0b0b0b0b0b0b
3246 Ctrl.salt = hexsalt:000102030405060708090a0b0c
3247 Ctrl.info = hexinfo:f0f1f2f3f4f5f6f7f8f9
3248 Output = 085a01ea1b10f36933068b56efa5ad81a4f14b822f5b091568a9cdd4f155fda2c22e422478d305f3f896
3249
3250 KDF = HKDF
3251 Ctrl.md = md:SHA1
3252 Ctrl.IKM = hexkey:000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f
3253 Ctrl.salt = hexsalt:606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeaf
3254 Ctrl.info = hexinfo:b0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
3255 Output = 0bd770a74d1160f7c9f12cd5912a06ebff6adcae899d92191fe4305673ba2ffe8fa3f1a4e5ad79f3f334b3b202b2173c486ea37ce3d397ed034c7f9dfeb15c5e927336d0441f4c4300e2cff0d0900b52d3b4
3256
3257 KDF = HKDF
3258 Ctrl.md = md:SHA1
3259 Ctrl.IKM = hexkey:0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b
3260 Ctrl.salt = salt:
3261 Ctrl.info = info:
3262 Output = 0ac1af7002b3d761d1e55298da9d0506b9ae52057220a306e07b6b87e8df21d0ea00033de03984d34918
3263
3264 KDF = HKDF
3265 Ctrl.md = md:SHA1
3266 Ctrl.IKM = hexkey:0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c
3267 Ctrl.salt = salt:
3268 Ctrl.info = info:
3269 Output = 2c91117204d745f3500d636a62f64f0ab3bae548aa53d423b0d1f27ebba6f5e5673a081d70cce7acfc48
3270
3271 KDF = HKDF
3272 Ctrl.IKM = hexkey:0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c
3273 Ctrl.salt = salt:
3274 Ctrl.info = info:
3275 Output = 00
3276 Result = KDF_DERIVE_ERROR
3277
3278 KDF = HKDF
3279 Ctrl.md = md:SHA1
3280 Ctrl.salt = salt:
3281 Ctrl.info = info:
3282 Output = 00
3283 Result = KDF_DERIVE_ERROR
3284
3285 KDF = HKDF
3286 Ctrl.md = md:SHA1
3287 Ctrl.IKM = hexkey:0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c
3288 Ctrl.info = info:
3289 Output = 2c91117204d745f3500d636a62f64f0ab3bae548aa53d423b0d1f27ebba6f5e5673a081d70cce7acfc48
3290
3291 KDF = HKDF
3292 Ctrl.md = md:SHA1
3293 Ctrl.IKM = hexkey:0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c
3294 Ctrl.salt = salt:
3295 Output = 2c91117204d745f3500d636a62f64f0ab3bae548aa53d423b0d1f27ebba6f5e5673a081d70cce7acfc48
3296
3297 # ECDH tests
3298
3299 Derive=P-256
3300 PeerKey=P-256-Peer-PUBLIC
3301 SharedSecret=E3CC07DFBDDE76A1139811DB9FF5FAF9D17EF39944F1E77D1F6A208524BF7B1B
3302
3303 Derive=P-256-Peer
3304 PeerKey=P-256-PUBLIC
3305 SharedSecret=E3CC07DFBDDE76A1139811DB9FF5FAF9D17EF39944F1E77D1F6A208524BF7B1B
3306
3307 # X25519 test vectors from RFC7748 6.1
3308 PrivateKey=Alice-25519
3309 -----BEGIN PRIVATE KEY-----
3310 MEICAQAwFAYHKoZIzj0CAQYJKwYBBAHaRw8BBCcwJQIBAQQgdwdtCnMYpX08FsFy
3311 UbJmRd9ML4frwJkqsXf7pR25LCo=
3312 -----END PRIVATE KEY-----
3313 PublicKey=Alice-25519-PUBLIC
3314 -----BEGIN PUBLIC KEY-----
3315 MDkwFAYHKoZIzj0CAQYJKwYBBAHaRw8BAyEAhSDwCYkwp1R0i33ctD73Wg2/Og0m
3316 OBr066SpjqqbTmo=
3317 -----END PUBLIC KEY-----
3318 PrivateKey=Bob-25519
3319 -----BEGIN PRIVATE KEY-----
3320 MEICAQAwFAYHKoZIzj0CAQYJKwYBBAHaRw8BBCcwJQIBAQQgXasIfmJKikt54X+L
3321 g4AO5m87sSkmGLb9HC+LJ/+I4Os=
3322 -----END PRIVATE KEY-----
3323 PublicKey=Bob-25519-PUBLIC
3324 -----BEGIN PUBLIC KEY-----
3325 MDkwFAYHKoZIzj0CAQYJKwYBBAHaRw8BAyEA3p7bfXt9wbTTW2HC7OQ1Nz+DQ8hb
3326 eGdNrfx+FG+IK08=
3327 -----END PUBLIC KEY-----
3328
3329 Derive=Alice-25519
3330 PeerKey=Bob-25519-PUBLIC
3331 SharedSecret=4A5D9D5BA4CE2DE1728E3BF480350F25E07E21C947D19E3376F09B3C1E161742
3332
3333 Derive=Bob-25519
3334 PeerKey=Alice-25519-PUBLIC
3335 SharedSecret=4A5D9D5BA4CE2DE1728E3BF480350F25E07E21C947D19E3376F09B3C1E161742
3336 # Try to sign/verify using X25519 keys: both return errors.
3337 Sign = Alice-25519
3338 Ctrl = digest:SHA256
3339 Input = "0123456789ABCDEF1234"
3340 Output = 30
3341 Result = KEYOP_ERROR
3342
3343 Verify = Alice-25519-PUBLIC
3344 Ctrl = digest:SHA256
3345 Input = "0123456789ABCDEF1234"
3346 Output = 30
3347 Result = VERIFY_ERROR