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