{ | |
"algorithm" : "AES-GCM", | |
"generatorVersion" : "0.4.12", | |
"notes" : { | |
"ConstructedIv" : "The counter for AES-GCM is reduced modulo 2**32. This test vector was constructed to test for correct wrapping of the counter.", | |
"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." | |
}, | |
"numberOfTests" : 217, | |
"header" : [], | |
"testGroups" : [ | |
{ | |
"ivSize" : 96, | |
"keySize" : 128, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 1, | |
"comment" : "", | |
"key" : "5b9604fe14eadba931b0ccf34843dab9", | |
"iv" : "028318abc1824029138141a2", | |
"aad" : "", | |
"msg" : "001d0c231287c1182784554ca3a21908", | |
"ct" : "26073cc1d851beff176384dc9896d5ff", | |
"tag" : "0a3ea7a5487cb5f7d70fb6c58d038554", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 2, | |
"comment" : "", | |
"key" : "5b9604fe14eadba931b0ccf34843dab9", | |
"iv" : "921d2507fa8007b7bd067d34", | |
"aad" : "00112233445566778899aabbccddeeff", | |
"msg" : "001d0c231287c1182784554ca3a21908", | |
"ct" : "49d8b9783e911913d87094d1f63cc765", | |
"tag" : "1e348ba07cca2cf04c618cb4d43a5b92", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 3, | |
"comment" : "", | |
"key" : "aa023d0478dcb2b2312498293d9a9129", | |
"iv" : "0432bc49ac34412081288127", | |
"aad" : "aac39231129872a2", | |
"msg" : "2035af313d1346ab00154fea78322105", | |
"ct" : "eea945f3d0f98cc0fbab472a0cf24e87", | |
"tag" : "4bb9b4812519dadf9e1232016d068133", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 4, | |
"comment" : "", | |
"key" : "384ea416ac3c2f51a76e7d8226346d4e", | |
"iv" : "b30c084727ad1c592ac21d12", | |
"aad" : "", | |
"msg" : "35", | |
"ct" : "54", | |
"tag" : "7c1e4ae88bb27e5638343cb9fd3f6337", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 5, | |
"comment" : "", | |
"key" : "cae31cd9f55526eb038241fc44cac1e5", | |
"iv" : "b5e006ded553110e6dc56529", | |
"aad" : "", | |
"msg" : "d10989f2c52e94ad", | |
"ct" : "a036ead03193903f", | |
"tag" : "3b626940e0e9f0cbea8e18c437fd6011", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 6, | |
"comment" : "", | |
"key" : "dd6197cd63c963919cf0c273ef6b28bf", | |
"iv" : "ecb0c42f7000ef0e6f95f24d", | |
"aad" : "", | |
"msg" : "4dcc1485365866e25ac3f2ca6aba97", | |
"ct" : "8a9992388e735f80ee18f4a63c10ad", | |
"tag" : "1486a91cccf92c9a5b00f7b0e034891c", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 7, | |
"comment" : "", | |
"key" : "ffdf4228361ea1f8165852136b3480f7", | |
"iv" : "0e1666f2dc652f7708fb8f0d", | |
"aad" : "", | |
"msg" : "25b12e28ac0ef6ead0226a3b2288c800", | |
"ct" : "f7bd379d130477176b8bb3cb23dbbbaa", | |
"tag" : "1ee6513ce30c7873f59dd4350a588f42", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 8, | |
"comment" : "", | |
"key" : "c15ed227dd2e237ecd087eaaaad19ea4", | |
"iv" : "965ff6643116ac1443a2dec7", | |
"aad" : "", | |
"msg" : "fee62fde973fe025ad6b322dcdf3c63fc7", | |
"ct" : "0de51fe4f7f2d1f0f917569f5c6d1b009c", | |
"tag" : "6cd8521422c0177e83ef1b7a845d97db", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 9, | |
"comment" : "", | |
"key" : "a8ee11b26d7ceb7f17eaa1e4b83a2cf6", | |
"iv" : "fbbc04fd6e025b7193eb57f6", | |
"aad" : "", | |
"msg" : "c08f085e6a9e0ef3636280c11ecfadf0c1e72919ffc17eaf", | |
"ct" : "7cd9f4e4f365704fff3b9900aa93ba54b672bac554275650", | |
"tag" : "f4eb193241226db017b32ec38ca47217", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 10, | |
"comment" : "", | |
"key" : "28ff3def08179311e2734c6d1c4e2871", | |
"iv" : "32bcb9b569e3b852d37c766a", | |
"aad" : "c3", | |
"msg" : "dfc61a20df8505b53e3cd59f25770d5018add3d6", | |
"ct" : "f58d453212c2c8a436e9283672f579f119122978", | |
"tag" : "5901131d0760c8715901d881fdfd3bc0", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 11, | |
"comment" : "", | |
"key" : "e63a43216c08867210e248859eb5e99c", | |
"iv" : "9c3a4263d983456658aad4b1", | |
"aad" : "834afdc5c737186b", | |
"msg" : "b14da56b0462dc05b871fc815273ff4810f92f4b", | |
"ct" : "bf864616c2347509ca9b10446379b9bdbb3b8f64", | |
"tag" : "a97d25b490390b53c5db91f6ee2a15b8", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 12, | |
"comment" : "", | |
"key" : "38449890234eb8afab0bbf82e2385454", | |
"iv" : "33e90658416e7c1a7c005f11", | |
"aad" : "4020855c66ac4595058395f367201c4c", | |
"msg" : "f762776bf83163b323ca63a6b3adeac1e1357262", | |
"ct" : "a6f2ef3c7ef74a126dd2d5f6673964e27d5b34b6", | |
"tag" : "b8bbdc4f5014bc752c8b4e9b87f650a3", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 13, | |
"comment" : "", | |
"key" : "6a68671dfe323d419894381f85eb63fd", | |
"iv" : "9f0d85b605711f34cd2a35ba", | |
"aad" : "76eb5f147250fa3c12bff0a6e3934a0b16860cf11646773b", | |
"msg" : "0fc67899c3f1bbe196d90f1eca3797389230aa37", | |
"ct" : "bd64802cfebaeb487d3a8f76ce943a37b3472dd5", | |
"tag" : "fce9a5b530c7d7af718be1ec0ae9ed4d", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 14, | |
"comment" : "special case", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "000000000000000000000000", | |
"aad" : "", | |
"msg" : "ebd4a3e10cf6d41c50aeae007563b072", | |
"ct" : "f62d84d649e56bc8cfedc5d74a51e2f7", | |
"tag" : "ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 15, | |
"comment" : "special case", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "ffffffffffffffffffffffff", | |
"aad" : "", | |
"msg" : "d593c4d8224f1b100c35e4f6c4006543", | |
"ct" : "431f31e6840931fd95f94bf88296ff69", | |
"tag" : "00000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 16, | |
"comment" : "Flipped bit 0 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d9847dbc326a06e988c77ad3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 17, | |
"comment" : "Flipped bit 1 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "da847dbc326a06e988c77ad3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 18, | |
"comment" : "Flipped bit 7 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "58847dbc326a06e988c77ad3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 19, | |
"comment" : "Flipped bit 8 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8857dbc326a06e988c77ad3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 20, | |
"comment" : "Flipped bit 31 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847d3c326a06e988c77ad3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 21, | |
"comment" : "Flipped bit 32 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc336a06e988c77ad3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 22, | |
"comment" : "Flipped bit 33 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc306a06e988c77ad3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 23, | |
"comment" : "Flipped bit 63 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc326a066988c77ad3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 24, | |
"comment" : "Flipped bit 64 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc326a06e989c77ad3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 25, | |
"comment" : "Flipped bit 71 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc326a06e908c77ad3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 26, | |
"comment" : "Flipped bit 77 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc326a06e988e77ad3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 27, | |
"comment" : "Flipped bit 80 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc326a06e988c77bd3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 28, | |
"comment" : "Flipped bit 96 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc326a06e988c77ad3873e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 29, | |
"comment" : "Flipped bit 97 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc326a06e988c77ad3843e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 30, | |
"comment" : "Flipped bit 103 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc326a06e988c77ad3063e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 31, | |
"comment" : "Flipped bit 120 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc326a06e988c77ad3863e6082", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 32, | |
"comment" : "Flipped bit 121 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc326a06e988c77ad3863e6081", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 33, | |
"comment" : "Flipped bit 126 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc326a06e988c77ad3863e60c3", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 34, | |
"comment" : "Flipped bit 127 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc326a06e988c77ad3863e6003", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 35, | |
"comment" : "Flipped bits 0 and 64 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d9847dbc326a06e989c77ad3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 36, | |
"comment" : "Flipped bits 31 and 63 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847d3c326a066988c77ad3863e6083", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 37, | |
"comment" : "Flipped bits 63 and 127 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d8847dbc326a066988c77ad3863e6003", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 38, | |
"comment" : "all bits of tag flipped", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "277b8243cd95f9167738852c79c19f7c", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 39, | |
"comment" : "Tag changed to all zero", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "00000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 40, | |
"comment" : "tag changed to all 1", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "ffffffffffffffffffffffffffffffff", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 41, | |
"comment" : "msbs changed in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "5804fd3cb2ea86690847fa5306bee003", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 42, | |
"comment" : "lsbs changed in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "eb156d081ed6b6b55f4612f021d87b39", | |
"tag" : "d9857cbd336b07e889c67bd2873f6182", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 64, | |
"keySize" : 128, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 43, | |
"comment" : "", | |
"key" : "aa023d0478dcb2b2312498293d9a9129", | |
"iv" : "0432bc49ac344120", | |
"aad" : "aac39231129872a2", | |
"msg" : "2035af313d1346ab00154fea78322105", | |
"ct" : "64c36bb3b732034e3a7d04efc5197785", | |
"tag" : "b7d0dd70b00d65b97cfd080ff4b819d1", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 44, | |
"comment" : "unusual IV size", | |
"key" : "25dd4d6cad5a4604957847c8c6d3fc4e", | |
"iv" : "68cbeafe8f9e8a66", | |
"aad" : "", | |
"msg" : "5c347835b3fa61c2ce253e5a", | |
"ct" : "9a078a04d14938918e004358", | |
"tag" : "5452843e32c13c3e35ed8230fe3446c0", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 128, | |
"keySize" : 128, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 45, | |
"comment" : "", | |
"key" : "2034a82547276c83dd3212a813572bce", | |
"iv" : "3254202d854734812398127a3d134421", | |
"aad" : "1a0293d8f90219058902139013908190bc490890d3ff12a3", | |
"msg" : "02efd2e5782312827ed5d230189a2a342b277ce048462193", | |
"ct" : "64069c2d58690561f27ee199e6b479b6369eec688672bde9", | |
"tag" : "9b7abadd6e69c1d9ec925786534f5075", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 46, | |
"comment" : "", | |
"key" : "209e6dbf2ad26a105445fc0207cd9e9a", | |
"iv" : "9477849d6ccdfca112d92e53fae4a7ca", | |
"aad" : "", | |
"msg" : "01", | |
"ct" : "fd", | |
"tag" : "032df7bba5d8ea1a14f16f70bd0e14ec", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 47, | |
"comment" : "", | |
"key" : "a549442e35154032d07c8666006aa6a2", | |
"iv" : "5171524568e81d97e8c4de4ba56c10a0", | |
"aad" : "", | |
"msg" : "1182e93596cac5608946400bc73f3a", | |
"ct" : "2f333087bdca58219f9bfc273e45cc", | |
"tag" : "e06d1ef473132957ad37eaef29733ca0", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 48, | |
"comment" : "", | |
"key" : "cfb4c26f126f6a0acb8e4e220f6c56cd", | |
"iv" : "1275115499ae722268515bf0c164b49c", | |
"aad" : "", | |
"msg" : "09dfd7f080275257cf97e76f966b1ad9", | |
"ct" : "a780bd01c80885156c88a973264c8ee5", | |
"tag" : "2adeffa682c8d8a81fada7d9fcdd2ee2", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 49, | |
"comment" : "", | |
"key" : "0b11ef3a08c02970f74281c860691c75", | |
"iv" : "95c1dd8c0f1705ece68937901f7add7b", | |
"aad" : "", | |
"msg" : "f693d4edd825dbb0618d91113128880dbebb23e25d00ed1f077d870be9cc7536", | |
"ct" : "7e47e10fe3c6fbfa381770eaf5d48d1482e71e0c44dff1e30ca6f95d92052084", | |
"tag" : "d01444fa5d9c499629d174ff3927a1ac", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 50, | |
"comment" : "J0:000102030405060708090a0b0c0d0e0f", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "f95fde4a751913202aeeee32a0b55753", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "00078d109d92143fcd5df56721b884fac64ac7762cc09eea2a3c68e92a17bdb575f87bda18be564e", | |
"tag" : "152a65045fe674f97627427af5be22da", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 51, | |
"comment" : "J0:00000000000000000000000000000000", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "7b95b8c356810a84711d68150a1b7750", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "84d4c9c08b4f482861e3a9c6c35bc4d91df927374513bfd49f436bd73f325285daef4ff7e13d46a6", | |
"tag" : "213a3cb93855d18e69337eee66aeec07", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 52, | |
"comment" : "J0:ffffffffffffffffffffffffffffffff", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "1a552e67cdc4dc1a33b824874ebf0bed", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "948ca37a8e6649e88aeffb1c598f3607007702417ea0e0bc3c60ad5a949886de968cf53ea6462aed", | |
"tag" : "99b381bfa2af9751c39d1b6e86d1be6a", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 53, | |
"comment" : "J0:fffffffffffffffffffffffffffffffe", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "dd9d0b4a0c3d681524bffca31d907661", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "64b19314c31af45accdf7e3c4db79f0d948ca37a8e6649e88aeffb1c598f3607007702417ea0e0bc", | |
"tag" : "5281efc7f13ac8e14ccf5dca7bfbfdd1", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 54, | |
"comment" : "J0:fffffffffffffffffffffffffffffffd", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "57c5643c4e37b4041db794cfe8e1f0f4", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "2bb69c3e5d1f91815c6b87a0d5bbea7164b19314c31af45accdf7e3c4db79f0d948ca37a8e6649e8", | |
"tag" : "a3ea2c09ee4f8c8a12f45cddf9aeff81", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 55, | |
"comment" : "J0:000102030405060708090a0bffffffff", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "99821c2dd5daecded07300f577f7aff1", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "127af9b39ecdfc57bb11a2847c7c2d3d8f938f40f877e0c4af37d0fe9af033052bd537c4ae978f60", | |
"tag" : "07eb2fe4a958f8434d40684899507c7c", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 56, | |
"comment" : "J0:000102030405060708090a0bfffffffe", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "5e4a3900142358d1c774d8d124d8d27d", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "0cf6ae47156b14dce03c8a07a2e172b1127af9b39ecdfc57bb11a2847c7c2d3d8f938f40f877e0c4", | |
"tag" : "f145c2dcaf339eede427be934357eac0", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 57, | |
"comment" : "J0:000102030405060708090a0bfffffffd", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "d4125676562984c0fe7cb0bdd1a954e8", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "f0c6ffc18bd46df5569185a9afd169eb0cf6ae47156b14dce03c8a07a2e172b1127af9b39ecdfc57", | |
"tag" : "facd0bfe8701b7b4a2ba96d98af52bd9", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 58, | |
"comment" : "J0:000102030405060708090a0b7fffffff", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "b97ec62a5e5900ccf9e4be332e336091", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "d6928e094c06e0a7c4db42184cf7529e95de88b767edebe9b343000be3dab47ea08b744293eed698", | |
"tag" : "a03e729dcfd7a03155655fece8affd7e", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 59, | |
"comment" : "J0:000102030405060708090a0b7ffffffe", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "7eb6e3079fa0b4c3eee366177d1c1d1d", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "d82ce58771bf6487116bf8e96421877ed6928e094c06e0a7c4db42184cf7529e95de88b767edebe9", | |
"tag" : "1e43926828bc9a1614c7b1639096c195", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 60, | |
"comment" : "J0:000102030405060708090a0bffff7fff", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "0314fcd10fdd675d3c612962c931f635", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "a197a37a5d79697078536bc27fe46cd8d475526d9044aa94f088a054f8e380c64f79414795c61480", | |
"tag" : "f08baddf0b5285c91fc06a67fe4708ca", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 61, | |
"comment" : "J0:000102030405060708090a0bffff7ffe", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "c4dcd9fcce24d3522b66f1469a1e8bb9", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "149fde9abbd3a43c2548575e0db9fb84a197a37a5d79697078536bc27fe46cd8d475526d9044aa94", | |
"tag" : "62a4b6875c288345d6a454399eac1afa", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 62, | |
"comment" : "special case", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "00000000000000000000000000000000", | |
"aad" : "", | |
"msg" : "bec6fa05c1718b9b84c47345bbed7dcb", | |
"ct" : "45a3f89d02918bfd0c8161658ccc9795", | |
"tag" : "00000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 63, | |
"comment" : "special case", | |
"key" : "00112233445566778899aabbccddeeff", | |
"iv" : "ffffffffffffffffffffffffffffffff", | |
"aad" : "", | |
"msg" : "4d82639c39d3f3490ee903dd0be7afcf", | |
"ct" : "1cd5a06214235ceb044d4bad7b047312", | |
"tag" : "ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 96, | |
"keySize" : 256, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 64, | |
"comment" : "", | |
"key" : "92ace3e348cd821092cd921aa3546374299ab46209691bc28b8752d17f123c20", | |
"iv" : "00112233445566778899aabb", | |
"aad" : "00000000ffffffff", | |
"msg" : "00010203040506070809", | |
"ct" : "e27abdd2d2a53d2f136b", | |
"tag" : "9a4a2579529301bcfb71c78d4060f52c", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 65, | |
"comment" : "", | |
"key" : "29d3a44f8723dc640239100c365423a312934ac80239212ac3df3421a2098123", | |
"iv" : "00112233445566778899aabb", | |
"aad" : "aabbccddeeff", | |
"msg" : "", | |
"ct" : "", | |
"tag" : "2a7d77fa526b8250cb296078926b5020", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 66, | |
"comment" : "", | |
"key" : "cc56b680552eb75008f5484b4cb803fa5063ebd6eab91f6ab6aef4916a766273", | |
"iv" : "99e23ec48985bccdeeab60f1", | |
"aad" : "", | |
"msg" : "2a", | |
"ct" : "06", | |
"tag" : "633c1e9703ef744ffffb40edf9d14355", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 67, | |
"comment" : "", | |
"key" : "51e4bf2bad92b7aff1a4bc05550ba81df4b96fabf41c12c7b00e60e48db7e152", | |
"iv" : "4f07afedfdc3b6c2361823d3", | |
"aad" : "", | |
"msg" : "be3308f72a2c6aed", | |
"ct" : "cf332a12fdee800b", | |
"tag" : "602e8d7c4799d62c140c9bb834876b09", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 68, | |
"comment" : "", | |
"key" : "67119627bd988eda906219e08c0d0d779a07d208ce8a4fe0709af755eeec6dcb", | |
"iv" : "68ab7fdbf61901dad461d23c", | |
"aad" : "", | |
"msg" : "51f8c1f731ea14acdb210a6d973e07", | |
"ct" : "43fc101bff4b32bfadd3daf57a590e", | |
"tag" : "ec04aacb7148a8b8be44cb7eaf4efa69", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 69, | |
"comment" : "", | |
"key" : "59d4eafb4de0cfc7d3db99a8f54b15d7b39f0acc8da69763b019c1699f87674a", | |
"iv" : "2fcb1b38a99e71b84740ad9b", | |
"aad" : "", | |
"msg" : "549b365af913f3b081131ccb6b825588", | |
"ct" : "f58c16690122d75356907fd96b570fca", | |
"tag" : "28752c20153092818faba2a334640d6e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 70, | |
"comment" : "", | |
"key" : "3b2458d8176e1621c0cc24c0c0e24c1e80d72f7ee9149a4b166176629616d011", | |
"iv" : "45aaa3e5d16d2d42dc03445d", | |
"aad" : "", | |
"msg" : "3ff1514b1c503915918f0c0c31094a6e1f", | |
"ct" : "73a6b6f45f6ccc5131e07f2caa1f2e2f56", | |
"tag" : "2d7379ec1db5952d4e95d30c340b1b1d", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 71, | |
"comment" : "", | |
"key" : "0212a8de5007ed87b33f1a7090b6114f9e08cefd9607f2c276bdcfdbc5ce9cd7", | |
"iv" : "e6b1adf2fd58a8762c65f31b", | |
"aad" : "", | |
"msg" : "10f1ecf9c60584665d9ae5efe279e7f7377eea6916d2b111", | |
"ct" : "0843fff52d934fc7a071ea62c0bd351ce85678cde3ea2c9e", | |
"tag" : "7355fde599006715053813ce696237a8", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 72, | |
"comment" : "", | |
"key" : "b279f57e19c8f53f2f963f5f2519fdb7c1779be2ca2b3ae8e1128b7d6c627fc4", | |
"iv" : "98bc2c7438d5cd7665d76f6e", | |
"aad" : "c0", | |
"msg" : "fcc515b294408c8645c9183e3f4ecee5127846d1", | |
"ct" : "eb5500e3825952866d911253f8de860c00831c81", | |
"tag" : "ecb660e1fb0541ec41e8d68a64141b3a", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 73, | |
"comment" : "", | |
"key" : "cdccfe3f46d782ef47df4e72f0c02d9c7f774def970d23486f11a57f54247f17", | |
"iv" : "376187894605a8d45e30de51", | |
"aad" : "956846a209e087ed", | |
"msg" : "e28e0e9f9d22463ac0e42639b530f42102fded75", | |
"ct" : "feca44952447015b5df1f456df8ca4bb4eee2ce2", | |
"tag" : "082e91924deeb77880e1b1c84f9b8d30", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 74, | |
"comment" : "", | |
"key" : "f32364b1d339d82e4f132d8f4a0ec1ff7e746517fa07ef1a7f422f4e25a48194", | |
"iv" : "5a86a50a0e8a179c734b996d", | |
"aad" : "ab2ac7c44c60bdf8228c7884adb20184", | |
"msg" : "43891bccb522b1e72a6b53cf31c074e9d6c2df8e", | |
"ct" : "43dda832e942e286da314daa99bef5071d9d2c78", | |
"tag" : "c3922583476ced575404ddb85dd8cd44", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 75, | |
"comment" : "", | |
"key" : "ff0089ee870a4a39f645b0a5da774f7a5911e9696fc9cad646452c2aa8595a12", | |
"iv" : "bc2a7757d0ce2d8b1f14ccd9", | |
"aad" : "972ab4e06390caae8f99dd6e2187be6c7ff2c08a24be16ef", | |
"msg" : "748b28031621d95ee61812b4b4f47d04c6fc2ff3", | |
"ct" : "a929ee7e67c7a2f91bbcec6389a3caf43ab49305", | |
"tag" : "ebec6774b955e789591c822dab739e12", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 76, | |
"comment" : "special case", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "000000000000000000000000", | |
"aad" : "", | |
"msg" : "561008fa07a68f5c61285cd013464eaf", | |
"ct" : "23293e9b07ca7d1b0cae7cc489a973b3", | |
"tag" : "ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 77, | |
"comment" : "special case", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "ffffffffffffffffffffffff", | |
"aad" : "", | |
"msg" : "c6152244cea1978d3e0bc274cf8c0b3b", | |
"ct" : "7cb6fc7c6abc009efe9551a99f36a421", | |
"tag" : "00000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 78, | |
"comment" : "Flipped bit 0 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9de8fef6d8ab1bf1bf887232eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 79, | |
"comment" : "Flipped bit 1 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ee8fef6d8ab1bf1bf887232eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 80, | |
"comment" : "Flipped bit 7 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "1ce8fef6d8ab1bf1bf887232eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 81, | |
"comment" : "Flipped bit 8 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce9fef6d8ab1bf1bf887232eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 82, | |
"comment" : "Flipped bit 31 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fe76d8ab1bf1bf887232eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 83, | |
"comment" : "Flipped bit 32 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d9ab1bf1bf887232eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 84, | |
"comment" : "Flipped bit 33 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6daab1bf1bf887232eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 85, | |
"comment" : "Flipped bit 63 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d8ab1b71bf887232eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 86, | |
"comment" : "Flipped bit 64 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d8ab1bf1be887232eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 87, | |
"comment" : "Flipped bit 71 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d8ab1bf13f887232eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 88, | |
"comment" : "Flipped bit 77 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d8ab1bf1bfa87232eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 89, | |
"comment" : "Flipped bit 80 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d8ab1bf1bf887332eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 90, | |
"comment" : "Flipped bit 96 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d8ab1bf1bf887232ebb590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 91, | |
"comment" : "Flipped bit 97 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d8ab1bf1bf887232e8b590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 92, | |
"comment" : "Flipped bit 103 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d8ab1bf1bf8872326ab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 93, | |
"comment" : "Flipped bit 120 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d8ab1bf1bf887232eab590dc", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 94, | |
"comment" : "Flipped bit 121 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d8ab1bf1bf887232eab590df", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 95, | |
"comment" : "Flipped bit 126 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d8ab1bf1bf887232eab5909d", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 96, | |
"comment" : "Flipped bit 127 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d8ab1bf1bf887232eab5905d", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 97, | |
"comment" : "Flipped bits 0 and 64 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9de8fef6d8ab1bf1be887232eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 98, | |
"comment" : "Flipped bits 31 and 63 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fe76d8ab1b71bf887232eab590dd", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 99, | |
"comment" : "Flipped bits 63 and 127 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9ce8fef6d8ab1b71bf887232eab5905d", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 100, | |
"comment" : "all bits of tag flipped", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "631701092754e40e40778dcd154a6f22", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 101, | |
"comment" : "Tag changed to all zero", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "00000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 102, | |
"comment" : "tag changed to all 1", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "ffffffffffffffffffffffffffffffff", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 103, | |
"comment" : "msbs changed in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "1c687e76582b9b713f08f2b26a35105d", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 104, | |
"comment" : "lsbs changed in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "b2061457c0759fc1749f174ee1ccadfa", | |
"tag" : "9de9fff7d9aa1af0be897333ebb491dc", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 128, | |
"keySize" : 192, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 105, | |
"comment" : "J0:000102030405060708090a0b0c0d0e0f", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "029e0e777db092b12535d043012f09ba", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "f83cee467336e1a09b75f24e9b4385c99c13e6af722256a66129ece961fe803b167bad206f5017fb", | |
"tag" : "09338a42f0acc14f97c064f52f5f1688", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 106, | |
"comment" : "J0:00000000000000000000000000000000", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "f1be3b06b7feac07e7eab629f556047b", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "0b32b648a2c28e9edd7cee08eeeb900034cae7215e5ab1e201bd2eed1032c5a97866ba582a3458a4", | |
"tag" : "90be3606de58bd778fa5beff4a4102bd", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 107, | |
"comment" : "J0:ffffffffffffffffffffffffffffffff", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "de9eb63b1daed321a11b7547cc9e223c", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "575e2ecec2b3c72d4e80830d0d859ad9e42c29c4a68d8d9d8d23434de2cd07733be49d62ac1ae085", | |
"tag" : "6e4d6396125a10df5443bd0cbc8566d1", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 108, | |
"comment" : "J0:fffffffffffffffffffffffffffffffe", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "40bb0abebc483ff6d5671241ff5d66c6", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "2a818888d1f09f32aa7beedd2869b446575e2ecec2b3c72d4e80830d0d859ad9e42c29c4a68d8d9d", | |
"tag" : "dc481f172545268eff63ab0490403dc3", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 109, | |
"comment" : "J0:fffffffffffffffffffffffffffffffd", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "20d5cf305e630a8f49e3bb4bab18abc9", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "96d36b795f8e7edf6a8e0dbcd20d6c072a818888d1f09f32aa7beedd2869b446575e2ecec2b3c72d", | |
"tag" : "8a3a22bf2592958b930292aa47f590e8", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 110, | |
"comment" : "J0:000102030405060708090a0bffffffff", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "255358a71a0e5731f6dd6ce28e158ae6", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "cfce3d920f0e01f0bb49a751955b236d1b887baefd25c47f41303c46d5c7bf9ca4c2c45a8f1e6656", | |
"tag" : "2db9dc1b7fd315df1c95432432fcf474", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 111, | |
"comment" : "J0:000102030405060708090a0bfffffffe", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "bb76e422bbe8bbe682a10be4bdd6ce1c", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "69a24169792e9a07f6e6f4736fa972dccfce3d920f0e01f0bb49a751955b236d1b887baefd25c47f", | |
"tag" : "82ad967f7ac19084354f69a751443fb2", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 112, | |
"comment" : "J0:000102030405060708090a0bfffffffd", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "db1821ac59c38e9f1e25a2eee9930313", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "4e4417a83beac1eb7e24456a05f6ba5569a24169792e9a07f6e6f4736fa972dccfce3d920f0e01f0", | |
"tag" : "472d5dd582dc05ef5fc496b612023cb2", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 113, | |
"comment" : "J0:000102030405060708090a0b7fffffff", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "f7a02ecca03064b2ef3cce9feab79f07", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "6f8e174efca3097299f784efd4caff0bf168c3e5165b9ad3d20062009848044eef8f31f7d2fead05", | |
"tag" : "caff723826df150934aee3201ba175e7", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 114, | |
"comment" : "J0:000102030405060708090a0b7ffffffe", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "6985924901d688659b40a999d974dbfd", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "af193090ce3d43a388a1d294a09616906f8e174efca3097299f784efd4caff0bf168c3e5165b9ad3", | |
"tag" : "3b08958be1286c2b4acba02b3674adb2", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 115, | |
"comment" : "J0:000102030405060708090a0bffff7fff", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "3f1188546c65ed0fc55e75032c68ee44", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "5deccf838b2cf5f869c90d2a611160b1e578ab8121b93735cba4a1930647b8c4c84bf776333ee45a", | |
"tag" : "c14d52208f0f51b816a48971eaf8ff7e", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 116, | |
"comment" : "J0:000102030405060708090a0bffff7ffe", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "a13434d1cd8301d8b12212051fabaabe", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "d2cae1684aa407a13a2e2da5357e29f55deccf838b2cf5f869c90d2a611160b1e578ab8121b93735", | |
"tag" : "ea2d018099cd7925c507cef0ceddb0ae", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 117, | |
"comment" : "special case", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "00000000000000000000000000000000", | |
"aad" : "", | |
"msg" : "5c7d3f81d4b5055ed6f8db53614587a4", | |
"ct" : "541b835dc828d541073f7d7d7504ebf5", | |
"tag" : "00000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 118, | |
"comment" : "special case", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "ffffffffffffffffffffffffffffffff", | |
"aad" : "", | |
"msg" : "6a347ad1190e72ede611044e7475f0eb", | |
"ct" : "a3f36154331c196624564bc395e49c3b", | |
"tag" : "ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 119, | |
"comment" : "", | |
"key" : "cee9abbc26b63e169f0ced621fe21d95904e75b881d93e6b", | |
"iv" : "1e8259e0a43e571068f701cd2064fc0c", | |
"aad" : "", | |
"msg" : "46", | |
"ct" : "dc", | |
"tag" : "af1f5535b125b34fc466902ea40cb3a2", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 120, | |
"comment" : "", | |
"key" : "189f0bd390ba40632586a45c39735c2b87113329c800f394", | |
"iv" : "c84442d6975f0359737de0fa828f958e", | |
"aad" : "", | |
"msg" : "b4bcd7b8eeca3050dd17682c6a914e", | |
"ct" : "2aab5c87dcb4a4dae4e975ddb65aab", | |
"tag" : "6b03b7557c7131e2352e495d54e61aef", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 121, | |
"comment" : "", | |
"key" : "b0724f15df5b792c2f49bc51df0ac5aad69be0030981613c", | |
"iv" : "13cd526ec77b58f62d48d03f8b88f2b8", | |
"aad" : "", | |
"msg" : "8da3ab9c3d195b04df452ad23953da4d", | |
"ct" : "d127fd2e67c0887d90eb92b91f357d97", | |
"tag" : "eb05bda937faeed27f8833295d4ba559", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 122, | |
"comment" : "", | |
"key" : "998750ba784841e40a7c5b03985732b6397e5459a3843954", | |
"iv" : "1d3d62eccd8ac5e896f2654a7f606fc9", | |
"aad" : "", | |
"msg" : "2f60ca3494a958dc3e6ebeb5d0b4e6dda0d0c4331ab9c957f6422a5100878ebf", | |
"ct" : "344c2cea17b06cb3da272e22a22a3a71ee0eaa1959a7facfff464660ddccedd1", | |
"tag" : "bab7fbf499ff06aad5f757b1c1a4fcc0", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 96, | |
"keySize" : 192, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 123, | |
"comment" : "special case", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "000000000000000000000000", | |
"aad" : "", | |
"msg" : "0b4dbbba8982e0f649f8ba85f3aa061b", | |
"ct" : "3f875c9bd7d8511448459468e398c3b2", | |
"tag" : "ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 124, | |
"comment" : "special case", | |
"key" : "00112233445566778899aabbccddeeff1021324354657687", | |
"iv" : "ffffffffffffffffffffffff", | |
"aad" : "", | |
"msg" : "1ae93688ef7e2650a9342ad4718b2780", | |
"ct" : "210dabea4364c6d5b3429e7743322936", | |
"tag" : "00000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 125, | |
"comment" : "", | |
"key" : "21218af790428f8024d3e7e1428c9fcf578c216636d60e73", | |
"iv" : "34047bc39b9c608384dff5b8", | |
"aad" : "", | |
"msg" : "e3", | |
"ct" : "fe", | |
"tag" : "2e982e24b81cd120d35a70fe6935e665", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 126, | |
"comment" : "", | |
"key" : "3a8bf543c480925632118245bcbf5d01522b987a31a33da3", | |
"iv" : "4ebc13cf4636cc7c45e560a7", | |
"aad" : "", | |
"msg" : "53fc72e71b59eeb3", | |
"ct" : "99f2ff1c8a44e5f2", | |
"tag" : "6870f104ddc514477b400336fb01860e", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 127, | |
"comment" : "", | |
"key" : "92f4d2672fceec43963ccffb17e6ea7578b11418b06a3b82", | |
"iv" : "6e7ff7f0797685cfc44b05ff", | |
"aad" : "", | |
"msg" : "c3ec16adb184affa8ae9738bffb916", | |
"ct" : "afe8ef41591bfcc00db3c880ceb186", | |
"tag" : "29fff7f285768645c9c8bf7a471c9393", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 128, | |
"comment" : "", | |
"key" : "bcb6bc5ee6743df1396a34639327b25809ec9c81dd6a0c0e", | |
"iv" : "be0326d23bdc2c64648d13f4", | |
"aad" : "", | |
"msg" : "80474a3a3b809560eee2ce7a7a33ea07", | |
"ct" : "90339dca02ef717f1603994aee6cf6d2", | |
"tag" : "e3d33e01ce64f271783147de226228bc", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 129, | |
"comment" : "", | |
"key" : "5e1d28213e092536525bbae09e214af4c891e202b2b4fa4f", | |
"iv" : "b6be6cd0681235d826aa28ea", | |
"aad" : "", | |
"msg" : "53d59433a7db7f41b31ccb6d4a2d789965", | |
"ct" : "b98ed6321679941a3e521834296686ad98", | |
"tag" : "9f50c03e055e519712c582ec9db3235b", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 130, | |
"comment" : "", | |
"key" : "7f672d85e151aa490bc0eec8f66b5e5bee74af11642be3ff", | |
"iv" : "b022067048505b20946216ef", | |
"aad" : "", | |
"msg" : "ef6412c72b03c643fa02565a0ae2378a9311c11a84065f80", | |
"ct" : "addd303651119e52f6170dfc7a915064253d57532987b9ab", | |
"tag" : "fa0484f8baa95f5b7a31c56d1b34c58b", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 131, | |
"comment" : "", | |
"key" : "969fed5068541d65418c2c1de8fe1f845e036030496e1272", | |
"iv" : "817fe51c31f2879141a34335", | |
"aad" : "cb", | |
"msg" : "3d8233191a2823bf767e99167b1d4af4f4848458", | |
"ct" : "0d2c3a3c0cc4b40e70ed45e188e356a0e1533b31", | |
"tag" : "92909a80e90540e1878ab59ef300072b", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 132, | |
"comment" : "", | |
"key" : "fa5b9b41f93f8b682c04ba816c3fecc24eec095b04dd7497", | |
"iv" : "62b9cf1e923bc1138d05d205", | |
"aad" : "2ed8487153e21b12", | |
"msg" : "18159841813a69fc0f8f4229e1678da7c9016711", | |
"ct" : "c7c1cbb85ce2a0a3f32cb9ef01ad45ec1118b66d", | |
"tag" : "253317f98bdab87531ece20475cd9ebb", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 133, | |
"comment" : "", | |
"key" : "fbfb395662787e2d25a2e7510f818e825936a35114e237c9", | |
"iv" : "3f1a1e02e90a4ba7a1db9df2", | |
"aad" : "74318d8876528243f1944b73eb77e96e", | |
"msg" : "2952a3d64107d5cbb9602239d05a5c5c222cf72b", | |
"ct" : "ecf5e403f19c007c8da7a456caf0a6d75762829b", | |
"tag" : "e0877a100f9dd9d6795f0e74c56a9fab", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 134, | |
"comment" : "", | |
"key" : "5d8e9c2222316c9ed5ff94513cc957436ae447a6e1a73a29", | |
"iv" : "0802ae86c75a73bf79561521", | |
"aad" : "5ca354a4cb8e4fc9798aa209ad4f739dc7c232fdd1f22584", | |
"msg" : "42b4439e1d2116f834b91c516a26299df279956b", | |
"ct" : "94d844d98b9467daa7e8dde7f4290037354d7fb2", | |
"tag" : "62196638590cef429d6b1d1a59839c02", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 135, | |
"comment" : "Flipped bit 0 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b5e44c5b2fe90e4c78f358da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 136, | |
"comment" : "Flipped bit 1 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b6e44c5b2fe90e4c78f358da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 137, | |
"comment" : "Flipped bit 7 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "34e44c5b2fe90e4c78f358da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 138, | |
"comment" : "Flipped bit 8 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e54c5b2fe90e4c78f358da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 139, | |
"comment" : "Flipped bit 31 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44cdb2fe90e4c78f358da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 140, | |
"comment" : "Flipped bit 32 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2ee90e4c78f358da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 141, | |
"comment" : "Flipped bit 33 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2de90e4c78f358da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 142, | |
"comment" : "Flipped bit 63 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2fe90ecc78f358da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 143, | |
"comment" : "Flipped bit 64 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2fe90e4c79f358da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 144, | |
"comment" : "Flipped bit 71 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2fe90e4cf8f358da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 145, | |
"comment" : "Flipped bit 77 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2fe90e4c78d358da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 146, | |
"comment" : "Flipped bit 80 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2fe90e4c78f359da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 147, | |
"comment" : "Flipped bit 96 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2fe90e4c78f358da0c99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 148, | |
"comment" : "Flipped bit 97 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2fe90e4c78f358da0f99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 149, | |
"comment" : "Flipped bit 103 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2fe90e4c78f358da8d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 150, | |
"comment" : "Flipped bit 120 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2fe90e4c78f358da0d99cb65", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 151, | |
"comment" : "Flipped bit 121 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2fe90e4c78f358da0d99cb66", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 152, | |
"comment" : "Flipped bit 126 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2fe90e4c78f358da0d99cb24", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 153, | |
"comment" : "Flipped bit 127 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2fe90e4c78f358da0d99cbe4", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 154, | |
"comment" : "Flipped bits 0 and 64 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b5e44c5b2fe90e4c79f358da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 155, | |
"comment" : "Flipped bits 31 and 63 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44cdb2fe90ecc78f358da0d99cb64", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 156, | |
"comment" : "Flipped bits 63 and 127 in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b4e44c5b2fe90ecc78f358da0d99cbe4", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 157, | |
"comment" : "all bits of tag flipped", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "4b1bb3a4d016f1b3870ca725f266349b", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 158, | |
"comment" : "Tag changed to all zero", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "00000000000000000000000000000000", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 159, | |
"comment" : "tag changed to all 1", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "ffffffffffffffffffffffffffffffff", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 160, | |
"comment" : "msbs changed in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "3464ccdbaf698eccf873d85a8d194be4", | |
"result" : "invalid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 161, | |
"comment" : "lsbs changed in tag", | |
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617", | |
"iv" : "505152535455565758595a5b", | |
"aad" : "", | |
"msg" : "202122232425262728292a2b2c2d2e2f", | |
"ct" : "458256842dfd297f30bd2f8f15c92db0", | |
"tag" : "b5e54d5a2ee80f4d79f259db0c98ca65", | |
"result" : "invalid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 128, | |
"keySize" : 256, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 162, | |
"comment" : "J0:000102030405060708090a0b0c0d0e0f", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "5c2ea9b695fcf6e264b96074d6bfa572", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "28e1c5232f4ee8161dbe4c036309e0b3254e9212bef0a93431ce5e5604c8f6a73c18a3183018b770", | |
"tag" : "d5808a1bd11a01129bf3c6919aff2339", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 163, | |
"comment" : "J0:00000000000000000000000000000000", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "57b3a81f2c36b6b06577ca0fbab8fa8e", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "cceebeb4fe4cd90c514e52d2327a2ecd75393661006cf2476d8620149aef3d1cdce491fff3e7a7a3", | |
"tag" : "8132e865b69d64ef37db261f80cbbe24", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 164, | |
"comment" : "J0:ffffffffffffffffffffffffffffffff", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "ce20a7e870696a5e68533c465bad2ba1", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "4f4350565d91d9aa8c5f4048550492ad6d6fdabf66da5d1e2af7bfe1a8aadaa0baa3de38a41d9713", | |
"tag" : "155da6441ec071ef2d8e6cffbacc1c7c", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 165, | |
"comment" : "J0:fffffffffffffffffffffffffffffffe", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "918e3c19dbdfee2db18156c5b93f3d75", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "8316a53167b6de1a7575700693ffef274f4350565d91d9aa8c5f4048550492ad6d6fdabf66da5d1e", | |
"tag" : "6c574aa6a2490cc3b2f2f8f0ffbc56c4", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 166, | |
"comment" : "J0:fffffffffffffffffffffffffffffffd", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "717d900b270462b9dbf7e9419e890609", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "5175927513e751eb309f45bc2ef225f28316a53167b6de1a7575700693ffef274f4350565d91d9aa", | |
"tag" : "8082a761e1d755344bf29622144e7d39", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 167, | |
"comment" : "J0:000102030405060708090a0bffffffff", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "ecd52120af240e9b4bf3b9d1eeb49434", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "36b3fbecd09178d04527fb37544f5579d20d60a41266f685c48098e1a52804ca387d90709d3268dd", | |
"tag" : "033e0ef2953ebfd8425737c7d393f89a", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 168, | |
"comment" : "J0:000102030405060708090a0bfffffffe", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "b37bbad104928ae89221d3520c2682e0", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "16929b773051f12b0adac95f65e21a7f36b3fbecd09178d04527fb37544f5579d20d60a41266f685", | |
"tag" : "ca448bb7e52e897eca234ef343d057d0", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 169, | |
"comment" : "J0:000102030405060708090a0bfffffffd", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "538816c3f849067cf8576cd62b90b99c", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "6d3faefaf691d58163846f8d4b9ffd5916929b773051f12b0adac95f65e21a7f36b3fbecd09178d0", | |
"tag" : "84f49740e6757f63dd0df7cb7656d0ef", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 170, | |
"comment" : "J0:000102030405060708090a0b7fffffff", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "d10e631943cd3bdababab2bbd13951c0", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "d60196c2d14fcf30c0991d2721ddc52d385f407a16691dade82c9023c855fd8e2e8fbb562102f018", | |
"tag" : "877e15d9889e69a99fcc6d727465c391", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 171, | |
"comment" : "J0:000102030405060708090a0b7ffffffe", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "8ea0f8e8e87bbfa96368d83833ab4714", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "948fbceca12a6e4fabb79b6d965e336fd60196c2d14fcf30c0991d2721ddc52d385f407a16691dad", | |
"tag" : "cd5757626945976ba9f0264bd6bee894", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 172, | |
"comment" : "J0:000102030405060708090a0bffff7fff", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "7b2df4fbed1de2727eb24898e5deabb9", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "a1a0120660ff52e6b1700b12c54d2d33b94b00cd7882d8857d84e6e183a1dea6ee85a7da84fbc35d", | |
"tag" : "b015d72da62c81cb4d267253b20db9e5", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 173, | |
"comment" : "J0:000102030405060708090a0bffff7ffe", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "24836f0a46ab6601a760221b074cbd6d", | |
"aad" : "", | |
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"ct" : "5e3434b45edbf0d1f6e02d1144dbf867a1a0120660ff52e6b1700b12c54d2d33b94b00cd7882d885", | |
"tag" : "ee74ccb30d649ebf6916d05a7dbe5696", | |
"result" : "valid", | |
"flags" : [ | |
"ConstructedIv" | |
] | |
}, | |
{ | |
"tcId" : 174, | |
"comment" : "special case", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "00000000000000000000000000000000", | |
"aad" : "", | |
"msg" : "8d74f1c97243d362577ff376c393d2dc", | |
"ct" : "265c42e2b96ea1de9c24f7182e337390", | |
"tag" : "00000000000000000000000000000000", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 175, | |
"comment" : "special case", | |
"key" : "00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f", | |
"iv" : "ffffffffffffffffffffffffffffffff", | |
"aad" : "", | |
"msg" : "884df0e76f3ce227bf9595d103825a46", | |
"ct" : "988f47668ea650cbaa6714711abe268d", | |
"tag" : "ffffffffffffffffffffffffffffffff", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 176, | |
"comment" : "", | |
"key" : "b7797eb0c1a6089ad5452d81fdb14828c040ddc4589c32b565aad8cb4de3e4a0", | |
"iv" : "0ad570d8863918fe89124e09d125a271", | |
"aad" : "", | |
"msg" : "ed", | |
"ct" : "3f", | |
"tag" : "fd8f593b83314e33c5a72efbeb7095e8", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 177, | |
"comment" : "", | |
"key" : "4c010d9561c7234c308c01cea3040c925a9f324dc958ff904ae39b37e60e1e03", | |
"iv" : "2a55caa137c5b0b66cf3809eb8f730c4", | |
"aad" : "", | |
"msg" : "2a093c9ed72b8ff4994201e9f9e010", | |
"ct" : "041341078f0439e50b43c991635117", | |
"tag" : "5b8a2f2da20ef657c903da88ef5f57bb", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 178, | |
"comment" : "", | |
"key" : "e7f7a48df99edd92b81f508618aa96526b279debd9ddb292d385ddbae80b2259", | |
"iv" : "7ee376910f08f497aa6c3aa7113697fd", | |
"aad" : "", | |
"msg" : "5e51dbbb861b5ec60751c0996e00527f", | |
"ct" : "469478d448f7e97d755541aa09ad95b0", | |
"tag" : "254ada5cf662d90c5e11b2bd9c4db4c4", | |
"result" : "valid", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 179, | |
"comment" : "", | |
"key" : "4f84782bfbb64a973c3de3dcfa3430367fd68bc0b4c3b31e5d7c8141ba3e6a67", | |
"iv" : "5d1bde6fa0994b33efd8f23f531248a7", | |
"aad" : "", | |
"msg" : "78cb6650a1908a842101ea85804fed00cc56fbdafafba0ef4d1ca607dcae57b6", | |
"ct" : "cb960201fa5ad41d41d1c2c8037c71d52b72e76b16b589d71b976627c9734c9d", | |
"tag" : "8dfce16467c3a6ebb3e7242c9a551962", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 120, | |
"keySize" : 128, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 180, | |
"comment" : "unusual IV size", | |
"key" : "34c74e28182948e03af02a01f46eb4f7", | |
"iv" : "b0a73119a97d623806b49d45ddf4c7", | |
"aad" : "", | |
"msg" : "fe82ba66cf2e265741f2c86c", | |
"ct" : "2bc3ef8e7402b4631f48e9be", | |
"tag" : "4b6f6f5be291a90b9e93a8a82ddbc8d8", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 160, | |
"keySize" : 128, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 181, | |
"comment" : "unusual IV size", | |
"key" : "55cb7cac77efe18a1ea3b30c65f3f346", | |
"iv" : "e22b6b144ab26b5781316e7a42a76202ac4b2278", | |
"aad" : "", | |
"msg" : "2f3d11ea32bf5bc72cbe2b8d", | |
"ct" : "4fe13ef29f118f85a63188f8", | |
"tag" : "05975b175316df8045889f43e0c857e0", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 64, | |
"keySize" : 192, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 182, | |
"comment" : "unusual IV size", | |
"key" : "f6a4bf8c4e15034699ce5801cbbac7509cd3f94cf28d8307", | |
"iv" : "60d6bfca67f5d810", | |
"aad" : "", | |
"msg" : "de8eaa41e5e6a590c3cfbf61", | |
"ct" : "a2966fb189f8d9d391503857", | |
"tag" : "e370e7dd328655929bd4691f396a1033", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 120, | |
"keySize" : 192, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 183, | |
"comment" : "unusual IV size", | |
"key" : "66f75acbd8d3acf7af47d13e8384c2809d6b91503a7f294b", | |
"iv" : "edf93e16294f15eded83808f09320e", | |
"aad" : "", | |
"msg" : "a900c86b6b7e0e5563f8f826", | |
"ct" : "9af1a022c61c4315aa0e923e", | |
"tag" : "20529bff3c59222ec33353af337b1d40", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 160, | |
"keySize" : 192, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 184, | |
"comment" : "unusual IV size", | |
"key" : "ef2e299dd4ecd7e3b9cc62780922cc2c89f78840564d1276", | |
"iv" : "130c14c839e35b7d56b3350b194b0da342e6b65d", | |
"aad" : "", | |
"msg" : "03f59579b14437199583270e", | |
"ct" : "073a5291b11df379f31b4f16", | |
"tag" : "17205999491bd4c1d6c7ec3e56779c32", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 64, | |
"keySize" : 256, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 185, | |
"comment" : "unusual IV size", | |
"key" : "df64c84ae52d9ca820a47421bed6e96f7165369fc4c1b65f8f6307b17ce1006c", | |
"iv" : "c0c568a400b7194f", | |
"aad" : "", | |
"msg" : "f5fafdded54a86a4edab44bd", | |
"ct" : "99313a220d1fcb6658876283", | |
"tag" : "00955d7d27f66868cfec734bf59c5e6d", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 120, | |
"keySize" : 256, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 186, | |
"comment" : "unusual IV size", | |
"key" : "e98b0669a645eb14cd06df6968fc5f10edc9f54feed264e3d410cdc61b72ef51", | |
"iv" : "17ca250fb733877556263223eadde1", | |
"aad" : "", | |
"msg" : "f384b3ed7b274641f5db60cf", | |
"ct" : "fc213602aa423b87d7c2a874", | |
"tag" : "36b15bab6923b17218fe1c24048e2391", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 160, | |
"keySize" : 256, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 187, | |
"comment" : "unusual IV size", | |
"key" : "849b3e6b8cdd85bdcfb8eb701aa5522ae2340fbe5214e389622cef76979225c4", | |
"iv" : "0f9d6ed7eef362dfa4a7dfa5c0f74c5b27bd4ebf", | |
"aad" : "", | |
"msg" : "8c5564e53051c0de273199b4", | |
"ct" : "c1d76233e8c5042e92bf8d32", | |
"tag" : "7cf036d235d3b2dd349a8c804b65144a", | |
"result" : "valid", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 0, | |
"keySize" : 128, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 188, | |
"comment" : "0 size IV is not valid", | |
"key" : "8f3f52e3c75c58f5cb261f518f4ad30a", | |
"iv" : "", | |
"aad" : "", | |
"msg" : "", | |
"ct" : "", | |
"tag" : "cf71978ffcc778f3c85ac9c31b6fe191", | |
"result" : "invalid", | |
"flags" : [ | |
"ZeroLengthIv" | |
] | |
}, | |
{ | |
"tcId" : 189, | |
"comment" : "0 size IV is not valid", | |
"key" : "2a4bf90e56b70fdd8649d775c089de3b", | |
"iv" : "", | |
"aad" : "", | |
"msg" : "324ced6cd15ecc5b3741541e22c18ad9", | |
"ct" : "00a29f0a5e2e7490279d1faf8b881c7b", | |
"tag" : "a2c7e8d7a19b884f742dfec3e76c75ee", | |
"result" : "invalid", | |
"flags" : [ | |
"ZeroLengthIv" | |
] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 0, | |
"keySize" : 192, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 190, | |
"comment" : "0 size IV is not valid", | |
"key" : "0b18d21337035c7baa08211b702fa780ac7c09be8f9ed11f", | |
"iv" : "", | |
"aad" : "", | |
"msg" : "", | |
"ct" : "", | |
"tag" : "ca69a2eb3a096ea36b1015d5dffff532", | |
"result" : "invalid", | |
"flags" : [ | |
"ZeroLengthIv" | |
] | |
}, | |
{ | |
"tcId" : 191, | |
"comment" : "0 size IV is not valid", | |
"key" : "ba76d594a6df915bb7ab7e6d1a8d024b2796336c1b8328a9", | |
"iv" : "", | |
"aad" : "", | |
"msg" : "d62f302742d61d823ea991b93430d589", | |
"ct" : "509b0658d09f7a5bb9db43b70c8387f7", | |
"tag" : "2c9488d53a0b2b5308c2757dfac7219f", | |
"result" : "invalid", | |
"flags" : [ | |
"ZeroLengthIv" | |
] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 0, | |
"keySize" : 256, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 192, | |
"comment" : "0 size IV is not valid", | |
"key" : "3f8ca47b9a940582644e8ecf9c2d44e8138377a8379c5c11aafe7fec19856cf1", | |
"iv" : "", | |
"aad" : "", | |
"msg" : "", | |
"ct" : "", | |
"tag" : "1726aa695fbaa21a1db88455c670a4b0", | |
"result" : "invalid", | |
"flags" : [ | |
"ZeroLengthIv" | |
] | |
}, | |
{ | |
"tcId" : 193, | |
"comment" : "0 size IV is not valid", | |
"key" : "7660d10966c6503903a552dde2a809ede9da490e5e5cc3e349da999671809883", | |
"iv" : "", | |
"aad" : "", | |
"msg" : "c314235341debfafa1526bb61044a7f1", | |
"ct" : "7772ea358901f571d3d35c19497639d9", | |
"tag" : "8fe0520ad744a11f0ccfd228454363fa", | |
"result" : "invalid", | |
"flags" : [ | |
"ZeroLengthIv" | |
] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 8, | |
"keySize" : 128, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 194, | |
"comment" : "small IV sizes", | |
"key" : "59a284f50aedd8d3e2a91637d3815579", | |
"iv" : "80", | |
"aad" : "", | |
"msg" : "", | |
"ct" : "", | |
"tag" : "af498f701d2470695f6e7c8327a2398b", | |
"result" : "acceptable", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 195, | |
"comment" : "small IV sizes", | |
"key" : "fec58aa8cf06bfe05de829f27ec77693", | |
"iv" : "9d", | |
"aad" : "", | |
"msg" : "f2d99a9f893378e0757d27c2e3a3101b", | |
"ct" : "0a24612a9d1cbe967dbfe804bf8440e5", | |
"tag" : "96e6fd2cdc707e3ee0a1c90d34c9c36c", | |
"result" : "acceptable", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 16, | |
"keySize" : 128, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 196, | |
"comment" : "small IV sizes", | |
"key" : "88a972cce9eaf5a7813ce8149d0c1d0e", | |
"iv" : "0f2f", | |
"aad" : "", | |
"msg" : "", | |
"ct" : "", | |
"tag" : "4ccf1efb4da05b4ae4452aea42f5424b", | |
"result" : "acceptable", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 197, | |
"comment" : "small IV sizes", | |
"key" : "b43967ee933e4632bd6562ba1201bf83", | |
"iv" : "8760", | |
"aad" : "", | |
"msg" : "5a6ad6db70591d1e520b0122f05021a0", | |
"ct" : "ba3e7f8b2999995c7fc4006ca4f475ff", | |
"tag" : "98f47a5279cebbcac214515710f6cd8a", | |
"result" : "acceptable", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 32, | |
"keySize" : 128, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 198, | |
"comment" : "small IV sizes", | |
"key" : "4e9a97d3ed54c7b54610793ab05052e1", | |
"iv" : "cc851957", | |
"aad" : "", | |
"msg" : "", | |
"ct" : "", | |
"tag" : "e574b355bda2980e047e584feb1676ca", | |
"result" : "acceptable", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 199, | |
"comment" : "small IV sizes", | |
"key" : "d83c1d7a97c43f182409a4aa5609c1b1", | |
"iv" : "7b5faeb2", | |
"aad" : "", | |
"msg" : "c8f07ba1d65554a9bd40390c30c5529c", | |
"ct" : "1b84baea9df1e65bee7b49e4a8cda1ec", | |
"tag" : "5c0bb79d8240041edce0f94bd4bb384f", | |
"result" : "acceptable", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 48, | |
"keySize" : 128, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 200, | |
"comment" : "small IV sizes", | |
"key" : "c6a705677affb49e276d9511caa46145", | |
"iv" : "4ad80c2854fb", | |
"aad" : "", | |
"msg" : "", | |
"ct" : "", | |
"tag" : "1e2ed72af590cafb8647d185865f5463", | |
"result" : "acceptable", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 201, | |
"comment" : "small IV sizes", | |
"key" : "eba7699b56cc0aa2f66a2a5be9944413", | |
"iv" : "d1dafc8de3e3", | |
"aad" : "", | |
"msg" : "d021e53d9098a2df3d6b903cdad0cd9c", | |
"ct" : "18291aa8dc7b07448aa8f71bb8e380bf", | |
"tag" : "9c0e22e5c41b1039ff5661ffaefa8e0f", | |
"result" : "acceptable", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 8, | |
"keySize" : 192, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 202, | |
"comment" : "small IV sizes", | |
"key" : "c70ce38e84e5f53ed41c3f0d2ca493412ad32cb04c6e2efa", | |
"iv" : "cb", | |
"aad" : "", | |
"msg" : "", | |
"ct" : "", | |
"tag" : "08d96edb5e22874cd10cb2256ca04bc6", | |
"result" : "acceptable", | |
"flags" : [] | |
}, | |
{ | |
"tcId" : 203, | |
"comment" : "small IV sizes", | |
"key" : "74c816b83dfd287210a3e2c6da8d3053bbfbd9b156d3fdd8", | |
"iv" : "0f", | |
"aad" : "", | |
"msg" : "f2b7b2c9b312cf2af78f003df15c8e19", | |
"ct" : "6c5e796ba9a3ddc64f401e68d135101d", | |
"tag" : "96a132ed43924e98feb888ff682bdaef", | |
"result" : "acceptable", | |
"flags" : [] | |
} | |
] | |
}, | |
{ | |
"ivSize" : 16, | |
"keySize" : 192, | |
"tagSize" : 128, | |
"type" : "AeadTest", | |
"tests" : [ | |
{ | |
"tcId" : 204, | |