{ "algorithm" : "AES-CMAC", "generatorVersion" : "0.4", "numberOfTests" : 290, "header" : [], "testGroups" : [ { "keySize" : 128, "tagSize" : 96, "type" : "MacTest", "tests" : [ { "tcId" : 1, "comment" : "empty message", "key" : "1607559459d30d33548a635ab1eeab9d", "msg" : "", "tag" : "6a8974470fddb0a47e2b6e7d", "result" : "valid", "flags" : [] }, { "tcId" : 2, "comment" : "truncated mac", "key" : "994275465065fdc96ae37b5d2feb8726", "msg" : "c6", "tag" : "3bfa9ec0fb0cc2b8509e7b1f", "result" : "valid", "flags" : [] }, { "tcId" : 3, "comment" : "truncated mac", "key" : "ddc31fc7751a2bf5c8d2d815035622e8", "msg" : "c81598f30b3e8ca8", "tag" : "323c2fd67f1bc85108f391e1", "result" : "valid", "flags" : [] }, { "tcId" : 4, "comment" : "truncated mac", "key" : "acef13560296fdc6b09398ae04196f2b", "msg" : "25d99a552339745e24a0cb6a9669c4", "tag" : "cdff8af899f61a70a97d967a", "result" : "valid", "flags" : [] }, { "tcId" : 5, "comment" : "truncated mac", "key" : "33defac4ec7c7b69aa72edb23119e619", "msg" : "ceabee3f13d0718779ba86acccd6d5a9", "tag" : "e0b19f7e0316f276a846115f", "result" : "valid", "flags" : [] }, { "tcId" : 6, "comment" : "truncated mac", "key" : "d1c61c251def47b39deb1a77a8b188d9", "msg" : "0d68e86cf139677cb461a0fa76690e4afc", "tag" : "2c5f2629fa41555e84c0ef0c", "result" : "valid", "flags" : [] }, { "tcId" : 7, "comment" : "truncated mac", "key" : "3f71e3875f234fc569433cafa3a36330", "msg" : "a3e01e9a597e57502fd849908aa7a19407cbfdc74bc5c485", "tag" : "eb8e0bb4937e4a4f9fd55465", "result" : "valid", "flags" : [] } ] }, { "keySize" : 128, "tagSize" : 128, "type" : "MacTest", "tests" : [ { "tcId" : 8, "comment" : "empty message", "key" : "e34f15c7bd819930fe9d66e0c166e61c", "msg" : "", "tag" : "d47afca1d857a5933405b1eb7a5cb7af", "result" : "valid", "flags" : [] }, { "tcId" : 9, "comment" : "full length mac", "key" : "e1e726677f4893890f8c027f9d8ef80d", "msg" : "3f", "tag" : "15f856bbed3b321952a584b3c4437a63", "result" : "valid", "flags" : [] }, { "tcId" : 10, "comment" : "full length mac", "key" : "48f0d03e41cc55c4b58f737b5acdea32", "msg" : "f4a133aa6d5985a0", "tag" : "1f1cd0327c02e6d00086915937dd61d9", "result" : "valid", "flags" : [] }, { "tcId" : 11, "comment" : "full length mac", "key" : "501d81ebf912ddb87fbe3b7aac1437bc", "msg" : "2368e3c3636b5e8e94d2081adbf798", "tag" : "aeb784a3825168ddd61f72d0202125e6", "result" : "valid", "flags" : [] }, { "tcId" : 12, "comment" : "full length mac", "key" : "e09eaa5a3f5e56d279d5e7a03373f6ea", "msg" : "ef4eab37181f98423e53e947e7050fd0", "tag" : "40facf0e2fb51b73a7472681b033d6dc", "result" : "valid", "flags" : [] }, { "tcId" : 13, "comment" : "full length mac", "key" : "831e664c9e3f0c3094c0b27b9d908eb2", "msg" : "26603bb76dd0a0180791c4ed4d3b058807", "tag" : "a8144c8b24f2aa47d9c160cff4ab1716", "result" : "valid", "flags" : [] }, { "tcId" : 14, "comment" : "full length mac", "key" : "549bd282ee21b4d7c3b1d02e3ee20ef7", "msg" : "d84bf73c5eecbd38444f1a73556e2fa3253f4c54d6916545", "tag" : "7ed458afe02f4a513f59715b664b1bbe", "result" : "valid", "flags" : [] }, { "tcId" : 15, "comment" : "Flipped bit 0 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "96dd6e5a882cbd564c39ae7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 16, "comment" : "Flipped bit 0 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "43802eb1931f0032afe984443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 17, "comment" : "Flipped bit 0 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7acfbbca7a2ea68b966fc5399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 18, "comment" : "Flipped bit 1 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "95dd6e5a882cbd564c39ae7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 19, "comment" : "Flipped bit 1 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "40802eb1931f0032afe984443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 20, "comment" : "Flipped bit 1 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "79cfbbca7a2ea68b966fc5399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 21, "comment" : "Flipped bit 7 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "17dd6e5a882cbd564c39ae7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 22, "comment" : "Flipped bit 7 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "c2802eb1931f0032afe984443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 23, "comment" : "Flipped bit 7 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "fbcfbbca7a2ea68b966fc5399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 24, "comment" : "Flipped bit 8 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dc6e5a882cbd564c39ae7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 25, "comment" : "Flipped bit 8 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42812eb1931f0032afe984443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 26, "comment" : "Flipped bit 8 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcebbca7a2ea68b966fc5399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 27, "comment" : "Flipped bit 31 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6eda882cbd564c39ae7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 28, "comment" : "Flipped bit 31 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802e31931f0032afe984443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 29, "comment" : "Flipped bit 31 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbb4a7a2ea68b966fc5399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 30, "comment" : "Flipped bit 32 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a892cbd564c39ae7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 31, "comment" : "Flipped bit 32 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1921f0032afe984443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 32, "comment" : "Flipped bit 32 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7b2ea68b966fc5399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 33, "comment" : "Flipped bit 33 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a8a2cbd564c39ae7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 34, "comment" : "Flipped bit 33 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1911f0032afe984443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 35, "comment" : "Flipped bit 33 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca782ea68b966fc5399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 36, "comment" : "Flipped bit 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a882cbdd64c39ae7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 37, "comment" : "Flipped bit 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1931f00b2afe984443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 38, "comment" : "Flipped bit 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7a2ea60b966fc5399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 39, "comment" : "Flipped bit 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a882cbd564d39ae7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 40, "comment" : "Flipped bit 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1931f0032aee984443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 41, "comment" : "Flipped bit 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7a2ea68b976fc5399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 42, "comment" : "Flipped bit 71 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a882cbd56cc39ae7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 43, "comment" : "Flipped bit 71 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1931f00322fe984443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 44, "comment" : "Flipped bit 71 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7a2ea68b166fc5399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 45, "comment" : "Flipped bit 77 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a882cbd564c19ae7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 46, "comment" : "Flipped bit 77 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1931f0032afc984443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 47, "comment" : "Flipped bit 77 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7a2ea68b964fc5399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 48, "comment" : "Flipped bit 80 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a882cbd564c39af7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 49, "comment" : "Flipped bit 80 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1931f0032afe985443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 50, "comment" : "Flipped bit 80 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7a2ea68b966fc4399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 51, "comment" : "Flipped bit 96 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a882cbd564c39ae7d1d5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 52, "comment" : "Flipped bit 96 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1931f0032afe984443638cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 53, "comment" : "Flipped bit 96 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7a2ea68b966fc5399e74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 54, "comment" : "Flipped bit 97 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a882cbd564c39ae7d1e5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 55, "comment" : "Flipped bit 97 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1931f0032afe984443538cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 56, "comment" : "Flipped bit 97 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7a2ea68b966fc5399d74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 57, "comment" : "Flipped bit 103 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a882cbd564c39ae7d9c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 58, "comment" : "Flipped bit 103 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1931f0032afe98444b738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 59, "comment" : "Flipped bit 103 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7a2ea68b966fc5391f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 60, "comment" : "Flipped bit 120 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a882cbd564c39ae7d1c5a31ab", "result" : "invalid", "flags" : [] }, { "tcId" : 61, "comment" : "Flipped bit 120 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1931f0032afe984443738cd30", "result" : "invalid", "flags" : [] }, { "tcId" : 62, "comment" : "Flipped bit 120 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7a2ea68b966fc5399f74809f", "result" : "invalid", "flags" : [] }, { "tcId" : 63, "comment" : "Flipped bit 121 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a882cbd564c39ae7d1c5a31a8", "result" : "invalid", "flags" : [] }, { "tcId" : 64, "comment" : "Flipped bit 121 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1931f0032afe984443738cd33", "result" : "invalid", "flags" : [] }, { "tcId" : 65, "comment" : "Flipped bit 121 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7a2ea68b966fc5399f74809c", "result" : "invalid", "flags" : [] }, { "tcId" : 66, "comment" : "Flipped bit 126 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a882cbd564c39ae7d1c5a31ea", "result" : "invalid", "flags" : [] }, { "tcId" : 67, "comment" : "Flipped bit 126 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1931f0032afe984443738cd71", "result" : "invalid", "flags" : [] }, { "tcId" : 68, "comment" : "Flipped bit 126 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7a2ea68b966fc5399f7480de", "result" : "invalid", "flags" : [] }, { "tcId" : 69, "comment" : "Flipped bit 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a882cbd564c39ae7d1c5a312a", "result" : "invalid", "flags" : [] }, { "tcId" : 70, "comment" : "Flipped bit 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1931f0032afe984443738cdb1", "result" : "invalid", "flags" : [] }, { "tcId" : 71, "comment" : "Flipped bit 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7a2ea68b966fc5399f74801e", "result" : "invalid", "flags" : [] }, { "tcId" : 72, "comment" : "Flipped bits 0 and 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "96dd6e5a882cbd564d39ae7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 73, "comment" : "Flipped bits 0 and 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "43802eb1931f0032aee984443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 74, "comment" : "Flipped bits 0 and 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7acfbbca7a2ea68b976fc5399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 75, "comment" : "Flipped bits 31 and 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6eda882cbdd64c39ae7d1c5a31aa", "result" : "invalid", "flags" : [] }, { "tcId" : 76, "comment" : "Flipped bits 31 and 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802e31931f00b2afe984443738cd31", "result" : "invalid", "flags" : [] }, { "tcId" : 77, "comment" : "Flipped bits 31 and 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbb4a7a2ea60b966fc5399f74809e", "result" : "invalid", "flags" : [] }, { "tcId" : 78, "comment" : "Flipped bits 63 and 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "97dd6e5a882cbdd64c39ae7d1c5a312a", "result" : "invalid", "flags" : [] }, { "tcId" : 79, "comment" : "Flipped bits 63 and 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "42802eb1931f00b2afe984443738cdb1", "result" : "invalid", "flags" : [] }, { "tcId" : 80, "comment" : "Flipped bits 63 and 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7bcfbbca7a2ea60b966fc5399f74801e", "result" : "invalid", "flags" : [] }, { "tcId" : 81, "comment" : "all bits of tag flipped", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "682291a577d342a9b3c65182e3a5ce55", "result" : "invalid", "flags" : [] }, { "tcId" : 82, "comment" : "all bits of tag flipped", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "bd7fd14e6ce0ffcd50167bbbc8c732ce", "result" : "invalid", "flags" : [] }, { "tcId" : 83, "comment" : "all bits of tag flipped", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "8430443585d1597469903ac6608b7f61", "result" : "invalid", "flags" : [] }, { "tcId" : 84, "comment" : "Tag changed to all zero", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "00000000000000000000000000000000", "result" : "invalid", "flags" : [] }, { "tcId" : 85, "comment" : "Tag changed to all zero", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "00000000000000000000000000000000", "result" : "invalid", "flags" : [] }, { "tcId" : 86, "comment" : "Tag changed to all zero", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "00000000000000000000000000000000", "result" : "invalid", "flags" : [] }, { "tcId" : 87, "comment" : "tag changed to all 1", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "ffffffffffffffffffffffffffffffff", "result" : "invalid", "flags" : [] }, { "tcId" : 88, "comment" : "tag changed to all 1", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "ffffffffffffffffffffffffffffffff", "result" : "invalid", "flags" : [] }, { "tcId" : 89, "comment" : "tag changed to all 1", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "ffffffffffffffffffffffffffffffff", "result" : "invalid", "flags" : [] }, { "tcId" : 90, "comment" : "msbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "175deeda08ac3dd6ccb92efd9cdab12a", "result" : "invalid", "flags" : [] }, { "tcId" : 91, "comment" : "msbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "c200ae31139f80b22f6904c4b7b84db1", "result" : "invalid", "flags" : [] }, { "tcId" : 92, "comment" : "msbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "fb4f3b4afaae260b16ef45b91ff4001e", "result" : "invalid", "flags" : [] }, { "tcId" : 93, "comment" : "lsbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "", "tag" : "96dc6f5b892dbc574d38af7c1d5b30ab", "result" : "invalid", "flags" : [] }, { "tcId" : 94, "comment" : "lsbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "0001020304050607", "tag" : "43812fb0921e0133aee885453639cc30", "result" : "invalid", "flags" : [] }, { "tcId" : 95, "comment" : "lsbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "7acebacb7b2fa78a976ec4389e75819f", "result" : "invalid", "flags" : [] } ] }, { "keySize" : 192, "tagSize" : 96, "type" : "MacTest", "tests" : [ { "tcId" : 96, "comment" : "empty message", "key" : "78fe7087bc810abf08f15fc69804f888435a6442677c8c79", "msg" : "", "tag" : "48d92d311f60d51a23e56d8c", "result" : "valid", "flags" : [] }, { "tcId" : 97, "comment" : "truncated mac", "key" : "7ab6fb0e3456e40c3a6c5db57a3d0548d4c8c3cfd8849dba", "msg" : "c6", "tag" : "d904a70715bd0ad9468f37b2", "result" : "valid", "flags" : [] }, { "tcId" : 98, "comment" : "truncated mac", "key" : "f095a5d39f0b499cef0130b4eb3bfae90253a1f30270efb5", "msg" : "738e196c2cb0206b", "tag" : "7a3b8de1c57e7c5f7babbe42", "result" : "valid", "flags" : [] }, { "tcId" : 99, "comment" : "truncated mac", "key" : "6fee9e028a35d168ffe2062338f753d3930597b341210f0c", "msg" : "a1518bb8cb88f305935b91f64f2479", "tag" : "7ba264b276a0849bc76a2a29", "result" : "valid", "flags" : [] }, { "tcId" : 100, "comment" : "truncated mac", "key" : "304b9077a8f36fd949e38bbfb6dd71e313530ba0a34d3e77", "msg" : "87e60924ae7f2ae1567cbcb07f7ae2aa", "tag" : "725e51ac5b10338d940c0236", "result" : "valid", "flags" : [] }, { "tcId" : 101, "comment" : "truncated mac", "key" : "fec7f37de35365c415701ba2eec2d94cb20e3e2a0c21cfcf", "msg" : "cf24271e0acebd3249f996da1fe9d13e3f", "tag" : "7636cec43b5b7a40787580fa", "result" : "valid", "flags" : [] }, { "tcId" : 102, "comment" : "truncated mac", "key" : "5f4df68a45a5edde95907b5b002fcf3ba6747f9194536dd3", "msg" : "4cc781faaa8decb281afab7dc69f380921d04c54414bb65f", "tag" : "bb2de41c514dd64ebc5f5a99", "result" : "valid", "flags" : [] } ] }, { "keySize" : 192, "tagSize" : 128, "type" : "MacTest", "tests" : [ { "tcId" : 103, "comment" : "empty message", "key" : "3d6bf9edae6d881eade0ff8c7076a4835b71320c1f36b631", "msg" : "", "tag" : "a8dd15fe2ce3495ec5b666744ec29220", "result" : "valid", "flags" : [] }, { "tcId" : 104, "comment" : "full length mac", "key" : "915429743435c28997a33b33b6574a953d81dae0e7032e6a", "msg" : "58", "tag" : "e13b3f7f7f510c3a059df7a68c7e2ad5", "result" : "valid", "flags" : [] }, { "tcId" : 105, "comment" : "full length mac", "key" : "28d8da67806410e5565bcc5a9d7ab9fb357413fa0158378c", "msg" : "004e3f4a4e6db955", "tag" : "c4c2c0876be9eabeb5a956da53846b08", "result" : "valid", "flags" : [] }, { "tcId" : 106, "comment" : "full length mac", "key" : "850fc859e9f7b89a367611dee6698f33962d8245ca8dc331", "msg" : "586f4f171af116519061a8e0e77940", "tag" : "fb11a360c9776991d73d6e41d07710a2", "result" : "valid", "flags" : [] }, { "tcId" : 107, "comment" : "full length mac", "key" : "f4bfa5aa4f0f4d62cf736cd2969c43d580fdb92f2753bedb", "msg" : "0e239f239705b282ce2200fe20de1165", "tag" : "ab20a6cf60873665b1d6999b05c7f9c6", "result" : "valid", "flags" : [] }, { "tcId" : 108, "comment" : "full length mac", "key" : "cfd3f68873d81a27d2bfce876c79f6e609074dec39e34614", "msg" : "b1973cb25aa87ef9d1a8888b0a0f5c04c6", "tag" : "b95a016b83a0ae4194023333c8a7345a", "result" : "valid", "flags" : [] }, { "tcId" : 109, "comment" : "full length mac", "key" : "648a44468d67bb6744b235ee7a3fcd6ed4bdc29ec5b5fa1a", "msg" : "c59d0d6981cca1be1d5519fc7881e6d230f39f6c12a9e827", "tag" : "a1b96272ae7f9aef567271795f21d1d3", "result" : "valid", "flags" : [] }, { "tcId" : 110, "comment" : "Flipped bit 0 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ed12390ea0a7ed15d9d37a6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 111, "comment" : "Flipped bit 0 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c81307df60859acb911c7be61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 112, "comment" : "Flipped bit 0 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f91bde0069a6e389573bf04e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 113, "comment" : "Flipped bit 1 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ee12390ea0a7ed15d9d37a6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 114, "comment" : "Flipped bit 1 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "cb1307df60859acb911c7be61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 115, "comment" : "Flipped bit 1 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "fa1bde0069a6e389573bf04e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 116, "comment" : "Flipped bit 7 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "6c12390ea0a7ed15d9d37a6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 117, "comment" : "Flipped bit 7 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "491307df60859acb911c7be61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 118, "comment" : "Flipped bit 7 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "781bde0069a6e389573bf04e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 119, "comment" : "Flipped bit 8 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec13390ea0a7ed15d9d37a6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 120, "comment" : "Flipped bit 8 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91207df60859acb911c7be61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 121, "comment" : "Flipped bit 8 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81ade0069a6e389573bf04e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 122, "comment" : "Flipped bit 31 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12398ea0a7ed15d9d37a6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 123, "comment" : "Flipped bit 31 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c913075f60859acb911c7be61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 124, "comment" : "Flipped bit 31 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde8069a6e389573bf04e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 125, "comment" : "Flipped bit 32 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea1a7ed15d9d37a6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 126, "comment" : "Flipped bit 32 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df61859acb911c7be61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 127, "comment" : "Flipped bit 32 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0068a6e389573bf04e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 128, "comment" : "Flipped bit 33 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea2a7ed15d9d37a6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 129, "comment" : "Flipped bit 33 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df62859acb911c7be61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 130, "comment" : "Flipped bit 33 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde006ba6e389573bf04e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 131, "comment" : "Flipped bit 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea0a7ed95d9d37a6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 132, "comment" : "Flipped bit 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df60859a4b911c7be61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 133, "comment" : "Flipped bit 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0069a6e309573bf04e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 134, "comment" : "Flipped bit 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea0a7ed15d8d37a6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 135, "comment" : "Flipped bit 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df60859acb901c7be61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 136, "comment" : "Flipped bit 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0069a6e389563bf04e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 137, "comment" : "Flipped bit 71 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea0a7ed1559d37a6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 138, "comment" : "Flipped bit 71 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df60859acb111c7be61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 139, "comment" : "Flipped bit 71 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0069a6e389d73bf04e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 140, "comment" : "Flipped bit 77 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea0a7ed15d9f37a6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 141, "comment" : "Flipped bit 77 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df60859acb913c7be61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 142, "comment" : "Flipped bit 77 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0069a6e389571bf04e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 143, "comment" : "Flipped bit 80 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea0a7ed15d9d37b6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 144, "comment" : "Flipped bit 80 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df60859acb911c7ae61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 145, "comment" : "Flipped bit 80 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0069a6e389573bf14e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 146, "comment" : "Flipped bit 96 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea0a7ed15d9d37a6ecb1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 147, "comment" : "Flipped bit 96 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df60859acb911c7be61ae7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 148, "comment" : "Flipped bit 96 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0069a6e389573bf04e7dde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 149, "comment" : "Flipped bit 97 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea0a7ed15d9d37a6ec81fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 150, "comment" : "Flipped bit 97 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df60859acb911c7be619e7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 151, "comment" : "Flipped bit 97 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0069a6e389573bf04e7ede688c", "result" : "invalid", "flags" : [] }, { "tcId" : 152, "comment" : "Flipped bit 103 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea0a7ed15d9d37a6e4a1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 153, "comment" : "Flipped bit 103 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df60859acb911c7be69be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 154, "comment" : "Flipped bit 103 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0069a6e389573bf04efcde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 155, "comment" : "Flipped bit 120 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea0a7ed15d9d37a6eca1fc991", "result" : "invalid", "flags" : [] }, { "tcId" : 156, "comment" : "Flipped bit 120 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df60859acb911c7be61be7ca91", "result" : "invalid", "flags" : [] }, { "tcId" : 157, "comment" : "Flipped bit 120 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0069a6e389573bf04e7cde688d", "result" : "invalid", "flags" : [] }, { "tcId" : 158, "comment" : "Flipped bit 121 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea0a7ed15d9d37a6eca1fc992", "result" : "invalid", "flags" : [] }, { "tcId" : 159, "comment" : "Flipped bit 121 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df60859acb911c7be61be7ca92", "result" : "invalid", "flags" : [] }, { "tcId" : 160, "comment" : "Flipped bit 121 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0069a6e389573bf04e7cde688e", "result" : "invalid", "flags" : [] }, { "tcId" : 161, "comment" : "Flipped bit 126 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea0a7ed15d9d37a6eca1fc9d0", "result" : "invalid", "flags" : [] }, { "tcId" : 162, "comment" : "Flipped bit 126 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df60859acb911c7be61be7cad0", "result" : "invalid", "flags" : [] }, { "tcId" : 163, "comment" : "Flipped bit 126 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0069a6e389573bf04e7cde68cc", "result" : "invalid", "flags" : [] }, { "tcId" : 164, "comment" : "Flipped bit 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea0a7ed15d9d37a6eca1fc910", "result" : "invalid", "flags" : [] }, { "tcId" : 165, "comment" : "Flipped bit 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df60859acb911c7be61be7ca10", "result" : "invalid", "flags" : [] }, { "tcId" : 166, "comment" : "Flipped bit 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0069a6e389573bf04e7cde680c", "result" : "invalid", "flags" : [] }, { "tcId" : 167, "comment" : "Flipped bits 0 and 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ed12390ea0a7ed15d8d37a6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 168, "comment" : "Flipped bits 0 and 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c81307df60859acb901c7be61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 169, "comment" : "Flipped bits 0 and 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f91bde0069a6e389563bf04e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 170, "comment" : "Flipped bits 31 and 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12398ea0a7ed95d9d37a6eca1fc990", "result" : "invalid", "flags" : [] }, { "tcId" : 171, "comment" : "Flipped bits 31 and 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c913075f60859a4b911c7be61be7ca90", "result" : "invalid", "flags" : [] }, { "tcId" : 172, "comment" : "Flipped bits 31 and 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde8069a6e309573bf04e7cde688c", "result" : "invalid", "flags" : [] }, { "tcId" : 173, "comment" : "Flipped bits 63 and 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ec12390ea0a7ed95d9d37a6eca1fc910", "result" : "invalid", "flags" : [] }, { "tcId" : 174, "comment" : "Flipped bits 63 and 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c91307df60859a4b911c7be61be7ca10", "result" : "invalid", "flags" : [] }, { "tcId" : 175, "comment" : "Flipped bits 63 and 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f81bde0069a6e309573bf04e7cde680c", "result" : "invalid", "flags" : [] }, { "tcId" : 176, "comment" : "all bits of tag flipped", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "13edc6f15f5812ea262c859135e0366f", "result" : "invalid", "flags" : [] }, { "tcId" : 177, "comment" : "all bits of tag flipped", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "36ecf8209f7a65346ee38419e418356f", "result" : "invalid", "flags" : [] }, { "tcId" : 178, "comment" : "all bits of tag flipped", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "07e421ff96591c76a8c40fb183219773", "result" : "invalid", "flags" : [] }, { "tcId" : 179, "comment" : "Tag changed to all zero", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "00000000000000000000000000000000", "result" : "invalid", "flags" : [] }, { "tcId" : 180, "comment" : "Tag changed to all zero", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "00000000000000000000000000000000", "result" : "invalid", "flags" : [] }, { "tcId" : 181, "comment" : "Tag changed to all zero", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "00000000000000000000000000000000", "result" : "invalid", "flags" : [] }, { "tcId" : 182, "comment" : "tag changed to all 1", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ffffffffffffffffffffffffffffffff", "result" : "invalid", "flags" : [] }, { "tcId" : 183, "comment" : "tag changed to all 1", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "ffffffffffffffffffffffffffffffff", "result" : "invalid", "flags" : [] }, { "tcId" : 184, "comment" : "tag changed to all 1", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "ffffffffffffffffffffffffffffffff", "result" : "invalid", "flags" : [] }, { "tcId" : 185, "comment" : "msbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "6c92b98e20276d955953faee4a9f4910", "result" : "invalid", "flags" : [] }, { "tcId" : 186, "comment" : "msbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "4993875fe0051a4b119cfb669b674a10", "result" : "invalid", "flags" : [] }, { "tcId" : 187, "comment" : "msbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "789b5e80e9266309d7bb70cefc5ee80c", "result" : "invalid", "flags" : [] }, { "tcId" : 188, "comment" : "lsbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "", "tag" : "ed13380fa1a6ec14d8d27b6fcb1ec891", "result" : "invalid", "flags" : [] }, { "tcId" : 189, "comment" : "lsbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "0001020304050607", "tag" : "c81206de61849bca901d7ae71ae6cb91", "result" : "invalid", "flags" : [] }, { "tcId" : 190, "comment" : "lsbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f1011121314151617", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "f91adf0168a7e288563af14f7ddf698d", "result" : "invalid", "flags" : [] } ] }, { "keySize" : 256, "tagSize" : 96, "type" : "MacTest", "tests" : [ { "tcId" : 191, "comment" : "empty message", "key" : "e40992eb4f649e5d49134652aecc24bafa6b45ce8dd9e9d371ede7d5de84fa72", "msg" : "", "tag" : "034762bd9014d642f7f08af7", "result" : "valid", "flags" : [] }, { "tcId" : 192, "comment" : "truncated mac", "key" : "298962335a075e9eacb7a7627beafa4ee5a02242423cdfb0b4f106eb61cf5663", "msg" : "49", "tag" : "4545f042beb65af2b7b74808", "result" : "valid", "flags" : [] }, { "tcId" : 193, "comment" : "truncated mac", "key" : "2e94a84c78be80cd598366058d4f6cdf8095666dcac7a00ad832d9f33e20d13c", "msg" : "b978587bf028558d", "tag" : "6703f99ac094ed0e9d9973b5", "result" : "valid", "flags" : [] }, { "tcId" : 194, "comment" : "truncated mac", "key" : "95b330aa5fffa6c0e29fd6fa0debdcb9cf6b448820bea24875089ec8ca5a2387", "msg" : "c96596ebba6f89761b9d14dfcc8fb4", "tag" : "2fc3ce831f693912d33f3fde", "result" : "valid", "flags" : [] }, { "tcId" : 195, "comment" : "truncated mac", "key" : "319cd78b51a689a66b232005d66ad1962d11e52faf6aaad4ce7dc30777cd9ecc", "msg" : "82ce94904b110635a8604c4f7afc786b", "tag" : "a7685d0f2049015e6f3229ee", "result" : "valid", "flags" : [] }, { "tcId" : 196, "comment" : "truncated mac", "key" : "b3b7c2c6d3d80918218afcd8bf2a71cf0220e2e8084ead8ba1abfb893ae36d40", "msg" : "dbcf98254157727c35f367fe6e15a2d089", "tag" : "09a60999f8848d19be5242c8", "result" : "valid", "flags" : [] }, { "tcId" : 197, "comment" : "truncated mac", "key" : "8588a6f1fb8ccc0fed3fdb3f8a39d389fb9260748f3b45bd74ad42a60c9caf2b", "msg" : "020cc9dd7f06f514bd3baf939f376b8b0083ff1b35ac90d0", "tag" : "50649ef2b87c22d2731ace23", "result" : "valid", "flags" : [] } ] }, { "keySize" : 256, "tagSize" : 128, "type" : "MacTest", "tests" : [ { "tcId" : 198, "comment" : "empty message", "key" : "7bf9e536b66a215c22233fe2daaa743a898b9acb9f7802de70b40e3d6e43ef97", "msg" : "", "tag" : "736c7b56957db774c5ddf7c7a70ba8a8", "result" : "valid", "flags" : [] }, { "tcId" : 199, "comment" : "full length mac", "key" : "e754076ceab3fdaf4f9bcab7d4f0df0cbbafbc87731b8f9b7cd2166472e8eebc", "msg" : "40", "tag" : "9d47482c2d9252bace43a75a8335b8b8", "result" : "valid", "flags" : [] }, { "tcId" : 200, "comment" : "full length mac", "key" : "505aa98819809ef63b9a368a1e8bc2e922da45b03ce02d9a7966b15006dba2d5", "msg" : "2e4e7ef728fe11af", "tag" : "f79606b83a7706a2a19e068bce818898", "result" : "valid", "flags" : [] }, { "tcId" : 201, "comment" : "full length mac", "key" : "c19bdf314c6cf64381425467f42aefa17c1cc9358be16ce31b1d214859ce86aa", "msg" : "5d066a92c300e9b6ddd63a7c13ae33", "tag" : "b96818b7acaf879c7a7f8271375a6914", "result" : "valid", "flags" : [] }, { "tcId" : 202, "comment" : "full length mac", "key" : "612e837843ceae7f61d49625faa7e7494f9253e20cb3adcea686512b043936cd", "msg" : "cc37fae15f745a2f40e2c8b192f2b38d", "tag" : "4b88e193000c5a4b23e95c7f2b26530b", "result" : "valid", "flags" : [] }, { "tcId" : 203, "comment" : "full length mac", "key" : "73216fafd0022d0d6ee27198b2272578fa8f04dd9f44467fbb6437aa45641bf7", "msg" : "d5247b8f6c3edcbfb1d591d13ece23d2f5", "tag" : "86911c7da51dc0823d6e93d4290d1ad4", "result" : "valid", "flags" : [] }, { "tcId" : 204, "comment" : "full length mac", "key" : "0427a70e257528f3ab70640bba1a5de12cf3885dd4c8e284fbbb55feb35294a5", "msg" : "13937f8544f44270d01175a011f7670e93fa6ba7ef02336e", "tag" : "ccb2c51bfbe2598f9109fc70ed07f0eb", "result" : "valid", "flags" : [] }, { "tcId" : 205, "comment" : "Flipped bit 0 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6af0a293d8cba0101f0089727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 206, "comment" : "Flipped bit 0 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d709717c3a4ef8a2ea200b297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 207, "comment" : "Flipped bit 0 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "58ee3f3b5f83e290cae26dad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 208, "comment" : "Flipped bit 1 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "69f0a293d8cba0101f0089727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 209, "comment" : "Flipped bit 1 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d409717c3a4ef8a2ea200b297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 210, "comment" : "Flipped bit 1 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "5bee3f3b5f83e290cae26dad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 211, "comment" : "Flipped bit 7 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "ebf0a293d8cba0101f0089727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 212, "comment" : "Flipped bit 7 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "5609717c3a4ef8a2ea200b297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 213, "comment" : "Flipped bit 7 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "d9ee3f3b5f83e290cae26dad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 214, "comment" : "Flipped bit 8 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf1a293d8cba0101f0089727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 215, "comment" : "Flipped bit 8 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d608717c3a4ef8a2ea200b297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 216, "comment" : "Flipped bit 8 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ef3f3b5f83e290cae26dad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 217, "comment" : "Flipped bit 31 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a213d8cba0101f0089727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 218, "comment" : "Flipped bit 31 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d60971fc3a4ef8a2ea200b297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 219, "comment" : "Flipped bit 31 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3fbb5f83e290cae26dad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 220, "comment" : "Flipped bit 32 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d9cba0101f0089727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 221, "comment" : "Flipped bit 32 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3b4ef8a2ea200b297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 222, "comment" : "Flipped bit 32 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5e83e290cae26dad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 223, "comment" : "Flipped bit 33 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293dacba0101f0089727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 224, "comment" : "Flipped bit 33 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c384ef8a2ea200b297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 225, "comment" : "Flipped bit 33 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5d83e290cae26dad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 226, "comment" : "Flipped bit 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d8cba0901f0089727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 227, "comment" : "Flipped bit 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3a4ef822ea200b297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 228, "comment" : "Flipped bit 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5f83e210cae26dad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 229, "comment" : "Flipped bit 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d8cba0101e0089727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 230, "comment" : "Flipped bit 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3a4ef8a2eb200b297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 231, "comment" : "Flipped bit 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5f83e290cbe26dad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 232, "comment" : "Flipped bit 71 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d8cba0109f0089727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 233, "comment" : "Flipped bit 71 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3a4ef8a26a200b297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 234, "comment" : "Flipped bit 71 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5f83e2904ae26dad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 235, "comment" : "Flipped bit 77 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d8cba0101f2089727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 236, "comment" : "Flipped bit 77 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3a4ef8a2ea000b297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 237, "comment" : "Flipped bit 77 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5f83e290cac26dad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 238, "comment" : "Flipped bit 80 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d8cba0101f0088727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 239, "comment" : "Flipped bit 80 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3a4ef8a2ea200a297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 240, "comment" : "Flipped bit 80 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5f83e290cae26cad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 241, "comment" : "Flipped bit 96 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d8cba0101f0089727791b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 242, "comment" : "Flipped bit 96 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3a4ef8a2ea200b297c2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 243, "comment" : "Flipped bit 96 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5f83e290cae26dad28bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 244, "comment" : "Flipped bit 97 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d8cba0101f0089727491b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 245, "comment" : "Flipped bit 97 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3a4ef8a2ea200b297f2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 246, "comment" : "Flipped bit 97 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5f83e290cae26dad2bbba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 247, "comment" : "Flipped bit 103 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d8cba0101f008972f691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 248, "comment" : "Flipped bit 103 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3a4ef8a2ea200b29fd2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 249, "comment" : "Flipped bit 103 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5f83e290cae26dada9bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 250, "comment" : "Flipped bit 120 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d8cba0101f0089727691b7fa", "result" : "invalid", "flags" : [] }, { "tcId" : 251, "comment" : "Flipped bit 120 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3a4ef8a2ea200b297d2acced", "result" : "invalid", "flags" : [] }, { "tcId" : 252, "comment" : "Flipped bit 120 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5f83e290cae26dad29bba32c", "result" : "invalid", "flags" : [] }, { "tcId" : 253, "comment" : "Flipped bit 121 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d8cba0101f0089727691b7f9", "result" : "invalid", "flags" : [] }, { "tcId" : 254, "comment" : "Flipped bit 121 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3a4ef8a2ea200b297d2accee", "result" : "invalid", "flags" : [] }, { "tcId" : 255, "comment" : "Flipped bit 121 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5f83e290cae26dad29bba32f", "result" : "invalid", "flags" : [] }, { "tcId" : 256, "comment" : "Flipped bit 126 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d8cba0101f0089727691b7bb", "result" : "invalid", "flags" : [] }, { "tcId" : 257, "comment" : "Flipped bit 126 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3a4ef8a2ea200b297d2accac", "result" : "invalid", "flags" : [] }, { "tcId" : 258, "comment" : "Flipped bit 126 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5f83e290cae26dad29bba36d", "result" : "invalid", "flags" : [] }, { "tcId" : 259, "comment" : "Flipped bit 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d8cba0101f0089727691b77b", "result" : "invalid", "flags" : [] }, { "tcId" : 260, "comment" : "Flipped bit 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3a4ef8a2ea200b297d2acc6c", "result" : "invalid", "flags" : [] }, { "tcId" : 261, "comment" : "Flipped bit 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5f83e290cae26dad29bba3ad", "result" : "invalid", "flags" : [] }, { "tcId" : 262, "comment" : "Flipped bits 0 and 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6af0a293d8cba0101e0089727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 263, "comment" : "Flipped bits 0 and 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d709717c3a4ef8a2eb200b297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 264, "comment" : "Flipped bits 0 and 64 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "58ee3f3b5f83e290cbe26dad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 265, "comment" : "Flipped bits 31 and 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a213d8cba0901f0089727691b7fb", "result" : "invalid", "flags" : [] }, { "tcId" : 266, "comment" : "Flipped bits 31 and 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d60971fc3a4ef822ea200b297d2accec", "result" : "invalid", "flags" : [] }, { "tcId" : 267, "comment" : "Flipped bits 31 and 63 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3fbb5f83e210cae26dad29bba32d", "result" : "invalid", "flags" : [] }, { "tcId" : 268, "comment" : "Flipped bits 63 and 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6bf0a293d8cba0901f0089727691b77b", "result" : "invalid", "flags" : [] }, { "tcId" : 269, "comment" : "Flipped bits 63 and 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d609717c3a4ef822ea200b297d2acc6c", "result" : "invalid", "flags" : [] }, { "tcId" : 270, "comment" : "Flipped bits 63 and 127 in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "59ee3f3b5f83e210cae26dad29bba3ad", "result" : "invalid", "flags" : [] }, { "tcId" : 271, "comment" : "all bits of tag flipped", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "940f5d6c27345fefe0ff768d896e4804", "result" : "invalid", "flags" : [] }, { "tcId" : 272, "comment" : "all bits of tag flipped", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "29f68e83c5b1075d15dff4d682d53313", "result" : "invalid", "flags" : [] }, { "tcId" : 273, "comment" : "all bits of tag flipped", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "a611c0c4a07c1d6f351d9252d6445cd2", "result" : "invalid", "flags" : [] }, { "tcId" : 274, "comment" : "Tag changed to all zero", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "00000000000000000000000000000000", "result" : "invalid", "flags" : [] }, { "tcId" : 275, "comment" : "Tag changed to all zero", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "00000000000000000000000000000000", "result" : "invalid", "flags" : [] }, { "tcId" : 276, "comment" : "Tag changed to all zero", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "00000000000000000000000000000000", "result" : "invalid", "flags" : [] }, { "tcId" : 277, "comment" : "tag changed to all 1", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "ffffffffffffffffffffffffffffffff", "result" : "invalid", "flags" : [] }, { "tcId" : 278, "comment" : "tag changed to all 1", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "ffffffffffffffffffffffffffffffff", "result" : "invalid", "flags" : [] }, { "tcId" : 279, "comment" : "tag changed to all 1", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "ffffffffffffffffffffffffffffffff", "result" : "invalid", "flags" : [] }, { "tcId" : 280, "comment" : "msbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "eb702213584b20909f8009f2f611377b", "result" : "invalid", "flags" : [] }, { "tcId" : 281, "comment" : "msbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "5689f1fcbace78226aa08ba9fdaa4c6c", "result" : "invalid", "flags" : [] }, { "tcId" : 282, "comment" : "msbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "d96ebfbbdf0362104a62ed2da93b23ad", "result" : "invalid", "flags" : [] }, { "tcId" : 283, "comment" : "lsbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "", "tag" : "6af1a392d9caa1111e0188737790b6fa", "result" : "invalid", "flags" : [] }, { "tcId" : 284, "comment" : "lsbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "0001020304050607", "tag" : "d708707d3b4ff9a3eb210a287c2bcded", "result" : "invalid", "flags" : [] }, { "tcId" : 285, "comment" : "lsbs changed in tag", "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "msg" : "000102030405060708090a0b0c0d0e0f", "tag" : "58ef3e3a5e82e391cbe36cac28baa22c", "result" : "invalid", "flags" : [] } ] }, { "keySize" : 0, "tagSize" : 128, "type" : "MacTest", "tests" : [ { "tcId" : 286, "comment" : "invalid key size", "key" : "", "msg" : "00b9449326d39416", "tag" : "", "result" : "invalid", "flags" : [] } ] }, { "keySize" : 8, "tagSize" : 128, "type" : "MacTest", "tests" : [ { "tcId" : 287, "comment" : "invalid key size", "key" : "0f", "msg" : "4538b79a1397e2aa", "tag" : "", "result" : "invalid", "flags" : [] } ] }, { "keySize" : 64, "tagSize" : 128, "type" : "MacTest", "tests" : [ { "tcId" : 288, "comment" : "invalid key size", "key" : "a88e385af7185148", "msg" : "dc63b7ef08096e4f", "tag" : "", "result" : "invalid", "flags" : [] } ] }, { "keySize" : 160, "tagSize" : 128, "type" : "MacTest", "tests" : [ { "tcId" : 289, "comment" : "invalid key size", "key" : "003a228008d390b645929df73a2b2bdd8298918d", "msg" : "ad1d3c3122ab7ac6", "tag" : "", "result" : "invalid", "flags" : [] } ] }, { "keySize" : 320, "tagSize" : 128, "type" : "MacTest", "tests" : [ { "tcId" : 290, "comment" : "invalid key size", "key" : "94baaac150e2645ae1ec1939c7bcefb73f6edb146fae02289b6c6326ff39bc265d612bef2727fa72", "msg" : "e3f75a886c4a5591", "tag" : "", "result" : "invalid", "flags" : [] } ] } ] }