1{
2  "algorithm" : "AES-GMAC",
3  "generatorVersion" : "0.8r12",
4  "numberOfTests" : 449,
5  "header" : [
6    "MacWithIvTest is intended for testing MACs that use an IV for randomization."
7  ],
8  "notes" : {
9  },
10  "schema" : "mac_with_iv_test_schema.json",
11  "testGroups" : [
12    {
13      "ivSize" : 96,
14      "keySize" : 128,
15      "tagSize" : 128,
16      "type" : "MacWithIvTest",
17      "tests" : [
18        {
19          "tcId" : 1,
20          "comment" : "empty message",
21          "key" : "98b08a72ffde0ded4bec9d2a8db57235",
22          "iv" : "1595248735310eb710519c2b",
23          "msg" : "",
24          "tag" : "5118cc71501c8273a43662b981191750",
25          "result" : "valid",
26          "flags" : []
27        },
28        {
29          "tcId" : 2,
30          "comment" : "short message",
31          "key" : "f0cfce280656fabd93f68ba6b3a3ad6e",
32          "iv" : "0a38ca626b430ed84a2a8dfe",
33          "msg" : "4b",
34          "tag" : "8677a0160a923ce7437ca94b8de97da5",
35          "result" : "valid",
36          "flags" : []
37        },
38        {
39          "tcId" : 3,
40          "comment" : "short message",
41          "key" : "fd3c5381f588bfe33270e336a5b02896",
42          "iv" : "02d916631fbacf27c274b74c",
43          "msg" : "026f",
44          "tag" : "ebc6969310510a2eb8acb9ec3d631f29",
45          "result" : "valid",
46          "flags" : []
47        },
48        {
49          "tcId" : 4,
50          "comment" : "short message",
51          "key" : "53107d29dc584d32d3ef321a85eec257",
52          "iv" : "dd91a33dce809e7bfe68d843",
53          "msg" : "039e0f5b",
54          "tag" : "8c99cbf28c43f90fc3609126bdf30f4b",
55          "result" : "valid",
56          "flags" : []
57        },
58        {
59          "tcId" : 5,
60          "comment" : "short message",
61          "key" : "8e2c0cc624728af2195d46775502ec13",
62          "iv" : "e8d43d5646bb7dde8a1e9374",
63          "msg" : "f7efb072100cc6",
64          "tag" : "2b4e06a558a40542c0fdc7149678c8b8",
65          "result" : "valid",
66          "flags" : []
67        },
68        {
69          "tcId" : 6,
70          "comment" : "short message",
71          "key" : "f543fb6a6673e9df998a3058084dccc1",
72          "iv" : "0e78b2a2250b5dd1daebcb7b",
73          "msg" : "8063719e25c0bc9a",
74          "tag" : "d32c12b4b7845adacadabe2387e243d4",
75          "result" : "valid",
76          "flags" : []
77        },
78        {
79          "tcId" : 7,
80          "comment" : "short message",
81          "key" : "fe3f266f5f236669582bd80618760543",
82          "iv" : "014313723d1860bf8f4b11fd",
83          "msg" : "dc25f04acfbdbc986a107043286eae",
84          "tag" : "60392ad41debec0db43d97dfb3798c91",
85          "result" : "valid",
86          "flags" : []
87        },
88        {
89          "tcId" : 8,
90          "comment" : "short message",
91          "key" : "1d4a92394c7356a6f528cfb3adb8f253",
92          "iv" : "02194ece3bc50c51c52bdd83",
93          "msg" : "19b69d4178d49c20b4ee5846cb440c99",
94          "tag" : "3790b32d5cda9f8ef72b643d701077d3",
95          "result" : "valid",
96          "flags" : []
97        },
98        {
99          "tcId" : 9,
100          "comment" : "short message",
101          "key" : "c9859c8b39d8d7e811d8ae45d9b85882",
102          "iv" : "110d550119d71a0945bfecbb",
103          "msg" : "36717076748d9351e5a3cc67b9e8833e07",
104          "tag" : "f0b26b17b28ea92708b12b871f3b3071",
105          "result" : "valid",
106          "flags" : []
107        },
108        {
109          "tcId" : 10,
110          "comment" : "short message",
111          "key" : "8b4fd3d3055746cb2dcd9b08c298386f",
112          "iv" : "1aac5cca3d02d40f57fabecf",
113          "msg" : "83e5abbbfed5eeb353b25f36e4adc0f29060c55c08ae4f80",
114          "tag" : "2c9c99e071f1d2783a47c7a847a3b76a",
115          "result" : "valid",
116          "flags" : []
117        },
118        {
119          "tcId" : 11,
120          "comment" : "long message",
121          "key" : "46c33fff8898c4a4985599ccc05d0571",
122          "iv" : "01da1ca72e26f6d6fa9ce281",
123          "msg" : "038537bf94e1d7e14f68b8d5458241e34f5158dea6f8052049b9dad8fb66cb6e0ba6cc223f675614e95d1527c746e650e9fc6aca69e682d9e30ac06e0a48c0a0428ec1ae23739d82fc246e4cd6bc27cd1d54c0e630c1624fe3dbd0a8cea3b7c8f2d7c1cca8b8e086cab02153be762d59e49c533cb39e65ab37f6cad2290d0dfe2a",
124          "tag" : "feeec6276f89393b5a5222e0ebb160fd",
125          "result" : "valid",
126          "flags" : []
127        },
128        {
129          "tcId" : 12,
130          "comment" : "long message",
131          "key" : "d096bed970d17a3400cd60cef57b4e49",
132          "iv" : "231854323bc95613a15dd7d5",
133          "msg" : "30f8a0eea937567bfec3b15d1c58a170b4f8aae949178ad04d8ea46b6e625b50dce252dc380e9eff53ca2057228039edd78ae3e22819af6e3bdc83b1f0736abb76eb4044e4743464fbc61c62b06839e372289aa8218ea0a6e443a37a65c948857380318fe07bd482dfbaef869cdf75fd2d9575f6040f90f20bb41b390d4d1cdaa3b7b6a5d9a947bc71f06a74db8f65135f5982b75b21a0dcc33eaf7c6b26da62bf0fe9074f3f961e739f2292192e3309397d19ded4d44a6ce748f3530c7beec76d65d40c6bc8d281f7c23d56370710d8952d7f68fcac5e8f53b58d0714238a9c79c836d9b791541ed527a9d6ef87bcef1142653e734e66601d2a8a37dd200716",
134          "tag" : "014c13da92a0e99329a88c9cc84e08d4",
135          "result" : "valid",
136          "flags" : []
137        },
138        {
139          "tcId" : 13,
140          "comment" : "long message",
141          "key" : "6f8b47452ef025028560f61601b64e46",
142          "iv" : "c89982a6a787caa38f166ec7",
143          "msg" : "f36e4072c2045b8995ed8fb9907bc985606b01d1920b09e393e37926377f89478e6ed55314c54f29ff0bd25ff75e99f1dea9eb7ae0860593e5967c57a8352f135a33c0464b90dd6d5e8f9aefb9428391cefff619f293084dc9592b0b72ad034fad9309001870cc1f5897eb94b68ad18561c83b7fb55536b4be804b4ae8e98005c4f1180badd7e4d98a6e0f62a590c1bfaebb2ef7ca5696245a69b34863f9952696d318b69d14a1ed7ce70464542f3cfda2e93b2286ab3d1a43544a24a491de66043c0e83c699138fa294e6fd293d20b596f9284e755285d36e32d11e3d51830f55405a91cb13cec0ef4eb3683b0c288b72bcc04e8e5359b1ae44c3340c6404426d9a3ba5059cbba0506a3a6987a59e9a0a2eac96f9",
144          "tag" : "537a5405ae5dfd3a83ad6e9e4b4d0a1d",
145          "result" : "valid",
146          "flags" : []
147        },
148        {
149          "tcId" : 14,
150          "comment" : "Flipped bit 0 in tag",
151          "key" : "000102030405060708090a0b0c0d0e0f",
152          "iv" : "000102030405060708090a0b",
153          "msg" : "0001020304050607",
154          "tag" : "8cf7d8edb99165faad1b038c53b320e8",
155          "result" : "invalid",
156          "flags" : []
157        },
158        {
159          "tcId" : 15,
160          "comment" : "Flipped bit 0 in tag",
161          "key" : "000102030405060708090a0b0c0d0e0f",
162          "iv" : "000102030405060708090a0b",
163          "msg" : "000102030405060708090a0b0c0d0e0f",
164          "tag" : "7c028e83b727da92cc61528e48cb0204",
165          "result" : "invalid",
166          "flags" : []
167        },
168        {
169          "tcId" : 16,
170          "comment" : "Flipped bit 1 in tag",
171          "key" : "000102030405060708090a0b0c0d0e0f",
172          "iv" : "000102030405060708090a0b",
173          "msg" : "0001020304050607",
174          "tag" : "8ff7d8edb99165faad1b038c53b320e8",
175          "result" : "invalid",
176          "flags" : []
177        },
178        {
179          "tcId" : 17,
180          "comment" : "Flipped bit 1 in tag",
181          "key" : "000102030405060708090a0b0c0d0e0f",
182          "iv" : "000102030405060708090a0b",
183          "msg" : "000102030405060708090a0b0c0d0e0f",
184          "tag" : "7f028e83b727da92cc61528e48cb0204",
185          "result" : "invalid",
186          "flags" : []
187        },
188        {
189          "tcId" : 18,
190          "comment" : "Flipped bit 7 in tag",
191          "key" : "000102030405060708090a0b0c0d0e0f",
192          "iv" : "000102030405060708090a0b",
193          "msg" : "0001020304050607",
194          "tag" : "0df7d8edb99165faad1b038c53b320e8",
195          "result" : "invalid",
196          "flags" : []
197        },
198        {
199          "tcId" : 19,
200          "comment" : "Flipped bit 7 in tag",
201          "key" : "000102030405060708090a0b0c0d0e0f",
202          "iv" : "000102030405060708090a0b",
203          "msg" : "000102030405060708090a0b0c0d0e0f",
204          "tag" : "fd028e83b727da92cc61528e48cb0204",
205          "result" : "invalid",
206          "flags" : []
207        },
208        {
209          "tcId" : 20,
210          "comment" : "Flipped bit 8 in tag",
211          "key" : "000102030405060708090a0b0c0d0e0f",
212          "iv" : "000102030405060708090a0b",
213          "msg" : "0001020304050607",
214          "tag" : "8df6d8edb99165faad1b038c53b320e8",
215          "result" : "invalid",
216          "flags" : []
217        },
218        {
219          "tcId" : 21,
220          "comment" : "Flipped bit 8 in tag",
221          "key" : "000102030405060708090a0b0c0d0e0f",
222          "iv" : "000102030405060708090a0b",
223          "msg" : "000102030405060708090a0b0c0d0e0f",
224          "tag" : "7d038e83b727da92cc61528e48cb0204",
225          "result" : "invalid",
226          "flags" : []
227        },
228        {
229          "tcId" : 22,
230          "comment" : "Flipped bit 31 in tag",
231          "key" : "000102030405060708090a0b0c0d0e0f",
232          "iv" : "000102030405060708090a0b",
233          "msg" : "0001020304050607",
234          "tag" : "8df7d86db99165faad1b038c53b320e8",
235          "result" : "invalid",
236          "flags" : []
237        },
238        {
239          "tcId" : 23,
240          "comment" : "Flipped bit 31 in tag",
241          "key" : "000102030405060708090a0b0c0d0e0f",
242          "iv" : "000102030405060708090a0b",
243          "msg" : "000102030405060708090a0b0c0d0e0f",
244          "tag" : "7d028e03b727da92cc61528e48cb0204",
245          "result" : "invalid",
246          "flags" : []
247        },
248        {
249          "tcId" : 24,
250          "comment" : "Flipped bit 32 in tag",
251          "key" : "000102030405060708090a0b0c0d0e0f",
252          "iv" : "000102030405060708090a0b",
253          "msg" : "0001020304050607",
254          "tag" : "8df7d8edb89165faad1b038c53b320e8",
255          "result" : "invalid",
256          "flags" : []
257        },
258        {
259          "tcId" : 25,
260          "comment" : "Flipped bit 32 in tag",
261          "key" : "000102030405060708090a0b0c0d0e0f",
262          "iv" : "000102030405060708090a0b",
263          "msg" : "000102030405060708090a0b0c0d0e0f",
264          "tag" : "7d028e83b627da92cc61528e48cb0204",
265          "result" : "invalid",
266          "flags" : []
267        },
268        {
269          "tcId" : 26,
270          "comment" : "Flipped bit 33 in tag",
271          "key" : "000102030405060708090a0b0c0d0e0f",
272          "iv" : "000102030405060708090a0b",
273          "msg" : "0001020304050607",
274          "tag" : "8df7d8edbb9165faad1b038c53b320e8",
275          "result" : "invalid",
276          "flags" : []
277        },
278        {
279          "tcId" : 27,
280          "comment" : "Flipped bit 33 in tag",
281          "key" : "000102030405060708090a0b0c0d0e0f",
282          "iv" : "000102030405060708090a0b",
283          "msg" : "000102030405060708090a0b0c0d0e0f",
284          "tag" : "7d028e83b527da92cc61528e48cb0204",
285          "result" : "invalid",
286          "flags" : []
287        },
288        {
289          "tcId" : 28,
290          "comment" : "Flipped bit 63 in tag",
291          "key" : "000102030405060708090a0b0c0d0e0f",
292          "iv" : "000102030405060708090a0b",
293          "msg" : "0001020304050607",
294          "tag" : "8df7d8edb991657aad1b038c53b320e8",
295          "result" : "invalid",
296          "flags" : []
297        },
298        {
299          "tcId" : 29,
300          "comment" : "Flipped bit 63 in tag",
301          "key" : "000102030405060708090a0b0c0d0e0f",
302          "iv" : "000102030405060708090a0b",
303          "msg" : "000102030405060708090a0b0c0d0e0f",
304          "tag" : "7d028e83b727da12cc61528e48cb0204",
305          "result" : "invalid",
306          "flags" : []
307        },
308        {
309          "tcId" : 30,
310          "comment" : "Flipped bit 64 in tag",
311          "key" : "000102030405060708090a0b0c0d0e0f",
312          "iv" : "000102030405060708090a0b",
313          "msg" : "0001020304050607",
314          "tag" : "8df7d8edb99165faac1b038c53b320e8",
315          "result" : "invalid",
316          "flags" : []
317        },
318        {
319          "tcId" : 31,
320          "comment" : "Flipped bit 64 in tag",
321          "key" : "000102030405060708090a0b0c0d0e0f",
322          "iv" : "000102030405060708090a0b",
323          "msg" : "000102030405060708090a0b0c0d0e0f",
324          "tag" : "7d028e83b727da92cd61528e48cb0204",
325          "result" : "invalid",
326          "flags" : []
327        },
328        {
329          "tcId" : 32,
330          "comment" : "Flipped bit 71 in tag",
331          "key" : "000102030405060708090a0b0c0d0e0f",
332          "iv" : "000102030405060708090a0b",
333          "msg" : "0001020304050607",
334          "tag" : "8df7d8edb99165fa2d1b038c53b320e8",
335          "result" : "invalid",
336          "flags" : []
337        },
338        {
339          "tcId" : 33,
340          "comment" : "Flipped bit 71 in tag",
341          "key" : "000102030405060708090a0b0c0d0e0f",
342          "iv" : "000102030405060708090a0b",
343          "msg" : "000102030405060708090a0b0c0d0e0f",
344          "tag" : "7d028e83b727da924c61528e48cb0204",
345          "result" : "invalid",
346          "flags" : []
347        },
348        {
349          "tcId" : 34,
350          "comment" : "Flipped bit 77 in tag",
351          "key" : "000102030405060708090a0b0c0d0e0f",
352          "iv" : "000102030405060708090a0b",
353          "msg" : "0001020304050607",
354          "tag" : "8df7d8edb99165faad3b038c53b320e8",
355          "result" : "invalid",
356          "flags" : []
357        },
358        {
359          "tcId" : 35,
360          "comment" : "Flipped bit 77 in tag",
361          "key" : "000102030405060708090a0b0c0d0e0f",
362          "iv" : "000102030405060708090a0b",
363          "msg" : "000102030405060708090a0b0c0d0e0f",
364          "tag" : "7d028e83b727da92cc41528e48cb0204",
365          "result" : "invalid",
366          "flags" : []
367        },
368        {
369          "tcId" : 36,
370          "comment" : "Flipped bit 80 in tag",
371          "key" : "000102030405060708090a0b0c0d0e0f",
372          "iv" : "000102030405060708090a0b",
373          "msg" : "0001020304050607",
374          "tag" : "8df7d8edb99165faad1b028c53b320e8",
375          "result" : "invalid",
376          "flags" : []
377        },
378        {
379          "tcId" : 37,
380          "comment" : "Flipped bit 80 in tag",
381          "key" : "000102030405060708090a0b0c0d0e0f",
382          "iv" : "000102030405060708090a0b",
383          "msg" : "000102030405060708090a0b0c0d0e0f",
384          "tag" : "7d028e83b727da92cc61538e48cb0204",
385          "result" : "invalid",
386          "flags" : []
387        },
388        {
389          "tcId" : 38,
390          "comment" : "Flipped bit 96 in tag",
391          "key" : "000102030405060708090a0b0c0d0e0f",
392          "iv" : "000102030405060708090a0b",
393          "msg" : "0001020304050607",
394          "tag" : "8df7d8edb99165faad1b038c52b320e8",
395          "result" : "invalid",
396          "flags" : []
397        },
398        {
399          "tcId" : 39,
400          "comment" : "Flipped bit 96 in tag",
401          "key" : "000102030405060708090a0b0c0d0e0f",
402          "iv" : "000102030405060708090a0b",
403          "msg" : "000102030405060708090a0b0c0d0e0f",
404          "tag" : "7d028e83b727da92cc61528e49cb0204",
405          "result" : "invalid",
406          "flags" : []
407        },
408        {
409          "tcId" : 40,
410          "comment" : "Flipped bit 97 in tag",
411          "key" : "000102030405060708090a0b0c0d0e0f",
412          "iv" : "000102030405060708090a0b",
413          "msg" : "0001020304050607",
414          "tag" : "8df7d8edb99165faad1b038c51b320e8",
415          "result" : "invalid",
416          "flags" : []
417        },
418        {
419          "tcId" : 41,
420          "comment" : "Flipped bit 97 in tag",
421          "key" : "000102030405060708090a0b0c0d0e0f",
422          "iv" : "000102030405060708090a0b",
423          "msg" : "000102030405060708090a0b0c0d0e0f",
424          "tag" : "7d028e83b727da92cc61528e4acb0204",
425          "result" : "invalid",
426          "flags" : []
427        },
428        {
429          "tcId" : 42,
430          "comment" : "Flipped bit 103 in tag",
431          "key" : "000102030405060708090a0b0c0d0e0f",
432          "iv" : "000102030405060708090a0b",
433          "msg" : "0001020304050607",
434          "tag" : "8df7d8edb99165faad1b038cd3b320e8",
435          "result" : "invalid",
436          "flags" : []
437        },
438        {
439          "tcId" : 43,
440          "comment" : "Flipped bit 103 in tag",
441          "key" : "000102030405060708090a0b0c0d0e0f",
442          "iv" : "000102030405060708090a0b",
443          "msg" : "000102030405060708090a0b0c0d0e0f",
444          "tag" : "7d028e83b727da92cc61528ec8cb0204",
445          "result" : "invalid",
446          "flags" : []
447        },
448        {
449          "tcId" : 44,
450          "comment" : "Flipped bit 120 in tag",
451          "key" : "000102030405060708090a0b0c0d0e0f",
452          "iv" : "000102030405060708090a0b",
453          "msg" : "0001020304050607",
454          "tag" : "8df7d8edb99165faad1b038c53b320e9",
455          "result" : "invalid",
456          "flags" : []
457        },
458        {
459          "tcId" : 45,
460          "comment" : "Flipped bit 120 in tag",
461          "key" : "000102030405060708090a0b0c0d0e0f",
462          "iv" : "000102030405060708090a0b",
463          "msg" : "000102030405060708090a0b0c0d0e0f",
464          "tag" : "7d028e83b727da92cc61528e48cb0205",
465          "result" : "invalid",
466          "flags" : []
467        },
468        {
469          "tcId" : 46,
470          "comment" : "Flipped bit 121 in tag",
471          "key" : "000102030405060708090a0b0c0d0e0f",
472          "iv" : "000102030405060708090a0b",
473          "msg" : "0001020304050607",
474          "tag" : "8df7d8edb99165faad1b038c53b320ea",
475          "result" : "invalid",
476          "flags" : []
477        },
478        {
479          "tcId" : 47,
480          "comment" : "Flipped bit 121 in tag",
481          "key" : "000102030405060708090a0b0c0d0e0f",
482          "iv" : "000102030405060708090a0b",
483          "msg" : "000102030405060708090a0b0c0d0e0f",
484          "tag" : "7d028e83b727da92cc61528e48cb0206",
485          "result" : "invalid",
486          "flags" : []
487        },
488        {
489          "tcId" : 48,
490          "comment" : "Flipped bit 126 in tag",
491          "key" : "000102030405060708090a0b0c0d0e0f",
492          "iv" : "000102030405060708090a0b",
493          "msg" : "0001020304050607",
494          "tag" : "8df7d8edb99165faad1b038c53b320a8",
495          "result" : "invalid",
496          "flags" : []
497        },
498        {
499          "tcId" : 49,
500          "comment" : "Flipped bit 126 in tag",
501          "key" : "000102030405060708090a0b0c0d0e0f",
502          "iv" : "000102030405060708090a0b",
503          "msg" : "000102030405060708090a0b0c0d0e0f",
504          "tag" : "7d028e83b727da92cc61528e48cb0244",
505          "result" : "invalid",
506          "flags" : []
507        },
508        {
509          "tcId" : 50,
510          "comment" : "Flipped bit 127 in tag",
511          "key" : "000102030405060708090a0b0c0d0e0f",
512          "iv" : "000102030405060708090a0b",
513          "msg" : "0001020304050607",
514          "tag" : "8df7d8edb99165faad1b038c53b32068",
515          "result" : "invalid",
516          "flags" : []
517        },
518        {
519          "tcId" : 51,
520          "comment" : "Flipped bit 127 in tag",
521          "key" : "000102030405060708090a0b0c0d0e0f",
522          "iv" : "000102030405060708090a0b",
523          "msg" : "000102030405060708090a0b0c0d0e0f",
524          "tag" : "7d028e83b727da92cc61528e48cb0284",
525          "result" : "invalid",
526          "flags" : []
527        },
528        {
529          "tcId" : 52,
530          "comment" : "Flipped bits 0 and 64 in tag",
531          "key" : "000102030405060708090a0b0c0d0e0f",
532          "iv" : "000102030405060708090a0b",
533          "msg" : "0001020304050607",
534          "tag" : "8cf7d8edb99165faac1b038c53b320e8",
535          "result" : "invalid",
536          "flags" : []
537        },
538        {
539          "tcId" : 53,
540          "comment" : "Flipped bits 0 and 64 in tag",
541          "key" : "000102030405060708090a0b0c0d0e0f",
542          "iv" : "000102030405060708090a0b",
543          "msg" : "000102030405060708090a0b0c0d0e0f",
544          "tag" : "7c028e83b727da92cd61528e48cb0204",
545          "result" : "invalid",
546          "flags" : []
547        },
548        {
549          "tcId" : 54,
550          "comment" : "Flipped bits 31 and 63 in tag",
551          "key" : "000102030405060708090a0b0c0d0e0f",
552          "iv" : "000102030405060708090a0b",
553          "msg" : "0001020304050607",
554          "tag" : "8df7d86db991657aad1b038c53b320e8",
555          "result" : "invalid",
556          "flags" : []
557        },
558        {
559          "tcId" : 55,
560          "comment" : "Flipped bits 31 and 63 in tag",
561          "key" : "000102030405060708090a0b0c0d0e0f",
562          "iv" : "000102030405060708090a0b",
563          "msg" : "000102030405060708090a0b0c0d0e0f",
564          "tag" : "7d028e03b727da12cc61528e48cb0204",
565          "result" : "invalid",
566          "flags" : []
567        },
568        {
569          "tcId" : 56,
570          "comment" : "Flipped bits 63 and 127 in tag",
571          "key" : "000102030405060708090a0b0c0d0e0f",
572          "iv" : "000102030405060708090a0b",
573          "msg" : "0001020304050607",
574          "tag" : "8df7d8edb991657aad1b038c53b32068",
575          "result" : "invalid",
576          "flags" : []
577        },
578        {
579          "tcId" : 57,
580          "comment" : "Flipped bits 63 and 127 in tag",
581          "key" : "000102030405060708090a0b0c0d0e0f",
582          "iv" : "000102030405060708090a0b",
583          "msg" : "000102030405060708090a0b0c0d0e0f",
584          "tag" : "7d028e83b727da12cc61528e48cb0284",
585          "result" : "invalid",
586          "flags" : []
587        },
588        {
589          "tcId" : 58,
590          "comment" : "all bits of tag flipped",
591          "key" : "000102030405060708090a0b0c0d0e0f",
592          "iv" : "000102030405060708090a0b",
593          "msg" : "0001020304050607",
594          "tag" : "72082712466e9a0552e4fc73ac4cdf17",
595          "result" : "invalid",
596          "flags" : []
597        },
598        {
599          "tcId" : 59,
600          "comment" : "all bits of tag flipped",
601          "key" : "000102030405060708090a0b0c0d0e0f",
602          "iv" : "000102030405060708090a0b",
603          "msg" : "000102030405060708090a0b0c0d0e0f",
604          "tag" : "82fd717c48d8256d339ead71b734fdfb",
605          "result" : "invalid",
606          "flags" : []
607        },
608        {
609          "tcId" : 60,
610          "comment" : "Tag changed to all zero",
611          "key" : "000102030405060708090a0b0c0d0e0f",
612          "iv" : "000102030405060708090a0b",
613          "msg" : "0001020304050607",
614          "tag" : "00000000000000000000000000000000",
615          "result" : "invalid",
616          "flags" : []
617        },
618        {
619          "tcId" : 61,
620          "comment" : "Tag changed to all zero",
621          "key" : "000102030405060708090a0b0c0d0e0f",
622          "iv" : "000102030405060708090a0b",
623          "msg" : "000102030405060708090a0b0c0d0e0f",
624          "tag" : "00000000000000000000000000000000",
625          "result" : "invalid",
626          "flags" : []
627        },
628        {
629          "tcId" : 62,
630          "comment" : "tag changed to all 1",
631          "key" : "000102030405060708090a0b0c0d0e0f",
632          "iv" : "000102030405060708090a0b",
633          "msg" : "0001020304050607",
634          "tag" : "ffffffffffffffffffffffffffffffff",
635          "result" : "invalid",
636          "flags" : []
637        },
638        {
639          "tcId" : 63,
640          "comment" : "tag changed to all 1",
641          "key" : "000102030405060708090a0b0c0d0e0f",
642          "iv" : "000102030405060708090a0b",
643          "msg" : "000102030405060708090a0b0c0d0e0f",
644          "tag" : "ffffffffffffffffffffffffffffffff",
645          "result" : "invalid",
646          "flags" : []
647        },
648        {
649          "tcId" : 64,
650          "comment" : "msbs changed in tag",
651          "key" : "000102030405060708090a0b0c0d0e0f",
652          "iv" : "000102030405060708090a0b",
653          "msg" : "0001020304050607",
654          "tag" : "0d77586d3911e57a2d9b830cd333a068",
655          "result" : "invalid",
656          "flags" : []
657        },
658        {
659          "tcId" : 65,
660          "comment" : "msbs changed in tag",
661          "key" : "000102030405060708090a0b0c0d0e0f",
662          "iv" : "000102030405060708090a0b",
663          "msg" : "000102030405060708090a0b0c0d0e0f",
664          "tag" : "fd820e0337a75a124ce1d20ec84b8284",
665          "result" : "invalid",
666          "flags" : []
667        },
668        {
669          "tcId" : 66,
670          "comment" : "lsbs changed in tag",
671          "key" : "000102030405060708090a0b0c0d0e0f",
672          "iv" : "000102030405060708090a0b",
673          "msg" : "0001020304050607",
674          "tag" : "8cf6d9ecb89064fbac1a028d52b221e9",
675          "result" : "invalid",
676          "flags" : []
677        },
678        {
679          "tcId" : 67,
680          "comment" : "lsbs changed in tag",
681          "key" : "000102030405060708090a0b0c0d0e0f",
682          "iv" : "000102030405060708090a0b",
683          "msg" : "000102030405060708090a0b0c0d0e0f",
684          "tag" : "7c038f82b626db93cd60538f49ca0305",
685          "result" : "invalid",
686          "flags" : []
687        },
688        {
689          "tcId" : 68,
690          "comment" : "special case",
691          "key" : "826ba49b4aff2adc6b22dd4a84f29941",
692          "iv" : "ce88be4f89c946027d7c542a",
693          "msg" : "32725bc6385949b29875f839e75c0671",
694          "tag" : "00000000000000000000000000000000",
695          "result" : "valid",
696          "flags" : []
697        },
698        {
699          "tcId" : 69,
700          "comment" : "special case",
701          "key" : "826ba49b4aff2adc6b22dd4a84f29941",
702          "iv" : "ce88be4f89c946027d7c542a",
703          "msg" : "4a41612eec3b21564ff62391ebae076c",
704          "tag" : "ffffffffffffffffffffffffffffffff",
705          "result" : "valid",
706          "flags" : []
707        }
708      ]
709    },
710    {
711      "ivSize" : 128,
712      "keySize" : 128,
713      "tagSize" : 128,
714      "type" : "MacWithIvTest",
715      "tests" : [
716        {
717          "tcId" : 70,
718          "comment" : "empty message",
719          "key" : "82008da5b65a6e99a3e978ab5a98e9b0",
720          "iv" : "638c5f29ff292333ab0eb7cd6656de69",
721          "msg" : "",
722          "tag" : "82f2abe9a897ccda3d2cbd395797c83e",
723          "result" : "valid",
724          "flags" : []
725        },
726        {
727          "tcId" : 71,
728          "comment" : "short message",
729          "key" : "7c3f2246f4a326ae60054f417c20e9c1",
730          "iv" : "16a0ff5539e10a86ec5433764da71b59",
731          "msg" : "2d",
732          "tag" : "a079f6048fed16f0041fa04d7d70925e",
733          "result" : "valid",
734          "flags" : []
735        },
736        {
737          "tcId" : 72,
738          "comment" : "short message",
739          "key" : "0f624e318b51a9cc6c30cf4e45a287db",
740          "iv" : "0d4df021633dcebb58f2a389e1911b66",
741          "msg" : "0e45",
742          "tag" : "d07a83bbd544f0b079eec632f80974c9",
743          "result" : "valid",
744          "flags" : []
745        },
746        {
747          "tcId" : 73,
748          "comment" : "short message",
749          "key" : "57436ab10ee828552e63e1bfbf8381dd",
750          "iv" : "0c5d7c05d721f422da93d601e9febef0",
751          "msg" : "958a5655",
752          "tag" : "665b87de5e3eec098f9e6ad74012f236",
753          "result" : "valid",
754          "flags" : []
755        },
756        {
757          "tcId" : 74,
758          "comment" : "short message",
759          "key" : "18d6df4242d100b5712157c772c8e128",
760          "iv" : "eead99cdb204422db1a008fe6dea6a3a",
761          "msg" : "c9c7d46fd79e72",
762          "tag" : "92e3c124abdd0f9c10cebea84fd85e0a",
763          "result" : "valid",
764          "flags" : []
765        },
766        {
767          "tcId" : 75,
768          "comment" : "short message",
769          "key" : "f9819a0d5853fe805645231e433362ce",
770          "iv" : "2307a64b29ef75d464c051061d069bbe",
771          "msg" : "374dd4b466a51bf5",
772          "tag" : "56b062739608c67ae6bd1aa61e83be2b",
773          "result" : "valid",
774          "flags" : []
775        },
776        {
777          "tcId" : 76,
778          "comment" : "short message",
779          "key" : "47ff15a9a9f565df93255774a1296b11",
780          "iv" : "ebffd41f0f5b3bdc647da8036be5e4dd",
781          "msg" : "f35df7b338717e4ec9974548b99f21",
782          "tag" : "4608ea9a7e40a729d26259a9c62bc586",
783          "result" : "valid",
784          "flags" : []
785        },
786        {
787          "tcId" : 77,
788          "comment" : "short message",
789          "key" : "759185e995fb6deec801ba119db87bcc",
790          "iv" : "808624482ad19d2a8b76ac96a3090513",
791          "msg" : "de69d4926fbc7daac41adddf692fe16b",
792          "tag" : "d212c3e257837481e97b31e7a899b126",
793          "result" : "valid",
794          "flags" : []
795        },
796        {
797          "tcId" : 78,
798          "comment" : "short message",
799          "key" : "772274b7240c3ada5468fa3f12bce81d",
800          "iv" : "d07efa93b8888cd7f0d3fe53b3592b62",
801          "msg" : "df69010dc92fc4af5ec19dd165b0d26a97",
802          "tag" : "b685463beddad55668e448b0c13fb32f",
803          "result" : "valid",
804          "flags" : []
805        },
806        {
807          "tcId" : 79,
808          "comment" : "short message",
809          "key" : "f2d0fd91eeca7f55e5f7b5c57f59c577",
810          "iv" : "27bb910632869314979dea4aa6801613",
811          "msg" : "7c51957d974a847877e8b7f7165de46ec050cb5cb03cd56f",
812          "tag" : "a5bf6454748654fbd901ca5c28c009d6",
813          "result" : "valid",
814          "flags" : []
815        },
816        {
817          "tcId" : 80,
818          "comment" : "long message",
819          "key" : "97cac4812b0d1ebc7f26f2a7b811812b",
820          "iv" : "e12b415a791b51db9d35f735ac5078c6",
821          "msg" : "a9d997fa61444393ce45f9aacb2c9dcc5098aedcc4d569cd92a6756b4e539b2837f7ec798c0561f893cff88b160a68d2cde2cb09778960f668a98ec3d21520a356b9128214283fa7b13def37b92ca33360c6af906d9f2d5b94d4007bfae0f95fcbe604e4223601f64baee150faaafd7e9cbcdc67bb9dfd8f7014d491d9ae5f677a",
822          "tag" : "0350772a98aa49df0a66c6d46d4a6034",
823          "result" : "valid",
824          "flags" : []
825        },
826        {
827          "tcId" : 81,
828          "comment" : "long message",
829          "key" : "cbf31ff29c0680993293501c2e1ff34c",
830          "iv" : "850aea39c66d85c59a4a65a067e9d6fc",
831          "msg" : "7bfb1864f92d4a9258f0ac721eb874cff7d73427237cea9f4d0e28398485c4eda7837c6044b15d3d30e1ea7507470edf0b465a4f48a86de459c3bb32553c51543c7cc6bb9a3c28408f565ecf9f16b39ab0c78673eb2dda8c18c2fb965c825ac6116ef3d75f9e7d8dd87e89d39e294e6309e8e0bf3302d203f3e9401e7718444581ff54fda6664891bc3d7ec5a09792f0c5eb7d2ab60c683bb18d19159fe56a40207b8b1c1a0a47c6664c9dc63a75c714b6d34b95759d4c1cb68113faab3f63cd0af100cf66022ce351f8c4f427eea977ca67343c4dd2daf2366230933f16a076ca653aff91257fc94874bb564bfdf39ea4ce061f562bafbf6740e2453defae5f",
832          "tag" : "4012f2c6f31293c1d390535dfebca618",
833          "result" : "valid",
834          "flags" : []
835        },
836        {
837          "tcId" : 82,
838          "comment" : "long message",
839          "key" : "de20c39c12011e61fb40c9d7dc1a26db",
840          "iv" : "ceb49c91d20942788623c856a5f444d4",
841          "msg" : "2e11d78f73c830c1d3d3f787479bc3584891dce8aea37c72cf876f9f37c9255d28d3ad4efbdfc963f2c4ec4dfae4eb568e1a3fac3138cd2efc2866919e4252a5d5cf070ce483d609742b6542a449dce449a1f5184b92042b6577916c1150a8e27056c1a33a65bdb2516902740acdb09f90ceb6713fb992fd8136eef0ebe9b5d7df102eef2b34a44f184a9f8bdc923c0c7d463dbdd323a500dfb5b7de8f43fcea5e7e7326d4ee0d1cea46c9393e7a960f84da95bb1410bce13cbb88280dd7d646f993f17e89c11674242743fe1a7af453de01be2c643606e4651ac0595a6548ba474f25951efbda00953e1222093c863d0fb0087eccc0457d51e620306bafea0ab3fb72827ed57051a8cf6f15e54b2e84b3ec8a33bb",
842          "tag" : "106a8b1d9aed246387595ce9aecf163f",
843          "result" : "valid",
844          "flags" : []
845        },
846        {
847          "tcId" : 83,
848          "comment" : "Flipped bit 0 in tag",
849          "key" : "000102030405060708090a0b0c0d0e0f",
850          "iv" : "000102030405060708090a0b0c0d0e0f",
851          "msg" : "0001020304050607",
852          "tag" : "dfc7f8388a5a8453ff1f84f1599974f7",
853          "result" : "invalid",
854          "flags" : []
855        },
856        {
857          "tcId" : 84,
858          "comment" : "Flipped bit 0 in tag",
859          "key" : "000102030405060708090a0b0c0d0e0f",
860          "iv" : "000102030405060708090a0b0c0d0e0f",
861          "msg" : "000102030405060708090a0b0c0d0e0f",
862          "tag" : "2f32ae5684ec3b3b9e65d5f342e1561b",
863          "result" : "invalid",
864          "flags" : []
865        },
866        {
867          "tcId" : 85,
868          "comment" : "Flipped bit 1 in tag",
869          "key" : "000102030405060708090a0b0c0d0e0f",
870          "iv" : "000102030405060708090a0b0c0d0e0f",
871          "msg" : "0001020304050607",
872          "tag" : "dcc7f8388a5a8453ff1f84f1599974f7",
873          "result" : "invalid",
874          "flags" : []
875        },
876        {
877          "tcId" : 86,
878          "comment" : "Flipped bit 1 in tag",
879          "key" : "000102030405060708090a0b0c0d0e0f",
880          "iv" : "000102030405060708090a0b0c0d0e0f",
881          "msg" : "000102030405060708090a0b0c0d0e0f",
882          "tag" : "2c32ae5684ec3b3b9e65d5f342e1561b",
883          "result" : "invalid",
884          "flags" : []
885        },
886        {
887          "tcId" : 87,
888          "comment" : "Flipped bit 7 in tag",
889          "key" : "000102030405060708090a0b0c0d0e0f",
890          "iv" : "000102030405060708090a0b0c0d0e0f",
891          "msg" : "0001020304050607",
892          "tag" : "5ec7f8388a5a8453ff1f84f1599974f7",
893          "result" : "invalid",
894          "flags" : []
895        },
896        {
897          "tcId" : 88,
898          "comment" : "Flipped bit 7 in tag",
899          "key" : "000102030405060708090a0b0c0d0e0f",
900          "iv" : "000102030405060708090a0b0c0d0e0f",
901          "msg" : "000102030405060708090a0b0c0d0e0f",
902          "tag" : "ae32ae5684ec3b3b9e65d5f342e1561b",
903          "result" : "invalid",
904          "flags" : []
905        },
906        {
907          "tcId" : 89,
908          "comment" : "Flipped bit 8 in tag",
909          "key" : "000102030405060708090a0b0c0d0e0f",
910          "iv" : "000102030405060708090a0b0c0d0e0f",
911          "msg" : "0001020304050607",
912          "tag" : "dec6f8388a5a8453ff1f84f1599974f7",
913          "result" : "invalid",
914          "flags" : []
915        },
916        {
917          "tcId" : 90,
918          "comment" : "Flipped bit 8 in tag",
919          "key" : "000102030405060708090a0b0c0d0e0f",
920          "iv" : "000102030405060708090a0b0c0d0e0f",
921          "msg" : "000102030405060708090a0b0c0d0e0f",
922          "tag" : "2e33ae5684ec3b3b9e65d5f342e1561b",
923          "result" : "invalid",
924          "flags" : []
925        },
926        {
927          "tcId" : 91,
928          "comment" : "Flipped bit 31 in tag",
929          "key" : "000102030405060708090a0b0c0d0e0f",
930          "iv" : "000102030405060708090a0b0c0d0e0f",
931          "msg" : "0001020304050607",
932          "tag" : "dec7f8b88a5a8453ff1f84f1599974f7",
933          "result" : "invalid",
934          "flags" : []
935        },
936        {
937          "tcId" : 92,
938          "comment" : "Flipped bit 31 in tag",
939          "key" : "000102030405060708090a0b0c0d0e0f",
940          "iv" : "000102030405060708090a0b0c0d0e0f",
941          "msg" : "000102030405060708090a0b0c0d0e0f",
942          "tag" : "2e32aed684ec3b3b9e65d5f342e1561b",
943          "result" : "invalid",
944          "flags" : []
945        },
946        {
947          "tcId" : 93,
948          "comment" : "Flipped bit 32 in tag",
949          "key" : "000102030405060708090a0b0c0d0e0f",
950          "iv" : "000102030405060708090a0b0c0d0e0f",
951          "msg" : "0001020304050607",
952          "tag" : "dec7f8388b5a8453ff1f84f1599974f7",
953          "result" : "invalid",
954          "flags" : []
955        },
956        {
957          "tcId" : 94,
958          "comment" : "Flipped bit 32 in tag",
959          "key" : "000102030405060708090a0b0c0d0e0f",
960          "iv" : "000102030405060708090a0b0c0d0e0f",
961          "msg" : "000102030405060708090a0b0c0d0e0f",
962          "tag" : "2e32ae5685ec3b3b9e65d5f342e1561b",
963          "result" : "invalid",
964          "flags" : []
965        },
966        {
967          "tcId" : 95,
968          "comment" : "Flipped bit 33 in tag",
969          "key" : "000102030405060708090a0b0c0d0e0f",
970          "iv" : "000102030405060708090a0b0c0d0e0f",
971          "msg" : "0001020304050607",
972          "tag" : "dec7f838885a8453ff1f84f1599974f7",
973          "result" : "invalid",
974          "flags" : []
975        },
976        {
977          "tcId" : 96,
978          "comment" : "Flipped bit 33 in tag",
979          "key" : "000102030405060708090a0b0c0d0e0f",
980          "iv" : "000102030405060708090a0b0c0d0e0f",
981          "msg" : "000102030405060708090a0b0c0d0e0f",
982          "tag" : "2e32ae5686ec3b3b9e65d5f342e1561b",
983          "result" : "invalid",
984          "flags" : []
985        },
986        {
987          "tcId" : 97,
988          "comment" : "Flipped bit 63 in tag",
989          "key" : "000102030405060708090a0b0c0d0e0f",
990          "iv" : "000102030405060708090a0b0c0d0e0f",
991          "msg" : "0001020304050607",
992          "tag" : "dec7f8388a5a84d3ff1f84f1599974f7",
993          "result" : "invalid",
994          "flags" : []
995        },
996        {
997          "tcId" : 98,
998          "comment" : "Flipped bit 63 in tag",
999          "key" : "000102030405060708090a0b0c0d0e0f",
1000          "iv" : "000102030405060708090a0b0c0d0e0f",
1001          "msg" : "000102030405060708090a0b0c0d0e0f",
1002          "tag" : "2e32ae5684ec3bbb9e65d5f342e1561b",
1003          "result" : "invalid",
1004          "flags" : []
1005        },
1006        {
1007          "tcId" : 99,
1008          "comment" : "Flipped bit 64 in tag",
1009          "key" : "000102030405060708090a0b0c0d0e0f",
1010          "iv" : "000102030405060708090a0b0c0d0e0f",
1011          "msg" : "0001020304050607",
1012          "tag" : "dec7f8388a5a8453fe1f84f1599974f7",
1013          "result" : "invalid",
1014          "flags" : []
1015        },
1016        {
1017          "tcId" : 100,
1018          "comment" : "Flipped bit 64 in tag",
1019          "key" : "000102030405060708090a0b0c0d0e0f",
1020          "iv" : "000102030405060708090a0b0c0d0e0f",
1021          "msg" : "000102030405060708090a0b0c0d0e0f",
1022          "tag" : "2e32ae5684ec3b3b9f65d5f342e1561b",
1023          "result" : "invalid",
1024          "flags" : []
1025        },
1026        {
1027          "tcId" : 101,
1028          "comment" : "Flipped bit 71 in tag",
1029          "key" : "000102030405060708090a0b0c0d0e0f",
1030          "iv" : "000102030405060708090a0b0c0d0e0f",
1031          "msg" : "0001020304050607",
1032          "tag" : "dec7f8388a5a84537f1f84f1599974f7",
1033          "result" : "invalid",
1034          "flags" : []
1035        },
1036        {
1037          "tcId" : 102,
1038          "comment" : "Flipped bit 71 in tag",
1039          "key" : "000102030405060708090a0b0c0d0e0f",
1040          "iv" : "000102030405060708090a0b0c0d0e0f",
1041          "msg" : "000102030405060708090a0b0c0d0e0f",
1042          "tag" : "2e32ae5684ec3b3b1e65d5f342e1561b",
1043          "result" : "invalid",
1044          "flags" : []
1045        },
1046        {
1047          "tcId" : 103,
1048          "comment" : "Flipped bit 77 in tag",
1049          "key" : "000102030405060708090a0b0c0d0e0f",
1050          "iv" : "000102030405060708090a0b0c0d0e0f",
1051          "msg" : "0001020304050607",
1052          "tag" : "dec7f8388a5a8453ff3f84f1599974f7",
1053          "result" : "invalid",
1054          "flags" : []
1055        },
1056        {
1057          "tcId" : 104,
1058          "comment" : "Flipped bit 77 in tag",
1059          "key" : "000102030405060708090a0b0c0d0e0f",
1060          "iv" : "000102030405060708090a0b0c0d0e0f",
1061          "msg" : "000102030405060708090a0b0c0d0e0f",
1062          "tag" : "2e32ae5684ec3b3b9e45d5f342e1561b",
1063          "result" : "invalid",
1064          "flags" : []
1065        },
1066        {
1067          "tcId" : 105,
1068          "comment" : "Flipped bit 80 in tag",
1069          "key" : "000102030405060708090a0b0c0d0e0f",
1070          "iv" : "000102030405060708090a0b0c0d0e0f",
1071          "msg" : "0001020304050607",
1072          "tag" : "dec7f8388a5a8453ff1f85f1599974f7",
1073          "result" : "invalid",
1074          "flags" : []
1075        },
1076        {
1077          "tcId" : 106,
1078          "comment" : "Flipped bit 80 in tag",
1079          "key" : "000102030405060708090a0b0c0d0e0f",
1080          "iv" : "000102030405060708090a0b0c0d0e0f",
1081          "msg" : "000102030405060708090a0b0c0d0e0f",
1082          "tag" : "2e32ae5684ec3b3b9e65d4f342e1561b",
1083          "result" : "invalid",
1084          "flags" : []
1085        },
1086        {
1087          "tcId" : 107,
1088          "comment" : "Flipped bit 96 in tag",
1089          "key" : "000102030405060708090a0b0c0d0e0f",
1090          "iv" : "000102030405060708090a0b0c0d0e0f",
1091          "msg" : "0001020304050607",
1092          "tag" : "dec7f8388a5a8453ff1f84f1589974f7",
1093          "result" : "invalid",
1094          "flags" : []
1095        },
1096        {
1097          "tcId" : 108,
1098          "comment" : "Flipped bit 96 in tag",
1099          "key" : "000102030405060708090a0b0c0d0e0f",
1100          "iv" : "000102030405060708090a0b0c0d0e0f",
1101          "msg" : "000102030405060708090a0b0c0d0e0f",
1102          "tag" : "2e32ae5684ec3b3b9e65d5f343e1561b",
1103          "result" : "invalid",
1104          "flags" : []
1105        },
1106        {
1107          "tcId" : 109,
1108          "comment" : "Flipped bit 97 in tag",
1109          "key" : "000102030405060708090a0b0c0d0e0f",
1110          "iv" : "000102030405060708090a0b0c0d0e0f",
1111          "msg" : "0001020304050607",
1112          "tag" : "dec7f8388a5a8453ff1f84f15b9974f7",
1113          "result" : "invalid",
1114          "flags" : []
1115        },
1116        {
1117          "tcId" : 110,
1118          "comment" : "Flipped bit 97 in tag",
1119          "key" : "000102030405060708090a0b0c0d0e0f",
1120          "iv" : "000102030405060708090a0b0c0d0e0f",
1121          "msg" : "000102030405060708090a0b0c0d0e0f",
1122          "tag" : "2e32ae5684ec3b3b9e65d5f340e1561b",
1123          "result" : "invalid",
1124          "flags" : []
1125        },
1126        {
1127          "tcId" : 111,
1128          "comment" : "Flipped bit 103 in tag",
1129          "key" : "000102030405060708090a0b0c0d0e0f",
1130          "iv" : "000102030405060708090a0b0c0d0e0f",
1131          "msg" : "0001020304050607",
1132          "tag" : "dec7f8388a5a8453ff1f84f1d99974f7",
1133          "result" : "invalid",
1134          "flags" : []
1135        },
1136        {
1137          "tcId" : 112,
1138          "comment" : "Flipped bit 103 in tag",
1139          "key" : "000102030405060708090a0b0c0d0e0f",
1140          "iv" : "000102030405060708090a0b0c0d0e0f",
1141          "msg" : "000102030405060708090a0b0c0d0e0f",
1142          "tag" : "2e32ae5684ec3b3b9e65d5f3c2e1561b",
1143          "result" : "invalid",
1144          "flags" : []
1145        },
1146        {
1147          "tcId" : 113,
1148          "comment" : "Flipped bit 120 in tag",
1149          "key" : "000102030405060708090a0b0c0d0e0f",
1150          "iv" : "000102030405060708090a0b0c0d0e0f",
1151          "msg" : "0001020304050607",
1152          "tag" : "dec7f8388a5a8453ff1f84f1599974f6",
1153          "result" : "invalid",
1154          "flags" : []
1155        },
1156        {
1157          "tcId" : 114,
1158          "comment" : "Flipped bit 120 in tag",
1159          "key" : "000102030405060708090a0b0c0d0e0f",
1160          "iv" : "000102030405060708090a0b0c0d0e0f",
1161          "msg" : "000102030405060708090a0b0c0d0e0f",
1162          "tag" : "2e32ae5684ec3b3b9e65d5f342e1561a",
1163          "result" : "invalid",
1164          "flags" : []
1165        },
1166        {
1167          "tcId" : 115,
1168          "comment" : "Flipped bit 121 in tag",
1169          "key" : "000102030405060708090a0b0c0d0e0f",
1170          "iv" : "000102030405060708090a0b0c0d0e0f",
1171          "msg" : "0001020304050607",
1172          "tag" : "dec7f8388a5a8453ff1f84f1599974f5",
1173          "result" : "invalid",
1174          "flags" : []
1175        },
1176        {
1177          "tcId" : 116,
1178          "comment" : "Flipped bit 121 in tag",
1179          "key" : "000102030405060708090a0b0c0d0e0f",
1180          "iv" : "000102030405060708090a0b0c0d0e0f",
1181          "msg" : "000102030405060708090a0b0c0d0e0f",
1182          "tag" : "2e32ae5684ec3b3b9e65d5f342e15619",
1183          "result" : "invalid",
1184          "flags" : []
1185        },
1186        {
1187          "tcId" : 117,
1188          "comment" : "Flipped bit 126 in tag",
1189          "key" : "000102030405060708090a0b0c0d0e0f",
1190          "iv" : "000102030405060708090a0b0c0d0e0f",
1191          "msg" : "0001020304050607",
1192          "tag" : "dec7f8388a5a8453ff1f84f1599974b7",
1193          "result" : "invalid",
1194          "flags" : []
1195        },
1196        {
1197          "tcId" : 118,
1198          "comment" : "Flipped bit 126 in tag",
1199          "key" : "000102030405060708090a0b0c0d0e0f",
1200          "iv" : "000102030405060708090a0b0c0d0e0f",
1201          "msg" : "000102030405060708090a0b0c0d0e0f",
1202          "tag" : "2e32ae5684ec3b3b9e65d5f342e1565b",
1203          "result" : "invalid",
1204          "flags" : []
1205        },
1206        {
1207          "tcId" : 119,
1208          "comment" : "Flipped bit 127 in tag",
1209          "key" : "000102030405060708090a0b0c0d0e0f",
1210          "iv" : "000102030405060708090a0b0c0d0e0f",
1211          "msg" : "0001020304050607",
1212          "tag" : "dec7f8388a5a8453ff1f84f159997477",
1213          "result" : "invalid",
1214          "flags" : []
1215        },
1216        {
1217          "tcId" : 120,
1218          "comment" : "Flipped bit 127 in tag",
1219          "key" : "000102030405060708090a0b0c0d0e0f",
1220          "iv" : "000102030405060708090a0b0c0d0e0f",
1221          "msg" : "000102030405060708090a0b0c0d0e0f",
1222          "tag" : "2e32ae5684ec3b3b9e65d5f342e1569b",
1223          "result" : "invalid",
1224          "flags" : []
1225        },
1226        {
1227          "tcId" : 121,
1228          "comment" : "Flipped bits 0 and 64 in tag",
1229          "key" : "000102030405060708090a0b0c0d0e0f",
1230          "iv" : "000102030405060708090a0b0c0d0e0f",
1231          "msg" : "0001020304050607",
1232          "tag" : "dfc7f8388a5a8453fe1f84f1599974f7",
1233          "result" : "invalid",
1234          "flags" : []
1235        },
1236        {
1237          "tcId" : 122,
1238          "comment" : "Flipped bits 0 and 64 in tag",
1239          "key" : "000102030405060708090a0b0c0d0e0f",
1240          "iv" : "000102030405060708090a0b0c0d0e0f",
1241          "msg" : "000102030405060708090a0b0c0d0e0f",
1242          "tag" : "2f32ae5684ec3b3b9f65d5f342e1561b",
1243          "result" : "invalid",
1244          "flags" : []
1245        },
1246        {
1247          "tcId" : 123,
1248          "comment" : "Flipped bits 31 and 63 in tag",
1249          "key" : "000102030405060708090a0b0c0d0e0f",
1250          "iv" : "000102030405060708090a0b0c0d0e0f",
1251          "msg" : "0001020304050607",
1252          "tag" : "dec7f8b88a5a84d3ff1f84f1599974f7",
1253          "result" : "invalid",
1254          "flags" : []
1255        },
1256        {
1257          "tcId" : 124,
1258          "comment" : "Flipped bits 31 and 63 in tag",
1259          "key" : "000102030405060708090a0b0c0d0e0f",
1260          "iv" : "000102030405060708090a0b0c0d0e0f",
1261          "msg" : "000102030405060708090a0b0c0d0e0f",
1262          "tag" : "2e32aed684ec3bbb9e65d5f342e1561b",
1263          "result" : "invalid",
1264          "flags" : []
1265        },
1266        {
1267          "tcId" : 125,
1268          "comment" : "Flipped bits 63 and 127 in tag",
1269          "key" : "000102030405060708090a0b0c0d0e0f",
1270          "iv" : "000102030405060708090a0b0c0d0e0f",
1271          "msg" : "0001020304050607",
1272          "tag" : "dec7f8388a5a84d3ff1f84f159997477",
1273          "result" : "invalid",
1274          "flags" : []
1275        },
1276        {
1277          "tcId" : 126,
1278          "comment" : "Flipped bits 63 and 127 in tag",
1279          "key" : "000102030405060708090a0b0c0d0e0f",
1280          "iv" : "000102030405060708090a0b0c0d0e0f",
1281          "msg" : "000102030405060708090a0b0c0d0e0f",
1282          "tag" : "2e32ae5684ec3bbb9e65d5f342e1569b",
1283          "result" : "invalid",
1284          "flags" : []
1285        },
1286        {
1287          "tcId" : 127,
1288          "comment" : "all bits of tag flipped",
1289          "key" : "000102030405060708090a0b0c0d0e0f",
1290          "iv" : "000102030405060708090a0b0c0d0e0f",
1291          "msg" : "0001020304050607",
1292          "tag" : "213807c775a57bac00e07b0ea6668b08",
1293          "result" : "invalid",
1294          "flags" : []
1295        },
1296        {
1297          "tcId" : 128,
1298          "comment" : "all bits of tag flipped",
1299          "key" : "000102030405060708090a0b0c0d0e0f",
1300          "iv" : "000102030405060708090a0b0c0d0e0f",
1301          "msg" : "000102030405060708090a0b0c0d0e0f",
1302          "tag" : "d1cd51a97b13c4c4619a2a0cbd1ea9e4",
1303          "result" : "invalid",
1304          "flags" : []
1305        },
1306        {
1307          "tcId" : 129,
1308          "comment" : "Tag changed to all zero",
1309          "key" : "000102030405060708090a0b0c0d0e0f",
1310          "iv" : "000102030405060708090a0b0c0d0e0f",
1311          "msg" : "0001020304050607",
1312          "tag" : "00000000000000000000000000000000",
1313          "result" : "invalid",
1314          "flags" : []
1315        },
1316        {
1317          "tcId" : 130,
1318          "comment" : "Tag changed to all zero",
1319          "key" : "000102030405060708090a0b0c0d0e0f",
1320          "iv" : "000102030405060708090a0b0c0d0e0f",
1321          "msg" : "000102030405060708090a0b0c0d0e0f",
1322          "tag" : "00000000000000000000000000000000",
1323          "result" : "invalid",
1324          "flags" : []
1325        },
1326        {
1327          "tcId" : 131,
1328          "comment" : "tag changed to all 1",
1329          "key" : "000102030405060708090a0b0c0d0e0f",
1330          "iv" : "000102030405060708090a0b0c0d0e0f",
1331          "msg" : "0001020304050607",
1332          "tag" : "ffffffffffffffffffffffffffffffff",
1333          "result" : "invalid",
1334          "flags" : []
1335        },
1336        {
1337          "tcId" : 132,
1338          "comment" : "tag changed to all 1",
1339          "key" : "000102030405060708090a0b0c0d0e0f",
1340          "iv" : "000102030405060708090a0b0c0d0e0f",
1341          "msg" : "000102030405060708090a0b0c0d0e0f",
1342          "tag" : "ffffffffffffffffffffffffffffffff",
1343          "result" : "invalid",
1344          "flags" : []
1345        },
1346        {
1347          "tcId" : 133,
1348          "comment" : "msbs changed in tag",
1349          "key" : "000102030405060708090a0b0c0d0e0f",
1350          "iv" : "000102030405060708090a0b0c0d0e0f",
1351          "msg" : "0001020304050607",
1352          "tag" : "5e4778b80ada04d37f9f0471d919f477",
1353          "result" : "invalid",
1354          "flags" : []
1355        },
1356        {
1357          "tcId" : 134,
1358          "comment" : "msbs changed in tag",
1359          "key" : "000102030405060708090a0b0c0d0e0f",
1360          "iv" : "000102030405060708090a0b0c0d0e0f",
1361          "msg" : "000102030405060708090a0b0c0d0e0f",
1362          "tag" : "aeb22ed6046cbbbb1ee55573c261d69b",
1363          "result" : "invalid",
1364          "flags" : []
1365        },
1366        {
1367          "tcId" : 135,
1368          "comment" : "lsbs changed in tag",
1369          "key" : "000102030405060708090a0b0c0d0e0f",
1370          "iv" : "000102030405060708090a0b0c0d0e0f",
1371          "msg" : "0001020304050607",
1372          "tag" : "dfc6f9398b5b8552fe1e85f0589875f6",
1373          "result" : "invalid",
1374          "flags" : []
1375        },
1376        {
1377          "tcId" : 136,
1378          "comment" : "lsbs changed in tag",
1379          "key" : "000102030405060708090a0b0c0d0e0f",
1380          "iv" : "000102030405060708090a0b0c0d0e0f",
1381          "msg" : "000102030405060708090a0b0c0d0e0f",
1382          "tag" : "2f33af5785ed3a3a9f64d4f243e0571a",
1383          "result" : "invalid",
1384          "flags" : []
1385        },
1386        {
1387          "tcId" : 137,
1388          "comment" : "special case",
1389          "key" : "b09132f1b75eef729e4f6166c26490db",
1390          "iv" : "2ada153c423a82f845db0caaa94b966d",
1391          "msg" : "2008b11d8a756afc3d6340141df6775b",
1392          "tag" : "00000000000000000000000000000000",
1393          "result" : "valid",
1394          "flags" : []
1395        },
1396        {
1397          "tcId" : 138,
1398          "comment" : "special case",
1399          "key" : "b09132f1b75eef729e4f6166c26490db",
1400          "iv" : "2ada153c423a82f845db0caaa94b966d",
1401          "msg" : "17c01662312d93bce15b1ecba9682b2d",
1402          "tag" : "ffffffffffffffffffffffffffffffff",
1403          "result" : "valid",
1404          "flags" : []
1405        }
1406      ]
1407    },
1408    {
1409      "ivSize" : 96,
1410      "keySize" : 192,
1411      "tagSize" : 128,
1412      "type" : "MacWithIvTest",
1413      "tests" : [
1414        {
1415          "tcId" : 139,
1416          "comment" : "empty message",
1417          "key" : "ded6ff2255658732f0fef08407136893f12edfebdf86a214",
1418          "iv" : "0536e9ff304594f2adfe5e02",
1419          "msg" : "",
1420          "tag" : "59a1460f6283168b32c7f527b7a76f12",
1421          "result" : "valid",
1422          "flags" : []
1423        },
1424        {
1425          "tcId" : 140,
1426          "comment" : "short message",
1427          "key" : "6ada91c9742dc01e953ef120b22a2649c0be9304386515a2",
1428          "iv" : "e19faa23f871fc6658f5b596",
1429          "msg" : "0d",
1430          "tag" : "b1d2a3db724ff1ef11aa76954e39498e",
1431          "result" : "valid",
1432          "flags" : []
1433        },
1434        {
1435          "tcId" : 141,
1436          "comment" : "short message",
1437          "key" : "9bee48dc40a8b522bd7abde7999adedd70bab2eff800a050",
1438          "iv" : "6faae4201f79c9d532f63d85",
1439          "msg" : "94c8",
1440          "tag" : "36b021f19c124c46500e407fc8e0cd5e",
1441          "result" : "valid",
1442          "flags" : []
1443        },
1444        {
1445          "tcId" : 142,
1446          "comment" : "short message",
1447          "key" : "f79e590f07388124c800dd4adadac2546c626796c46c3d2d",
1448          "iv" : "c23600658207bf2dc308087c",
1449          "msg" : "ea09348f",
1450          "tag" : "5fa2252f2bbe3508c8a919c268b9514a",
1451          "result" : "valid",
1452          "flags" : []
1453        },
1454        {
1455          "tcId" : 143,
1456          "comment" : "short message",
1457          "key" : "356ae80d9ff51f72920a0bcc807837cd797768adba48751c",
1458          "iv" : "ae0a4c452d43a2c841d6e0fd",
1459          "msg" : "a8ab4d4d07c71e",
1460          "tag" : "0431ff7784b4556ec63124cea03eb039",
1461          "result" : "valid",
1462          "flags" : []
1463        },
1464        {
1465          "tcId" : 144,
1466          "comment" : "short message",
1467          "key" : "268b5cb78437e87af75f27abc753909bdaa2341f8891d77e",
1468          "iv" : "ee1a14e550242a653fd4509f",
1469          "msg" : "c42ab535a876942b",
1470          "tag" : "93b3ff81654ee95791c86682db37894a",
1471          "result" : "valid",
1472          "flags" : []
1473        },
1474        {
1475          "tcId" : 145,
1476          "comment" : "short message",
1477          "key" : "9c426c09c0a0c519a554841eb769886aa3d82725e01b2505",
1478          "iv" : "8f6441ffb977de176c4f5336",
1479          "msg" : "e65680b9aeeb43bb4144900800f3bd",
1480          "tag" : "0f392a50fe0f183ad9411a6165d54bda",
1481          "result" : "valid",
1482          "flags" : []
1483        },
1484        {
1485          "tcId" : 146,
1486          "comment" : "short message",
1487          "key" : "6031b3a177b43045ae587ffb0d228b0414ff26b7206c30f5",
1488          "iv" : "8af8ef74bd2521f6e711950b",
1489          "msg" : "dc89f1dd15f3258b7e921173650eb9ba",
1490          "tag" : "68a1249d6487f46c107bdb8417271e26",
1491          "result" : "valid",
1492          "flags" : []
1493        },
1494        {
1495          "tcId" : 147,
1496          "comment" : "short message",
1497          "key" : "364289eccff53efb98da8ee437d6d389775a3cf2b4c970cd",
1498          "iv" : "7245a515656a2236c38c85aa",
1499          "msg" : "6647b5da47d16983205ce244880ca60519",
1500          "tag" : "73b98c9398c70a833e3dbef4556d8fa7",
1501          "result" : "valid",
1502          "flags" : []
1503        },
1504        {
1505          "tcId" : 148,
1506          "comment" : "short message",
1507          "key" : "4c41b2fe3e60bce3a945e2facd9754c4f60b192da1fe110e",
1508          "iv" : "4ab51fc459e4f4a5b44dcfa3",
1509          "msg" : "11c107e4b302fd91ea9219d7fc0079e8ac4bdcfc71ff027a",
1510          "tag" : "facd4d12dfafd6bd1f421a5c4c6217ac",
1511          "result" : "valid",
1512          "flags" : []
1513        },
1514        {
1515          "tcId" : 149,
1516          "comment" : "long message",
1517          "key" : "2261962365e2eb22e12002e053950b142953a6ce602d1959",
1518          "iv" : "35cbde01e07a10da05ba2a34",
1519          "msg" : "442160c28d0c0832873219df81f19323342bd51b566845aa3bff39d302db3f0985c916f7c77c6d6387d93cbcdc40bd6e458d67ea5e793ac6da122d323149f1b84b8cd994b6d8bf015dfacf475fc9c509ec20adae683e57c2b9968a64cf56de90cbac6b85b9679296a3097dfc76fbfd67cbc337697f9315c23fe0a4c0d44d79c473",
1520          "tag" : "54b10f53a304fd1bee6f9fb246ca40ef",
1521          "result" : "valid",
1522          "flags" : []
1523        },
1524        {
1525          "tcId" : 150,
1526          "comment" : "long message",
1527          "key" : "5a946c7e78ad427e00bc52917fd27f009c987a871b22f6f8",
1528          "iv" : "bf96939600660e8625420362",
1529          "msg" : "8ad8eaf0ecc7293f9a5042c9c7b7c040a239a8d8c6eed4cf1c2c5c97b56862671110ddc027af7b9c6f8749663ebce734a442d66d1ec2133fc1e923d9f6b5d09b069ade8661051005e54f24e2045a40d65ad4a12ed0579dd192af76118ba395335fb4a94664812be3e5de91f4a4a6196eae48c639a8d2baf54bc9e47bf144862f0377d51b87ab3ef649bec7e78ef278f62aeae1b5df61d21bec304ab1793b2b958dc9d9c5aae38d3543bf6d29eff25faecb7cf8ca1e758470b4b30b4fc0bae256ff8301f63130c02874e67ce7258706ea3a45f2ac11664acb43ed90ffc8f7bd736b5027565c1eb98e54d9f00b34c8f389626f83da9ffb9fd0fd4845ab58415637",
1530          "tag" : "5a79d3228c67305dfcf15d68ae032860",
1531          "result" : "valid",
1532          "flags" : []
1533        },
1534        {
1535          "tcId" : 151,
1536          "comment" : "long message",
1537          "key" : "57c07c71e61361a2e75af18482d9bde583ff2b09b5c1da77",
1538          "iv" : "7cc97a3e4f6571aedd69ee95",
1539          "msg" : "946cccb8ff9b67b3565066125a59529857ac62c3e393d48de1741efe351ca19485fa4e45b4cf0831bf30ccef3d389c0bb1cd16257ac647a77b965ad90362cf27bda5e42f16005c697e9e465cc1287388abd45ed724c6f01a8701d86eb22439d0b4e609f7f81037ed59a136e20e8bb870fe577444f6dea2153b4e2c0c0c300c1404e831510b930b681982b9cdd513b3947fcf9e079dacd20fa78a08199c77727556d72480932f15e2012ff03e593b987c89a1dd1ab5ae0bd23de0d9fc3c1c37e0fd6c46c0ecb1495dc3e62dc67bd7c5150dbf5fcbc6f6feccd5d47b8d6b593a143df54391ed1fcc8eafe54567efc63087494eadaadb0b6198194e1f5a5d9bcf1de608a53f422bae1a40c9a66dfb47c26efa85b846a2",
1540          "tag" : "8f1364d1d9e5826a79254ca602bb1e4c",
1541          "result" : "valid",
1542          "flags" : []
1543        },
1544        {
1545          "tcId" : 152,
1546          "comment" : "Flipped bit 0 in tag",
1547          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1548          "iv" : "000102030405060708090a0b",
1549          "msg" : "0001020304050607",
1550          "tag" : "35ed911800fdfa0f1114bcd4e34bab77",
1551          "result" : "invalid",
1552          "flags" : []
1553        },
1554        {
1555          "tcId" : 153,
1556          "comment" : "Flipped bit 0 in tag",
1557          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1558          "iv" : "000102030405060708090a0b",
1559          "msg" : "000102030405060708090a0b0c0d0e0f",
1560          "tag" : "8d771dc5563b63be2bdc5a8fcfc9387f",
1561          "result" : "invalid",
1562          "flags" : []
1563        },
1564        {
1565          "tcId" : 154,
1566          "comment" : "Flipped bit 1 in tag",
1567          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1568          "iv" : "000102030405060708090a0b",
1569          "msg" : "0001020304050607",
1570          "tag" : "36ed911800fdfa0f1114bcd4e34bab77",
1571          "result" : "invalid",
1572          "flags" : []
1573        },
1574        {
1575          "tcId" : 155,
1576          "comment" : "Flipped bit 1 in tag",
1577          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1578          "iv" : "000102030405060708090a0b",
1579          "msg" : "000102030405060708090a0b0c0d0e0f",
1580          "tag" : "8e771dc5563b63be2bdc5a8fcfc9387f",
1581          "result" : "invalid",
1582          "flags" : []
1583        },
1584        {
1585          "tcId" : 156,
1586          "comment" : "Flipped bit 7 in tag",
1587          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1588          "iv" : "000102030405060708090a0b",
1589          "msg" : "0001020304050607",
1590          "tag" : "b4ed911800fdfa0f1114bcd4e34bab77",
1591          "result" : "invalid",
1592          "flags" : []
1593        },
1594        {
1595          "tcId" : 157,
1596          "comment" : "Flipped bit 7 in tag",
1597          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1598          "iv" : "000102030405060708090a0b",
1599          "msg" : "000102030405060708090a0b0c0d0e0f",
1600          "tag" : "0c771dc5563b63be2bdc5a8fcfc9387f",
1601          "result" : "invalid",
1602          "flags" : []
1603        },
1604        {
1605          "tcId" : 158,
1606          "comment" : "Flipped bit 8 in tag",
1607          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1608          "iv" : "000102030405060708090a0b",
1609          "msg" : "0001020304050607",
1610          "tag" : "34ec911800fdfa0f1114bcd4e34bab77",
1611          "result" : "invalid",
1612          "flags" : []
1613        },
1614        {
1615          "tcId" : 159,
1616          "comment" : "Flipped bit 8 in tag",
1617          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1618          "iv" : "000102030405060708090a0b",
1619          "msg" : "000102030405060708090a0b0c0d0e0f",
1620          "tag" : "8c761dc5563b63be2bdc5a8fcfc9387f",
1621          "result" : "invalid",
1622          "flags" : []
1623        },
1624        {
1625          "tcId" : 160,
1626          "comment" : "Flipped bit 31 in tag",
1627          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1628          "iv" : "000102030405060708090a0b",
1629          "msg" : "0001020304050607",
1630          "tag" : "34ed919800fdfa0f1114bcd4e34bab77",
1631          "result" : "invalid",
1632          "flags" : []
1633        },
1634        {
1635          "tcId" : 161,
1636          "comment" : "Flipped bit 31 in tag",
1637          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1638          "iv" : "000102030405060708090a0b",
1639          "msg" : "000102030405060708090a0b0c0d0e0f",
1640          "tag" : "8c771d45563b63be2bdc5a8fcfc9387f",
1641          "result" : "invalid",
1642          "flags" : []
1643        },
1644        {
1645          "tcId" : 162,
1646          "comment" : "Flipped bit 32 in tag",
1647          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1648          "iv" : "000102030405060708090a0b",
1649          "msg" : "0001020304050607",
1650          "tag" : "34ed911801fdfa0f1114bcd4e34bab77",
1651          "result" : "invalid",
1652          "flags" : []
1653        },
1654        {
1655          "tcId" : 163,
1656          "comment" : "Flipped bit 32 in tag",
1657          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1658          "iv" : "000102030405060708090a0b",
1659          "msg" : "000102030405060708090a0b0c0d0e0f",
1660          "tag" : "8c771dc5573b63be2bdc5a8fcfc9387f",
1661          "result" : "invalid",
1662          "flags" : []
1663        },
1664        {
1665          "tcId" : 164,
1666          "comment" : "Flipped bit 33 in tag",
1667          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1668          "iv" : "000102030405060708090a0b",
1669          "msg" : "0001020304050607",
1670          "tag" : "34ed911802fdfa0f1114bcd4e34bab77",
1671          "result" : "invalid",
1672          "flags" : []
1673        },
1674        {
1675          "tcId" : 165,
1676          "comment" : "Flipped bit 33 in tag",
1677          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1678          "iv" : "000102030405060708090a0b",
1679          "msg" : "000102030405060708090a0b0c0d0e0f",
1680          "tag" : "8c771dc5543b63be2bdc5a8fcfc9387f",
1681          "result" : "invalid",
1682          "flags" : []
1683        },
1684        {
1685          "tcId" : 166,
1686          "comment" : "Flipped bit 63 in tag",
1687          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1688          "iv" : "000102030405060708090a0b",
1689          "msg" : "0001020304050607",
1690          "tag" : "34ed911800fdfa8f1114bcd4e34bab77",
1691          "result" : "invalid",
1692          "flags" : []
1693        },
1694        {
1695          "tcId" : 167,
1696          "comment" : "Flipped bit 63 in tag",
1697          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1698          "iv" : "000102030405060708090a0b",
1699          "msg" : "000102030405060708090a0b0c0d0e0f",
1700          "tag" : "8c771dc5563b633e2bdc5a8fcfc9387f",
1701          "result" : "invalid",
1702          "flags" : []
1703        },
1704        {
1705          "tcId" : 168,
1706          "comment" : "Flipped bit 64 in tag",
1707          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1708          "iv" : "000102030405060708090a0b",
1709          "msg" : "0001020304050607",
1710          "tag" : "34ed911800fdfa0f1014bcd4e34bab77",
1711          "result" : "invalid",
1712          "flags" : []
1713        },
1714        {
1715          "tcId" : 169,
1716          "comment" : "Flipped bit 64 in tag",
1717          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1718          "iv" : "000102030405060708090a0b",
1719          "msg" : "000102030405060708090a0b0c0d0e0f",
1720          "tag" : "8c771dc5563b63be2adc5a8fcfc9387f",
1721          "result" : "invalid",
1722          "flags" : []
1723        },
1724        {
1725          "tcId" : 170,
1726          "comment" : "Flipped bit 71 in tag",
1727          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1728          "iv" : "000102030405060708090a0b",
1729          "msg" : "0001020304050607",
1730          "tag" : "34ed911800fdfa0f9114bcd4e34bab77",
1731          "result" : "invalid",
1732          "flags" : []
1733        },
1734        {
1735          "tcId" : 171,
1736          "comment" : "Flipped bit 71 in tag",
1737          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1738          "iv" : "000102030405060708090a0b",
1739          "msg" : "000102030405060708090a0b0c0d0e0f",
1740          "tag" : "8c771dc5563b63beabdc5a8fcfc9387f",
1741          "result" : "invalid",
1742          "flags" : []
1743        },
1744        {
1745          "tcId" : 172,
1746          "comment" : "Flipped bit 77 in tag",
1747          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1748          "iv" : "000102030405060708090a0b",
1749          "msg" : "0001020304050607",
1750          "tag" : "34ed911800fdfa0f1134bcd4e34bab77",
1751          "result" : "invalid",
1752          "flags" : []
1753        },
1754        {
1755          "tcId" : 173,
1756          "comment" : "Flipped bit 77 in tag",
1757          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1758          "iv" : "000102030405060708090a0b",
1759          "msg" : "000102030405060708090a0b0c0d0e0f",
1760          "tag" : "8c771dc5563b63be2bfc5a8fcfc9387f",
1761          "result" : "invalid",
1762          "flags" : []
1763        },
1764        {
1765          "tcId" : 174,
1766          "comment" : "Flipped bit 80 in tag",
1767          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1768          "iv" : "000102030405060708090a0b",
1769          "msg" : "0001020304050607",
1770          "tag" : "34ed911800fdfa0f1114bdd4e34bab77",
1771          "result" : "invalid",
1772          "flags" : []
1773        },
1774        {
1775          "tcId" : 175,
1776          "comment" : "Flipped bit 80 in tag",
1777          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1778          "iv" : "000102030405060708090a0b",
1779          "msg" : "000102030405060708090a0b0c0d0e0f",
1780          "tag" : "8c771dc5563b63be2bdc5b8fcfc9387f",
1781          "result" : "invalid",
1782          "flags" : []
1783        },
1784        {
1785          "tcId" : 176,
1786          "comment" : "Flipped bit 96 in tag",
1787          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1788          "iv" : "000102030405060708090a0b",
1789          "msg" : "0001020304050607",
1790          "tag" : "34ed911800fdfa0f1114bcd4e24bab77",
1791          "result" : "invalid",
1792          "flags" : []
1793        },
1794        {
1795          "tcId" : 177,
1796          "comment" : "Flipped bit 96 in tag",
1797          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1798          "iv" : "000102030405060708090a0b",
1799          "msg" : "000102030405060708090a0b0c0d0e0f",
1800          "tag" : "8c771dc5563b63be2bdc5a8fcec9387f",
1801          "result" : "invalid",
1802          "flags" : []
1803        },
1804        {
1805          "tcId" : 178,
1806          "comment" : "Flipped bit 97 in tag",
1807          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1808          "iv" : "000102030405060708090a0b",
1809          "msg" : "0001020304050607",
1810          "tag" : "34ed911800fdfa0f1114bcd4e14bab77",
1811          "result" : "invalid",
1812          "flags" : []
1813        },
1814        {
1815          "tcId" : 179,
1816          "comment" : "Flipped bit 97 in tag",
1817          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1818          "iv" : "000102030405060708090a0b",
1819          "msg" : "000102030405060708090a0b0c0d0e0f",
1820          "tag" : "8c771dc5563b63be2bdc5a8fcdc9387f",
1821          "result" : "invalid",
1822          "flags" : []
1823        },
1824        {
1825          "tcId" : 180,
1826          "comment" : "Flipped bit 103 in tag",
1827          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1828          "iv" : "000102030405060708090a0b",
1829          "msg" : "0001020304050607",
1830          "tag" : "34ed911800fdfa0f1114bcd4634bab77",
1831          "result" : "invalid",
1832          "flags" : []
1833        },
1834        {
1835          "tcId" : 181,
1836          "comment" : "Flipped bit 103 in tag",
1837          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1838          "iv" : "000102030405060708090a0b",
1839          "msg" : "000102030405060708090a0b0c0d0e0f",
1840          "tag" : "8c771dc5563b63be2bdc5a8f4fc9387f",
1841          "result" : "invalid",
1842          "flags" : []
1843        },
1844        {
1845          "tcId" : 182,
1846          "comment" : "Flipped bit 120 in tag",
1847          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1848          "iv" : "000102030405060708090a0b",
1849          "msg" : "0001020304050607",
1850          "tag" : "34ed911800fdfa0f1114bcd4e34bab76",
1851          "result" : "invalid",
1852          "flags" : []
1853        },
1854        {
1855          "tcId" : 183,
1856          "comment" : "Flipped bit 120 in tag",
1857          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1858          "iv" : "000102030405060708090a0b",
1859          "msg" : "000102030405060708090a0b0c0d0e0f",
1860          "tag" : "8c771dc5563b63be2bdc5a8fcfc9387e",
1861          "result" : "invalid",
1862          "flags" : []
1863        },
1864        {
1865          "tcId" : 184,
1866          "comment" : "Flipped bit 121 in tag",
1867          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1868          "iv" : "000102030405060708090a0b",
1869          "msg" : "0001020304050607",
1870          "tag" : "34ed911800fdfa0f1114bcd4e34bab75",
1871          "result" : "invalid",
1872          "flags" : []
1873        },
1874        {
1875          "tcId" : 185,
1876          "comment" : "Flipped bit 121 in tag",
1877          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1878          "iv" : "000102030405060708090a0b",
1879          "msg" : "000102030405060708090a0b0c0d0e0f",
1880          "tag" : "8c771dc5563b63be2bdc5a8fcfc9387d",
1881          "result" : "invalid",
1882          "flags" : []
1883        },
1884        {
1885          "tcId" : 186,
1886          "comment" : "Flipped bit 126 in tag",
1887          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1888          "iv" : "000102030405060708090a0b",
1889          "msg" : "0001020304050607",
1890          "tag" : "34ed911800fdfa0f1114bcd4e34bab37",
1891          "result" : "invalid",
1892          "flags" : []
1893        },
1894        {
1895          "tcId" : 187,
1896          "comment" : "Flipped bit 126 in tag",
1897          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1898          "iv" : "000102030405060708090a0b",
1899          "msg" : "000102030405060708090a0b0c0d0e0f",
1900          "tag" : "8c771dc5563b63be2bdc5a8fcfc9383f",
1901          "result" : "invalid",
1902          "flags" : []
1903        },
1904        {
1905          "tcId" : 188,
1906          "comment" : "Flipped bit 127 in tag",
1907          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1908          "iv" : "000102030405060708090a0b",
1909          "msg" : "0001020304050607",
1910          "tag" : "34ed911800fdfa0f1114bcd4e34babf7",
1911          "result" : "invalid",
1912          "flags" : []
1913        },
1914        {
1915          "tcId" : 189,
1916          "comment" : "Flipped bit 127 in tag",
1917          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1918          "iv" : "000102030405060708090a0b",
1919          "msg" : "000102030405060708090a0b0c0d0e0f",
1920          "tag" : "8c771dc5563b63be2bdc5a8fcfc938ff",
1921          "result" : "invalid",
1922          "flags" : []
1923        },
1924        {
1925          "tcId" : 190,
1926          "comment" : "Flipped bits 0 and 64 in tag",
1927          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1928          "iv" : "000102030405060708090a0b",
1929          "msg" : "0001020304050607",
1930          "tag" : "35ed911800fdfa0f1014bcd4e34bab77",
1931          "result" : "invalid",
1932          "flags" : []
1933        },
1934        {
1935          "tcId" : 191,
1936          "comment" : "Flipped bits 0 and 64 in tag",
1937          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1938          "iv" : "000102030405060708090a0b",
1939          "msg" : "000102030405060708090a0b0c0d0e0f",
1940          "tag" : "8d771dc5563b63be2adc5a8fcfc9387f",
1941          "result" : "invalid",
1942          "flags" : []
1943        },
1944        {
1945          "tcId" : 192,
1946          "comment" : "Flipped bits 31 and 63 in tag",
1947          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1948          "iv" : "000102030405060708090a0b",
1949          "msg" : "0001020304050607",
1950          "tag" : "34ed919800fdfa8f1114bcd4e34bab77",
1951          "result" : "invalid",
1952          "flags" : []
1953        },
1954        {
1955          "tcId" : 193,
1956          "comment" : "Flipped bits 31 and 63 in tag",
1957          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1958          "iv" : "000102030405060708090a0b",
1959          "msg" : "000102030405060708090a0b0c0d0e0f",
1960          "tag" : "8c771d45563b633e2bdc5a8fcfc9387f",
1961          "result" : "invalid",
1962          "flags" : []
1963        },
1964        {
1965          "tcId" : 194,
1966          "comment" : "Flipped bits 63 and 127 in tag",
1967          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1968          "iv" : "000102030405060708090a0b",
1969          "msg" : "0001020304050607",
1970          "tag" : "34ed911800fdfa8f1114bcd4e34babf7",
1971          "result" : "invalid",
1972          "flags" : []
1973        },
1974        {
1975          "tcId" : 195,
1976          "comment" : "Flipped bits 63 and 127 in tag",
1977          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1978          "iv" : "000102030405060708090a0b",
1979          "msg" : "000102030405060708090a0b0c0d0e0f",
1980          "tag" : "8c771dc5563b633e2bdc5a8fcfc938ff",
1981          "result" : "invalid",
1982          "flags" : []
1983        },
1984        {
1985          "tcId" : 196,
1986          "comment" : "all bits of tag flipped",
1987          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1988          "iv" : "000102030405060708090a0b",
1989          "msg" : "0001020304050607",
1990          "tag" : "cb126ee7ff0205f0eeeb432b1cb45488",
1991          "result" : "invalid",
1992          "flags" : []
1993        },
1994        {
1995          "tcId" : 197,
1996          "comment" : "all bits of tag flipped",
1997          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
1998          "iv" : "000102030405060708090a0b",
1999          "msg" : "000102030405060708090a0b0c0d0e0f",
2000          "tag" : "7388e23aa9c49c41d423a5703036c780",
2001          "result" : "invalid",
2002          "flags" : []
2003        },
2004        {
2005          "tcId" : 198,
2006          "comment" : "Tag changed to all zero",
2007          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2008          "iv" : "000102030405060708090a0b",
2009          "msg" : "0001020304050607",
2010          "tag" : "00000000000000000000000000000000",
2011          "result" : "invalid",
2012          "flags" : []
2013        },
2014        {
2015          "tcId" : 199,
2016          "comment" : "Tag changed to all zero",
2017          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2018          "iv" : "000102030405060708090a0b",
2019          "msg" : "000102030405060708090a0b0c0d0e0f",
2020          "tag" : "00000000000000000000000000000000",
2021          "result" : "invalid",
2022          "flags" : []
2023        },
2024        {
2025          "tcId" : 200,
2026          "comment" : "tag changed to all 1",
2027          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2028          "iv" : "000102030405060708090a0b",
2029          "msg" : "0001020304050607",
2030          "tag" : "ffffffffffffffffffffffffffffffff",
2031          "result" : "invalid",
2032          "flags" : []
2033        },
2034        {
2035          "tcId" : 201,
2036          "comment" : "tag changed to all 1",
2037          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2038          "iv" : "000102030405060708090a0b",
2039          "msg" : "000102030405060708090a0b0c0d0e0f",
2040          "tag" : "ffffffffffffffffffffffffffffffff",
2041          "result" : "invalid",
2042          "flags" : []
2043        },
2044        {
2045          "tcId" : 202,
2046          "comment" : "msbs changed in tag",
2047          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2048          "iv" : "000102030405060708090a0b",
2049          "msg" : "0001020304050607",
2050          "tag" : "b46d1198807d7a8f91943c5463cb2bf7",
2051          "result" : "invalid",
2052          "flags" : []
2053        },
2054        {
2055          "tcId" : 203,
2056          "comment" : "msbs changed in tag",
2057          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2058          "iv" : "000102030405060708090a0b",
2059          "msg" : "000102030405060708090a0b0c0d0e0f",
2060          "tag" : "0cf79d45d6bbe33eab5cda0f4f49b8ff",
2061          "result" : "invalid",
2062          "flags" : []
2063        },
2064        {
2065          "tcId" : 204,
2066          "comment" : "lsbs changed in tag",
2067          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2068          "iv" : "000102030405060708090a0b",
2069          "msg" : "0001020304050607",
2070          "tag" : "35ec901901fcfb0e1015bdd5e24aaa76",
2071          "result" : "invalid",
2072          "flags" : []
2073        },
2074        {
2075          "tcId" : 205,
2076          "comment" : "lsbs changed in tag",
2077          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2078          "iv" : "000102030405060708090a0b",
2079          "msg" : "000102030405060708090a0b0c0d0e0f",
2080          "tag" : "8d761cc4573a62bf2add5b8ecec8397e",
2081          "result" : "invalid",
2082          "flags" : []
2083        },
2084        {
2085          "tcId" : 206,
2086          "comment" : "special case",
2087          "key" : "175b5a75e4fd7f9c1f997781b976a72a010d69559abb0d1e",
2088          "iv" : "550e0a2d5cb987baf4b9c324",
2089          "msg" : "fccc7487a8ae2a85f6055f0211a73d0b",
2090          "tag" : "00000000000000000000000000000000",
2091          "result" : "valid",
2092          "flags" : []
2093        },
2094        {
2095          "tcId" : 207,
2096          "comment" : "special case",
2097          "key" : "175b5a75e4fd7f9c1f997781b976a72a010d69559abb0d1e",
2098          "iv" : "550e0a2d5cb987baf4b9c324",
2099          "msg" : "c2ebff3f88c5d37f41800211d2bc60dd",
2100          "tag" : "ffffffffffffffffffffffffffffffff",
2101          "result" : "valid",
2102          "flags" : []
2103        }
2104      ]
2105    },
2106    {
2107      "ivSize" : 128,
2108      "keySize" : 192,
2109      "tagSize" : 128,
2110      "type" : "MacWithIvTest",
2111      "tests" : [
2112        {
2113          "tcId" : 208,
2114          "comment" : "empty message",
2115          "key" : "9f934fa4d1f3cca744c81c87937245d7207625b6b2ac3d84",
2116          "iv" : "19124ff0814717abeaa2e1fc9fc886ed",
2117          "msg" : "",
2118          "tag" : "9c04531bceaf438dc1342f3c5f7f62b8",
2119          "result" : "valid",
2120          "flags" : []
2121        },
2122        {
2123          "tcId" : 209,
2124          "comment" : "short message",
2125          "key" : "0ae0ba4674c5c685354e241bc86034cbef80f88acf1f7488",
2126          "iv" : "083266ebda2b3db8b14c235eb2975988",
2127          "msg" : "c7",
2128          "tag" : "f2f5cda595fb7d7b0a7d699b6abc7f52",
2129          "result" : "valid",
2130          "flags" : []
2131        },
2132        {
2133          "tcId" : 210,
2134          "comment" : "short message",
2135          "key" : "9f479e9118e5603bf122fc5e2b8bf3e448acb9fbde5e16dc",
2136          "iv" : "d26427fca9c8e1717acd34ad3cc5d542",
2137          "msg" : "96af",
2138          "tag" : "25fc877bc2fd800492843316a09b5582",
2139          "result" : "valid",
2140          "flags" : []
2141        },
2142        {
2143          "tcId" : 211,
2144          "comment" : "short message",
2145          "key" : "419a56e8f41f337dee4a63ed386a8ed7e85b25964494b075",
2146          "iv" : "ab25033165c6cf9760d1a5a44391e77a",
2147          "msg" : "8a3dc8ad",
2148          "tag" : "3d131aa12538c63322832efbc83513df",
2149          "result" : "valid",
2150          "flags" : []
2151        },
2152        {
2153          "tcId" : 212,
2154          "comment" : "short message",
2155          "key" : "eec672d9e7b9bd933e5ee36ae381e65b872ac8373c3e5678",
2156          "iv" : "51e0642b8e494581dd04c5b16bd88b89",
2157          "msg" : "809de8dbe28147",
2158          "tag" : "b6b769a11d319cb22be92f1d33ad8c4c",
2159          "result" : "valid",
2160          "flags" : []
2161        },
2162        {
2163          "tcId" : 213,
2164          "comment" : "short message",
2165          "key" : "415c12b78405dc1916b9f65cc1d960b641062ab58926099a",
2166          "iv" : "80d3370f38c8d9c674160500a33627f3",
2167          "msg" : "b5de1b30f7229f1d",
2168          "tag" : "2d7122b74febd2e57bd7e1c0ccf7229f",
2169          "result" : "valid",
2170          "flags" : []
2171        },
2172        {
2173          "tcId" : 214,
2174          "comment" : "short message",
2175          "key" : "8cf2666223060e2adece28969a8d889ece7fe32c0ae3b9c6",
2176          "iv" : "cf0bd9d8767a3eae6215af33b7210f99",
2177          "msg" : "fbfd573c9f1214f7c650bcf5e72bac",
2178          "tag" : "bd53a4c7daa8d08ee101cac5861c7ff9",
2179          "result" : "valid",
2180          "flags" : []
2181        },
2182        {
2183          "tcId" : 215,
2184          "comment" : "short message",
2185          "key" : "90d1196ff004c2c184e69fbe4c512afe5dd53060d0aa29ee",
2186          "iv" : "b16571498f84368f1c24b63178b88a5b",
2187          "msg" : "e03ba4ce91bac77150da731125b4634e",
2188          "tag" : "aec27721e0e5513075a68953cc97cab1",
2189          "result" : "valid",
2190          "flags" : []
2191        },
2192        {
2193          "tcId" : 216,
2194          "comment" : "short message",
2195          "key" : "2f084b3567becaf91d1a9a391aac5e4576f9034e4a115f8c",
2196          "iv" : "825e713c0bcbe7892d617de798ab9bd9",
2197          "msg" : "8f860847f18d387b64661cec46208c7050",
2198          "tag" : "283b96344c2de937f4a7279a6598e6bd",
2199          "result" : "valid",
2200          "flags" : []
2201        },
2202        {
2203          "tcId" : 217,
2204          "comment" : "short message",
2205          "key" : "e4db14a3fcdb48fa9849f03bf52a4b44d39e9e6b3397db59",
2206          "iv" : "5d538b3ac41fcfc56065e3fa75c53385",
2207          "msg" : "d7d663798317603e56bc8b22fcec7af3a6c15a879268cbc7",
2208          "tag" : "73c95c430d207c1b53326865b7980c04",
2209          "result" : "valid",
2210          "flags" : []
2211        },
2212        {
2213          "tcId" : 218,
2214          "comment" : "long message",
2215          "key" : "a14e5d0b2823ed9e3a191a3f896005d9bf186519dbb261b5",
2216          "iv" : "6dacfb15f7e6fb26e423c0ee05f686ba",
2217          "msg" : "6e9fab68c0b244378d503bf582f49a43be6cb206edf6ee02bb55a36b9c353352c19ad0d2a2048809e4ddc160485a2fa9f5438851eb9aa50b153e4a2d9be1b1a1772eae7b4dce9dd649ad4357a2e2fb4e9024539b014c94d2005b5fa32e47c50e9f914f084eec58f6e108a9de3c29cce5d92980f4f4911fc00e9613b263cca8a597",
2218          "tag" : "8adb4c0c1dc15ecbf66b431a030ec514",
2219          "result" : "valid",
2220          "flags" : []
2221        },
2222        {
2223          "tcId" : 219,
2224          "comment" : "long message",
2225          "key" : "0cf91cfdf3b064581dd01534a304296774c17ba30c5ea4ee",
2226          "iv" : "a98d89332c05b13db187484811198ab9",
2227          "msg" : "b45770b439c48775764d12c9adbfcd2be59aabc98e7406ddd0c05cb2debbda432a95803c3587e01d67990dd493f96fbd3f4a33aeca6171dec4220bb82647b344d022585673d3fc40787fb3ccbff51c1662b9f9da1b79beff7b6f0587c6cda664b73b48cefdcf7a41572fdd5149097c31a65c7482f3c769493d6fb9bfcaf7ee20805932b9ba2bffee44c1d18b9d59ad808b714669cae53603a4518813b31d7d4f0379cccb1e0ddd09f00d9c06ff2c69fdb42ae46167d6a51e96781e6b91bed42290f360b501970916a36613ba1054f638ba592ec869c085757b942d40d4dcff3eeb3b99bd8181b40e7cec7528bd4873e427bb67c8fa8bc5f47eba7e55c905e224",
2228          "tag" : "d5e09f52986b33af3577e975dd9a9016",
2229          "result" : "valid",
2230          "flags" : []
2231        },
2232        {
2233          "tcId" : 220,
2234          "comment" : "long message",
2235          "key" : "93cecce96d37406286a881db0d0d53ce8f7bf53f4bdc746a",
2236          "iv" : "bf1368bb09373b1e0eed89eeea9321c1",
2237          "msg" : "ccca5c7461b810d414e24fecf4d3eeac3a38c296f7b888f43687d88c8ba8191798fc431f8b6c0576ad1aa841d3c9545060dffb7675c8cfa2fa419889572b39e5edf1a40b54a64430a606ac7f19f4eb287ad2609e2380d7fe4834f5aeac9832b5ed0c66994ac17e0d11bb57643aa5f6ad44cf57c54dcd94931e5285f93e03107913aea5048ad04a4ee8e3510ac0305a13a574d7c955f2912ef239b40dcf5ad7438a19ad7bece2e79ebd135e16ed2ba59f7e7857dc6480f780303157895784a79f04f78415070788052dcd7458d9ff86a705684bce83d29fc8c096fac29853603500b49acec5d438e76072de71841193f8440981693b625b3082e2ba898dcc7923a60c8d953cb39fa5cbdd42eab137332612338ce20d",
2238          "tag" : "660b84727a229e0922b561e8d0ddbd5e",
2239          "result" : "valid",
2240          "flags" : []
2241        },
2242        {
2243          "tcId" : 221,
2244          "comment" : "Flipped bit 0 in tag",
2245          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2246          "iv" : "000102030405060708090a0b0c0d0e0f",
2247          "msg" : "0001020304050607",
2248          "tag" : "a01da39a86f6467ebf1cb387f4cfdc93",
2249          "result" : "invalid",
2250          "flags" : []
2251        },
2252        {
2253          "tcId" : 222,
2254          "comment" : "Flipped bit 0 in tag",
2255          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2256          "iv" : "000102030405060708090a0b0c0d0e0f",
2257          "msg" : "000102030405060708090a0b0c0d0e0f",
2258          "tag" : "18872f47d030dfcf85d455dcd84d4f9b",
2259          "result" : "invalid",
2260          "flags" : []
2261        },
2262        {
2263          "tcId" : 223,
2264          "comment" : "Flipped bit 1 in tag",
2265          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2266          "iv" : "000102030405060708090a0b0c0d0e0f",
2267          "msg" : "0001020304050607",
2268          "tag" : "a31da39a86f6467ebf1cb387f4cfdc93",
2269          "result" : "invalid",
2270          "flags" : []
2271        },
2272        {
2273          "tcId" : 224,
2274          "comment" : "Flipped bit 1 in tag",
2275          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2276          "iv" : "000102030405060708090a0b0c0d0e0f",
2277          "msg" : "000102030405060708090a0b0c0d0e0f",
2278          "tag" : "1b872f47d030dfcf85d455dcd84d4f9b",
2279          "result" : "invalid",
2280          "flags" : []
2281        },
2282        {
2283          "tcId" : 225,
2284          "comment" : "Flipped bit 7 in tag",
2285          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2286          "iv" : "000102030405060708090a0b0c0d0e0f",
2287          "msg" : "0001020304050607",
2288          "tag" : "211da39a86f6467ebf1cb387f4cfdc93",
2289          "result" : "invalid",
2290          "flags" : []
2291        },
2292        {
2293          "tcId" : 226,
2294          "comment" : "Flipped bit 7 in tag",
2295          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2296          "iv" : "000102030405060708090a0b0c0d0e0f",
2297          "msg" : "000102030405060708090a0b0c0d0e0f",
2298          "tag" : "99872f47d030dfcf85d455dcd84d4f9b",
2299          "result" : "invalid",
2300          "flags" : []
2301        },
2302        {
2303          "tcId" : 227,
2304          "comment" : "Flipped bit 8 in tag",
2305          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2306          "iv" : "000102030405060708090a0b0c0d0e0f",
2307          "msg" : "0001020304050607",
2308          "tag" : "a11ca39a86f6467ebf1cb387f4cfdc93",
2309          "result" : "invalid",
2310          "flags" : []
2311        },
2312        {
2313          "tcId" : 228,
2314          "comment" : "Flipped bit 8 in tag",
2315          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2316          "iv" : "000102030405060708090a0b0c0d0e0f",
2317          "msg" : "000102030405060708090a0b0c0d0e0f",
2318          "tag" : "19862f47d030dfcf85d455dcd84d4f9b",
2319          "result" : "invalid",
2320          "flags" : []
2321        },
2322        {
2323          "tcId" : 229,
2324          "comment" : "Flipped bit 31 in tag",
2325          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2326          "iv" : "000102030405060708090a0b0c0d0e0f",
2327          "msg" : "0001020304050607",
2328          "tag" : "a11da31a86f6467ebf1cb387f4cfdc93",
2329          "result" : "invalid",
2330          "flags" : []
2331        },
2332        {
2333          "tcId" : 230,
2334          "comment" : "Flipped bit 31 in tag",
2335          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2336          "iv" : "000102030405060708090a0b0c0d0e0f",
2337          "msg" : "000102030405060708090a0b0c0d0e0f",
2338          "tag" : "19872fc7d030dfcf85d455dcd84d4f9b",
2339          "result" : "invalid",
2340          "flags" : []
2341        },
2342        {
2343          "tcId" : 231,
2344          "comment" : "Flipped bit 32 in tag",
2345          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2346          "iv" : "000102030405060708090a0b0c0d0e0f",
2347          "msg" : "0001020304050607",
2348          "tag" : "a11da39a87f6467ebf1cb387f4cfdc93",
2349          "result" : "invalid",
2350          "flags" : []
2351        },
2352        {
2353          "tcId" : 232,
2354          "comment" : "Flipped bit 32 in tag",
2355          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2356          "iv" : "000102030405060708090a0b0c0d0e0f",
2357          "msg" : "000102030405060708090a0b0c0d0e0f",
2358          "tag" : "19872f47d130dfcf85d455dcd84d4f9b",
2359          "result" : "invalid",
2360          "flags" : []
2361        },
2362        {
2363          "tcId" : 233,
2364          "comment" : "Flipped bit 33 in tag",
2365          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2366          "iv" : "000102030405060708090a0b0c0d0e0f",
2367          "msg" : "0001020304050607",
2368          "tag" : "a11da39a84f6467ebf1cb387f4cfdc93",
2369          "result" : "invalid",
2370          "flags" : []
2371        },
2372        {
2373          "tcId" : 234,
2374          "comment" : "Flipped bit 33 in tag",
2375          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2376          "iv" : "000102030405060708090a0b0c0d0e0f",
2377          "msg" : "000102030405060708090a0b0c0d0e0f",
2378          "tag" : "19872f47d230dfcf85d455dcd84d4f9b",
2379          "result" : "invalid",
2380          "flags" : []
2381        },
2382        {
2383          "tcId" : 235,
2384          "comment" : "Flipped bit 63 in tag",
2385          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2386          "iv" : "000102030405060708090a0b0c0d0e0f",
2387          "msg" : "0001020304050607",
2388          "tag" : "a11da39a86f646febf1cb387f4cfdc93",
2389          "result" : "invalid",
2390          "flags" : []
2391        },
2392        {
2393          "tcId" : 236,
2394          "comment" : "Flipped bit 63 in tag",
2395          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2396          "iv" : "000102030405060708090a0b0c0d0e0f",
2397          "msg" : "000102030405060708090a0b0c0d0e0f",
2398          "tag" : "19872f47d030df4f85d455dcd84d4f9b",
2399          "result" : "invalid",
2400          "flags" : []
2401        },
2402        {
2403          "tcId" : 237,
2404          "comment" : "Flipped bit 64 in tag",
2405          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2406          "iv" : "000102030405060708090a0b0c0d0e0f",
2407          "msg" : "0001020304050607",
2408          "tag" : "a11da39a86f6467ebe1cb387f4cfdc93",
2409          "result" : "invalid",
2410          "flags" : []
2411        },
2412        {
2413          "tcId" : 238,
2414          "comment" : "Flipped bit 64 in tag",
2415          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2416          "iv" : "000102030405060708090a0b0c0d0e0f",
2417          "msg" : "000102030405060708090a0b0c0d0e0f",
2418          "tag" : "19872f47d030dfcf84d455dcd84d4f9b",
2419          "result" : "invalid",
2420          "flags" : []
2421        },
2422        {
2423          "tcId" : 239,
2424          "comment" : "Flipped bit 71 in tag",
2425          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2426          "iv" : "000102030405060708090a0b0c0d0e0f",
2427          "msg" : "0001020304050607",
2428          "tag" : "a11da39a86f6467e3f1cb387f4cfdc93",
2429          "result" : "invalid",
2430          "flags" : []
2431        },
2432        {
2433          "tcId" : 240,
2434          "comment" : "Flipped bit 71 in tag",
2435          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2436          "iv" : "000102030405060708090a0b0c0d0e0f",
2437          "msg" : "000102030405060708090a0b0c0d0e0f",
2438          "tag" : "19872f47d030dfcf05d455dcd84d4f9b",
2439          "result" : "invalid",
2440          "flags" : []
2441        },
2442        {
2443          "tcId" : 241,
2444          "comment" : "Flipped bit 77 in tag",
2445          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2446          "iv" : "000102030405060708090a0b0c0d0e0f",
2447          "msg" : "0001020304050607",
2448          "tag" : "a11da39a86f6467ebf3cb387f4cfdc93",
2449          "result" : "invalid",
2450          "flags" : []
2451        },
2452        {
2453          "tcId" : 242,
2454          "comment" : "Flipped bit 77 in tag",
2455          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2456          "iv" : "000102030405060708090a0b0c0d0e0f",
2457          "msg" : "000102030405060708090a0b0c0d0e0f",
2458          "tag" : "19872f47d030dfcf85f455dcd84d4f9b",
2459          "result" : "invalid",
2460          "flags" : []
2461        },
2462        {
2463          "tcId" : 243,
2464          "comment" : "Flipped bit 80 in tag",
2465          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2466          "iv" : "000102030405060708090a0b0c0d0e0f",
2467          "msg" : "0001020304050607",
2468          "tag" : "a11da39a86f6467ebf1cb287f4cfdc93",
2469          "result" : "invalid",
2470          "flags" : []
2471        },
2472        {
2473          "tcId" : 244,
2474          "comment" : "Flipped bit 80 in tag",
2475          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2476          "iv" : "000102030405060708090a0b0c0d0e0f",
2477          "msg" : "000102030405060708090a0b0c0d0e0f",
2478          "tag" : "19872f47d030dfcf85d454dcd84d4f9b",
2479          "result" : "invalid",
2480          "flags" : []
2481        },
2482        {
2483          "tcId" : 245,
2484          "comment" : "Flipped bit 96 in tag",
2485          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2486          "iv" : "000102030405060708090a0b0c0d0e0f",
2487          "msg" : "0001020304050607",
2488          "tag" : "a11da39a86f6467ebf1cb387f5cfdc93",
2489          "result" : "invalid",
2490          "flags" : []
2491        },
2492        {
2493          "tcId" : 246,
2494          "comment" : "Flipped bit 96 in tag",
2495          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2496          "iv" : "000102030405060708090a0b0c0d0e0f",
2497          "msg" : "000102030405060708090a0b0c0d0e0f",
2498          "tag" : "19872f47d030dfcf85d455dcd94d4f9b",
2499          "result" : "invalid",
2500          "flags" : []
2501        },
2502        {
2503          "tcId" : 247,
2504          "comment" : "Flipped bit 97 in tag",
2505          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2506          "iv" : "000102030405060708090a0b0c0d0e0f",
2507          "msg" : "0001020304050607",
2508          "tag" : "a11da39a86f6467ebf1cb387f6cfdc93",
2509          "result" : "invalid",
2510          "flags" : []
2511        },
2512        {
2513          "tcId" : 248,
2514          "comment" : "Flipped bit 97 in tag",
2515          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2516          "iv" : "000102030405060708090a0b0c0d0e0f",
2517          "msg" : "000102030405060708090a0b0c0d0e0f",
2518          "tag" : "19872f47d030dfcf85d455dcda4d4f9b",
2519          "result" : "invalid",
2520          "flags" : []
2521        },
2522        {
2523          "tcId" : 249,
2524          "comment" : "Flipped bit 103 in tag",
2525          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2526          "iv" : "000102030405060708090a0b0c0d0e0f",
2527          "msg" : "0001020304050607",
2528          "tag" : "a11da39a86f6467ebf1cb38774cfdc93",
2529          "result" : "invalid",
2530          "flags" : []
2531        },
2532        {
2533          "tcId" : 250,
2534          "comment" : "Flipped bit 103 in tag",
2535          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2536          "iv" : "000102030405060708090a0b0c0d0e0f",
2537          "msg" : "000102030405060708090a0b0c0d0e0f",
2538          "tag" : "19872f47d030dfcf85d455dc584d4f9b",
2539          "result" : "invalid",
2540          "flags" : []
2541        },
2542        {
2543          "tcId" : 251,
2544          "comment" : "Flipped bit 120 in tag",
2545          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2546          "iv" : "000102030405060708090a0b0c0d0e0f",
2547          "msg" : "0001020304050607",
2548          "tag" : "a11da39a86f6467ebf1cb387f4cfdc92",
2549          "result" : "invalid",
2550          "flags" : []
2551        },
2552        {
2553          "tcId" : 252,
2554          "comment" : "Flipped bit 120 in tag",
2555          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2556          "iv" : "000102030405060708090a0b0c0d0e0f",
2557          "msg" : "000102030405060708090a0b0c0d0e0f",
2558          "tag" : "19872f47d030dfcf85d455dcd84d4f9a",
2559          "result" : "invalid",
2560          "flags" : []
2561        },
2562        {
2563          "tcId" : 253,
2564          "comment" : "Flipped bit 121 in tag",
2565          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2566          "iv" : "000102030405060708090a0b0c0d0e0f",
2567          "msg" : "0001020304050607",
2568          "tag" : "a11da39a86f6467ebf1cb387f4cfdc91",
2569          "result" : "invalid",
2570          "flags" : []
2571        },
2572        {
2573          "tcId" : 254,
2574          "comment" : "Flipped bit 121 in tag",
2575          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2576          "iv" : "000102030405060708090a0b0c0d0e0f",
2577          "msg" : "000102030405060708090a0b0c0d0e0f",
2578          "tag" : "19872f47d030dfcf85d455dcd84d4f99",
2579          "result" : "invalid",
2580          "flags" : []
2581        },
2582        {
2583          "tcId" : 255,
2584          "comment" : "Flipped bit 126 in tag",
2585          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2586          "iv" : "000102030405060708090a0b0c0d0e0f",
2587          "msg" : "0001020304050607",
2588          "tag" : "a11da39a86f6467ebf1cb387f4cfdcd3",
2589          "result" : "invalid",
2590          "flags" : []
2591        },
2592        {
2593          "tcId" : 256,
2594          "comment" : "Flipped bit 126 in tag",
2595          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2596          "iv" : "000102030405060708090a0b0c0d0e0f",
2597          "msg" : "000102030405060708090a0b0c0d0e0f",
2598          "tag" : "19872f47d030dfcf85d455dcd84d4fdb",
2599          "result" : "invalid",
2600          "flags" : []
2601        },
2602        {
2603          "tcId" : 257,
2604          "comment" : "Flipped bit 127 in tag",
2605          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2606          "iv" : "000102030405060708090a0b0c0d0e0f",
2607          "msg" : "0001020304050607",
2608          "tag" : "a11da39a86f6467ebf1cb387f4cfdc13",
2609          "result" : "invalid",
2610          "flags" : []
2611        },
2612        {
2613          "tcId" : 258,
2614          "comment" : "Flipped bit 127 in tag",
2615          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2616          "iv" : "000102030405060708090a0b0c0d0e0f",
2617          "msg" : "000102030405060708090a0b0c0d0e0f",
2618          "tag" : "19872f47d030dfcf85d455dcd84d4f1b",
2619          "result" : "invalid",
2620          "flags" : []
2621        },
2622        {
2623          "tcId" : 259,
2624          "comment" : "Flipped bits 0 and 64 in tag",
2625          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2626          "iv" : "000102030405060708090a0b0c0d0e0f",
2627          "msg" : "0001020304050607",
2628          "tag" : "a01da39a86f6467ebe1cb387f4cfdc93",
2629          "result" : "invalid",
2630          "flags" : []
2631        },
2632        {
2633          "tcId" : 260,
2634          "comment" : "Flipped bits 0 and 64 in tag",
2635          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2636          "iv" : "000102030405060708090a0b0c0d0e0f",
2637          "msg" : "000102030405060708090a0b0c0d0e0f",
2638          "tag" : "18872f47d030dfcf84d455dcd84d4f9b",
2639          "result" : "invalid",
2640          "flags" : []
2641        },
2642        {
2643          "tcId" : 261,
2644          "comment" : "Flipped bits 31 and 63 in tag",
2645          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2646          "iv" : "000102030405060708090a0b0c0d0e0f",
2647          "msg" : "0001020304050607",
2648          "tag" : "a11da31a86f646febf1cb387f4cfdc93",
2649          "result" : "invalid",
2650          "flags" : []
2651        },
2652        {
2653          "tcId" : 262,
2654          "comment" : "Flipped bits 31 and 63 in tag",
2655          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2656          "iv" : "000102030405060708090a0b0c0d0e0f",
2657          "msg" : "000102030405060708090a0b0c0d0e0f",
2658          "tag" : "19872fc7d030df4f85d455dcd84d4f9b",
2659          "result" : "invalid",
2660          "flags" : []
2661        },
2662        {
2663          "tcId" : 263,
2664          "comment" : "Flipped bits 63 and 127 in tag",
2665          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2666          "iv" : "000102030405060708090a0b0c0d0e0f",
2667          "msg" : "0001020304050607",
2668          "tag" : "a11da39a86f646febf1cb387f4cfdc13",
2669          "result" : "invalid",
2670          "flags" : []
2671        },
2672        {
2673          "tcId" : 264,
2674          "comment" : "Flipped bits 63 and 127 in tag",
2675          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2676          "iv" : "000102030405060708090a0b0c0d0e0f",
2677          "msg" : "000102030405060708090a0b0c0d0e0f",
2678          "tag" : "19872f47d030df4f85d455dcd84d4f1b",
2679          "result" : "invalid",
2680          "flags" : []
2681        },
2682        {
2683          "tcId" : 265,
2684          "comment" : "all bits of tag flipped",
2685          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2686          "iv" : "000102030405060708090a0b0c0d0e0f",
2687          "msg" : "0001020304050607",
2688          "tag" : "5ee25c657909b98140e34c780b30236c",
2689          "result" : "invalid",
2690          "flags" : []
2691        },
2692        {
2693          "tcId" : 266,
2694          "comment" : "all bits of tag flipped",
2695          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2696          "iv" : "000102030405060708090a0b0c0d0e0f",
2697          "msg" : "000102030405060708090a0b0c0d0e0f",
2698          "tag" : "e678d0b82fcf20307a2baa2327b2b064",
2699          "result" : "invalid",
2700          "flags" : []
2701        },
2702        {
2703          "tcId" : 267,
2704          "comment" : "Tag changed to all zero",
2705          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2706          "iv" : "000102030405060708090a0b0c0d0e0f",
2707          "msg" : "0001020304050607",
2708          "tag" : "00000000000000000000000000000000",
2709          "result" : "invalid",
2710          "flags" : []
2711        },
2712        {
2713          "tcId" : 268,
2714          "comment" : "Tag changed to all zero",
2715          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2716          "iv" : "000102030405060708090a0b0c0d0e0f",
2717          "msg" : "000102030405060708090a0b0c0d0e0f",
2718          "tag" : "00000000000000000000000000000000",
2719          "result" : "invalid",
2720          "flags" : []
2721        },
2722        {
2723          "tcId" : 269,
2724          "comment" : "tag changed to all 1",
2725          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2726          "iv" : "000102030405060708090a0b0c0d0e0f",
2727          "msg" : "0001020304050607",
2728          "tag" : "ffffffffffffffffffffffffffffffff",
2729          "result" : "invalid",
2730          "flags" : []
2731        },
2732        {
2733          "tcId" : 270,
2734          "comment" : "tag changed to all 1",
2735          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2736          "iv" : "000102030405060708090a0b0c0d0e0f",
2737          "msg" : "000102030405060708090a0b0c0d0e0f",
2738          "tag" : "ffffffffffffffffffffffffffffffff",
2739          "result" : "invalid",
2740          "flags" : []
2741        },
2742        {
2743          "tcId" : 271,
2744          "comment" : "msbs changed in tag",
2745          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2746          "iv" : "000102030405060708090a0b0c0d0e0f",
2747          "msg" : "0001020304050607",
2748          "tag" : "219d231a0676c6fe3f9c3307744f5c13",
2749          "result" : "invalid",
2750          "flags" : []
2751        },
2752        {
2753          "tcId" : 272,
2754          "comment" : "msbs changed in tag",
2755          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2756          "iv" : "000102030405060708090a0b0c0d0e0f",
2757          "msg" : "000102030405060708090a0b0c0d0e0f",
2758          "tag" : "9907afc750b05f4f0554d55c58cdcf1b",
2759          "result" : "invalid",
2760          "flags" : []
2761        },
2762        {
2763          "tcId" : 273,
2764          "comment" : "lsbs changed in tag",
2765          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2766          "iv" : "000102030405060708090a0b0c0d0e0f",
2767          "msg" : "0001020304050607",
2768          "tag" : "a01ca29b87f7477fbe1db286f5cedd92",
2769          "result" : "invalid",
2770          "flags" : []
2771        },
2772        {
2773          "tcId" : 274,
2774          "comment" : "lsbs changed in tag",
2775          "key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
2776          "iv" : "000102030405060708090a0b0c0d0e0f",
2777          "msg" : "000102030405060708090a0b0c0d0e0f",
2778          "tag" : "18862e46d131dece84d554ddd94c4e9a",
2779          "result" : "invalid",
2780          "flags" : []
2781        },
2782        {
2783          "tcId" : 275,
2784          "comment" : "special case",
2785          "key" : "df23cd7969388721437ba13d562ac459392a8fb88f51925e",
2786          "iv" : "735cdb81fbbd6172cb7fc0cae13b7ac9",
2787          "msg" : "3c11581c4b9664926d77e1a7d187b00a",
2788          "tag" : "00000000000000000000000000000000",
2789          "result" : "valid",
2790          "flags" : []
2791        },
2792        {
2793          "tcId" : 276,
2794          "comment" : "special case",
2795          "key" : "df23cd7969388721437ba13d562ac459392a8fb88f51925e",
2796          "iv" : "735cdb81fbbd6172cb7fc0cae13b7ac9",
2797          "msg" : "6958fbba1173efad3c9003baae278d3d",
2798          "tag" : "ffffffffffffffffffffffffffffffff",
2799          "result" : "valid",
2800          "flags" : []
2801        }
2802      ]
2803    },
2804    {
2805      "ivSize" : 96,
2806      "keySize" : 256,
2807      "tagSize" : 128,
2808      "type" : "MacWithIvTest",
2809      "tests" : [
2810        {
2811          "tcId" : 277,
2812          "comment" : "empty message",
2813          "key" : "d796a05cef109d0ef3a81107a11bd3691593c11a0c98eb4d31ad913b1e4e93be",
2814          "iv" : "36dc700abd99d99d8f5bc0ce",
2815          "msg" : "",
2816          "tag" : "75b098b6025155fd699e66908c400156",
2817          "result" : "valid",
2818          "flags" : []
2819        },
2820        {
2821          "tcId" : 278,
2822          "comment" : "short message",
2823          "key" : "31e39f0079a182c9b2ba38b8bcc48518a2dff1df885285fc0542f83b255a520c",
2824          "iv" : "2cc7459fa6a53f8c9af14154",
2825          "msg" : "45",
2826          "tag" : "1ee076f708e64cc55c71d8633ec29231",
2827          "result" : "valid",
2828          "flags" : []
2829        },
2830        {
2831          "tcId" : 279,
2832          "comment" : "short message",
2833          "key" : "cca777cf5759246027d6e4c73baf3db9b9d834c370320357d169e531936061f4",
2834          "iv" : "5b4847b77bab2a6e5460da65",
2835          "msg" : "c00b",
2836          "tag" : "ebe4e56951e1ef7c721f429eec78c15e",
2837          "result" : "valid",
2838          "flags" : []
2839        },
2840        {
2841          "tcId" : 280,
2842          "comment" : "short message",
2843          "key" : "a2912ffd04dd0c12f9b144319a465af572b4be8aa0916baaa6edb96205ee8bb1",
2844          "iv" : "ac26c6c01ec2df5907b71af2",
2845          "msg" : "ffc2fd8c",
2846          "tag" : "2d8b373832d0293f1037409f6ad0c4f1",
2847          "result" : "valid",
2848          "flags" : []
2849        },
2850        {
2851          "tcId" : 281,
2852          "comment" : "short message",
2853          "key" : "4576c1e2470b557f85ae2defc078cb9eeac52b3235137f8bcefd9c116b804d2c",
2854          "iv" : "20d29dd528b26a716b1122d4",
2855          "msg" : "4e284ab6f6e49b",
2856          "tag" : "eb910afec079b3da4601fe6c9de32969",
2857          "result" : "valid",
2858          "flags" : []
2859        },
2860        {
2861          "tcId" : 282,
2862          "comment" : "short message",
2863          "key" : "be855e5f4477a5f06e64e969cf0f7aad2399d10ac6301bd29618b530315304aa",
2864          "iv" : "1dc8f6cba3828cb8862ea90d",
2865          "msg" : "b35ea00e01f30438",
2866          "tag" : "badbcdfb66e68b949bcb314b367c82cf",
2867          "result" : "valid",
2868          "flags" : []
2869        },
2870        {
2871          "tcId" : 283,
2872          "comment" : "short message",
2873          "key" : "30f10609fcf8ae398fa50fb2807e0b605fe1f5962f7cd7d663fa2c50bb0ed537",
2874          "iv" : "f251345f8011b4f7fdd59aa2",
2875          "msg" : "c66f86fbee5eda6a0ac4f64d7ef4b8",
2876          "tag" : "b7e5ecd235a406152edd4909f1635206",
2877          "result" : "valid",
2878          "flags" : []
2879        },
2880        {
2881          "tcId" : 284,
2882          "comment" : "short message",
2883          "key" : "b5ca16877137e3595d056001b182eb1651e4ae6af080ce7ee0a0c5651a094603",
2884          "iv" : "1fc2128cf247fecb746859fc",
2885          "msg" : "ea94e062b10e5dfd2ea993cb6a103d98",
2886          "tag" : "21439fb407247ac0a98a302d6cff4b0f",
2887          "result" : "valid",
2888          "flags" : []
2889        },
2890        {
2891          "tcId" : 285,
2892          "comment" : "short message",
2893          "key" : "b5684255463e5788bec2d75c8c463a658c79428d49fb2af5f1256c6bb1711f33",
2894          "iv" : "9388c4bf74157c590180e0c1",
2895          "msg" : "329f304b5d32e48186822306d6641c090a",
2896          "tag" : "ff54ecd26aa94aacd6d92bd9f6323ff9",
2897          "result" : "valid",
2898          "flags" : []
2899        },
2900        {
2901          "tcId" : 286,
2902          "comment" : "short message",
2903          "key" : "76074fefee148cd8873d2351175b8f0b46ba3881f07d5bd7e67a659e01830a40",
2904          "iv" : "0c5b68a8c3fdf645e3ac1e56",
2905          "msg" : "8c0337fc9401e6a58e408a11dff57ab2ddc17c1682778fa9",
2906          "tag" : "3686f1f8c18a944cb970f089c939ccd5",
2907          "result" : "valid",
2908          "flags" : []
2909        },
2910        {
2911          "tcId" : 287,
2912          "comment" : "long message",
2913          "key" : "e2a72f64301e4db6e8c05c312f2cea92fb8b063eb7fec23ea4e98c46fd0484d6",
2914          "iv" : "8998ac05e11c964f22090ce7",
2915          "msg" : "c70fb43de3aff11dbcab9b6c267c4b5b35cd9c08ec6999419a6771bcc734ae8650a56a4299c2105b32be02181eaaebe79f0747761573959d2bd71b0874de54ec2fd17bfd871acd766d5313cbffbe26ced083f5224f2777cd65ac4d2db08f213c0f7a5bccbc19b9bd42ab64116142f4d94b09280ee584744055f81e2fef291b36ae",
2916          "tag" : "54548320e2801dad4568329756586706",
2917          "result" : "valid",
2918          "flags" : []
2919        },
2920        {
2921          "tcId" : 288,
2922          "comment" : "long message",
2923          "key" : "d8d286af2b74ab17be1b2394843282d24a19a272a71b0ac9b05abe826ec7b9cd",
2924          "iv" : "143e285a5c310ac1e9a0181a",
2925          "msg" : "a9db39765ad30ea718a2f746e7e5c9c2b5bbc8b5d75f83deb66d7973c97f936227487191b71899c1aa7a32f9f4fd69979a9d17e8e3bf18a28ac27488dfa8f1c69612bd3a5de07e1d6b57b6ab4a1cef60b804ac646d8f22cc47a153990586abdd61ce8b8fb84d051e563781b53221c2e83022844a1fb4225e60e8d7436ff2055b83ec55cda7b84cb36e8a9262a55e080742c2daa9401e511f6cec98ceafe3aea6e107a6518c763ea107d2549ba3f6a66e64d3210f96297960f7acde14b4677ac3385d262ae9870ae97371baac2ec7e9ad981f4f37aadbff8d2fafd161a68e5f16b8219f1572f83907c4464425f1433becdcaf2909c5b602f9e2822e595e8c9dfc",
2926          "tag" : "1caf542beea4bb146d9893a4f044f693",
2927          "result" : "valid",
2928          "flags" : []
2929        },
2930        {
2931          "tcId" : 289,
2932          "comment" : "long message",
2933          "key" : "ddbafdc95b4c1c192d3ac68b03d5674a36ef50771749f4fcef6df9acaf2ed0c2",
2934          "iv" : "cb866b2f568838b93cecec38",
2935          "msg" : "87ed96039e80aee791dc8910b8febc4f51f297794a6a47380b801d455e89379067b69ee56a52855d5e35d421120be062f5a9f9f49a829a9a19626311632e6a166725795b6646576d4812470a9f20f0816df2320a47ae7774c53bdac5c9a13aaa915e4ab8ac8c9eb45f069f05b1114310b7b2c2c848040765d8eaa9e91122bb770188eb14b169c00d14110d983bd298cebb268c0164cbfd75704e83a0597c0ccf5b83cb5805689847b4eca6457ec12ed74dd7d261dbb06f114014af14abc1d76bd30ab69be280872948967dcac0b55a02083afcc4020c946e9709c399477036efb4b8c54fc00a35fdcd2883ccd5df6f033dc0130ada4b9ad3aee697a70036b5f30483a0ef8cfae49ab491ffee22f5adb024ed3a18ea",
2936          "tag" : "d8ee23f779c0b54b7ab383cb107b0098",
2937          "result" : "valid",
2938          "flags" : []
2939        },
2940        {
2941          "tcId" : 290,
2942          "comment" : "Flipped bit 0 in tag",
2943          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
2944          "iv" : "000102030405060708090a0b",
2945          "msg" : "0001020304050607",
2946          "tag" : "a6c2f201d0dfea1987a9a9c68fe68516",
2947          "result" : "invalid",
2948          "flags" : []
2949        },
2950        {
2951          "tcId" : 291,
2952          "comment" : "Flipped bit 0 in tag",
2953          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
2954          "iv" : "000102030405060708090a0b",
2955          "msg" : "000102030405060708090a0b0c0d0e0f",
2956          "tag" : "5094f694237f3f36d66e04b352a96311",
2957          "result" : "invalid",
2958          "flags" : []
2959        },
2960        {
2961          "tcId" : 292,
2962          "comment" : "Flipped bit 1 in tag",
2963          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
2964          "iv" : "000102030405060708090a0b",
2965          "msg" : "0001020304050607",
2966          "tag" : "a5c2f201d0dfea1987a9a9c68fe68516",
2967          "result" : "invalid",
2968          "flags" : []
2969        },
2970        {
2971          "tcId" : 293,
2972          "comment" : "Flipped bit 1 in tag",
2973          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
2974          "iv" : "000102030405060708090a0b",
2975          "msg" : "000102030405060708090a0b0c0d0e0f",
2976          "tag" : "5394f694237f3f36d66e04b352a96311",
2977          "result" : "invalid",
2978          "flags" : []
2979        },
2980        {
2981          "tcId" : 294,
2982          "comment" : "Flipped bit 7 in tag",
2983          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
2984          "iv" : "000102030405060708090a0b",
2985          "msg" : "0001020304050607",
2986          "tag" : "27c2f201d0dfea1987a9a9c68fe68516",
2987          "result" : "invalid",
2988          "flags" : []
2989        },
2990        {
2991          "tcId" : 295,
2992          "comment" : "Flipped bit 7 in tag",
2993          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
2994          "iv" : "000102030405060708090a0b",
2995          "msg" : "000102030405060708090a0b0c0d0e0f",
2996          "tag" : "d194f694237f3f36d66e04b352a96311",
2997          "result" : "invalid",
2998          "flags" : []
2999        },
3000        {
3001          "tcId" : 296,
3002          "comment" : "Flipped bit 8 in tag",
3003          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3004          "iv" : "000102030405060708090a0b",
3005          "msg" : "0001020304050607",
3006          "tag" : "a7c3f201d0dfea1987a9a9c68fe68516",
3007          "result" : "invalid",
3008          "flags" : []
3009        },
3010        {
3011          "tcId" : 297,
3012          "comment" : "Flipped bit 8 in tag",
3013          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3014          "iv" : "000102030405060708090a0b",
3015          "msg" : "000102030405060708090a0b0c0d0e0f",
3016          "tag" : "5195f694237f3f36d66e04b352a96311",
3017          "result" : "invalid",
3018          "flags" : []
3019        },
3020        {
3021          "tcId" : 298,
3022          "comment" : "Flipped bit 31 in tag",
3023          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3024          "iv" : "000102030405060708090a0b",
3025          "msg" : "0001020304050607",
3026          "tag" : "a7c2f281d0dfea1987a9a9c68fe68516",
3027          "result" : "invalid",
3028          "flags" : []
3029        },
3030        {
3031          "tcId" : 299,
3032          "comment" : "Flipped bit 31 in tag",
3033          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3034          "iv" : "000102030405060708090a0b",
3035          "msg" : "000102030405060708090a0b0c0d0e0f",
3036          "tag" : "5194f614237f3f36d66e04b352a96311",
3037          "result" : "invalid",
3038          "flags" : []
3039        },
3040        {
3041          "tcId" : 300,
3042          "comment" : "Flipped bit 32 in tag",
3043          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3044          "iv" : "000102030405060708090a0b",
3045          "msg" : "0001020304050607",
3046          "tag" : "a7c2f201d1dfea1987a9a9c68fe68516",
3047          "result" : "invalid",
3048          "flags" : []
3049        },
3050        {
3051          "tcId" : 301,
3052          "comment" : "Flipped bit 32 in tag",
3053          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3054          "iv" : "000102030405060708090a0b",
3055          "msg" : "000102030405060708090a0b0c0d0e0f",
3056          "tag" : "5194f694227f3f36d66e04b352a96311",
3057          "result" : "invalid",
3058          "flags" : []
3059        },
3060        {
3061          "tcId" : 302,
3062          "comment" : "Flipped bit 33 in tag",
3063          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3064          "iv" : "000102030405060708090a0b",
3065          "msg" : "0001020304050607",
3066          "tag" : "a7c2f201d2dfea1987a9a9c68fe68516",
3067          "result" : "invalid",
3068          "flags" : []
3069        },
3070        {
3071          "tcId" : 303,
3072          "comment" : "Flipped bit 33 in tag",
3073          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3074          "iv" : "000102030405060708090a0b",
3075          "msg" : "000102030405060708090a0b0c0d0e0f",
3076          "tag" : "5194f694217f3f36d66e04b352a96311",
3077          "result" : "invalid",
3078          "flags" : []
3079        },
3080        {
3081          "tcId" : 304,
3082          "comment" : "Flipped bit 63 in tag",
3083          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3084          "iv" : "000102030405060708090a0b",
3085          "msg" : "0001020304050607",
3086          "tag" : "a7c2f201d0dfea9987a9a9c68fe68516",
3087          "result" : "invalid",
3088          "flags" : []
3089        },
3090        {
3091          "tcId" : 305,
3092          "comment" : "Flipped bit 63 in tag",
3093          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3094          "iv" : "000102030405060708090a0b",
3095          "msg" : "000102030405060708090a0b0c0d0e0f",
3096          "tag" : "5194f694237f3fb6d66e04b352a96311",
3097          "result" : "invalid",
3098          "flags" : []
3099        },
3100        {
3101          "tcId" : 306,
3102          "comment" : "Flipped bit 64 in tag",
3103          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3104          "iv" : "000102030405060708090a0b",
3105          "msg" : "0001020304050607",
3106          "tag" : "a7c2f201d0dfea1986a9a9c68fe68516",
3107          "result" : "invalid",
3108          "flags" : []
3109        },
3110        {
3111          "tcId" : 307,
3112          "comment" : "Flipped bit 64 in tag",
3113          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3114          "iv" : "000102030405060708090a0b",
3115          "msg" : "000102030405060708090a0b0c0d0e0f",
3116          "tag" : "5194f694237f3f36d76e04b352a96311",
3117          "result" : "invalid",
3118          "flags" : []
3119        },
3120        {
3121          "tcId" : 308,
3122          "comment" : "Flipped bit 71 in tag",
3123          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3124          "iv" : "000102030405060708090a0b",
3125          "msg" : "0001020304050607",
3126          "tag" : "a7c2f201d0dfea1907a9a9c68fe68516",
3127          "result" : "invalid",
3128          "flags" : []
3129        },
3130        {
3131          "tcId" : 309,
3132          "comment" : "Flipped bit 71 in tag",
3133          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3134          "iv" : "000102030405060708090a0b",
3135          "msg" : "000102030405060708090a0b0c0d0e0f",
3136          "tag" : "5194f694237f3f36566e04b352a96311",
3137          "result" : "invalid",
3138          "flags" : []
3139        },
3140        {
3141          "tcId" : 310,
3142          "comment" : "Flipped bit 77 in tag",
3143          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3144          "iv" : "000102030405060708090a0b",
3145          "msg" : "0001020304050607",
3146          "tag" : "a7c2f201d0dfea198789a9c68fe68516",
3147          "result" : "invalid",
3148          "flags" : []
3149        },
3150        {
3151          "tcId" : 311,
3152          "comment" : "Flipped bit 77 in tag",
3153          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3154          "iv" : "000102030405060708090a0b",
3155          "msg" : "000102030405060708090a0b0c0d0e0f",
3156          "tag" : "5194f694237f3f36d64e04b352a96311",
3157          "result" : "invalid",
3158          "flags" : []
3159        },
3160        {
3161          "tcId" : 312,
3162          "comment" : "Flipped bit 80 in tag",
3163          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3164          "iv" : "000102030405060708090a0b",
3165          "msg" : "0001020304050607",
3166          "tag" : "a7c2f201d0dfea1987a9a8c68fe68516",
3167          "result" : "invalid",
3168          "flags" : []
3169        },
3170        {
3171          "tcId" : 313,
3172          "comment" : "Flipped bit 80 in tag",
3173          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3174          "iv" : "000102030405060708090a0b",
3175          "msg" : "000102030405060708090a0b0c0d0e0f",
3176          "tag" : "5194f694237f3f36d66e05b352a96311",
3177          "result" : "invalid",
3178          "flags" : []
3179        },
3180        {
3181          "tcId" : 314,
3182          "comment" : "Flipped bit 96 in tag",
3183          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3184          "iv" : "000102030405060708090a0b",
3185          "msg" : "0001020304050607",
3186          "tag" : "a7c2f201d0dfea1987a9a9c68ee68516",
3187          "result" : "invalid",
3188          "flags" : []
3189        },
3190        {
3191          "tcId" : 315,
3192          "comment" : "Flipped bit 96 in tag",
3193          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3194          "iv" : "000102030405060708090a0b",
3195          "msg" : "000102030405060708090a0b0c0d0e0f",
3196          "tag" : "5194f694237f3f36d66e04b353a96311",
3197          "result" : "invalid",
3198          "flags" : []
3199        },
3200        {
3201          "tcId" : 316,
3202          "comment" : "Flipped bit 97 in tag",
3203          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3204          "iv" : "000102030405060708090a0b",
3205          "msg" : "0001020304050607",
3206          "tag" : "a7c2f201d0dfea1987a9a9c68de68516",
3207          "result" : "invalid",
3208          "flags" : []
3209        },
3210        {
3211          "tcId" : 317,
3212          "comment" : "Flipped bit 97 in tag",
3213          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3214          "iv" : "000102030405060708090a0b",
3215          "msg" : "000102030405060708090a0b0c0d0e0f",
3216          "tag" : "5194f694237f3f36d66e04b350a96311",
3217          "result" : "invalid",
3218          "flags" : []
3219        },
3220        {
3221          "tcId" : 318,
3222          "comment" : "Flipped bit 103 in tag",
3223          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3224          "iv" : "000102030405060708090a0b",
3225          "msg" : "0001020304050607",
3226          "tag" : "a7c2f201d0dfea1987a9a9c60fe68516",
3227          "result" : "invalid",
3228          "flags" : []
3229        },
3230        {
3231          "tcId" : 319,
3232          "comment" : "Flipped bit 103 in tag",
3233          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3234          "iv" : "000102030405060708090a0b",
3235          "msg" : "000102030405060708090a0b0c0d0e0f",
3236          "tag" : "5194f694237f3f36d66e04b3d2a96311",
3237          "result" : "invalid",
3238          "flags" : []
3239        },
3240        {
3241          "tcId" : 320,
3242          "comment" : "Flipped bit 120 in tag",
3243          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3244          "iv" : "000102030405060708090a0b",
3245          "msg" : "0001020304050607",
3246          "tag" : "a7c2f201d0dfea1987a9a9c68fe68517",
3247          "result" : "invalid",
3248          "flags" : []
3249        },
3250        {
3251          "tcId" : 321,
3252          "comment" : "Flipped bit 120 in tag",
3253          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3254          "iv" : "000102030405060708090a0b",
3255          "msg" : "000102030405060708090a0b0c0d0e0f",
3256          "tag" : "5194f694237f3f36d66e04b352a96310",
3257          "result" : "invalid",
3258          "flags" : []
3259        },
3260        {
3261          "tcId" : 322,
3262          "comment" : "Flipped bit 121 in tag",
3263          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3264          "iv" : "000102030405060708090a0b",
3265          "msg" : "0001020304050607",
3266          "tag" : "a7c2f201d0dfea1987a9a9c68fe68514",
3267          "result" : "invalid",
3268          "flags" : []
3269        },
3270        {
3271          "tcId" : 323,
3272          "comment" : "Flipped bit 121 in tag",
3273          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3274          "iv" : "000102030405060708090a0b",
3275          "msg" : "000102030405060708090a0b0c0d0e0f",
3276          "tag" : "5194f694237f3f36d66e04b352a96313",
3277          "result" : "invalid",
3278          "flags" : []
3279        },
3280        {
3281          "tcId" : 324,
3282          "comment" : "Flipped bit 126 in tag",
3283          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3284          "iv" : "000102030405060708090a0b",
3285          "msg" : "0001020304050607",
3286          "tag" : "a7c2f201d0dfea1987a9a9c68fe68556",
3287          "result" : "invalid",
3288          "flags" : []
3289        },
3290        {
3291          "tcId" : 325,
3292          "comment" : "Flipped bit 126 in tag",
3293          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3294          "iv" : "000102030405060708090a0b",
3295          "msg" : "000102030405060708090a0b0c0d0e0f",
3296          "tag" : "5194f694237f3f36d66e04b352a96351",
3297          "result" : "invalid",
3298          "flags" : []
3299        },
3300        {
3301          "tcId" : 326,
3302          "comment" : "Flipped bit 127 in tag",
3303          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3304          "iv" : "000102030405060708090a0b",
3305          "msg" : "0001020304050607",
3306          "tag" : "a7c2f201d0dfea1987a9a9c68fe68596",
3307          "result" : "invalid",
3308          "flags" : []
3309        },
3310        {
3311          "tcId" : 327,
3312          "comment" : "Flipped bit 127 in tag",
3313          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3314          "iv" : "000102030405060708090a0b",
3315          "msg" : "000102030405060708090a0b0c0d0e0f",
3316          "tag" : "5194f694237f3f36d66e04b352a96391",
3317          "result" : "invalid",
3318          "flags" : []
3319        },
3320        {
3321          "tcId" : 328,
3322          "comment" : "Flipped bits 0 and 64 in tag",
3323          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3324          "iv" : "000102030405060708090a0b",
3325          "msg" : "0001020304050607",
3326          "tag" : "a6c2f201d0dfea1986a9a9c68fe68516",
3327          "result" : "invalid",
3328          "flags" : []
3329        },
3330        {
3331          "tcId" : 329,
3332          "comment" : "Flipped bits 0 and 64 in tag",
3333          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3334          "iv" : "000102030405060708090a0b",
3335          "msg" : "000102030405060708090a0b0c0d0e0f",
3336          "tag" : "5094f694237f3f36d76e04b352a96311",
3337          "result" : "invalid",
3338          "flags" : []
3339        },
3340        {
3341          "tcId" : 330,
3342          "comment" : "Flipped bits 31 and 63 in tag",
3343          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3344          "iv" : "000102030405060708090a0b",
3345          "msg" : "0001020304050607",
3346          "tag" : "a7c2f281d0dfea9987a9a9c68fe68516",
3347          "result" : "invalid",
3348          "flags" : []
3349        },
3350        {
3351          "tcId" : 331,
3352          "comment" : "Flipped bits 31 and 63 in tag",
3353          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3354          "iv" : "000102030405060708090a0b",
3355          "msg" : "000102030405060708090a0b0c0d0e0f",
3356          "tag" : "5194f614237f3fb6d66e04b352a96311",
3357          "result" : "invalid",
3358          "flags" : []
3359        },
3360        {
3361          "tcId" : 332,
3362          "comment" : "Flipped bits 63 and 127 in tag",
3363          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3364          "iv" : "000102030405060708090a0b",
3365          "msg" : "0001020304050607",
3366          "tag" : "a7c2f201d0dfea9987a9a9c68fe68596",
3367          "result" : "invalid",
3368          "flags" : []
3369        },
3370        {
3371          "tcId" : 333,
3372          "comment" : "Flipped bits 63 and 127 in tag",
3373          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3374          "iv" : "000102030405060708090a0b",
3375          "msg" : "000102030405060708090a0b0c0d0e0f",
3376          "tag" : "5194f694237f3fb6d66e04b352a96391",
3377          "result" : "invalid",
3378          "flags" : []
3379        },
3380        {
3381          "tcId" : 334,
3382          "comment" : "all bits of tag flipped",
3383          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3384          "iv" : "000102030405060708090a0b",
3385          "msg" : "0001020304050607",
3386          "tag" : "583d0dfe2f2015e67856563970197ae9",
3387          "result" : "invalid",
3388          "flags" : []
3389        },
3390        {
3391          "tcId" : 335,
3392          "comment" : "all bits of tag flipped",
3393          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3394          "iv" : "000102030405060708090a0b",
3395          "msg" : "000102030405060708090a0b0c0d0e0f",
3396          "tag" : "ae6b096bdc80c0c92991fb4cad569cee",
3397          "result" : "invalid",
3398          "flags" : []
3399        },
3400        {
3401          "tcId" : 336,
3402          "comment" : "Tag changed to all zero",
3403          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3404          "iv" : "000102030405060708090a0b",
3405          "msg" : "0001020304050607",
3406          "tag" : "00000000000000000000000000000000",
3407          "result" : "invalid",
3408          "flags" : []
3409        },
3410        {
3411          "tcId" : 337,
3412          "comment" : "Tag changed to all zero",
3413          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3414          "iv" : "000102030405060708090a0b",
3415          "msg" : "000102030405060708090a0b0c0d0e0f",
3416          "tag" : "00000000000000000000000000000000",
3417          "result" : "invalid",
3418          "flags" : []
3419        },
3420        {
3421          "tcId" : 338,
3422          "comment" : "tag changed to all 1",
3423          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3424          "iv" : "000102030405060708090a0b",
3425          "msg" : "0001020304050607",
3426          "tag" : "ffffffffffffffffffffffffffffffff",
3427          "result" : "invalid",
3428          "flags" : []
3429        },
3430        {
3431          "tcId" : 339,
3432          "comment" : "tag changed to all 1",
3433          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3434          "iv" : "000102030405060708090a0b",
3435          "msg" : "000102030405060708090a0b0c0d0e0f",
3436          "tag" : "ffffffffffffffffffffffffffffffff",
3437          "result" : "invalid",
3438          "flags" : []
3439        },
3440        {
3441          "tcId" : 340,
3442          "comment" : "msbs changed in tag",
3443          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3444          "iv" : "000102030405060708090a0b",
3445          "msg" : "0001020304050607",
3446          "tag" : "27427281505f6a99072929460f660596",
3447          "result" : "invalid",
3448          "flags" : []
3449        },
3450        {
3451          "tcId" : 341,
3452          "comment" : "msbs changed in tag",
3453          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3454          "iv" : "000102030405060708090a0b",
3455          "msg" : "000102030405060708090a0b0c0d0e0f",
3456          "tag" : "d1147614a3ffbfb656ee8433d229e391",
3457          "result" : "invalid",
3458          "flags" : []
3459        },
3460        {
3461          "tcId" : 342,
3462          "comment" : "lsbs changed in tag",
3463          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3464          "iv" : "000102030405060708090a0b",
3465          "msg" : "0001020304050607",
3466          "tag" : "a6c3f300d1deeb1886a8a8c78ee78417",
3467          "result" : "invalid",
3468          "flags" : []
3469        },
3470        {
3471          "tcId" : 343,
3472          "comment" : "lsbs changed in tag",
3473          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3474          "iv" : "000102030405060708090a0b",
3475          "msg" : "000102030405060708090a0b0c0d0e0f",
3476          "tag" : "5095f795227e3e37d76f05b253a86210",
3477          "result" : "invalid",
3478          "flags" : []
3479        },
3480        {
3481          "tcId" : 344,
3482          "comment" : "special case",
3483          "key" : "79edd440cc8a32b8b6d46305c4ce363465850e28bac4b5f6400fcca90e3af0af",
3484          "iv" : "305726285d7b1f622a379107",
3485          "msg" : "81db9cba83d9704f30db6732a00821bd",
3486          "tag" : "00000000000000000000000000000000",
3487          "result" : "valid",
3488          "flags" : []
3489        },
3490        {
3491          "tcId" : 345,
3492          "comment" : "special case",
3493          "key" : "79edd440cc8a32b8b6d46305c4ce363465850e28bac4b5f6400fcca90e3af0af",
3494          "iv" : "305726285d7b1f622a379107",
3495          "msg" : "3778dbc5c2e8c0e062249c79211e6452",
3496          "tag" : "ffffffffffffffffffffffffffffffff",
3497          "result" : "valid",
3498          "flags" : []
3499        }
3500      ]
3501    },
3502    {
3503      "ivSize" : 128,
3504      "keySize" : 256,
3505      "tagSize" : 128,
3506      "type" : "MacWithIvTest",
3507      "tests" : [
3508        {
3509          "tcId" : 346,
3510          "comment" : "empty message",
3511          "key" : "71089635a9d7d3566e8ee2221cd15960bd83d18c3034523601ed51483c792810",
3512          "iv" : "e7e2e565cb4c29916cf523bf32f9c8f8",
3513          "msg" : "",
3514          "tag" : "167b6a32c4ac98fe73bfafe464ba8cd2",
3515          "result" : "valid",
3516          "flags" : []
3517        },
3518        {
3519          "tcId" : 347,
3520          "comment" : "short message",
3521          "key" : "262f1c9504ff7967ac503015e397ff30ab0e88ff74bcd0df34411f110f60cbae",
3522          "iv" : "dbc01da6e51148187e95383625ecb0f1",
3523          "msg" : "2c",
3524          "tag" : "966a58802c3057281278a87520862190",
3525          "result" : "valid",
3526          "flags" : []
3527        },
3528        {
3529          "tcId" : 348,
3530          "comment" : "short message",
3531          "key" : "b80e8877e3f02e5a1b92ee64b80a7aeb1be3b01848afbd8b10acf3468fa71c95",
3532          "iv" : "26ba261fd1e89548d81908e5a74c1111",
3533          "msg" : "4012",
3534          "tag" : "a15798c2751459ce9c1e7e358eac0b06",
3535          "result" : "valid",
3536          "flags" : []
3537        },
3538        {
3539          "tcId" : 349,
3540          "comment" : "short message",
3541          "key" : "3a4affa44c51edb81de16768dc8d6d99bd364231c445b0faac6ea2878d41f825",
3542          "iv" : "10809dea9b6bf59a16f744e3699e0682",
3543          "msg" : "337c5ba3",
3544          "tag" : "863f2e17d4143a34883e0f5ca9b0d6c5",
3545          "result" : "valid",
3546          "flags" : []
3547        },
3548        {
3549          "tcId" : 350,
3550          "comment" : "short message",
3551          "key" : "c114774832bbec1702745574540bb1d004485194b8cb2c4c159c26ef214818c6",
3552          "iv" : "b644c294e15021d1bc95447859cec0bf",
3553          "msg" : "dd19d07e15ccd8",
3554          "tag" : "5f94e8f441c722b8577460d83133930d",
3555          "result" : "valid",
3556          "flags" : []
3557        },
3558        {
3559          "tcId" : 351,
3560          "comment" : "short message",
3561          "key" : "9e98bffd38392268a9ea7c1b8aed18586666cc419c0386090ff870c4597e1a51",
3562          "iv" : "9ec3b1f1cfa97ba60faee6cf12024f68",
3563          "msg" : "3f9c923bf38343a8",
3564          "tag" : "de5ba44c9f617a16322f087a4921ad26",
3565          "result" : "valid",
3566          "flags" : []
3567        },
3568        {
3569          "tcId" : 352,
3570          "comment" : "short message",
3571          "key" : "e6d5913e00cd10f2d1168dc66f45af511d1611cc1731c0c5389a99af8ad7c406",
3572          "iv" : "04f449b5f094c721d9aa2f9702fe74b2",
3573          "msg" : "abb1bd62140a6eebff9a1862bc37d1",
3574          "tag" : "c479cfd3c34150943976ecdd5394d492",
3575          "result" : "valid",
3576          "flags" : []
3577        },
3578        {
3579          "tcId" : 353,
3580          "comment" : "short message",
3581          "key" : "84675ed6eba925690f1cc21a69c8943b82e3443a0b282301bc7b6bf2baf6b229",
3582          "iv" : "026ea87e04e04eadafba49ca4eac610e",
3583          "msg" : "992219d1bc60ba0e1ba72db857c9cf80",
3584          "tag" : "813f5be95d2c66412df7122ffcc981a7",
3585          "result" : "valid",
3586          "flags" : []
3587        },
3588        {
3589          "tcId" : 354,
3590          "comment" : "short message",
3591          "key" : "aff902ddaf53dbb07ec0d061bb2666b784dbf83866a40f098d53bc6ba321c231",
3592          "iv" : "8cb253af95909083a5736c7100c1f297",
3593          "msg" : "607542e0f736fd4c8ad349cfb17307b1c6",
3594          "tag" : "d91a6fc3110c4f82ad5f3178e06e724d",
3595          "result" : "valid",
3596          "flags" : []
3597        },
3598        {
3599          "tcId" : 355,
3600          "comment" : "short message",
3601          "key" : "49077ee56e7aad04d90275b686d9cc3a99afbbbfad5c0af1d118dbd9bb6b04bf",
3602          "iv" : "a20c60c260f1aecbb2d22ec8829bf9f6",
3603          "msg" : "8afcbac97ba9e99ce0126ba01869931d041ca81f49d8093a",
3604          "tag" : "d94e5c57fc364222ad35be5b9e3d9a87",
3605          "result" : "valid",
3606          "flags" : []
3607        },
3608        {
3609          "tcId" : 356,
3610          "comment" : "long message",
3611          "key" : "7e4c3e47b97fa6362fe7f660d291672e66b553589e19404b5c90a2ff43846914",
3612          "iv" : "2800c4ab25d2b562ce76a35c03542f66",
3613          "msg" : "0ef9d4bbb9edd52c6e4d2e1df084c3da0411fbd960f9793f875bd8c1bc751c7d78c00718ce344e11a6fb1487634edbfe52af804c65a46e918bdc6aee98bee31f0b987ade33a0976e1db266b2c133453e027bd865199817df2689ac09a759d3be195cd456528abdef2f6938f871e255d0d04e130e190b93452198c85b0e0b9fc0ce",
3614          "tag" : "dd37b1cc99a48145416336b61d3b1f39",
3615          "result" : "valid",
3616          "flags" : []
3617        },
3618        {
3619          "tcId" : 357,
3620          "comment" : "long message",
3621          "key" : "3cfa7ae7450ca9d51450d481f6a8d42a4254070dd88df34e9d43028fad1dad90",
3622          "iv" : "8b711c1b5b5014f31c3fb5183e096fcd",
3623          "msg" : "03921ac57a1012fa1f5b99fc96f181d7c7172903e80b52e7b968a2dc9605ec390783cfb8be867e6eabfca39cef4d1c53d43ee61b189635d39a779e00d4dc542811c11a3b8803e57299314ef0b311993fa1570ec28a9a83fe2cc959c6d30e1daaa71c81735484c61a05f9451e49411bc633b5e7e638bae7e3c90746e8e1ef796d349e5c9000c87efabf3373a9b52cea26995af3cd7cf984b79acb7937f41cd4afe867c37781dba275c4176ee1a3fe7de11bb86e2872465ee8b494ca6498c23478e31b451f3828882bccf04d8329fb7d35a49039c454b68f8fd27cebee84ccd719c5741f57e6a935fe3e95ef47fda7b090728f811b0b063e508761d49f263ffcf2",
3624          "tag" : "3bf9efd95102a419d06d75d3af5da63c",
3625          "result" : "valid",
3626          "flags" : []
3627        },
3628        {
3629          "tcId" : 358,
3630          "comment" : "long message",
3631          "key" : "9ce7b1d93f411a38d413f633f90cd44934a076d64634b47b9f1bcbedc407e3b5",
3632          "iv" : "6eee906c6fe26bcb3e630e49b7517633",
3633          "msg" : "e84aa28713dc0f029826998b18cce895ccfef5de601ca1bc5a6f4b861ae385031f89dd3252c0afcdfd5dce8703ef1252bc9cf533857e16e280bd8f0c1ccf1de2cf88e53e0f2754cad261f152b644c6db0987c8b1059c1ef34aaf5730ecea80beec84262ebdf97262193a4e04305d82132e80f33032d6ac43886f39d7c686509552a8a72efa65811aeefb8206fd02bd8cd9fa90f736a29cc1e78fa7b327707eb475d70ca92a4e39667bed7fed3ceb6085aef130a2c0b0f982eb01fdcf9cddbf33a679455d16905a0fd64d527106590eb4151a62f3c65fb91f5fe0026246a5182fca778e43043f6618e5737e8fe8d882d2a1162c5f65f820ce99ad44327dcfcb54bbd589faa329ad295700724bf7455d97febfb25db9",
3634          "tag" : "970bf236c7576c977fdcf72c5db62776",
3635          "result" : "valid",
3636          "flags" : []
3637        },
3638        {
3639          "tcId" : 359,
3640          "comment" : "Flipped bit 0 in tag",
3641          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3642          "iv" : "000102030405060708090a0b0c0d0e0f",
3643          "msg" : "0001020304050607",
3644          "tag" : "4de2089975dbbd0650c641aaa6706363",
3645          "result" : "invalid",
3646          "flags" : []
3647        },
3648        {
3649          "tcId" : 360,
3650          "comment" : "Flipped bit 0 in tag",
3651          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3652          "iv" : "000102030405060708090a0b0c0d0e0f",
3653          "msg" : "000102030405060708090a0b0c0d0e0f",
3654          "tag" : "bbb40c0c867b68290101ecdf7b3f8564",
3655          "result" : "invalid",
3656          "flags" : []
3657        },
3658        {
3659          "tcId" : 361,
3660          "comment" : "Flipped bit 1 in tag",
3661          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3662          "iv" : "000102030405060708090a0b0c0d0e0f",
3663          "msg" : "0001020304050607",
3664          "tag" : "4ee2089975dbbd0650c641aaa6706363",
3665          "result" : "invalid",
3666          "flags" : []
3667        },
3668        {
3669          "tcId" : 362,
3670          "comment" : "Flipped bit 1 in tag",
3671          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3672          "iv" : "000102030405060708090a0b0c0d0e0f",
3673          "msg" : "000102030405060708090a0b0c0d0e0f",
3674          "tag" : "b8b40c0c867b68290101ecdf7b3f8564",
3675          "result" : "invalid",
3676          "flags" : []
3677        },
3678        {
3679          "tcId" : 363,
3680          "comment" : "Flipped bit 7 in tag",
3681          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3682          "iv" : "000102030405060708090a0b0c0d0e0f",
3683          "msg" : "0001020304050607",
3684          "tag" : "cce2089975dbbd0650c641aaa6706363",
3685          "result" : "invalid",
3686          "flags" : []
3687        },
3688        {
3689          "tcId" : 364,
3690          "comment" : "Flipped bit 7 in tag",
3691          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3692          "iv" : "000102030405060708090a0b0c0d0e0f",
3693          "msg" : "000102030405060708090a0b0c0d0e0f",
3694          "tag" : "3ab40c0c867b68290101ecdf7b3f8564",
3695          "result" : "invalid",
3696          "flags" : []
3697        },
3698        {
3699          "tcId" : 365,
3700          "comment" : "Flipped bit 8 in tag",
3701          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3702          "iv" : "000102030405060708090a0b0c0d0e0f",
3703          "msg" : "0001020304050607",
3704          "tag" : "4ce3089975dbbd0650c641aaa6706363",
3705          "result" : "invalid",
3706          "flags" : []
3707        },
3708        {
3709          "tcId" : 366,
3710          "comment" : "Flipped bit 8 in tag",
3711          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3712          "iv" : "000102030405060708090a0b0c0d0e0f",
3713          "msg" : "000102030405060708090a0b0c0d0e0f",
3714          "tag" : "bab50c0c867b68290101ecdf7b3f8564",
3715          "result" : "invalid",
3716          "flags" : []
3717        },
3718        {
3719          "tcId" : 367,
3720          "comment" : "Flipped bit 31 in tag",
3721          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3722          "iv" : "000102030405060708090a0b0c0d0e0f",
3723          "msg" : "0001020304050607",
3724          "tag" : "4ce2081975dbbd0650c641aaa6706363",
3725          "result" : "invalid",
3726          "flags" : []
3727        },
3728        {
3729          "tcId" : 368,
3730          "comment" : "Flipped bit 31 in tag",
3731          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3732          "iv" : "000102030405060708090a0b0c0d0e0f",
3733          "msg" : "000102030405060708090a0b0c0d0e0f",
3734          "tag" : "bab40c8c867b68290101ecdf7b3f8564",
3735          "result" : "invalid",
3736          "flags" : []
3737        },
3738        {
3739          "tcId" : 369,
3740          "comment" : "Flipped bit 32 in tag",
3741          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3742          "iv" : "000102030405060708090a0b0c0d0e0f",
3743          "msg" : "0001020304050607",
3744          "tag" : "4ce2089974dbbd0650c641aaa6706363",
3745          "result" : "invalid",
3746          "flags" : []
3747        },
3748        {
3749          "tcId" : 370,
3750          "comment" : "Flipped bit 32 in tag",
3751          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3752          "iv" : "000102030405060708090a0b0c0d0e0f",
3753          "msg" : "000102030405060708090a0b0c0d0e0f",
3754          "tag" : "bab40c0c877b68290101ecdf7b3f8564",
3755          "result" : "invalid",
3756          "flags" : []
3757        },
3758        {
3759          "tcId" : 371,
3760          "comment" : "Flipped bit 33 in tag",
3761          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3762          "iv" : "000102030405060708090a0b0c0d0e0f",
3763          "msg" : "0001020304050607",
3764          "tag" : "4ce2089977dbbd0650c641aaa6706363",
3765          "result" : "invalid",
3766          "flags" : []
3767        },
3768        {
3769          "tcId" : 372,
3770          "comment" : "Flipped bit 33 in tag",
3771          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3772          "iv" : "000102030405060708090a0b0c0d0e0f",
3773          "msg" : "000102030405060708090a0b0c0d0e0f",
3774          "tag" : "bab40c0c847b68290101ecdf7b3f8564",
3775          "result" : "invalid",
3776          "flags" : []
3777        },
3778        {
3779          "tcId" : 373,
3780          "comment" : "Flipped bit 63 in tag",
3781          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3782          "iv" : "000102030405060708090a0b0c0d0e0f",
3783          "msg" : "0001020304050607",
3784          "tag" : "4ce2089975dbbd8650c641aaa6706363",
3785          "result" : "invalid",
3786          "flags" : []
3787        },
3788        {
3789          "tcId" : 374,
3790          "comment" : "Flipped bit 63 in tag",
3791          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3792          "iv" : "000102030405060708090a0b0c0d0e0f",
3793          "msg" : "000102030405060708090a0b0c0d0e0f",
3794          "tag" : "bab40c0c867b68a90101ecdf7b3f8564",
3795          "result" : "invalid",
3796          "flags" : []
3797        },
3798        {
3799          "tcId" : 375,
3800          "comment" : "Flipped bit 64 in tag",
3801          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3802          "iv" : "000102030405060708090a0b0c0d0e0f",
3803          "msg" : "0001020304050607",
3804          "tag" : "4ce2089975dbbd0651c641aaa6706363",
3805          "result" : "invalid",
3806          "flags" : []
3807        },
3808        {
3809          "tcId" : 376,
3810          "comment" : "Flipped bit 64 in tag",
3811          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3812          "iv" : "000102030405060708090a0b0c0d0e0f",
3813          "msg" : "000102030405060708090a0b0c0d0e0f",
3814          "tag" : "bab40c0c867b68290001ecdf7b3f8564",
3815          "result" : "invalid",
3816          "flags" : []
3817        },
3818        {
3819          "tcId" : 377,
3820          "comment" : "Flipped bit 71 in tag",
3821          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3822          "iv" : "000102030405060708090a0b0c0d0e0f",
3823          "msg" : "0001020304050607",
3824          "tag" : "4ce2089975dbbd06d0c641aaa6706363",
3825          "result" : "invalid",
3826          "flags" : []
3827        },
3828        {
3829          "tcId" : 378,
3830          "comment" : "Flipped bit 71 in tag",
3831          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3832          "iv" : "000102030405060708090a0b0c0d0e0f",
3833          "msg" : "000102030405060708090a0b0c0d0e0f",
3834          "tag" : "bab40c0c867b68298101ecdf7b3f8564",
3835          "result" : "invalid",
3836          "flags" : []
3837        },
3838        {
3839          "tcId" : 379,
3840          "comment" : "Flipped bit 77 in tag",
3841          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3842          "iv" : "000102030405060708090a0b0c0d0e0f",
3843          "msg" : "0001020304050607",
3844          "tag" : "4ce2089975dbbd0650e641aaa6706363",
3845          "result" : "invalid",
3846          "flags" : []
3847        },
3848        {
3849          "tcId" : 380,
3850          "comment" : "Flipped bit 77 in tag",
3851          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3852          "iv" : "000102030405060708090a0b0c0d0e0f",
3853          "msg" : "000102030405060708090a0b0c0d0e0f",
3854          "tag" : "bab40c0c867b68290121ecdf7b3f8564",
3855          "result" : "invalid",
3856          "flags" : []
3857        },
3858        {
3859          "tcId" : 381,
3860          "comment" : "Flipped bit 80 in tag",
3861          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3862          "iv" : "000102030405060708090a0b0c0d0e0f",
3863          "msg" : "0001020304050607",
3864          "tag" : "4ce2089975dbbd0650c640aaa6706363",
3865          "result" : "invalid",
3866          "flags" : []
3867        },
3868        {
3869          "tcId" : 382,
3870          "comment" : "Flipped bit 80 in tag",
3871          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3872          "iv" : "000102030405060708090a0b0c0d0e0f",
3873          "msg" : "000102030405060708090a0b0c0d0e0f",
3874          "tag" : "bab40c0c867b68290101eddf7b3f8564",
3875          "result" : "invalid",
3876          "flags" : []
3877        },
3878        {
3879          "tcId" : 383,
3880          "comment" : "Flipped bit 96 in tag",
3881          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3882          "iv" : "000102030405060708090a0b0c0d0e0f",
3883          "msg" : "0001020304050607",
3884          "tag" : "4ce2089975dbbd0650c641aaa7706363",
3885          "result" : "invalid",
3886          "flags" : []
3887        },
3888        {
3889          "tcId" : 384,
3890          "comment" : "Flipped bit 96 in tag",
3891          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3892          "iv" : "000102030405060708090a0b0c0d0e0f",
3893          "msg" : "000102030405060708090a0b0c0d0e0f",
3894          "tag" : "bab40c0c867b68290101ecdf7a3f8564",
3895          "result" : "invalid",
3896          "flags" : []
3897        },
3898        {
3899          "tcId" : 385,
3900          "comment" : "Flipped bit 97 in tag",
3901          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3902          "iv" : "000102030405060708090a0b0c0d0e0f",
3903          "msg" : "0001020304050607",
3904          "tag" : "4ce2089975dbbd0650c641aaa4706363",
3905          "result" : "invalid",
3906          "flags" : []
3907        },
3908        {
3909          "tcId" : 386,
3910          "comment" : "Flipped bit 97 in tag",
3911          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3912          "iv" : "000102030405060708090a0b0c0d0e0f",
3913          "msg" : "000102030405060708090a0b0c0d0e0f",
3914          "tag" : "bab40c0c867b68290101ecdf793f8564",
3915          "result" : "invalid",
3916          "flags" : []
3917        },
3918        {
3919          "tcId" : 387,
3920          "comment" : "Flipped bit 103 in tag",
3921          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3922          "iv" : "000102030405060708090a0b0c0d0e0f",
3923          "msg" : "0001020304050607",
3924          "tag" : "4ce2089975dbbd0650c641aa26706363",
3925          "result" : "invalid",
3926          "flags" : []
3927        },
3928        {
3929          "tcId" : 388,
3930          "comment" : "Flipped bit 103 in tag",
3931          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3932          "iv" : "000102030405060708090a0b0c0d0e0f",
3933          "msg" : "000102030405060708090a0b0c0d0e0f",
3934          "tag" : "bab40c0c867b68290101ecdffb3f8564",
3935          "result" : "invalid",
3936          "flags" : []
3937        },
3938        {
3939          "tcId" : 389,
3940          "comment" : "Flipped bit 120 in tag",
3941          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3942          "iv" : "000102030405060708090a0b0c0d0e0f",
3943          "msg" : "0001020304050607",
3944          "tag" : "4ce2089975dbbd0650c641aaa6706362",
3945          "result" : "invalid",
3946          "flags" : []
3947        },
3948        {
3949          "tcId" : 390,
3950          "comment" : "Flipped bit 120 in tag",
3951          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3952          "iv" : "000102030405060708090a0b0c0d0e0f",
3953          "msg" : "000102030405060708090a0b0c0d0e0f",
3954          "tag" : "bab40c0c867b68290101ecdf7b3f8565",
3955          "result" : "invalid",
3956          "flags" : []
3957        },
3958        {
3959          "tcId" : 391,
3960          "comment" : "Flipped bit 121 in tag",
3961          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3962          "iv" : "000102030405060708090a0b0c0d0e0f",
3963          "msg" : "0001020304050607",
3964          "tag" : "4ce2089975dbbd0650c641aaa6706361",
3965          "result" : "invalid",
3966          "flags" : []
3967        },
3968        {
3969          "tcId" : 392,
3970          "comment" : "Flipped bit 121 in tag",
3971          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3972          "iv" : "000102030405060708090a0b0c0d0e0f",
3973          "msg" : "000102030405060708090a0b0c0d0e0f",
3974          "tag" : "bab40c0c867b68290101ecdf7b3f8566",
3975          "result" : "invalid",
3976          "flags" : []
3977        },
3978        {
3979          "tcId" : 393,
3980          "comment" : "Flipped bit 126 in tag",
3981          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3982          "iv" : "000102030405060708090a0b0c0d0e0f",
3983          "msg" : "0001020304050607",
3984          "tag" : "4ce2089975dbbd0650c641aaa6706323",
3985          "result" : "invalid",
3986          "flags" : []
3987        },
3988        {
3989          "tcId" : 394,
3990          "comment" : "Flipped bit 126 in tag",
3991          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
3992          "iv" : "000102030405060708090a0b0c0d0e0f",
3993          "msg" : "000102030405060708090a0b0c0d0e0f",
3994          "tag" : "bab40c0c867b68290101ecdf7b3f8524",
3995          "result" : "invalid",
3996          "flags" : []
3997        },
3998        {
3999          "tcId" : 395,
4000          "comment" : "Flipped bit 127 in tag",
4001          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4002          "iv" : "000102030405060708090a0b0c0d0e0f",
4003          "msg" : "0001020304050607",
4004          "tag" : "4ce2089975dbbd0650c641aaa67063e3",
4005          "result" : "invalid",
4006          "flags" : []
4007        },
4008        {
4009          "tcId" : 396,
4010          "comment" : "Flipped bit 127 in tag",
4011          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4012          "iv" : "000102030405060708090a0b0c0d0e0f",
4013          "msg" : "000102030405060708090a0b0c0d0e0f",
4014          "tag" : "bab40c0c867b68290101ecdf7b3f85e4",
4015          "result" : "invalid",
4016          "flags" : []
4017        },
4018        {
4019          "tcId" : 397,
4020          "comment" : "Flipped bits 0 and 64 in tag",
4021          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4022          "iv" : "000102030405060708090a0b0c0d0e0f",
4023          "msg" : "0001020304050607",
4024          "tag" : "4de2089975dbbd0651c641aaa6706363",
4025          "result" : "invalid",
4026          "flags" : []
4027        },
4028        {
4029          "tcId" : 398,
4030          "comment" : "Flipped bits 0 and 64 in tag",
4031          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4032          "iv" : "000102030405060708090a0b0c0d0e0f",
4033          "msg" : "000102030405060708090a0b0c0d0e0f",
4034          "tag" : "bbb40c0c867b68290001ecdf7b3f8564",
4035          "result" : "invalid",
4036          "flags" : []
4037        },
4038        {
4039          "tcId" : 399,
4040          "comment" : "Flipped bits 31 and 63 in tag",
4041          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4042          "iv" : "000102030405060708090a0b0c0d0e0f",
4043          "msg" : "0001020304050607",
4044          "tag" : "4ce2081975dbbd8650c641aaa6706363",
4045          "result" : "invalid",
4046          "flags" : []
4047        },
4048        {
4049          "tcId" : 400,
4050          "comment" : "Flipped bits 31 and 63 in tag",
4051          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4052          "iv" : "000102030405060708090a0b0c0d0e0f",
4053          "msg" : "000102030405060708090a0b0c0d0e0f",
4054          "tag" : "bab40c8c867b68a90101ecdf7b3f8564",
4055          "result" : "invalid",
4056          "flags" : []
4057        },
4058        {
4059          "tcId" : 401,
4060          "comment" : "Flipped bits 63 and 127 in tag",
4061          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4062          "iv" : "000102030405060708090a0b0c0d0e0f",
4063          "msg" : "0001020304050607",
4064          "tag" : "4ce2089975dbbd8650c641aaa67063e3",
4065          "result" : "invalid",
4066          "flags" : []
4067        },
4068        {
4069          "tcId" : 402,
4070          "comment" : "Flipped bits 63 and 127 in tag",
4071          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4072          "iv" : "000102030405060708090a0b0c0d0e0f",
4073          "msg" : "000102030405060708090a0b0c0d0e0f",
4074          "tag" : "bab40c0c867b68a90101ecdf7b3f85e4",
4075          "result" : "invalid",
4076          "flags" : []
4077        },
4078        {
4079          "tcId" : 403,
4080          "comment" : "all bits of tag flipped",
4081          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4082          "iv" : "000102030405060708090a0b0c0d0e0f",
4083          "msg" : "0001020304050607",
4084          "tag" : "b31df7668a2442f9af39be55598f9c9c",
4085          "result" : "invalid",
4086          "flags" : []
4087        },
4088        {
4089          "tcId" : 404,
4090          "comment" : "all bits of tag flipped",
4091          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4092          "iv" : "000102030405060708090a0b0c0d0e0f",
4093          "msg" : "000102030405060708090a0b0c0d0e0f",
4094          "tag" : "454bf3f3798497d6fefe132084c07a9b",
4095          "result" : "invalid",
4096          "flags" : []
4097        },
4098        {
4099          "tcId" : 405,
4100          "comment" : "Tag changed to all zero",
4101          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4102          "iv" : "000102030405060708090a0b0c0d0e0f",
4103          "msg" : "0001020304050607",
4104          "tag" : "00000000000000000000000000000000",
4105          "result" : "invalid",
4106          "flags" : []
4107        },
4108        {
4109          "tcId" : 406,
4110          "comment" : "Tag changed to all zero",
4111          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4112          "iv" : "000102030405060708090a0b0c0d0e0f",
4113          "msg" : "000102030405060708090a0b0c0d0e0f",
4114          "tag" : "00000000000000000000000000000000",
4115          "result" : "invalid",
4116          "flags" : []
4117        },
4118        {
4119          "tcId" : 407,
4120          "comment" : "tag changed to all 1",
4121          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4122          "iv" : "000102030405060708090a0b0c0d0e0f",
4123          "msg" : "0001020304050607",
4124          "tag" : "ffffffffffffffffffffffffffffffff",
4125          "result" : "invalid",
4126          "flags" : []
4127        },
4128        {
4129          "tcId" : 408,
4130          "comment" : "tag changed to all 1",
4131          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4132          "iv" : "000102030405060708090a0b0c0d0e0f",
4133          "msg" : "000102030405060708090a0b0c0d0e0f",
4134          "tag" : "ffffffffffffffffffffffffffffffff",
4135          "result" : "invalid",
4136          "flags" : []
4137        },
4138        {
4139          "tcId" : 409,
4140          "comment" : "msbs changed in tag",
4141          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4142          "iv" : "000102030405060708090a0b0c0d0e0f",
4143          "msg" : "0001020304050607",
4144          "tag" : "cc628819f55b3d86d046c12a26f0e3e3",
4145          "result" : "invalid",
4146          "flags" : []
4147        },
4148        {
4149          "tcId" : 410,
4150          "comment" : "msbs changed in tag",
4151          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4152          "iv" : "000102030405060708090a0b0c0d0e0f",
4153          "msg" : "000102030405060708090a0b0c0d0e0f",
4154          "tag" : "3a348c8c06fbe8a981816c5ffbbf05e4",
4155          "result" : "invalid",
4156          "flags" : []
4157        },
4158        {
4159          "tcId" : 411,
4160          "comment" : "lsbs changed in tag",
4161          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4162          "iv" : "000102030405060708090a0b0c0d0e0f",
4163          "msg" : "0001020304050607",
4164          "tag" : "4de3099874dabc0751c740aba7716262",
4165          "result" : "invalid",
4166          "flags" : []
4167        },
4168        {
4169          "tcId" : 412,
4170          "comment" : "lsbs changed in tag",
4171          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
4172          "iv" : "000102030405060708090a0b0c0d0e0f",
4173          "msg" : "000102030405060708090a0b0c0d0e0f",
4174          "tag" : "bbb50d0d877a69280000edde7a3e8465",
4175          "result" : "invalid",
4176          "flags" : []
4177        },
4178        {
4179          "tcId" : 413,
4180          "comment" : "special case",
4181          "key" : "afb806353760e59a08bd7870edebced4b8723ee31d7d4f961e4ef2186a7d3abf",
4182          "iv" : "3b4452ecb8a0b1772c0e50c1f59409bf",
4183          "msg" : "9c33f842dba5153e8d65b91777112c69",
4184          "tag" : "00000000000000000000000000000000",
4185          "result" : "valid",
4186          "flags" : []
4187        },
4188        {
4189          "tcId" : 414,
4190          "comment" : "special case",
4191          "key" : "afb806353760e59a08bd7870edebced4b8723ee31d7d4f961e4ef2186a7d3abf",
4192          "iv" : "3b4452ecb8a0b1772c0e50c1f59409bf",
4193          "msg" : "ba32dfc08355f8de70b6abf732f288d0",
4194          "tag" : "ffffffffffffffffffffffffffffffff",
4195          "result" : "valid",
4196          "flags" : []
4197        }
4198      ]
4199    },
4200    {
4201      "ivSize" : 96,
4202      "keySize" : 0,
4203      "tagSize" : 128,
4204      "type" : "MacWithIvTest",
4205      "tests" : [
4206        {
4207          "tcId" : 415,
4208          "comment" : "invalid key size",
4209          "key" : "",
4210          "iv" : "a23ce8ecb44bab2546f394c7",
4211          "msg" : "62e8e0da6000c642",
4212          "tag" : "",
4213          "result" : "invalid",
4214          "flags" : []
4215        },
4216        {
4217          "tcId" : 416,
4218          "comment" : "invalid key size",
4219          "key" : "",
4220          "iv" : "c9ae3dc439f2cd954fffd0f8",
4221          "msg" : "6446b9a02b1676be12465fad388e39fe",
4222          "tag" : "",
4223          "result" : "invalid",
4224          "flags" : []
4225        }
4226      ]
4227    },
4228    {
4229      "ivSize" : 128,
4230      "keySize" : 0,
4231      "tagSize" : 128,
4232      "type" : "MacWithIvTest",
4233      "tests" : [
4234        {
4235          "tcId" : 417,
4236          "comment" : "invalid key size",
4237          "key" : "",
4238          "iv" : "c846fa336e6ce3f2042fc91b4a27b0fb",
4239          "msg" : "43f63d680d7012fe",
4240          "tag" : "",
4241          "result" : "invalid",
4242          "flags" : []
4243        },
4244        {
4245          "tcId" : 418,
4246          "comment" : "invalid key size",
4247          "key" : "",
4248          "iv" : "f37b6d4c49bddac0bce7f7dfb276069f",
4249          "msg" : "8a2759afa8a777c41527a60bc5455efd",
4250          "tag" : "",
4251          "result" : "invalid",
4252          "flags" : []
4253        }
4254      ]
4255    },
4256    {
4257      "ivSize" : 96,
4258      "keySize" : 8,
4259      "tagSize" : 128,
4260      "type" : "MacWithIvTest",
4261      "tests" : [
4262        {
4263          "tcId" : 419,
4264          "comment" : "invalid key size",
4265          "key" : "64",
4266          "iv" : "f9d8b3d1aa47755c9f312a00",
4267          "msg" : "228bd5ce6a593dcd",
4268          "tag" : "",
4269          "result" : "invalid",
4270          "flags" : []
4271        },
4272        {
4273          "tcId" : 420,
4274          "comment" : "invalid key size",
4275          "key" : "23",
4276          "iv" : "1a7279d7419a6aaa0264204d",
4277          "msg" : "8f5e200b5c89ad358eeda4d0a3d48917",
4278          "tag" : "",
4279          "result" : "invalid",
4280          "flags" : []
4281        }
4282      ]
4283    },
4284    {
4285      "ivSize" : 128,
4286      "keySize" : 8,
4287      "tagSize" : 128,
4288      "type" : "MacWithIvTest",
4289      "tests" : [
4290        {
4291          "tcId" : 421,
4292          "comment" : "invalid key size",
4293          "key" : "96",
4294          "iv" : "f7f452bfc31be5012fbcdc79bdb57782",
4295          "msg" : "c25827edb2f2eeeb",
4296          "tag" : "",
4297          "result" : "invalid",
4298          "flags" : []
4299        },
4300        {
4301          "tcId" : 422,
4302          "comment" : "invalid key size",
4303          "key" : "71",
4304          "iv" : "97f0fc553407fb52fac25ab5c646fcf8",
4305          "msg" : "3eb1299719b9143eedf238e4c2de30f4",
4306          "tag" : "",
4307          "result" : "invalid",
4308          "flags" : []
4309        }
4310      ]
4311    },
4312    {
4313      "ivSize" : 96,
4314      "keySize" : 64,
4315      "tagSize" : 128,
4316      "type" : "MacWithIvTest",
4317      "tests" : [
4318        {
4319          "tcId" : 423,
4320          "comment" : "invalid key size",
4321          "key" : "2093eb4f07021515",
4322          "iv" : "7caa6094bcc03e30dcb6638a",
4323          "msg" : "2b1c35c59f835910",
4324          "tag" : "",
4325          "result" : "invalid",
4326          "flags" : []
4327        },
4328        {
4329          "tcId" : 424,
4330          "comment" : "invalid key size",
4331          "key" : "1d245fe8b12c1204",
4332          "iv" : "b021da2234abde1c6e0bd481",
4333          "msg" : "6cdc1ad11e265766202bed6303f45cc3",
4334          "tag" : "",
4335          "result" : "invalid",
4336          "flags" : []
4337        }
4338      ]
4339    },
4340    {
4341      "ivSize" : 128,
4342      "keySize" : 64,
4343      "tagSize" : 128,
4344      "type" : "MacWithIvTest",
4345      "tests" : [
4346        {
4347          "tcId" : 425,
4348          "comment" : "invalid key size",
4349          "key" : "8c4dcd56f3280b42",
4350          "iv" : "629c596e6631cd623df98f72ccf094f1",
4351          "msg" : "65ba8ab545d1f7fb",
4352          "tag" : "",
4353          "result" : "invalid",
4354          "flags" : []
4355        },
4356        {
4357          "tcId" : 426,
4358          "comment" : "invalid key size",
4359          "key" : "5cdae709ce517e61",
4360          "iv" : "1a968628a067bc3a1dc95b064d78bc3d",
4361          "msg" : "9ca3d042b9d91c6af0d247cf289f20d8",
4362          "tag" : "",
4363          "result" : "invalid",
4364          "flags" : []
4365        }
4366      ]
4367    },
4368    {
4369      "ivSize" : 96,
4370      "keySize" : 160,
4371      "tagSize" : 128,
4372      "type" : "MacWithIvTest",
4373      "tests" : [
4374        {
4375          "tcId" : 427,
4376          "comment" : "invalid key size",
4377          "key" : "1e09981ad6520df278962c225d14652a144b048b",
4378          "iv" : "b8e4bdcd901f5f56247f27e4",
4379          "msg" : "a34ec89b017a10d3",
4380          "tag" : "",
4381          "result" : "invalid",
4382          "flags" : []
4383        },
4384        {
4385          "tcId" : 428,
4386          "comment" : "invalid key size",
4387          "key" : "097f442acbbac6e3a858c9bdf76a36f06a103706",
4388          "iv" : "098d00ea1d9296d93a031d63",
4389          "msg" : "6e9eb6a58f91f9231a94943d785c67a3",
4390          "tag" : "",
4391          "result" : "invalid",
4392          "flags" : []
4393        }
4394      ]
4395    },
4396    {
4397      "ivSize" : 128,
4398      "keySize" : 160,
4399      "tagSize" : 128,
4400      "type" : "MacWithIvTest",
4401      "tests" : [
4402        {
4403          "tcId" : 429,
4404          "comment" : "invalid key size",
4405          "key" : "f1c10c5a1c9a0a4a3c07436fa6cfa9d4d87885b2",
4406          "iv" : "0ab9bbf8c2c3bfbdacd956d87bcbc59c",
4407          "msg" : "38057f879ca7cce9",
4408          "tag" : "",
4409          "result" : "invalid",
4410          "flags" : []
4411        },
4412        {
4413          "tcId" : 430,
4414          "comment" : "invalid key size",
4415          "key" : "8e8d6c5226aa3c3983cb6a8e211a5dca49cbb370",
4416          "iv" : "2549f20a79ac2567214720163b6c68ef",
4417          "msg" : "7eb1cfab0d9dea4d041fc5905855a3e4",
4418          "tag" : "",
4419          "result" : "invalid",
4420          "flags" : []
4421        }
4422      ]
4423    },
4424    {
4425      "ivSize" : 96,
4426      "keySize" : 320,
4427      "tagSize" : 128,
4428      "type" : "MacWithIvTest",
4429      "tests" : [
4430        {
4431          "tcId" : 431,
4432          "comment" : "invalid key size",
4433          "key" : "01e46cc7916fec9b5329b422fce39b5ed14d21507d7566f4989d087d5b00e75a9cfa035fde398b1c",
4434          "iv" : "0d3abfc7184431473552489a",
4435          "msg" : "76b0a22e13f73e7e",
4436          "tag" : "",
4437          "result" : "invalid",
4438          "flags" : []
4439        },
4440        {
4441          "tcId" : 432,
4442          "comment" : "invalid key size",
4443          "key" : "0d4d91118854342e7c261866e9d49a22fdee0f28c5e5baa2cd74c9fd67be9d3f14faaf0c607cea94",
4444          "iv" : "d361f8ebfd7fb343763f5edd",
4445          "msg" : "91239698eed6a667123cd0d9ae85baf8",
4446          "tag" : "",
4447          "result" : "invalid",
4448          "flags" : []
4449        }
4450      ]
4451    },
4452    {
4453      "ivSize" : 128,
4454      "keySize" : 320,
4455      "tagSize" : 128,
4456      "type" : "MacWithIvTest",
4457      "tests" : [
4458        {
4459          "tcId" : 433,
4460          "comment" : "invalid key size",
4461          "key" : "72df7d65aba3b97d2b31ec7f396cf2983f7b2797e366b13c5b0ef4467ba7b7b84ac7c182644375ee",
4462          "iv" : "71080aaeef172a0e3bf732e5c4666061",
4463          "msg" : "9adf8989565ba626",
4464          "tag" : "",
4465          "result" : "invalid",
4466          "flags" : []
4467        },
4468        {
4469          "tcId" : 434,
4470          "comment" : "invalid key size",
4471          "key" : "85c362d4c053efcb5a7289ad80faf2a278f51b836b2a7d16410b9fbcede3ead69a9b1d3c9665d877",
4472          "iv" : "220f44cbe83b7f75702414293b4b97ed",
4473          "msg" : "064d365cd06bc6c335236232e72eae49",
4474          "tag" : "",
4475          "result" : "invalid",
4476          "flags" : []
4477        }
4478      ]
4479    },
4480    {
4481      "ivSize" : 0,
4482      "keySize" : 128,
4483      "tagSize" : 128,
4484      "type" : "MacWithIvTest",
4485      "tests" : [
4486        {
4487          "tcId" : 435,
4488          "comment" : "invalid nonce size",
4489          "key" : "1abc933c4fe23a4b49605c3a9d30997d",
4490          "iv" : "",
4491          "msg" : "76c2b2b1d692bcede91152b345f68815",
4492          "tag" : "367973f193fcc39e2303ca01939b4e77",
4493          "result" : "invalid",
4494          "flags" : []
4495        }
4496      ]
4497    },
4498    {
4499      "ivSize" : 0,
4500      "keySize" : 192,
4501      "tagSize" : 128,
4502      "type" : "MacWithIvTest",
4503      "tests" : [
4504        {
4505          "tcId" : 436,
4506          "comment" : "invalid nonce size",
4507          "key" : "1e39d91ef4d05ed9bd5d8d886fbb937e35a54473df5d0c25",
4508          "iv" : "",
4509          "msg" : "ecf01990480fdce0d28c1553b80ee128",
4510          "tag" : "732c224d31b61be2e4db365d5a533c1c",
4511          "result" : "invalid",
4512          "flags" : []
4513        }
4514      ]
4515    },
4516    {
4517      "ivSize" : 0,
4518      "keySize" : 256,
4519      "tagSize" : 128,
4520      "type" : "MacWithIvTest",
4521      "tests" : [
4522        {
4523          "tcId" : 437,
4524          "comment" : "invalid nonce size",
4525          "key" : "c292bba454cc13fc324e19fff7a463534ba93acb98e4c1b51c21d5b7ef539f3a",
4526          "iv" : "",
4527          "msg" : "c160f17c5aa92ca68a837dc751c06f10",
4528          "tag" : "5ab390c67bde510cf27f4c77425bff5a",
4529          "result" : "invalid",
4530          "flags" : []
4531        }
4532      ]
4533    },
4534    {
4535      "ivSize" : 160,
4536      "keySize" : 128,
4537      "tagSize" : 128,
4538      "type" : "MacWithIvTest",
4539      "tests" : [
4540        {
4541          "tcId" : 438,
4542          "comment" : "long iv sizes",
4543          "key" : "4f5dcbc6a2d77440ba1798c9b7f302eb",
4544          "iv" : "f1acc9299afe3c454895fe6a427711c03f15d8aa",
4545          "msg" : "d10d2a06b3af2ec13bff20aab293973b",
4546          "tag" : "6e9de0b312892540436e935909a3fb48",
4547          "result" : "valid",
4548          "flags" : []
4549        }
4550      ]
4551    },
4552    {
4553      "ivSize" : 256,
4554      "keySize" : 128,
4555      "tagSize" : 128,
4556      "type" : "MacWithIvTest",
4557      "tests" : [
4558        {
4559          "tcId" : 439,
4560          "comment" : "long iv sizes",
4561          "key" : "7400c72fb34b80d345ad4d17957e7f96",
4562          "iv" : "f8cb7e3db0962c17f927de88fc90e4e6f8064ff0af0d9da39d59f192dd56137e",
4563          "msg" : "6e0a7d3d9eda7d71dc476981852404db",
4564          "tag" : "452754f4897f2358a0a4ab024767f39c",
4565          "result" : "valid",
4566          "flags" : []
4567        }
4568      ]
4569    },
4570    {
4571      "ivSize" : 512,
4572      "keySize" : 128,
4573      "tagSize" : 128,
4574      "type" : "MacWithIvTest",
4575      "tests" : [
4576        {
4577          "tcId" : 440,
4578          "comment" : "long iv sizes",
4579          "key" : "a9fff55a0d067532b22336ee01d2a7fc",
4580          "iv" : "ef1dc5dc06c3211a3666b6f1bcac32f00d000fa2ce9f39feb294e31fb6c9d983fa9e4e2f2442f179fa6528c4026409d7d4629adf38144dc060887ef72b5ad682",
4581          "msg" : "7d77d4884a1321d6588dd1d48d6e5beb",
4582          "tag" : "68c9b20ecf36d566a463070357423923",
4583          "result" : "valid",
4584          "flags" : []
4585        }
4586      ]
4587    },
4588    {
4589      "ivSize" : 1024,
4590      "keySize" : 128,
4591      "tagSize" : 128,
4592      "type" : "MacWithIvTest",
4593      "tests" : [
4594        {
4595          "tcId" : 441,
4596          "comment" : "long iv sizes",
4597          "key" : "08fc9383ee7986a1f0f38ddd4e5bde90",
4598          "iv" : "eef729baecd89278da7cb939b345c2872efc443c22addfb68e429163656c56b3a39200d9e07871013300bba9f9b0ada6d3916477161de08adcbc4fdc47679615901efaf6c2fdac7e0203ca352fc84407b6a37621cc0d8a4c7526f50fb2719fad08567eaea56c598805a336a0cc3d4309a1e2a2b86d8d3939ce2cf3138fffa201",
4599          "msg" : "72ea2e0d0c5d7dc7634ee09359e9d981",
4600          "tag" : "fb895c06b6a7a51ebc9eb129d0eb9e1a",
4601          "result" : "valid",
4602          "flags" : []
4603        }
4604      ]
4605    },
4606    {
4607      "ivSize" : 160,
4608      "keySize" : 192,
4609      "tagSize" : 128,
4610      "type" : "MacWithIvTest",
4611      "tests" : [
4612        {
4613          "tcId" : 442,
4614          "comment" : "long iv sizes",
4615          "key" : "8ee334455bf96b751a6ebb9a9782fc0e469f5c69c242ad23",
4616          "iv" : "15fcd40d5d37436ef3714e25206efc23e46347ce",
4617          "msg" : "4be612a35b8c98502dad7c2d40c51f34",
4618          "tag" : "59d31661d8d496a9ea9bd3412ae33da6",
4619          "result" : "valid",
4620          "flags" : []
4621        }
4622      ]
4623    },
4624    {
4625      "ivSize" : 256,
4626      "keySize" : 192,
4627      "tagSize" : 128,
4628      "type" : "MacWithIvTest",
4629      "tests" : [
4630        {
4631          "tcId" : 443,
4632          "comment" : "long iv sizes",
4633          "key" : "8a950a591dca1a2461500c1be54a9f3540dd79300cd3210b",
4634          "iv" : "a5a6a2bcee802e8d49a72f536a492c1a0a9b8ef5d79fe81167243fe07304dda4",
4635          "msg" : "5913af7de6bd1a2a64c60737978bfbaa",
4636          "tag" : "407603da8b15ea69c951b2fb6dbfcb03",
4637          "result" : "valid",
4638          "flags" : []
4639        }
4640      ]
4641    },
4642    {
4643      "ivSize" : 512,
4644      "keySize" : 192,
4645      "tagSize" : 128,
4646      "type" : "MacWithIvTest",
4647      "tests" : [
4648        {
4649          "tcId" : 444,
4650          "comment" : "long iv sizes",
4651          "key" : "6a7c14ce8605c9978a0a7d9eba80a3b37239db129d2e0abf",
4652          "iv" : "042159c9aabec06441ca01eac9272da4ec40b39aa96a53f0adafad5a6fff863a126db9150ad7a0262672a4a550fbcb102995d4864e124c6a9bd33daa37b1b117",
4653          "msg" : "cefd73acfa57f8d87ca47dc738a30cdb",
4654          "tag" : "1a335a2469d154b043d8a39040d07123",
4655          "result" : "valid",
4656          "flags" : []
4657        }
4658      ]
4659    },
4660    {
4661      "ivSize" : 1024,
4662      "keySize" : 192,
4663      "tagSize" : 128,
4664      "type" : "MacWithIvTest",
4665      "tests" : [
4666        {
4667          "tcId" : 445,
4668          "comment" : "long iv sizes",
4669          "key" : "24372bbb35d3e0dafcf4455a47a0412b1524cf8dbfdda5f7",
4670          "iv" : "aed0f6787217aa66b38aac948b574d99f1992b621e6e6ba01f9b3ea1e31c9016b97554ca9afde11db83102edbb76cd67eb13963a976e109299f746c28e9178325175fcd1ac766977f29797ff5fc06a934aed8e7e61bb723f8997171d73dc618ea699806897a3f8960e78e6fc149323790cf1056ad3f13fb7d8079afb33f7e836",
4671          "msg" : "121bf5dbe3610ad5a068fba0aa7f605a",
4672          "tag" : "5b46ddbf3f1ec8b163df0c72ff47a8dc",
4673          "result" : "valid",
4674          "flags" : []
4675        }
4676      ]
4677    },
4678    {
4679      "ivSize" : 160,
4680      "keySize" : 256,
4681      "tagSize" : 128,
4682      "type" : "MacWithIvTest",
4683      "tests" : [
4684        {
4685          "tcId" : 446,
4686          "comment" : "long iv sizes",
4687          "key" : "a6e7fdbcd0725e1d5d0f9dae2aa44c0e8a542f4bf62508f4d427750870b9b088",
4688          "iv" : "b427898ed3ec7bf52b6274063da874c25f7db060",
4689          "msg" : "918d491e78502d6056225825e7f79f71",
4690          "tag" : "d26d71ab706985527a5356b9de562977",
4691          "result" : "valid",
4692          "flags" : []
4693        }
4694      ]
4695    },
4696    {
4697      "ivSize" : 256,
4698      "keySize" : 256,
4699      "tagSize" : 128,
4700      "type" : "MacWithIvTest",
4701      "tests" : [
4702        {
4703          "tcId" : 447,
4704          "comment" : "long iv sizes",
4705          "key" : "b9424effc776510c1c495a0a93d37f3b1c23b5441dd02351f28c1375d849e343",
4706          "iv" : "f6fdd387e2ec7689d72418cbbaa1402f39d9192f01734675c0465970b661bd69",
4707          "msg" : "ea6221aec1e2b4358065bfa1d8ce1e9a",
4708          "tag" : "c355603c17892b89d30bed739150adf1",
4709          "result" : "valid",
4710          "flags" : []
4711        }
4712      ]
4713    },
4714    {
4715      "ivSize" : 512,
4716      "keySize" : 256,
4717      "tagSize" : 128,
4718      "type" : "MacWithIvTest",
4719      "tests" : [
4720        {
4721          "tcId" : 448,
4722          "comment" : "long iv sizes",
4723          "key" : "9bff9b26dcd6e6207264ea433bfcb613cfa0027042ac7ec1d986bbfcf46538a2",
4724          "iv" : "a3c385d09688344b76348d17b06afc764d27cdecd279cb6fab5ed2bc3cad1de651c1434bf352e702a40f9b03384774199380cb0379b6560d773befd78b116092",
4725          "msg" : "c77f51e57666ed25b4684aa20cef3491",
4726          "tag" : "05dc92c1e2c80e0c7c9f1e82a87d5b18",
4727          "result" : "valid",
4728          "flags" : []
4729        }
4730      ]
4731    },
4732    {
4733      "ivSize" : 1024,
4734      "keySize" : 256,
4735      "tagSize" : 128,
4736      "type" : "MacWithIvTest",
4737      "tests" : [
4738        {
4739          "tcId" : 449,
4740          "comment" : "long iv sizes",
4741          "key" : "27ef594406afadb5726d85a6ba85496ed7c2bcb6a1b123655655d0f6fe0e60b5",
4742          "iv" : "e074f326d342799dece4e1ffedf5954cd80f4d4539410506c30c509753450e07307eaeb4203a737175f6ad81d93e625bc60d7863f501acffb89a5d8a31e0a48e0737971d057f2449717c9b7bab24c9e4a8ffff0b03d9671ef37b8090327d318696c2b96c4031064f9509942617ea7a032d54bbc97b82fac5b654dd3489ad1323",
4743          "msg" : "97003e8574cdaa718d509e5332f2a518",
4744          "tag" : "465d9983cd5f732b475a9f7279254433",
4745          "result" : "valid",
4746          "flags" : []
4747        }
4748      ]
4749    }
4750  ]
4751}
4752