blob: 4b580acc980004f89576f18080a82a0abc960605 [file] [log] [blame]
Jade Philipoomdb1f86d2021-11-30 14:57:00 +00001{
2 "algorithm" : "KWP",
3 "generatorVersion" : "0.8r12",
4 "numberOfTests" : 254,
5 "header" : [
6 "Test vectors of type Keywrap are intended for tests",
7 "checking the wrapping and unwrapping of key material."
8 ],
9 "notes" : {
10 "SmallKey" : "This test vector wraps a key smaller than 128-bits. Rejecting such keys may be reasonable to detect weak keys. Rejecting the keys also simplifies the implementation and its analysis.",
11 "WeakWrapping" : "The wrapping key should be at least as strong as the key it wraps. The wrapping key in this test vector is shorter than the wrapped key."
12 },
13 "schema" : "keywrap_test_schema.json",
14 "testGroups" : [
15 {
16 "keySize" : 128,
17 "type" : "KeywrapTest",
18 "tests" : [
19 {
20 "tcId" : 1,
21 "comment" : "",
22 "key" : "6f67486d1e914419cb43c28509c7c1ea",
23 "msg" : "8dc0632d92ee0be4f740028410b08270",
24 "ct" : "8cd63fa6788aa5edfa753fc87d645a672b14107c3b4519e7",
25 "result" : "valid",
26 "flags" : []
27 },
28 {
29 "tcId" : 2,
30 "comment" : "",
31 "key" : "a0b17172bb296db7f5c869e9a36b5ce3",
32 "msg" : "615dd022d607c910f20178cbdf42060f",
33 "ct" : "e8bac475d1429034b32f9bdeec09a37f9b3704028f1e0270",
34 "result" : "valid",
35 "flags" : []
36 },
37 {
38 "tcId" : 3,
39 "comment" : "",
40 "key" : "0e49d571c19b5250effd41d94bde39d6",
41 "msg" : "f25e4de8caca363fd5f29442eb147b55",
42 "ct" : "4c8bcd601b508ef399f71b841294497a4493c4a0014c0103",
43 "result" : "valid",
44 "flags" : []
45 },
46 {
47 "tcId" : 4,
48 "comment" : "wrapped key is longer than wrapping key",
49 "key" : "e0e12959109103e30ae8b5684a22e662",
50 "msg" : "dbb0f2bb2be912a20430972d9842ce3fd3b928e573e1ac8e",
51 "ct" : "9e4510cc84c4bd7abab0a8a5d7f1e6ff3e6777ca2dff9be7e223652239fe57d8",
52 "result" : "acceptable",
53 "flags" : [
54 "WeakWrapping"
55 ]
56 },
57 {
58 "tcId" : 5,
59 "comment" : "wrapped key is longer than wrapping key",
60 "key" : "dd583d9f1059861430ec8b5d8a180e9b",
61 "msg" : "f2e34f356362a31b51d6e02bcd333c9e6170494ca5ff5487",
62 "ct" : "8fbf39ae583bd4efa7a3e8f7b86870b34766ae7d8923a8e97b0cd289ad98cacb",
63 "result" : "acceptable",
64 "flags" : [
65 "WeakWrapping"
66 ]
67 },
68 {
69 "tcId" : 6,
70 "comment" : "wrapped key is longer than wrapping key",
71 "key" : "faf5ccfae42b43cee2c5f0f3177a7c5d",
72 "msg" : "4e02084833660c463830483b36dab866c64c8cf7429cac3d",
73 "ct" : "df2fbe5fa86418edc7b5b04a4aea724aca17e88cedc84ca8b0b0f048e64590cb",
74 "result" : "acceptable",
75 "flags" : [
76 "WeakWrapping"
77 ]
78 },
79 {
80 "tcId" : 7,
81 "comment" : "wrapped key is longer than wrapping key",
82 "key" : "c2b9d23f2831ddcdeb456853d4014db9",
83 "msg" : "f4cfea98e58b939cc859554385cf3a6c7f8217f728efb431c964786de8274907",
84 "ct" : "67f8edf57f84ea0a35b35511d67d3f299c9984b2c07d3809c3d7f5f45091f1a8fbb937ed447677f6",
85 "result" : "acceptable",
86 "flags" : [
87 "WeakWrapping"
88 ]
89 },
90 {
91 "tcId" : 8,
92 "comment" : "wrapped key is longer than wrapping key",
93 "key" : "620a08f320cdedbf7ae551add348d95e",
94 "msg" : "cec34eaf8e67e1ce619ddfc309531c42f16033a7e2cbc4f5eb3a548164e9b291",
95 "ct" : "60d55a22ba7dbd7d8f317388e01e6be561d15d29f85c566f1259aa7e7dc3d5d30e0ef5f4c6267553",
96 "result" : "acceptable",
97 "flags" : [
98 "WeakWrapping"
99 ]
100 },
101 {
102 "tcId" : 9,
103 "comment" : "wrapped key is longer than wrapping key",
104 "key" : "ed089ac274f8c7cea2415671a94b5e53",
105 "msg" : "6065e41df14daeeefacac5daeb7674cdc9c1f686013b797153e80ef215893299",
106 "ct" : "d78a8291108f0f2d8be0ec10ec08240bf4d3021f0a5ed7faba0748db73762f34a0504bd373212df2",
107 "result" : "acceptable",
108 "flags" : [
109 "WeakWrapping"
110 ]
111 },
112 {
113 "tcId" : 10,
114 "comment" : "Round counter overflows 256",
115 "key" : "b6121acad51038e11873aaa7e6c7be06",
116 "msg" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
117 "ct" : "9341221aca1c647e2afc2bdd9cf4ed6e60058eb0a84cb3fc2daf3a87d9fad0a1f8268b27aaf7201d705e72f7e2240309ad98742094e3f1c99b7faa9ae181b441f5004b8bc93cdd4160d403d0884749a3c379d47c112a45788c05c2106c98f59758d393e04c880691b0e8683a12df7f876e1e1f68b4acbae9cc8310b34d59ccf4617cee72e845df1e0e32e5b4938f2923d55f1bb5156dd8c787401e6ef241ea4073d0a59ddfcd7a53db5d89b480b030cfb9084ea8479b964f090bb612d5251eee9ef8870a45f1e76fd24abdd9b350fe148b15a4cfeb032d57b5743b3548a7ce9eec8e21a31ce832530edfd1cffd9bb37369e6463c6b373ab60d80b0a2677e92e658f7daf2a5234b7312bf2d967cd0bc809e9be2f706ae63bd632fd611f161e48ee19677f3243aa0e91f6651a1cef62feff7a72eedf830bae1dc6d89e55ccb5e6f97889c6266f7d3f2eb0aea6c8c42200febccc5916825368adc87e04e835de06fd7bc2805c219e7f0b6252563f29969b1f30cfa1a8da4b90ae7534fb849d068a7e77de7360f8af173",
118 "result" : "acceptable",
119 "flags" : [
120 "WeakWrapping"
121 ]
122 },
123 {
124 "tcId" : 11,
125 "comment" : "wrapping small key",
126 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
127 "msg" : "",
128 "ct" : "a65959a600000000",
129 "result" : "acceptable",
130 "flags" : [
131 "SmallKey"
132 ]
133 },
134 {
135 "tcId" : 12,
136 "comment" : "wrapping small key",
137 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
138 "msg" : "4c",
139 "ct" : "09bcbab50b8dd45ad83412e2919030d3",
140 "result" : "acceptable",
141 "flags" : [
142 "SmallKey"
143 ]
144 },
145 {
146 "tcId" : 13,
147 "comment" : "wrapping small key",
148 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
149 "msg" : "be52",
150 "ct" : "0cbe852cdce4f0b5333366f446b2b1c5",
151 "result" : "acceptable",
152 "flags" : [
153 "SmallKey"
154 ]
155 },
156 {
157 "tcId" : 14,
158 "comment" : "wrapping small key",
159 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
160 "msg" : "2d5244",
161 "ct" : "a9dc66e03435ab3d4f97ff66f2c911a3",
162 "result" : "acceptable",
163 "flags" : [
164 "SmallKey"
165 ]
166 },
167 {
168 "tcId" : 15,
169 "comment" : "wrapping small key",
170 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
171 "msg" : "6c3d3b4c",
172 "ct" : "1b970c8ecb4187447e60e6083da03086",
173 "result" : "acceptable",
174 "flags" : [
175 "SmallKey"
176 ]
177 },
178 {
179 "tcId" : 16,
180 "comment" : "wrapping small key",
181 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
182 "msg" : "0412ab3ec6",
183 "ct" : "0344f7b34ab8ef28aaa843f276b0b3d5",
184 "result" : "acceptable",
185 "flags" : [
186 "SmallKey"
187 ]
188 },
189 {
190 "tcId" : 17,
191 "comment" : "wrapping small key",
192 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
193 "msg" : "8ae08938929c",
194 "ct" : "17356c7148334ca1a24aab7e82a66e18",
195 "result" : "acceptable",
196 "flags" : [
197 "SmallKey"
198 ]
199 },
200 {
201 "tcId" : 18,
202 "comment" : "wrapping small key",
203 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
204 "msg" : "7c8dfbb68d72af",
205 "ct" : "1db7510a55591a455d9f8167e6db3c88",
206 "result" : "acceptable",
207 "flags" : [
208 "SmallKey"
209 ]
210 },
211 {
212 "tcId" : 19,
213 "comment" : "wrapping small key",
214 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
215 "msg" : "536f8f83b64771c1",
216 "ct" : "936fe58b629ea6ec158145218f2361c7",
217 "result" : "acceptable",
218 "flags" : [
219 "SmallKey"
220 ]
221 },
222 {
223 "tcId" : 20,
224 "comment" : "wrapping small key",
225 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
226 "msg" : "8571f282b18b64ec5e",
227 "ct" : "6787816804b3127d0ca4073f1dba5c4d3db1ec9c227e6556",
228 "result" : "acceptable",
229 "flags" : [
230 "SmallKey"
231 ]
232 },
233 {
234 "tcId" : 21,
235 "comment" : "wrapping small key",
236 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
237 "msg" : "8ada889862813e364c4d",
238 "ct" : "34131c3bfcc48af15eea8672e52927b462f81d5ba0e6260f",
239 "result" : "acceptable",
240 "flags" : [
241 "SmallKey"
242 ]
243 },
244 {
245 "tcId" : 22,
246 "comment" : "wrapping small key",
247 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
248 "msg" : "f9c56e8058758a5c7c2baa",
249 "ct" : "4d1ec9287cd4dd378b9aefee79d4ed35bcb98ad9fa9fe529",
250 "result" : "acceptable",
251 "flags" : [
252 "SmallKey"
253 ]
254 },
255 {
256 "tcId" : 23,
257 "comment" : "wrapping small key",
258 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
259 "msg" : "7c7dbc83fa62206a521ed4ad",
260 "ct" : "7209f5b6bd5d4916f4995d280e9aa89edd5e96e3c9283ad2",
261 "result" : "acceptable",
262 "flags" : [
263 "SmallKey"
264 ]
265 },
266 {
267 "tcId" : 24,
268 "comment" : "wrapping small key",
269 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
270 "msg" : "a6614daf00df6d14f50388bad5",
271 "ct" : "d85a1efc6ab3a40948f723d9810a5deb019b3ce0208a0d94",
272 "result" : "acceptable",
273 "flags" : [
274 "SmallKey"
275 ]
276 },
277 {
278 "tcId" : 25,
279 "comment" : "wrapping small key",
280 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
281 "msg" : "450580a47d7008321496bfb82f48",
282 "ct" : "43509b5df3688b6e44c1a994592f4c03da34712f886e63d5",
283 "result" : "acceptable",
284 "flags" : [
285 "SmallKey"
286 ]
287 },
288 {
289 "tcId" : 26,
290 "comment" : "wrapping small key",
291 "key" : "1abf4b7fa2bb62a78f09ddab04625dca",
292 "msg" : "9efd21e13855eea8907afdcd8935f4",
293 "ct" : "16e369351c40f220d3fb1197f35da652a3a40ca3b1e99bfb",
294 "result" : "acceptable",
295 "flags" : [
296 "SmallKey"
297 ]
298 },
299 {
300 "tcId" : 27,
301 "comment" : "Modified IV",
302 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
303 "msg" : "a828cbda9b5ff0ae37",
304 "ct" : "4cdd2962f23ec897d41d14c3f818516c055799185f459e2d",
305 "result" : "invalid",
306 "flags" : []
307 },
308 {
309 "tcId" : 28,
310 "comment" : "Modified IV",
311 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
312 "msg" : "a828cbda9b5ff0ae37",
313 "ct" : "de895192c35ec58ee6e5614fd2b20a85f8e9c8234cdc5319",
314 "result" : "invalid",
315 "flags" : []
316 },
317 {
318 "tcId" : 29,
319 "comment" : "Modified IV",
320 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
321 "msg" : "a828cbda9b5ff0ae37",
322 "ct" : "4a24069a050af7bbcf6c2160d54525e017e3ac1b3a2e71f0",
323 "result" : "invalid",
324 "flags" : []
325 },
326 {
327 "tcId" : 30,
328 "comment" : "Modified IV",
329 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
330 "msg" : "a828cbda9b5ff0ae37",
331 "ct" : "6252ab0e688d0638df7d87ec5be3b2f9c0c245c0f0794012",
332 "result" : "invalid",
333 "flags" : []
334 },
335 {
336 "tcId" : 31,
337 "comment" : "Modified IV",
338 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
339 "msg" : "a828cbda9b5ff0ae37",
340 "ct" : "a2ed5982a604512d85d87630cd50705b1a70189b81575e3f",
341 "result" : "invalid",
342 "flags" : []
343 },
344 {
345 "tcId" : 32,
346 "comment" : "Modified IV",
347 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
348 "msg" : "a828cbda9b5ff0ae37",
349 "ct" : "fed7d02db4081728c55cc17f45f267117347e526f4231651",
350 "result" : "invalid",
351 "flags" : []
352 },
353 {
354 "tcId" : 33,
355 "comment" : "Modified IV",
356 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
357 "msg" : "a828cbda9b5ff0ae37",
358 "ct" : "ed37722b94b08b6a6f7663fe90acd81dc25f85abd2f65c06",
359 "result" : "invalid",
360 "flags" : []
361 },
362 {
363 "tcId" : 34,
364 "comment" : "Modified IV",
365 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
366 "msg" : "a828cbda9b5ff0ae37",
367 "ct" : "0adb0f47b890efed426e7cf5dbd67d5cd3d9d4807c34bc7d",
368 "result" : "invalid",
369 "flags" : []
370 },
371 {
372 "tcId" : 35,
373 "comment" : "Modified IV",
374 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
375 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
376 "ct" : "a0c51e687c46f342c78e3c59eee076a85312206a37213ac3",
377 "result" : "invalid",
378 "flags" : []
379 },
380 {
381 "tcId" : 36,
382 "comment" : "Modified IV",
383 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
384 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
385 "ct" : "8ac142d100eab0808b5f34ed29650163db77ab281e6f1e58",
386 "result" : "invalid",
387 "flags" : []
388 },
389 {
390 "tcId" : 37,
391 "comment" : "Modified IV",
392 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
393 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
394 "ct" : "db345851a09bf92c35855c367c8787e5ab3ff16e9d8b0f3b",
395 "result" : "invalid",
396 "flags" : []
397 },
398 {
399 "tcId" : 38,
400 "comment" : "Modified IV",
401 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
402 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
403 "ct" : "a90cb672f232eb693a290523a10d8f988a18829a11cabd96",
404 "result" : "invalid",
405 "flags" : []
406 },
407 {
408 "tcId" : 39,
409 "comment" : "Modified IV",
410 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
411 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
412 "ct" : "c9b3a55603e490c450b49c8b79c9a169030e6985b6e95b54",
413 "result" : "invalid",
414 "flags" : []
415 },
416 {
417 "tcId" : 40,
418 "comment" : "Modified IV",
419 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
420 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
421 "ct" : "1c90d7613c7e81e66d9374d72a8a6a0c40163fc69bccafb1",
422 "result" : "invalid",
423 "flags" : []
424 },
425 {
426 "tcId" : 41,
427 "comment" : "Modified IV",
428 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
429 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
430 "ct" : "e381bb56d1354e40c01cb414118b9518934c9ad92663f5e8",
431 "result" : "invalid",
432 "flags" : []
433 },
434 {
435 "tcId" : 42,
436 "comment" : "Modified IV",
437 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
438 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
439 "ct" : "f2a87686a3baa37810eea23232e9b784f628b1c0b4a557a1",
440 "result" : "invalid",
441 "flags" : []
442 },
443 {
444 "tcId" : 43,
445 "comment" : "Modified IV",
446 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
447 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
448 "ct" : "36ef8fc13d0f1f5745e3939877b62b8ecba2f5f0b19f9e90",
449 "result" : "invalid",
450 "flags" : []
451 },
452 {
453 "tcId" : 44,
454 "comment" : "Modified IV",
455 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
456 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
457 "ct" : "7255c4eacb4105a68095e9e5b5a4bd8f9623a0da5c6fc230",
458 "result" : "invalid",
459 "flags" : []
460 },
461 {
462 "tcId" : 45,
463 "comment" : "Modified IV",
464 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
465 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
466 "ct" : "ea26eec89a46ff1a628834c7247a8e4e45d8a8d3229e26cc",
467 "result" : "invalid",
468 "flags" : []
469 },
470 {
471 "tcId" : 46,
472 "comment" : "Modified IV",
473 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
474 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
475 "ct" : "508593fa85a8effd27c8a225981978fcec6e992eb488c9c2",
476 "result" : "invalid",
477 "flags" : []
478 },
479 {
480 "tcId" : 47,
481 "comment" : "Modified IV",
482 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
483 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
484 "ct" : "b8a4cb22f15529864d4ced8e8abae69752a9045a084dfc3f",
485 "result" : "invalid",
486 "flags" : []
487 },
488 {
489 "tcId" : 48,
490 "comment" : "Modified IV",
491 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
492 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
493 "ct" : "a0a6bf5e47e89706932b1057b680c3c81dc4d9d0b4f9153b",
494 "result" : "invalid",
495 "flags" : []
496 },
497 {
498 "tcId" : 49,
499 "comment" : "Modified IV",
500 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
501 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
502 "ct" : "11f3af4ed30e77520517c880f1d0c272a89a968dc697cb5a",
503 "result" : "invalid",
504 "flags" : []
505 },
506 {
507 "tcId" : 50,
508 "comment" : "Modified IV",
509 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
510 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
511 "ct" : "6fc912a0bda73bacfa93db4002f18f349fa30f22f7a95ab9",
512 "result" : "invalid",
513 "flags" : []
514 },
515 {
516 "tcId" : 51,
517 "comment" : "Modified Padding",
518 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
519 "msg" : "a828cbda9b5ff0ae37",
520 "ct" : "96518bcf3d24b1c6c3c6ed642a3336531563abaa9bc19873",
521 "result" : "invalid",
522 "flags" : []
523 },
524 {
525 "tcId" : 52,
526 "comment" : "Modified Padding",
527 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
528 "msg" : "a828cbda9b5ff0ae37",
529 "ct" : "eceb8904c71372a974dcf65e2ee2e8eac035953cf41bf31e",
530 "result" : "invalid",
531 "flags" : []
532 },
533 {
534 "tcId" : 53,
535 "comment" : "Modified Padding",
536 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
537 "msg" : "a828cbda9b5ff0ae37",
538 "ct" : "e8e1f4d621dc0d10786823eefd73e1d98873900fff79cdcf",
539 "result" : "invalid",
540 "flags" : []
541 },
542 {
543 "tcId" : 54,
544 "comment" : "Modified Padding",
545 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
546 "msg" : "a828cbda9b5ff0ae37",
547 "ct" : "5aae3ef6d59abbd1acfba77d5e660a176b45683165398912",
548 "result" : "invalid",
549 "flags" : []
550 },
551 {
552 "tcId" : 55,
553 "comment" : "Modified Padding",
554 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
555 "msg" : "a828cbda9b5ff0ae37",
556 "ct" : "fdf11a815beb61c33f293801c33e681e296782967ff6c56b",
557 "result" : "invalid",
558 "flags" : []
559 },
560 {
561 "tcId" : 56,
562 "comment" : "Modified Padding",
563 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
564 "msg" : "a828cbda9b5ff0ae37",
565 "ct" : "62cd9fd59aa08666b6d0e5fb0ed60b3692e87e680ea1d3ea",
566 "result" : "invalid",
567 "flags" : []
568 },
569 {
570 "tcId" : 57,
571 "comment" : "Modified Padding",
572 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
573 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
574 "ct" : "31a9c782cc94c6fcd26e0aa6ee327fd01c5b1997ec70e22c",
575 "result" : "invalid",
576 "flags" : []
577 },
578 {
579 "tcId" : 58,
580 "comment" : "Modified Padding",
581 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
582 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
583 "ct" : "ab29c3f5a4822bd572e43fdf2c59c2dab20327b9a25dcb87",
584 "result" : "invalid",
585 "flags" : []
586 },
587 {
588 "tcId" : 59,
589 "comment" : "Modified Padding",
590 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1",
591 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
592 "ct" : "078070742b07caa793dfcab4d1c09f8df6a99f494ed00ea4",
593 "result" : "invalid",
594 "flags" : []
595 },
596 {
597 "tcId" : 60,
598 "comment" : "RFC 3349 padding",
599 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
600 "msg" : "000102030405060708090a0b0c0d0e0f",
601 "ct" : "3731038571c35f7dcc55e48892de353e54c079b89774bbfd",
602 "result" : "invalid",
603 "flags" : []
604 },
605 {
606 "tcId" : 61,
607 "comment" : "Invalid encryption",
608 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
609 "msg" : "0001020304050607",
610 "ct" : "d85c6bfd092df1aeae5a548e47aa7681",
611 "result" : "invalid",
612 "flags" : []
613 },
614 {
615 "tcId" : 62,
616 "comment" : "padding too long",
617 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
618 "msg" : "000000000000000000000000000000000000000000000000",
619 "ct" : "7a92427387f5587ee825d1ffa011c40286844ecdadce31cd9678338694ea2682",
620 "result" : "invalid",
621 "flags" : []
622 },
623 {
624 "tcId" : 63,
625 "comment" : "padding too long",
626 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
627 "msg" : "0000000000000000000000000000000000000000000000000000000000000000",
628 "ct" : "a437d354606ae752894feb62c8def7d17046d8e47f9aed755fba48b3a3009e3ff67d34e26a779064",
629 "result" : "invalid",
630 "flags" : []
631 },
632 {
633 "tcId" : 64,
634 "comment" : "incorrectly encoded length",
635 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
636 "msg" : "00000000000000000000000000000000",
637 "ct" : "e8d240d64f16d1522ae2ded42ced257dfec158ff2fe1467d",
638 "result" : "invalid",
639 "flags" : []
640 },
641 {
642 "tcId" : 65,
643 "comment" : "length = 2**32-1",
644 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
645 "msg" : "00000000000000000000000000000000",
646 "ct" : "6d1bfda356b7b954e7aaccc6df953322f75be95947b02b30",
647 "result" : "invalid",
648 "flags" : []
649 },
650 {
651 "tcId" : 66,
652 "comment" : "length = 2**32-1",
653 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
654 "msg" : "0000000000000000",
655 "ct" : "17dbf878ef4076cfcaba5f81d7b123d7",
656 "result" : "invalid",
657 "flags" : []
658 },
659 {
660 "tcId" : 67,
661 "comment" : "length = 2**31-1",
662 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
663 "msg" : "00000000000000000000000000000000",
664 "ct" : "75c23e253478037802fae0f86af9c78d4e4d9be0c3bff89f",
665 "result" : "invalid",
666 "flags" : []
667 },
668 {
669 "tcId" : 68,
670 "comment" : "length = 2**31 + 16",
671 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
672 "msg" : "00000000000000000000000000000000",
673 "ct" : "55717658c6a35e15ee36c66cce91083b63091f51525c0b51",
674 "result" : "invalid",
675 "flags" : []
676 },
677 {
678 "tcId" : 69,
679 "comment" : "data is incorrectly padded",
680 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
681 "msg" : "ffffffffffffffffffffffffffffffffffffffffffffffff",
682 "ct" : "8ede88a52ccb8a6d617456955a9f04c94d87696125ded87eebe3e97e185496d9",
683 "result" : "invalid",
684 "flags" : []
685 },
686 {
687 "tcId" : 70,
688 "comment" : "data is incorrectly padded",
689 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
690 "msg" : "0001020304050607",
691 "ct" : "5b4a8f1abffa51676ac8b5ddf9366c12",
692 "result" : "invalid",
693 "flags" : []
694 },
695 {
696 "tcId" : 71,
697 "comment" : "length = 0",
698 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
699 "msg" : "00000000000000000000000000000000",
700 "ct" : "205cc6dd9592da0ebff6b4b48a0c450eeaeb11a60d33f387",
701 "result" : "invalid",
702 "flags" : []
703 },
704 {
705 "tcId" : 72,
706 "comment" : "RFC 3349 padding with incorrect size",
707 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
708 "msg" : "0001020304050607",
709 "ct" : "908a68b0d2054e199220d37c34a2e136",
710 "result" : "invalid",
711 "flags" : []
712 },
713 {
714 "tcId" : 73,
715 "comment" : "length = 9",
716 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
717 "msg" : "0000000000000000",
718 "ct" : "f84bdb15045cee3a8a0f3ed2f07c1771",
719 "result" : "invalid",
720 "flags" : []
721 },
722 {
723 "tcId" : 74,
724 "comment" : "length = 16",
725 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
726 "msg" : "0000000000000000",
727 "ct" : "7592b1ee6ee92c9467db366adcfa65bb",
728 "result" : "invalid",
729 "flags" : []
730 },
731 {
732 "tcId" : 75,
733 "comment" : "length = 2**31 + 8",
734 "key" : "48a53c11ef2d727db7eb9a834b134ea9",
735 "msg" : "0000000000000000",
736 "ct" : "db93a1db3b5babc80a304d527682c1ef",
737 "result" : "invalid",
738 "flags" : []
739 }
740 ]
741 },
742 {
743 "keySize" : 192,
744 "type" : "KeywrapTest",
745 "tests" : [
746 {
747 "tcId" : 76,
748 "comment" : "",
749 "key" : "f75a2f49a630c7dc91626b00ce029f0bd2981d7c74a93ebe",
750 "msg" : "9adbc00c710b1101bdf6a4ed65b32d72",
751 "ct" : "5c117a678223cfe5ee691503061e7ab1e5f720e005171b32",
752 "result" : "valid",
753 "flags" : []
754 },
755 {
756 "tcId" : 77,
757 "comment" : "",
758 "key" : "b713f6b7814f98894d7b153974684359f1460213eb74be68",
759 "msg" : "78585f0c49922e82caf17ebc3721b4db",
760 "ct" : "6a7f9e03b6f379c56da3a56d8f32eba515454a91fd417449",
761 "result" : "valid",
762 "flags" : []
763 },
764 {
765 "tcId" : 78,
766 "comment" : "",
767 "key" : "13ecf423211caa334ba6db37259a535c20de8ad10fc8c432",
768 "msg" : "4fc75d0f221e22408a37e11265d49a05",
769 "ct" : "764097f5ee8236bc0d93bbcea139a652f4b211cc33a61ac9",
770 "result" : "valid",
771 "flags" : []
772 },
773 {
774 "tcId" : 79,
775 "comment" : "",
776 "key" : "4417fbbea51bdd91818d74051957dd70e135c5cf3732bdf1",
777 "msg" : "f5357da9f8fd4a1190f36e9fa09a90fcf14d87d62332f1a5",
778 "ct" : "04b83ec803a75bbcb2f87fc6f488a4ccc1827b412483070eed195b6f0048ccbe",
779 "result" : "valid",
780 "flags" : []
781 },
782 {
783 "tcId" : 80,
784 "comment" : "",
785 "key" : "b3f26d8a22fdd61f709841231fbde695b3f28dddced6d41e",
786 "msg" : "0d0af955d2e3829cc3d643219b301e64e0510dfbc428119a",
787 "ct" : "46ab71f032cb1ccbcc7447a5183574268c0167a26a93fe8422bf284417aa93ea",
788 "result" : "valid",
789 "flags" : []
790 },
791 {
792 "tcId" : 81,
793 "comment" : "",
794 "key" : "f70cfb262c729a18206c8afd74356ec7e049d10b44a6e000",
795 "msg" : "241cedfa64c4e7bec541a2eb4c368269e0f0ddebc58267ea",
796 "ct" : "47ca298ee47b1b755a499129347e11e7a25754ccb6c2689e8eff270e98c81d18",
797 "result" : "valid",
798 "flags" : []
799 },
800 {
801 "tcId" : 82,
802 "comment" : "wrapped key is longer than wrapping key",
803 "key" : "1639f9f81e53e2eeb677a249e5eced3af108971301601a7b",
804 "msg" : "ec3c6a1f1a9585327fe658490c74635e5300876da5846a629398984fb551d691",
805 "ct" : "ecac4c91758e1ae7bb010c34f4c5f99a3d728b9fa92cb778d3fe80d777a20d3de85ef46e7a0c6a6a",
806 "result" : "acceptable",
807 "flags" : [
808 "WeakWrapping"
809 ]
810 },
811 {
812 "tcId" : 83,
813 "comment" : "wrapped key is longer than wrapping key",
814 "key" : "1f22d5658aa685b8ba8659dc342880d5b2399e6a815005b0",
815 "msg" : "50be4c1b2f29a63f44d7fc63737f600f0194ea3fb36e173d2ddd19f218656380",
816 "ct" : "39b7326a44eaed08bffbd4aeaf3e2c3f899c1fd049384ed7b3eb92b788c6449acd6385f0bb18cf28",
817 "result" : "acceptable",
818 "flags" : [
819 "WeakWrapping"
820 ]
821 },
822 {
823 "tcId" : 84,
824 "comment" : "wrapped key is longer than wrapping key",
825 "key" : "3a2f4aa50441954bba5a1836294ce071f9296b23dbed6771",
826 "msg" : "65da02ff21b483a1e39575490b4319e84ae0299f1f00b3859fbe2e74b3ec2aaf",
827 "ct" : "3d2e9f39c7b13e9585227c4344fbe596f92b002456616f137deacc6a8c941649ce294bb2695c1807",
828 "result" : "acceptable",
829 "flags" : [
830 "WeakWrapping"
831 ]
832 },
833 {
834 "tcId" : 85,
835 "comment" : "Round counter overflows 256",
836 "key" : "b6121acad51038e11873aaa7e6c7be06f93826b74fec0ea1",
837 "msg" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
838 "ct" : "d6aacfb52c26baae78c2f54259a4e4168f817064344e2ba8fbfa7fae9f1fd69bd5bc5c1e20a6101b4a7119cbce028e25a9e93d29ee260c4e609baedee788411c2afe60218ce1b0d28b9c29b941251fdcbac3009d59040a0337b8b4a3a020c6d8f310cba63db046d8f36b64c9092e75cee463fc7692ef56bed395c4579da0ecb02129e45ad8a7f116aac6170204888e40693f017a6a0a7dd3962004e60db3a9b6c8b7614a467ccb799bce1ba83f5c0921f1e52bb3909bc0486ec0eaea736498f3ba520a519c3ddf491307958620b737613417b15b438b80b43189baa455031f5771502002ea170c767b33d247feebce62e606f2262537f85f18d1951cc75cedef291c6a501cb1778586249b58156eb8d7283a3f508ee8bcc1206d77bbd6892fe74b865bfc02a8f07223087a6c1e50a41b7cf5f6ee04bd07766b2e5b34c4a7666b0ce06f670e6434a59fb74e0df36c91d94e5e8b721e53e09b6f6504c5d515492a373fcc348a63122cc6e4716e0e1a543d038c6f7731199f691780a8a655cca6718e3dc56e815b3669",
839 "result" : "acceptable",
840 "flags" : [
841 "WeakWrapping"
842 ]
843 },
844 {
845 "tcId" : 86,
846 "comment" : "wrapping small key",
847 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
848 "msg" : "",
849 "ct" : "a65959a600000000",
850 "result" : "acceptable",
851 "flags" : [
852 "SmallKey"
853 ]
854 },
855 {
856 "tcId" : 87,
857 "comment" : "wrapping small key",
858 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
859 "msg" : "a3",
860 "ct" : "52c7f388d0d4237afaa29f2b94723475",
861 "result" : "acceptable",
862 "flags" : [
863 "SmallKey"
864 ]
865 },
866 {
867 "tcId" : 88,
868 "comment" : "wrapping small key",
869 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
870 "msg" : "594b",
871 "ct" : "833431ce8799be69b36aafe3f38d9dac",
872 "result" : "acceptable",
873 "flags" : [
874 "SmallKey"
875 ]
876 },
877 {
878 "tcId" : 89,
879 "comment" : "wrapping small key",
880 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
881 "msg" : "72ab34",
882 "ct" : "31674f46b989f6ead582c70dedc8c6b9",
883 "result" : "acceptable",
884 "flags" : [
885 "SmallKey"
886 ]
887 },
888 {
889 "tcId" : 90,
890 "comment" : "wrapping small key",
891 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
892 "msg" : "d4d9460f",
893 "ct" : "80535172d2a498aa31601d70fdca9dea",
894 "result" : "acceptable",
895 "flags" : [
896 "SmallKey"
897 ]
898 },
899 {
900 "tcId" : 91,
901 "comment" : "wrapping small key",
902 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
903 "msg" : "643972e552",
904 "ct" : "56232300dd7b2a71d2328b6df47af8e3",
905 "result" : "acceptable",
906 "flags" : [
907 "SmallKey"
908 ]
909 },
910 {
911 "tcId" : 92,
912 "comment" : "wrapping small key",
913 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
914 "msg" : "f3cdb73d2561",
915 "ct" : "e27e08efe39adbbad8d300b87be2c258",
916 "result" : "acceptable",
917 "flags" : [
918 "SmallKey"
919 ]
920 },
921 {
922 "tcId" : 93,
923 "comment" : "wrapping small key",
924 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
925 "msg" : "7b0b53b6429e14",
926 "ct" : "8f90942cdab33e58b24a23ad7efb7538",
927 "result" : "acceptable",
928 "flags" : [
929 "SmallKey"
930 ]
931 },
932 {
933 "tcId" : 94,
934 "comment" : "wrapping small key",
935 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
936 "msg" : "6b2393773e6d1378",
937 "ct" : "0ebaf23c858015d3bda5b8d908db6049",
938 "result" : "acceptable",
939 "flags" : [
940 "SmallKey"
941 ]
942 },
943 {
944 "tcId" : 95,
945 "comment" : "wrapping small key",
946 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
947 "msg" : "2c52d6639e769960e8",
948 "ct" : "d56f89977b8eff511158edad6b993007189e5a4b8c0e2faf",
949 "result" : "acceptable",
950 "flags" : [
951 "SmallKey"
952 ]
953 },
954 {
955 "tcId" : 96,
956 "comment" : "wrapping small key",
957 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
958 "msg" : "707c9356216d69c69048",
959 "ct" : "dd889475a76733849f59bed49a15d4315bdb5ba00dc63470",
960 "result" : "acceptable",
961 "flags" : [
962 "SmallKey"
963 ]
964 },
965 {
966 "tcId" : 97,
967 "comment" : "wrapping small key",
968 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
969 "msg" : "615f6fa79e1847e7359a8a",
970 "ct" : "1a9b3369239b0f40a8dc5bd8d965caf7431445799337b99b",
971 "result" : "acceptable",
972 "flags" : [
973 "SmallKey"
974 ]
975 },
976 {
977 "tcId" : 98,
978 "comment" : "wrapping small key",
979 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
980 "msg" : "7f5e999168ec60624426cbb1",
981 "ct" : "5232f8f6679a17d3303b0bd72b06b56b5089e80372dc295b",
982 "result" : "acceptable",
983 "flags" : [
984 "SmallKey"
985 ]
986 },
987 {
988 "tcId" : 99,
989 "comment" : "wrapping small key",
990 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
991 "msg" : "3f93aaf4463775baf6c0c975ae",
992 "ct" : "e5544361c60980f3d38f2d8820a150f48f49ef3f9184b29f",
993 "result" : "acceptable",
994 "flags" : [
995 "SmallKey"
996 ]
997 },
998 {
999 "tcId" : 100,
1000 "comment" : "wrapping small key",
1001 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
1002 "msg" : "fefcf10c976309b2beb085771e50",
1003 "ct" : "55396065905915ec914b8d1efbf471e37d283fc2c1496b49",
1004 "result" : "acceptable",
1005 "flags" : [
1006 "SmallKey"
1007 ]
1008 },
1009 {
1010 "tcId" : 101,
1011 "comment" : "wrapping small key",
1012 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b",
1013 "msg" : "6854354d0099f7eff740b0587140b3",
1014 "ct" : "d90376be302a24c541bd6d96094f0025e3d73888391b4306",
1015 "result" : "acceptable",
1016 "flags" : [
1017 "SmallKey"
1018 ]
1019 },
1020 {
1021 "tcId" : 102,
1022 "comment" : "Modified IV",
1023 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1024 "msg" : "a828cbda9b5ff0ae37",
1025 "ct" : "24f5b27f9e4d7b645331719ea8f2b63841b2324e61ce13df",
1026 "result" : "invalid",
1027 "flags" : []
1028 },
1029 {
1030 "tcId" : 103,
1031 "comment" : "Modified IV",
1032 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1033 "msg" : "a828cbda9b5ff0ae37",
1034 "ct" : "5b5221464c7e960b31c3d6e5784e66c69fa0fba8ae315d4e",
1035 "result" : "invalid",
1036 "flags" : []
1037 },
1038 {
1039 "tcId" : 104,
1040 "comment" : "Modified IV",
1041 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1042 "msg" : "a828cbda9b5ff0ae37",
1043 "ct" : "d17e8392b0d7e064f22770b7f38ffcdc572cf7694da9648c",
1044 "result" : "invalid",
1045 "flags" : []
1046 },
1047 {
1048 "tcId" : 105,
1049 "comment" : "Modified IV",
1050 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1051 "msg" : "a828cbda9b5ff0ae37",
1052 "ct" : "2f9ba2d81292a2494845ac8589f1a44affdd3d09044fc81c",
1053 "result" : "invalid",
1054 "flags" : []
1055 },
1056 {
1057 "tcId" : 106,
1058 "comment" : "Modified IV",
1059 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1060 "msg" : "a828cbda9b5ff0ae37",
1061 "ct" : "9258882e1812b1793c0cc08d6adc9fe9597d9270b1f0c3ef",
1062 "result" : "invalid",
1063 "flags" : []
1064 },
1065 {
1066 "tcId" : 107,
1067 "comment" : "Modified IV",
1068 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1069 "msg" : "a828cbda9b5ff0ae37",
1070 "ct" : "8bdfb51ff4664220de3d87e06882c748490af56c0c5ef789",
1071 "result" : "invalid",
1072 "flags" : []
1073 },
1074 {
1075 "tcId" : 108,
1076 "comment" : "Modified IV",
1077 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1078 "msg" : "a828cbda9b5ff0ae37",
1079 "ct" : "20a5b0fc789e8422e09a3128a10b6b0bca6aba2bde496aa6",
1080 "result" : "invalid",
1081 "flags" : []
1082 },
1083 {
1084 "tcId" : 109,
1085 "comment" : "Modified IV",
1086 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1087 "msg" : "a828cbda9b5ff0ae37",
1088 "ct" : "fdfde90ee4681372c85fc5875dd482cef85bf69dfe57e71c",
1089 "result" : "invalid",
1090 "flags" : []
1091 },
1092 {
1093 "tcId" : 110,
1094 "comment" : "Modified IV",
1095 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1096 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1097 "ct" : "5f2ba1d716b8fdee03f3fc5cc4c7ea35836bb3c073f02dc9",
1098 "result" : "invalid",
1099 "flags" : []
1100 },
1101 {
1102 "tcId" : 111,
1103 "comment" : "Modified IV",
1104 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1105 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1106 "ct" : "f241ce804660d60397789d4c67f4e252b55838144b199355",
1107 "result" : "invalid",
1108 "flags" : []
1109 },
1110 {
1111 "tcId" : 112,
1112 "comment" : "Modified IV",
1113 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1114 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1115 "ct" : "a4f5b4f3ef5a6939949fe6dfd755f327ffa604dc417ea495",
1116 "result" : "invalid",
1117 "flags" : []
1118 },
1119 {
1120 "tcId" : 113,
1121 "comment" : "Modified IV",
1122 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1123 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1124 "ct" : "4e23f48297480d1a4afc85fc97d6d69f861f518bc00fe7c3",
1125 "result" : "invalid",
1126 "flags" : []
1127 },
1128 {
1129 "tcId" : 114,
1130 "comment" : "Modified IV",
1131 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1132 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1133 "ct" : "d9f0de809d4f6ef5815a3e6bfb09b11f0b51b6180caac98c",
1134 "result" : "invalid",
1135 "flags" : []
1136 },
1137 {
1138 "tcId" : 115,
1139 "comment" : "Modified IV",
1140 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1141 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1142 "ct" : "ca5da3ab416a98ac387ac226f52f486b6ba30bf6f517ca7d",
1143 "result" : "invalid",
1144 "flags" : []
1145 },
1146 {
1147 "tcId" : 116,
1148 "comment" : "Modified IV",
1149 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1150 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1151 "ct" : "6c41e5a654467ce13828d72fd3ad1a22083def182696e83d",
1152 "result" : "invalid",
1153 "flags" : []
1154 },
1155 {
1156 "tcId" : 117,
1157 "comment" : "Modified IV",
1158 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1159 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1160 "ct" : "045d789cefd1da1f32761c4ba8e22bb126c322184b85e370",
1161 "result" : "invalid",
1162 "flags" : []
1163 },
1164 {
1165 "tcId" : 118,
1166 "comment" : "Modified IV",
1167 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1168 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
1169 "ct" : "a6a28bceb91551a395369ff09370658cc92b092855f417aa",
1170 "result" : "invalid",
1171 "flags" : []
1172 },
1173 {
1174 "tcId" : 119,
1175 "comment" : "Modified IV",
1176 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1177 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
1178 "ct" : "03ff601cf12b432078a2185590fb5d01e3441cf084bcb04a",
1179 "result" : "invalid",
1180 "flags" : []
1181 },
1182 {
1183 "tcId" : 120,
1184 "comment" : "Modified IV",
1185 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1186 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
1187 "ct" : "e250d358d16d9fd20ad80a99656509229dca391aad3798f0",
1188 "result" : "invalid",
1189 "flags" : []
1190 },
1191 {
1192 "tcId" : 121,
1193 "comment" : "Modified IV",
1194 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1195 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
1196 "ct" : "643a17860b116ec74089bc574685a6328a3d7a07cd18b520",
1197 "result" : "invalid",
1198 "flags" : []
1199 },
1200 {
1201 "tcId" : 122,
1202 "comment" : "Modified IV",
1203 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1204 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
1205 "ct" : "3e86e8128904f753c0f3fe3401ba36672966567725c4726c",
1206 "result" : "invalid",
1207 "flags" : []
1208 },
1209 {
1210 "tcId" : 123,
1211 "comment" : "Modified IV",
1212 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1213 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
1214 "ct" : "d4b8cc849176b8344b0849490143d3512915171bd7d5759e",
1215 "result" : "invalid",
1216 "flags" : []
1217 },
1218 {
1219 "tcId" : 124,
1220 "comment" : "Modified IV",
1221 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1222 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
1223 "ct" : "f84e0e6ff64e0b27b8b59b5b77c223023f0fea95433864ec",
1224 "result" : "invalid",
1225 "flags" : []
1226 },
1227 {
1228 "tcId" : 125,
1229 "comment" : "Modified IV",
1230 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1231 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
1232 "ct" : "4030b4b0e9c1b1ce8e52f6bdb48088e65b05844307989c8b",
1233 "result" : "invalid",
1234 "flags" : []
1235 },
1236 {
1237 "tcId" : 126,
1238 "comment" : "Modified IV",
1239 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1240 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
1241 "ct" : "ccb3b36c26b2d901b7f0765362d992b2d5089c2a7559b195becbe173780352fa",
1242 "result" : "invalid",
1243 "flags" : []
1244 },
1245 {
1246 "tcId" : 127,
1247 "comment" : "Modified IV",
1248 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1249 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
1250 "ct" : "4e5fc8dccaeec9b1c8a606a2bd7d7201eede62b9c2e939a5aba663a6a040e361",
1251 "result" : "invalid",
1252 "flags" : []
1253 },
1254 {
1255 "tcId" : 128,
1256 "comment" : "Modified IV",
1257 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1258 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
1259 "ct" : "af21f5e7f15a63c8ea6001cf024f281e7f44aedd68954564fc2bd146e96d793a",
1260 "result" : "invalid",
1261 "flags" : []
1262 },
1263 {
1264 "tcId" : 129,
1265 "comment" : "Modified IV",
1266 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1267 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
1268 "ct" : "3a4f571ffbf761d3f7d413172ee1e4ae2862baacfd5ab66dc685b9af8b70b538",
1269 "result" : "invalid",
1270 "flags" : []
1271 },
1272 {
1273 "tcId" : 130,
1274 "comment" : "Modified IV",
1275 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1276 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
1277 "ct" : "273de386d5fef497f9487afd54c1c0fae8aacabf2af465caf352e2300d29266b",
1278 "result" : "invalid",
1279 "flags" : []
1280 },
1281 {
1282 "tcId" : 131,
1283 "comment" : "Modified IV",
1284 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1285 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
1286 "ct" : "16511743dc44199cee1dbf5045141b075f01ee13326c9faf2c74b7c99791830f",
1287 "result" : "invalid",
1288 "flags" : []
1289 },
1290 {
1291 "tcId" : 132,
1292 "comment" : "Modified IV",
1293 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1294 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
1295 "ct" : "370f92db00f7fc8a0e654318a5b3ff89a604034f421339201d79e0ec4d6088de",
1296 "result" : "invalid",
1297 "flags" : []
1298 },
1299 {
1300 "tcId" : 133,
1301 "comment" : "Modified IV",
1302 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1303 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
1304 "ct" : "e3edd0e84832f3615f6deefb444de3b9ec527741686029db91de0bb9b2a5c05d",
1305 "result" : "invalid",
1306 "flags" : []
1307 },
1308 {
1309 "tcId" : 134,
1310 "comment" : "Modified Padding",
1311 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1312 "msg" : "a828cbda9b5ff0ae37",
1313 "ct" : "aa48e6b6ed9ae707768d3e4cbd191d9988c6921d0ad17ce1",
1314 "result" : "invalid",
1315 "flags" : []
1316 },
1317 {
1318 "tcId" : 135,
1319 "comment" : "Modified Padding",
1320 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1321 "msg" : "a828cbda9b5ff0ae37",
1322 "ct" : "1f7170780b523e5c5970fc5bf35fe30e6505fb22790ba936",
1323 "result" : "invalid",
1324 "flags" : []
1325 },
1326 {
1327 "tcId" : 136,
1328 "comment" : "Modified Padding",
1329 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1330 "msg" : "a828cbda9b5ff0ae37",
1331 "ct" : "b3e5311504a8cf1194b73ba1f3b7eb82de1e6bf1cfdad41e",
1332 "result" : "invalid",
1333 "flags" : []
1334 },
1335 {
1336 "tcId" : 137,
1337 "comment" : "Modified Padding",
1338 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1339 "msg" : "a828cbda9b5ff0ae37",
1340 "ct" : "779ede9022290dd606e1619c7451630820431f8d67c498c1",
1341 "result" : "invalid",
1342 "flags" : []
1343 },
1344 {
1345 "tcId" : 138,
1346 "comment" : "Modified Padding",
1347 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1348 "msg" : "a828cbda9b5ff0ae37",
1349 "ct" : "9720d5bef7dda98c9462e1b2d73dd2ce016b6dcd7cd71c5f",
1350 "result" : "invalid",
1351 "flags" : []
1352 },
1353 {
1354 "tcId" : 139,
1355 "comment" : "Modified Padding",
1356 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1357 "msg" : "a828cbda9b5ff0ae37",
1358 "ct" : "7e310f4c62031b821539d78706a56a724c191af92543e8a3",
1359 "result" : "invalid",
1360 "flags" : []
1361 },
1362 {
1363 "tcId" : 140,
1364 "comment" : "Modified Padding",
1365 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1366 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1367 "ct" : "1b2a588774a0340315dc1a934a8db6bb659e67ac8c8867b3",
1368 "result" : "invalid",
1369 "flags" : []
1370 },
1371 {
1372 "tcId" : 141,
1373 "comment" : "Modified Padding",
1374 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1375 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1376 "ct" : "afa72d66be45e9d98dc46779c186154a0f14b97b26e67e3e",
1377 "result" : "invalid",
1378 "flags" : []
1379 },
1380 {
1381 "tcId" : 142,
1382 "comment" : "Modified Padding",
1383 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4",
1384 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1385 "ct" : "ea98bfac85f03b66b0c298c1fda726f1def4be7552f4ebac",
1386 "result" : "invalid",
1387 "flags" : []
1388 },
1389 {
1390 "tcId" : 143,
1391 "comment" : "RFC 3349 padding",
1392 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1393 "msg" : "000102030405060708090a0b0c0d0e0f",
1394 "ct" : "36ee480138edf11e144efcddd24d2c121749da6e4eab17fe",
1395 "result" : "invalid",
1396 "flags" : []
1397 },
1398 {
1399 "tcId" : 144,
1400 "comment" : "Invalid encryption",
1401 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1402 "msg" : "0001020304050607",
1403 "ct" : "166beb49e97a4a9cc7b0ccf441ec15b5",
1404 "result" : "invalid",
1405 "flags" : []
1406 },
1407 {
1408 "tcId" : 145,
1409 "comment" : "padding too long",
1410 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1411 "msg" : "000000000000000000000000000000000000000000000000",
1412 "ct" : "74ff3070a0a08471c001febb95a890f35159a9fe263719e40c2332ce5c58fada",
1413 "result" : "invalid",
1414 "flags" : []
1415 },
1416 {
1417 "tcId" : 146,
1418 "comment" : "padding too long",
1419 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1420 "msg" : "0000000000000000000000000000000000000000000000000000000000000000",
1421 "ct" : "4f0b38eb328d1227b1e17c103a44a373ff67cee953c59eea26117947b5d3ef8932c8858b4f9fb47c",
1422 "result" : "invalid",
1423 "flags" : []
1424 },
1425 {
1426 "tcId" : 147,
1427 "comment" : "incorrectly encoded length",
1428 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1429 "msg" : "00000000000000000000000000000000",
1430 "ct" : "775dcabab9e4be8fd9963a4dc7a1447ef82888403882bdb6",
1431 "result" : "invalid",
1432 "flags" : []
1433 },
1434 {
1435 "tcId" : 148,
1436 "comment" : "length = 2**32-1",
1437 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1438 "msg" : "00000000000000000000000000000000",
1439 "ct" : "669803237fa10eabb4d2c6ad85bd9f7df5f4a33340eb0ce9",
1440 "result" : "invalid",
1441 "flags" : []
1442 },
1443 {
1444 "tcId" : 149,
1445 "comment" : "length = 2**32-1",
1446 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1447 "msg" : "0000000000000000",
1448 "ct" : "c788504d786f5c21b6671bf190657301",
1449 "result" : "invalid",
1450 "flags" : []
1451 },
1452 {
1453 "tcId" : 150,
1454 "comment" : "length = 2**31-1",
1455 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1456 "msg" : "00000000000000000000000000000000",
1457 "ct" : "d079f60d3258f5e695d1a73db008ef38516b713eca2c0eaf",
1458 "result" : "invalid",
1459 "flags" : []
1460 },
1461 {
1462 "tcId" : 151,
1463 "comment" : "length = 2**31 + 16",
1464 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1465 "msg" : "00000000000000000000000000000000",
1466 "ct" : "f1ae4b8865013b0fc63b463e664cec3c6031f61f2de82f43",
1467 "result" : "invalid",
1468 "flags" : []
1469 },
1470 {
1471 "tcId" : 152,
1472 "comment" : "data is incorrectly padded",
1473 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1474 "msg" : "ffffffffffffffffffffffffffffffffffffffffffffffff",
1475 "ct" : "8874e1b6e15e3ef6c461411a5f5ad0c8b05368cd5b3ee39b2b413d18a4eebfc9",
1476 "result" : "invalid",
1477 "flags" : []
1478 },
1479 {
1480 "tcId" : 153,
1481 "comment" : "data is incorrectly padded",
1482 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1483 "msg" : "0001020304050607",
1484 "ct" : "890a3dab8439bb73b14c6e99c34f0b0e",
1485 "result" : "invalid",
1486 "flags" : []
1487 },
1488 {
1489 "tcId" : 154,
1490 "comment" : "length = 0",
1491 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1492 "msg" : "00000000000000000000000000000000",
1493 "ct" : "d4f633aedeb89e349a98738b00ee42c90d583b16e986e49f",
1494 "result" : "invalid",
1495 "flags" : []
1496 },
1497 {
1498 "tcId" : 155,
1499 "comment" : "RFC 3349 padding with incorrect size",
1500 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1501 "msg" : "0001020304050607",
1502 "ct" : "b8b2a5b1d3280dcb4daeeed43f36509b",
1503 "result" : "invalid",
1504 "flags" : []
1505 },
1506 {
1507 "tcId" : 156,
1508 "comment" : "length = 9",
1509 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1510 "msg" : "0000000000000000",
1511 "ct" : "4429cf64251d8a54a9d1389c01c30900",
1512 "result" : "invalid",
1513 "flags" : []
1514 },
1515 {
1516 "tcId" : 157,
1517 "comment" : "length = 16",
1518 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1519 "msg" : "0000000000000000",
1520 "ct" : "e5634eca10372c867c7f91ee813ec3f3",
1521 "result" : "invalid",
1522 "flags" : []
1523 },
1524 {
1525 "tcId" : 158,
1526 "comment" : "length = 2**31 + 8",
1527 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702e",
1528 "msg" : "0000000000000000",
1529 "ct" : "9e517d4d0142e1544ba1e7419a696c21",
1530 "result" : "invalid",
1531 "flags" : []
1532 },
1533 {
1534 "tcId" : 159,
1535 "comment" : "RFC 5649",
1536 "key" : "5840df6e29b02af1ab493b705bf16ea1ae8338f4dcc176a8",
1537 "msg" : "c37b7e6492584340bed12207808941155068f738",
1538 "ct" : "138bdeaa9b8fa7fc61f97742e72248ee5ae6ae5360d1ae6a5f54f373fa543b6a",
1539 "result" : "valid",
1540 "flags" : []
1541 },
1542 {
1543 "tcId" : 160,
1544 "comment" : "RFC 5649",
1545 "key" : "5840df6e29b02af1ab493b705bf16ea1ae8338f4dcc176a8",
1546 "msg" : "466f7250617369",
1547 "ct" : "afbeb0f07dfbf5419200f2ccb50bb24f",
1548 "result" : "valid",
1549 "flags" : []
1550 }
1551 ]
1552 },
1553 {
1554 "keySize" : 256,
1555 "type" : "KeywrapTest",
1556 "tests" : [
1557 {
1558 "tcId" : 161,
1559 "comment" : "",
1560 "key" : "fce0429c610658ef8e7cfb0154c51de2239a8a317f5af5b6714f985fb5c4d75c",
1561 "msg" : "287326b5ed0078e7ca0164d748f667e7",
1562 "ct" : "e3eab96d9a2fda12f9e252053aff15e753e5ea6f5172c92b",
1563 "result" : "valid",
1564 "flags" : []
1565 },
1566 {
1567 "tcId" : 162,
1568 "comment" : "",
1569 "key" : "0dda6da5123e2c37c6fa16ba0d334cd01acd652f8994211751dfab4faac2fc22",
1570 "msg" : "b40b6828729b456322a8d065abc0d081",
1571 "ct" : "9d2b42fb2fdb92c89fb0c3bcd9e1600d3334b4e35e791369",
1572 "result" : "valid",
1573 "flags" : []
1574 },
1575 {
1576 "tcId" : 163,
1577 "comment" : "",
1578 "key" : "d6925914cd06308f81ad91e23073593d99d4e50351b20eb2a8d1a1ac4ced6588",
1579 "msg" : "037b27b3dc95b19d15bd4091e320bfe1",
1580 "ct" : "5291e05abd55f5886850855e3f9f2f576b101acc222d6766",
1581 "result" : "valid",
1582 "flags" : []
1583 },
1584 {
1585 "tcId" : 164,
1586 "comment" : "",
1587 "key" : "07518a82cbc8da1dcec55f3763a206d277487abd03cedd0b8bef9ee2fb157121",
1588 "msg" : "faa4664d79fce3c7d2fdd462f6c1c423c2f8e6b69be2e071",
1589 "ct" : "4b1220525c537aec30ebcd562b694b4e9e2ccd819de22ef608b5d8090779d9de",
1590 "result" : "valid",
1591 "flags" : []
1592 },
1593 {
1594 "tcId" : 165,
1595 "comment" : "",
1596 "key" : "ea46991d4e71f53dd624e7fe7fde11944a7c5942d232369b8065d42b8cd2dde1",
1597 "msg" : "dffc5cf1dd5411d015d84601fa38df5effe885c7f26a4825",
1598 "ct" : "67b2cbd68f6a208d647bdc5af7d0bccf6711a9e8fd0d9434363006addd4b9696",
1599 "result" : "valid",
1600 "flags" : []
1601 },
1602 {
1603 "tcId" : 166,
1604 "comment" : "",
1605 "key" : "fdcfa902c6f222f527af84da533b14b52e2615da3a89d1d35708b0cd49f60d87",
1606 "msg" : "966b07047354966a703e79607b556032f4f596b7f9206f05",
1607 "ct" : "cfdbbd95f187508a488fe017c5e5d5a5975b68441d520e0e931922388e28784c",
1608 "result" : "valid",
1609 "flags" : []
1610 },
1611 {
1612 "tcId" : 167,
1613 "comment" : "",
1614 "key" : "38e1b1d075d9d852b9a6c01c8ff6965af01bac457a4e339ae3e1d7b2ffacc0cd",
1615 "msg" : "80ad6820f1c90981e2ca42b817a345c1179d0a11d8e23a8adc0505e13d87295a",
1616 "ct" : "b63b7e0fec7e315816233db6758fd3e744b9f6a40862bdf866487e53bcb950d8b2649269e51b4475",
1617 "result" : "valid",
1618 "flags" : []
1619 },
1620 {
1621 "tcId" : 168,
1622 "comment" : "",
1623 "key" : "c641f1689d81caa8ba37d895272240664054ed974cfffc40e6c5c0cad1b916c7",
1624 "msg" : "3fd0ba19955e46749f54d88e99d080b7339d588fe612ec0f4021ca3ca2104270",
1625 "ct" : "837cfc316b49299edaf427e0988020ee876204b29d847669daab72c8660b0d860e9de3bd851198ff",
1626 "result" : "valid",
1627 "flags" : []
1628 },
1629 {
1630 "tcId" : 169,
1631 "comment" : "",
1632 "key" : "aa0ab9d68ed4a04e723f81b44c0c88d0bcde7a80cfd476eb4b8836d9aa01ec4c",
1633 "msg" : "57faa8766f6d6a0aa1cf643f857c150df5b31303b50af480e21c4b5e8c8a15d5",
1634 "ct" : "0e9e2e9aa34bbf973d67bc534ac86fc5b5a5f9da5f026866177894ec6077a5c84501510e1bf4afb3",
1635 "result" : "valid",
1636 "flags" : []
1637 },
1638 {
1639 "tcId" : 170,
1640 "comment" : "Round counter overflows 256",
1641 "key" : "b6121acad51038e11873aaa7e6c7be06f93826b74fec0ea1c02f9981ed49d16a",
1642 "msg" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
1643 "ct" : "1c6b7e4003384f071bf29baea9098ad81da8e9862909329f52793b35d592c10dba15aa89400ea6403df8dcaffd0dbf5606303f109f79ad700ed5d5ad4e59950ce9ce5296c9d186a0df441973d1835f9ac000ad1a6797875c3a03161e9e3f5ea464032e407854eadca5a9e7a386bb0d29253e3804adefd8c0402cc8c40ac7f9041429cc0bb77a405b284baa2dae764ea09c654c0a82f2c5724221ba44e341503d3103dbc393c7702182f8cc2762ddbc873b7f84197709886a4b5df5b04ff9d21b79b50904af3c32128dfb9cde94fe1254d981e6ce3acfda82db1fa2badbccd2d29052a04a69ce1f5652f30496ea57edc7e3e885dd4a35ca15aba602bb4c888a8064da94c2ac5c12c11f608810af46fbb49c3e8f8771ff661f8d8dccd163d0c4a401b8b9aa74e68a56011cf78d21dc7541a974f9dad5ae27f8a26d1b0e76be2f86c6a21e9d1c2b5df3c8878a8bcae143b3af1f082afc52616eeadd2232926597b245d394931e02e493b0bc27a92d013e111694cac2c5a2a46e008a8498b5c31bb5ec35a4e9957e365d",
1644 "result" : "acceptable",
1645 "flags" : [
1646 "WeakWrapping"
1647 ]
1648 },
1649 {
1650 "tcId" : 171,
1651 "comment" : "wrapping small key",
1652 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1653 "msg" : "",
1654 "ct" : "a65959a600000000",
1655 "result" : "acceptable",
1656 "flags" : [
1657 "SmallKey"
1658 ]
1659 },
1660 {
1661 "tcId" : 172,
1662 "comment" : "wrapping small key",
1663 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1664 "msg" : "ae",
1665 "ct" : "06c1e65ac0f385b4e8c400d229f39422",
1666 "result" : "acceptable",
1667 "flags" : [
1668 "SmallKey"
1669 ]
1670 },
1671 {
1672 "tcId" : 173,
1673 "comment" : "wrapping small key",
1674 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1675 "msg" : "c548",
1676 "ct" : "c98da5936a1313eba1a6773b8060ea5e",
1677 "result" : "acceptable",
1678 "flags" : [
1679 "SmallKey"
1680 ]
1681 },
1682 {
1683 "tcId" : 174,
1684 "comment" : "wrapping small key",
1685 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1686 "msg" : "f713b9",
1687 "ct" : "b2a77d9b837e87cdb7391e1df7cdaf14",
1688 "result" : "acceptable",
1689 "flags" : [
1690 "SmallKey"
1691 ]
1692 },
1693 {
1694 "tcId" : 175,
1695 "comment" : "wrapping small key",
1696 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1697 "msg" : "f375cbf7",
1698 "ct" : "d8ecf20191f75aa36686298bfa5022ab",
1699 "result" : "acceptable",
1700 "flags" : [
1701 "SmallKey"
1702 ]
1703 },
1704 {
1705 "tcId" : 176,
1706 "comment" : "wrapping small key",
1707 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1708 "msg" : "d9445094b1",
1709 "ct" : "077362f50356fc7c54c70f9cb4306f7d",
1710 "result" : "acceptable",
1711 "flags" : [
1712 "SmallKey"
1713 ]
1714 },
1715 {
1716 "tcId" : 177,
1717 "comment" : "wrapping small key",
1718 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1719 "msg" : "fab43e91ae15",
1720 "ct" : "a4bd6a116ad88a52aae3f0c0cb893f9b",
1721 "result" : "acceptable",
1722 "flags" : [
1723 "SmallKey"
1724 ]
1725 },
1726 {
1727 "tcId" : 178,
1728 "comment" : "wrapping small key",
1729 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1730 "msg" : "90735025797bd2",
1731 "ct" : "68a52de00ec0f1ebbedc38fee6be0c23",
1732 "result" : "acceptable",
1733 "flags" : [
1734 "SmallKey"
1735 ]
1736 },
1737 {
1738 "tcId" : 179,
1739 "comment" : "wrapping small key",
1740 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1741 "msg" : "e43f5e4e123a03c4",
1742 "ct" : "3a6746052a1744cfe7e2f36dafc4042d",
1743 "result" : "acceptable",
1744 "flags" : [
1745 "SmallKey"
1746 ]
1747 },
1748 {
1749 "tcId" : 180,
1750 "comment" : "wrapping small key",
1751 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1752 "msg" : "1723eb9d000916996a",
1753 "ct" : "db7e73da22219e1baac0f4e955c3db2b900b5d3078f94b59",
1754 "result" : "acceptable",
1755 "flags" : [
1756 "SmallKey"
1757 ]
1758 },
1759 {
1760 "tcId" : 181,
1761 "comment" : "wrapping small key",
1762 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1763 "msg" : "8b18daecde14b8472ffd",
1764 "ct" : "f77ec14a010777f1f1071808f285c1c00b4e9420f0e8bf48",
1765 "result" : "acceptable",
1766 "flags" : [
1767 "SmallKey"
1768 ]
1769 },
1770 {
1771 "tcId" : 182,
1772 "comment" : "wrapping small key",
1773 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1774 "msg" : "e5bd6fbacbf3ef0d40c884",
1775 "ct" : "6b40d4f0863581a7d0365ad477568bfad94f8bf134984838",
1776 "result" : "acceptable",
1777 "flags" : [
1778 "SmallKey"
1779 ]
1780 },
1781 {
1782 "tcId" : 183,
1783 "comment" : "wrapping small key",
1784 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1785 "msg" : "b3be5e5397df5f46b099e821",
1786 "ct" : "660f645b02405a18f7225b68c0a09a949b2b5ba784922cfe",
1787 "result" : "acceptable",
1788 "flags" : [
1789 "SmallKey"
1790 ]
1791 },
1792 {
1793 "tcId" : 184,
1794 "comment" : "wrapping small key",
1795 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1796 "msg" : "4cdd960cabcf8aaf69c37da1d3",
1797 "ct" : "6bea6bf57601bf063873f47ec3572cfb9cfb595d8bdb5e97",
1798 "result" : "acceptable",
1799 "flags" : [
1800 "SmallKey"
1801 ]
1802 },
1803 {
1804 "tcId" : 185,
1805 "comment" : "wrapping small key",
1806 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1807 "msg" : "da29e0889cf98742612e0326300b",
1808 "ct" : "b631292536aaf02d829cc6d3c39e5a5cd76240889e9d51d0",
1809 "result" : "acceptable",
1810 "flags" : [
1811 "SmallKey"
1812 ]
1813 },
1814 {
1815 "tcId" : 186,
1816 "comment" : "wrapping small key",
1817 "key" : "1abf4b7fa2bb62a78f09ddab04625dcacdd9e551d1a69b6b162baa53d2700093",
1818 "msg" : "72aaee126a822184806c7d22eed66b",
1819 "ct" : "de497acf18a177a3a9b3d8da46d74dfa58dcc537a3a95323",
1820 "result" : "acceptable",
1821 "flags" : [
1822 "SmallKey"
1823 ]
1824 },
1825 {
1826 "tcId" : 187,
1827 "comment" : "Modified IV",
1828 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1829 "msg" : "a828cbda9b5ff0ae37",
1830 "ct" : "98428fb83dc207033c1585e0242e699be98e0001f1ee15ba",
1831 "result" : "invalid",
1832 "flags" : []
1833 },
1834 {
1835 "tcId" : 188,
1836 "comment" : "Modified IV",
1837 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1838 "msg" : "a828cbda9b5ff0ae37",
1839 "ct" : "60107f4c60c04c987c7c5810130303bd83fbc35d924f4482",
1840 "result" : "invalid",
1841 "flags" : []
1842 },
1843 {
1844 "tcId" : 189,
1845 "comment" : "Modified IV",
1846 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1847 "msg" : "a828cbda9b5ff0ae37",
1848 "ct" : "38e8d42ffc1a26278c6fad73bd699f207251f6e1b622bf92",
1849 "result" : "invalid",
1850 "flags" : []
1851 },
1852 {
1853 "tcId" : 190,
1854 "comment" : "Modified IV",
1855 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1856 "msg" : "a828cbda9b5ff0ae37",
1857 "ct" : "c23f1fdbe6c021a04bfc386b55c8fe911481f82edf308d79",
1858 "result" : "invalid",
1859 "flags" : []
1860 },
1861 {
1862 "tcId" : 191,
1863 "comment" : "Modified IV",
1864 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1865 "msg" : "a828cbda9b5ff0ae37",
1866 "ct" : "7cc6af073f8d21e26713222ba609c91b69fc5faee9870eb7",
1867 "result" : "invalid",
1868 "flags" : []
1869 },
1870 {
1871 "tcId" : 192,
1872 "comment" : "Modified IV",
1873 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1874 "msg" : "a828cbda9b5ff0ae37",
1875 "ct" : "e7e5d96c0bc89dc23bff610db5ccfb5de8f97b74100b3492",
1876 "result" : "invalid",
1877 "flags" : []
1878 },
1879 {
1880 "tcId" : 193,
1881 "comment" : "Modified IV",
1882 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1883 "msg" : "a828cbda9b5ff0ae37",
1884 "ct" : "18e77b855e322457a4942209f97acaed1fe6af0aea80c454",
1885 "result" : "invalid",
1886 "flags" : []
1887 },
1888 {
1889 "tcId" : 194,
1890 "comment" : "Modified IV",
1891 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1892 "msg" : "a828cbda9b5ff0ae37",
1893 "ct" : "0fcc89e543fae40b914510c9064307b70ef12de4c8750874",
1894 "result" : "invalid",
1895 "flags" : []
1896 },
1897 {
1898 "tcId" : 195,
1899 "comment" : "Modified IV",
1900 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1901 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1902 "ct" : "f795cf444efd94bd6a561d8cb0703ee0e979c073aa66fdaa",
1903 "result" : "invalid",
1904 "flags" : []
1905 },
1906 {
1907 "tcId" : 196,
1908 "comment" : "Modified IV",
1909 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1910 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1911 "ct" : "bb5d2e4082140258d6cb26a74af7c10f985e4a84dcd5d8d6",
1912 "result" : "invalid",
1913 "flags" : []
1914 },
1915 {
1916 "tcId" : 197,
1917 "comment" : "Modified IV",
1918 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1919 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1920 "ct" : "47819be55567934b165a6e93ca25d3900103bedb86eab148",
1921 "result" : "invalid",
1922 "flags" : []
1923 },
1924 {
1925 "tcId" : 198,
1926 "comment" : "Modified IV",
1927 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1928 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1929 "ct" : "41b70a974d3fce94feb94b7b01d959541cd120f879cf60e1",
1930 "result" : "invalid",
1931 "flags" : []
1932 },
1933 {
1934 "tcId" : 199,
1935 "comment" : "Modified IV",
1936 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1937 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1938 "ct" : "86b9f13e871ecb5aa009c80a31693336e59ae1ed3c8d7aaf",
1939 "result" : "invalid",
1940 "flags" : []
1941 },
1942 {
1943 "tcId" : 200,
1944 "comment" : "Modified IV",
1945 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1946 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1947 "ct" : "b17c3957d85127aae1ae0a04096b19eb2e0f67583772182b",
1948 "result" : "invalid",
1949 "flags" : []
1950 },
1951 {
1952 "tcId" : 201,
1953 "comment" : "Modified IV",
1954 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1955 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1956 "ct" : "2ca5c335226e3e171fde0f3401ba6835fa389f30f5288699",
1957 "result" : "invalid",
1958 "flags" : []
1959 },
1960 {
1961 "tcId" : 202,
1962 "comment" : "Modified IV",
1963 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1964 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
1965 "ct" : "5b8ba944f4a961d6e4c5121279ea4d3fcd555b05e75da4ff",
1966 "result" : "invalid",
1967 "flags" : []
1968 },
1969 {
1970 "tcId" : 203,
1971 "comment" : "Modified IV",
1972 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1973 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
1974 "ct" : "7fd3ad3aee0545da1ed3a54d5a198a2c76cf8290c011c042",
1975 "result" : "invalid",
1976 "flags" : []
1977 },
1978 {
1979 "tcId" : 204,
1980 "comment" : "Modified IV",
1981 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1982 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
1983 "ct" : "a24e94c12b2e6b776c8febe9179521beae0cfbd507d358b4",
1984 "result" : "invalid",
1985 "flags" : []
1986 },
1987 {
1988 "tcId" : 205,
1989 "comment" : "Modified IV",
1990 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
1991 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
1992 "ct" : "9395b071fa3d9908b2e1b349bf7cd6a1cfc86b979c8c73cd",
1993 "result" : "invalid",
1994 "flags" : []
1995 },
1996 {
1997 "tcId" : 206,
1998 "comment" : "Modified IV",
1999 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2000 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
2001 "ct" : "1eb452770bc0f26a3576b604bf5ac72f714fc468c357eba7",
2002 "result" : "invalid",
2003 "flags" : []
2004 },
2005 {
2006 "tcId" : 207,
2007 "comment" : "Modified IV",
2008 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2009 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
2010 "ct" : "b42bcb4161f40b30f3d2f740f43e441d3c9a39613914f1c6",
2011 "result" : "invalid",
2012 "flags" : []
2013 },
2014 {
2015 "tcId" : 208,
2016 "comment" : "Modified IV",
2017 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2018 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
2019 "ct" : "f3d76dd320e5f1b3f85b8f73a9ebcfabfb8346daafaf36e6",
2020 "result" : "invalid",
2021 "flags" : []
2022 },
2023 {
2024 "tcId" : 209,
2025 "comment" : "Modified IV",
2026 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2027 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
2028 "ct" : "b8e26164496942f44f16751096fb47952ec478bb288e72a1",
2029 "result" : "invalid",
2030 "flags" : []
2031 },
2032 {
2033 "tcId" : 210,
2034 "comment" : "Modified IV",
2035 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2036 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5",
2037 "ct" : "fa783b3aca0ec1e677378f23ebe937776fa590ecc6b01392",
2038 "result" : "invalid",
2039 "flags" : []
2040 },
2041 {
2042 "tcId" : 211,
2043 "comment" : "Modified IV",
2044 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2045 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
2046 "ct" : "8b011408049eab81cc185796b9636982c1ad28e940e5c35ab1219434c23e8c59",
2047 "result" : "invalid",
2048 "flags" : []
2049 },
2050 {
2051 "tcId" : 212,
2052 "comment" : "Modified IV",
2053 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2054 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
2055 "ct" : "08db2f06aa2400d4cc1113b1c9e3ba1b39e3e26a84918f9266796c426c166428",
2056 "result" : "invalid",
2057 "flags" : []
2058 },
2059 {
2060 "tcId" : 213,
2061 "comment" : "Modified IV",
2062 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2063 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
2064 "ct" : "3114404be000ee167b65dd3cfae3b10c50dffe1df864b5e52a2805f0c80021c0",
2065 "result" : "invalid",
2066 "flags" : []
2067 },
2068 {
2069 "tcId" : 214,
2070 "comment" : "Modified IV",
2071 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2072 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
2073 "ct" : "405ae5bdeff8b05d28ea55900b8e81dc789d532ec3fc457730819e762172f751",
2074 "result" : "invalid",
2075 "flags" : []
2076 },
2077 {
2078 "tcId" : 215,
2079 "comment" : "Modified IV",
2080 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2081 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
2082 "ct" : "7c19e66d21c0f1409ee6f03a36ab6ba532349e2567200b95d7f5012b2b7e5d33",
2083 "result" : "invalid",
2084 "flags" : []
2085 },
2086 {
2087 "tcId" : 216,
2088 "comment" : "Modified IV",
2089 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2090 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
2091 "ct" : "955ac67d6e496b9b93a4dda8f6e65e668f1326b256ee146a7647ba18deee7986",
2092 "result" : "invalid",
2093 "flags" : []
2094 },
2095 {
2096 "tcId" : 217,
2097 "comment" : "Modified IV",
2098 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2099 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
2100 "ct" : "c8600aa18be27279493fd68c84130c8bc328b0f6821e01e892b6c2dc1c005270",
2101 "result" : "invalid",
2102 "flags" : []
2103 },
2104 {
2105 "tcId" : 218,
2106 "comment" : "Modified IV",
2107 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2108 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1",
2109 "ct" : "492566e0dc539e234b08b95fb23594a6d14f59fa4367799495c2e7f2993135ec",
2110 "result" : "invalid",
2111 "flags" : []
2112 },
2113 {
2114 "tcId" : 219,
2115 "comment" : "Modified IV",
2116 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2117 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1acce3497352690",
2118 "ct" : "0b0aa97121bb8e367b8e80e6518a786ab686f4d6b8a075c3abe534698ec462e09fba981615d43ebd",
2119 "result" : "invalid",
2120 "flags" : []
2121 },
2122 {
2123 "tcId" : 220,
2124 "comment" : "Modified IV",
2125 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2126 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1acce3497352690",
2127 "ct" : "aa6eaa5b94f39247b9581c4d3120ed71e6a427eb51b2439f245d1762041dcf50741fc53fa7a95579",
2128 "result" : "invalid",
2129 "flags" : []
2130 },
2131 {
2132 "tcId" : 221,
2133 "comment" : "Modified IV",
2134 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2135 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1acce3497352690",
2136 "ct" : "5cef33853f321f523951a27e41a68dfca418d5b8560484d3f233c5a45e7b69e7a6e4893e690cde6e",
2137 "result" : "invalid",
2138 "flags" : []
2139 },
2140 {
2141 "tcId" : 222,
2142 "comment" : "Modified IV",
2143 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2144 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1acce3497352690",
2145 "ct" : "62e120f39799ab7633fde15836b89b28a8ced5ecdc421939d8657e41fa1ea49a54da75b51b8dd3d8",
2146 "result" : "invalid",
2147 "flags" : []
2148 },
2149 {
2150 "tcId" : 223,
2151 "comment" : "Modified IV",
2152 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2153 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1acce3497352690",
2154 "ct" : "9dc7bc15dfbc7da1a6f74bc4dfbc70091f2a180dbb76f9a6e9e18bcc3c11d2b56bed36c58c7dbc65",
2155 "result" : "invalid",
2156 "flags" : []
2157 },
2158 {
2159 "tcId" : 224,
2160 "comment" : "Modified IV",
2161 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2162 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1acce3497352690",
2163 "ct" : "e7ee36c6321ba0a30906b25e087fb0cabd74fbb0905b015ccc246cc90e5684605898a5a77983e897",
2164 "result" : "invalid",
2165 "flags" : []
2166 },
2167 {
2168 "tcId" : 225,
2169 "comment" : "Modified IV",
2170 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2171 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1acce3497352690",
2172 "ct" : "75c636384c4210ea46422f31a5622d001e8978c2b0fbbb79ce3d7c4b46bb3c7c2c9d4182571ae515",
2173 "result" : "invalid",
2174 "flags" : []
2175 },
2176 {
2177 "tcId" : 226,
2178 "comment" : "Modified IV",
2179 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2180 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1acce3497352690",
2181 "ct" : "b0116ad877c745d609f7df14b9225a2d69ab56f2e74077e34607b4e75a2883442864f17ca19af259",
2182 "result" : "invalid",
2183 "flags" : []
2184 },
2185 {
2186 "tcId" : 227,
2187 "comment" : "Modified Padding",
2188 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2189 "msg" : "a828cbda9b5ff0ae37",
2190 "ct" : "64956d333265a8f2547756feab37b81f97786a4ebf491f13",
2191 "result" : "invalid",
2192 "flags" : []
2193 },
2194 {
2195 "tcId" : 228,
2196 "comment" : "Modified Padding",
2197 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2198 "msg" : "a828cbda9b5ff0ae37",
2199 "ct" : "6ee239e916d27f8a8931740fda92657f98dfc68e5e3984da",
2200 "result" : "invalid",
2201 "flags" : []
2202 },
2203 {
2204 "tcId" : 229,
2205 "comment" : "Modified Padding",
2206 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2207 "msg" : "a828cbda9b5ff0ae37",
2208 "ct" : "40c990f89aa7c76400655fd4167b04cbe24145c8c800dc35",
2209 "result" : "invalid",
2210 "flags" : []
2211 },
2212 {
2213 "tcId" : 230,
2214 "comment" : "Modified Padding",
2215 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2216 "msg" : "a828cbda9b5ff0ae37",
2217 "ct" : "f2a900684f167b9246b1345b8a94e711d9b6ac439f3ef3e8",
2218 "result" : "invalid",
2219 "flags" : []
2220 },
2221 {
2222 "tcId" : 231,
2223 "comment" : "Modified Padding",
2224 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2225 "msg" : "a828cbda9b5ff0ae37",
2226 "ct" : "cd7053a854fcc2f476c20539360ce47e767563723c11d211",
2227 "result" : "invalid",
2228 "flags" : []
2229 },
2230 {
2231 "tcId" : 232,
2232 "comment" : "Modified Padding",
2233 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2234 "msg" : "a828cbda9b5ff0ae37",
2235 "ct" : "ffa557ea4960669ccbcf59007a24de06755475c1cfef56da",
2236 "result" : "invalid",
2237 "flags" : []
2238 },
2239 {
2240 "tcId" : 233,
2241 "comment" : "Modified Padding",
2242 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2243 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
2244 "ct" : "8672fdfb252c0dc9e3bc39b0fe76b9b08cf87b65c0f28ee3",
2245 "result" : "invalid",
2246 "flags" : []
2247 },
2248 {
2249 "tcId" : 234,
2250 "comment" : "Modified Padding",
2251 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2252 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
2253 "ct" : "fcc2c7a6d2944e7d02ca08e49a7ceb77ee3f5966509b528e",
2254 "result" : "invalid",
2255 "flags" : []
2256 },
2257 {
2258 "tcId" : 235,
2259 "comment" : "Modified Padding",
2260 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2261 "msg" : "a828cbda9b5ff0ae374f84fa01d070",
2262 "ct" : "57bc3a4c7544fe76b92740608a1023bb70227856cbdb8ada",
2263 "result" : "invalid",
2264 "flags" : []
2265 },
2266 {
2267 "tcId" : 236,
2268 "comment" : "Modified Padding",
2269 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2270 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1acce3497352690",
2271 "ct" : "9220a6eb9c77a3d6374647afa7a3effb99be7e1f7bafeca8a1bbd93e8adcca6e570484008ee674ca",
2272 "result" : "invalid",
2273 "flags" : []
2274 },
2275 {
2276 "tcId" : 237,
2277 "comment" : "Modified Padding",
2278 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2279 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1acce3497352690",
2280 "ct" : "94654a58be6bb6b946ef40ac7b8f1d19e2edff7c2c8c54eb7b2cbb3227c4f9df2cb317795beea413",
2281 "result" : "invalid",
2282 "flags" : []
2283 },
2284 {
2285 "tcId" : 238,
2286 "comment" : "Modified Padding",
2287 "key" : "4f710eb6b5e28703becfc3dc52fa8bc1dd44a4a6d38a84b4f94e89ac32d987e7",
2288 "msg" : "a828cbda9b5ff0ae374f84fa01d070a5f0a17a0c462be4f1acce3497352690",
2289 "ct" : "1ae49d65e69886f0f47cbbeb50f07ab5163983916a738a0d8f538c59c8a6e1e9ad229b27418259a7",
2290 "result" : "invalid",
2291 "flags" : []
2292 },
2293 {
2294 "tcId" : 239,
2295 "comment" : "RFC 3349 padding",
2296 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2297 "msg" : "000102030405060708090a0b0c0d0e0f",
2298 "ct" : "ac1a774a5de27e4f9c356e4f62deaf8b7eeee6bcafafd895",
2299 "result" : "invalid",
2300 "flags" : []
2301 },
2302 {
2303 "tcId" : 240,
2304 "comment" : "Invalid encryption",
2305 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2306 "msg" : "0001020304050607",
2307 "ct" : "b3941437f55e7cbc3f88050aff703967",
2308 "result" : "invalid",
2309 "flags" : []
2310 },
2311 {
2312 "tcId" : 241,
2313 "comment" : "padding too long",
2314 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2315 "msg" : "000000000000000000000000000000000000000000000000",
2316 "ct" : "86175acf19ad0b7ac60d1fe4bb7850635e7ec6f8a314f85b6dd3d8f9349ea38d",
2317 "result" : "invalid",
2318 "flags" : []
2319 },
2320 {
2321 "tcId" : 242,
2322 "comment" : "padding too long",
2323 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2324 "msg" : "0000000000000000000000000000000000000000000000000000000000000000",
2325 "ct" : "791f088847a76731e0d56b9b2dcb28bf9f091a9725790e0a64fc8e7cb3ad50f380297a98e3b1c33e",
2326 "result" : "invalid",
2327 "flags" : []
2328 },
2329 {
2330 "tcId" : 243,
2331 "comment" : "incorrectly encoded length",
2332 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2333 "msg" : "00000000000000000000000000000000",
2334 "ct" : "868c34495bd3d7b4e2c1861e7fcbbdb372099488dd96c9ea",
2335 "result" : "invalid",
2336 "flags" : []
2337 },
2338 {
2339 "tcId" : 244,
2340 "comment" : "length = 2**32-1",
2341 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2342 "msg" : "00000000000000000000000000000000",
2343 "ct" : "4a8b4aeaa713469bfd9bf88d4072379fc858e40b24b0bebe",
2344 "result" : "invalid",
2345 "flags" : []
2346 },
2347 {
2348 "tcId" : 245,
2349 "comment" : "length = 2**32-1",
2350 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2351 "msg" : "0000000000000000",
2352 "ct" : "c210aa3b5fbf5eac97e68d98d7727f38",
2353 "result" : "invalid",
2354 "flags" : []
2355 },
2356 {
2357 "tcId" : 246,
2358 "comment" : "length = 2**31-1",
2359 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2360 "msg" : "00000000000000000000000000000000",
2361 "ct" : "e0ebd376e050cc9027b76dfc38ee2c6ae2808cecf480a560",
2362 "result" : "invalid",
2363 "flags" : []
2364 },
2365 {
2366 "tcId" : 247,
2367 "comment" : "length = 2**31 + 16",
2368 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2369 "msg" : "00000000000000000000000000000000",
2370 "ct" : "23a693e211c08ab9b222c2ede2db18f437e22917fdff8032",
2371 "result" : "invalid",
2372 "flags" : []
2373 },
2374 {
2375 "tcId" : 248,
2376 "comment" : "data is incorrectly padded",
2377 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2378 "msg" : "ffffffffffffffffffffffffffffffffffffffffffffffff",
2379 "ct" : "003f2916fea6827e01199028d3dc4e03889113f97b1860cc242e5a0f28a0f159",
2380 "result" : "invalid",
2381 "flags" : []
2382 },
2383 {
2384 "tcId" : 249,
2385 "comment" : "data is incorrectly padded",
2386 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2387 "msg" : "0001020304050607",
2388 "ct" : "5c25a170d5225a6d66e117c691b37383",
2389 "result" : "invalid",
2390 "flags" : []
2391 },
2392 {
2393 "tcId" : 250,
2394 "comment" : "length = 0",
2395 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2396 "msg" : "00000000000000000000000000000000",
2397 "ct" : "df9ef924eb59634be5b27cabd33d72bd6be6e01e4672ab05",
2398 "result" : "invalid",
2399 "flags" : []
2400 },
2401 {
2402 "tcId" : 251,
2403 "comment" : "RFC 3349 padding with incorrect size",
2404 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2405 "msg" : "0001020304050607",
2406 "ct" : "e6e66fad359a7b63a977788acd297121",
2407 "result" : "invalid",
2408 "flags" : []
2409 },
2410 {
2411 "tcId" : 252,
2412 "comment" : "length = 9",
2413 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2414 "msg" : "0000000000000000",
2415 "ct" : "76b88ecda760b1af80703036185fc476",
2416 "result" : "invalid",
2417 "flags" : []
2418 },
2419 {
2420 "tcId" : 253,
2421 "comment" : "length = 16",
2422 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2423 "msg" : "0000000000000000",
2424 "ct" : "fd101943f4ab7c38ec68c75d4b3193dc",
2425 "result" : "invalid",
2426 "flags" : []
2427 },
2428 {
2429 "tcId" : 254,
2430 "comment" : "length = 2**31 + 8",
2431 "key" : "48a53c11ef2d727db7eb9a834b134ea9602273aca929702eb2c31d96a58c9be2",
2432 "msg" : "0000000000000000",
2433 "ct" : "1793a3a9bd146726edbcb9589f20e849",
2434 "result" : "invalid",
2435 "flags" : []
2436 }
2437 ]
2438 }
2439 ]
2440}