Package list libcryptx-perl / 8725765
updated wycheproof .json test cases Karel Miko 2 years ago
65 changed file(s) with 221350 addition(s) and 9808 deletion(s). Raw diff Collapse all Expand all
4141 "wap-wsg-idm-ecid-wtls6" => 'secp112r1',
4242 "wap-wsg-idm-ecid-wtls7" => 'secp160r2',
4343 "wap-wsg-idm-ecid-wtls12" => 'secp224r1',
44 # extra aliases
45 'P-256K' => 'secp256k1',
4446 );
4547
4648 our %curve_oid2name = ( # must be "our" as we use it from XS code
8688 '1.2.840.10045.3.1.1' => 'P-192', # secp192r1
8789 '1.3.132.0.33' => 'P-224', # secp224r1
8890 '1.2.840.10045.3.1.7' => 'P-256', # secp256r1
91 '1.3.132.0.10' => 'P-256K',# secp256k1
8992 '1.3.132.0.34' => 'P-384', # secp384r1
9093 '1.3.132.0.35' => 'P-521', # secp521r1
9194 'nistp192' => 'P-192',
98101 'secp192r1' => 'P-192',
99102 'secp224r1' => 'P-224',
100103 'secp256r1' => 'P-256',
104 'secp256k1' => 'P-256K',
101105 'secp384r1' => 'P-384',
102106 'secp521r1' => 'P-521',
103107 );
0 * https://github.com/google/wycheproof
1 * testvectors/*.json
0 {
1 "algorithm" : "AES-CBC-PKCS5",
2 "generatorVersion" : "0.4.12",
3 "notes" : {
4 "BadPadding" : "The ciphertext in this test vector is the message encrypted with an invalid or unexpected padding. This allows to find implementations that are not properly checking the padding during decryption."
5 },
6 "numberOfTests" : 183,
7 "header" : [],
8 "testGroups" : [
9 {
10 "ivSize" : 128,
11 "keySize" : 128,
12 "type" : "IndCpaTest",
13 "tests" : [
14 {
15 "tcId" : 1,
16 "comment" : "empty message",
17 "key" : "e34f15c7bd819930fe9d66e0c166e61c",
18 "iv" : "da9520f7d3520277035173299388bee2",
19 "msg" : "",
20 "ct" : "b10ab60153276941361000414aed0a9d",
21 "result" : "valid",
22 "flags" : []
23 },
24 {
25 "tcId" : 2,
26 "comment" : "message size divisible by block size",
27 "key" : "e09eaa5a3f5e56d279d5e7a03373f6ea",
28 "iv" : "c9ee3cd746bf208c65ca9e72a266d54f",
29 "msg" : "ef4eab37181f98423e53e947e7050fd0",
30 "ct" : "d1fa697f3e2e04d64f1a0da203813ca5bc226a0b1d42287b2a5b994a66eaf14a",
31 "result" : "valid",
32 "flags" : []
33 },
34 {
35 "tcId" : 3,
36 "comment" : "message size divisible by block size",
37 "key" : "9bd3902ed0996c869b572272e76f3889",
38 "iv" : "8b2e86a9a185cfa6f51c7cc595b822bc",
39 "msg" : "a7ba19d49ee1ea02f098aa8e30c740d893a4456ccc294040484ed8a00a55f93e",
40 "ct" : "514cbc69aced506926deacdeb0cc0a5a07d540f65d825b65c7db0075cf930a06e0124ae598461cab0b3251baa853e377",
41 "result" : "valid",
42 "flags" : []
43 },
44 {
45 "tcId" : 4,
46 "comment" : "message size divisible by block size",
47 "key" : "75ce184447cada672e02290310d224f7",
48 "iv" : "2717d10eb2eea3b39ec257e43307a260",
49 "msg" : "c774810a31a6421ad8eaafd5c22fa2455e2c167fee4a0b73ff927b2d96c69da1e939407b86b1c19bcfc69c434c3cf8a2",
50 "ct" : "137c824d7f7dc36f24216dde37c2e1c10cee533f6453de92e44b898fc3037d2e9e19d67a96387136dd9717a56e28614a5c177158f402ce2936fd98d1feb6a817",
51 "result" : "valid",
52 "flags" : []
53 },
54 {
55 "tcId" : 5,
56 "comment" : "small plaintext size",
57 "key" : "e1e726677f4893890f8c027f9d8ef80d",
58 "iv" : "155fd397579b0b5d991d42607f2cc9ad",
59 "msg" : "3f",
60 "ct" : "599d77aca16910b42d8b4ac9560efe1b",
61 "result" : "valid",
62 "flags" : []
63 },
64 {
65 "tcId" : 6,
66 "comment" : "small plaintext size",
67 "key" : "b151f491c4c006d1f28214aa3da9a985",
68 "iv" : "4eb836be6808db264cb1111a3283b394",
69 "msg" : "27d9",
70 "ct" : "74e20bf03a0ad4b49edc86a1b19c3d1d",
71 "result" : "valid",
72 "flags" : []
73 },
74 {
75 "tcId" : 7,
76 "comment" : "small plaintext size",
77 "key" : "c36ff15f72777ee21deec07b63c1a0cd",
78 "iv" : "a8446c27ea9068d8d924d5c4eac91157",
79 "msg" : "50b428",
80 "ct" : "3f7a26558ba51cf352219d34c46907ae",
81 "result" : "valid",
82 "flags" : []
83 },
84 {
85 "tcId" : 8,
86 "comment" : "small plaintext size",
87 "key" : "32b9c5c78c3a0689a86052420fa1e8fc",
88 "iv" : "ef026d27da3702d7bb72e5e364a8f8f2",
89 "msg" : "0b9262ec",
90 "ct" : "c29d1463baccc558fd720c897da5bb98",
91 "result" : "valid",
92 "flags" : []
93 },
94 {
95 "tcId" : 9,
96 "comment" : "small plaintext size",
97 "key" : "43151bbaef367277ebfc97509d0aa49c",
98 "iv" : "c9defd3929dcd6c355c144e9750dd869",
99 "msg" : "eaa91273e7",
100 "ct" : "e24a717914f9cc8eaa1dc96f7840d6af",
101 "result" : "valid",
102 "flags" : []
103 },
104 {
105 "tcId" : 10,
106 "comment" : "small plaintext size",
107 "key" : "481440298525cc261f8159159aedf62d",
108 "iv" : "ce91e0454b0123f1ead0f158826459e9",
109 "msg" : "6123c556c5cc",
110 "ct" : "f080e487f4e5b7aed793ea95ffe4bb30",
111 "result" : "valid",
112 "flags" : []
113 },
114 {
115 "tcId" : 11,
116 "comment" : "small plaintext size",
117 "key" : "9ca26eb88731efbf7f810d5d95e196ac",
118 "iv" : "1cb7bc8fe00523e7743d3cd9f483d6fe",
119 "msg" : "7e48f06183aa40",
120 "ct" : "27cadee413ed901f51c9366d731d95f6",
121 "result" : "valid",
122 "flags" : []
123 },
124 {
125 "tcId" : 12,
126 "comment" : "small plaintext size",
127 "key" : "48f0d03e41cc55c4b58f737b5acdea32",
128 "iv" : "a345f084229dbfe0ceab6c6939571532",
129 "msg" : "f4a133aa6d5985a0",
130 "ct" : "59bf12427b51a3aee0c9d3c540d04d24",
131 "result" : "valid",
132 "flags" : []
133 },
134 {
135 "tcId" : 13,
136 "comment" : "small plaintext size",
137 "key" : "1c958849f31996b28939ce513087d1be",
138 "iv" : "e5b6f73f132355b7be7d977bea068dfc",
139 "msg" : "b0d2fee11b8e2f86b7",
140 "ct" : "1a0a18355f8ca4e6e2cf31da18d070da",
141 "result" : "valid",
142 "flags" : []
143 },
144 {
145 "tcId" : 14,
146 "comment" : "small plaintext size",
147 "key" : "39de0ebea97c09b2301a90009a423253",
148 "iv" : "c7cd10ca949ea03e7d4ba204b69e09b8",
149 "msg" : "81e5c33b4c620852f044",
150 "ct" : "cef498ea61715a27f400418d1d5bfbf0",
151 "result" : "valid",
152 "flags" : []
153 },
154 {
155 "tcId" : 15,
156 "comment" : "small plaintext size",
157 "key" : "91656d8fc0aced60ddb1c4006d0dde53",
158 "iv" : "bb8c9af30821dfeb7124392a554d9f01",
159 "msg" : "7b3e440fe566790064b2ec",
160 "ct" : "7ab43ddc45835ce40d2280bcea6a63f2",
161 "result" : "valid",
162 "flags" : []
163 },
164 {
165 "tcId" : 16,
166 "comment" : "small plaintext size",
167 "key" : "af7d5134720b5386158d51ea126e7cf9",
168 "iv" : "54c3b90ca6e933f9094334d0263d3775",
169 "msg" : "7cc6fcc925c20f3c83b5567c",
170 "ct" : "c70b457c945ad40895cf4c8be3ce7c66",
171 "result" : "valid",
172 "flags" : []
173 },
174 {
175 "tcId" : 17,
176 "comment" : "small plaintext size",
177 "key" : "4ed56753de6f75a032ebabca3ce27971",
178 "iv" : "9a2c5e91d4f0b9b9da64b46c5c2c8cb2",
179 "msg" : "0c8c0f5619d9f8da5339281285",
180 "ct" : "f9900afee2acfe63f8f15d81bbf64c39",
181 "result" : "valid",
182 "flags" : []
183 },
184 {
185 "tcId" : 18,
186 "comment" : "small plaintext size",
187 "key" : "beba50c936b696c15e25046dffb23a64",
188 "iv" : "cf7951501104e1434309e6b936ec1742",
189 "msg" : "821ea8532fbabffb6e3d212e9b46",
190 "ct" : "da4137bd8ac78e75a700b3de806f2d6f",
191 "result" : "valid",
192 "flags" : []
193 },
194 {
195 "tcId" : 19,
196 "comment" : "small plaintext size",
197 "key" : "501d81ebf912ddb87fbe3b7aac1437bc",
198 "iv" : "90f5cf4fbfd2e2a1ab8eef402617bd5c",
199 "msg" : "2368e3c3636b5e8e94d2081adbf798",
200 "ct" : "fed05321d11d978e2ec32527ecfce06c",
201 "result" : "valid",
202 "flags" : []
203 },
204 {
205 "tcId" : 20,
206 "comment" : "plaintext size > 16",
207 "key" : "831e664c9e3f0c3094c0b27b9d908eb2",
208 "iv" : "54f2459e40e002763144f4752cde2fb5",
209 "msg" : "26603bb76dd0a0180791c4ed4d3b058807",
210 "ct" : "8d55dc10584e243f55d2bdbb5758b7fabcd58c8d3785f01c7e3640b2a1dadcd9",
211 "result" : "valid",
212 "flags" : []
213 },
214 {
215 "tcId" : 21,
216 "comment" : "plaintext size > 16",
217 "key" : "cbffc6c8c7f76f46349c32d666f4efb0",
218 "iv" : "088e01c2c65b26e7ad6af7b92ea09d73",
219 "msg" : "6df067add738195fd55ac2e76b476971b9a0e6d8",
220 "ct" : "e9199842355ea0c3dbf1b2a94fef1c802a95d024df9e407883cf5bf1f02c3cdc",
221 "result" : "valid",
222 "flags" : []
223 },
224 {
225 "tcId" : 22,
226 "comment" : "plaintext size > 16",
227 "key" : "fda6a01194beb462953d7e6c49b32dac",
228 "iv" : "d9c9468796a2f5741b84d2d41430c5d3",
229 "msg" : "f60ae3b036abcab78c98fc1d4b67970c0955cb6fe24483f8907fd73319679b",
230 "ct" : "19beb4db2be0f3aff0083583038b2281a77c85b5f345ba4d2bc7f742a14f9247",
231 "result" : "valid",
232 "flags" : []
233 },
234 {
235 "tcId" : 23,
236 "comment" : "plaintext size > 16",
237 "key" : "efd9caa8ac68e9e29acdae57e93bcea8",
238 "iv" : "c98b47808add45c0c891983ec4b09846",
239 "msg" : "3e1d2001f1e475b972738936443a5f51eedaf802a66fadf2406cfaadb0549149fcb9f485e534dc2d",
240 "ct" : "84904fc92bd2e7590aa268e667370327b9446f41067dd40d3e5091a63a0d5687e4926e00cc3cb461c3b85d80ee2da818",
241 "result" : "valid",
242 "flags" : []
243 },
244 {
245 "tcId" : 24,
246 "comment" : "plaintext size > 16",
247 "key" : "37e4dbdc436258d5a9adb9f205c77cf3",
248 "iv" : "08e9410de244d3f40607ebae38fa74e7",
249 "msg" : "24a874aec067116ad22eb55846ded3f5e86919a135585c929a86d92b2958fed110e52e33804887243584a6a94402cc9a105e0c940ec335bd2890f16dcce3fc8bd02873c80ade6f1ac08683130bcca454",
250 "ct" : "1d1391593a336be4b207295ad0542bc4ef2f39053066e12c38f71603f377fd42f4f0b2b5a42cdfeaee2af039f06fcf347abe171af3157ff07f3cdd3b33e11a60caecf9890325c132eeb66ab847278d165c26bca7c30486bb2fd83b63c5ff7ae0",
251 "result" : "valid",
252 "flags" : []
253 },
254 {
255 "tcId" : 25,
256 "comment" : "zero padding",
257 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
258 "iv" : "23468aa734f5f0f19827316ff168e94f",
259 "msg" : "",
260 "ct" : "aa62606a287476777b92d8e4c4e53028",
261 "result" : "invalid",
262 "flags" : [
263 "BadPadding"
264 ]
265 },
266 {
267 "tcId" : 26,
268 "comment" : "zero padding",
269 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
270 "iv" : "23468aa734f5f0f19827316ff168e94f",
271 "msg" : "6162636465666768",
272 "ct" : "ada437b682c92384b6c23ec10a21b3d8",
273 "result" : "invalid",
274 "flags" : [
275 "BadPadding"
276 ]
277 },
278 {
279 "tcId" : 27,
280 "comment" : "zero padding",
281 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
282 "iv" : "23468aa734f5f0f19827316ff168e94f",
283 "msg" : "303132333435363738396162636465",
284 "ct" : "26c5b3e540ee3dd6b52d14afd01a44f8",
285 "result" : "invalid",
286 "flags" : [
287 "BadPadding"
288 ]
289 },
290 {
291 "tcId" : 28,
292 "comment" : "zero padding",
293 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
294 "iv" : "23468aa734f5f0f19827316ff168e94f",
295 "msg" : "30313233343536373839414243444546",
296 "ct" : "fbcbdfdaaf17980be939c0b243266ecbc0deb417e98aba3ee12fea2921f8ae51",
297 "result" : "invalid",
298 "flags" : [
299 "BadPadding"
300 ]
301 },
302 {
303 "tcId" : 29,
304 "comment" : "zero padding",
305 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
306 "iv" : "23468aa734f5f0f19827316ff168e94f",
307 "msg" : "3031323334353637383941424344454647",
308 "ct" : "fbcbdfdaaf17980be939c0b243266ecb1188ff22f6563f6173440547d1e0dfd8",
309 "result" : "invalid",
310 "flags" : [
311 "BadPadding"
312 ]
313 },
314 {
315 "tcId" : 30,
316 "comment" : "padding with 0xff",
317 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
318 "iv" : "23468aa734f5f0f19827316ff168e94f",
319 "msg" : "",
320 "ct" : "726570a34cea08139d9f836579102a0e",
321 "result" : "invalid",
322 "flags" : [
323 "BadPadding"
324 ]
325 },
326 {
327 "tcId" : 31,
328 "comment" : "padding with 0xff",
329 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
330 "iv" : "23468aa734f5f0f19827316ff168e94f",
331 "msg" : "6162636465666768",
332 "ct" : "c8ef7ac3fd659ce7157d72a25f0a5048",
333 "result" : "invalid",
334 "flags" : [
335 "BadPadding"
336 ]
337 },
338 {
339 "tcId" : 32,
340 "comment" : "padding with 0xff",
341 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
342 "iv" : "23468aa734f5f0f19827316ff168e94f",
343 "msg" : "303132333435363738396162636465",
344 "ct" : "6123c889bbc766acd4bca4cb982f9978",
345 "result" : "invalid",
346 "flags" : [
347 "BadPadding"
348 ]
349 },
350 {
351 "tcId" : 33,
352 "comment" : "padding with 0xff",
353 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
354 "iv" : "23468aa734f5f0f19827316ff168e94f",
355 "msg" : "30313233343536373839414243444546",
356 "ct" : "fbcbdfdaaf17980be939c0b243266ecb442cd16f7410fca70924b573f7967e84",
357 "result" : "invalid",
358 "flags" : [
359 "BadPadding"
360 ]
361 },
362 {
363 "tcId" : 34,
364 "comment" : "padding with 0xff",
365 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
366 "iv" : "23468aa734f5f0f19827316ff168e94f",
367 "msg" : "3031323334353637383941424344454647",
368 "ct" : "fbcbdfdaaf17980be939c0b243266ecbb20f899b0e7c1d65b931af94b5c44c25",
369 "result" : "invalid",
370 "flags" : [
371 "BadPadding"
372 ]
373 },
374 {
375 "tcId" : 35,
376 "comment" : "bit padding",
377 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
378 "iv" : "23468aa734f5f0f19827316ff168e94f",
379 "msg" : "",
380 "ct" : "50aeed98a820c5a037a5aa4d4ef3090b",
381 "result" : "invalid",
382 "flags" : [
383 "BadPadding"
384 ]
385 },
386 {
387 "tcId" : 36,
388 "comment" : "bit padding",
389 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
390 "iv" : "23468aa734f5f0f19827316ff168e94f",
391 "msg" : "6162636465666768",
392 "ct" : "25ee339006f948f42713543c62467ef9",
393 "result" : "invalid",
394 "flags" : [
395 "BadPadding"
396 ]
397 },
398 {
399 "tcId" : 37,
400 "comment" : "bit padding",
401 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
402 "iv" : "23468aa734f5f0f19827316ff168e94f",
403 "msg" : "303132333435363738396162636465",
404 "ct" : "97914574676ed5b8db0b6f3931195b3f",
405 "result" : "invalid",
406 "flags" : [
407 "BadPadding"
408 ]
409 },
410 {
411 "tcId" : 38,
412 "comment" : "bit padding",
413 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
414 "iv" : "23468aa734f5f0f19827316ff168e94f",
415 "msg" : "30313233343536373839414243444546",
416 "ct" : "fbcbdfdaaf17980be939c0b243266ecb2874a1e2d28dd18e5573df9fd59fd789",
417 "result" : "invalid",
418 "flags" : [
419 "BadPadding"
420 ]
421 },
422 {
423 "tcId" : 39,
424 "comment" : "bit padding",
425 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
426 "iv" : "23468aa734f5f0f19827316ff168e94f",
427 "msg" : "3031323334353637383941424344454647",
428 "ct" : "fbcbdfdaaf17980be939c0b243266ecbb547c4fddbdcd3e02f438a2e48587594",
429 "result" : "invalid",
430 "flags" : [
431 "BadPadding"
432 ]
433 },
434 {
435 "tcId" : 40,
436 "comment" : "padding longer than 1 block",
437 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
438 "iv" : "23468aa734f5f0f19827316ff168e94f",
439 "msg" : "",
440 "ct" : "d17ccbb26f0aa95f397b20063547349bac24c5429cbea591e96595cccc11451b",
441 "result" : "invalid",
442 "flags" : [
443 "BadPadding"
444 ]
445 },
446 {
447 "tcId" : 41,
448 "comment" : "padding longer than 1 block",
449 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
450 "iv" : "23468aa734f5f0f19827316ff168e94f",
451 "msg" : "6162636465666768",
452 "ct" : "fc07025e81d43efa85f92afdf8781b1e88598e12d6812df43733e93414b9e901",
453 "result" : "invalid",
454 "flags" : [
455 "BadPadding"
456 ]
457 },
458 {
459 "tcId" : 42,
460 "comment" : "padding longer than 1 block",
461 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
462 "iv" : "23468aa734f5f0f19827316ff168e94f",
463 "msg" : "303132333435363738396162636465",
464 "ct" : "deb1746f4e9e0be4a21825b071b6e93303031651e0c59091e2ae0fbcce11b987",
465 "result" : "invalid",
466 "flags" : [
467 "BadPadding"
468 ]
469 },
470 {
471 "tcId" : 43,
472 "comment" : "padding longer than 1 block",
473 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
474 "iv" : "23468aa734f5f0f19827316ff168e94f",
475 "msg" : "30313233343536373839414243444546",
476 "ct" : "fbcbdfdaaf17980be939c0b243266ecb563d35096fde10ccb6f768438c9eb4ec90f399b76924c716e9f94143263306c6",
477 "result" : "invalid",
478 "flags" : [
479 "BadPadding"
480 ]
481 },
482 {
483 "tcId" : 44,
484 "comment" : "padding longer than 1 block",
485 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
486 "iv" : "23468aa734f5f0f19827316ff168e94f",
487 "msg" : "3031323334353637383941424344454647",
488 "ct" : "fbcbdfdaaf17980be939c0b243266ecbc8fd2e2c5362acf5212bd47859aa827d8469b87b0e6adafe3dba98c1885b6345",
489 "result" : "invalid",
490 "flags" : [
491 "BadPadding"
492 ]
493 },
494 {
495 "tcId" : 45,
496 "comment" : "ANSI X.923 padding",
497 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
498 "iv" : "23468aa734f5f0f19827316ff168e94f",
499 "msg" : "",
500 "ct" : "ca5dd2d09bd56eec9e8acaeca20af68e",
501 "result" : "invalid",
502 "flags" : [
503 "BadPadding"
504 ]
505 },
506 {
507 "tcId" : 46,
508 "comment" : "ANSI X.923 padding",
509 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
510 "iv" : "23468aa734f5f0f19827316ff168e94f",
511 "msg" : "6162636465666768",
512 "ct" : "01e53a5ec9b0957c45f79ed0f4b2b982",
513 "result" : "invalid",
514 "flags" : [
515 "BadPadding"
516 ]
517 },
518 {
519 "tcId" : 47,
520 "comment" : "ANSI X.923 padding",
521 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
522 "iv" : "23468aa734f5f0f19827316ff168e94f",
523 "msg" : "30313233343536373839414243444546",
524 "ct" : "fbcbdfdaaf17980be939c0b243266ecbd3909bb3457e5b946ff709be9a2ed84d",
525 "result" : "invalid",
526 "flags" : [
527 "BadPadding"
528 ]
529 },
530 {
531 "tcId" : 48,
532 "comment" : "ANSI X.923 padding",
533 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
534 "iv" : "23468aa734f5f0f19827316ff168e94f",
535 "msg" : "3031323334353637383941424344454647",
536 "ct" : "fbcbdfdaaf17980be939c0b243266ecbc5ab3ab637166a6a067b82b5672c08f8",
537 "result" : "invalid",
538 "flags" : [
539 "BadPadding"
540 ]
541 },
542 {
543 "tcId" : 49,
544 "comment" : "ISO 10126 padding",
545 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
546 "iv" : "23468aa734f5f0f19827316ff168e94f",
547 "msg" : "",
548 "ct" : "ba0726bd6dea11382b19c842e2ddead2",
549 "result" : "invalid",
550 "flags" : [
551 "BadPadding"
552 ]
553 },
554 {
555 "tcId" : 50,
556 "comment" : "ISO 10126 padding",
557 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
558 "iv" : "23468aa734f5f0f19827316ff168e94f",
559 "msg" : "6162636465666768",
560 "ct" : "22f18b85c729903744fb8db5ed2840d4",
561 "result" : "invalid",
562 "flags" : [
563 "BadPadding"
564 ]
565 },
566 {
567 "tcId" : 51,
568 "comment" : "ISO 10126 padding",
569 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
570 "iv" : "23468aa734f5f0f19827316ff168e94f",
571 "msg" : "30313233343536373839414243444546",
572 "ct" : "fbcbdfdaaf17980be939c0b243266ecb6b103fbe43519a18880b7e6d9153e1c2",
573 "result" : "invalid",
574 "flags" : [
575 "BadPadding"
576 ]
577 },
578 {
579 "tcId" : 52,
580 "comment" : "ISO 10126 padding",
581 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
582 "iv" : "23468aa734f5f0f19827316ff168e94f",
583 "msg" : "3031323334353637383941424344454647",
584 "ct" : "fbcbdfdaaf17980be939c0b243266ecbe00bdb15b8a61285447498700d35e0c6",
585 "result" : "invalid",
586 "flags" : [
587 "BadPadding"
588 ]
589 },
590 {
591 "tcId" : 53,
592 "comment" : "padding longer than message",
593 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
594 "iv" : "23468aa734f5f0f19827316ff168e94f",
595 "msg" : "",
596 "ct" : "d17ccbb26f0aa95f397b20063547349b",
597 "result" : "invalid",
598 "flags" : [
599 "BadPadding"
600 ]
601 },
602 {
603 "tcId" : 54,
604 "comment" : "padding longer than message",
605 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
606 "iv" : "23468aa734f5f0f19827316ff168e94f",
607 "msg" : "6162636465666768",
608 "ct" : "2056dfa339fa00be6836999411a98c76",
609 "result" : "invalid",
610 "flags" : [
611 "BadPadding"
612 ]
613 },
614 {
615 "tcId" : 55,
616 "comment" : "padding longer than message",
617 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
618 "iv" : "23468aa734f5f0f19827316ff168e94f",
619 "msg" : "303132333435363738396162636465",
620 "ct" : "f92628f6418d8d9c9afac233861b3835",
621 "result" : "invalid",
622 "flags" : [
623 "BadPadding"
624 ]
625 },
626 {
627 "tcId" : 56,
628 "comment" : "padding longer than message",
629 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
630 "iv" : "23468aa734f5f0f19827316ff168e94f",
631 "msg" : "30313233343536373839414243444546",
632 "ct" : "fbcbdfdaaf17980be939c0b243266ecbc0c41093b495a7d5a080d976493fd0e7",
633 "result" : "invalid",
634 "flags" : [
635 "BadPadding"
636 ]
637 },
638 {
639 "tcId" : 57,
640 "comment" : "padding longer than message",
641 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
642 "iv" : "23468aa734f5f0f19827316ff168e94f",
643 "msg" : "3031323334353637383941424344454647",
644 "ct" : "fbcbdfdaaf17980be939c0b243266ecb6770446a5ccaa26f7d4f970cc5834eba",
645 "result" : "invalid",
646 "flags" : [
647 "BadPadding"
648 ]
649 },
650 {
651 "tcId" : 58,
652 "comment" : " invalid padding",
653 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
654 "iv" : "23468aa734f5f0f19827316ff168e94f",
655 "msg" : "",
656 "ct" : "4ff3e623fdd432608c183f40864177af",
657 "result" : "invalid",
658 "flags" : [
659 "BadPadding"
660 ]
661 },
662 {
663 "tcId" : 59,
664 "comment" : " invalid padding",
665 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
666 "iv" : "23468aa734f5f0f19827316ff168e94f",
667 "msg" : "6162636465666768",
668 "ct" : "6a1ef1e6ae6a788777aabd9ccf3cf43a",
669 "result" : "invalid",
670 "flags" : [
671 "BadPadding"
672 ]
673 },
674 {
675 "tcId" : 60,
676 "comment" : " invalid padding",
677 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
678 "iv" : "23468aa734f5f0f19827316ff168e94f",
679 "msg" : "30313233343536373839414243444546",
680 "ct" : "fbcbdfdaaf17980be939c0b243266ecbee1345cd513161b241f4ae2799b0327f",
681 "result" : "invalid",
682 "flags" : [
683 "BadPadding"
684 ]
685 },
686 {
687 "tcId" : 61,
688 "comment" : " invalid padding",
689 "key" : "db4f3e5e3795cc09a073fa6a81e5a6bc",
690 "iv" : "23468aa734f5f0f19827316ff168e94f",
691 "msg" : "3031323334353637383941424344454647",
692 "ct" : "fbcbdfdaaf17980be939c0b243266ecbe0d539beef6f2d4f7cda4fd9f4f05570",
693 "result" : "invalid",
694 "flags" : [
695 "BadPadding"
696 ]
697 }
698 ]
699 },
700 {
701 "ivSize" : 128,
702 "keySize" : 192,
703 "type" : "IndCpaTest",
704 "tests" : [
705 {
706 "tcId" : 62,
707 "comment" : "empty message",
708 "key" : "3d6bf9edae6d881eade0ff8c7076a4835b71320c1f36b631",
709 "iv" : "db20f9a6f4d6b4e478f1a4b9d4051d34",
710 "msg" : "",
711 "ct" : "ff0c315873b4b1872abef2353b792ef0",
712 "result" : "valid",
713 "flags" : []
714 },
715 {
716 "tcId" : 63,
717 "comment" : "message size divisible by block size",
718 "key" : "f4bfa5aa4f0f4d62cf736cd2969c43d580fdb92f2753bedb",
719 "iv" : "69a76dc4da64d89c580eb75ae975ec39",
720 "msg" : "0e239f239705b282ce2200fe20de1165",
721 "ct" : "7dbd573e4db58a318edfe29f199d8cda538a49f36486337c2711163e55fd5d0b",
722 "result" : "valid",
723 "flags" : []
724 },
725 {
726 "tcId" : 64,
727 "comment" : "message size divisible by block size",
728 "key" : "9d11abc1fcb248a436598e695be12c3c2ed90a18ba09d62c",
729 "iv" : "6525667350930fb945dd1895a3abfcd1",
730 "msg" : "aa5182cae2a8fb068c0b3fb2be3e57ae523d13dffd1a944587707c2b67447f3f",
731 "ct" : "bd0258909e5b72438d95ca4b29c8a79c6228fd06a3b2fa06f7659654c7b24610f23f2fb16313b7d3614cb0cd16fabb8e",
732 "result" : "valid",
733 "flags" : []
734 },
735 {
736 "tcId" : 65,
737 "comment" : "message size divisible by block size",
738 "key" : "7e41d83181659a2c38da5ead353cdb04c2b4d4a3cfe58e25",
739 "iv" : "3943d8fddd5bb2a59772df31a31a8fff",
740 "msg" : "8a32d11c7a11aa72e13381632b1310f4fd90fc209a6a350e61c069a561871214f9c04fc1df7354cbe4d8d639c525d324",
741 "ct" : "6cbeacf8de25d7dd9dcdc087bf2f80873b1eb335400589076f8d2bf81e294c5d72b85eb8ac9558b0de9e9fbee4b18716e5220c507fbb9d319a08f67816765ca6",
742 "result" : "valid",
743 "flags" : []
744 },
745 {
746 "tcId" : 66,
747 "comment" : "small plaintext size",
748 "key" : "915429743435c28997a33b33b6574a953d81dae0e7032e6a",
749 "iv" : "1379d48493f743e6a149deb3b9bab31e",
750 "msg" : "58",
751 "ct" : "519925956d32e4fa350b1144f088e4e8",
752 "result" : "valid",
753 "flags" : []
754 },
755 {
756 "tcId" : 67,
757 "comment" : "small plaintext size",
758 "key" : "f0c288ba26b284f9fb321b444a6517b3cdda1a799d55fdff",
759 "iv" : "48c7f44b43a1279d820733e6cb30617a",
760 "msg" : "0f7e",
761 "ct" : "bfb90aa7de1bdeed5bdc5703bdfd9630",
762 "result" : "valid",
763 "flags" : []
764 },
765 {
766 "tcId" : 68,
767 "comment" : "small plaintext size",
768 "key" : "6b55e4d4fd6847a80a6bfb0dcc0aa93f9fd797fc5c50292e",
769 "iv" : "2c287b38cc30c8c351b087b91a6a97ba",
770 "msg" : "33f530",
771 "ct" : "b1a25816908c086f26037d10b7be9ad9",
772 "result" : "valid",
773 "flags" : []
774 },
775 {
776 "tcId" : 69,
777 "comment" : "small plaintext size",
778 "key" : "1eb21a9e995a8e45c9e71ecbd6fe615b3e0318007c64b644",
779 "iv" : "61f6060919c9c09ef06be28f39c344aa",
780 "msg" : "3aa73c48",
781 "ct" : "74dbdecbfa94b71d2d6ef03200c7d095",
782 "result" : "valid",
783 "flags" : []
784 },
785 {
786 "tcId" : 70,
787 "comment" : "small plaintext size",
788 "key" : "710e2d5d4a9f0bc7e50796655e046a18cc5769d7764355da",
789 "iv" : "7682005907bfef3ce00196a17ad2246d",
790 "msg" : "7e4c690a88",
791 "ct" : "10c860aaee23c3c3c1b9306b189dd80d",
792 "result" : "valid",
793 "flags" : []
794 },
795 {
796 "tcId" : 71,
797 "comment" : "small plaintext size",
798 "key" : "d8c09ea400779b63e774bdacd0cb7b5dd6f736ca23d52acf",
799 "iv" : "1f6c912997ce007701e5fdf407c6b421",
800 "msg" : "e9520280973b",
801 "ct" : "673dcd444386930a0cc577fab4501e5c",
802 "result" : "valid",
803 "flags" : []
804 },
805 {
806 "tcId" : 72,
807 "comment" : "small plaintext size",
808 "key" : "8e67e9a0863b55bed408866f1cbc05357abe3f9d79f406f2",
809 "iv" : "5854033ae50de090678432781a168b6c",
810 "msg" : "4880b412287a0b",
811 "ct" : "059e5f72a81d8820add8eae8fabcdd42",
812 "result" : "valid",
813 "flags" : []
814 },
815 {
816 "tcId" : 73,
817 "comment" : "small plaintext size",
818 "key" : "28d8da67806410e5565bcc5a9d7ab9fb357413fa0158378c",
819 "iv" : "003b2d86d8b636c58cf664565572d5e6",
820 "msg" : "004e3f4a4e6db955",
821 "ct" : "c412159fd5ae20d771b7d2e734124d6a",
822 "result" : "valid",
823 "flags" : []
824 },
825 {
826 "tcId" : 74,
827 "comment" : "small plaintext size",
828 "key" : "dc968dd89fd602bb7eca6f3a8a13e4f59c08d02a514b1934",
829 "iv" : "3f22b50f888ab9424ba871d15aac55b7",
830 "msg" : "41a25354efeb1bc3b8",
831 "ct" : "4aba571c2c5ab9a6140f16efc68c8ec1",
832 "result" : "valid",
833 "flags" : []
834 },
835 {
836 "tcId" : 75,
837 "comment" : "small plaintext size",
838 "key" : "7658951c0f620d82afd92756cc2d7983b79da3e56fdd1b78",
839 "iv" : "e4b8dde04b49fa6b88bfccd8d70c21d1",
840 "msg" : "f0e82fb5c5666f4af49f",
841 "ct" : "66d1b9152a8cd1a88eab341c775070b4",
842 "result" : "valid",
843 "flags" : []
844 },
845 {
846 "tcId" : 76,
847 "comment" : "small plaintext size",
848 "key" : "d9574c3a221b986690931faac5258d9d3c52362b2cb9b054",
849 "iv" : "7753f616cd8796c9b8a3bbfbe6cb1e7f",
850 "msg" : "178ea8404ba54ee4e4522c",
851 "ct" : "d9377788e2881a48f9347786db7df51f",
852 "result" : "valid",
853 "flags" : []
854 },
855 {
856 "tcId" : 77,
857 "comment" : "small plaintext size",
858 "key" : "704409bab28085c44981f28f75dd143a4f747106f63f262e",
859 "iv" : "eae9ee19ccb7f8b087675709c4d35f73",
860 "msg" : "cda5709e7f115624e74ab031",
861 "ct" : "db825f4434ea3bb53576fa7385fb7dfe",
862 "result" : "valid",
863 "flags" : []
864 },
865 {
866 "tcId" : 78,
867 "comment" : "small plaintext size",
868 "key" : "d8d06ef6a53bbff5c8f12d791b8f4c67e574bf440736d1cc",
869 "iv" : "a6aaff339a729d30a7ec1328db36d23e",
870 "msg" : "a1171eae1979f48345dd9485a0",
871 "ct" : "3e7287df2a5ed9de4d817e352bd47ea7",
872 "result" : "valid",
873 "flags" : []
874 },
875 {
876 "tcId" : 79,
877 "comment" : "small plaintext size",
878 "key" : "71129e781613f39d9ac39fbde2628b44c250c14deb5ef9e2",
879 "iv" : "92fda71e88c70d18ed71b992735a2150",
880 "msg" : "967593cc64bcbf7f3c58d04cb82b",
881 "ct" : "17c3ade4b469ae614760039a8fa6250e",
882 "result" : "valid",
883 "flags" : []
884 },
885 {
886 "tcId" : 80,
887 "comment" : "small plaintext size",
888 "key" : "850fc859e9f7b89a367611dee6698f33962d8245ca8dc331",
889 "iv" : "ed6596c86b98123ad2f3c573e974d051",
890 "msg" : "586f4f171af116519061a8e0e77940",
891 "ct" : "9cafecff2a28d02f732573f65a2cadca",
892 "result" : "valid",
893 "flags" : []
894 },
895 {
896 "tcId" : 81,
897 "comment" : "plaintext size > 16",
898 "key" : "cfd3f68873d81a27d2bfce876c79f6e609074dec39e34614",
899 "iv" : "c45b52a240eba3bdde5dfd57f3d474fb",
900 "msg" : "b1973cb25aa87ef9d1a8888b0a0f5c04c6",
901 "ct" : "401ad889bdb9d38816c782e00b168ccccde9bf75f4be868ceb91237e8b37b750",
902 "result" : "valid",
903 "flags" : []
904 },
905 {
906 "tcId" : 82,
907 "comment" : "plaintext size > 16",
908 "key" : "b7f165bced1613da5e747fdf9255832d30c07f2deeb5a326",
909 "iv" : "07ece5fe02266e073499fd4d66929034",
910 "msg" : "289647ea8d0ff31375a82aa1c620903048bb1d0e",
911 "ct" : "455d516e87851e6c894578a0f7126e0acbc7cfbb1d80296647ab89a79dfa6f71",
912 "result" : "valid",
913 "flags" : []
914 },
915 {
916 "tcId" : 83,
917 "comment" : "plaintext size > 16",
918 "key" : "9bbe6e004fb260dadb02b68b78954f1da5e6a2d02e0aeefe",
919 "iv" : "d799157bc1f77c182027be918b30783a",
920 "msg" : "665423092ce95b927e98b8082030f58e33f3ec1b0c29532c2f421855f00f97",
921 "ct" : "cbf541330a5a9bda24984976b0cf96ba08ef521fa2cdb3df839128570e222ac4",
922 "result" : "valid",
923 "flags" : []
924 },
925 {
926 "tcId" : 84,
927 "comment" : "plaintext size > 16",
928 "key" : "1381fbd5e79045d40f29790fc1a436c95b040a046ebf0b0f",
929 "iv" : "fdf97645e4192ba84728bbf6683f79de",
930 "msg" : "d575dce596dd0a2cd1c18dab7eb0948fafb8669969a48b6314493bfb8daf8acacd51382f9bb5b357",
931 "ct" : "03225f08592efca14ad8ecf822465e8be4157465d0be150dd3d645b6fef1b19ca7bbaa5940b2a7895fa2b0ee55b0d4ec",
932 "result" : "valid",
933 "flags" : []
934 },
935 {
936 "tcId" : 85,
937 "comment" : "plaintext size > 16",
938 "key" : "1bb4ed0e8435e20729f48c1b7e3af6e69e4cebf0731131cf",
939 "iv" : "059685f59247eea5d3f2a1532cb9d6b2",
940 "msg" : "6d29dab6a0568c961ab3c825e0d89940cef06c63ade7e557cd3e92792eaf23c8cd5a0f029c63b1cdce4754ccfad7a73c7c9e50ffe081e9136f5e9a424077339de12ea43572afe1b034e833e5887763aa",
941 "ct" : "27ad00313f328f0d3e6c3238ab560cb7243a9f54f7dff79b5a7a879439993d458017f09e8d3f694098bc19e61fe54085138664abb51a5b328cf2c9ce5d59726fff5e1b7553c143d9e0493c51cab23ff2ecdad91bd72bb12b32f3b611f9a4225d",
942 "result" : "valid",
943 "flags" : []
944 },
945 {
946 "tcId" : 86,
947 "comment" : "zero padding",
948 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
949 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
950 "msg" : "",
951 "ct" : "2c010faa25c68c3b30b8c1491c316d5f",
952 "result" : "invalid",
953 "flags" : [
954 "BadPadding"
955 ]
956 },
957 {
958 "tcId" : 87,
959 "comment" : "zero padding",
960 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
961 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
962 "msg" : "6162636465666768",
963 "ct" : "818454d433154a8e00e8f590b8a1c38c",
964 "result" : "invalid",
965 "flags" : [
966 "BadPadding"
967 ]
968 },
969 {
970 "tcId" : 88,
971 "comment" : "zero padding",
972 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
973 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
974 "msg" : "303132333435363738396162636465",
975 "ct" : "0a7423fae3f4c8d4633f839d36f2e9ff",
976 "result" : "invalid",
977 "flags" : [
978 "BadPadding"
979 ]
980 },
981 {
982 "tcId" : 89,
983 "comment" : "zero padding",
984 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
985 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
986 "msg" : "30313233343536373839414243444546",
987 "ct" : "a7cfcdabcc5a2736a2708c1cb0b61432e83f6e522c371e6e71bde539595b70b7",
988 "result" : "invalid",
989 "flags" : [
990 "BadPadding"
991 ]
992 },
993 {
994 "tcId" : 90,
995 "comment" : "zero padding",
996 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
997 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
998 "msg" : "3031323334353637383941424344454647",
999 "ct" : "a7cfcdabcc5a2736a2708c1cb0b6143254d15f47701fa54f5957828f386e1d97",
1000 "result" : "invalid",
1001 "flags" : [
1002 "BadPadding"
1003 ]
1004 },
1005 {
1006 "tcId" : 91,
1007 "comment" : "padding with 0xff",
1008 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1009 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1010 "msg" : "",
1011 "ct" : "6ded36cc7603e514014dfb7199900676",
1012 "result" : "invalid",
1013 "flags" : [
1014 "BadPadding"
1015 ]
1016 },
1017 {
1018 "tcId" : 92,
1019 "comment" : "padding with 0xff",
1020 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1021 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1022 "msg" : "6162636465666768",
1023 "ct" : "839f772f8e5f50afdc02f954094869fe",
1024 "result" : "invalid",
1025 "flags" : [
1026 "BadPadding"
1027 ]
1028 },
1029 {
1030 "tcId" : 93,
1031 "comment" : "padding with 0xff",
1032 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1033 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1034 "msg" : "303132333435363738396162636465",
1035 "ct" : "eefe3553c099c187929b287e54f95726",
1036 "result" : "invalid",
1037 "flags" : [
1038 "BadPadding"
1039 ]
1040 },
1041 {
1042 "tcId" : 94,
1043 "comment" : "padding with 0xff",
1044 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1045 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1046 "msg" : "30313233343536373839414243444546",
1047 "ct" : "a7cfcdabcc5a2736a2708c1cb0b61432d0531a2641d40467353542d79ce20ea8",
1048 "result" : "invalid",
1049 "flags" : [
1050 "BadPadding"
1051 ]
1052 },
1053 {
1054 "tcId" : 95,
1055 "comment" : "padding with 0xff",
1056 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1057 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1058 "msg" : "3031323334353637383941424344454647",
1059 "ct" : "a7cfcdabcc5a2736a2708c1cb0b61432aaf08a090ecf66167ba5958100be7950",
1060 "result" : "invalid",
1061 "flags" : [
1062 "BadPadding"
1063 ]
1064 },
1065 {
1066 "tcId" : 96,
1067 "comment" : "bit padding",
1068 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1069 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1070 "msg" : "",
1071 "ct" : "c0e402c8bbdda18c8ddd86470bd4b244",
1072 "result" : "invalid",
1073 "flags" : [
1074 "BadPadding"
1075 ]
1076 },
1077 {
1078 "tcId" : 97,
1079 "comment" : "bit padding",
1080 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1081 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1082 "msg" : "6162636465666768",
1083 "ct" : "dc185d4572565e01131e471ec4c48125",
1084 "result" : "invalid",
1085 "flags" : [
1086 "BadPadding"
1087 ]
1088 },
1089 {
1090 "tcId" : 98,
1091 "comment" : "bit padding",
1092 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1093 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1094 "msg" : "303132333435363738396162636465",
1095 "ct" : "3ad1ddf3c3b320398785e6ec6544e9a2",
1096 "result" : "invalid",
1097 "flags" : [
1098 "BadPadding"
1099 ]
1100 },
1101 {
1102 "tcId" : 99,
1103 "comment" : "bit padding",
1104 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1105 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1106 "msg" : "30313233343536373839414243444546",
1107 "ct" : "a7cfcdabcc5a2736a2708c1cb0b614325876f90cfbbdbcd85e8252d37c44c638",
1108 "result" : "invalid",
1109 "flags" : [
1110 "BadPadding"
1111 ]
1112 },
1113 {
1114 "tcId" : 100,
1115 "comment" : "bit padding",
1116 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1117 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1118 "msg" : "3031323334353637383941424344454647",
1119 "ct" : "a7cfcdabcc5a2736a2708c1cb0b61432d18f57216b0e6426d911998a0e44156b",
1120 "result" : "invalid",
1121 "flags" : [
1122 "BadPadding"
1123 ]
1124 },
1125 {
1126 "tcId" : 101,
1127 "comment" : "padding longer than 1 block",
1128 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1129 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1130 "msg" : "",
1131 "ct" : "f1605abb4e6628347c616da350fe243043a8d7b6aea244ca013f45241d802213",
1132 "result" : "invalid",
1133 "flags" : [
1134 "BadPadding"
1135 ]
1136 },
1137 {
1138 "tcId" : 102,
1139 "comment" : "padding longer than 1 block",
1140 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1141 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1142 "msg" : "6162636465666768",
1143 "ct" : "a5f027fb9514ec8844534d452c940feb2c1807f57ed628156cf753f2ab698356",
1144 "result" : "invalid",
1145 "flags" : [
1146 "BadPadding"
1147 ]
1148 },
1149 {
1150 "tcId" : 103,
1151 "comment" : "padding longer than 1 block",
1152 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1153 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1154 "msg" : "303132333435363738396162636465",
1155 "ct" : "f346fbc9744d723c42bbb2a4c934cdd4f1019e58c226cb2491fed621271a38f3",
1156 "result" : "invalid",
1157 "flags" : [
1158 "BadPadding"
1159 ]
1160 },
1161 {
1162 "tcId" : 104,
1163 "comment" : "padding longer than 1 block",
1164 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1165 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1166 "msg" : "30313233343536373839414243444546",
1167 "ct" : "a7cfcdabcc5a2736a2708c1cb0b6143263eb325d36e13aa1d3dd1d7e071700104c7eb3e22e0859aa06296bc3194bb909",
1168 "result" : "invalid",
1169 "flags" : [
1170 "BadPadding"
1171 ]
1172 },
1173 {
1174 "tcId" : 105,
1175 "comment" : "padding longer than 1 block",
1176 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1177 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1178 "msg" : "3031323334353637383941424344454647",
1179 "ct" : "a7cfcdabcc5a2736a2708c1cb0b61432219485d41584bd110a6d7a9cad472815d93921c48d4bcb509fdf2e63d7627c37",
1180 "result" : "invalid",
1181 "flags" : [
1182 "BadPadding"
1183 ]
1184 },
1185 {
1186 "tcId" : 106,
1187 "comment" : "ANSI X.923 padding",
1188 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1189 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1190 "msg" : "",
1191 "ct" : "215571a18a70140f3a0fd4c1b2dd6316",
1192 "result" : "invalid",
1193 "flags" : [
1194 "BadPadding"
1195 ]
1196 },
1197 {
1198 "tcId" : 107,
1199 "comment" : "ANSI X.923 padding",
1200 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1201 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1202 "msg" : "6162636465666768",
1203 "ct" : "2529985ec0ec3cf4bd22746e00d7bdc6",
1204 "result" : "invalid",
1205 "flags" : [
1206 "BadPadding"
1207 ]
1208 },
1209 {
1210 "tcId" : 108,
1211 "comment" : "ANSI X.923 padding",
1212 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1213 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1214 "msg" : "30313233343536373839414243444546",
1215 "ct" : "a7cfcdabcc5a2736a2708c1cb0b614329a8058657ac4a150e995cf83efccf051",
1216 "result" : "invalid",
1217 "flags" : [
1218 "BadPadding"
1219 ]
1220 },
1221 {
1222 "tcId" : 109,
1223 "comment" : "ANSI X.923 padding",
1224 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1225 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1226 "msg" : "3031323334353637383941424344454647",
1227 "ct" : "a7cfcdabcc5a2736a2708c1cb0b614328a068626780ba600f880bd5323f8ac15",
1228 "result" : "invalid",
1229 "flags" : [
1230 "BadPadding"
1231 ]
1232 },
1233 {
1234 "tcId" : 110,
1235 "comment" : "ISO 10126 padding",
1236 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1237 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1238 "msg" : "",
1239 "ct" : "13e75f9ffe2afa81b9a2e7faf74aab6d",
1240 "result" : "invalid",
1241 "flags" : [
1242 "BadPadding"
1243 ]
1244 },
1245 {
1246 "tcId" : 111,
1247 "comment" : "ISO 10126 padding",
1248 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1249 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1250 "msg" : "6162636465666768",
1251 "ct" : "a382197fe491f5c3f91b629dc47c3d58",
1252 "result" : "invalid",
1253 "flags" : [
1254 "BadPadding"
1255 ]
1256 },
1257 {
1258 "tcId" : 112,
1259 "comment" : "ISO 10126 padding",
1260 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1261 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1262 "msg" : "30313233343536373839414243444546",
1263 "ct" : "a7cfcdabcc5a2736a2708c1cb0b614320b842e5d6e32660263ff814a0277659f",
1264 "result" : "invalid",
1265 "flags" : [
1266 "BadPadding"
1267 ]
1268 },
1269 {
1270 "tcId" : 113,
1271 "comment" : "ISO 10126 padding",
1272 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1273 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1274 "msg" : "3031323334353637383941424344454647",
1275 "ct" : "a7cfcdabcc5a2736a2708c1cb0b614321d2f736515cfe17921800eb392e0139d",
1276 "result" : "invalid",
1277 "flags" : [
1278 "BadPadding"
1279 ]
1280 },
1281 {
1282 "tcId" : 114,
1283 "comment" : "padding longer than message",
1284 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1285 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1286 "msg" : "",
1287 "ct" : "f1605abb4e6628347c616da350fe2430",
1288 "result" : "invalid",
1289 "flags" : [
1290 "BadPadding"
1291 ]
1292 },
1293 {
1294 "tcId" : 115,
1295 "comment" : "padding longer than message",
1296 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1297 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1298 "msg" : "6162636465666768",
1299 "ct" : "b3602ff0f797cbbdde35105d27e55b94",
1300 "result" : "invalid",
1301 "flags" : [
1302 "BadPadding"
1303 ]
1304 },
1305 {
1306 "tcId" : 116,
1307 "comment" : "padding longer than message",
1308 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1309 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1310 "msg" : "303132333435363738396162636465",
1311 "ct" : "0334c1bc34b597f60a639e74d8b45c4e",
1312 "result" : "invalid",
1313 "flags" : [
1314 "BadPadding"
1315 ]
1316 },
1317 {
1318 "tcId" : 117,
1319 "comment" : "padding longer than message",
1320 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1321 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1322 "msg" : "30313233343536373839414243444546",
1323 "ct" : "a7cfcdabcc5a2736a2708c1cb0b61432c3f9fe42d9715035bcda97d27405ced7",
1324 "result" : "invalid",
1325 "flags" : [
1326 "BadPadding"
1327 ]
1328 },
1329 {
1330 "tcId" : 118,
1331 "comment" : "padding longer than message",
1332 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1333 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1334 "msg" : "3031323334353637383941424344454647",
1335 "ct" : "a7cfcdabcc5a2736a2708c1cb0b61432362b014a9abdaf25ae1f6dfb99d03d9d",
1336 "result" : "invalid",
1337 "flags" : [
1338 "BadPadding"
1339 ]
1340 },
1341 {
1342 "tcId" : 119,
1343 "comment" : " invalid padding",
1344 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1345 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1346 "msg" : "",
1347 "ct" : "97ab405b86c388f144cf74fbb9358493",
1348 "result" : "invalid",
1349 "flags" : [
1350 "BadPadding"
1351 ]
1352 },
1353 {
1354 "tcId" : 120,
1355 "comment" : " invalid padding",
1356 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1357 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1358 "msg" : "6162636465666768",
1359 "ct" : "691f6009802f0fb4920928db7eca1349",
1360 "result" : "invalid",
1361 "flags" : [
1362 "BadPadding"
1363 ]
1364 },
1365 {
1366 "tcId" : 121,
1367 "comment" : " invalid padding",
1368 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1369 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1370 "msg" : "30313233343536373839414243444546",
1371 "ct" : "a7cfcdabcc5a2736a2708c1cb0b61432a99fc96a6fa0c9fcb18de1672d74914d",
1372 "result" : "invalid",
1373 "flags" : [
1374 "BadPadding"
1375 ]
1376 },
1377 {
1378 "tcId" : 122,
1379 "comment" : " invalid padding",
1380 "key" : "9e20311eaf2eaf3e3a04bc52564e67313c84940a2996e3f2",
1381 "iv" : "a3fe6f76e8f582830bbe83574a7bb729",
1382 "msg" : "3031323334353637383941424344454647",
1383 "ct" : "a7cfcdabcc5a2736a2708c1cb0b61432dd1bb2e98102322fb1aa92c979d4c7c3",
1384 "result" : "invalid",
1385 "flags" : [
1386 "BadPadding"
1387 ]
1388 }
1389 ]
1390 },
1391 {
1392 "ivSize" : 128,
1393 "keySize" : 256,
1394 "type" : "IndCpaTest",
1395 "tests" : [
1396 {
1397 "tcId" : 123,
1398 "comment" : "empty message",
1399 "key" : "7bf9e536b66a215c22233fe2daaa743a898b9acb9f7802de70b40e3d6e43ef97",
1400 "iv" : "eb38ef61717e1324ae064e86f1c3e797",
1401 "msg" : "",
1402 "ct" : "e7c166554d1bb32792c981fa674cc4d8",
1403 "result" : "valid",
1404 "flags" : []
1405 },
1406 {
1407 "tcId" : 124,
1408 "comment" : "message size divisible by block size",
1409 "key" : "612e837843ceae7f61d49625faa7e7494f9253e20cb3adcea686512b043936cd",
1410 "iv" : "9ec7b863ac845cad5e4673da21f5b6a9",
1411 "msg" : "cc37fae15f745a2f40e2c8b192f2b38d",
1412 "ct" : "299295be47e9f5441fe83a7a811c4aeb2650333e681e69fa6b767d28a6ccf282",
1413 "result" : "valid",
1414 "flags" : []
1415 },
1416 {
1417 "tcId" : 125,
1418 "comment" : "message size divisible by block size",
1419 "key" : "96e1e4896fb2cd05f133a6a100bc5609a7ac3ca6d81721e922dadd69ad07a892",
1420 "iv" : "e70d83a77a2ce722ac214c00837acedf",
1421 "msg" : "91a17e4dfcc3166a1add26ff0e7c12056e8a654f28a6de24f4ba739ceb5b5b18",
1422 "ct" : "a615a39ff8f59f82cf72ed13e1b01e32459700561be112412961365c7a0b58aa7a16d68c065e77ebe504999051476bd7",
1423 "result" : "valid",
1424 "flags" : []
1425 },
1426 {
1427 "tcId" : 126,
1428 "comment" : "message size divisible by block size",
1429 "key" : "649e373e681ef52e3c10ac265484750932a9918f28fb824f7cb50adab39781fe",
1430 "iv" : "bd003c0a9d804c29f053a77cb380cb47",
1431 "msg" : "39b447bd3a01983c1cb761b456d69000948ceb870562a536126a0d18a8e7e49b16de8fe672f13d0808d8b7d957899917",
1432 "ct" : "ed3ed8ecdbabc0a8c06259e913f3ab9a1f1dc6d05e5dfdd9c80e1008f3423064d540681291bbd3e159820fee3ff190a68fe506d8ab9e62c8e7b3816093336dbc",
1433 "result" : "valid",
1434 "flags" : []
1435 },
1436 {
1437 "tcId" : 127,
1438 "comment" : "small plaintext size",
1439 "key" : "e754076ceab3fdaf4f9bcab7d4f0df0cbbafbc87731b8f9b7cd2166472e8eebc",
1440 "iv" : "014d2e13dfbcb969ba3bb91442d52eca",
1441 "msg" : "40",
1442 "ct" : "42c0b89a706ed2606cd94f9cb361fa51",
1443 "result" : "valid",
1444 "flags" : []
1445 },
1446 {
1447 "tcId" : 128,
1448 "comment" : "small plaintext size",
1449 "key" : "ea3b016bdd387dd64d837c71683808f335dbdc53598a4ea8c5f952473fafaf5f",
1450 "iv" : "fae3e2054113f6b3b904aadbfe59655c",
1451 "msg" : "6601",
1452 "ct" : "b90c326b72eb222ddb4dae47f2bc223c",
1453 "result" : "valid",
1454 "flags" : []
1455 },
1456 {
1457 "tcId" : 129,
1458 "comment" : "small plaintext size",
1459 "key" : "73d4709637857dafab6ad8b2b0a51b06524717fedf100296644f7cfdaae1805b",
1460 "iv" : "203cd3e0068e43d38b6f2e48a188f252",
1461 "msg" : "f1d300",
1462 "ct" : "567c45c5e6d570bef583d21cac43757d",
1463 "result" : "valid",
1464 "flags" : []
1465 },
1466 {
1467 "tcId" : 130,
1468 "comment" : "small plaintext size",
1469 "key" : "d5c81b399d4c0d1583a13da56de6d2dc45a66e7b47c24ab1192e246dc961dd77",
1470 "iv" : "abcf220eede012279c3a2d33295ff273",
1471 "msg" : "2ae63cbf",
1472 "ct" : "c45afe62fc9351ad0fc9b03bc2f3a91f",
1473 "result" : "valid",
1474 "flags" : []
1475 },
1476 {
1477 "tcId" : 131,
1478 "comment" : "small plaintext size",
1479 "key" : "2521203fa0dddf59d837b2830f87b1aa61f958155df3ca4d1df2457cb4284dc8",
1480 "iv" : "01373953578902909ae4f6cb0a72587c",
1481 "msg" : "af3a015ea1",
1482 "ct" : "281fa533d0740cc6cdf94dd1a5f7402d",
1483 "result" : "valid",
1484 "flags" : []
1485 },
1486 {
1487 "tcId" : 132,
1488 "comment" : "small plaintext size",
1489 "key" : "665a02bc265a66d01775091da56726b6668bfd903cb7af66fb1b78a8a062e43c",
1490 "iv" : "3fb0d5ecd06c71150748b599595833cb",
1491 "msg" : "3f56935def3f",
1492 "ct" : "3f3f39697bd7e88d85a14132be1cbc48",
1493 "result" : "valid",
1494 "flags" : []
1495 },
1496 {
1497 "tcId" : 133,
1498 "comment" : "small plaintext size",
1499 "key" : "facd75b22221380047305bc981f570e2a1af38928ea7e2059e3af5fc6b82b493",
1500 "iv" : "27a2db6114ece34fb6c23302d9ba07c6",
1501 "msg" : "57bb86beed156f",
1502 "ct" : "379990d91557614836381d5026fa04a0",
1503 "result" : "valid",
1504 "flags" : []
1505 },
1506 {
1507 "tcId" : 134,
1508 "comment" : "small plaintext size",
1509 "key" : "505aa98819809ef63b9a368a1e8bc2e922da45b03ce02d9a7966b15006dba2d5",
1510 "iv" : "9b2b631e3f24bdc814a14abb3416059e",
1511 "msg" : "2e4e7ef728fe11af",
1512 "ct" : "7ecefe24caa78a68f4031d40fdb9a43a",
1513 "result" : "valid",
1514 "flags" : []
1515 },
1516 {
1517 "tcId" : 135,
1518 "comment" : "small plaintext size",
1519 "key" : "f942093842808ba47f64e427f7351dde6b9546e66de4e7d60aa6f328182712cf",
1520 "iv" : "92cfc4eb146b18b73fc76483fc5e1229",
1521 "msg" : "852a21d92848e627c7",
1522 "ct" : "ffe4ec8baf4af40ab2e7f4d6193fae9c",
1523 "result" : "valid",
1524 "flags" : []
1525 },
1526 {
1527 "tcId" : 136,
1528 "comment" : "small plaintext size",
1529 "key" : "64be162b39c6e5f1fed9c32d9f674d9a8cde6eaa2443214d86bd4a1fb53b81b4",
1530 "iv" : "4ceed8dcb75b6259dad737bdef96f099",
1531 "msg" : "195a3b292f93baff0a2c",
1532 "ct" : "ef96215e7950e7be8aae78b9ec8aaf39",
1533 "result" : "valid",
1534 "flags" : []
1535 },
1536 {
1537 "tcId" : 137,
1538 "comment" : "small plaintext size",
1539 "key" : "b259a555d44b8a20c5489e2f38392ddaa6be9e35b9833b67e1b5fdf6cb3e4c6c",
1540 "iv" : "2d4cead3f1120a2b4b59419d04951e20",
1541 "msg" : "afd73117330c6e8528a6e4",
1542 "ct" : "4ed0eac75b05868078303875f82fb4f0",
1543 "result" : "valid",
1544 "flags" : []
1545 },
1546 {
1547 "tcId" : 138,
1548 "comment" : "small plaintext size",
1549 "key" : "2c6fc62daa77ba8c6881b3dd6989898fef646663cc7b0a3db8228a707b85f2dc",
1550 "iv" : "a10392634143c2a3332fa0fb3f72200a",
1551 "msg" : "0ff54d6b6759120c2e8a51e3",
1552 "ct" : "f4d298caea7c390fc8c7f558f584f852",
1553 "result" : "valid",
1554 "flags" : []
1555 },
1556 {
1557 "tcId" : 139,
1558 "comment" : "small plaintext size",
1559 "key" : "abab815d51df29f740e4e2079fb798e0152836e6ab57d1536ae8929e52c06eb8",
1560 "iv" : "38b916a7ad3a9251ae3bd8865ca3a688",
1561 "msg" : "f0058d412a104e53d820b95a7f",
1562 "ct" : "5e1c00e2ec829f92b87c6adf5c25262d",
1563 "result" : "valid",
1564 "flags" : []
1565 },
1566 {
1567 "tcId" : 140,
1568 "comment" : "small plaintext size",
1569 "key" : "3d5da1af83f7287458bff7a7651ea5d8db72259401333f6b82096996dd7eaf19",
1570 "iv" : "bfcc3ac44d12e42d780c1188ac64b57f",
1571 "msg" : "aacc36972f183057919ff57b49e1",
1572 "ct" : "bf3a04ddb2dbfe7c6dc9e15aa67be25d",
1573 "result" : "valid",
1574 "flags" : []
1575 },
1576 {
1577 "tcId" : 141,
1578 "comment" : "small plaintext size",
1579 "key" : "c19bdf314c6cf64381425467f42aefa17c1cc9358be16ce31b1d214859ce86aa",
1580 "iv" : "35bc82e3503b95044c6406a8b2c2ecff",
1581 "msg" : "5d066a92c300e9b6ddd63a7c13ae33",
1582 "ct" : "fdcfa77f5bd09326b4c11f9281b72474",
1583 "result" : "valid",
1584 "flags" : []
1585 },
1586 {
1587 "tcId" : 142,
1588 "comment" : "plaintext size > 16",
1589 "key" : "73216fafd0022d0d6ee27198b2272578fa8f04dd9f44467fbb6437aa45641bf7",
1590 "iv" : "4b74bd981ea9d074757c3e2ef515e5fb",
1591 "msg" : "d5247b8f6c3edcbfb1d591d13ece23d2f5",
1592 "ct" : "fbea776fb1653635f88e2937ed2450ba4e9063e96d7cdba04928f01cb85492fe",
1593 "result" : "valid",
1594 "flags" : []
1595 },
1596 {
1597 "tcId" : 143,
1598 "comment" : "plaintext size > 16",
1599 "key" : "c2039f0d05951aa8d9fbdf68be58a37cf99bd1afcedda286a9db470c3729ca92",
1600 "iv" : "9a1d8ccc24c5e4d3995480af236be103",
1601 "msg" : "ed5b5e28e9703bdf5c7b3b080f2690a605fcd0d9",
1602 "ct" : "3a79bb6084c7116b58afe52d7181a0aacee1caa11df959090e2e7b0073d74817",
1603 "result" : "valid",
1604 "flags" : []
1605 },
1606 {
1607 "tcId" : 144,
1608 "comment" : "plaintext size > 16",
1609 "key" : "4f097858a1aec62cf18f0966b2b120783aa4ae9149d3213109740506ae47adfe",
1610 "iv" : "400aab92803bcbb44a96ef789655b34e",
1611 "msg" : "ee53d8e5039e82d9fcca114e375a014febfea117a7e709d9008d43858e3660",
1612 "ct" : "642b11efb79b49e5d038bc7aa29b8c6c3ce0bf11c3a69670eb565799908be66d",
1613 "result" : "valid",
1614 "flags" : []
1615 },
1616 {
1617 "tcId" : 145,
1618 "comment" : "plaintext size > 16",
1619 "key" : "5f99f7d60653d79f088dd07ef306b65e057d36e053fa1c9f6854425c019fd4df",
1620 "iv" : "6eedf45753ffe38f2407fbc28ab5959c",
1621 "msg" : "fcc9212c23675c5d69a1266c77389bc955e453daba20034aabbcd502a1b73e05af30f8b7622abdbc",
1622 "ct" : "a9b051354f0cf61f11921b330e60f996de796aeb68140a0f9c5962e1f48e4805262fb6f53b26d9bb2fa0e359efe14734",
1623 "result" : "valid",
1624 "flags" : []
1625 },
1626 {
1627 "tcId" : 146,
1628 "comment" : "plaintext size > 16",
1629 "key" : "95aaa5df4ccb529e9b2dc929e770c1f419f8e8933bfb36f632f532b3dcad2ba6",
1630 "iv" : "f88551c6aa197f9ad80251c2e32d7663",
1631 "msg" : "f5735567b7c8312f116517788b091cc6cb1d474b010a77910154fd11c3b2f0cd19f713b63d66492e8cc7ee8ad714783f46c305a26416e11ff4b99ec5ce2550593cc5ec1b86ba6a66d10f82bdff827055",
1632 "ct" : "5074f46f1a6d0eeff070d623172eb15bbfc83e7d16466a00c9da5f4545eecf44adbf60cf9ac9aa1a3ec5eca22d4a34a7b21ca44d214c9d04ab1cb0b2c07001de9adb46f3c12f8f48436b516a409bf6cbdf1871dee3115d5cbb7943558b68867e",
1633 "result" : "valid",
1634 "flags" : []
1635 },
1636 {
1637 "tcId" : 147,
1638 "comment" : "zero padding",
1639 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1640 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1641 "msg" : "",
1642 "ct" : "e07558d746574528fb813f34e3fb7719",
1643 "result" : "invalid",
1644 "flags" : [
1645 "BadPadding"
1646 ]
1647 },
1648 {
1649 "tcId" : 148,
1650 "comment" : "zero padding",
1651 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1652 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1653 "msg" : "6162636465666768",
1654 "ct" : "c01af61276368818a8295f7d4b5bb2fd",
1655 "result" : "invalid",
1656 "flags" : [
1657 "BadPadding"
1658 ]
1659 },
1660 {
1661 "tcId" : 149,
1662 "comment" : "zero padding",
1663 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1664 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1665 "msg" : "303132333435363738396162636465",
1666 "ct" : "97dd9716f06be49160399a5b212250ae",
1667 "result" : "invalid",
1668 "flags" : [
1669 "BadPadding"
1670 ]
1671 },
1672 {
1673 "tcId" : 150,
1674 "comment" : "zero padding",
1675 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1676 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1677 "msg" : "30313233343536373839414243444546",
1678 "ct" : "8881e9e02fa9e3037b397957ba1fb7ce783bb4b4e18d7c646f38e0bb8ff92896",
1679 "result" : "invalid",
1680 "flags" : [
1681 "BadPadding"
1682 ]
1683 },
1684 {
1685 "tcId" : 151,
1686 "comment" : "zero padding",
1687 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1688 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1689 "msg" : "3031323334353637383941424344454647",
1690 "ct" : "8881e9e02fa9e3037b397957ba1fb7ce64679a46621b792f643542a735f0bbbf",
1691 "result" : "invalid",
1692 "flags" : [
1693 "BadPadding"
1694 ]
1695 },
1696 {
1697 "tcId" : 152,
1698 "comment" : "padding with 0xff",
1699 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1700 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1701 "msg" : "",
1702 "ct" : "c007ddffb76b95208505fe7f3be96172",
1703 "result" : "invalid",
1704 "flags" : [
1705 "BadPadding"
1706 ]
1707 },
1708 {
1709 "tcId" : 153,
1710 "comment" : "padding with 0xff",
1711 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1712 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1713 "msg" : "6162636465666768",
1714 "ct" : "e9b7719c4c2b9fa6b94cb50e87b28156",
1715 "result" : "invalid",
1716 "flags" : [
1717 "BadPadding"
1718 ]
1719 },
1720 {
1721 "tcId" : 154,
1722 "comment" : "padding with 0xff",
1723 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1724 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1725 "msg" : "303132333435363738396162636465",
1726 "ct" : "77b31f474c4bd489dbadd532643d1fa5",
1727 "result" : "invalid",
1728 "flags" : [
1729 "BadPadding"
1730 ]
1731 },
1732 {
1733 "tcId" : 155,
1734 "comment" : "padding with 0xff",
1735 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1736 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1737 "msg" : "30313233343536373839414243444546",
1738 "ct" : "8881e9e02fa9e3037b397957ba1fb7cea0166e9e1c0122cb2e2983fc0fac7176",
1739 "result" : "invalid",
1740 "flags" : [
1741 "BadPadding"
1742 ]
1743 },
1744 {
1745 "tcId" : 156,
1746 "comment" : "padding with 0xff",
1747 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1748 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1749 "msg" : "3031323334353637383941424344454647",
1750 "ct" : "8881e9e02fa9e3037b397957ba1fb7ce6f0effa789cbb0b875cc53cc8f7b3caf",
1751 "result" : "invalid",
1752 "flags" : [
1753 "BadPadding"
1754 ]
1755 },
1756 {
1757 "tcId" : 157,
1758 "comment" : "bit padding",
1759 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1760 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1761 "msg" : "",
1762 "ct" : "4dd5f910c94700235c9ed239160e34e2",
1763 "result" : "invalid",
1764 "flags" : [
1765 "BadPadding"
1766 ]
1767 },
1768 {
1769 "tcId" : 158,
1770 "comment" : "bit padding",
1771 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1772 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1773 "msg" : "6162636465666768",
1774 "ct" : "94d18b5923f8f3608ae7ad494fbb517e",
1775 "result" : "invalid",
1776 "flags" : [
1777 "BadPadding"
1778 ]
1779 },
1780 {
1781 "tcId" : 159,
1782 "comment" : "bit padding",
1783 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1784 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1785 "msg" : "303132333435363738396162636465",
1786 "ct" : "0c92886dbcb030b873123a25d224da42",
1787 "result" : "invalid",
1788 "flags" : [
1789 "BadPadding"
1790 ]
1791 },
1792 {
1793 "tcId" : 160,
1794 "comment" : "bit padding",
1795 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1796 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1797 "msg" : "30313233343536373839414243444546",
1798 "ct" : "8881e9e02fa9e3037b397957ba1fb7ce851be67798a2937cd6681165da6dce03",
1799 "result" : "invalid",
1800 "flags" : [
1801 "BadPadding"
1802 ]
1803 },
1804 {
1805 "tcId" : 161,
1806 "comment" : "bit padding",
1807 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1808 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1809 "msg" : "3031323334353637383941424344454647",
1810 "ct" : "8881e9e02fa9e3037b397957ba1fb7ce45658a37aaebc51098866b0894007e8e",
1811 "result" : "invalid",
1812 "flags" : [
1813 "BadPadding"
1814 ]
1815 },
1816 {
1817 "tcId" : 162,
1818 "comment" : "padding longer than 1 block",
1819 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1820 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1821 "msg" : "",
1822 "ct" : "524236e25956e950713bec0d3d579068f34e4d18c4ccab081317dae526fe7fca",
1823 "result" : "invalid",
1824 "flags" : [
1825 "BadPadding"
1826 ]
1827 },
1828 {
1829 "tcId" : 163,
1830 "comment" : "padding longer than 1 block",
1831 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1832 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1833 "msg" : "6162636465666768",
1834 "ct" : "d29eb845640c3a8878f51bc50e290aa4a65a34a93728fe8f82fdb8d3d2b7c648",
1835 "result" : "invalid",
1836 "flags" : [
1837 "BadPadding"
1838 ]
1839 },
1840 {
1841 "tcId" : 164,
1842 "comment" : "padding longer than 1 block",
1843 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1844 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1845 "msg" : "303132333435363738396162636465",
1846 "ct" : "c34563be2952277c0f5c67ae1d6f847118730dd7f6a502ceef3c4bce5999f7aa",
1847 "result" : "invalid",
1848 "flags" : [
1849 "BadPadding"
1850 ]
1851 },
1852 {
1853 "tcId" : 165,
1854 "comment" : "padding longer than 1 block",
1855 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1856 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1857 "msg" : "30313233343536373839414243444546",
1858 "ct" : "8881e9e02fa9e3037b397957ba1fb7cec0f74a1aa92fd9c96f9d15d193d1695c1eb33486e269277612f90f509f0535c2",
1859 "result" : "invalid",
1860 "flags" : [
1861 "BadPadding"
1862 ]
1863 },
1864 {
1865 "tcId" : 166,
1866 "comment" : "padding longer than 1 block",
1867 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1868 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1869 "msg" : "3031323334353637383941424344454647",
1870 "ct" : "8881e9e02fa9e3037b397957ba1fb7ce151ade309ec5200bacdd83b57ce794cd2b3bf9f8957def829e8465f7db266f9e",
1871 "result" : "invalid",
1872 "flags" : [
1873 "BadPadding"
1874 ]
1875 },
1876 {
1877 "tcId" : 167,
1878 "comment" : "ANSI X.923 padding",
1879 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1880 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1881 "msg" : "",
1882 "ct" : "fb38cbef13f1d5be9c0ac7ed9cbe023c",
1883 "result" : "invalid",
1884 "flags" : [
1885 "BadPadding"
1886 ]
1887 },
1888 {
1889 "tcId" : 168,
1890 "comment" : "ANSI X.923 padding",
1891 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1892 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1893 "msg" : "6162636465666768",
1894 "ct" : "18cf8988abe9a2463a3a75db1fac8bcc",
1895 "result" : "invalid",
1896 "flags" : [
1897 "BadPadding"
1898 ]
1899 },
1900 {
1901 "tcId" : 169,
1902 "comment" : "ANSI X.923 padding",
1903 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1904 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1905 "msg" : "30313233343536373839414243444546",
1906 "ct" : "8881e9e02fa9e3037b397957ba1fb7cee16d6fc4b4d3cdf6f915996e437fd4cc",
1907 "result" : "invalid",
1908 "flags" : [
1909 "BadPadding"
1910 ]
1911 },
1912 {
1913 "tcId" : 170,
1914 "comment" : "ANSI X.923 padding",
1915 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1916 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1917 "msg" : "3031323334353637383941424344454647",
1918 "ct" : "8881e9e02fa9e3037b397957ba1fb7cea8f41f61ead6e9936cbe7ee5a1163b9b",
1919 "result" : "invalid",
1920 "flags" : [
1921 "BadPadding"
1922 ]
1923 },
1924 {
1925 "tcId" : 171,
1926 "comment" : "ISO 10126 padding",
1927 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1928 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1929 "msg" : "",
1930 "ct" : "a05c14da0109093c195b4998812fe150",
1931 "result" : "invalid",
1932 "flags" : [
1933 "BadPadding"
1934 ]
1935 },
1936 {
1937 "tcId" : 172,
1938 "comment" : "ISO 10126 padding",
1939 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1940 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1941 "msg" : "6162636465666768",
1942 "ct" : "c477877250c8e4ca2869f35c4757cdb4",
1943 "result" : "invalid",
1944 "flags" : [
1945 "BadPadding"
1946 ]
1947 },
1948 {
1949 "tcId" : 173,
1950 "comment" : "ISO 10126 padding",
1951 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1952 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1953 "msg" : "30313233343536373839414243444546",
1954 "ct" : "8881e9e02fa9e3037b397957ba1fb7ce69f57c6e99c7b9df7d4879ccd15caf3d",
1955 "result" : "invalid",
1956 "flags" : [
1957 "BadPadding"
1958 ]
1959 },
1960 {
1961 "tcId" : 174,
1962 "comment" : "ISO 10126 padding",
1963 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1964 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1965 "msg" : "3031323334353637383941424344454647",
1966 "ct" : "8881e9e02fa9e3037b397957ba1fb7ce77f89a247c928f147748ce6bc8fc4b67",
1967 "result" : "invalid",
1968 "flags" : [
1969 "BadPadding"
1970 ]
1971 },
1972 {
1973 "tcId" : 175,
1974 "comment" : "padding longer than message",
1975 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1976 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1977 "msg" : "",
1978 "ct" : "524236e25956e950713bec0d3d579068",
1979 "result" : "invalid",
1980 "flags" : [
1981 "BadPadding"
1982 ]
1983 },
1984 {
1985 "tcId" : 176,
1986 "comment" : "padding longer than message",
1987 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
1988 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
1989 "msg" : "6162636465666768",
1990 "ct" : "e03b6f2ae1c963b6dfa40b42d34314b7",
1991 "result" : "invalid",
1992 "flags" : [
1993 "BadPadding"
1994 ]
1995 },
1996 {
1997 "tcId" : 177,
1998 "comment" : "padding longer than message",
1999 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
2000 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
2001 "msg" : "303132333435363738396162636465",
2002 "ct" : "df14f4cbbccca57b9727d68270a1b6c1",
2003 "result" : "invalid",
2004 "flags" : [
2005 "BadPadding"
2006 ]
2007 },
2008 {
2009 "tcId" : 178,
2010 "comment" : "padding longer than message",
2011 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
2012 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
2013 "msg" : "30313233343536373839414243444546",
2014 "ct" : "8881e9e02fa9e3037b397957ba1fb7ceea228bf1edd41c390e2eef140142bc00",
2015 "result" : "invalid",
2016 "flags" : [
2017 "BadPadding"
2018 ]
2019 },
2020 {
2021 "tcId" : 179,
2022 "comment" : "padding longer than message",
2023 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
2024 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
2025 "msg" : "3031323334353637383941424344454647",
2026 "ct" : "8881e9e02fa9e3037b397957ba1fb7ce3937e0e9abf7f672a34a500ba8e9099a",
2027 "result" : "invalid",
2028 "flags" : [
2029 "BadPadding"
2030 ]
2031 },
2032 {
2033 "tcId" : 180,
2034 "comment" : " invalid padding",
2035 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
2036 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
2037 "msg" : "",
2038 "ct" : "32ac6057df2a5d1e2e5131348c6ebc4e",
2039 "result" : "invalid",
2040 "flags" : [
2041 "BadPadding"
2042 ]
2043 },
2044 {
2045 "tcId" : 181,
2046 "comment" : " invalid padding",
2047 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
2048 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
2049 "msg" : "6162636465666768",
2050 "ct" : "df4a7c3b9f4756d30fca0d18e9b28960",
2051 "result" : "invalid",
2052 "flags" : [
2053 "BadPadding"
2054 ]
2055 },
2056 {
2057 "tcId" : 182,
2058 "comment" : " invalid padding",
2059 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
2060 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
2061 "msg" : "30313233343536373839414243444546",
2062 "ct" : "8881e9e02fa9e3037b397957ba1fb7ceae2855c47c7988873d57f901e049494b",
2063 "result" : "invalid",
2064 "flags" : [
2065 "BadPadding"
2066 ]
2067 },
2068 {
2069 "tcId" : 183,
2070 "comment" : " invalid padding",
2071 "key" : "7c78f34dbce8f0557d43630266f59babd1cb92ba624bd1a8f45a2a91c84a804a",
2072 "iv" : "f010f61c31c9aa8fa0d5be5f6b0f2f70",
2073 "msg" : "3031323334353637383941424344454647",
2074 "ct" : "8881e9e02fa9e3037b397957ba1fb7ce0714c8de200b27ac91d9257fc93c13be",
2075 "result" : "invalid",
2076 "flags" : [
2077 "BadPadding"
2078 ]
2079 }
2080 ]
2081 }
2082 ]
2083 }
0 {
1 "algorithm" : "AES-CCM",
2 "generatorVersion" : "0.4.12",
3 "numberOfTests" : 501,
4 "header" : [],
5 "testGroups" : [
6 {
7 "ivSize" : 96,
8 "keySize" : 128,
9 "tagSize" : 128,
10 "type" : "AeadTest",
11 "tests" : [
12 {
13 "tcId" : 1,
14 "comment" : "",
15 "key" : "bedcfb5a011ebc84600fcb296c15af0d",
16 "iv" : "438a547a94ea88dce46c6c85",
17 "aad" : "",
18 "msg" : "",
19 "ct" : "",
20 "tag" : "25d1a38495a7dea45bda049705627d10",
21 "result" : "valid",
22 "flags" : []
23 },
24 {
25 "tcId" : 2,
26 "comment" : "",
27 "key" : "384ea416ac3c2f51a76e7d8226346d4e",
28 "iv" : "b30c084727ad1c592ac21d12",
29 "aad" : "",
30 "msg" : "35",
31 "ct" : "d7",
32 "tag" : "6be3fd13b7065afc19e3b8a3b96b39fb",
33 "result" : "valid",
34 "flags" : []
35 },
36 {
37 "tcId" : 3,
38 "comment" : "",
39 "key" : "cae31cd9f55526eb038241fc44cac1e5",
40 "iv" : "b5e006ded553110e6dc56529",
41 "aad" : "",
42 "msg" : "d10989f2c52e94ad",
43 "ct" : "e64d0b64ebb381ec",
44 "tag" : "25409c795d491d804e583917227b73c7",
45 "result" : "valid",
46 "flags" : []
47 },
48 {
49 "tcId" : 4,
50 "comment" : "",
51 "key" : "ffdf4228361ea1f8165852136b3480f7",
52 "iv" : "0e1666f2dc652f7708fb8f0d",
53 "aad" : "",
54 "msg" : "25b12e28ac0ef6ead0226a3b2288c800",
55 "ct" : "aaf596fa5b00aaac27700146aec932a9",
56 "tag" : "848b6735d32c96e4a0532bcdfaf33582",
57 "result" : "valid",
58 "flags" : []
59 },
60 {
61 "tcId" : 5,
62 "comment" : "",
63 "key" : "c15ed227dd2e237ecd087eaaaad19ea4",
64 "iv" : "965ff6643116ac1443a2dec7",
65 "aad" : "",
66 "msg" : "fee62fde973fe025ad6b322dcdf3c63fc7",
67 "ct" : "0333df2a86d7f094dd8bce75da6c38c5c1",
68 "tag" : "417da29df85a1d134feee8aa35569081",
69 "result" : "valid",
70 "flags" : []
71 },
72 {
73 "tcId" : 6,
74 "comment" : "",
75 "key" : "a8ee11b26d7ceb7f17eaa1e4b83a2cf6",
76 "iv" : "fbbc04fd6e025b7193eb57f6",
77 "aad" : "",
78 "msg" : "c08f085e6a9e0ef3636280c11ecfadf0c1e72919ffc17eaf",
79 "ct" : "fcaaa38feda3aca975ac76553c3e7ef36b887a8c4d8241f9",
80 "tag" : "c2c6dcaeaeb9f38a3a42d2f4e8a17de4",
81 "result" : "valid",
82 "flags" : []
83 },
84 {
85 "tcId" : 7,
86 "comment" : "",
87 "key" : "1655bf662f7ee685615701fd3779d628",
88 "iv" : "42b51388f6f9047a2a994575",
89 "aad" : "",
90 "msg" : "857b2f6cd608c9cea0246c740caa4ca19c5f1c7d71cb9273f0d8c8bb65b70a",
91 "ct" : "b3fb66d3f2cb7590ad5ef5604813c125020ee3d791cb0ec67eb5eb86709b6b",
92 "tag" : "155577b98a811e45324616043997bc03",
93 "result" : "valid",
94 "flags" : []
95 },
96 {
97 "tcId" : 8,
98 "comment" : "",
99 "key" : "3fd50741ec47ddbfc2fc090975d154f0",
100 "iv" : "eef1a6e651321852f0b25a31",
101 "aad" : "",
102 "msg" : "d6f6a9a24db6a7a6176d4362639c4fd77f70f3e089dd940086e12a9becbaf97f82",
103 "ct" : "532694bb2851ea7f3bdd37c4e806be5b953ea79d08100e74af3fa67eca8890db28",
104 "tag" : "9e1acee688848bca454c6d04753d3c7d",
105 "result" : "valid",
106 "flags" : []
107 },
108 {
109 "tcId" : 9,
110 "comment" : "",
111 "key" : "42e38abef2dd7573248c5aefb3ecca54",
112 "iv" : "064b3cfbe04d94d4d5c19b30",
113 "aad" : "",
114 "msg" : "2c763b9ec84903bcbb8aec15e678a3a955e4870edbf62d9d3c81c4f9ed6154877875779ca33cce8f73a55ca7af1d8d817fc6baac00ef962c5a0da339ce81427a3d59",
115 "ct" : "4ca01b5b2a5e57bcc1a4b7f63f049dc477e3ee2e5c268efb346ff95b7dcd67f86ed0f11bb17c1dd7fb511d2f37b9684550c0d84be0f10030ccc4e0de5b74ef92ea54",
116 "tag" : "c5a57dd6fa16aa9de8de20e6bd321396",
117 "result" : "valid",
118 "flags" : []
119 },
120 {
121 "tcId" : 10,
122 "comment" : "",
123 "key" : "59ab7ec1c02bb206af5a9131f1134311",
124 "iv" : "5508f5cea197386986d92dbe",
125 "aad" : "a43d39f78a2e9a8a",
126 "msg" : "",
127 "ct" : "",
128 "tag" : "09ec70faae333537a7314929ddfb525b",
129 "result" : "valid",
130 "flags" : []
131 },
132 {
133 "tcId" : 11,
134 "comment" : "",
135 "key" : "9415f925bcb41dc25e86c826dbc8bf68",
136 "iv" : "bdffaa763b916ff0ee3f3ce4",
137 "aad" : "705d676cd8a94451",
138 "msg" : "feb36167eafc02c8e2bd6e13817686ba",
139 "ct" : "08db327a88be7b48f430fd7bfccdf502",
140 "tag" : "b7c249f810adacf99abded1f3b9130f2",
141 "result" : "valid",
142 "flags" : []
143 },
144 {
145 "tcId" : 12,
146 "comment" : "",
147 "key" : "d97c9b043bdccfd59491a995e78f1696",
148 "iv" : "ef423240358830df915506a3",
149 "aad" : "3ddba7b3ab69c8b2",
150 "msg" : "f047594a5cffda64303a80b2fa6a957169",
151 "ct" : "e0caf2a9d50f70ecaa43b4a287c3b34a99",
152 "tag" : "cff4c61882b413b686ff35b63a3a73de",
153 "result" : "valid",
154 "flags" : []
155 },
156 {
157 "tcId" : 13,
158 "comment" : "",
159 "key" : "16be38c05c7bc5c68ee6203871799240",
160 "iv" : "acca8ae916119e49d87c33a7",
161 "aad" : "28",
162 "msg" : "",
163 "ct" : "",
164 "tag" : "217d40efd972701fcc33df5362e1ea9c",
165 "result" : "valid",
166 "flags" : []
167 },
168 {
169 "tcId" : 14,
170 "comment" : "",
171 "key" : "7c89680b4bca11a64314f4cac57a95df",
172 "iv" : "07c8ef981bea995257d3d65a",
173 "aad" : "b8e8",
174 "msg" : "",
175 "ct" : "",
176 "tag" : "dea636ded8b9ef2a08ffdf58a05b7871",
177 "result" : "valid",
178 "flags" : []
179 },
180 {
181 "tcId" : 15,
182 "comment" : "",
183 "key" : "439fd5c3b76587d5a601ba6ef8fad214",
184 "iv" : "ed1d316d0834d174c1b5b438",
185 "aad" : "eae252f42d2c71",
186 "msg" : "",
187 "ct" : "",
188 "tag" : "e8530426cbabf63633ff373159247e38",
189 "result" : "valid",
190 "flags" : []
191 },
192 {
193 "tcId" : 16,
194 "comment" : "",
195 "key" : "1a44f3550688fddbc1e5041dc98952c0",
196 "iv" : "5d2904298f668ba95eaa1797",
197 "aad" : "d55908958b70abee81054cdf3d3df5",
198 "msg" : "",
199 "ct" : "",
200 "tag" : "5c71b4f069cfa13b7634db4b13e7be7d",
201 "result" : "valid",
202 "flags" : []
203 },
204 {
205 "tcId" : 17,
206 "comment" : "",
207 "key" : "7db6d8e58e3c552a644520aa805e2f48",
208 "iv" : "e98693e9f6632d115b5d5a74",
209 "aad" : "6fc1ca24e69786aa26bfb5d46ef8cb56",
210 "msg" : "",
211 "ct" : "",
212 "tag" : "b9a8a6d461a441fbd5bb6a8ac0d47e9d",
213 "result" : "valid",
214 "flags" : []
215 },
216 {
217 "tcId" : 18,
218 "comment" : "",
219 "key" : "de6ed169d396cfb7378e892c7faf1d5d",
220 "iv" : "efc1870282e77ca8063f1beb",
221 "aad" : "eedf6e776ad37dc610825a6168e21356c2",
222 "msg" : "",
223 "ct" : "",
224 "tag" : "0d650a974ebea22fed077d229e0c9e65",
225 "result" : "valid",
226 "flags" : []
227 },
228 {
229 "tcId" : 19,
230 "comment" : "",
231 "key" : "6cf09599181c07aeb21d7820bf706595",
232 "iv" : "4c4c525a8c7ee6879aefa79e",
233 "aad" : "bd913967db07b9eb5907f0be71ce886c41ff923c296c0ef3f704e98f649e59",
234 "msg" : "",
235 "ct" : "",
236 "tag" : "806e48e7d452b63b6126f576efbdf4c4",
237 "result" : "valid",
238 "flags" : []
239 },
240 {
241 "tcId" : 20,
242 "comment" : "",
243 "key" : "ef35b5c797bb6beedb513ba3d8aebd25",
244 "iv" : "0576a1017ac00e49110c4cac",
245 "aad" : "a386d5c44de8c6a5063adf5ba9f0b75e9ad1f239a530dd76d797554d7b037d7d",
246 "msg" : "",
247 "ct" : "",
248 "tag" : "6966a1cf5729332b26fd3e3850b74865",
249 "result" : "valid",
250 "flags" : []
251 },
252 {
253 "tcId" : 21,
254 "comment" : "",
255 "key" : "649f3dfddbf1af6087674568e2e6d7c3",
256 "iv" : "6ca6f87b7a8584df4f4687b9",
257 "aad" : "35312ca23e4eb36cb0a66c6f386b8ec29f6d11e82fbfcaadfd6cbc9b59d51a6c0270868274d91f60978d1f0f37280930d3fdcb3e90ea461eccc83fa0d975548816",
258 "msg" : "",
259 "ct" : "",
260 "tag" : "3daa0003de384d78443ffd3a5ea48179",
261 "result" : "valid",
262 "flags" : []
263 },
264 {
265 "tcId" : 22,
266 "comment" : "",
267 "key" : "a5b5b6bae45b741fe4663890098f326a",
268 "iv" : "4bad10c6d84fd43fd13ad36f",
269 "aad" : "30",
270 "msg" : "127b150080ec0bc7704e26f4ab11abb6",
271 "ct" : "75e6ffcb6114833b67cd93bdf2c22b55",
272 "tag" : "c90e18eaf810b7bcefe7a526b1783b20",
273 "result" : "valid",
274 "flags" : []
275 },
276 {
277 "tcId" : 23,
278 "comment" : "",
279 "key" : "0cecb9f512932d68e2c7c0bc4bd621c8",
280 "iv" : "2186a3091237adae83540e24",
281 "aad" : "743e",
282 "msg" : "437aeb94d842283ba57bb758e3d229f0",
283 "ct" : "646cef72906e2b8f69ac3134b496598e",
284 "tag" : "9dab1ee9314a0430abf54c37c88c790f",
285 "result" : "valid",
286 "flags" : []
287 },
288 {
289 "tcId" : 24,
290 "comment" : "",
291 "key" : "a3fd2fdcce8a63bfe4eb2db7e42adbe1",
292 "iv" : "690e7ad1e05d0d4ab4552cf7",
293 "aad" : "ab91ec8cc73373",
294 "msg" : "be0231b5c7861f0af7b6381479d25b77",
295 "ct" : "a884f769fcc727839d59711fa3cb5ee0",
296 "tag" : "f2017e3bd10bb1b43fdcc0feeffc9c68",
297 "result" : "valid",
298 "flags" : []
299 },
300 {
301 "tcId" : 25,
302 "comment" : "",
303 "key" : "55e04c122780be52ed9328928039008c",
304 "iv" : "0c908e58cddad69dea1a32c3",
305 "aad" : "25591707c004f506f4b51e85e29f6a",
306 "msg" : "26eb70672eef03667b34cc7d0df05872",
307 "ct" : "89166dcd7d74a445dfd3526c5180d825",
308 "tag" : "8b8ed5f97a168881c3b6efe91cfe7043",
309 "result" : "valid",
310 "flags" : []
311 },
312 {
313 "tcId" : 26,
314 "comment" : "",
315 "key" : "5f0a1b5f8f8673d566ec7f54e7dca4f2",
316 "iv" : "c30968c967e53505621628db",
317 "aad" : "c07092d799dac2b4c05fbddd04743c34",
318 "msg" : "f6538476daf04524cf134309dd84e187",
319 "ct" : "2315110f7ec64e7a23e5a762822f71ab",
320 "tag" : "dc7b12fa2dbfbdc6d85faa77a2eb767e",
321 "result" : "valid",
322 "flags" : []
323 },
324 {
325 "tcId" : 27,
326 "comment" : "",
327 "key" : "671a70e883fb0611dffd0b1dd9b8cca2",
328 "iv" : "a51c37f467893c1608e56274",
329 "aad" : "3ea12d80f40f34f812479d2ecc13d2d6df",
330 "msg" : "3baf3edf04dc0c97aae081cdeb08021d",
331 "ct" : "5d5630fc728ffb08ce693f7299e6728b",
332 "tag" : "00023f11a023c0786c105fe4c003af6e",
333 "result" : "valid",
334 "flags" : []
335 },
336 {
337 "tcId" : 28,
338 "comment" : "",
339 "key" : "20bbf74c1e63982c472c4743569e4c84",
340 "iv" : "459fc7c004bf46323a02d846",
341 "aad" : "4f2285ce3dafa528c694a5272d3b7b929097db398772653bd9bbbdb3b2c8e1",
342 "msg" : "6db50992e8fbbee15d4979d3e322dacd",
343 "ct" : "8703e44697138c58532d97ee99231d94",
344 "tag" : "f14c2f39a4871a4a16c42f6fe878deef",
345 "result" : "valid",
346 "flags" : []
347 },
348 {
349 "tcId" : 29,
350 "comment" : "",
351 "key" : "63f03172505d90e94900125cb8a4b0dd",
352 "iv" : "52c20979cdaaade573dba650",
353 "aad" : "5189ea6f39b2a78c0202fdff146c5cc6bdc7491d4786f80c6c6aef65634c05da",
354 "msg" : "602c98997ee03fd11ce00e92de193977",
355 "ct" : "5590155f3e701b4a960989d0251bac65",
356 "tag" : "fd6a2c9273d124b5553be42e78931465",
357 "result" : "valid",
358 "flags" : []
359 },
360 {
361 "tcId" : 30,
362 "comment" : "",
363 "key" : "5bf008f6f27cc21f5ae82fb7907b1d92",
364 "iv" : "580af48bc1108604d5551343",
365 "aad" : "482da24bb4fb9eaa0dbf403733597f5b3ee8338b5d09a1d6f9070bb069264abbcacc5657aa6353f179d1bb4c7fa00526789eaf08e0da258cbdb39e9877c68b4a75",
366 "msg" : "ca89d6ae284afb6792cd894e07aa8336",
367 "ct" : "1b89c6bcddefbe9233ee4093468a5f61",
368 "tag" : "a49c7747dad42df6d729a01f4c50cf34",
369 "result" : "valid",
370 "flags" : []
371 },
372 {
373 "tcId" : 31,
374 "comment" : "",
375 "key" : "30d8692eb3b62db6144f74ee9dec5296",
376 "iv" : "fe9f6fb4415cfb4189f9c76d",
377 "aad" : "",
378 "msg" : "",
379 "ct" : "",
380 "tag" : "804f915fc7fea2ca7d8baf1350c5227b",
381 "result" : "valid",
382 "flags" : []
383 },
384 {
385 "tcId" : 32,
386 "comment" : "",
387 "key" : "21517fd9ebfd387dff2a0c0518ab8267",
388 "iv" : "61f6c4ec9e2091d4a031804a",
389 "aad" : "76d332ba081b3d3cfba271167ba108cd",
390 "msg" : "",
391 "ct" : "",
392 "tag" : "2cc4b905a4d39e35d4beaebded9b5966",
393 "result" : "valid",
394 "flags" : []
395 },
396 {
397 "tcId" : 33,
398 "comment" : "",
399 "key" : "a716f931c8f9d977f7da8573bc65f2bf",
400 "iv" : "91773659adac8f12e5526316",
401 "aad" : "",
402 "msg" : "9c98038c5e8d1af597b3b9188b3624fb",
403 "ct" : "99ae76cfff552ce37b210e26e810787c",
404 "tag" : "2bdab5e6f008b0cc751d5b067487eb2b",
405 "result" : "valid",
406 "flags" : []
407 },
408 {
409 "tcId" : 34,
410 "comment" : "",
411 "key" : "875b0b4a84150524eb1f50f9d8de1388",
412 "iv" : "fdc5014ed1ad706129d57322",
413 "aad" : "35a6d9829c8449c4402e385cc5c6fe98",
414 "msg" : "2f575dfb2dbe9d238de576fc63e4ac32",
415 "ct" : "3469c3ff738aa32aacc1ac48d89b1d75",
416 "tag" : "fa68720a3171a54c4b3690bffde7b610",
417 "result" : "valid",
418 "flags" : []
419 },
420 {
421 "tcId" : 35,
422 "comment" : "",
423 "key" : "d6298fff67dba1ec250308e0bc5f4fae",
424 "iv" : "d96f9bbbfa14e9616c458df5",
425 "aad" : "",
426 "msg" : "8eeb4445a34c81fdbc478b83df71116ce6",
427 "ct" : "476869a3ddb386bf42478d0c84179045be",
428 "tag" : "9136d994daa22ead4d0827e5825001ac",
429 "result" : "valid",
430 "flags" : []
431 },
432 {
433 "tcId" : 36,
434 "comment" : "",
435 "key" : "e3d3ec41f28eb35fb53f5fa91804e051",
436 "iv" : "89d270fc8b583bc631cefd39",
437 "aad" : "3d2f458c67c5b6c794b1f12dad409e0f",
438 "msg" : "847acf521995b33f8bc474c8befbca3bb2",
439 "ct" : "28aaec53493cd6252cf6410ed141bdafb7",
440 "tag" : "47bf3e16c227ca11fd68a16d407c2cc3",
441 "result" : "valid",
442 "flags" : []
443 },
444 {
445 "tcId" : 37,
446 "comment" : "",
447 "key" : "faf36a66f8e54f2fb2a02f3a30f0180b",
448 "iv" : "2ffa982a4784797cf46b07ab",
449 "aad" : "",
450 "msg" : "50a59edc01b7bd0db6ec43fe23f72e70ed4d42337ab1926cc6956aa44dbebf",
451 "ct" : "a789907aeb2344f025b1b426c9dee52b106ff2110cb200cfb85aea60fddf6a",
452 "tag" : "722e5c450c5ed9492859a3236a220f76",
453 "result" : "valid",
454 "flags" : []
455 },
456 {
457 "tcId" : 38,
458 "comment" : "",
459 "key" : "2c9b9ff47d742c4ab224e9ca1ed57c4c",
460 "iv" : "917962caf3932441c259282f",
461 "aad" : "72175bdfdb4a23e97fdcbd263baf4316",
462 "msg" : "b542c2f3f81670ddf74f15184ab7de17e057cde9eef92babdb837500774c19",
463 "ct" : "320ae0c11e92d10d5bf5485c854b2d8f6318e33f16b520cffd35ada381c967",
464 "tag" : "a4866908e664ee140c6ae2b9d2ab8416",
465 "result" : "valid",
466 "flags" : []
467 },
468 {
469 "tcId" : 39,
470 "comment" : "Flipped bit 0 in tag",
471 "key" : "000102030405060708090a0b0c0d0e0f",
472 "iv" : "505152535455565758595a5b",
473 "aad" : "",
474 "msg" : "202122232425262728292a2b2c2d2e2f",
475 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
476 "tag" : "3d6d5f66430ad65bb034077297f0929a",
477 "result" : "invalid",
478 "flags" : []
479 },
480 {
481 "tcId" : 40,
482 "comment" : "Flipped bit 1 in tag",
483 "key" : "000102030405060708090a0b0c0d0e0f",
484 "iv" : "505152535455565758595a5b",
485 "aad" : "",
486 "msg" : "202122232425262728292a2b2c2d2e2f",
487 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
488 "tag" : "3e6d5f66430ad65bb034077297f0929a",
489 "result" : "invalid",
490 "flags" : []
491 },
492 {
493 "tcId" : 41,
494 "comment" : "Flipped bit 7 in tag",
495 "key" : "000102030405060708090a0b0c0d0e0f",
496 "iv" : "505152535455565758595a5b",
497 "aad" : "",
498 "msg" : "202122232425262728292a2b2c2d2e2f",
499 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
500 "tag" : "bc6d5f66430ad65bb034077297f0929a",
501 "result" : "invalid",
502 "flags" : []
503 },
504 {
505 "tcId" : 42,
506 "comment" : "Flipped bit 8 in tag",
507 "key" : "000102030405060708090a0b0c0d0e0f",
508 "iv" : "505152535455565758595a5b",
509 "aad" : "",
510 "msg" : "202122232425262728292a2b2c2d2e2f",
511 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
512 "tag" : "3c6c5f66430ad65bb034077297f0929a",
513 "result" : "invalid",
514 "flags" : []
515 },
516 {
517 "tcId" : 43,
518 "comment" : "Flipped bit 31 in tag",
519 "key" : "000102030405060708090a0b0c0d0e0f",
520 "iv" : "505152535455565758595a5b",
521 "aad" : "",
522 "msg" : "202122232425262728292a2b2c2d2e2f",
523 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
524 "tag" : "3c6d5fe6430ad65bb034077297f0929a",
525 "result" : "invalid",
526 "flags" : []
527 },
528 {
529 "tcId" : 44,
530 "comment" : "Flipped bit 32 in tag",
531 "key" : "000102030405060708090a0b0c0d0e0f",
532 "iv" : "505152535455565758595a5b",
533 "aad" : "",
534 "msg" : "202122232425262728292a2b2c2d2e2f",
535 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
536 "tag" : "3c6d5f66420ad65bb034077297f0929a",
537 "result" : "invalid",
538 "flags" : []
539 },
540 {
541 "tcId" : 45,
542 "comment" : "Flipped bit 33 in tag",
543 "key" : "000102030405060708090a0b0c0d0e0f",
544 "iv" : "505152535455565758595a5b",
545 "aad" : "",
546 "msg" : "202122232425262728292a2b2c2d2e2f",
547 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
548 "tag" : "3c6d5f66410ad65bb034077297f0929a",
549 "result" : "invalid",
550 "flags" : []
551 },
552 {
553 "tcId" : 46,
554 "comment" : "Flipped bit 63 in tag",
555 "key" : "000102030405060708090a0b0c0d0e0f",
556 "iv" : "505152535455565758595a5b",
557 "aad" : "",
558 "msg" : "202122232425262728292a2b2c2d2e2f",
559 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
560 "tag" : "3c6d5f66430ad6dbb034077297f0929a",
561 "result" : "invalid",
562 "flags" : []
563 },
564 {
565 "tcId" : 47,
566 "comment" : "Flipped bit 64 in tag",
567 "key" : "000102030405060708090a0b0c0d0e0f",
568 "iv" : "505152535455565758595a5b",
569 "aad" : "",
570 "msg" : "202122232425262728292a2b2c2d2e2f",
571 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
572 "tag" : "3c6d5f66430ad65bb134077297f0929a",
573 "result" : "invalid",
574 "flags" : []
575 },
576 {
577 "tcId" : 48,
578 "comment" : "Flipped bit 71 in tag",
579 "key" : "000102030405060708090a0b0c0d0e0f",
580 "iv" : "505152535455565758595a5b",
581 "aad" : "",
582 "msg" : "202122232425262728292a2b2c2d2e2f",
583 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
584 "tag" : "3c6d5f66430ad65b3034077297f0929a",
585 "result" : "invalid",
586 "flags" : []
587 },
588 {
589 "tcId" : 49,
590 "comment" : "Flipped bit 77 in tag",
591 "key" : "000102030405060708090a0b0c0d0e0f",
592 "iv" : "505152535455565758595a5b",
593 "aad" : "",
594 "msg" : "202122232425262728292a2b2c2d2e2f",
595 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
596 "tag" : "3c6d5f66430ad65bb014077297f0929a",
597 "result" : "invalid",
598 "flags" : []
599 },
600 {
601 "tcId" : 50,
602 "comment" : "Flipped bit 80 in tag",
603 "key" : "000102030405060708090a0b0c0d0e0f",
604 "iv" : "505152535455565758595a5b",
605 "aad" : "",
606 "msg" : "202122232425262728292a2b2c2d2e2f",
607 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
608 "tag" : "3c6d5f66430ad65bb034067297f0929a",
609 "result" : "invalid",
610 "flags" : []
611 },
612 {
613 "tcId" : 51,
614 "comment" : "Flipped bit 96 in tag",
615 "key" : "000102030405060708090a0b0c0d0e0f",
616 "iv" : "505152535455565758595a5b",
617 "aad" : "",
618 "msg" : "202122232425262728292a2b2c2d2e2f",
619 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
620 "tag" : "3c6d5f66430ad65bb034077296f0929a",
621 "result" : "invalid",
622 "flags" : []
623 },
624 {
625 "tcId" : 52,
626 "comment" : "Flipped bit 97 in tag",
627 "key" : "000102030405060708090a0b0c0d0e0f",
628 "iv" : "505152535455565758595a5b",
629 "aad" : "",
630 "msg" : "202122232425262728292a2b2c2d2e2f",
631 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
632 "tag" : "3c6d5f66430ad65bb034077295f0929a",
633 "result" : "invalid",
634 "flags" : []
635 },
636 {
637 "tcId" : 53,
638 "comment" : "Flipped bit 103 in tag",
639 "key" : "000102030405060708090a0b0c0d0e0f",
640 "iv" : "505152535455565758595a5b",
641 "aad" : "",
642 "msg" : "202122232425262728292a2b2c2d2e2f",
643 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
644 "tag" : "3c6d5f66430ad65bb034077217f0929a",
645 "result" : "invalid",
646 "flags" : []
647 },
648 {
649 "tcId" : 54,
650 "comment" : "Flipped bit 120 in tag",
651 "key" : "000102030405060708090a0b0c0d0e0f",
652 "iv" : "505152535455565758595a5b",
653 "aad" : "",
654 "msg" : "202122232425262728292a2b2c2d2e2f",
655 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
656 "tag" : "3c6d5f66430ad65bb034077297f0929b",
657 "result" : "invalid",
658 "flags" : []
659 },
660 {
661 "tcId" : 55,
662 "comment" : "Flipped bit 121 in tag",
663 "key" : "000102030405060708090a0b0c0d0e0f",
664 "iv" : "505152535455565758595a5b",
665 "aad" : "",
666 "msg" : "202122232425262728292a2b2c2d2e2f",
667 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
668 "tag" : "3c6d5f66430ad65bb034077297f09298",
669 "result" : "invalid",
670 "flags" : []
671 },
672 {
673 "tcId" : 56,
674 "comment" : "Flipped bit 126 in tag",
675 "key" : "000102030405060708090a0b0c0d0e0f",
676 "iv" : "505152535455565758595a5b",
677 "aad" : "",
678 "msg" : "202122232425262728292a2b2c2d2e2f",
679 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
680 "tag" : "3c6d5f66430ad65bb034077297f092da",
681 "result" : "invalid",
682 "flags" : []
683 },
684 {
685 "tcId" : 57,
686 "comment" : "Flipped bit 127 in tag",
687 "key" : "000102030405060708090a0b0c0d0e0f",
688 "iv" : "505152535455565758595a5b",
689 "aad" : "",
690 "msg" : "202122232425262728292a2b2c2d2e2f",
691 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
692 "tag" : "3c6d5f66430ad65bb034077297f0921a",
693 "result" : "invalid",
694 "flags" : []
695 },
696 {
697 "tcId" : 58,
698 "comment" : "Flipped bits 0 and 64 in tag",
699 "key" : "000102030405060708090a0b0c0d0e0f",
700 "iv" : "505152535455565758595a5b",
701 "aad" : "",
702 "msg" : "202122232425262728292a2b2c2d2e2f",
703 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
704 "tag" : "3d6d5f66430ad65bb134077297f0929a",
705 "result" : "invalid",
706 "flags" : []
707 },
708 {
709 "tcId" : 59,
710 "comment" : "Flipped bits 31 and 63 in tag",
711 "key" : "000102030405060708090a0b0c0d0e0f",
712 "iv" : "505152535455565758595a5b",
713 "aad" : "",
714 "msg" : "202122232425262728292a2b2c2d2e2f",
715 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
716 "tag" : "3c6d5fe6430ad6dbb034077297f0929a",
717 "result" : "invalid",
718 "flags" : []
719 },
720 {
721 "tcId" : 60,
722 "comment" : "Flipped bits 63 and 127 in tag",
723 "key" : "000102030405060708090a0b0c0d0e0f",
724 "iv" : "505152535455565758595a5b",
725 "aad" : "",
726 "msg" : "202122232425262728292a2b2c2d2e2f",
727 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
728 "tag" : "3c6d5f66430ad6dbb034077297f0921a",
729 "result" : "invalid",
730 "flags" : []
731 },
732 {
733 "tcId" : 61,
734 "comment" : "all bits of tag flipped",
735 "key" : "000102030405060708090a0b0c0d0e0f",
736 "iv" : "505152535455565758595a5b",
737 "aad" : "",
738 "msg" : "202122232425262728292a2b2c2d2e2f",
739 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
740 "tag" : "c392a099bcf529a44fcbf88d680f6d65",
741 "result" : "invalid",
742 "flags" : []
743 },
744 {
745 "tcId" : 62,
746 "comment" : "Tag changed to all zero",
747 "key" : "000102030405060708090a0b0c0d0e0f",
748 "iv" : "505152535455565758595a5b",
749 "aad" : "",
750 "msg" : "202122232425262728292a2b2c2d2e2f",
751 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
752 "tag" : "00000000000000000000000000000000",
753 "result" : "invalid",
754 "flags" : []
755 },
756 {
757 "tcId" : 63,
758 "comment" : "tag changed to all 1",
759 "key" : "000102030405060708090a0b0c0d0e0f",
760 "iv" : "505152535455565758595a5b",
761 "aad" : "",
762 "msg" : "202122232425262728292a2b2c2d2e2f",
763 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
764 "tag" : "ffffffffffffffffffffffffffffffff",
765 "result" : "invalid",
766 "flags" : []
767 },
768 {
769 "tcId" : 64,
770 "comment" : "msbs changed in tag",
771 "key" : "000102030405060708090a0b0c0d0e0f",
772 "iv" : "505152535455565758595a5b",
773 "aad" : "",
774 "msg" : "202122232425262728292a2b2c2d2e2f",
775 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
776 "tag" : "bceddfe6c38a56db30b487f21770121a",
777 "result" : "invalid",
778 "flags" : []
779 },
780 {
781 "tcId" : 65,
782 "comment" : "lsbs changed in tag",
783 "key" : "000102030405060708090a0b0c0d0e0f",
784 "iv" : "505152535455565758595a5b",
785 "aad" : "",
786 "msg" : "202122232425262728292a2b2c2d2e2f",
787 "ct" : "3ee9f3430f3e803c0a46b7a84cd803de",
788 "tag" : "3d6c5e67420bd75ab135067396f1939b",
789 "result" : "invalid",
790 "flags" : []
791 }
792 ]
793 },
794 {
795 "ivSize" : 96,
796 "keySize" : 192,
797 "tagSize" : 128,
798 "type" : "AeadTest",
799 "tests" : [
800 {
801 "tcId" : 66,
802 "comment" : "",
803 "key" : "5019eb9fef82e5750b631758f0213e3e5fcca12748b40eb4",
804 "iv" : "ff0ddb0a0d7b36d219da12b5",
805 "aad" : "",
806 "msg" : "",
807 "ct" : "",
808 "tag" : "2d03f5e8c2e5a1b43c7708dd0cbf0acd",
809 "result" : "valid",
810 "flags" : []
811 },
812 {
813 "tcId" : 67,
814 "comment" : "",
815 "key" : "21218af790428f8024d3e7e1428c9fcf578c216636d60e73",
816 "iv" : "34047bc39b9c608384dff5b8",
817 "aad" : "",
818 "msg" : "e3",
819 "ct" : "39",
820 "tag" : "7450f55a21e717a1106ea0c11871f5ff",
821 "result" : "valid",
822 "flags" : []
823 },
824 {
825 "tcId" : 68,
826 "comment" : "",
827 "key" : "3a8bf543c480925632118245bcbf5d01522b987a31a33da3",
828 "iv" : "4ebc13cf4636cc7c45e560a7",
829 "aad" : "",
830 "msg" : "53fc72e71b59eeb3",
831 "ct" : "5d24d0e1a2ee9fce",
832 "tag" : "e770f91a51f5b587a44cd9d3634b9706",
833 "result" : "valid",
834 "flags" : []
835 },
836 {
837 "tcId" : 69,
838 "comment" : "",
839 "key" : "bcb6bc5ee6743df1396a34639327b25809ec9c81dd6a0c0e",
840 "iv" : "be0326d23bdc2c64648d13f4",
841 "aad" : "",
842 "msg" : "80474a3a3b809560eee2ce7a7a33ea07",
843 "ct" : "db5893dc8da336614aa0ff768d469535",
844 "tag" : "902c2a8325cb55bc95f0e13cafe9aa8d",
845 "result" : "valid",
846 "flags" : []
847 },
848 {
849 "tcId" : 70,
850 "comment" : "",
851 "key" : "5e1d28213e092536525bbae09e214af4c891e202b2b4fa4f",
852 "iv" : "b6be6cd0681235d826aa28ea",
853 "aad" : "",
854 "msg" : "53d59433a7db7f41b31ccb6d4a2d789965",
855 "ct" : "20ebc1f5a2c9f88d1cdb182e81329cc03e",
856 "tag" : "bc545e91c974a744baeab2dd8ce60960",
857 "result" : "valid",
858 "flags" : []
859 },
860 {
861 "tcId" : 71,
862 "comment" : "",
863 "key" : "7f672d85e151aa490bc0eec8f66b5e5bee74af11642be3ff",
864 "iv" : "b022067048505b20946216ef",
865 "aad" : "",
866 "msg" : "ef6412c72b03c643fa02565a0ae2378a9311c11a84065f80",
867 "ct" : "1bc99029a09c080140608a62c33bc7ae69ff811fefb20b2d",
868 "tag" : "80f09103485f95f86ad1f072a214c55e",
869