blob: bbbf3de14a8118cfce343bb3b620099d23707b07 [file] [log] [blame]
{
"algorithm" : "AES-GMAC",
"generatorVersion" : "0.8r12",
"numberOfTests" : 449,
"header" : [
"MacWithIvTest is intended for testing MACs that use an IV for randomization."
],
"notes" : {
},
"schema" : "mac_with_iv_test_schema.json",
"testGroups" : [
{
"ivSize" : 96,
"keySize" : 128,
"tagSize" : 128,
"type" : "MacWithIvTest",
"tests" : [
{
"tcId" : 1,
"comment" : "empty message",
"key" : "98b08a72ffde0ded4bec9d2a8db57235",
"iv" : "1595248735310eb710519c2b",
"msg" : "",
"tag" : "5118cc71501c8273a43662b981191750",
"result" : "valid",
"flags" : []
},
{
"tcId" : 2,
"comment" : "short message",
"key" : "f0cfce280656fabd93f68ba6b3a3ad6e",
"iv" : "0a38ca626b430ed84a2a8dfe",
"msg" : "4b",
"tag" : "8677a0160a923ce7437ca94b8de97da5",
"result" : "valid",
"flags" : []
},
{
"tcId" : 3,
"comment" : "short message",
"key" : "fd3c5381f588bfe33270e336a5b02896",
"iv" : "02d916631fbacf27c274b74c",
"msg" : "026f",
"tag" : "ebc6969310510a2eb8acb9ec3d631f29",
"result" : "valid",
"flags" : []
},
{
"tcId" : 4,
"comment" : "short message",
"key" : "53107d29dc584d32d3ef321a85eec257",
"iv" : "dd91a33dce809e7bfe68d843",
"msg" : "039e0f5b",
"tag" : "8c99cbf28c43f90fc3609126bdf30f4b",
"result" : "valid",
"flags" : []
},
{
"tcId" : 5,
"comment" : "short message",
"key" : "8e2c0cc624728af2195d46775502ec13",
"iv" : "e8d43d5646bb7dde8a1e9374",
"msg" : "f7efb072100cc6",
"tag" : "2b4e06a558a40542c0fdc7149678c8b8",
"result" : "valid",
"flags" : []
},
{
"tcId" : 6,
"comment" : "short message",
"key" : "f543fb6a6673e9df998a3058084dccc1",
"iv" : "0e78b2a2250b5dd1daebcb7b",
"msg" : "8063719e25c0bc9a",
"tag" : "d32c12b4b7845adacadabe2387e243d4",
"result" : "valid",
"flags" : []
},
{
"tcId" : 7,
"comment" : "short message",
"key" : "fe3f266f5f236669582bd80618760543",
"iv" : "014313723d1860bf8f4b11fd",
"msg" : "dc25f04acfbdbc986a107043286eae",
"tag" : "60392ad41debec0db43d97dfb3798c91",
"result" : "valid",
"flags" : []
},
{
"tcId" : 8,
"comment" : "short message",
"key" : "1d4a92394c7356a6f528cfb3adb8f253",
"iv" : "02194ece3bc50c51c52bdd83",
"msg" : "19b69d4178d49c20b4ee5846cb440c99",
"tag" : "3790b32d5cda9f8ef72b643d701077d3",
"result" : "valid",
"flags" : []
},
{
"tcId" : 9,
"comment" : "short message",
"key" : "c9859c8b39d8d7e811d8ae45d9b85882",
"iv" : "110d550119d71a0945bfecbb",
"msg" : "36717076748d9351e5a3cc67b9e8833e07",
"tag" : "f0b26b17b28ea92708b12b871f3b3071",
"result" : "valid",
"flags" : []
},
{
"tcId" : 10,
"comment" : "short message",
"key" : "8b4fd3d3055746cb2dcd9b08c298386f",
"iv" : "1aac5cca3d02d40f57fabecf",
"msg" : "83e5abbbfed5eeb353b25f36e4adc0f29060c55c08ae4f80",
"tag" : "2c9c99e071f1d2783a47c7a847a3b76a",
"result" : "valid",
"flags" : []
},
{
"tcId" : 11,
"comment" : "long message",
"key" : "46c33fff8898c4a4985599ccc05d0571",
"iv" : "01da1ca72e26f6d6fa9ce281",
"msg" : "038537bf94e1d7e14f68b8d5458241e34f5158dea6f8052049b9dad8fb66cb6e0ba6cc223f675614e95d1527c746e650e9fc6aca69e682d9e30ac06e0a48c0a0428ec1ae23739d82fc246e4cd6bc27cd1d54c0e630c1624fe3dbd0a8cea3b7c8f2d7c1cca8b8e086cab02153be762d59e49c533cb39e65ab37f6cad2290d0dfe2a",
"tag" : "feeec6276f89393b5a5222e0ebb160fd",
"result" : "valid",
"flags" : []
},
{
"tcId" : 12,
"comment" : "long message",
"key" : "d096bed970d17a3400cd60cef57b4e49",
"iv" : "231854323bc95613a15dd7d5",
"msg" : "30f8a0eea937567bfec3b15d1c58a170b4f8aae949178ad04d8ea46b6e625b50dce252dc380e9eff53ca2057228039edd78ae3e22819af6e3bdc83b1f0736abb76eb4044e4743464fbc61c62b06839e372289aa8218ea0a6e443a37a65c948857380318fe07bd482dfbaef869cdf75fd2d9575f6040f90f20bb41b390d4d1cdaa3b7b6a5d9a947bc71f06a74db8f65135f5982b75b21a0dcc33eaf7c6b26da62bf0fe9074f3f961e739f2292192e3309397d19ded4d44a6ce748f3530c7beec76d65d40c6bc8d281f7c23d56370710d8952d7f68fcac5e8f53b58d0714238a9c79c836d9b791541ed527a9d6ef87bcef1142653e734e66601d2a8a37dd200716",
"tag" : "014c13da92a0e99329a88c9cc84e08d4",
"result" : "valid",
"flags" : []
},
{
"tcId" : 13,
"comment" : "long message",
"key" : "6f8b47452ef025028560f61601b64e46",
"iv" : "c89982a6a787caa38f166ec7",
"msg" : "f36e4072c2045b8995ed8fb9907bc985606b01d1920b09e393e37926377f89478e6ed55314c54f29ff0bd25ff75e99f1dea9eb7ae0860593e5967c57a8352f135a33c0464b90dd6d5e8f9aefb9428391cefff619f293084dc9592b0b72ad034fad9309001870cc1f5897eb94b68ad18561c83b7fb55536b4be804b4ae8e98005c4f1180badd7e4d98a6e0f62a590c1bfaebb2ef7ca5696245a69b34863f9952696d318b69d14a1ed7ce70464542f3cfda2e93b2286ab3d1a43544a24a491de66043c0e83c699138fa294e6fd293d20b596f9284e755285d36e32d11e3d51830f55405a91cb13cec0ef4eb3683b0c288b72bcc04e8e5359b1ae44c3340c6404426d9a3ba5059cbba0506a3a6987a59e9a0a2eac96f9",
"tag" : "537a5405ae5dfd3a83ad6e9e4b4d0a1d",
"result" : "valid",
"flags" : []
},
{
"tcId" : 14,
"comment" : "Flipped bit 0 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8cf7d8edb99165faad1b038c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 15,
"comment" : "Flipped bit 0 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7c028e83b727da92cc61528e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 16,
"comment" : "Flipped bit 1 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8ff7d8edb99165faad1b038c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 17,
"comment" : "Flipped bit 1 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7f028e83b727da92cc61528e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 18,
"comment" : "Flipped bit 7 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "0df7d8edb99165faad1b038c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 19,
"comment" : "Flipped bit 7 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "fd028e83b727da92cc61528e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 20,
"comment" : "Flipped bit 8 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df6d8edb99165faad1b038c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 21,
"comment" : "Flipped bit 8 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d038e83b727da92cc61528e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 22,
"comment" : "Flipped bit 31 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d86db99165faad1b038c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 23,
"comment" : "Flipped bit 31 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e03b727da92cc61528e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 24,
"comment" : "Flipped bit 32 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb89165faad1b038c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 25,
"comment" : "Flipped bit 32 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b627da92cc61528e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 26,
"comment" : "Flipped bit 33 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edbb9165faad1b038c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 27,
"comment" : "Flipped bit 33 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b527da92cc61528e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 28,
"comment" : "Flipped bit 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb991657aad1b038c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 29,
"comment" : "Flipped bit 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b727da12cc61528e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 30,
"comment" : "Flipped bit 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb99165faac1b038c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 31,
"comment" : "Flipped bit 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b727da92cd61528e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 32,
"comment" : "Flipped bit 71 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb99165fa2d1b038c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 33,
"comment" : "Flipped bit 71 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b727da924c61528e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 34,
"comment" : "Flipped bit 77 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb99165faad3b038c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 35,
"comment" : "Flipped bit 77 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b727da92cc41528e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 36,
"comment" : "Flipped bit 80 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb99165faad1b028c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 37,
"comment" : "Flipped bit 80 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b727da92cc61538e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 38,
"comment" : "Flipped bit 96 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb99165faad1b038c52b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 39,
"comment" : "Flipped bit 96 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b727da92cc61528e49cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 40,
"comment" : "Flipped bit 97 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb99165faad1b038c51b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 41,
"comment" : "Flipped bit 97 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b727da92cc61528e4acb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 42,
"comment" : "Flipped bit 103 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb99165faad1b038cd3b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 43,
"comment" : "Flipped bit 103 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b727da92cc61528ec8cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 44,
"comment" : "Flipped bit 120 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb99165faad1b038c53b320e9",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 45,
"comment" : "Flipped bit 120 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b727da92cc61528e48cb0205",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 46,
"comment" : "Flipped bit 121 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb99165faad1b038c53b320ea",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 47,
"comment" : "Flipped bit 121 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b727da92cc61528e48cb0206",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 48,
"comment" : "Flipped bit 126 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb99165faad1b038c53b320a8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 49,
"comment" : "Flipped bit 126 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b727da92cc61528e48cb0244",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 50,
"comment" : "Flipped bit 127 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb99165faad1b038c53b32068",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 51,
"comment" : "Flipped bit 127 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b727da92cc61528e48cb0284",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 52,
"comment" : "Flipped bits 0 and 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8cf7d8edb99165faac1b038c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 53,
"comment" : "Flipped bits 0 and 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7c028e83b727da92cd61528e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 54,
"comment" : "Flipped bits 31 and 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d86db991657aad1b038c53b320e8",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 55,
"comment" : "Flipped bits 31 and 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e03b727da12cc61528e48cb0204",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 56,
"comment" : "Flipped bits 63 and 127 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8df7d8edb991657aad1b038c53b32068",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 57,
"comment" : "Flipped bits 63 and 127 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7d028e83b727da12cc61528e48cb0284",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 58,
"comment" : "all bits of tag flipped",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "72082712466e9a0552e4fc73ac4cdf17",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 59,
"comment" : "all bits of tag flipped",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "82fd717c48d8256d339ead71b734fdfb",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 60,
"comment" : "Tag changed to all zero",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "00000000000000000000000000000000",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 61,
"comment" : "Tag changed to all zero",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "00000000000000000000000000000000",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 62,
"comment" : "tag changed to all 1",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "ffffffffffffffffffffffffffffffff",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 63,
"comment" : "tag changed to all 1",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "ffffffffffffffffffffffffffffffff",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 64,
"comment" : "msbs changed in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "0d77586d3911e57a2d9b830cd333a068",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 65,
"comment" : "msbs changed in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "fd820e0337a75a124ce1d20ec84b8284",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 66,
"comment" : "lsbs changed in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "8cf6d9ecb89064fbac1a028d52b221e9",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 67,
"comment" : "lsbs changed in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7c038f82b626db93cd60538f49ca0305",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 68,
"comment" : "special case",
"key" : "826ba49b4aff2adc6b22dd4a84f29941",
"iv" : "ce88be4f89c946027d7c542a",
"msg" : "32725bc6385949b29875f839e75c0671",
"tag" : "00000000000000000000000000000000",
"result" : "valid",
"flags" : []
},
{
"tcId" : 69,
"comment" : "special case",
"key" : "826ba49b4aff2adc6b22dd4a84f29941",
"iv" : "ce88be4f89c946027d7c542a",
"msg" : "4a41612eec3b21564ff62391ebae076c",
"tag" : "ffffffffffffffffffffffffffffffff",
"result" : "valid",
"flags" : []
}
]
},
{
"ivSize" : 128,
"keySize" : 128,
"tagSize" : 128,
"type" : "MacWithIvTest",
"tests" : [
{
"tcId" : 70,
"comment" : "empty message",
"key" : "82008da5b65a6e99a3e978ab5a98e9b0",
"iv" : "638c5f29ff292333ab0eb7cd6656de69",
"msg" : "",
"tag" : "82f2abe9a897ccda3d2cbd395797c83e",
"result" : "valid",
"flags" : []
},
{
"tcId" : 71,
"comment" : "short message",
"key" : "7c3f2246f4a326ae60054f417c20e9c1",
"iv" : "16a0ff5539e10a86ec5433764da71b59",
"msg" : "2d",
"tag" : "a079f6048fed16f0041fa04d7d70925e",
"result" : "valid",
"flags" : []
},
{
"tcId" : 72,
"comment" : "short message",
"key" : "0f624e318b51a9cc6c30cf4e45a287db",
"iv" : "0d4df021633dcebb58f2a389e1911b66",
"msg" : "0e45",
"tag" : "d07a83bbd544f0b079eec632f80974c9",
"result" : "valid",
"flags" : []
},
{
"tcId" : 73,
"comment" : "short message",
"key" : "57436ab10ee828552e63e1bfbf8381dd",
"iv" : "0c5d7c05d721f422da93d601e9febef0",
"msg" : "958a5655",
"tag" : "665b87de5e3eec098f9e6ad74012f236",
"result" : "valid",
"flags" : []
},
{
"tcId" : 74,
"comment" : "short message",
"key" : "18d6df4242d100b5712157c772c8e128",
"iv" : "eead99cdb204422db1a008fe6dea6a3a",
"msg" : "c9c7d46fd79e72",
"tag" : "92e3c124abdd0f9c10cebea84fd85e0a",
"result" : "valid",
"flags" : []
},
{
"tcId" : 75,
"comment" : "short message",
"key" : "f9819a0d5853fe805645231e433362ce",
"iv" : "2307a64b29ef75d464c051061d069bbe",
"msg" : "374dd4b466a51bf5",
"tag" : "56b062739608c67ae6bd1aa61e83be2b",
"result" : "valid",
"flags" : []
},
{
"tcId" : 76,
"comment" : "short message",
"key" : "47ff15a9a9f565df93255774a1296b11",
"iv" : "ebffd41f0f5b3bdc647da8036be5e4dd",
"msg" : "f35df7b338717e4ec9974548b99f21",
"tag" : "4608ea9a7e40a729d26259a9c62bc586",
"result" : "valid",
"flags" : []
},
{
"tcId" : 77,
"comment" : "short message",
"key" : "759185e995fb6deec801ba119db87bcc",
"iv" : "808624482ad19d2a8b76ac96a3090513",
"msg" : "de69d4926fbc7daac41adddf692fe16b",
"tag" : "d212c3e257837481e97b31e7a899b126",
"result" : "valid",
"flags" : []
},
{
"tcId" : 78,
"comment" : "short message",
"key" : "772274b7240c3ada5468fa3f12bce81d",
"iv" : "d07efa93b8888cd7f0d3fe53b3592b62",
"msg" : "df69010dc92fc4af5ec19dd165b0d26a97",
"tag" : "b685463beddad55668e448b0c13fb32f",
"result" : "valid",
"flags" : []
},
{
"tcId" : 79,
"comment" : "short message",
"key" : "f2d0fd91eeca7f55e5f7b5c57f59c577",
"iv" : "27bb910632869314979dea4aa6801613",
"msg" : "7c51957d974a847877e8b7f7165de46ec050cb5cb03cd56f",
"tag" : "a5bf6454748654fbd901ca5c28c009d6",
"result" : "valid",
"flags" : []
},
{
"tcId" : 80,
"comment" : "long message",
"key" : "97cac4812b0d1ebc7f26f2a7b811812b",
"iv" : "e12b415a791b51db9d35f735ac5078c6",
"msg" : "a9d997fa61444393ce45f9aacb2c9dcc5098aedcc4d569cd92a6756b4e539b2837f7ec798c0561f893cff88b160a68d2cde2cb09778960f668a98ec3d21520a356b9128214283fa7b13def37b92ca33360c6af906d9f2d5b94d4007bfae0f95fcbe604e4223601f64baee150faaafd7e9cbcdc67bb9dfd8f7014d491d9ae5f677a",
"tag" : "0350772a98aa49df0a66c6d46d4a6034",
"result" : "valid",
"flags" : []
},
{
"tcId" : 81,
"comment" : "long message",
"key" : "cbf31ff29c0680993293501c2e1ff34c",
"iv" : "850aea39c66d85c59a4a65a067e9d6fc",
"msg" : "7bfb1864f92d4a9258f0ac721eb874cff7d73427237cea9f4d0e28398485c4eda7837c6044b15d3d30e1ea7507470edf0b465a4f48a86de459c3bb32553c51543c7cc6bb9a3c28408f565ecf9f16b39ab0c78673eb2dda8c18c2fb965c825ac6116ef3d75f9e7d8dd87e89d39e294e6309e8e0bf3302d203f3e9401e7718444581ff54fda6664891bc3d7ec5a09792f0c5eb7d2ab60c683bb18d19159fe56a40207b8b1c1a0a47c6664c9dc63a75c714b6d34b95759d4c1cb68113faab3f63cd0af100cf66022ce351f8c4f427eea977ca67343c4dd2daf2366230933f16a076ca653aff91257fc94874bb564bfdf39ea4ce061f562bafbf6740e2453defae5f",
"tag" : "4012f2c6f31293c1d390535dfebca618",
"result" : "valid",
"flags" : []
},
{
"tcId" : 82,
"comment" : "long message",
"key" : "de20c39c12011e61fb40c9d7dc1a26db",
"iv" : "ceb49c91d20942788623c856a5f444d4",
"msg" : "2e11d78f73c830c1d3d3f787479bc3584891dce8aea37c72cf876f9f37c9255d28d3ad4efbdfc963f2c4ec4dfae4eb568e1a3fac3138cd2efc2866919e4252a5d5cf070ce483d609742b6542a449dce449a1f5184b92042b6577916c1150a8e27056c1a33a65bdb2516902740acdb09f90ceb6713fb992fd8136eef0ebe9b5d7df102eef2b34a44f184a9f8bdc923c0c7d463dbdd323a500dfb5b7de8f43fcea5e7e7326d4ee0d1cea46c9393e7a960f84da95bb1410bce13cbb88280dd7d646f993f17e89c11674242743fe1a7af453de01be2c643606e4651ac0595a6548ba474f25951efbda00953e1222093c863d0fb0087eccc0457d51e620306bafea0ab3fb72827ed57051a8cf6f15e54b2e84b3ec8a33bb",
"tag" : "106a8b1d9aed246387595ce9aecf163f",
"result" : "valid",
"flags" : []
},
{
"tcId" : 83,
"comment" : "Flipped bit 0 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dfc7f8388a5a8453ff1f84f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 84,
"comment" : "Flipped bit 0 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2f32ae5684ec3b3b9e65d5f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 85,
"comment" : "Flipped bit 1 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dcc7f8388a5a8453ff1f84f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 86,
"comment" : "Flipped bit 1 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2c32ae5684ec3b3b9e65d5f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 87,
"comment" : "Flipped bit 7 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "5ec7f8388a5a8453ff1f84f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 88,
"comment" : "Flipped bit 7 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "ae32ae5684ec3b3b9e65d5f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 89,
"comment" : "Flipped bit 8 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec6f8388a5a8453ff1f84f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 90,
"comment" : "Flipped bit 8 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e33ae5684ec3b3b9e65d5f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 91,
"comment" : "Flipped bit 31 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8b88a5a8453ff1f84f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 92,
"comment" : "Flipped bit 31 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32aed684ec3b3b9e65d5f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 93,
"comment" : "Flipped bit 32 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388b5a8453ff1f84f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 94,
"comment" : "Flipped bit 32 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5685ec3b3b9e65d5f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 95,
"comment" : "Flipped bit 33 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f838885a8453ff1f84f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 96,
"comment" : "Flipped bit 33 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5686ec3b3b9e65d5f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 97,
"comment" : "Flipped bit 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388a5a84d3ff1f84f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 98,
"comment" : "Flipped bit 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5684ec3bbb9e65d5f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 99,
"comment" : "Flipped bit 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388a5a8453fe1f84f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 100,
"comment" : "Flipped bit 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5684ec3b3b9f65d5f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 101,
"comment" : "Flipped bit 71 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388a5a84537f1f84f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 102,
"comment" : "Flipped bit 71 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5684ec3b3b1e65d5f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 103,
"comment" : "Flipped bit 77 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388a5a8453ff3f84f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 104,
"comment" : "Flipped bit 77 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5684ec3b3b9e45d5f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 105,
"comment" : "Flipped bit 80 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388a5a8453ff1f85f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 106,
"comment" : "Flipped bit 80 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5684ec3b3b9e65d4f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 107,
"comment" : "Flipped bit 96 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388a5a8453ff1f84f1589974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 108,
"comment" : "Flipped bit 96 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5684ec3b3b9e65d5f343e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 109,
"comment" : "Flipped bit 97 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388a5a8453ff1f84f15b9974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 110,
"comment" : "Flipped bit 97 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5684ec3b3b9e65d5f340e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 111,
"comment" : "Flipped bit 103 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388a5a8453ff1f84f1d99974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 112,
"comment" : "Flipped bit 103 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5684ec3b3b9e65d5f3c2e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 113,
"comment" : "Flipped bit 120 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388a5a8453ff1f84f1599974f6",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 114,
"comment" : "Flipped bit 120 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5684ec3b3b9e65d5f342e1561a",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 115,
"comment" : "Flipped bit 121 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388a5a8453ff1f84f1599974f5",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 116,
"comment" : "Flipped bit 121 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5684ec3b3b9e65d5f342e15619",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 117,
"comment" : "Flipped bit 126 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388a5a8453ff1f84f1599974b7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 118,
"comment" : "Flipped bit 126 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5684ec3b3b9e65d5f342e1565b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 119,
"comment" : "Flipped bit 127 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388a5a8453ff1f84f159997477",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 120,
"comment" : "Flipped bit 127 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5684ec3b3b9e65d5f342e1569b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 121,
"comment" : "Flipped bits 0 and 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dfc7f8388a5a8453fe1f84f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 122,
"comment" : "Flipped bits 0 and 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2f32ae5684ec3b3b9f65d5f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 123,
"comment" : "Flipped bits 31 and 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8b88a5a84d3ff1f84f1599974f7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 124,
"comment" : "Flipped bits 31 and 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32aed684ec3bbb9e65d5f342e1561b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 125,
"comment" : "Flipped bits 63 and 127 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dec7f8388a5a84d3ff1f84f159997477",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 126,
"comment" : "Flipped bits 63 and 127 in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2e32ae5684ec3bbb9e65d5f342e1569b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 127,
"comment" : "all bits of tag flipped",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "213807c775a57bac00e07b0ea6668b08",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 128,
"comment" : "all bits of tag flipped",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "d1cd51a97b13c4c4619a2a0cbd1ea9e4",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 129,
"comment" : "Tag changed to all zero",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "00000000000000000000000000000000",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 130,
"comment" : "Tag changed to all zero",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "00000000000000000000000000000000",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 131,
"comment" : "tag changed to all 1",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "ffffffffffffffffffffffffffffffff",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 132,
"comment" : "tag changed to all 1",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "ffffffffffffffffffffffffffffffff",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 133,
"comment" : "msbs changed in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "5e4778b80ada04d37f9f0471d919f477",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 134,
"comment" : "msbs changed in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "aeb22ed6046cbbbb1ee55573c261d69b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 135,
"comment" : "lsbs changed in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "dfc6f9398b5b8552fe1e85f0589875f6",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 136,
"comment" : "lsbs changed in tag",
"key" : "000102030405060708090a0b0c0d0e0f",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "2f33af5785ed3a3a9f64d4f243e0571a",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 137,
"comment" : "special case",
"key" : "b09132f1b75eef729e4f6166c26490db",
"iv" : "2ada153c423a82f845db0caaa94b966d",
"msg" : "2008b11d8a756afc3d6340141df6775b",
"tag" : "00000000000000000000000000000000",
"result" : "valid",
"flags" : []
},
{
"tcId" : 138,
"comment" : "special case",
"key" : "b09132f1b75eef729e4f6166c26490db",
"iv" : "2ada153c423a82f845db0caaa94b966d",
"msg" : "17c01662312d93bce15b1ecba9682b2d",
"tag" : "ffffffffffffffffffffffffffffffff",
"result" : "valid",
"flags" : []
}
]
},
{
"ivSize" : 96,
"keySize" : 192,
"tagSize" : 128,
"type" : "MacWithIvTest",
"tests" : [
{
"tcId" : 139,
"comment" : "empty message",
"key" : "ded6ff2255658732f0fef08407136893f12edfebdf86a214",
"iv" : "0536e9ff304594f2adfe5e02",
"msg" : "",
"tag" : "59a1460f6283168b32c7f527b7a76f12",
"result" : "valid",
"flags" : []
},
{
"tcId" : 140,
"comment" : "short message",
"key" : "6ada91c9742dc01e953ef120b22a2649c0be9304386515a2",
"iv" : "e19faa23f871fc6658f5b596",
"msg" : "0d",
"tag" : "b1d2a3db724ff1ef11aa76954e39498e",
"result" : "valid",
"flags" : []
},
{
"tcId" : 141,
"comment" : "short message",
"key" : "9bee48dc40a8b522bd7abde7999adedd70bab2eff800a050",
"iv" : "6faae4201f79c9d532f63d85",
"msg" : "94c8",
"tag" : "36b021f19c124c46500e407fc8e0cd5e",
"result" : "valid",
"flags" : []
},
{
"tcId" : 142,
"comment" : "short message",
"key" : "f79e590f07388124c800dd4adadac2546c626796c46c3d2d",
"iv" : "c23600658207bf2dc308087c",
"msg" : "ea09348f",
"tag" : "5fa2252f2bbe3508c8a919c268b9514a",
"result" : "valid",
"flags" : []
},
{
"tcId" : 143,
"comment" : "short message",
"key" : "356ae80d9ff51f72920a0bcc807837cd797768adba48751c",
"iv" : "ae0a4c452d43a2c841d6e0fd",
"msg" : "a8ab4d4d07c71e",
"tag" : "0431ff7784b4556ec63124cea03eb039",
"result" : "valid",
"flags" : []
},
{
"tcId" : 144,
"comment" : "short message",
"key" : "268b5cb78437e87af75f27abc753909bdaa2341f8891d77e",
"iv" : "ee1a14e550242a653fd4509f",
"msg" : "c42ab535a876942b",
"tag" : "93b3ff81654ee95791c86682db37894a",
"result" : "valid",
"flags" : []
},
{
"tcId" : 145,
"comment" : "short message",
"key" : "9c426c09c0a0c519a554841eb769886aa3d82725e01b2505",
"iv" : "8f6441ffb977de176c4f5336",
"msg" : "e65680b9aeeb43bb4144900800f3bd",
"tag" : "0f392a50fe0f183ad9411a6165d54bda",
"result" : "valid",
"flags" : []
},
{
"tcId" : 146,
"comment" : "short message",
"key" : "6031b3a177b43045ae587ffb0d228b0414ff26b7206c30f5",
"iv" : "8af8ef74bd2521f6e711950b",
"msg" : "dc89f1dd15f3258b7e921173650eb9ba",
"tag" : "68a1249d6487f46c107bdb8417271e26",
"result" : "valid",
"flags" : []
},
{
"tcId" : 147,
"comment" : "short message",
"key" : "364289eccff53efb98da8ee437d6d389775a3cf2b4c970cd",
"iv" : "7245a515656a2236c38c85aa",
"msg" : "6647b5da47d16983205ce244880ca60519",
"tag" : "73b98c9398c70a833e3dbef4556d8fa7",
"result" : "valid",
"flags" : []
},
{
"tcId" : 148,
"comment" : "short message",
"key" : "4c41b2fe3e60bce3a945e2facd9754c4f60b192da1fe110e",
"iv" : "4ab51fc459e4f4a5b44dcfa3",
"msg" : "11c107e4b302fd91ea9219d7fc0079e8ac4bdcfc71ff027a",
"tag" : "facd4d12dfafd6bd1f421a5c4c6217ac",
"result" : "valid",
"flags" : []
},
{
"tcId" : 149,
"comment" : "long message",
"key" : "2261962365e2eb22e12002e053950b142953a6ce602d1959",
"iv" : "35cbde01e07a10da05ba2a34",
"msg" : "442160c28d0c0832873219df81f19323342bd51b566845aa3bff39d302db3f0985c916f7c77c6d6387d93cbcdc40bd6e458d67ea5e793ac6da122d323149f1b84b8cd994b6d8bf015dfacf475fc9c509ec20adae683e57c2b9968a64cf56de90cbac6b85b9679296a3097dfc76fbfd67cbc337697f9315c23fe0a4c0d44d79c473",
"tag" : "54b10f53a304fd1bee6f9fb246ca40ef",
"result" : "valid",
"flags" : []
},
{
"tcId" : 150,
"comment" : "long message",
"key" : "5a946c7e78ad427e00bc52917fd27f009c987a871b22f6f8",
"iv" : "bf96939600660e8625420362",
"msg" : "8ad8eaf0ecc7293f9a5042c9c7b7c040a239a8d8c6eed4cf1c2c5c97b56862671110ddc027af7b9c6f8749663ebce734a442d66d1ec2133fc1e923d9f6b5d09b069ade8661051005e54f24e2045a40d65ad4a12ed0579dd192af76118ba395335fb4a94664812be3e5de91f4a4a6196eae48c639a8d2baf54bc9e47bf144862f0377d51b87ab3ef649bec7e78ef278f62aeae1b5df61d21bec304ab1793b2b958dc9d9c5aae38d3543bf6d29eff25faecb7cf8ca1e758470b4b30b4fc0bae256ff8301f63130c02874e67ce7258706ea3a45f2ac11664acb43ed90ffc8f7bd736b5027565c1eb98e54d9f00b34c8f389626f83da9ffb9fd0fd4845ab58415637",
"tag" : "5a79d3228c67305dfcf15d68ae032860",
"result" : "valid",
"flags" : []
},
{
"tcId" : 151,
"comment" : "long message",
"key" : "57c07c71e61361a2e75af18482d9bde583ff2b09b5c1da77",
"iv" : "7cc97a3e4f6571aedd69ee95",
"msg" : "946cccb8ff9b67b3565066125a59529857ac62c3e393d48de1741efe351ca19485fa4e45b4cf0831bf30ccef3d389c0bb1cd16257ac647a77b965ad90362cf27bda5e42f16005c697e9e465cc1287388abd45ed724c6f01a8701d86eb22439d0b4e609f7f81037ed59a136e20e8bb870fe577444f6dea2153b4e2c0c0c300c1404e831510b930b681982b9cdd513b3947fcf9e079dacd20fa78a08199c77727556d72480932f15e2012ff03e593b987c89a1dd1ab5ae0bd23de0d9fc3c1c37e0fd6c46c0ecb1495dc3e62dc67bd7c5150dbf5fcbc6f6feccd5d47b8d6b593a143df54391ed1fcc8eafe54567efc63087494eadaadb0b6198194e1f5a5d9bcf1de608a53f422bae1a40c9a66dfb47c26efa85b846a2",
"tag" : "8f1364d1d9e5826a79254ca602bb1e4c",
"result" : "valid",
"flags" : []
},
{
"tcId" : 152,
"comment" : "Flipped bit 0 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "35ed911800fdfa0f1114bcd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 153,
"comment" : "Flipped bit 0 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8d771dc5563b63be2bdc5a8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 154,
"comment" : "Flipped bit 1 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "36ed911800fdfa0f1114bcd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 155,
"comment" : "Flipped bit 1 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8e771dc5563b63be2bdc5a8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 156,
"comment" : "Flipped bit 7 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "b4ed911800fdfa0f1114bcd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 157,
"comment" : "Flipped bit 7 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "0c771dc5563b63be2bdc5a8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 158,
"comment" : "Flipped bit 8 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ec911800fdfa0f1114bcd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 159,
"comment" : "Flipped bit 8 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c761dc5563b63be2bdc5a8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 160,
"comment" : "Flipped bit 31 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed919800fdfa0f1114bcd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 161,
"comment" : "Flipped bit 31 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771d45563b63be2bdc5a8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 162,
"comment" : "Flipped bit 32 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911801fdfa0f1114bcd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 163,
"comment" : "Flipped bit 32 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5573b63be2bdc5a8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 164,
"comment" : "Flipped bit 33 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911802fdfa0f1114bcd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 165,
"comment" : "Flipped bit 33 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5543b63be2bdc5a8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 166,
"comment" : "Flipped bit 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911800fdfa8f1114bcd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 167,
"comment" : "Flipped bit 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5563b633e2bdc5a8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 168,
"comment" : "Flipped bit 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911800fdfa0f1014bcd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 169,
"comment" : "Flipped bit 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5563b63be2adc5a8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 170,
"comment" : "Flipped bit 71 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911800fdfa0f9114bcd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 171,
"comment" : "Flipped bit 71 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5563b63beabdc5a8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 172,
"comment" : "Flipped bit 77 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911800fdfa0f1134bcd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 173,
"comment" : "Flipped bit 77 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5563b63be2bfc5a8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 174,
"comment" : "Flipped bit 80 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911800fdfa0f1114bdd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 175,
"comment" : "Flipped bit 80 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5563b63be2bdc5b8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 176,
"comment" : "Flipped bit 96 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911800fdfa0f1114bcd4e24bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 177,
"comment" : "Flipped bit 96 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5563b63be2bdc5a8fcec9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 178,
"comment" : "Flipped bit 97 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911800fdfa0f1114bcd4e14bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 179,
"comment" : "Flipped bit 97 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5563b63be2bdc5a8fcdc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 180,
"comment" : "Flipped bit 103 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911800fdfa0f1114bcd4634bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 181,
"comment" : "Flipped bit 103 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5563b63be2bdc5a8f4fc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 182,
"comment" : "Flipped bit 120 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911800fdfa0f1114bcd4e34bab76",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 183,
"comment" : "Flipped bit 120 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5563b63be2bdc5a8fcfc9387e",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 184,
"comment" : "Flipped bit 121 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911800fdfa0f1114bcd4e34bab75",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 185,
"comment" : "Flipped bit 121 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5563b63be2bdc5a8fcfc9387d",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 186,
"comment" : "Flipped bit 126 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911800fdfa0f1114bcd4e34bab37",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 187,
"comment" : "Flipped bit 126 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5563b63be2bdc5a8fcfc9383f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 188,
"comment" : "Flipped bit 127 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911800fdfa0f1114bcd4e34babf7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 189,
"comment" : "Flipped bit 127 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5563b63be2bdc5a8fcfc938ff",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 190,
"comment" : "Flipped bits 0 and 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "35ed911800fdfa0f1014bcd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 191,
"comment" : "Flipped bits 0 and 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8d771dc5563b63be2adc5a8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 192,
"comment" : "Flipped bits 31 and 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed919800fdfa8f1114bcd4e34bab77",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 193,
"comment" : "Flipped bits 31 and 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771d45563b633e2bdc5a8fcfc9387f",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 194,
"comment" : "Flipped bits 63 and 127 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "34ed911800fdfa8f1114bcd4e34babf7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 195,
"comment" : "Flipped bits 63 and 127 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8c771dc5563b633e2bdc5a8fcfc938ff",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 196,
"comment" : "all bits of tag flipped",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "cb126ee7ff0205f0eeeb432b1cb45488",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 197,
"comment" : "all bits of tag flipped",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "7388e23aa9c49c41d423a5703036c780",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 198,
"comment" : "Tag changed to all zero",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "00000000000000000000000000000000",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 199,
"comment" : "Tag changed to all zero",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "00000000000000000000000000000000",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 200,
"comment" : "tag changed to all 1",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "ffffffffffffffffffffffffffffffff",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 201,
"comment" : "tag changed to all 1",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "ffffffffffffffffffffffffffffffff",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 202,
"comment" : "msbs changed in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "b46d1198807d7a8f91943c5463cb2bf7",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 203,
"comment" : "msbs changed in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "0cf79d45d6bbe33eab5cda0f4f49b8ff",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 204,
"comment" : "lsbs changed in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "0001020304050607",
"tag" : "35ec901901fcfb0e1015bdd5e24aaa76",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 205,
"comment" : "lsbs changed in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "8d761cc4573a62bf2add5b8ecec8397e",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 206,
"comment" : "special case",
"key" : "175b5a75e4fd7f9c1f997781b976a72a010d69559abb0d1e",
"iv" : "550e0a2d5cb987baf4b9c324",
"msg" : "fccc7487a8ae2a85f6055f0211a73d0b",
"tag" : "00000000000000000000000000000000",
"result" : "valid",
"flags" : []
},
{
"tcId" : 207,
"comment" : "special case",
"key" : "175b5a75e4fd7f9c1f997781b976a72a010d69559abb0d1e",
"iv" : "550e0a2d5cb987baf4b9c324",
"msg" : "c2ebff3f88c5d37f41800211d2bc60dd",
"tag" : "ffffffffffffffffffffffffffffffff",
"result" : "valid",
"flags" : []
}
]
},
{
"ivSize" : 128,
"keySize" : 192,
"tagSize" : 128,
"type" : "MacWithIvTest",
"tests" : [
{
"tcId" : 208,
"comment" : "empty message",
"key" : "9f934fa4d1f3cca744c81c87937245d7207625b6b2ac3d84",
"iv" : "19124ff0814717abeaa2e1fc9fc886ed",
"msg" : "",
"tag" : "9c04531bceaf438dc1342f3c5f7f62b8",
"result" : "valid",
"flags" : []
},
{
"tcId" : 209,
"comment" : "short message",
"key" : "0ae0ba4674c5c685354e241bc86034cbef80f88acf1f7488",
"iv" : "083266ebda2b3db8b14c235eb2975988",
"msg" : "c7",
"tag" : "f2f5cda595fb7d7b0a7d699b6abc7f52",
"result" : "valid",
"flags" : []
},
{
"tcId" : 210,
"comment" : "short message",
"key" : "9f479e9118e5603bf122fc5e2b8bf3e448acb9fbde5e16dc",
"iv" : "d26427fca9c8e1717acd34ad3cc5d542",
"msg" : "96af",
"tag" : "25fc877bc2fd800492843316a09b5582",
"result" : "valid",
"flags" : []
},
{
"tcId" : 211,
"comment" : "short message",
"key" : "419a56e8f41f337dee4a63ed386a8ed7e85b25964494b075",
"iv" : "ab25033165c6cf9760d1a5a44391e77a",
"msg" : "8a3dc8ad",
"tag" : "3d131aa12538c63322832efbc83513df",
"result" : "valid",
"flags" : []
},
{
"tcId" : 212,
"comment" : "short message",
"key" : "eec672d9e7b9bd933e5ee36ae381e65b872ac8373c3e5678",
"iv" : "51e0642b8e494581dd04c5b16bd88b89",
"msg" : "809de8dbe28147",
"tag" : "b6b769a11d319cb22be92f1d33ad8c4c",
"result" : "valid",
"flags" : []
},
{
"tcId" : 213,
"comment" : "short message",
"key" : "415c12b78405dc1916b9f65cc1d960b641062ab58926099a",
"iv" : "80d3370f38c8d9c674160500a33627f3",
"msg" : "b5de1b30f7229f1d",
"tag" : "2d7122b74febd2e57bd7e1c0ccf7229f",
"result" : "valid",
"flags" : []
},
{
"tcId" : 214,
"comment" : "short message",
"key" : "8cf2666223060e2adece28969a8d889ece7fe32c0ae3b9c6",
"iv" : "cf0bd9d8767a3eae6215af33b7210f99",
"msg" : "fbfd573c9f1214f7c650bcf5e72bac",
"tag" : "bd53a4c7daa8d08ee101cac5861c7ff9",
"result" : "valid",
"flags" : []
},
{
"tcId" : 215,
"comment" : "short message",
"key" : "90d1196ff004c2c184e69fbe4c512afe5dd53060d0aa29ee",
"iv" : "b16571498f84368f1c24b63178b88a5b",
"msg" : "e03ba4ce91bac77150da731125b4634e",
"tag" : "aec27721e0e5513075a68953cc97cab1",
"result" : "valid",
"flags" : []
},
{
"tcId" : 216,
"comment" : "short message",
"key" : "2f084b3567becaf91d1a9a391aac5e4576f9034e4a115f8c",
"iv" : "825e713c0bcbe7892d617de798ab9bd9",
"msg" : "8f860847f18d387b64661cec46208c7050",
"tag" : "283b96344c2de937f4a7279a6598e6bd",
"result" : "valid",
"flags" : []
},
{
"tcId" : 217,
"comment" : "short message",
"key" : "e4db14a3fcdb48fa9849f03bf52a4b44d39e9e6b3397db59",
"iv" : "5d538b3ac41fcfc56065e3fa75c53385",
"msg" : "d7d663798317603e56bc8b22fcec7af3a6c15a879268cbc7",
"tag" : "73c95c430d207c1b53326865b7980c04",
"result" : "valid",
"flags" : []
},
{
"tcId" : 218,
"comment" : "long message",
"key" : "a14e5d0b2823ed9e3a191a3f896005d9bf186519dbb261b5",
"iv" : "6dacfb15f7e6fb26e423c0ee05f686ba",
"msg" : "6e9fab68c0b244378d503bf582f49a43be6cb206edf6ee02bb55a36b9c353352c19ad0d2a2048809e4ddc160485a2fa9f5438851eb9aa50b153e4a2d9be1b1a1772eae7b4dce9dd649ad4357a2e2fb4e9024539b014c94d2005b5fa32e47c50e9f914f084eec58f6e108a9de3c29cce5d92980f4f4911fc00e9613b263cca8a597",
"tag" : "8adb4c0c1dc15ecbf66b431a030ec514",
"result" : "valid",
"flags" : []
},
{
"tcId" : 219,
"comment" : "long message",
"key" : "0cf91cfdf3b064581dd01534a304296774c17ba30c5ea4ee",
"iv" : "a98d89332c05b13db187484811198ab9",
"msg" : "b45770b439c48775764d12c9adbfcd2be59aabc98e7406ddd0c05cb2debbda432a95803c3587e01d67990dd493f96fbd3f4a33aeca6171dec4220bb82647b344d022585673d3fc40787fb3ccbff51c1662b9f9da1b79beff7b6f0587c6cda664b73b48cefdcf7a41572fdd5149097c31a65c7482f3c769493d6fb9bfcaf7ee20805932b9ba2bffee44c1d18b9d59ad808b714669cae53603a4518813b31d7d4f0379cccb1e0ddd09f00d9c06ff2c69fdb42ae46167d6a51e96781e6b91bed42290f360b501970916a36613ba1054f638ba592ec869c085757b942d40d4dcff3eeb3b99bd8181b40e7cec7528bd4873e427bb67c8fa8bc5f47eba7e55c905e224",
"tag" : "d5e09f52986b33af3577e975dd9a9016",
"result" : "valid",
"flags" : []
},
{
"tcId" : 220,
"comment" : "long message",
"key" : "93cecce96d37406286a881db0d0d53ce8f7bf53f4bdc746a",
"iv" : "bf1368bb09373b1e0eed89eeea9321c1",
"msg" : "ccca5c7461b810d414e24fecf4d3eeac3a38c296f7b888f43687d88c8ba8191798fc431f8b6c0576ad1aa841d3c9545060dffb7675c8cfa2fa419889572b39e5edf1a40b54a64430a606ac7f19f4eb287ad2609e2380d7fe4834f5aeac9832b5ed0c66994ac17e0d11bb57643aa5f6ad44cf57c54dcd94931e5285f93e03107913aea5048ad04a4ee8e3510ac0305a13a574d7c955f2912ef239b40dcf5ad7438a19ad7bece2e79ebd135e16ed2ba59f7e7857dc6480f780303157895784a79f04f78415070788052dcd7458d9ff86a705684bce83d29fc8c096fac29853603500b49acec5d438e76072de71841193f8440981693b625b3082e2ba898dcc7923a60c8d953cb39fa5cbdd42eab137332612338ce20d",
"tag" : "660b84727a229e0922b561e8d0ddbd5e",
"result" : "valid",
"flags" : []
},
{
"tcId" : 221,
"comment" : "Flipped bit 0 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "a01da39a86f6467ebf1cb387f4cfdc93",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 222,
"comment" : "Flipped bit 0 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "18872f47d030dfcf85d455dcd84d4f9b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 223,
"comment" : "Flipped bit 1 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "a31da39a86f6467ebf1cb387f4cfdc93",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 224,
"comment" : "Flipped bit 1 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "1b872f47d030dfcf85d455dcd84d4f9b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 225,
"comment" : "Flipped bit 7 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "211da39a86f6467ebf1cb387f4cfdc93",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 226,
"comment" : "Flipped bit 7 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "99872f47d030dfcf85d455dcd84d4f9b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 227,
"comment" : "Flipped bit 8 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "a11ca39a86f6467ebf1cb387f4cfdc93",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 228,
"comment" : "Flipped bit 8 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "19862f47d030dfcf85d455dcd84d4f9b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 229,
"comment" : "Flipped bit 31 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "a11da31a86f6467ebf1cb387f4cfdc93",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 230,
"comment" : "Flipped bit 31 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "19872fc7d030dfcf85d455dcd84d4f9b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 231,
"comment" : "Flipped bit 32 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "a11da39a87f6467ebf1cb387f4cfdc93",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 232,
"comment" : "Flipped bit 32 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "19872f47d130dfcf85d455dcd84d4f9b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 233,
"comment" : "Flipped bit 33 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "a11da39a84f6467ebf1cb387f4cfdc93",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 234,
"comment" : "Flipped bit 33 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "19872f47d230dfcf85d455dcd84d4f9b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 235,
"comment" : "Flipped bit 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "a11da39a86f646febf1cb387f4cfdc93",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 236,
"comment" : "Flipped bit 63 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "19872f47d030df4f85d455dcd84d4f9b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 237,
"comment" : "Flipped bit 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "a11da39a86f6467ebe1cb387f4cfdc93",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 238,
"comment" : "Flipped bit 64 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "19872f47d030dfcf84d455dcd84d4f9b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 239,
"comment" : "Flipped bit 71 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "a11da39a86f6467e3f1cb387f4cfdc93",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 240,
"comment" : "Flipped bit 71 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "19872f47d030dfcf05d455dcd84d4f9b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 241,
"comment" : "Flipped bit 77 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "a11da39a86f6467ebf3cb387f4cfdc93",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 242,
"comment" : "Flipped bit 77 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "000102030405060708090a0b0c0d0e0f",
"tag" : "19872f47d030dfcf85f455dcd84d4f9b",
"result" : "invalid",
"flags" : []
},
{
"tcId" : 243,
"comment" : "Flipped bit 80 in tag",
"key" : "000102030405060708090a0b0c0d0e0f1011121314151617",
"iv" : "000102030405060708090a0b0c0d0e0f",
"msg" : "0001020304050607",
"tag" : "a11da39a86f6467ebf1cb287f4cfdc93",