1{ 2 "algorithm" : "AES-GCM", 3 "generatorVersion" : "0.4.12", 4 "notes" : { 5 "ConstructedIv" : "The counter for AES-GCM is reduced modulo 2**32. This test vector was constructed to test for correct wrapping of the counter.", 6 "ZeroLengthIv" : "AES-GCM does not allow an IV of length 0. Encrypting with such an IV leaks the authentication key. Hence using an IV of length 0 is insecure even if the key itself is only used for a single encryption." 7 }, 8 "numberOfTests" : 217, 9 "header" : [], 10 "testGroups" : [ 11 { 12 "ivSize" : 96, 13 "keySize" : 128, 14 "tagSize" : 128, 15 "type" : "AeadTest", 16 "tests" : [ 17 { 18 "tcId" : 1, 19 "comment" : "", 20 "key" : "5b9604fe14eadba931b0ccf34843dab9", 21 "iv" : "028318abc1824029138141a2", 22 "aad" : "", 23 "msg" : "001d0c231287c1182784554ca3a21908", 24 "ct" : "26073cc1d851beff176384dc9896d5ff", 25 "tag" : "0a3ea7a5487cb5f7d70fb6c58d038554", 26 "result" : "valid", 27 "flags" : [] 28 }, 29 { 30 "tcId" : 2, 31 "comment" : "", 32 "key" : "5b9604fe14eadba931b0ccf34843dab9", 33 "iv" : "921d2507fa8007b7bd067d34", 34 "aad" : "00112233445566778899aabbccddeeff", 35 "msg" : "001d0c231287c1182784554ca3a21908", 36 "ct" : "49d8b9783e911913d87094d1f63cc765", 37 "tag" : "1e348ba07cca2cf04c618cb4d43a5b92", 38 "result" : "valid", 39 "flags" : [] 40 }, 41 { 42 "tcId" : 3, 43 "comment" : "", 44 "key" : "aa023d0478dcb2b2312498293d9a9129", 45 "iv" : "0432bc49ac34412081288127", 46 "aad" : "aac39231129872a2", 47 "msg" : "2035af313d1346ab00154fea78322105", 48 "ct" : "eea945f3d0f98cc0fbab472a0cf24e87", 49 "tag" : "4bb9b4812519dadf9e1232016d068133", 50 "result" : "valid", 51 "flags" : [] 52 }, 53 { 54 "tcId" : 4, 55 "comment" : "", 56 "key" : "384ea416ac3c2f51a76e7d8226346d4e", 57 "iv" : "b30c084727ad1c592ac21d12", 58 "aad" : "", 59 "msg" : "35", 60 "ct" : "54", 61 "tag" : "7c1e4ae88bb27e5638343cb9fd3f6337", 62 "result" : "valid", 63 "flags" : [] 64 }, 65 { 66 "tcId" : 5, 67 "comment" : "", 68 "key" : "cae31cd9f55526eb038241fc44cac1e5", 69 "iv" : "b5e006ded553110e6dc56529", 70 "aad" : "", 71 "msg" : "d10989f2c52e94ad", 72 "ct" : "a036ead03193903f", 73 "tag" : "3b626940e0e9f0cbea8e18c437fd6011", 74 "result" : "valid", 75 "flags" : [] 76 }, 77 { 78 "tcId" : 6, 79 "comment" : "", 80 "key" : "dd6197cd63c963919cf0c273ef6b28bf", 81 "iv" : "ecb0c42f7000ef0e6f95f24d", 82 "aad" : "", 83 "msg" : "4dcc1485365866e25ac3f2ca6aba97", 84 "ct" : "8a9992388e735f80ee18f4a63c10ad", 85 "tag" : "1486a91cccf92c9a5b00f7b0e034891c", 86 "result" : "valid", 87 "flags" : [] 88 }, 89 { 90 "tcId" : 7, 91 "comment" : "", 92 "key" : "ffdf4228361ea1f8165852136b3480f7", 93 "iv" : "0e1666f2dc652f7708fb8f0d", 94 "aad" : "", 95 "msg" : "25b12e28ac0ef6ead0226a3b2288c800", 96 "ct" : "f7bd379d130477176b8bb3cb23dbbbaa", 97 "tag" : "1ee6513ce30c7873f59dd4350a588f42", 98 "result" : "valid", 99 "flags" : [] 100 }, 101 { 102 "tcId" : 8, 103 "comment" : "", 104 "key" : "c15ed227dd2e237ecd087eaaaad19ea4", 105 "iv" : "965ff6643116ac1443a2dec7", 106 "aad" : "", 107 "msg" : "fee62fde973fe025ad6b322dcdf3c63fc7", 108 "ct" : "0de51fe4f7f2d1f0f917569f5c6d1b009c", 109 "tag" : "6cd8521422c0177e83ef1b7a845d97db", 110 "result" : "valid", 111 "flags" : [] 112 }, 113 { 114 "tcId" : 9, 115 "comment" : "", 116 "key" : "a8ee11b26d7ceb7f17eaa1e4b83a2cf6", 117 "iv" : "fbbc04fd6e025b7193eb57f6", 118 "aad" : "", 119 "msg" : "c08f085e6a9e0ef3636280c11ecfadf0c1e72919ffc17eaf", 120 "ct" : "7cd9f4e4f365704fff3b9900aa93ba54b672bac554275650", 121 "tag" : "f4eb193241226db017b32ec38ca47217", 122 "result" : "valid", 123 "flags" : [] 124 }, 125 { 126 "tcId" : 10, 127 "comment" : "", 128 "key" : "28ff3def08179311e2734c6d1c4e2871", 129 "iv" : "32bcb9b569e3b852d37c766a", 130 "aad" : "c3", 131 "msg" : "dfc61a20df8505b53e3cd59f25770d5018add3d6", 132 "ct" : "f58d453212c2c8a436e9283672f579f119122978", 133 "tag" : "5901131d0760c8715901d881fdfd3bc0", 134 "result" : "valid", 135 "flags" : [] 136 }, 137 { 138 "tcId" : 11, 139 "comment" : "", 140 "key" : "e63a43216c08867210e248859eb5e99c", 141 "iv" : "9c3a4263d983456658aad4b1", 142 "aad" : "834afdc5c737186b", 143 "msg" : "b14da56b0462dc05b871fc815273ff4810f92f4b", 144 "ct" : "bf864616c2347509ca9b10446379b9bdbb3b8f64", 145 "tag" : "a97d25b490390b53c5db91f6ee2a15b8", 146 "result" : "valid", 147 "flags" : [] 148 }, 149 { 150 "tcId" : 12, 151 "comment" : "", 152 "key" : "38449890234eb8afab0bbf82e2385454", 153 "iv" : "33e90658416e7c1a7c005f11", 154 "aad" : "4020855c66ac4595058395f367201c4c", 155 "msg" : "f762776bf83163b323ca63a6b3adeac1e1357262", 156 "ct" : "a6f2ef3c7ef74a126dd2d5f6673964e27d5b34b6", 157 "tag" : "b8bbdc4f5014bc752c8b4e9b87f650a3", 158 "result" : "valid", 159 "flags" : [] 160 }, 161 { 162 "tcId" : 13, 163 "comment" : "", 164 "key" : "6a68671dfe323d419894381f85eb63fd", 165 "iv" : "9f0d85b605711f34cd2a35ba", 166 "aad" : "76eb5f147250fa3c12bff0a6e3934a0b16860cf11646773b", 167 "msg" : "0fc67899c3f1bbe196d90f1eca3797389230aa37", 168 "ct" : "bd64802cfebaeb487d3a8f76ce943a37b3472dd5", 169 "tag" : "fce9a5b530c7d7af718be1ec0ae9ed4d", 170 "result" : "valid", 171 "flags" : [] 172 }, 173 { 174 "tcId" : 14, 175 "comment" : "special case", 176 "key" : "00112233445566778899aabbccddeeff", 177 "iv" : "000000000000000000000000", 178 "aad" : "", 179 "msg" : "ebd4a3e10cf6d41c50aeae007563b072", 180 "ct" : "f62d84d649e56bc8cfedc5d74a51e2f7", 181 "tag" : "ffffffffffffffffffffffffffffffff", 182 "result" : "valid", 183 "flags" : [] 184 }, 185 { 186 "tcId" : 15, 187 "comment" : "special case", 188 "key" : "00112233445566778899aabbccddeeff", 189 "iv" : "ffffffffffffffffffffffff", 190 "aad" : "", 191 "msg" : "d593c4d8224f1b100c35e4f6c4006543", 192 "ct" : "431f31e6840931fd95f94bf88296ff69", 193 "tag" : "00000000000000000000000000000000", 194 "result" : "valid", 195 "flags" : [] 196 }, 197 { 198 "tcId" : 16, 199 "comment" : "Flipped bit 0 in tag", 200 "key" : "000102030405060708090a0b0c0d0e0f", 201 "iv" : "505152535455565758595a5b", 202 "aad" : "", 203 "msg" : "202122232425262728292a2b2c2d2e2f", 204 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 205 "tag" : "d9847dbc326a06e988c77ad3863e6083", 206 "result" : "invalid", 207 "flags" : [] 208 }, 209 { 210 "tcId" : 17, 211 "comment" : "Flipped bit 1 in tag", 212 "key" : "000102030405060708090a0b0c0d0e0f", 213 "iv" : "505152535455565758595a5b", 214 "aad" : "", 215 "msg" : "202122232425262728292a2b2c2d2e2f", 216 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 217 "tag" : "da847dbc326a06e988c77ad3863e6083", 218 "result" : "invalid", 219 "flags" : [] 220 }, 221 { 222 "tcId" : 18, 223 "comment" : "Flipped bit 7 in tag", 224 "key" : "000102030405060708090a0b0c0d0e0f", 225 "iv" : "505152535455565758595a5b", 226 "aad" : "", 227 "msg" : "202122232425262728292a2b2c2d2e2f", 228 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 229 "tag" : "58847dbc326a06e988c77ad3863e6083", 230 "result" : "invalid", 231 "flags" : [] 232 }, 233 { 234 "tcId" : 19, 235 "comment" : "Flipped bit 8 in tag", 236 "key" : "000102030405060708090a0b0c0d0e0f", 237 "iv" : "505152535455565758595a5b", 238 "aad" : "", 239 "msg" : "202122232425262728292a2b2c2d2e2f", 240 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 241 "tag" : "d8857dbc326a06e988c77ad3863e6083", 242 "result" : "invalid", 243 "flags" : [] 244 }, 245 { 246 "tcId" : 20, 247 "comment" : "Flipped bit 31 in tag", 248 "key" : "000102030405060708090a0b0c0d0e0f", 249 "iv" : "505152535455565758595a5b", 250 "aad" : "", 251 "msg" : "202122232425262728292a2b2c2d2e2f", 252 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 253 "tag" : "d8847d3c326a06e988c77ad3863e6083", 254 "result" : "invalid", 255 "flags" : [] 256 }, 257 { 258 "tcId" : 21, 259 "comment" : "Flipped bit 32 in tag", 260 "key" : "000102030405060708090a0b0c0d0e0f", 261 "iv" : "505152535455565758595a5b", 262 "aad" : "", 263 "msg" : "202122232425262728292a2b2c2d2e2f", 264 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 265 "tag" : "d8847dbc336a06e988c77ad3863e6083", 266 "result" : "invalid", 267 "flags" : [] 268 }, 269 { 270 "tcId" : 22, 271 "comment" : "Flipped bit 33 in tag", 272 "key" : "000102030405060708090a0b0c0d0e0f", 273 "iv" : "505152535455565758595a5b", 274 "aad" : "", 275 "msg" : "202122232425262728292a2b2c2d2e2f", 276 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 277 "tag" : "d8847dbc306a06e988c77ad3863e6083", 278 "result" : "invalid", 279 "flags" : [] 280 }, 281 { 282 "tcId" : 23, 283 "comment" : "Flipped bit 63 in tag", 284 "key" : "000102030405060708090a0b0c0d0e0f", 285 "iv" : "505152535455565758595a5b", 286 "aad" : "", 287 "msg" : "202122232425262728292a2b2c2d2e2f", 288 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 289 "tag" : "d8847dbc326a066988c77ad3863e6083", 290 "result" : "invalid", 291 "flags" : [] 292 }, 293 { 294 "tcId" : 24, 295 "comment" : "Flipped bit 64 in tag", 296 "key" : "000102030405060708090a0b0c0d0e0f", 297 "iv" : "505152535455565758595a5b", 298 "aad" : "", 299 "msg" : "202122232425262728292a2b2c2d2e2f", 300 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 301 "tag" : "d8847dbc326a06e989c77ad3863e6083", 302 "result" : "invalid", 303 "flags" : [] 304 }, 305 { 306 "tcId" : 25, 307 "comment" : "Flipped bit 71 in tag", 308 "key" : "000102030405060708090a0b0c0d0e0f", 309 "iv" : "505152535455565758595a5b", 310 "aad" : "", 311 "msg" : "202122232425262728292a2b2c2d2e2f", 312 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 313 "tag" : "d8847dbc326a06e908c77ad3863e6083", 314 "result" : "invalid", 315 "flags" : [] 316 }, 317 { 318 "tcId" : 26, 319 "comment" : "Flipped bit 77 in tag", 320 "key" : "000102030405060708090a0b0c0d0e0f", 321 "iv" : "505152535455565758595a5b", 322 "aad" : "", 323 "msg" : "202122232425262728292a2b2c2d2e2f", 324 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 325 "tag" : "d8847dbc326a06e988e77ad3863e6083", 326 "result" : "invalid", 327 "flags" : [] 328 }, 329 { 330 "tcId" : 27, 331 "comment" : "Flipped bit 80 in tag", 332 "key" : "000102030405060708090a0b0c0d0e0f", 333 "iv" : "505152535455565758595a5b", 334 "aad" : "", 335 "msg" : "202122232425262728292a2b2c2d2e2f", 336 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 337 "tag" : "d8847dbc326a06e988c77bd3863e6083", 338 "result" : "invalid", 339 "flags" : [] 340 }, 341 { 342 "tcId" : 28, 343 "comment" : "Flipped bit 96 in tag", 344 "key" : "000102030405060708090a0b0c0d0e0f", 345 "iv" : "505152535455565758595a5b", 346 "aad" : "", 347 "msg" : "202122232425262728292a2b2c2d2e2f", 348 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 349 "tag" : "d8847dbc326a06e988c77ad3873e6083", 350 "result" : "invalid", 351 "flags" : [] 352 }, 353 { 354 "tcId" : 29, 355 "comment" : "Flipped bit 97 in tag", 356 "key" : "000102030405060708090a0b0c0d0e0f", 357 "iv" : "505152535455565758595a5b", 358 "aad" : "", 359 "msg" : "202122232425262728292a2b2c2d2e2f", 360 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 361 "tag" : "d8847dbc326a06e988c77ad3843e6083", 362 "result" : "invalid", 363 "flags" : [] 364 }, 365 { 366 "tcId" : 30, 367 "comment" : "Flipped bit 103 in tag", 368 "key" : "000102030405060708090a0b0c0d0e0f", 369 "iv" : "505152535455565758595a5b", 370 "aad" : "", 371 "msg" : "202122232425262728292a2b2c2d2e2f", 372 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 373 "tag" : "d8847dbc326a06e988c77ad3063e6083", 374 "result" : "invalid", 375 "flags" : [] 376 }, 377 { 378 "tcId" : 31, 379 "comment" : "Flipped bit 120 in tag", 380 "key" : "000102030405060708090a0b0c0d0e0f", 381 "iv" : "505152535455565758595a5b", 382 "aad" : "", 383 "msg" : "202122232425262728292a2b2c2d2e2f", 384 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 385 "tag" : "d8847dbc326a06e988c77ad3863e6082", 386 "result" : "invalid", 387 "flags" : [] 388 }, 389 { 390 "tcId" : 32, 391 "comment" : "Flipped bit 121 in tag", 392 "key" : "000102030405060708090a0b0c0d0e0f", 393 "iv" : "505152535455565758595a5b", 394 "aad" : "", 395 "msg" : "202122232425262728292a2b2c2d2e2f", 396 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 397 "tag" : "d8847dbc326a06e988c77ad3863e6081", 398 "result" : "invalid", 399 "flags" : [] 400 }, 401 { 402 "tcId" : 33, 403 "comment" : "Flipped bit 126 in tag", 404 "key" : "000102030405060708090a0b0c0d0e0f", 405 "iv" : "505152535455565758595a5b", 406 "aad" : "", 407 "msg" : "202122232425262728292a2b2c2d2e2f", 408 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 409 "tag" : "d8847dbc326a06e988c77ad3863e60c3", 410 "result" : "invalid", 411 "flags" : [] 412 }, 413 { 414 "tcId" : 34, 415 "comment" : "Flipped bit 127 in tag", 416 "key" : "000102030405060708090a0b0c0d0e0f", 417 "iv" : "505152535455565758595a5b", 418 "aad" : "", 419 "msg" : "202122232425262728292a2b2c2d2e2f", 420 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 421 "tag" : "d8847dbc326a06e988c77ad3863e6003", 422 "result" : "invalid", 423 "flags" : [] 424 }, 425 { 426 "tcId" : 35, 427 "comment" : "Flipped bits 0 and 64 in tag", 428 "key" : "000102030405060708090a0b0c0d0e0f", 429 "iv" : "505152535455565758595a5b", 430 "aad" : "", 431 "msg" : "202122232425262728292a2b2c2d2e2f", 432 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 433 "tag" : "d9847dbc326a06e989c77ad3863e6083", 434 "result" : "invalid", 435 "flags" : [] 436 }, 437 { 438 "tcId" : 36, 439 "comment" : "Flipped bits 31 and 63 in tag", 440 "key" : "000102030405060708090a0b0c0d0e0f", 441 "iv" : "505152535455565758595a5b", 442 "aad" : "", 443 "msg" : "202122232425262728292a2b2c2d2e2f", 444 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 445 "tag" : "d8847d3c326a066988c77ad3863e6083", 446 "result" : "invalid", 447 "flags" : [] 448 }, 449 { 450 "tcId" : 37, 451 "comment" : "Flipped bits 63 and 127 in tag", 452 "key" : "000102030405060708090a0b0c0d0e0f", 453 "iv" : "505152535455565758595a5b", 454 "aad" : "", 455 "msg" : "202122232425262728292a2b2c2d2e2f", 456 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 457 "tag" : "d8847dbc326a066988c77ad3863e6003", 458 "result" : "invalid", 459 "flags" : [] 460 }, 461 { 462 "tcId" : 38, 463 "comment" : "all bits of tag flipped", 464 "key" : "000102030405060708090a0b0c0d0e0f", 465 "iv" : "505152535455565758595a5b", 466 "aad" : "", 467 "msg" : "202122232425262728292a2b2c2d2e2f", 468 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 469 "tag" : "277b8243cd95f9167738852c79c19f7c", 470 "result" : "invalid", 471 "flags" : [] 472 }, 473 { 474 "tcId" : 39, 475 "comment" : "Tag changed to all zero", 476 "key" : "000102030405060708090a0b0c0d0e0f", 477 "iv" : "505152535455565758595a5b", 478 "aad" : "", 479 "msg" : "202122232425262728292a2b2c2d2e2f", 480 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 481 "tag" : "00000000000000000000000000000000", 482 "result" : "invalid", 483 "flags" : [] 484 }, 485 { 486 "tcId" : 40, 487 "comment" : "tag changed to all 1", 488 "key" : "000102030405060708090a0b0c0d0e0f", 489 "iv" : "505152535455565758595a5b", 490 "aad" : "", 491 "msg" : "202122232425262728292a2b2c2d2e2f", 492 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 493 "tag" : "ffffffffffffffffffffffffffffffff", 494 "result" : "invalid", 495 "flags" : [] 496 }, 497 { 498 "tcId" : 41, 499 "comment" : "msbs changed in tag", 500 "key" : "000102030405060708090a0b0c0d0e0f", 501 "iv" : "505152535455565758595a5b", 502 "aad" : "", 503 "msg" : "202122232425262728292a2b2c2d2e2f", 504 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 505 "tag" : "5804fd3cb2ea86690847fa5306bee003", 506 "result" : "invalid", 507 "flags" : [] 508 }, 509 { 510 "tcId" : 42, 511 "comment" : "lsbs changed in tag", 512 "key" : "000102030405060708090a0b0c0d0e0f", 513 "iv" : "505152535455565758595a5b", 514 "aad" : "", 515 "msg" : "202122232425262728292a2b2c2d2e2f", 516 "ct" : "eb156d081ed6b6b55f4612f021d87b39", 517 "tag" : "d9857cbd336b07e889c67bd2873f6182", 518 "result" : "invalid", 519 "flags" : [] 520 } 521 ] 522 }, 523 { 524 "ivSize" : 64, 525 "keySize" : 128, 526 "tagSize" : 128, 527 "type" : "AeadTest", 528 "tests" : [ 529 { 530 "tcId" : 43, 531 "comment" : "", 532 "key" : "aa023d0478dcb2b2312498293d9a9129", 533 "iv" : "0432bc49ac344120", 534 "aad" : "aac39231129872a2", 535 "msg" : "2035af313d1346ab00154fea78322105", 536 "ct" : "64c36bb3b732034e3a7d04efc5197785", 537 "tag" : "b7d0dd70b00d65b97cfd080ff4b819d1", 538 "result" : "valid", 539 "flags" : [] 540 }, 541 { 542 "tcId" : 44, 543 "comment" : "unusual IV size", 544 "key" : "25dd4d6cad5a4604957847c8c6d3fc4e", 545 "iv" : "68cbeafe8f9e8a66", 546 "aad" : "", 547 "msg" : "5c347835b3fa61c2ce253e5a", 548 "ct" : "9a078a04d14938918e004358", 549 "tag" : "5452843e32c13c3e35ed8230fe3446c0", 550 "result" : "valid", 551 "flags" : [] 552 } 553 ] 554 }, 555 { 556 "ivSize" : 128, 557 "keySize" : 128, 558 "tagSize" : 128, 559 "type" : "AeadTest", 560 "tests" : [ 561 { 562 "tcId" : 45, 563 "comment" : "", 564 "key" : "2034a82547276c83dd3212a813572bce", 565 "iv" : "3254202d854734812398127a3d134421", 566 "aad" : "1a0293d8f90219058902139013908190bc490890d3ff12a3", 567 "msg" : "02efd2e5782312827ed5d230189a2a342b277ce048462193", 568 "ct" : "64069c2d58690561f27ee199e6b479b6369eec688672bde9", 569 "tag" : "9b7abadd6e69c1d9ec925786534f5075", 570 "result" : "valid", 571 "flags" : [] 572 }, 573 { 574 "tcId" : 46, 575 "comment" : "", 576 "key" : "209e6dbf2ad26a105445fc0207cd9e9a", 577 "iv" : "9477849d6ccdfca112d92e53fae4a7ca", 578 "aad" : "", 579 "msg" : "01", 580 "ct" : "fd", 581 "tag" : "032df7bba5d8ea1a14f16f70bd0e14ec", 582 "result" : "valid", 583 "flags" : [] 584 }, 585 { 586 "tcId" : 47, 587 "comment" : "", 588 "key" : "a549442e35154032d07c8666006aa6a2", 589 "iv" : "5171524568e81d97e8c4de4ba56c10a0", 590 "aad" : "", 591 "msg" : "1182e93596cac5608946400bc73f3a", 592 "ct" : "2f333087bdca58219f9bfc273e45cc", 593 "tag" : "e06d1ef473132957ad37eaef29733ca0", 594 "result" : "valid", 595 "flags" : [] 596 }, 597 { 598 "tcId" : 48, 599 "comment" : "", 600 "key" : "cfb4c26f126f6a0acb8e4e220f6c56cd", 601 "iv" : "1275115499ae722268515bf0c164b49c", 602 "aad" : "", 603 "msg" : "09dfd7f080275257cf97e76f966b1ad9", 604 "ct" : "a780bd01c80885156c88a973264c8ee5", 605 "tag" : "2adeffa682c8d8a81fada7d9fcdd2ee2", 606 "result" : "valid", 607 "flags" : [] 608 }, 609 { 610 "tcId" : 49, 611 "comment" : "", 612 "key" : "0b11ef3a08c02970f74281c860691c75", 613 "iv" : "95c1dd8c0f1705ece68937901f7add7b", 614 "aad" : "", 615 "msg" : "f693d4edd825dbb0618d91113128880dbebb23e25d00ed1f077d870be9cc7536", 616 "ct" : "7e47e10fe3c6fbfa381770eaf5d48d1482e71e0c44dff1e30ca6f95d92052084", 617 "tag" : "d01444fa5d9c499629d174ff3927a1ac", 618 "result" : "valid", 619 "flags" : [] 620 }, 621 { 622 "tcId" : 50, 623 "comment" : "J0:000102030405060708090a0b0c0d0e0f", 624 "key" : "00112233445566778899aabbccddeeff", 625 "iv" : "f95fde4a751913202aeeee32a0b55753", 626 "aad" : "", 627 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 628 "ct" : "00078d109d92143fcd5df56721b884fac64ac7762cc09eea2a3c68e92a17bdb575f87bda18be564e", 629 "tag" : "152a65045fe674f97627427af5be22da", 630 "result" : "valid", 631 "flags" : [ 632 "ConstructedIv" 633 ] 634 }, 635 { 636 "tcId" : 51, 637 "comment" : "J0:00000000000000000000000000000000", 638 "key" : "00112233445566778899aabbccddeeff", 639 "iv" : "7b95b8c356810a84711d68150a1b7750", 640 "aad" : "", 641 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 642 "ct" : "84d4c9c08b4f482861e3a9c6c35bc4d91df927374513bfd49f436bd73f325285daef4ff7e13d46a6", 643 "tag" : "213a3cb93855d18e69337eee66aeec07", 644 "result" : "valid", 645 "flags" : [ 646 "ConstructedIv" 647 ] 648 }, 649 { 650 "tcId" : 52, 651 "comment" : "J0:ffffffffffffffffffffffffffffffff", 652 "key" : "00112233445566778899aabbccddeeff", 653 "iv" : "1a552e67cdc4dc1a33b824874ebf0bed", 654 "aad" : "", 655 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 656 "ct" : "948ca37a8e6649e88aeffb1c598f3607007702417ea0e0bc3c60ad5a949886de968cf53ea6462aed", 657 "tag" : "99b381bfa2af9751c39d1b6e86d1be6a", 658 "result" : "valid", 659 "flags" : [ 660 "ConstructedIv" 661 ] 662 }, 663 { 664 "tcId" : 53, 665 "comment" : "J0:fffffffffffffffffffffffffffffffe", 666 "key" : "00112233445566778899aabbccddeeff", 667 "iv" : "dd9d0b4a0c3d681524bffca31d907661", 668 "aad" : "", 669 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 670 "ct" : "64b19314c31af45accdf7e3c4db79f0d948ca37a8e6649e88aeffb1c598f3607007702417ea0e0bc", 671 "tag" : "5281efc7f13ac8e14ccf5dca7bfbfdd1", 672 "result" : "valid", 673 "flags" : [ 674 "ConstructedIv" 675 ] 676 }, 677 { 678 "tcId" : 54, 679 "comment" : "J0:fffffffffffffffffffffffffffffffd", 680 "key" : "00112233445566778899aabbccddeeff", 681 "iv" : "57c5643c4e37b4041db794cfe8e1f0f4", 682 "aad" : "", 683 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 684 "ct" : "2bb69c3e5d1f91815c6b87a0d5bbea7164b19314c31af45accdf7e3c4db79f0d948ca37a8e6649e8", 685 "tag" : "a3ea2c09ee4f8c8a12f45cddf9aeff81", 686 "result" : "valid", 687 "flags" : [ 688 "ConstructedIv" 689 ] 690 }, 691 { 692 "tcId" : 55, 693 "comment" : "J0:000102030405060708090a0bffffffff", 694 "key" : "00112233445566778899aabbccddeeff", 695 "iv" : "99821c2dd5daecded07300f577f7aff1", 696 "aad" : "", 697 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 698 "ct" : "127af9b39ecdfc57bb11a2847c7c2d3d8f938f40f877e0c4af37d0fe9af033052bd537c4ae978f60", 699 "tag" : "07eb2fe4a958f8434d40684899507c7c", 700 "result" : "valid", 701 "flags" : [ 702 "ConstructedIv" 703 ] 704 }, 705 { 706 "tcId" : 56, 707 "comment" : "J0:000102030405060708090a0bfffffffe", 708 "key" : "00112233445566778899aabbccddeeff", 709 "iv" : "5e4a3900142358d1c774d8d124d8d27d", 710 "aad" : "", 711 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 712 "ct" : "0cf6ae47156b14dce03c8a07a2e172b1127af9b39ecdfc57bb11a2847c7c2d3d8f938f40f877e0c4", 713 "tag" : "f145c2dcaf339eede427be934357eac0", 714 "result" : "valid", 715 "flags" : [ 716 "ConstructedIv" 717 ] 718 }, 719 { 720 "tcId" : 57, 721 "comment" : "J0:000102030405060708090a0bfffffffd", 722 "key" : "00112233445566778899aabbccddeeff", 723 "iv" : "d4125676562984c0fe7cb0bdd1a954e8", 724 "aad" : "", 725 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 726 "ct" : "f0c6ffc18bd46df5569185a9afd169eb0cf6ae47156b14dce03c8a07a2e172b1127af9b39ecdfc57", 727 "tag" : "facd0bfe8701b7b4a2ba96d98af52bd9", 728 "result" : "valid", 729 "flags" : [ 730 "ConstructedIv" 731 ] 732 }, 733 { 734 "tcId" : 58, 735 "comment" : "J0:000102030405060708090a0b7fffffff", 736 "key" : "00112233445566778899aabbccddeeff", 737 "iv" : "b97ec62a5e5900ccf9e4be332e336091", 738 "aad" : "", 739 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 740 "ct" : "d6928e094c06e0a7c4db42184cf7529e95de88b767edebe9b343000be3dab47ea08b744293eed698", 741 "tag" : "a03e729dcfd7a03155655fece8affd7e", 742 "result" : "valid", 743 "flags" : [ 744 "ConstructedIv" 745 ] 746 }, 747 { 748 "tcId" : 59, 749 "comment" : "J0:000102030405060708090a0b7ffffffe", 750 "key" : "00112233445566778899aabbccddeeff", 751 "iv" : "7eb6e3079fa0b4c3eee366177d1c1d1d", 752 "aad" : "", 753 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 754 "ct" : "d82ce58771bf6487116bf8e96421877ed6928e094c06e0a7c4db42184cf7529e95de88b767edebe9", 755 "tag" : "1e43926828bc9a1614c7b1639096c195", 756 "result" : "valid", 757 "flags" : [ 758 "ConstructedIv" 759 ] 760 }, 761 { 762 "tcId" : 60, 763 "comment" : "J0:000102030405060708090a0bffff7fff", 764 "key" : "00112233445566778899aabbccddeeff", 765 "iv" : "0314fcd10fdd675d3c612962c931f635", 766 "aad" : "", 767 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 768 "ct" : "a197a37a5d79697078536bc27fe46cd8d475526d9044aa94f088a054f8e380c64f79414795c61480", 769 "tag" : "f08baddf0b5285c91fc06a67fe4708ca", 770 "result" : "valid", 771 "flags" : [ 772 "ConstructedIv" 773 ] 774 }, 775 { 776 "tcId" : 61, 777 "comment" : "J0:000102030405060708090a0bffff7ffe", 778 "key" : "00112233445566778899aabbccddeeff", 779 "iv" : "c4dcd9fcce24d3522b66f1469a1e8bb9", 780 "aad" : "", 781 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 782 "ct" : "149fde9abbd3a43c2548575e0db9fb84a197a37a5d79697078536bc27fe46cd8d475526d9044aa94", 783 "tag" : "62a4b6875c288345d6a454399eac1afa", 784 "result" : "valid", 785 "flags" : [ 786 "ConstructedIv" 787 ] 788 }, 789 { 790 "tcId" : 62, 791 "comment" : "special case", 792 "key" : "00112233445566778899aabbccddeeff", 793 "iv" : "00000000000000000000000000000000", 794 "aad" : "", 795 "msg" : "bec6fa05c1718b9b84c47345bbed7dcb", 796 "ct" : "45a3f89d02918bfd0c8161658ccc9795", 797 "tag" : "00000000000000000000000000000000", 798 "result" : "valid", 799 "flags" : [] 800 }, 801 { 802 "tcId" : 63, 803 "comment" : "special case", 804 "key" : "00112233445566778899aabbccddeeff", 805 "iv" : "ffffffffffffffffffffffffffffffff", 806 "aad" : "", 807 "msg" : "4d82639c39d3f3490ee903dd0be7afcf", 808 "ct" : "1cd5a06214235ceb044d4bad7b047312", 809 "tag" : "ffffffffffffffffffffffffffffffff", 810 "result" : "valid", 811 "flags" : [] 812 } 813 ] 814 }, 815 { 816 "ivSize" : 96, 817 "keySize" : 256, 818 "tagSize" : 128, 819 "type" : "AeadTest", 820 "tests" : [ 821 { 822 "tcId" : 64, 823 "comment" : "", 824 "key" : "92ace3e348cd821092cd921aa3546374299ab46209691bc28b8752d17f123c20", 825 "iv" : "00112233445566778899aabb", 826 "aad" : "00000000ffffffff", 827 "msg" : "00010203040506070809", 828 "ct" : "e27abdd2d2a53d2f136b", 829 "tag" : "9a4a2579529301bcfb71c78d4060f52c", 830 "result" : "valid", 831 "flags" : [] 832 }, 833 { 834 "tcId" : 65, 835 "comment" : "", 836 "key" : "29d3a44f8723dc640239100c365423a312934ac80239212ac3df3421a2098123", 837 "iv" : "00112233445566778899aabb", 838 "aad" : "aabbccddeeff", 839 "msg" : "", 840 "ct" : "", 841 "tag" : "2a7d77fa526b8250cb296078926b5020", 842 "result" : "valid", 843 "flags" : [] 844 }, 845 { 846 "tcId" : 66, 847 "comment" : "", 848 "key" : "cc56b680552eb75008f5484b4cb803fa5063ebd6eab91f6ab6aef4916a766273", 849 "iv" : "99e23ec48985bccdeeab60f1", 850 "aad" : "", 851 "msg" : "2a", 852 "ct" : "06", 853 "tag" : "633c1e9703ef744ffffb40edf9d14355", 854 "result" : "valid", 855 "flags" : [] 856 }, 857 { 858 "tcId" : 67, 859 "comment" : "", 860 "key" : "51e4bf2bad92b7aff1a4bc05550ba81df4b96fabf41c12c7b00e60e48db7e152", 861 "iv" : "4f07afedfdc3b6c2361823d3", 862 "aad" : "", 863 "msg" : "be3308f72a2c6aed", 864 "ct" : "cf332a12fdee800b", 865 "tag" : "602e8d7c4799d62c140c9bb834876b09", 866 "result" : "valid", 867 "flags" : [] 868 }, 869 { 870 "tcId" : 68, 871 "comment" : "", 872 "key" : "67119627bd988eda906219e08c0d0d779a07d208ce8a4fe0709af755eeec6dcb", 873 "iv" : "68ab7fdbf61901dad461d23c", 874 "aad" : "", 875 "msg" : "51f8c1f731ea14acdb210a6d973e07", 876 "ct" : "43fc101bff4b32bfadd3daf57a590e", 877 "tag" : "ec04aacb7148a8b8be44cb7eaf4efa69", 878 "result" : "valid", 879 "flags" : [] 880 }, 881 { 882 "tcId" : 69, 883 "comment" : "", 884 "key" : "59d4eafb4de0cfc7d3db99a8f54b15d7b39f0acc8da69763b019c1699f87674a", 885 "iv" : "2fcb1b38a99e71b84740ad9b", 886 "aad" : "", 887 "msg" : "549b365af913f3b081131ccb6b825588", 888 "ct" : "f58c16690122d75356907fd96b570fca", 889 "tag" : "28752c20153092818faba2a334640d6e", 890 "result" : "valid", 891 "flags" : [] 892 }, 893 { 894 "tcId" : 70, 895 "comment" : "", 896 "key" : "3b2458d8176e1621c0cc24c0c0e24c1e80d72f7ee9149a4b166176629616d011", 897 "iv" : "45aaa3e5d16d2d42dc03445d", 898 "aad" : "", 899 "msg" : "3ff1514b1c503915918f0c0c31094a6e1f", 900 "ct" : "73a6b6f45f6ccc5131e07f2caa1f2e2f56", 901 "tag" : "2d7379ec1db5952d4e95d30c340b1b1d", 902 "result" : "valid", 903 "flags" : [] 904 }, 905 { 906 "tcId" : 71, 907 "comment" : "", 908 "key" : "0212a8de5007ed87b33f1a7090b6114f9e08cefd9607f2c276bdcfdbc5ce9cd7", 909 "iv" : "e6b1adf2fd58a8762c65f31b", 910 "aad" : "", 911 "msg" : "10f1ecf9c60584665d9ae5efe279e7f7377eea6916d2b111", 912 "ct" : "0843fff52d934fc7a071ea62c0bd351ce85678cde3ea2c9e", 913 "tag" : "7355fde599006715053813ce696237a8", 914 "result" : "valid", 915 "flags" : [] 916 }, 917 { 918 "tcId" : 72, 919 "comment" : "", 920 "key" : "b279f57e19c8f53f2f963f5f2519fdb7c1779be2ca2b3ae8e1128b7d6c627fc4", 921 "iv" : "98bc2c7438d5cd7665d76f6e", 922 "aad" : "c0", 923 "msg" : "fcc515b294408c8645c9183e3f4ecee5127846d1", 924 "ct" : "eb5500e3825952866d911253f8de860c00831c81", 925 "tag" : "ecb660e1fb0541ec41e8d68a64141b3a", 926 "result" : "valid", 927 "flags" : [] 928 }, 929 { 930 "tcId" : 73, 931 "comment" : "", 932 "key" : "cdccfe3f46d782ef47df4e72f0c02d9c7f774def970d23486f11a57f54247f17", 933 "iv" : "376187894605a8d45e30de51", 934 "aad" : "956846a209e087ed", 935 "msg" : "e28e0e9f9d22463ac0e42639b530f42102fded75", 936 "ct" : "feca44952447015b5df1f456df8ca4bb4eee2ce2", 937 "tag" : "082e91924deeb77880e1b1c84f9b8d30", 938 "result" : "valid", 939 "flags" : [] 940 }, 941 { 942 "tcId" : 74, 943 "comment" : "", 944 "key" : "f32364b1d339d82e4f132d8f4a0ec1ff7e746517fa07ef1a7f422f4e25a48194", 945 "iv" : "5a86a50a0e8a179c734b996d", 946 "aad" : "ab2ac7c44c60bdf8228c7884adb20184", 947 "msg" : "43891bccb522b1e72a6b53cf31c074e9d6c2df8e", 948 "ct" : "43dda832e942e286da314daa99bef5071d9d2c78", 949 "tag" : "c3922583476ced575404ddb85dd8cd44", 950 "result" : "valid", 951 "flags" : [] 952 }, 953 { 954 "tcId" : 75, 955 "comment" : "", 956 "key" : "ff0089ee870a4a39f645b0a5da774f7a5911e9696fc9cad646452c2aa8595a12", 957 "iv" : "bc2a7757d0ce2d8b1f14ccd9", 958 "aad" : "972ab4e06390caae8f99dd6e2187be6c7ff2c08a24be16ef", 959 "msg" : "748b28031621d95ee61812b4b4f47d04c6fc2ff3", 960 "ct" : "a929ee7e67c7a2f91bbcec6389a3caf43ab49305", 961 "tag" : "ebec6774b955e789591c822dab739e12", 962 "result" : "valid", 963 "flags" : [] 964 }, 965 { 966 "tcId" : 76, 967 "comment" : "special case", 968 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 969 "iv" : "000000000000000000000000", 970 "aad" : "", 971 "msg" : "561008fa07a68f5c61285cd013464eaf", 972 "ct" : "23293e9b07ca7d1b0cae7cc489a973b3", 973 "tag" : "ffffffffffffffffffffffffffffffff", 974 "result" : "valid", 975 "flags" : [] 976 }, 977 { 978 "tcId" : 77, 979 "comment" : "special case", 980 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 981 "iv" : "ffffffffffffffffffffffff", 982 "aad" : "", 983 "msg" : "c6152244cea1978d3e0bc274cf8c0b3b", 984 "ct" : "7cb6fc7c6abc009efe9551a99f36a421", 985 "tag" : "00000000000000000000000000000000", 986 "result" : "valid", 987 "flags" : [] 988 }, 989 { 990 "tcId" : 78, 991 "comment" : "Flipped bit 0 in tag", 992 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 993 "iv" : "505152535455565758595a5b", 994 "aad" : "", 995 "msg" : "202122232425262728292a2b2c2d2e2f", 996 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 997 "tag" : "9de8fef6d8ab1bf1bf887232eab590dd", 998 "result" : "invalid", 999 "flags" : [] 1000 }, 1001 { 1002 "tcId" : 79, 1003 "comment" : "Flipped bit 1 in tag", 1004 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1005 "iv" : "505152535455565758595a5b", 1006 "aad" : "", 1007 "msg" : "202122232425262728292a2b2c2d2e2f", 1008 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1009 "tag" : "9ee8fef6d8ab1bf1bf887232eab590dd", 1010 "result" : "invalid", 1011 "flags" : [] 1012 }, 1013 { 1014 "tcId" : 80, 1015 "comment" : "Flipped bit 7 in tag", 1016 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1017 "iv" : "505152535455565758595a5b", 1018 "aad" : "", 1019 "msg" : "202122232425262728292a2b2c2d2e2f", 1020 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1021 "tag" : "1ce8fef6d8ab1bf1bf887232eab590dd", 1022 "result" : "invalid", 1023 "flags" : [] 1024 }, 1025 { 1026 "tcId" : 81, 1027 "comment" : "Flipped bit 8 in tag", 1028 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1029 "iv" : "505152535455565758595a5b", 1030 "aad" : "", 1031 "msg" : "202122232425262728292a2b2c2d2e2f", 1032 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1033 "tag" : "9ce9fef6d8ab1bf1bf887232eab590dd", 1034 "result" : "invalid", 1035 "flags" : [] 1036 }, 1037 { 1038 "tcId" : 82, 1039 "comment" : "Flipped bit 31 in tag", 1040 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1041 "iv" : "505152535455565758595a5b", 1042 "aad" : "", 1043 "msg" : "202122232425262728292a2b2c2d2e2f", 1044 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1045 "tag" : "9ce8fe76d8ab1bf1bf887232eab590dd", 1046 "result" : "invalid", 1047 "flags" : [] 1048 }, 1049 { 1050 "tcId" : 83, 1051 "comment" : "Flipped bit 32 in tag", 1052 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1053 "iv" : "505152535455565758595a5b", 1054 "aad" : "", 1055 "msg" : "202122232425262728292a2b2c2d2e2f", 1056 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1057 "tag" : "9ce8fef6d9ab1bf1bf887232eab590dd", 1058 "result" : "invalid", 1059 "flags" : [] 1060 }, 1061 { 1062 "tcId" : 84, 1063 "comment" : "Flipped bit 33 in tag", 1064 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1065 "iv" : "505152535455565758595a5b", 1066 "aad" : "", 1067 "msg" : "202122232425262728292a2b2c2d2e2f", 1068 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1069 "tag" : "9ce8fef6daab1bf1bf887232eab590dd", 1070 "result" : "invalid", 1071 "flags" : [] 1072 }, 1073 { 1074 "tcId" : 85, 1075 "comment" : "Flipped bit 63 in tag", 1076 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1077 "iv" : "505152535455565758595a5b", 1078 "aad" : "", 1079 "msg" : "202122232425262728292a2b2c2d2e2f", 1080 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1081 "tag" : "9ce8fef6d8ab1b71bf887232eab590dd", 1082 "result" : "invalid", 1083 "flags" : [] 1084 }, 1085 { 1086 "tcId" : 86, 1087 "comment" : "Flipped bit 64 in tag", 1088 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1089 "iv" : "505152535455565758595a5b", 1090 "aad" : "", 1091 "msg" : "202122232425262728292a2b2c2d2e2f", 1092 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1093 "tag" : "9ce8fef6d8ab1bf1be887232eab590dd", 1094 "result" : "invalid", 1095 "flags" : [] 1096 }, 1097 { 1098 "tcId" : 87, 1099 "comment" : "Flipped bit 71 in tag", 1100 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1101 "iv" : "505152535455565758595a5b", 1102 "aad" : "", 1103 "msg" : "202122232425262728292a2b2c2d2e2f", 1104 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1105 "tag" : "9ce8fef6d8ab1bf13f887232eab590dd", 1106 "result" : "invalid", 1107 "flags" : [] 1108 }, 1109 { 1110 "tcId" : 88, 1111 "comment" : "Flipped bit 77 in tag", 1112 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1113 "iv" : "505152535455565758595a5b", 1114 "aad" : "", 1115 "msg" : "202122232425262728292a2b2c2d2e2f", 1116 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1117 "tag" : "9ce8fef6d8ab1bf1bfa87232eab590dd", 1118 "result" : "invalid", 1119 "flags" : [] 1120 }, 1121 { 1122 "tcId" : 89, 1123 "comment" : "Flipped bit 80 in tag", 1124 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1125 "iv" : "505152535455565758595a5b", 1126 "aad" : "", 1127 "msg" : "202122232425262728292a2b2c2d2e2f", 1128 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1129 "tag" : "9ce8fef6d8ab1bf1bf887332eab590dd", 1130 "result" : "invalid", 1131 "flags" : [] 1132 }, 1133 { 1134 "tcId" : 90, 1135 "comment" : "Flipped bit 96 in tag", 1136 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1137 "iv" : "505152535455565758595a5b", 1138 "aad" : "", 1139 "msg" : "202122232425262728292a2b2c2d2e2f", 1140 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1141 "tag" : "9ce8fef6d8ab1bf1bf887232ebb590dd", 1142 "result" : "invalid", 1143 "flags" : [] 1144 }, 1145 { 1146 "tcId" : 91, 1147 "comment" : "Flipped bit 97 in tag", 1148 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1149 "iv" : "505152535455565758595a5b", 1150 "aad" : "", 1151 "msg" : "202122232425262728292a2b2c2d2e2f", 1152 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1153 "tag" : "9ce8fef6d8ab1bf1bf887232e8b590dd", 1154 "result" : "invalid", 1155 "flags" : [] 1156 }, 1157 { 1158 "tcId" : 92, 1159 "comment" : "Flipped bit 103 in tag", 1160 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1161 "iv" : "505152535455565758595a5b", 1162 "aad" : "", 1163 "msg" : "202122232425262728292a2b2c2d2e2f", 1164 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1165 "tag" : "9ce8fef6d8ab1bf1bf8872326ab590dd", 1166 "result" : "invalid", 1167 "flags" : [] 1168 }, 1169 { 1170 "tcId" : 93, 1171 "comment" : "Flipped bit 120 in tag", 1172 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1173 "iv" : "505152535455565758595a5b", 1174 "aad" : "", 1175 "msg" : "202122232425262728292a2b2c2d2e2f", 1176 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1177 "tag" : "9ce8fef6d8ab1bf1bf887232eab590dc", 1178 "result" : "invalid", 1179 "flags" : [] 1180 }, 1181 { 1182 "tcId" : 94, 1183 "comment" : "Flipped bit 121 in tag", 1184 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1185 "iv" : "505152535455565758595a5b", 1186 "aad" : "", 1187 "msg" : "202122232425262728292a2b2c2d2e2f", 1188 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1189 "tag" : "9ce8fef6d8ab1bf1bf887232eab590df", 1190 "result" : "invalid", 1191 "flags" : [] 1192 }, 1193 { 1194 "tcId" : 95, 1195 "comment" : "Flipped bit 126 in tag", 1196 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1197 "iv" : "505152535455565758595a5b", 1198 "aad" : "", 1199 "msg" : "202122232425262728292a2b2c2d2e2f", 1200 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1201 "tag" : "9ce8fef6d8ab1bf1bf887232eab5909d", 1202 "result" : "invalid", 1203 "flags" : [] 1204 }, 1205 { 1206 "tcId" : 96, 1207 "comment" : "Flipped bit 127 in tag", 1208 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1209 "iv" : "505152535455565758595a5b", 1210 "aad" : "", 1211 "msg" : "202122232425262728292a2b2c2d2e2f", 1212 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1213 "tag" : "9ce8fef6d8ab1bf1bf887232eab5905d", 1214 "result" : "invalid", 1215 "flags" : [] 1216 }, 1217 { 1218 "tcId" : 97, 1219 "comment" : "Flipped bits 0 and 64 in tag", 1220 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1221 "iv" : "505152535455565758595a5b", 1222 "aad" : "", 1223 "msg" : "202122232425262728292a2b2c2d2e2f", 1224 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1225 "tag" : "9de8fef6d8ab1bf1be887232eab590dd", 1226 "result" : "invalid", 1227 "flags" : [] 1228 }, 1229 { 1230 "tcId" : 98, 1231 "comment" : "Flipped bits 31 and 63 in tag", 1232 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1233 "iv" : "505152535455565758595a5b", 1234 "aad" : "", 1235 "msg" : "202122232425262728292a2b2c2d2e2f", 1236 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1237 "tag" : "9ce8fe76d8ab1b71bf887232eab590dd", 1238 "result" : "invalid", 1239 "flags" : [] 1240 }, 1241 { 1242 "tcId" : 99, 1243 "comment" : "Flipped bits 63 and 127 in tag", 1244 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1245 "iv" : "505152535455565758595a5b", 1246 "aad" : "", 1247 "msg" : "202122232425262728292a2b2c2d2e2f", 1248 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1249 "tag" : "9ce8fef6d8ab1b71bf887232eab5905d", 1250 "result" : "invalid", 1251 "flags" : [] 1252 }, 1253 { 1254 "tcId" : 100, 1255 "comment" : "all bits of tag flipped", 1256 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1257 "iv" : "505152535455565758595a5b", 1258 "aad" : "", 1259 "msg" : "202122232425262728292a2b2c2d2e2f", 1260 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1261 "tag" : "631701092754e40e40778dcd154a6f22", 1262 "result" : "invalid", 1263 "flags" : [] 1264 }, 1265 { 1266 "tcId" : 101, 1267 "comment" : "Tag changed to all zero", 1268 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1269 "iv" : "505152535455565758595a5b", 1270 "aad" : "", 1271 "msg" : "202122232425262728292a2b2c2d2e2f", 1272 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1273 "tag" : "00000000000000000000000000000000", 1274 "result" : "invalid", 1275 "flags" : [] 1276 }, 1277 { 1278 "tcId" : 102, 1279 "comment" : "tag changed to all 1", 1280 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1281 "iv" : "505152535455565758595a5b", 1282 "aad" : "", 1283 "msg" : "202122232425262728292a2b2c2d2e2f", 1284 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1285 "tag" : "ffffffffffffffffffffffffffffffff", 1286 "result" : "invalid", 1287 "flags" : [] 1288 }, 1289 { 1290 "tcId" : 103, 1291 "comment" : "msbs changed in tag", 1292 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1293 "iv" : "505152535455565758595a5b", 1294 "aad" : "", 1295 "msg" : "202122232425262728292a2b2c2d2e2f", 1296 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1297 "tag" : "1c687e76582b9b713f08f2b26a35105d", 1298 "result" : "invalid", 1299 "flags" : [] 1300 }, 1301 { 1302 "tcId" : 104, 1303 "comment" : "lsbs changed in tag", 1304 "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", 1305 "iv" : "505152535455565758595a5b", 1306 "aad" : "", 1307 "msg" : "202122232425262728292a2b2c2d2e2f", 1308 "ct" : "b2061457c0759fc1749f174ee1ccadfa", 1309 "tag" : "9de9fff7d9aa1af0be897333ebb491dc", 1310 "result" : "invalid", 1311 "flags" : [] 1312 } 1313 ] 1314 }, 1315 { 1316 "ivSize" : 128, 1317 "keySize" : 192, 1318 "tagSize" : 128, 1319 "type" : "AeadTest", 1320 "tests" : [ 1321 { 1322 "tcId" : 105, 1323 "comment" : "J0:000102030405060708090a0b0c0d0e0f", 1324 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1325 "iv" : "029e0e777db092b12535d043012f09ba", 1326 "aad" : "", 1327 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 1328 "ct" : "f83cee467336e1a09b75f24e9b4385c99c13e6af722256a66129ece961fe803b167bad206f5017fb", 1329 "tag" : "09338a42f0acc14f97c064f52f5f1688", 1330 "result" : "valid", 1331 "flags" : [ 1332 "ConstructedIv" 1333 ] 1334 }, 1335 { 1336 "tcId" : 106, 1337 "comment" : "J0:00000000000000000000000000000000", 1338 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1339 "iv" : "f1be3b06b7feac07e7eab629f556047b", 1340 "aad" : "", 1341 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 1342 "ct" : "0b32b648a2c28e9edd7cee08eeeb900034cae7215e5ab1e201bd2eed1032c5a97866ba582a3458a4", 1343 "tag" : "90be3606de58bd778fa5beff4a4102bd", 1344 "result" : "valid", 1345 "flags" : [ 1346 "ConstructedIv" 1347 ] 1348 }, 1349 { 1350 "tcId" : 107, 1351 "comment" : "J0:ffffffffffffffffffffffffffffffff", 1352 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1353 "iv" : "de9eb63b1daed321a11b7547cc9e223c", 1354 "aad" : "", 1355 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 1356 "ct" : "575e2ecec2b3c72d4e80830d0d859ad9e42c29c4a68d8d9d8d23434de2cd07733be49d62ac1ae085", 1357 "tag" : "6e4d6396125a10df5443bd0cbc8566d1", 1358 "result" : "valid", 1359 "flags" : [ 1360 "ConstructedIv" 1361 ] 1362 }, 1363 { 1364 "tcId" : 108, 1365 "comment" : "J0:fffffffffffffffffffffffffffffffe", 1366 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1367 "iv" : "40bb0abebc483ff6d5671241ff5d66c6", 1368 "aad" : "", 1369 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 1370 "ct" : "2a818888d1f09f32aa7beedd2869b446575e2ecec2b3c72d4e80830d0d859ad9e42c29c4a68d8d9d", 1371 "tag" : "dc481f172545268eff63ab0490403dc3", 1372 "result" : "valid", 1373 "flags" : [ 1374 "ConstructedIv" 1375 ] 1376 }, 1377 { 1378 "tcId" : 109, 1379 "comment" : "J0:fffffffffffffffffffffffffffffffd", 1380 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1381 "iv" : "20d5cf305e630a8f49e3bb4bab18abc9", 1382 "aad" : "", 1383 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 1384 "ct" : "96d36b795f8e7edf6a8e0dbcd20d6c072a818888d1f09f32aa7beedd2869b446575e2ecec2b3c72d", 1385 "tag" : "8a3a22bf2592958b930292aa47f590e8", 1386 "result" : "valid", 1387 "flags" : [ 1388 "ConstructedIv" 1389 ] 1390 }, 1391 { 1392 "tcId" : 110, 1393 "comment" : "J0:000102030405060708090a0bffffffff", 1394 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1395 "iv" : "255358a71a0e5731f6dd6ce28e158ae6", 1396 "aad" : "", 1397 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 1398 "ct" : "cfce3d920f0e01f0bb49a751955b236d1b887baefd25c47f41303c46d5c7bf9ca4c2c45a8f1e6656", 1399 "tag" : "2db9dc1b7fd315df1c95432432fcf474", 1400 "result" : "valid", 1401 "flags" : [ 1402 "ConstructedIv" 1403 ] 1404 }, 1405 { 1406 "tcId" : 111, 1407 "comment" : "J0:000102030405060708090a0bfffffffe", 1408 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1409 "iv" : "bb76e422bbe8bbe682a10be4bdd6ce1c", 1410 "aad" : "", 1411 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 1412 "ct" : "69a24169792e9a07f6e6f4736fa972dccfce3d920f0e01f0bb49a751955b236d1b887baefd25c47f", 1413 "tag" : "82ad967f7ac19084354f69a751443fb2", 1414 "result" : "valid", 1415 "flags" : [ 1416 "ConstructedIv" 1417 ] 1418 }, 1419 { 1420 "tcId" : 112, 1421 "comment" : "J0:000102030405060708090a0bfffffffd", 1422 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1423 "iv" : "db1821ac59c38e9f1e25a2eee9930313", 1424 "aad" : "", 1425 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 1426 "ct" : "4e4417a83beac1eb7e24456a05f6ba5569a24169792e9a07f6e6f4736fa972dccfce3d920f0e01f0", 1427 "tag" : "472d5dd582dc05ef5fc496b612023cb2", 1428 "result" : "valid", 1429 "flags" : [ 1430 "ConstructedIv" 1431 ] 1432 }, 1433 { 1434 "tcId" : 113, 1435 "comment" : "J0:000102030405060708090a0b7fffffff", 1436 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1437 "iv" : "f7a02ecca03064b2ef3cce9feab79f07", 1438 "aad" : "", 1439 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 1440 "ct" : "6f8e174efca3097299f784efd4caff0bf168c3e5165b9ad3d20062009848044eef8f31f7d2fead05", 1441 "tag" : "caff723826df150934aee3201ba175e7", 1442 "result" : "valid", 1443 "flags" : [ 1444 "ConstructedIv" 1445 ] 1446 }, 1447 { 1448 "tcId" : 114, 1449 "comment" : "J0:000102030405060708090a0b7ffffffe", 1450 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1451 "iv" : "6985924901d688659b40a999d974dbfd", 1452 "aad" : "", 1453 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 1454 "ct" : "af193090ce3d43a388a1d294a09616906f8e174efca3097299f784efd4caff0bf168c3e5165b9ad3", 1455 "tag" : "3b08958be1286c2b4acba02b3674adb2", 1456 "result" : "valid", 1457 "flags" : [ 1458 "ConstructedIv" 1459 ] 1460 }, 1461 { 1462 "tcId" : 115, 1463 "comment" : "J0:000102030405060708090a0bffff7fff", 1464 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1465 "iv" : "3f1188546c65ed0fc55e75032c68ee44", 1466 "aad" : "", 1467 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 1468 "ct" : "5deccf838b2cf5f869c90d2a611160b1e578ab8121b93735cba4a1930647b8c4c84bf776333ee45a", 1469 "tag" : "c14d52208f0f51b816a48971eaf8ff7e", 1470 "result" : "valid", 1471 "flags" : [ 1472 "ConstructedIv" 1473 ] 1474 }, 1475 { 1476 "tcId" : 116, 1477 "comment" : "J0:000102030405060708090a0bffff7ffe", 1478 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1479 "iv" : "a13434d1cd8301d8b12212051fabaabe", 1480 "aad" : "", 1481 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 1482 "ct" : "d2cae1684aa407a13a2e2da5357e29f55deccf838b2cf5f869c90d2a611160b1e578ab8121b93735", 1483 "tag" : "ea2d018099cd7925c507cef0ceddb0ae", 1484 "result" : "valid", 1485 "flags" : [ 1486 "ConstructedIv" 1487 ] 1488 }, 1489 { 1490 "tcId" : 117, 1491 "comment" : "special case", 1492 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1493 "iv" : "00000000000000000000000000000000", 1494 "aad" : "", 1495 "msg" : "5c7d3f81d4b5055ed6f8db53614587a4", 1496 "ct" : "541b835dc828d541073f7d7d7504ebf5", 1497 "tag" : "00000000000000000000000000000000", 1498 "result" : "valid", 1499 "flags" : [] 1500 }, 1501 { 1502 "tcId" : 118, 1503 "comment" : "special case", 1504 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1505 "iv" : "ffffffffffffffffffffffffffffffff", 1506 "aad" : "", 1507 "msg" : "6a347ad1190e72ede611044e7475f0eb", 1508 "ct" : "a3f36154331c196624564bc395e49c3b", 1509 "tag" : "ffffffffffffffffffffffffffffffff", 1510 "result" : "valid", 1511 "flags" : [] 1512 }, 1513 { 1514 "tcId" : 119, 1515 "comment" : "", 1516 "key" : "cee9abbc26b63e169f0ced621fe21d95904e75b881d93e6b", 1517 "iv" : "1e8259e0a43e571068f701cd2064fc0c", 1518 "aad" : "", 1519 "msg" : "46", 1520 "ct" : "dc", 1521 "tag" : "af1f5535b125b34fc466902ea40cb3a2", 1522 "result" : "valid", 1523 "flags" : [] 1524 }, 1525 { 1526 "tcId" : 120, 1527 "comment" : "", 1528 "key" : "189f0bd390ba40632586a45c39735c2b87113329c800f394", 1529 "iv" : "c84442d6975f0359737de0fa828f958e", 1530 "aad" : "", 1531 "msg" : "b4bcd7b8eeca3050dd17682c6a914e", 1532 "ct" : "2aab5c87dcb4a4dae4e975ddb65aab", 1533 "tag" : "6b03b7557c7131e2352e495d54e61aef", 1534 "result" : "valid", 1535 "flags" : [] 1536 }, 1537 { 1538 "tcId" : 121, 1539 "comment" : "", 1540 "key" : "b0724f15df5b792c2f49bc51df0ac5aad69be0030981613c", 1541 "iv" : "13cd526ec77b58f62d48d03f8b88f2b8", 1542 "aad" : "", 1543 "msg" : "8da3ab9c3d195b04df452ad23953da4d", 1544 "ct" : "d127fd2e67c0887d90eb92b91f357d97", 1545 "tag" : "eb05bda937faeed27f8833295d4ba559", 1546 "result" : "valid", 1547 "flags" : [] 1548 }, 1549 { 1550 "tcId" : 122, 1551 "comment" : "", 1552 "key" : "998750ba784841e40a7c5b03985732b6397e5459a3843954", 1553 "iv" : "1d3d62eccd8ac5e896f2654a7f606fc9", 1554 "aad" : "", 1555 "msg" : "2f60ca3494a958dc3e6ebeb5d0b4e6dda0d0c4331ab9c957f6422a5100878ebf", 1556 "ct" : "344c2cea17b06cb3da272e22a22a3a71ee0eaa1959a7facfff464660ddccedd1", 1557 "tag" : "bab7fbf499ff06aad5f757b1c1a4fcc0", 1558 "result" : "valid", 1559 "flags" : [] 1560 } 1561 ] 1562 }, 1563 { 1564 "ivSize" : 96, 1565 "keySize" : 192, 1566 "tagSize" : 128, 1567 "type" : "AeadTest", 1568 "tests" : [ 1569 { 1570 "tcId" : 123, 1571 "comment" : "special case", 1572 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1573 "iv" : "000000000000000000000000", 1574 "aad" : "", 1575 "msg" : "0b4dbbba8982e0f649f8ba85f3aa061b", 1576 "ct" : "3f875c9bd7d8511448459468e398c3b2", 1577 "tag" : "ffffffffffffffffffffffffffffffff", 1578 "result" : "valid", 1579 "flags" : [] 1580 }, 1581 { 1582 "tcId" : 124, 1583 "comment" : "special case", 1584 "key" : "00112233445566778899aabbccddeeff1021324354657687", 1585 "iv" : "ffffffffffffffffffffffff", 1586 "aad" : "", 1587 "msg" : "1ae93688ef7e2650a9342ad4718b2780", 1588 "ct" : "210dabea4364c6d5b3429e7743322936", 1589 "tag" : "00000000000000000000000000000000", 1590 "result" : "valid", 1591 "flags" : [] 1592 }, 1593 { 1594 "tcId" : 125, 1595 "comment" : "", 1596 "key" : "21218af790428f8024d3e7e1428c9fcf578c216636d60e73", 1597 "iv" : "34047bc39b9c608384dff5b8", 1598 "aad" : "", 1599 "msg" : "e3", 1600 "ct" : "fe", 1601 "tag" : "2e982e24b81cd120d35a70fe6935e665", 1602 "result" : "valid", 1603 "flags" : [] 1604 }, 1605 { 1606 "tcId" : 126, 1607 "comment" : "", 1608 "key" : "3a8bf543c480925632118245bcbf5d01522b987a31a33da3", 1609 "iv" : "4ebc13cf4636cc7c45e560a7", 1610 "aad" : "", 1611 "msg" : "53fc72e71b59eeb3", 1612 "ct" : "99f2ff1c8a44e5f2", 1613 "tag" : "6870f104ddc514477b400336fb01860e", 1614 "result" : "valid", 1615 "flags" : [] 1616 }, 1617 { 1618 "tcId" : 127, 1619 "comment" : "", 1620 "key" : "92f4d2672fceec43963ccffb17e6ea7578b11418b06a3b82", 1621 "iv" : "6e7ff7f0797685cfc44b05ff", 1622 "aad" : "", 1623 "msg" : "c3ec16adb184affa8ae9738bffb916", 1624 "ct" : "afe8ef41591bfcc00db3c880ceb186", 1625 "tag" : "29fff7f285768645c9c8bf7a471c9393", 1626 "result" : "valid", 1627 "flags" : [] 1628 }, 1629 { 1630 "tcId" : 128, 1631 "comment" : "", 1632 "key" : "bcb6bc5ee6743df1396a34639327b25809ec9c81dd6a0c0e", 1633 "iv" : "be0326d23bdc2c64648d13f4", 1634 "aad" : "", 1635 "msg" : "80474a3a3b809560eee2ce7a7a33ea07", 1636 "ct" : "90339dca02ef717f1603994aee6cf6d2", 1637 "tag" : "e3d33e01ce64f271783147de226228bc", 1638 "result" : "valid", 1639 "flags" : [] 1640 }, 1641 { 1642 "tcId" : 129, 1643 "comment" : "", 1644 "key" : "5e1d28213e092536525bbae09e214af4c891e202b2b4fa4f", 1645 "iv" : "b6be6cd0681235d826aa28ea", 1646 "aad" : "", 1647 "msg" : "53d59433a7db7f41b31ccb6d4a2d789965", 1648 "ct" : "b98ed6321679941a3e521834296686ad98", 1649 "tag" : "9f50c03e055e519712c582ec9db3235b", 1650 "result" : "valid", 1651 "flags" : [] 1652 }, 1653 { 1654 "tcId" : 130, 1655 "comment" : "", 1656 "key" : "7f672d85e151aa490bc0eec8f66b5e5bee74af11642be3ff", 1657 "iv" : "b022067048505b20946216ef", 1658 "aad" : "", 1659 "msg" : "ef6412c72b03c643fa02565a0ae2378a9311c11a84065f80", 1660 "ct" : "addd303651119e52f6170dfc7a915064253d57532987b9ab", 1661 "tag" : "fa0484f8baa95f5b7a31c56d1b34c58b", 1662 "result" : "valid", 1663 "flags" : [] 1664 }, 1665 { 1666 "tcId" : 131, 1667 "comment" : "", 1668 "key" : "969fed5068541d65418c2c1de8fe1f845e036030496e1272", 1669 "iv" : "817fe51c31f2879141a34335", 1670 "aad" : "cb", 1671 "msg" : "3d8233191a2823bf767e99167b1d4af4f4848458", 1672 "ct" : "0d2c3a3c0cc4b40e70ed45e188e356a0e1533b31", 1673 "tag" : "92909a80e90540e1878ab59ef300072b", 1674 "result" : "valid", 1675 "flags" : [] 1676 }, 1677 { 1678 "tcId" : 132, 1679 "comment" : "", 1680 "key" : "fa5b9b41f93f8b682c04ba816c3fecc24eec095b04dd7497", 1681 "iv" : "62b9cf1e923bc1138d05d205", 1682 "aad" : "2ed8487153e21b12", 1683 "msg" : "18159841813a69fc0f8f4229e1678da7c9016711", 1684 "ct" : "c7c1cbb85ce2a0a3f32cb9ef01ad45ec1118b66d", 1685 "tag" : "253317f98bdab87531ece20475cd9ebb", 1686 "result" : "valid", 1687 "flags" : [] 1688 }, 1689 { 1690 "tcId" : 133, 1691 "comment" : "", 1692 "key" : "fbfb395662787e2d25a2e7510f818e825936a35114e237c9", 1693 "iv" : "3f1a1e02e90a4ba7a1db9df2", 1694 "aad" : "74318d8876528243f1944b73eb77e96e", 1695 "msg" : "2952a3d64107d5cbb9602239d05a5c5c222cf72b", 1696 "ct" : "ecf5e403f19c007c8da7a456caf0a6d75762829b", 1697 "tag" : "e0877a100f9dd9d6795f0e74c56a9fab", 1698 "result" : "valid", 1699 "flags" : [] 1700 }, 1701 { 1702 "tcId" : 134, 1703 "comment" : "", 1704 "key" : "5d8e9c2222316c9ed5ff94513cc957436ae447a6e1a73a29", 1705 "iv" : "0802ae86c75a73bf79561521", 1706 "aad" : "5ca354a4cb8e4fc9798aa209ad4f739dc7c232fdd1f22584", 1707 "msg" : "42b4439e1d2116f834b91c516a26299df279956b", 1708 "ct" : "94d844d98b9467daa7e8dde7f4290037354d7fb2", 1709 "tag" : "62196638590cef429d6b1d1a59839c02", 1710 "result" : "valid", 1711 "flags" : [] 1712 }, 1713 { 1714 "tcId" : 135, 1715 "comment" : "Flipped bit 0 in tag", 1716 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1717 "iv" : "505152535455565758595a5b", 1718 "aad" : "", 1719 "msg" : "202122232425262728292a2b2c2d2e2f", 1720 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1721 "tag" : "b5e44c5b2fe90e4c78f358da0d99cb64", 1722 "result" : "invalid", 1723 "flags" : [] 1724 }, 1725 { 1726 "tcId" : 136, 1727 "comment" : "Flipped bit 1 in tag", 1728 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1729 "iv" : "505152535455565758595a5b", 1730 "aad" : "", 1731 "msg" : "202122232425262728292a2b2c2d2e2f", 1732 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1733 "tag" : "b6e44c5b2fe90e4c78f358da0d99cb64", 1734 "result" : "invalid", 1735 "flags" : [] 1736 }, 1737 { 1738 "tcId" : 137, 1739 "comment" : "Flipped bit 7 in tag", 1740 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1741 "iv" : "505152535455565758595a5b", 1742 "aad" : "", 1743 "msg" : "202122232425262728292a2b2c2d2e2f", 1744 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1745 "tag" : "34e44c5b2fe90e4c78f358da0d99cb64", 1746 "result" : "invalid", 1747 "flags" : [] 1748 }, 1749 { 1750 "tcId" : 138, 1751 "comment" : "Flipped bit 8 in tag", 1752 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1753 "iv" : "505152535455565758595a5b", 1754 "aad" : "", 1755 "msg" : "202122232425262728292a2b2c2d2e2f", 1756 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1757 "tag" : "b4e54c5b2fe90e4c78f358da0d99cb64", 1758 "result" : "invalid", 1759 "flags" : [] 1760 }, 1761 { 1762 "tcId" : 139, 1763 "comment" : "Flipped bit 31 in tag", 1764 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1765 "iv" : "505152535455565758595a5b", 1766 "aad" : "", 1767 "msg" : "202122232425262728292a2b2c2d2e2f", 1768 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1769 "tag" : "b4e44cdb2fe90e4c78f358da0d99cb64", 1770 "result" : "invalid", 1771 "flags" : [] 1772 }, 1773 { 1774 "tcId" : 140, 1775 "comment" : "Flipped bit 32 in tag", 1776 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1777 "iv" : "505152535455565758595a5b", 1778 "aad" : "", 1779 "msg" : "202122232425262728292a2b2c2d2e2f", 1780 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1781 "tag" : "b4e44c5b2ee90e4c78f358da0d99cb64", 1782 "result" : "invalid", 1783 "flags" : [] 1784 }, 1785 { 1786 "tcId" : 141, 1787 "comment" : "Flipped bit 33 in tag", 1788 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1789 "iv" : "505152535455565758595a5b", 1790 "aad" : "", 1791 "msg" : "202122232425262728292a2b2c2d2e2f", 1792 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1793 "tag" : "b4e44c5b2de90e4c78f358da0d99cb64", 1794 "result" : "invalid", 1795 "flags" : [] 1796 }, 1797 { 1798 "tcId" : 142, 1799 "comment" : "Flipped bit 63 in tag", 1800 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1801 "iv" : "505152535455565758595a5b", 1802 "aad" : "", 1803 "msg" : "202122232425262728292a2b2c2d2e2f", 1804 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1805 "tag" : "b4e44c5b2fe90ecc78f358da0d99cb64", 1806 "result" : "invalid", 1807 "flags" : [] 1808 }, 1809 { 1810 "tcId" : 143, 1811 "comment" : "Flipped bit 64 in tag", 1812 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1813 "iv" : "505152535455565758595a5b", 1814 "aad" : "", 1815 "msg" : "202122232425262728292a2b2c2d2e2f", 1816 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1817 "tag" : "b4e44c5b2fe90e4c79f358da0d99cb64", 1818 "result" : "invalid", 1819 "flags" : [] 1820 }, 1821 { 1822 "tcId" : 144, 1823 "comment" : "Flipped bit 71 in tag", 1824 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1825 "iv" : "505152535455565758595a5b", 1826 "aad" : "", 1827 "msg" : "202122232425262728292a2b2c2d2e2f", 1828 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1829 "tag" : "b4e44c5b2fe90e4cf8f358da0d99cb64", 1830 "result" : "invalid", 1831 "flags" : [] 1832 }, 1833 { 1834 "tcId" : 145, 1835 "comment" : "Flipped bit 77 in tag", 1836 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1837 "iv" : "505152535455565758595a5b", 1838 "aad" : "", 1839 "msg" : "202122232425262728292a2b2c2d2e2f", 1840 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1841 "tag" : "b4e44c5b2fe90e4c78d358da0d99cb64", 1842 "result" : "invalid", 1843 "flags" : [] 1844 }, 1845 { 1846 "tcId" : 146, 1847 "comment" : "Flipped bit 80 in tag", 1848 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1849 "iv" : "505152535455565758595a5b", 1850 "aad" : "", 1851 "msg" : "202122232425262728292a2b2c2d2e2f", 1852 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1853 "tag" : "b4e44c5b2fe90e4c78f359da0d99cb64", 1854 "result" : "invalid", 1855 "flags" : [] 1856 }, 1857 { 1858 "tcId" : 147, 1859 "comment" : "Flipped bit 96 in tag", 1860 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1861 "iv" : "505152535455565758595a5b", 1862 "aad" : "", 1863 "msg" : "202122232425262728292a2b2c2d2e2f", 1864 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1865 "tag" : "b4e44c5b2fe90e4c78f358da0c99cb64", 1866 "result" : "invalid", 1867 "flags" : [] 1868 }, 1869 { 1870 "tcId" : 148, 1871 "comment" : "Flipped bit 97 in tag", 1872 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1873 "iv" : "505152535455565758595a5b", 1874 "aad" : "", 1875 "msg" : "202122232425262728292a2b2c2d2e2f", 1876 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1877 "tag" : "b4e44c5b2fe90e4c78f358da0f99cb64", 1878 "result" : "invalid", 1879 "flags" : [] 1880 }, 1881 { 1882 "tcId" : 149, 1883 "comment" : "Flipped bit 103 in tag", 1884 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1885 "iv" : "505152535455565758595a5b", 1886 "aad" : "", 1887 "msg" : "202122232425262728292a2b2c2d2e2f", 1888 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1889 "tag" : "b4e44c5b2fe90e4c78f358da8d99cb64", 1890 "result" : "invalid", 1891 "flags" : [] 1892 }, 1893 { 1894 "tcId" : 150, 1895 "comment" : "Flipped bit 120 in tag", 1896 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1897 "iv" : "505152535455565758595a5b", 1898 "aad" : "", 1899 "msg" : "202122232425262728292a2b2c2d2e2f", 1900 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1901 "tag" : "b4e44c5b2fe90e4c78f358da0d99cb65", 1902 "result" : "invalid", 1903 "flags" : [] 1904 }, 1905 { 1906 "tcId" : 151, 1907 "comment" : "Flipped bit 121 in tag", 1908 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1909 "iv" : "505152535455565758595a5b", 1910 "aad" : "", 1911 "msg" : "202122232425262728292a2b2c2d2e2f", 1912 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1913 "tag" : "b4e44c5b2fe90e4c78f358da0d99cb66", 1914 "result" : "invalid", 1915 "flags" : [] 1916 }, 1917 { 1918 "tcId" : 152, 1919 "comment" : "Flipped bit 126 in tag", 1920 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1921 "iv" : "505152535455565758595a5b", 1922 "aad" : "", 1923 "msg" : "202122232425262728292a2b2c2d2e2f", 1924 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1925 "tag" : "b4e44c5b2fe90e4c78f358da0d99cb24", 1926 "result" : "invalid", 1927 "flags" : [] 1928 }, 1929 { 1930 "tcId" : 153, 1931 "comment" : "Flipped bit 127 in tag", 1932 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1933 "iv" : "505152535455565758595a5b", 1934 "aad" : "", 1935 "msg" : "202122232425262728292a2b2c2d2e2f", 1936 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1937 "tag" : "b4e44c5b2fe90e4c78f358da0d99cbe4", 1938 "result" : "invalid", 1939 "flags" : [] 1940 }, 1941 { 1942 "tcId" : 154, 1943 "comment" : "Flipped bits 0 and 64 in tag", 1944 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1945 "iv" : "505152535455565758595a5b", 1946 "aad" : "", 1947 "msg" : "202122232425262728292a2b2c2d2e2f", 1948 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1949 "tag" : "b5e44c5b2fe90e4c79f358da0d99cb64", 1950 "result" : "invalid", 1951 "flags" : [] 1952 }, 1953 { 1954 "tcId" : 155, 1955 "comment" : "Flipped bits 31 and 63 in tag", 1956 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1957 "iv" : "505152535455565758595a5b", 1958 "aad" : "", 1959 "msg" : "202122232425262728292a2b2c2d2e2f", 1960 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1961 "tag" : "b4e44cdb2fe90ecc78f358da0d99cb64", 1962 "result" : "invalid", 1963 "flags" : [] 1964 }, 1965 { 1966 "tcId" : 156, 1967 "comment" : "Flipped bits 63 and 127 in tag", 1968 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1969 "iv" : "505152535455565758595a5b", 1970 "aad" : "", 1971 "msg" : "202122232425262728292a2b2c2d2e2f", 1972 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1973 "tag" : "b4e44c5b2fe90ecc78f358da0d99cbe4", 1974 "result" : "invalid", 1975 "flags" : [] 1976 }, 1977 { 1978 "tcId" : 157, 1979 "comment" : "all bits of tag flipped", 1980 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1981 "iv" : "505152535455565758595a5b", 1982 "aad" : "", 1983 "msg" : "202122232425262728292a2b2c2d2e2f", 1984 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1985 "tag" : "4b1bb3a4d016f1b3870ca725f266349b", 1986 "result" : "invalid", 1987 "flags" : [] 1988 }, 1989 { 1990 "tcId" : 158, 1991 "comment" : "Tag changed to all zero", 1992 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 1993 "iv" : "505152535455565758595a5b", 1994 "aad" : "", 1995 "msg" : "202122232425262728292a2b2c2d2e2f", 1996 "ct" : "458256842dfd297f30bd2f8f15c92db0", 1997 "tag" : "00000000000000000000000000000000", 1998 "result" : "invalid", 1999 "flags" : [] 2000 }, 2001 { 2002 "tcId" : 159, 2003 "comment" : "tag changed to all 1", 2004 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 2005 "iv" : "505152535455565758595a5b", 2006 "aad" : "", 2007 "msg" : "202122232425262728292a2b2c2d2e2f", 2008 "ct" : "458256842dfd297f30bd2f8f15c92db0", 2009 "tag" : "ffffffffffffffffffffffffffffffff", 2010 "result" : "invalid", 2011 "flags" : [] 2012 }, 2013 { 2014 "tcId" : 160, 2015 "comment" : "msbs changed in tag", 2016 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 2017 "iv" : "505152535455565758595a5b", 2018 "aad" : "", 2019 "msg" : "202122232425262728292a2b2c2d2e2f", 2020 "ct" : "458256842dfd297f30bd2f8f15c92db0", 2021 "tag" : "3464ccdbaf698eccf873d85a8d194be4", 2022 "result" : "invalid", 2023 "flags" : [] 2024 }, 2025 { 2026 "tcId" : 161, 2027 "comment" : "lsbs changed in tag", 2028 "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", 2029 "iv" : "505152535455565758595a5b", 2030 "aad" : "", 2031 "msg" : "202122232425262728292a2b2c2d2e2f", 2032 "ct" : "458256842dfd297f30bd2f8f15c92db0", 2033 "tag" : "b5e54d5a2ee80f4d79f259db0c98ca65", 2034 "result" : "invalid", 2035 "flags" : [] 2036 } 2037 ] 2038 }, 2039 { 2040 "ivSize" : 128, 2041 "keySize" : 256, 2042 "tagSize" : 128, 2043 "type" : "AeadTest", 2044 "tests" : [ 2045 { 2046 "tcId" : 162, 2047 "comment" : "J0:000102030405060708090a0b0c0d0e0f", 2048 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2049 "iv" : "5c2ea9b695fcf6e264b96074d6bfa572", 2050 "aad" : "", 2051 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 2052 "ct" : "28e1c5232f4ee8161dbe4c036309e0b3254e9212bef0a93431ce5e5604c8f6a73c18a3183018b770", 2053 "tag" : "d5808a1bd11a01129bf3c6919aff2339", 2054 "result" : "valid", 2055 "flags" : [ 2056 "ConstructedIv" 2057 ] 2058 }, 2059 { 2060 "tcId" : 163, 2061 "comment" : "J0:00000000000000000000000000000000", 2062 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2063 "iv" : "57b3a81f2c36b6b06577ca0fbab8fa8e", 2064 "aad" : "", 2065 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 2066 "ct" : "cceebeb4fe4cd90c514e52d2327a2ecd75393661006cf2476d8620149aef3d1cdce491fff3e7a7a3", 2067 "tag" : "8132e865b69d64ef37db261f80cbbe24", 2068 "result" : "valid", 2069 "flags" : [ 2070 "ConstructedIv" 2071 ] 2072 }, 2073 { 2074 "tcId" : 164, 2075 "comment" : "J0:ffffffffffffffffffffffffffffffff", 2076 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2077 "iv" : "ce20a7e870696a5e68533c465bad2ba1", 2078 "aad" : "", 2079 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 2080 "ct" : "4f4350565d91d9aa8c5f4048550492ad6d6fdabf66da5d1e2af7bfe1a8aadaa0baa3de38a41d9713", 2081 "tag" : "155da6441ec071ef2d8e6cffbacc1c7c", 2082 "result" : "valid", 2083 "flags" : [ 2084 "ConstructedIv" 2085 ] 2086 }, 2087 { 2088 "tcId" : 165, 2089 "comment" : "J0:fffffffffffffffffffffffffffffffe", 2090 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2091 "iv" : "918e3c19dbdfee2db18156c5b93f3d75", 2092 "aad" : "", 2093 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 2094 "ct" : "8316a53167b6de1a7575700693ffef274f4350565d91d9aa8c5f4048550492ad6d6fdabf66da5d1e", 2095 "tag" : "6c574aa6a2490cc3b2f2f8f0ffbc56c4", 2096 "result" : "valid", 2097 "flags" : [ 2098 "ConstructedIv" 2099 ] 2100 }, 2101 { 2102 "tcId" : 166, 2103 "comment" : "J0:fffffffffffffffffffffffffffffffd", 2104 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2105 "iv" : "717d900b270462b9dbf7e9419e890609", 2106 "aad" : "", 2107 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 2108 "ct" : "5175927513e751eb309f45bc2ef225f28316a53167b6de1a7575700693ffef274f4350565d91d9aa", 2109 "tag" : "8082a761e1d755344bf29622144e7d39", 2110 "result" : "valid", 2111 "flags" : [ 2112 "ConstructedIv" 2113 ] 2114 }, 2115 { 2116 "tcId" : 167, 2117 "comment" : "J0:000102030405060708090a0bffffffff", 2118 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2119 "iv" : "ecd52120af240e9b4bf3b9d1eeb49434", 2120 "aad" : "", 2121 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 2122 "ct" : "36b3fbecd09178d04527fb37544f5579d20d60a41266f685c48098e1a52804ca387d90709d3268dd", 2123 "tag" : "033e0ef2953ebfd8425737c7d393f89a", 2124 "result" : "valid", 2125 "flags" : [ 2126 "ConstructedIv" 2127 ] 2128 }, 2129 { 2130 "tcId" : 168, 2131 "comment" : "J0:000102030405060708090a0bfffffffe", 2132 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2133 "iv" : "b37bbad104928ae89221d3520c2682e0", 2134 "aad" : "", 2135 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 2136 "ct" : "16929b773051f12b0adac95f65e21a7f36b3fbecd09178d04527fb37544f5579d20d60a41266f685", 2137 "tag" : "ca448bb7e52e897eca234ef343d057d0", 2138 "result" : "valid", 2139 "flags" : [ 2140 "ConstructedIv" 2141 ] 2142 }, 2143 { 2144 "tcId" : 169, 2145 "comment" : "J0:000102030405060708090a0bfffffffd", 2146 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2147 "iv" : "538816c3f849067cf8576cd62b90b99c", 2148 "aad" : "", 2149 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 2150 "ct" : "6d3faefaf691d58163846f8d4b9ffd5916929b773051f12b0adac95f65e21a7f36b3fbecd09178d0", 2151 "tag" : "84f49740e6757f63dd0df7cb7656d0ef", 2152 "result" : "valid", 2153 "flags" : [ 2154 "ConstructedIv" 2155 ] 2156 }, 2157 { 2158 "tcId" : 170, 2159 "comment" : "J0:000102030405060708090a0b7fffffff", 2160 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2161 "iv" : "d10e631943cd3bdababab2bbd13951c0", 2162 "aad" : "", 2163 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 2164 "ct" : "d60196c2d14fcf30c0991d2721ddc52d385f407a16691dade82c9023c855fd8e2e8fbb562102f018", 2165 "tag" : "877e15d9889e69a99fcc6d727465c391", 2166 "result" : "valid", 2167 "flags" : [ 2168 "ConstructedIv" 2169 ] 2170 }, 2171 { 2172 "tcId" : 171, 2173 "comment" : "J0:000102030405060708090a0b7ffffffe", 2174 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2175 "iv" : "8ea0f8e8e87bbfa96368d83833ab4714", 2176 "aad" : "", 2177 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 2178 "ct" : "948fbceca12a6e4fabb79b6d965e336fd60196c2d14fcf30c0991d2721ddc52d385f407a16691dad", 2179 "tag" : "cd5757626945976ba9f0264bd6bee894", 2180 "result" : "valid", 2181 "flags" : [ 2182 "ConstructedIv" 2183 ] 2184 }, 2185 { 2186 "tcId" : 172, 2187 "comment" : "J0:000102030405060708090a0bffff7fff", 2188 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2189 "iv" : "7b2df4fbed1de2727eb24898e5deabb9", 2190 "aad" : "", 2191 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 2192 "ct" : "a1a0120660ff52e6b1700b12c54d2d33b94b00cd7882d8857d84e6e183a1dea6ee85a7da84fbc35d", 2193 "tag" : "b015d72da62c81cb4d267253b20db9e5", 2194 "result" : "valid", 2195 "flags" : [ 2196 "ConstructedIv" 2197 ] 2198 }, 2199 { 2200 "tcId" : 173, 2201 "comment" : "J0:000102030405060708090a0bffff7ffe", 2202 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2203 "iv" : "24836f0a46ab6601a760221b074cbd6d", 2204 "aad" : "", 2205 "msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", 2206 "ct" : "5e3434b45edbf0d1f6e02d1144dbf867a1a0120660ff52e6b1700b12c54d2d33b94b00cd7882d885", 2207 "tag" : "ee74ccb30d649ebf6916d05a7dbe5696", 2208 "result" : "valid", 2209 "flags" : [ 2210 "ConstructedIv" 2211 ] 2212 }, 2213 { 2214 "tcId" : 174, 2215 "comment" : "special case", 2216 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2217 "iv" : "00000000000000000000000000000000", 2218 "aad" : "", 2219 "msg" : "8d74f1c97243d362577ff376c393d2dc", 2220 "ct" : "265c42e2b96ea1de9c24f7182e337390", 2221 "tag" : "00000000000000000000000000000000", 2222 "result" : "valid", 2223 "flags" : [] 2224 }, 2225 { 2226 "tcId" : 175, 2227 "comment" : "special case", 2228 "key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", 2229 "iv" : "ffffffffffffffffffffffffffffffff", 2230 "aad" : "", 2231 "msg" : "884df0e76f3ce227bf9595d103825a46", 2232 "ct" : "988f47668ea650cbaa6714711abe268d", 2233 "tag" : "ffffffffffffffffffffffffffffffff", 2234 "result" : "valid", 2235 "flags" : [] 2236 }, 2237 { 2238 "tcId" : 176, 2239 "comment" : "", 2240 "key" : "b7797eb0c1a6089ad5452d81fdb14828c040ddc4589c32b565aad8cb4de3e4a0", 2241 "iv" : "0ad570d8863918fe89124e09d125a271", 2242 "aad" : "", 2243 "msg" : "ed", 2244 "ct" : "3f", 2245 "tag" : "fd8f593b83314e33c5a72efbeb7095e8", 2246 "result" : "valid", 2247 "flags" : [] 2248 }, 2249 { 2250 "tcId" : 177, 2251 "comment" : "", 2252 "key" : "4c010d9561c7234c308c01cea3040c925a9f324dc958ff904ae39b37e60e1e03", 2253 "iv" : "2a55caa137c5b0b66cf3809eb8f730c4", 2254 "aad" : "", 2255 "msg" : "2a093c9ed72b8ff4994201e9f9e010", 2256 "ct" : "041341078f0439e50b43c991635117", 2257 "tag" : "5b8a2f2da20ef657c903da88ef5f57bb", 2258 "result" : "valid", 2259 "flags" : [] 2260 }, 2261 { 2262 "tcId" : 178, 2263 "comment" : "", 2264 "key" : "e7f7a48df99edd92b81f508618aa96526b279debd9ddb292d385ddbae80b2259", 2265 "iv" : "7ee376910f08f497aa6c3aa7113697fd", 2266 "aad" : "", 2267 "msg" : "5e51dbbb861b5ec60751c0996e00527f", 2268 "ct" : "469478d448f7e97d755541aa09ad95b0", 2269 "tag" : "254ada5cf662d90c5e11b2bd9c4db4c4", 2270 "result" : "valid", 2271 "flags" : [] 2272 }, 2273 { 2274 "tcId" : 179, 2275 "comment" : "", 2276 "key" : "4f84782bfbb64a973c3de3dcfa3430367fd68bc0b4c3b31e5d7c8141ba3e6a67", 2277 "iv" : "5d1bde6fa0994b33efd8f23f531248a7", 2278 "aad" : "", 2279 "msg" : "78cb6650a1908a842101ea85804fed00cc56fbdafafba0ef4d1ca607dcae57b6", 2280 "ct" : "cb960201fa5ad41d41d1c2c8037c71d52b72e76b16b589d71b976627c9734c9d", 2281 "tag" : "8dfce16467c3a6ebb3e7242c9a551962", 2282 "result" : "valid", 2283 "flags" : [] 2284 } 2285 ] 2286 }, 2287 { 2288 "ivSize" : 120, 2289 "keySize" : 128, 2290 "tagSize" : 128, 2291 "type" : "AeadTest", 2292 "tests" : [ 2293 { 2294 "tcId" : 180, 2295 "comment" : "unusual IV size", 2296 "key" : "34c74e28182948e03af02a01f46eb4f7", 2297 "iv" : "b0a73119a97d623806b49d45ddf4c7", 2298 "aad" : "", 2299 "msg" : "fe82ba66cf2e265741f2c86c", 2300 "ct" : "2bc3ef8e7402b4631f48e9be", 2301 "tag" : "4b6f6f5be291a90b9e93a8a82ddbc8d8", 2302 "result" : "valid", 2303 "flags" : [] 2304 } 2305 ] 2306 }, 2307 { 2308 "ivSize" : 160, 2309 "keySize" : 128, 2310 "tagSize" : 128, 2311 "type" : "AeadTest", 2312 "tests" : [ 2313 { 2314 "tcId" : 181, 2315 "comment" : "unusual IV size", 2316 "key" : "55cb7cac77efe18a1ea3b30c65f3f346", 2317 "iv" : "e22b6b144ab26b5781316e7a42a76202ac4b2278", 2318 "aad" : "", 2319 "msg" : "2f3d11ea32bf5bc72cbe2b8d", 2320 "ct" : "4fe13ef29f118f85a63188f8", 2321 "tag" : "05975b175316df8045889f43e0c857e0", 2322 "result" : "valid", 2323 "flags" : [] 2324 } 2325 ] 2326 }, 2327 { 2328 "ivSize" : 64, 2329 "keySize" : 192, 2330 "tagSize" : 128, 2331 "type" : "AeadTest", 2332 "tests" : [ 2333 { 2334 "tcId" : 182, 2335 "comment" : "unusual IV size", 2336 "key" : "f6a4bf8c4e15034699ce5801cbbac7509cd3f94cf28d8307", 2337 "iv" : "60d6bfca67f5d810", 2338 "aad" : "", 2339 "msg" : "de8eaa41e5e6a590c3cfbf61", 2340 "ct" : "a2966fb189f8d9d391503857", 2341 "tag" : "e370e7dd328655929bd4691f396a1033", 2342 "result" : "valid", 2343 "flags" : [] 2344 } 2345 ] 2346 }, 2347 { 2348 "ivSize" : 120, 2349 "keySize" : 192, 2350 "tagSize" : 128, 2351 "type" : "AeadTest", 2352 "tests" : [ 2353 { 2354 "tcId" : 183, 2355 "comment" : "unusual IV size", 2356 "key" : "66f75acbd8d3acf7af47d13e8384c2809d6b91503a7f294b", 2357 "iv" : "edf93e16294f15eded83808f09320e", 2358 "aad" : "", 2359 "msg" : "a900c86b6b7e0e5563f8f826", 2360 "ct" : "9af1a022c61c4315aa0e923e", 2361 "tag" : "20529bff3c59222ec33353af337b1d40", 2362 "result" : "valid", 2363 "flags" : [] 2364 } 2365 ] 2366 }, 2367 { 2368 "ivSize" : 160, 2369 "keySize" : 192, 2370 "tagSize" : 128, 2371 "type" : "AeadTest", 2372 "tests" : [ 2373 { 2374 "tcId" : 184, 2375 "comment" : "unusual IV size", 2376 "key" : "ef2e299dd4ecd7e3b9cc62780922cc2c89f78840564d1276", 2377 "iv" : "130c14c839e35b7d56b3350b194b0da342e6b65d", 2378 "aad" : "", 2379 "msg" : "03f59579b14437199583270e", 2380 "ct" : "073a5291b11df379f31b4f16", 2381 "tag" : "17205999491bd4c1d6c7ec3e56779c32", 2382 "result" : "valid", 2383 "flags" : [] 2384 } 2385 ] 2386 }, 2387 { 2388 "ivSize" : 64, 2389 "keySize" : 256, 2390 "tagSize" : 128, 2391 "type" : "AeadTest", 2392 "tests" : [ 2393 { 2394 "tcId" : 185, 2395 "comment" : "unusual IV size", 2396 "key" : "df64c84ae52d9ca820a47421bed6e96f7165369fc4c1b65f8f6307b17ce1006c", 2397 "iv" : "c0c568a400b7194f", 2398 "aad" : "", 2399 "msg" : "f5fafdded54a86a4edab44bd", 2400 "ct" : "99313a220d1fcb6658876283", 2401 "tag" : "00955d7d27f66868cfec734bf59c5e6d", 2402 "result" : "valid", 2403 "flags" : [] 2404 } 2405 ] 2406 }, 2407 { 2408 "ivSize" : 120, 2409 "keySize" : 256, 2410 "tagSize" : 128, 2411 "type" : "AeadTest", 2412 "tests" : [ 2413 { 2414 "tcId" : 186, 2415 "comment" : "unusual IV size", 2416 "key" : "e98b0669a645eb14cd06df6968fc5f10edc9f54feed264e3d410cdc61b72ef51", 2417 "iv" : "17ca250fb733877556263223eadde1", 2418 "aad" : "", 2419 "msg" : "f384b3ed7b274641f5db60cf", 2420 "ct" : "fc213602aa423b87d7c2a874", 2421 "tag" : "36b15bab6923b17218fe1c24048e2391", 2422 "result" : "valid", 2423 "flags" : [] 2424 } 2425 ] 2426 }, 2427 { 2428 "ivSize" : 160, 2429 "keySize" : 256, 2430 "tagSize" : 128, 2431 "type" : "AeadTest", 2432 "tests" : [ 2433 { 2434 "tcId" : 187, 2435 "comment" : "unusual IV size", 2436 "key" : "849b3e6b8cdd85bdcfb8eb701aa5522ae2340fbe5214e389622cef76979225c4", 2437 "iv" : "0f9d6ed7eef362dfa4a7dfa5c0f74c5b27bd4ebf", 2438 "aad" : "", 2439 "msg" : "8c5564e53051c0de273199b4", 2440 "ct" : "c1d76233e8c5042e92bf8d32", 2441 "tag" : "7cf036d235d3b2dd349a8c804b65144a", 2442 "result" : "valid", 2443 "flags" : [] 2444 } 2445 ] 2446 }, 2447 { 2448 "ivSize" : 0, 2449 "keySize" : 128, 2450 "tagSize" : 128, 2451 "type" : "AeadTest", 2452 "tests" : [ 2453 { 2454 "tcId" : 188, 2455 "comment" : "0 size IV is not valid", 2456 "key" : "8f3f52e3c75c58f5cb261f518f4ad30a", 2457 "iv" : "", 2458 "aad" : "", 2459 "msg" : "", 2460 "ct" : "", 2461 "tag" : "cf71978ffcc778f3c85ac9c31b6fe191", 2462 "result" : "invalid", 2463 "flags" : [ 2464 "ZeroLengthIv" 2465 ] 2466 }, 2467 { 2468 "tcId" : 189, 2469 "comment" : "0 size IV is not valid", 2470 "key" : "2a4bf90e56b70fdd8649d775c089de3b", 2471 "iv" : "", 2472 "aad" : "", 2473 "msg" : "324ced6cd15ecc5b3741541e22c18ad9", 2474 "ct" : "00a29f0a5e2e7490279d1faf8b881c7b", 2475 "tag" : "a2c7e8d7a19b884f742dfec3e76c75ee", 2476 "result" : "invalid", 2477 "flags" : [ 2478 "ZeroLengthIv" 2479 ] 2480 } 2481 ] 2482 }, 2483 { 2484 "ivSize" : 0, 2485 "keySize" : 192, 2486 "tagSize" : 128, 2487 "type" : "AeadTest", 2488 "tests" : [ 2489 { 2490 "tcId" : 190, 2491 "comment" : "0 size IV is not valid", 2492 "key" : "0b18d21337035c7baa08211b702fa780ac7c09be8f9ed11f", 2493 "iv" : "", 2494 "aad" : "", 2495 "msg" : "", 2496 "ct" : "", 2497 "tag" : "ca69a2eb3a096ea36b1015d5dffff532", 2498 "result" : "invalid", 2499 "flags" : [ 2500 "ZeroLengthIv" 2501 ] 2502 }, 2503 { 2504 "tcId" : 191, 2505 "comment" : "0 size IV is not valid", 2506 "key" : "ba76d594a6df915bb7ab7e6d1a8d024b2796336c1b8328a9", 2507 "iv" : "", 2508 "aad" : "", 2509 "msg" : "d62f302742d61d823ea991b93430d589", 2510 "ct" : "509b0658d09f7a5bb9db43b70c8387f7", 2511 "tag" : "2c9488d53a0b2b5308c2757dfac7219f", 2512 "result" : "invalid", 2513 "flags" : [ 2514 "ZeroLengthIv" 2515 ] 2516 } 2517 ] 2518 }, 2519 { 2520 "ivSize" : 0, 2521 "keySize" : 256, 2522 "tagSize" : 128, 2523 "type" : "AeadTest", 2524 "tests" : [ 2525 { 2526 "tcId" : 192, 2527 "comment" : "0 size IV is not valid", 2528 "key" : "3f8ca47b9a940582644e8ecf9c2d44e8138377a8379c5c11aafe7fec19856cf1", 2529 "iv" : "", 2530 "aad" : "", 2531 "msg" : "", 2532 "ct" : "", 2533 "tag" : "1726aa695fbaa21a1db88455c670a4b0", 2534 "result" : "invalid", 2535 "flags" : [ 2536 "ZeroLengthIv" 2537 ] 2538 }, 2539 { 2540 "tcId" : 193, 2541 "comment" : "0 size IV is not valid", 2542 "key" : "7660d10966c6503903a552dde2a809ede9da490e5e5cc3e349da999671809883", 2543 "iv" : "", 2544 "aad" : "", 2545 "msg" : "c314235341debfafa1526bb61044a7f1", 2546 "ct" : "7772ea358901f571d3d35c19497639d9", 2547 "tag" : "8fe0520ad744a11f0ccfd228454363fa", 2548 "result" : "invalid", 2549 "flags" : [ 2550 "ZeroLengthIv" 2551 ] 2552 } 2553 ] 2554 }, 2555 { 2556 "ivSize" : 8, 2557 "keySize" : 128, 2558 "tagSize" : 128, 2559 "type" : "AeadTest", 2560 "tests" : [ 2561 { 2562 "tcId" : 194, 2563 "comment" : "small IV sizes", 2564 "key" : "59a284f50aedd8d3e2a91637d3815579", 2565 "iv" : "80", 2566 "aad" : "", 2567 "msg" : "", 2568 "ct" : "", 2569 "tag" : "af498f701d2470695f6e7c8327a2398b", 2570 "result" : "acceptable", 2571 "flags" : [] 2572 }, 2573 { 2574 "tcId" : 195, 2575 "comment" : "small IV sizes", 2576 "key" : "fec58aa8cf06bfe05de829f27ec77693", 2577 "iv" : "9d", 2578 "aad" : "", 2579 "msg" : "f2d99a9f893378e0757d27c2e3a3101b", 2580 "ct" : "0a24612a9d1cbe967dbfe804bf8440e5", 2581 "tag" : "96e6fd2cdc707e3ee0a1c90d34c9c36c", 2582 "result" : "acceptable", 2583 "flags" : [] 2584 } 2585 ] 2586 }, 2587 { 2588 "ivSize" : 16, 2589 "keySize" : 128, 2590 "tagSize" : 128, 2591 "type" : "AeadTest", 2592 "tests" : [ 2593 { 2594 "tcId" : 196, 2595 "comment" : "small IV sizes", 2596 "key" : "88a972cce9eaf5a7813ce8149d0c1d0e", 2597 "iv" : "0f2f", 2598 "aad" : "", 2599 "msg" : "", 2600 "ct" : "", 2601 "tag" : "4ccf1efb4da05b4ae4452aea42f5424b", 2602 "result" : "acceptable", 2603 "flags" : [] 2604 }, 2605 { 2606 "tcId" : 197, 2607 "comment" : "small IV sizes", 2608 "key" : "b43967ee933e4632bd6562ba1201bf83", 2609 "iv" : "8760", 2610 "aad" : "", 2611 "msg" : "5a6ad6db70591d1e520b0122f05021a0", 2612 "ct" : "ba3e7f8b2999995c7fc4006ca4f475ff", 2613 "tag" : "98f47a5279cebbcac214515710f6cd8a", 2614 "result" : "acceptable", 2615 "flags" : [] 2616 } 2617 ] 2618 }, 2619 { 2620 "ivSize" : 32, 2621 "keySize" : 128, 2622 "tagSize" : 128, 2623 "type" : "AeadTest", 2624 "tests" : [ 2625 { 2626 "tcId" : 198, 2627 "comment" : "small IV sizes", 2628 "key" : "4e9a97d3ed54c7b54610793ab05052e1", 2629 "iv" : "cc851957", 2630 "aad" : "", 2631 "msg" : "", 2632 "ct" : "", 2633 "tag" : "e574b355bda2980e047e584feb1676ca", 2634 "result" : "acceptable", 2635 "flags" : [] 2636 }, 2637 { 2638 "tcId" : 199, 2639 "comment" : "small IV sizes", 2640 "key" : "d83c1d7a97c43f182409a4aa5609c1b1", 2641 "iv" : "7b5faeb2", 2642 "aad" : "", 2643 "msg" : "c8f07ba1d65554a9bd40390c30c5529c", 2644 "ct" : "1b84baea9df1e65bee7b49e4a8cda1ec", 2645 "tag" : "5c0bb79d8240041edce0f94bd4bb384f", 2646 "result" : "acceptable", 2647 "flags" : [] 2648 } 2649 ] 2650 }, 2651 { 2652 "ivSize" : 48, 2653 "keySize" : 128, 2654 "tagSize" : 128, 2655 "type" : "AeadTest", 2656 "tests" : [ 2657 { 2658 "tcId" : 200, 2659 "comment" : "small IV sizes", 2660 "key" : "c6a705677affb49e276d9511caa46145", 2661 "iv" : "4ad80c2854fb", 2662 "aad" : "", 2663 "msg" : "", 2664 "ct" : "", 2665 "tag" : "1e2ed72af590cafb8647d185865f5463", 2666 "result" : "acceptable", 2667 "flags" : [] 2668 }, 2669 { 2670 "tcId" : 201, 2671 "comment" : "small IV sizes", 2672 "key" : "eba7699b56cc0aa2f66a2a5be9944413", 2673 "iv" : "d1dafc8de3e3", 2674 "aad" : "", 2675 "msg" : "d021e53d9098a2df3d6b903cdad0cd9c", 2676 "ct" : "18291aa8dc7b07448aa8f71bb8e380bf", 2677 "tag" : "9c0e22e5c41b1039ff5661ffaefa8e0f", 2678 "result" : "acceptable", 2679 "flags" : [] 2680 } 2681 ] 2682 }, 2683 { 2684 "ivSize" : 8, 2685 "keySize" : 192, 2686 "tagSize" : 128, 2687 "type" : "AeadTest", 2688 "tests" : [ 2689 { 2690 "tcId" : 202, 2691 "comment" : "small IV sizes", 2692 "key" : "c70ce38e84e5f53ed41c3f0d2ca493412ad32cb04c6e2efa", 2693 "iv" : "cb", 2694 "aad" : "", 2695 "msg" : "", 2696 "ct" : "", 2697 "tag" : "08d96edb5e22874cd10cb2256ca04bc6", 2698 "result" : "acceptable", 2699 "flags" : [] 2700 }, 2701 { 2702 "tcId" : 203, 2703 "comment" : "small IV sizes", 2704 "key" : "74c816b83dfd287210a3e2c6da8d3053bbfbd9b156d3fdd8", 2705 "iv" : "0f", 2706 "aad" : "", 2707 "msg" : "f2b7b2c9b312cf2af78f003df15c8e19", 2708 "ct" : "6c5e796ba9a3ddc64f401e68d135101d", 2709 "tag" : "96a132ed43924e98feb888ff682bdaef", 2710 "result" : "acceptable", 2711 "flags" : [] 2712 } 2713 ] 2714 }, 2715 { 2716 "ivSize" : 16, 2717 "keySize" : 192, 2718 "tagSize" : 128, 2719 "type" : "AeadTest", 2720 "tests" : [ 2721 { 2722 "tcId" : 204, 2723 "comment" : "small IV sizes", 2724 "key" : "cbf45ba488932aea1a10e5862f92e4a7e277bda9f34af6d0", 2725 "iv" : "75e5", 2726 "aad" : "", 2727 "msg" : "", 2728 "ct" : "", 2729 "tag" : "1f0d23070fcd748e25bf6454f5c9136e", 2730 "result" : "acceptable", 2731 "flags" : [] 2732 }, 2733 { 2734 "tcId" : 205, 2735 "comment" : "small IV sizes", 2736 "key" : "e1c0446f11ae6aa4fa254f9a846fc6e13e45e537e47f2042", 2737 "iv" : "8989", 2738 "aad" : "", 2739 "msg" : "3a2f5ad0eb216e546e0bcaa377b6cbc7", 2740 "ct" : "550b48a43e821fd76f49f0f1a897aead", 2741 "tag" : "f6e0a979481f9957ddad0f21a777a73a", 2742 "result" : "acceptable", 2743 "flags" : [] 2744 } 2745 ] 2746 }, 2747 { 2748 "ivSize" : 32, 2749 "keySize" : 192, 2750 "tagSize" : 128, 2751 "type" : "AeadTest", 2752 "tests" : [ 2753 { 2754 "tcId" : 206, 2755 "comment" : "small IV sizes", 2756 "key" : "567563bf4cf154902275a53bc57cd6dd7b370d27011bdac8", 2757 "iv" : "68d7fc38", 2758 "aad" : "", 2759 "msg" : "", 2760 "ct" : "", 2761 "tag" : "1475563e3212f3b5e40062569afd71e3", 2762 "result" : "acceptable", 2763 "flags" : [] 2764 }, 2765 { 2766 "tcId" : 207, 2767 "comment" : "small IV sizes", 2768 "key" : "834d0bb601170865a78139428a1503695a6a291ebd747cd1", 2769 "iv" : "bb9d2aa3", 2770 "aad" : "", 2771 "msg" : "6f79e18b4acd5a03d3a5f7e1a8d0f183", 2772 "ct" : "309133e76159fe8a41b20843486511ab", 2773 "tag" : "03ab26993b701910a2e8ecccd2ba9e52", 2774 "result" : "acceptable", 2775 "flags" : [] 2776 } 2777 ] 2778 }, 2779 { 2780 "ivSize" : 48, 2781 "keySize" : 192, 2782 "tagSize" : 128, 2783 "type" : "AeadTest", 2784 "tests" : [ 2785 { 2786 "tcId" : 208, 2787 "comment" : "small IV sizes", 2788 "key" : "99fb18f5ba430bb9ea942968ecb799b43406e1af4b6425a1", 2789 "iv" : "a984bdcdcae2", 2790 "aad" : "", 2791 "msg" : "", 2792 "ct" : "", 2793 "tag" : "d7b9a6b58a97982916e83219fbf71b1e", 2794 "result" : "acceptable", 2795 "flags" : [] 2796 }, 2797 { 2798 "tcId" : 209, 2799 "comment" : "small IV sizes", 2800 "key" : "b77b242aa0d51c92fda013e0cb0ef2437399ace5d3f507e4", 2801 "iv" : "52aa01e0d0d6", 2802 "aad" : "", 2803 "msg" : "4ba541a9914729216153801340ab1779", 2804 "ct" : "e08261e46eaf90d978ea8f7889bccd4f", 2805 "tag" : "c052a55df3926a50990a532efe3d80ec", 2806 "result" : "acceptable", 2807 "flags" : [] 2808 } 2809 ] 2810 }, 2811 { 2812 "ivSize" : 8, 2813 "keySize" : 256, 2814 "tagSize" : 128, 2815 "type" : "AeadTest", 2816 "tests" : [ 2817 { 2818 "tcId" : 210, 2819 "comment" : "small IV sizes", 2820 "key" : "8f9a38c1014966e4d9ae736139c5e79b99345874f42d4c7d2c81aa6797c417c0", 2821 "iv" : "a9", 2822 "aad" : "", 2823 "msg" : "", 2824 "ct" : "", 2825 "tag" : "2a268bf3a75fd7b00ba230b904bbb014", 2826 "result" : "acceptable", 2827 "flags" : [] 2828 }, 2829 { 2830 "tcId" : 211, 2831 "comment" : "small IV sizes", 2832 "key" : "144cd8279229e8bb2de99d24e615306663913fe9177fcd270fafec493d43bca1", 2833 "iv" : "b3", 2834 "aad" : "", 2835 "msg" : "976229f5538f9636476d69f0c328e29d", 2836 "ct" : "7bea30ecc2f73f8e121263b37966954c", 2837 "tag" : "8bbad4adc54b37a2b2f0f6e8617548c9", 2838 "result" : "acceptable", 2839 "flags" : [] 2840 } 2841 ] 2842 }, 2843 { 2844 "ivSize" : 16, 2845 "keySize" : 256, 2846 "tagSize" : 128, 2847 "type" : "AeadTest", 2848 "tests" : [ 2849 { 2850 "tcId" : 212, 2851 "comment" : "small IV sizes", 2852 "key" : "7d31861f9d3536e14016a3216b1042e0d2f7d4614314268b6f834ec7f38bbb65", 2853 "iv" : "c332", 2854 "aad" : "", 2855 "msg" : "", 2856 "ct" : "", 2857 "tag" : "1d978a693120c11f6d51a3ed88cd4ace", 2858 "result" : "acceptable", 2859 "flags" : [] 2860 }, 2861 { 2862 "tcId" : 213, 2863 "comment" : "small IV sizes", 2864 "key" : "22b35fe9623ee11f8b60b6d22db3765b666ed972fa7ccd92b45f22deee02cab1", 2865 "iv" : "da6c", 2866 "aad" : "", 2867 "msg" : "5341c78e4ce5bf8fbc3e077d1990dd5d", 2868 "ct" : "9c39f5b110361e9a770cc5e8b0f444bb", 2869 "tag" : "b63ff43c12073ec5572b1be70f17e231", 2870 "result" : "acceptable", 2871 "flags" : [] 2872 } 2873 ] 2874 }, 2875 { 2876 "ivSize" : 32, 2877 "keySize" : 256, 2878 "tagSize" : 128, 2879 "type" : "AeadTest", 2880 "tests" : [ 2881 { 2882 "tcId" : 214, 2883 "comment" : "small IV sizes", 2884 "key" : "c224e0bba3d7a99165f7996b67a0fce3e12f2c01179b197b69b7e628bca92096", 2885 "iv" : "6b30145e", 2886 "aad" : "", 2887 "msg" : "", 2888 "ct" : "", 2889 "tag" : "ae6f7c9a29f0d8204ca50b14a1e0dcf2", 2890 "result" : "acceptable", 2891 "flags" : [] 2892 }, 2893 { 2894 "tcId" : 215, 2895 "comment" : "small IV sizes", 2896 "key" : "093eb12343537ee8e91c1f715b862603f8daf9d4e1d7d67212a9d68e5aac9358", 2897 "iv" : "5110604c", 2898 "aad" : "", 2899 "msg" : "33efb58c91e8c70271870ec00fe2e202", 2900 "ct" : "f73f72f976a296ba3ca94bc6eb08cd46", 2901 "tag" : "b824c33c13f289429659aa017c632f71", 2902 "result" : "acceptable", 2903 "flags" : [] 2904 } 2905 ] 2906 }, 2907 { 2908 "ivSize" : 48, 2909 "keySize" : 256, 2910 "tagSize" : 128, 2911 "type" : "AeadTest", 2912 "tests" : [ 2913 { 2914 "tcId" : 216, 2915 "comment" : "small IV sizes", 2916 "key" : "98e6f8ab673e804e865e32403a6551bf807a959343c60d34559360bc295ecb5b", 2917 "iv" : "d4d857510888", 2918 "aad" : "", 2919 "msg" : "", 2920 "ct" : "", 2921 "tag" : "3db16725fafc828d414ab61c16a6c38f", 2922 "result" : "acceptable", 2923 "flags" : [] 2924 }, 2925 { 2926 "tcId" : 217, 2927 "comment" : "small IV sizes", 2928 "key" : "0bd0e8e7781166e1d876dec8fad34ba95b032a27cac0551595116091005947b7", 2929 "iv" : "1bdcd44b663e", 2930 "aad" : "", 2931 "msg" : "91222263b12cf5616a049cbe29ab9b5b", 2932 "ct" : "ed463f4f43336af3f4d7e08770201145", 2933 "tag" : "c8fc39906aca0c64e14a43ff750abd8a", 2934 "result" : "acceptable", 2935 "flags" : [] 2936 } 2937 ] 2938 } 2939 ] 2940} 2941