{
"algorithm" : "AES-GCM",
"generatorVersion" : "0.4",
"numberOfTests" : 104,
"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."
},
"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" : "special case",
"key" : "00112233445566778899aabbccddeeff",
"iv" : "00112233445566778899aabb",
"aad" : "",
"msg" : "7fd49ba712d0d28f02ef54ed18db43f8",
"ct" : "d8eba6a5a03403851abc27f6e15d84c0",
"tag" : "00000000000000000000000000000000",
"result" : "valid",
"flags" : []
}
]
},
{
"ivSize" : 64,
"keySize" : 128,
"tagSize" : 128,
"type" : "AeadTest",
"tests" : [
{
"tcId" : 17,
"comment" : "",
"key" : "aa023d0478dcb2b2312498293d9a9129",
"iv" : "0432bc49ac344120",
"aad" : "aac39231129872a2",
"msg" : "2035af313d1346ab00154fea78322105",
"ct" : "64c36bb3b732034e3a7d04efc5197785",
"tag" : "b7d0dd70b00d65b97cfd080ff4b819d1",
"result" : "valid",
"flags" : []
},
{
"tcId" : 18,
"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" : 19,
"comment" : "",
"key" : "2034a82547276c83dd3212a813572bce",
"iv" : "3254202d854734812398127a3d134421",
"aad" : "1a0293d8f90219058902139013908190bc490890d3ff12a3",
"msg" : "02efd2e5782312827ed5d230189a2a342b277ce048462193",
"ct" : "64069c2d58690561f27ee199e6b479b6369eec688672bde9",
"tag" : "9b7abadd6e69c1d9ec925786534f5075",
"result" : "valid",
"flags" : []
},
{
"tcId" : 20,
"comment" : "",
"key" : "209e6dbf2ad26a105445fc0207cd9e9a",
"iv" : "9477849d6ccdfca112d92e53fae4a7ca",
"aad" : "",
"msg" : "01",
"ct" : "fd",
"tag" : "032df7bba5d8ea1a14f16f70bd0e14ec",
"result" : "valid",
"flags" : []
},
{
"tcId" : 21,
"comment" : "",
"key" : "a549442e35154032d07c8666006aa6a2",
"iv" : "5171524568e81d97e8c4de4ba56c10a0",
"aad" : "",
"msg" : "1182e93596cac5608946400bc73f3a",
"ct" : "2f333087bdca58219f9bfc273e45cc",
"tag" : "e06d1ef473132957ad37eaef29733ca0",
"result" : "valid",
"flags" : []
},
{
"tcId" : 22,
"comment" : "",
"key" : "cfb4c26f126f6a0acb8e4e220f6c56cd",
"iv" : "1275115499ae722268515bf0c164b49c",
"aad" : "",
"msg" : "09dfd7f080275257cf97e76f966b1ad9",
"ct" : "a780bd01c80885156c88a973264c8ee5",
"tag" : "2adeffa682c8d8a81fada7d9fcdd2ee2",
"result" : "valid",
"flags" : []
},
{
"tcId" : 23,
"comment" : "",
"key" : "0b11ef3a08c02970f74281c860691c75",
"iv" : "95c1dd8c0f1705ece68937901f7add7b",
"aad" : "",
"msg" : "f693d4edd825dbb0618d91113128880dbebb23e25d00ed1f077d870be9cc7536",
"ct" : "7e47e10fe3c6fbfa381770eaf5d48d1482e71e0c44dff1e30ca6f95d92052084",
"tag" : "d01444fa5d9c499629d174ff3927a1ac",
"result" : "valid",
"flags" : []
},
{
"tcId" : 24,
"comment" : "J0:000102030405060708090a0b0c0d0e0f",
"key" : "00112233445566778899aabbccddeeff",
"iv" : "f95fde4a751913202aeeee32a0b55753",
"aad" : "",
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000",
"ct" : "00078d109d92143fcd5df56721b884fac64ac7762cc09eea2a3c68e92a17bdb575f87bda18be564e",
"tag" : "152a65045fe674f97627427af5be22da",
"result" : "valid",
"flags" : [
"ConstructedIv"
]
},
{
"tcId" : 25,
"comment" : "J0:00000000000000000000000000000000",
"key" : "00112233445566778899aabbccddeeff",
"iv" : "7b95b8c356810a84711d68150a1b7750",
"aad" : "",
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000",
"ct" : "84d4c9c08b4f482861e3a9c6c35bc4d91df927374513bfd49f436bd73f325285daef4ff7e13d46a6",
"tag" : "213a3cb93855d18e69337eee66aeec07",
"result" : "valid",
"flags" : [
"ConstructedIv"
]
},
{
"tcId" : 26,
"comment" : "J0:ffffffffffffffffffffffffffffffff",
"key" : "00112233445566778899aabbccddeeff",
"iv" : "1a552e67cdc4dc1a33b824874ebf0bed",
"aad" : "",
"msg" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000",
"ct" : "948ca37a8e6649e88aeffb1c598f3607007702417ea0e0bc3c60ad5a949886de968cf53ea6462aed",
"tag" : "99b381bfa2af9751c39d1b6e86d1be6a",
Loading ...