{
"algorithm": "AES-FF1",
"numberOfTests": 3872,
"header": [
"Test vectors of type FpeListTest are intended for format preserving encryption."
],
"notes": {
"EdgeCasePrf": {
"bugType": "EDGE_CASE",
"description": "FF1 computes a pseudorandom function, converts the result into an integer y, which is then reduced modulo radix**v, where v is the size of the longer block in the Feistel structure. This test vector contains cases where the value y is an edge case. The goal of the test vector is to check for arithmetic errors such as integer overflow or incorrect modular reduction."
},
"EdgeCaseState": {
"bugType": "EDGE_CASE",
"description": "FF1 requires integer arithmetic of various sizes. This test vector contains values such that edge cases are reached during encryption and decryption. The goal of the test vector is to check for incorrect integer arithmetic e.g., because of integer overflows."
},
"InvalidKeySize": {
"bugType": "MODIFIED_PARAMETER",
"description": "The key size is invalid."
},
"InvalidMessageSize": {
"bugType": "MISSING_STEP",
"description": "FF1 imposes a minimal size of the inputs. The original specification of FF1 required radix**minlen >= 100, NIST SP 800-38G rev 1, requires radix**minlen >= 1'000'000. This test vector contains a short message such that both limits are violated and hence should be rejected."
},
"InvalidPlaintext": {
"bugType": "MODIFIED_PARAMETER",
"description": "FF1 expects inputs from a fixed range of digits. This test vector contains a plaintext containing invalid digits."
},
"LargeMessageSize": {
"bugType": "FUNCTIONALITY",
"description": "The specification of FF1 uses integer arithmetic of arbitrary size for long messages. Some implementations may choose to restrict the message length to simplify the implementation of FF1. This test vector contains a message of size msglen such that radix**msglen > 2**128."
},
"NormalMessageSize": {
"bugType": "BASIC",
"description": "The specification of FF1 uses integer arithmetic of arbitrary size for long messages. Some implementations may choose to restrict the message length to simplify the implementation of FF1. This test vector contains a message of size msglen such that 1'000'000 <= radix**msglen <= 2**128."
},
"SmallMessageSize": {
"bugType": "LEGACY",
"description": "FF1 imposes a minimal size of the inputs. The original specification of FF1 required radix**msglen >= 100, NIST SP 800-38G rev 1 changes this and requires radix**msglen >= 1'000'000. This test vector contains a message of size msglen, such that radix**msglen lies between these two limits."
}
},
"schema": "fpe_list_test_schema.json",
"testGroups": [
{
"keySize": 128,
"msgSize": 0,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1,
"comment": "Invalid message size",
"flags": [
"InvalidMessageSize"
],
"key": "fb9fc869af3e4828da6efa18b5fa71a0",
"tweak": "379f81cab6ed2517",
"msg": [],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 1,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2,
"comment": "Invalid message size",
"flags": [
"InvalidMessageSize"
],
"key": "7325733095d90aff456a1e00fa977365",
"tweak": "a5f8950069a56f6c",
"msg": [8],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 0,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3,
"comment": "Invalid message size",
"flags": [
"InvalidMessageSize"
],
"key": "af2463f51df63a015178e30edcf25dacbeb2abbc5144d0a6",
"tweak": "5d9c3dfb797c952a",
"msg": [],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 1,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 4,
"comment": "Invalid message size",
"flags": [
"InvalidMessageSize"
],
"key": "e9e279f5fad3e7fd7922e838cf07da528ddcc5387f6145bf",
"tweak": "a25989a2e4360bae",
"msg": [3],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 0,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 5,
"comment": "Invalid message size",
"flags": [
"InvalidMessageSize"
],
"key": "f25e816c4d42629a428e48f2d48a31f79d6b1e8ef47e5ed3e7e5bbdf37f1806d",
"tweak": "42dbc8913a275520",
"msg": [],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 1,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 6,
"comment": "Invalid message size",
"flags": [
"InvalidMessageSize"
],
"key": "b8c800bed3286920bd1d9ad89a78808e9f815ec638663a725f256cc7078fdaf0",
"tweak": "90120912eba3c19c",
"msg": [3],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 2,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 7,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "ad65778960d778c614e2673dee073acb",
"tweak": "4505f45a8fa30b90",
"msg": [1, 15],
"ct": [7, 11],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 3,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 8,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "aa6f23f573da39b110f4e155c418ba1f",
"tweak": "8402018f66fd2cb9",
"msg": [0, 4, 1],
"ct": [14, 9, 13],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 4,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 9,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "5dd5899794ff9b5007b4481aaa97f882",
"tweak": "742f7f8b2ab0dc48",
"msg": [3, 15, 2, 6],
"ct": [14, 3, 14, 7],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 2,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 10,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "911c9e0a87977587050ebb48f4f9e199fde8472781ecaf7a",
"tweak": "cf98ea96ef005bc6",
"msg": [1, 10],
"ct": [5, 14],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 3,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 11,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "3c453964f4e42587db3a6de5de00673ede7e17672a4deb84",
"tweak": "fe6290783f11946c",
"msg": [15, 8, 7],
"ct": [4, 1, 14],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 4,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 12,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "f9626066827656fe088a7bf737c1cc1a3a3adc7015ffee7f",
"tweak": "bc6d9ff72c250366",
"msg": [14, 13, 8, 0],
"ct": [7, 8, 11, 12],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 2,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 13,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "d05ae6e3819e2dcdd218be7c62465e8f1474f1fec8e79a1a3f7b88040d0f4160",
"tweak": "823988f1ffb8ce23",
"msg": [13, 13],
"ct": [15, 8],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 3,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 14,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "1399758fa1ebf7cfda5f601c643443adaea4f4f8c19fc8772c5d5e3cc0cc6955",
"tweak": "8c5a263a91b7cb4f",
"msg": [5, 15, 4],
"ct": [7, 1, 14],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 4,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 15,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "c4acbec2544b6a08d8b24841fc55fccf7450bfd64169fa7dbea965ccae52ac13",
"tweak": "427713fa26fac273",
"msg": [4, 2, 9, 14],
"ct": [7, 14, 7, 11],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 5,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 16,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "0319599d6c7ca301230ec2b06c681097",
"tweak": "125fd8f86c787e2d",
"msg": [0, 9, 3, 9, 2],
"ct": [15, 2, 13, 11, 15],
"result": "valid"
},
{
"tcId": 17,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [0, 0, 0, 0, 0],
"ct": [6, 6, 0, 5, 10],
"result": "valid"
},
{
"tcId": 18,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [15, 15, 15, 15, 15],
"ct": [14, 6, 0, 9, 0],
"result": "valid"
},
{
"tcId": 19,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [8, 0, 8, 0, 0],
"ct": [14, 10, 1, 8, 6],
"result": "valid"
},
{
"tcId": 20,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [7, 15, 7, 15, 15],
"ct": [15, 4, 4, 15, 8],
"result": "valid"
},
{
"tcId": 21,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [14, 13, 6, 5, 15],
"ct": [4, 3, 8, 10, 15],
"result": "valid"
},
{
"tcId": 22,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [15, 11, 12, 12, 5],
"ct": [0, 2, 5, 4, 11],
"result": "valid"
},
{
"tcId": 23,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [5, 6, 13, 4, 6],
"ct": [9, 13, 15, 0, 6],
"result": "valid"
},
{
"tcId": 24,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [3, 13, 14, 7, 10],
"ct": [14, 3, 13, 15, 1],
"result": "valid"
},
{
"tcId": 25,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [9, 11, 0, 9, 12],
"ct": [9, 2, 2, 8, 3],
"result": "valid"
},
{
"tcId": 26,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [6, 8, 5, 6, 0],
"ct": [9, 9, 7, 7, 1],
"result": "valid"
},
{
"tcId": 27,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [14, 4, 15, 15, 11],
"ct": [7, 15, 13, 1, 14],
"result": "valid"
},
{
"tcId": 28,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [3, 12, 10, 9, 4],
"ct": [14, 1, 9, 14, 3],
"result": "valid"
},
{
"tcId": 29,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [2, 3, 1, 4, 12],
"ct": [0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 30,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [0, 13, 2, 4, 1],
"ct": [15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 31,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [4, 8, 6, 10, 14],
"ct": [8, 0, 8, 0, 0],
"result": "valid"
},
{
"tcId": 32,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [8, 9, 0, 0, 1],
"ct": [7, 15, 7, 15, 15],
"result": "valid"
},
{
"tcId": 33,
"comment": "y = 0 and (y + a) % radix**2 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "4b01c6447e7de723bbadfde929",
"msg": [0, 0, 9, 1, 14],
"ct": [0, 15, 1, 15, 13],
"result": "valid"
},
{
"tcId": 34,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "4b01c6447e7de723bbadfde929",
"msg": [0, 1, 9, 1, 14],
"ct": [15, 15, 7, 3, 2],
"result": "valid"
},
{
"tcId": 35,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "4b01c6447e7de723bbadfde929",
"msg": [8, 0, 9, 1, 14],
"ct": [5, 14, 12, 8, 7],
"result": "valid"
},
{
"tcId": 36,
"comment": "y = 0 and (y + a) % radix**2 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "4b01c6447e7de723bbadfde929",
"msg": [15, 15, 9, 1, 14],
"ct": [6, 0, 10, 7, 2],
"result": "valid"
},
{
"tcId": 37,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "834d5f8b36a52a9ca1cb7172cb",
"msg": [0, 0, 9, 10, 8],
"ct": [0, 11, 7, 12, 8],
"result": "valid"
},
{
"tcId": 38,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "834d5f8b36a52a9ca1cb7172cb",
"msg": [0, 1, 9, 10, 8],
"ct": [4, 1, 11, 7, 2],
"result": "valid"
},
{
"tcId": 39,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "834d5f8b36a52a9ca1cb7172cb",
"msg": [8, 0, 9, 10, 8],
"ct": [7, 10, 15, 7, 12],
"result": "valid"
},
{
"tcId": 40,
"comment": "y = 1 and (y + a) % radix**2 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "834d5f8b36a52a9ca1cb7172cb",
"msg": [15, 14, 9, 10, 8],
"ct": [4, 11, 7, 7, 6],
"result": "valid"
},
{
"tcId": 41,
"comment": "y = 1 and (y + a) % radix**2 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "834d5f8b36a52a9ca1cb7172cb",
"msg": [15, 15, 9, 10, 8],
"ct": [12, 4, 13, 13, 7],
"result": "valid"
},
{
"tcId": 42,
"comment": "y is maximal and (y + a) % radix**2 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "f4bca30f483ee0589891ad27ac",
"msg": [12, 15, 7, 0, 4],
"ct": [13, 2, 1, 5, 11],
"result": "valid"
},
{
"tcId": 43,
"comment": "y is maximal and (y + a) % radix**2 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "f4bca30f483ee0589891ad27ac",
"msg": [15, 15, 8, 1, 5],
"ct": [2, 7, 10, 3, 3],
"result": "valid"
},
{
"tcId": 44,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "f4bca30f483ee0589891ad27ac",
"msg": [3, 8, 2, 5, 6],
"ct": [15, 12, 11, 15, 13],
"result": "valid"
},
{
"tcId": 45,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "f4bca30f483ee0589891ad27ac",
"msg": [4, 5, 2, 3, 2],
"ct": [11, 10, 14, 6, 2],
"result": "valid"
},
{
"tcId": 46,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "030d96fd8193bdf436c4e3ac09",
"msg": [7, 3, 3, 8, 3],
"ct": [15, 0, 14, 13, 4],
"result": "valid"
},
{
"tcId": 47,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "030d96fd8193bdf436c4e3ac09",
"msg": [2, 9, 3, 2, 9],
"ct": [15, 1, 12, 15, 15],
"result": "valid"
},
{
"tcId": 48,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "030d96fd8193bdf436c4e3ac09",
"msg": [9, 11, 1, 1, 12],
"ct": [15, 15, 2, 12, 0],
"result": "valid"
},
{
"tcId": 49,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "030d96fd8193bdf436c4e3ac09",
"msg": [14, 13, 3, 5, 5],
"ct": [0, 0, 7, 8, 2],
"result": "valid"
},
{
"tcId": 50,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "030d96fd8193bdf436c4e3ac09",
"msg": [1, 7, 14, 9, 9],
"ct": [7, 0, 13, 10, 2],
"result": "valid"
},
{
"tcId": 51,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "030d96fd8193bdf436c4e3ac09",
"msg": [9, 6, 5, 1, 3],
"ct": [14, 15, 9, 0, 10],
"result": "valid"
},
{
"tcId": 52,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "728894a9c080f352efad91fb19",
"msg": [0, 0, 14, 1, 4],
"ct": [6, 9, 5, 10, 11],
"result": "valid"
},
{
"tcId": 53,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "728894a9c080f352efad91fb19",
"msg": [0, 1, 14, 1, 4],
"ct": [15, 12, 7, 2, 12],
"result": "valid"
},
{
"tcId": 54,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "728894a9c080f352efad91fb19",
"msg": [8, 0, 14, 1, 4],
"ct": [6, 1, 15, 2, 5],
"result": "valid"
},
{
"tcId": 55,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "728894a9c080f352efad91fb19",
"msg": [15, 15, 14, 1, 4],
"ct": [11, 0, 10, 8, 1],
"result": "valid"
},
{
"tcId": 56,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8d8a7cd63e6554b77d0345f3d799bfad",
"tweak": "ea7fef1b2f555ad8",
"msg": [-1, 9, 6, 1, 3],
"ct": [8, 2, 7, 3, 1],
"result": "invalid"
},
{
"tcId": 57,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8d8a7cd63e6554b77d0345f3d799bfad",
"tweak": "ea7fef1b2f555ad8",
"msg": [4, -1, 6, 1, 3],
"ct": [1, 5, 8, 1, 7],
"result": "invalid"
},
{
"tcId": 58,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8d8a7cd63e6554b77d0345f3d799bfad",
"tweak": "ea7fef1b2f555ad8",
"msg": [4, 9, 6, 1, -1],
"ct": [3, 1, 10, 15, 1],
"result": "invalid"
},
{
"tcId": 59,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0113ee1b77dcd12f5f686ca14aa70c85",
"tweak": "5878ea15549455b9",
"msg": [16, 7, 10, 2, 8],
"ct": [12, 1, 5, 7, 15],
"result": "invalid"
},
{
"tcId": 60,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0113ee1b77dcd12f5f686ca14aa70c85",
"tweak": "5878ea15549455b9",
"msg": [10, 16, 10, 2, 8],
"ct": [7, 6, 8, 9, 6],
"result": "invalid"
},
{
"tcId": 61,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0113ee1b77dcd12f5f686ca14aa70c85",
"tweak": "5878ea15549455b9",
"msg": [10, 7, 10, 2, 16],
"ct": [13, 0, 8, 11, 1],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 6,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 62,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "474bbf2aff5c252419c49a07d50e2bdf",
"tweak": "d64296c362368a3d",
"msg": [7, 4, 2, 7, 10, 1],
"ct": [12, 8, 4, 6, 2, 5],
"result": "valid"
},
{
"tcId": 63,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [0, 0, 0, 0, 0, 0],
"ct": [6, 12, 3, 9, 7, 10],
"result": "valid"
},
{
"tcId": 64,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [15, 15, 15, 15, 15, 15],
"ct": [2, 2, 15, 14, 3, 2],
"result": "valid"
},
{
"tcId": 65,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [8, 0, 0, 8, 0, 0],
"ct": [0, 6, 6, 12, 14, 11],
"result": "valid"
},
{
"tcId": 66,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [7, 15, 15, 7, 15, 15],
"ct": [0, 6, 9, 0, 5, 9],
"result": "valid"
},
{
"tcId": 67,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [5, 13, 11, 10, 3, 8],
"ct": [4, 8, 10, 6, 14, 8],
"result": "valid"
},
{
"tcId": 68,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [10, 7, 14, 9, 7, 7],
"ct": [3, 3, 5, 0, 4, 2],
"result": "valid"
},
{
"tcId": 69,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [8, 13, 9, 4, 11, 2],
"ct": [11, 8, 7, 4, 15, 0],
"result": "valid"
},
{
"tcId": 70,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [14, 10, 14, 9, 9, 15],
"ct": [15, 0, 7, 12, 7, 10],
"result": "valid"
},
{
"tcId": 71,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [2, 5, 4, 6, 1, 2],
"ct": [12, 15, 0, 9, 3, 5],
"result": "valid"
},
{
"tcId": 72,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [7, 14, 3, 13, 6, 12],
"ct": [11, 12, 1, 14, 15, 8],
"result": "valid"
},
{
"tcId": 73,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [13, 15, 15, 4, 12, 7],
"ct": [6, 5, 15, 2, 4, 9],
"result": "valid"
},
{
"tcId": 74,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [2, 13, 1, 4, 6, 0],
"ct": [0, 7, 2, 10, 10, 2],
"result": "valid"
},
{
"tcId": 75,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [8, 4, 7, 9, 11, 9],
"ct": [0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 76,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [6, 1, 6, 12, 4, 8],
"ct": [15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 77,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [10, 12, 11, 6, 3, 3],
"ct": [8, 0, 0, 8, 0, 0],
"result": "valid"
},
{
"tcId": 78,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [11, 13, 3, 1, 14, 1],
"ct": [7, 15, 15, 7, 15, 15],
"result": "valid"
},
{
"tcId": 79,
"comment": "y = 0 and (y + a) % radix**3 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "204222088d103e7e875476c274",
"msg": [12, 11, 11, 5, 5, 7],
"ct": [14, 14, 11, 6, 3, 13],
"result": "valid"
},
{
"tcId": 80,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "204222088d103e7e875476c274",
"msg": [7, 11, 8, 7, 2, 8],
"ct": [5, 6, 9, 9, 10, 15],
"result": "valid"
},
{
"tcId": 81,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "204222088d103e7e875476c274",
"msg": [15, 4, 2, 5, 12, 10],
"ct": [1, 15, 7, 11, 11, 15],
"result": "valid"
},
{
"tcId": 82,
"comment": "y = 0 and (y + a) % radix**3 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "204222088d103e7e875476c274",
"msg": [12, 5, 9, 14, 10, 8],
"ct": [4, 4, 0, 10, 13, 1],
"result": "valid"
},
{
"tcId": 83,
"comment": "y = 1 and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "8fba5d6e4455e1b4c384d58019",
"msg": [6, 12, 1, 15, 1, 14],
"ct": [14, 12, 3, 0, 0, 1],
"result": "valid"
},
{
"tcId": 84,
"comment": "y = 1 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "8fba5d6e4455e1b4c384d58019",
"msg": [5, 9, 9, 6, 4, 15],
"ct": [14, 12, 3, 0, 0, 2],
"result": "valid"
},
{
"tcId": 85,
"comment": "y = 1 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "8fba5d6e4455e1b4c384d58019",
"msg": [2, 14, 9, 12, 4, 10],
"ct": [14, 12, 3, 8, 0, 1],
"result": "valid"
},
{
"tcId": 86,
"comment": "y = 1 and (y + a) % radix**3 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "8fba5d6e4455e1b4c384d58019",
"msg": [4, 2, 8, 11, 1, 10],
"ct": [14, 12, 3, 15, 15, 15],
"result": "valid"
},
{
"tcId": 87,
"comment": "y = 1 and (y + a) % radix**3 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "8fba5d6e4455e1b4c384d58019",
"msg": [5, 11, 14, 3, 14, 12],
"ct": [14, 12, 3, 0, 0, 0],
"result": "valid"
},
{
"tcId": 88,
"comment": "y is maximal and (y + a) % radix**3 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "2ed2e71ce908bee383d22a15eb",
"msg": [0, 0, 0, 8, 13, 10],
"ct": [2, 0, 2, 11, 6, 2],
"result": "valid"
},
{
"tcId": 89,
"comment": "y is maximal and (y + a) % radix**3 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "2ed2e71ce908bee383d22a15eb",
"msg": [0, 0, 1, 8, 13, 10],
"ct": [1, 5, 9, 13, 1, 0],
"result": "valid"
},
{
"tcId": 90,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "2ed2e71ce908bee383d22a15eb",
"msg": [8, 0, 0, 8, 13, 10],
"ct": [4, 6, 3, 15, 10, 1],
"result": "valid"
},
{
"tcId": 91,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "2ed2e71ce908bee383d22a15eb",
"msg": [15, 15, 15, 8, 13, 10],
"ct": [14, 12, 10, 12, 9, 12],
"result": "valid"
},
{
"tcId": 92,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "a30c4bc738e4fb50f3eef89953",
"msg": [7, 0, 1, 1, 13, 11],
"ct": [15, 15, 0, 4, 9, 11],
"result": "valid"
},
{
"tcId": 93,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "a30c4bc738e4fb50f3eef89953",
"msg": [0, 12, 5, 3, 3, 6],
"ct": [15, 15, 1, 2, 12, 12],
"result": "valid"
},
{
"tcId": 94,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "a30c4bc738e4fb50f3eef89953",
"msg": [5, 5, 0, 3, 11, 10],
"ct": [15, 15, 15, 0, 8, 6],
"result": "valid"
},
{
"tcId": 95,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "a30c4bc738e4fb50f3eef89953",
"msg": [13, 3, 12, 0, 3, 1],
"ct": [0, 0, 0, 12, 4, 13],
"result": "valid"
},
{
"tcId": 96,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "a30c4bc738e4fb50f3eef89953",
"msg": [14, 6, 15, 7, 5, 9],
"ct": [7, 15, 0, 5, 9, 1],
"result": "valid"
},
{
"tcId": 97,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "a30c4bc738e4fb50f3eef89953",
"msg": [10, 15, 5, 13, 13, 14],
"ct": [15, 14, 15, 12, 4, 15],
"result": "valid"
},
{
"tcId": 98,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "2589077d282062ef6c822e87ce",
"msg": [6, 14, 15, 4, 8, 11],
"ct": [8, 4, 15, 13, 6, 11],
"result": "valid"
},
{
"tcId": 99,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "2589077d282062ef6c822e87ce",
"msg": [3, 8, 6, 2, 9, 6],
"ct": [7, 8, 9, 8, 11, 15],
"result": "valid"
},
{
"tcId": 100,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "2589077d282062ef6c822e87ce",
"msg": [10, 9, 4, 15, 6, 5],
"ct": [11, 12, 14, 4, 2, 12],
"result": "valid"
},
{
"tcId": 101,
"comment": "y is maximal after modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "2589077d282062ef6c822e87ce",
"msg": [1, 15, 14, 2, 0, 7],
"ct": [7, 13, 12, 1, 11, 10],
"result": "valid"
},
{
"tcId": 102,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ed4561abc903a9e722ddb8aa94cc662d",
"tweak": "975f6d7701e004f7",
"msg": [-1, 2, 4, 12, 15, 1],
"ct": [7, 8, 15, 8, 12, 3],
"result": "invalid"
},
{
"tcId": 103,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ed4561abc903a9e722ddb8aa94cc662d",
"tweak": "975f6d7701e004f7",
"msg": [0, 2, -1, 12, 15, 1],
"ct": [1, 15, 7, 13, 14, 6],
"result": "invalid"
},
{
"tcId": 104,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ed4561abc903a9e722ddb8aa94cc662d",
"tweak": "975f6d7701e004f7",
"msg": [0, 2, 4, 12, 15, -1],
"ct": [9, 12, 1, 4, 7, 13],
"result": "invalid"
},
{
"tcId": 105,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fb07160f0b44dc09a67625baecbca446",
"tweak": "7c0adc6320ac7819",
"msg": [16, 10, 14, 11, 8, 15],
"ct": [7, 10, 15, 0, 14, 0],
"result": "invalid"
},
{
"tcId": 106,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fb07160f0b44dc09a67625baecbca446",
"tweak": "7c0adc6320ac7819",
"msg": [14, 10, 16, 11, 8, 15],
"ct": [8, 3, 4, 11, 0, 10],
"result": "invalid"
},
{
"tcId": 107,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fb07160f0b44dc09a67625baecbca446",
"tweak": "7c0adc6320ac7819",
"msg": [14, 10, 14, 11, 8, 16],
"ct": [8, 15, 6, 15, 11, 2],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 7,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 108,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "20b2c30d44c72c32a4564541332f45c3",
"tweak": "3de9de4b8736f463",
"msg": [1, 11, 6, 6, 5, 8, 2],
"ct": [7, 6, 8, 15, 0, 2, 12],
"result": "valid"
},
{
"tcId": 109,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [0, 0, 0, 0, 0, 0, 0],
"ct": [1, 15, 0, 3, 5, 2, 5],
"result": "valid"
},
{
"tcId": 110,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [15, 15, 15, 15, 15, 15, 15],
"ct": [15, 2, 14, 5, 5, 6, 2],
"result": "valid"
},
{
"tcId": 111,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [8, 0, 0, 8, 0, 0, 0],
"ct": [6, 1, 5, 13, 4, 13, 10],
"result": "valid"
},
{
"tcId": 112,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [7, 15, 15, 7, 15, 15, 15],
"ct": [10, 10, 5, 6, 3, 8, 1],
"result": "valid"
},
{
"tcId": 113,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [15, 5, 7, 5, 1, 2, 12],
"ct": [6, 3, 11, 1, 0, 1, 14],
"result": "valid"
},
{
"tcId": 114,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [8, 7, 6, 12, 9, 0, 6],
"ct": [1, 13, 1, 8, 8, 15, 14],
"result": "valid"
},
{
"tcId": 115,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [5, 2, 6, 6, 14, 2, 3],
"ct": [9, 10, 11, 10, 0, 0, 13],
"result": "valid"
},
{
"tcId": 116,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [11, 5, 7, 1, 11, 0, 6],
"ct": [10, 15, 8, 4, 6, 14, 3],
"result": "valid"
},
{
"tcId": 117,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [7, 3, 6, 14, 3, 10, 8],
"ct": [5, 0, 5, 3, 14, 9, 9],
"result": "valid"
},
{
"tcId": 118,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [10, 0, 14, 12, 12, 6, 13],
"ct": [9, 7, 10, 9, 5, 14, 9],
"result": "valid"
},
{
"tcId": 119,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [3, 1, 5, 8, 11, 11, 8],
"ct": [0, 6, 13, 15, 14, 0, 5],
"result": "valid"
},
{
"tcId": 120,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [10, 2, 7, 4, 13, 2, 8],
"ct": [1, 2, 6, 7, 2, 10, 12],
"result": "valid"
},
{
"tcId": 121,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [1, 10, 0, 15, 9, 15, 3],
"ct": [0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 122,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [8, 6, 6, 0, 12, 9, 13],
"ct": [15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 123,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [6, 3, 0, 6, 1, 1, 3],
"ct": [8, 0, 0, 8, 0, 0, 0],
"result": "valid"
},
{
"tcId": 124,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [15, 8, 7, 10, 15, 11, 11],
"ct": [7, 15, 15, 7, 15, 15, 15],
"result": "valid"
},
{
"tcId": 125,
"comment": "y = 0 and (y + a) % radix**3 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "f34be86fea1bbbfd8a4da54ea4",
"msg": [0, 0, 0, 4, 1, 15, 8],
"ct": [15, 6, 2, 12, 11, 6, 13],
"result": "valid"
},
{
"tcId": 126,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "f34be86fea1bbbfd8a4da54ea4",
"msg": [0, 0, 1, 4, 1, 15, 8],
"ct": [8, 7, 12, 15, 11, 5, 1],
"result": "valid"
},
{
"tcId": 127,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "f34be86fea1bbbfd8a4da54ea4",
"msg": [8, 0, 0, 4, 1, 15, 8],
"ct": [15, 5, 8, 2, 12, 13, 14],
"result": "valid"
},
{
"tcId": 128,
"comment": "y = 0 and (y + a) % radix**3 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "f34be86fea1bbbfd8a4da54ea4",
"msg": [15, 15, 15, 4, 1, 15, 8],
"ct": [3, 13, 4, 6, 13, 6, 14],
"result": "valid"
},
{
"tcId": 129,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "a57620215f0e80b432fd8404b3",
"msg": [0, 3, 7, 5, 0, 12, 12],
"ct": [8, 3, 11, 9, 13, 12, 15],
"result": "valid"
},
{
"tcId": 130,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "a57620215f0e80b432fd8404b3",
"msg": [10, 11, 6, 2, 15, 14, 11],
"ct": [12, 10, 4, 14, 11, 10, 10],
"result": "valid"
},
{
"tcId": 131,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "a57620215f0e80b432fd8404b3",
"msg": [3, 3, 15, 11, 2, 8, 6],
"ct": [12, 14, 12, 1, 1, 3, 10],
"result": "valid"
},
{
"tcId": 132,
"comment": "y = 1 and (y + a) % radix**3 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "a57620215f0e80b432fd8404b3",
"msg": [4, 10, 14, 6, 14, 3, 9],
"ct": [0, 4, 15, 5, 1, 9, 9],
"result": "valid"
},
{
"tcId": 133,
"comment": "y = 1 and (y + a) % radix**3 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "a57620215f0e80b432fd8404b3",
"msg": [14, 5, 6, 8, 5, 11, 4],
"ct": [13, 0, 2, 5, 11, 3, 9],
"result": "valid"
},
{
"tcId": 134,
"comment": "y is maximal and (y + a) % radix**3 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "8caf4297fd70595bc01de714d1",
"msg": [12, 0, 10, 2, 10, 3, 13],
"ct": [15, 15, 15, 0, 5, 14, 1],
"result": "valid"
},
{
"tcId": 135,
"comment": "y is maximal and (y + a) % radix**3 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "8caf4297fd70595bc01de714d1",
"msg": [4, 13, 9, 3, 14, 13, 7],
"ct": [0, 0, 0, 11, 15, 12, 4],
"result": "valid"
},
{
"tcId": 136,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "8caf4297fd70595bc01de714d1",
"msg": [0, 5, 6, 3, 14, 3, 6],
"ct": [7, 15, 15, 14, 1, 10, 4],
"result": "valid"
},
{
"tcId": 137,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "8caf4297fd70595bc01de714d1",
"msg": [15, 7, 14, 7, 0, 3, 2],
"ct": [15, 15, 14, 1, 1, 3, 11],
"result": "valid"
},
{
"tcId": 138,
"comment": "y is edge case for modular reduction and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "f8f0ab1f906393e88d7540a4d5",
"msg": [1, 9, 7, 3, 10, 3, 14],
"ct": [7, 6, 5, 5, 6, 5, 4],
"result": "valid"
},
{
"tcId": 139,
"comment": "y is edge case for modular reduction and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "f8f0ab1f906393e88d7540a4d5",
"msg": [0, 14, 14, 0, 4, 5, 3],
"ct": [15, 1, 10, 5, 2, 10, 14],
"result": "valid"
},
{
"tcId": 140,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "f8f0ab1f906393e88d7540a4d5",
"msg": [6, 13, 5, 7, 9, 13, 4],
"ct": [10, 12, 13, 2, 14, 7, 13],
"result": "valid"
},
{
"tcId": 141,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "f8f0ab1f906393e88d7540a4d5",
"msg": [1, 1, 15, 13, 13, 3, 10],
"ct": [1, 12, 8, 2, 12, 6, 9],
"result": "valid"
},
{
"tcId": 142,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "f8f0ab1f906393e88d7540a4d5",
"msg": [13, 7, 8, 11, 6, 10, 2],
"ct": [6, 11, 4, 1, 12, 5, 1],
"result": "valid"
},
{
"tcId": 143,
"comment": "y is edge case for modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "f8f0ab1f906393e88d7540a4d5",
"msg": [8, 10, 1, 15, 4, 7, 1],
"ct": [10, 10, 12, 10, 7, 13, 3],
"result": "valid"
},
{
"tcId": 144,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "91fd0ef5d673dae1f1f6ebc5c5",
"msg": [8, 15, 15, 15, 5, 5, 2],
"ct": [10, 9, 2, 10, 2, 0, 14],
"result": "valid"
},
{
"tcId": 145,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "91fd0ef5d673dae1f1f6ebc5c5",
"msg": [13, 6, 4, 14, 1, 6, 5],
"ct": [14, 6, 9, 8, 0, 14, 6],
"result": "valid"
},
{
"tcId": 146,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "91fd0ef5d673dae1f1f6ebc5c5",
"msg": [9, 14, 7, 7, 7, 5, 14],
"ct": [6, 13, 6, 12, 13, 2, 0],
"result": "valid"
},
{
"tcId": 147,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "91fd0ef5d673dae1f1f6ebc5c5",
"msg": [2, 11, 14, 3, 11, 11, 6],
"ct": [10, 12, 8, 4, 6, 15, 12],
"result": "valid"
},
{
"tcId": 148,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ea35a8f24783be82abd93cc74e4944cb",
"tweak": "a704f808982bb10f",
"msg": [-1, 10, 1, 13, 13, 2, 4],
"ct": [11, 1, 4, 4, 4, 15, 11],
"result": "invalid"
},
{
"tcId": 149,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ea35a8f24783be82abd93cc74e4944cb",
"tweak": "a704f808982bb10f",
"msg": [10, 10, -1, 13, 13, 2, 4],
"ct": [2, 15, 12, 10, 12, 11, 9],
"result": "invalid"
},
{
"tcId": 150,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ea35a8f24783be82abd93cc74e4944cb",
"tweak": "a704f808982bb10f",
"msg": [10, 10, 1, 13, 13, 2, -1],
"ct": [5, 3, 12, 8, 7, 2, 5],
"result": "invalid"
},
{
"tcId": 151,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8d57afa97d5ab9961b3558941eef225",
"tweak": "bf09bc27dc18b514",
"msg": [16, 0, 3, 5, 13, 6, 1],
"ct": [8, 12, 6, 7, 3, 2, 3],
"result": "invalid"
},
{
"tcId": 152,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8d57afa97d5ab9961b3558941eef225",
"tweak": "bf09bc27dc18b514",
"msg": [14, 0, 16, 5, 13, 6, 1],
"ct": [14, 10, 1, 7, 6, 6, 15],
"result": "invalid"
},
{
"tcId": 153,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8d57afa97d5ab9961b3558941eef225",
"tweak": "bf09bc27dc18b514",
"msg": [14, 0, 3, 5, 13, 6, 16],
"ct": [11, 4, 10, 15, 8, 10, 2],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 8,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 154,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "60d83b209822c0d9b7033dca86444fa1",
"tweak": "23ef05b155a108c4",
"msg": [1, 10, 13, 5, 14, 10, 8, 7],
"ct": [10, 3, 13, 15, 12, 10, 3, 14],
"result": "valid"
},
{
"tcId": 155,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 5, 5, 9, 11, 5, 8, 3],
"result": "valid"
},
{
"tcId": 156,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [15, 15, 15, 15, 15, 15, 15, 15],
"ct": [15, 9, 12, 6, 3, 14, 9, 7],
"result": "valid"
},
{
"tcId": 157,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [8, 0, 0, 0, 8, 0, 0, 0],
"ct": [13, 5, 4, 9, 4, 12, 0, 7],
"result": "valid"
},
{
"tcId": 158,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [7, 15, 15, 15, 7, 15, 15, 15],
"ct": [13, 3, 4, 6, 2, 7, 1, 14],
"result": "valid"
},
{
"tcId": 159,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [10, 14, 11, 15, 7, 3, 11, 11],
"ct": [5, 4, 12, 7, 12, 1, 1, 12],
"result": "valid"
},
{
"tcId": 160,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [4, 1, 0, 5, 14, 0, 1, 9],
"ct": [4, 7, 5, 4, 3, 5, 3, 15],
"result": "valid"
},
{
"tcId": 161,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [4, 2, 1, 6, 14, 1, 10, 10],
"ct": [15, 15, 5, 14, 2, 6, 5, 6],
"result": "valid"
},
{
"tcId": 162,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [10, 7, 15, 13, 1, 4, 8, 4],
"ct": [11, 14, 2, 10, 14, 14, 3, 3],
"result": "valid"
},
{
"tcId": 163,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [5, 6, 2, 10, 6, 0, 10, 15],
"ct": [2, 13, 1, 1, 15, 15, 8, 15],
"result": "valid"
},
{
"tcId": 164,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [7, 2, 9, 8, 10, 10, 3, 2],
"ct": [14, 7, 15, 6, 9, 8, 15, 7],
"result": "valid"
},
{
"tcId": 165,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [2, 9, 4, 11, 12, 6, 1, 6],
"ct": [3, 12, 8, 9, 1, 1, 14, 4],
"result": "valid"
},
{
"tcId": 166,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [9, 4, 4, 10, 4, 11, 15, 6],
"ct": [3, 0, 8, 9, 1, 13, 10, 15],
"result": "valid"
},
{
"tcId": 167,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [4, 0, 12, 0, 7, 13, 3, 12],
"ct": [0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 168,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [0, 6, 2, 14, 12, 4, 13, 6],
"ct": [15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 169,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [0, 7, 14, 9, 7, 13, 5, 12],
"ct": [8, 0, 0, 0, 8, 0, 0, 0],
"result": "valid"
},
{
"tcId": 170,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [6, 8, 5, 8, 4, 0, 9, 2],
"ct": [7, 15, 15, 15, 7, 15, 15, 15],
"result": "valid"
},
{
"tcId": 171,
"comment": "y = 0 and (y + a) % radix**4 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "d5de914b6eb8729bf7257ed196",
"msg": [12, 8, 7, 8, 15, 4, 2, 4],
"ct": [0, 0, 0, 0, 15, 12, 8, 0],
"result": "valid"
},
{
"tcId": 172,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "d5de914b6eb8729bf7257ed196",
"msg": [15, 15, 14, 13, 11, 5, 1, 6],
"ct": [0, 0, 0, 1, 15, 9, 7, 12],
"result": "valid"
},
{
"tcId": 173,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "d5de914b6eb8729bf7257ed196",
"msg": [13, 11, 2, 9, 1, 4, 9, 10],
"ct": [8, 0, 0, 0, 15, 4, 13, 4],
"result": "valid"
},
{
"tcId": 174,
"comment": "y = 0 and (y + a) % radix**4 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "d5de914b6eb8729bf7257ed196",
"msg": [6, 9, 10, 8, 1, 13, 0, 12],
"ct": [15, 15, 15, 15, 3, 9, 5, 4],
"result": "valid"
},
{
"tcId": 175,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "7cdc9ffddbdf1be572c5da930f",
"msg": [15, 5, 15, 5, 11, 4, 8, 5],
"ct": [9, 2, 11, 1, 3, 10, 6, 1],
"result": "valid"
},
{
"tcId": 176,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "7cdc9ffddbdf1be572c5da930f",
"msg": [5, 3, 5, 1, 8, 11, 8, 13],
"ct": [10, 2, 10, 2, 13, 2, 4, 6],
"result": "valid"
},
{
"tcId": 177,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "7cdc9ffddbdf1be572c5da930f",
"msg": [9, 6, 8, 13, 4, 5, 0, 3],
"ct": [8, 5, 4, 3, 5, 11, 2, 10],
"result": "valid"
},
{
"tcId": 178,
"comment": "y = 1 and (y + a) % radix**4 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "7cdc9ffddbdf1be572c5da930f",
"msg": [3, 1, 3, 14, 4, 15, 3, 7],
"ct": [7, 14, 2, 15, 9, 0, 5, 10],
"result": "valid"
},
{
"tcId": 179,
"comment": "y = 1 and (y + a) % radix**4 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "7cdc9ffddbdf1be572c5da930f",
"msg": [1, 10, 3, 7, 0, 11, 5, 10],
"ct": [1, 11, 10, 1, 12, 1, 9, 6],
"result": "valid"
},
{
"tcId": 180,
"comment": "y is maximal and (y + a) % radix**4 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "0f678befa20a714d7624548ce8",
"msg": [0, 0, 0, 0, 13, 12, 7, 10],
"ct": [9, 7, 0, 4, 15, 0, 8, 4],
"result": "valid"
},
{
"tcId": 181,
"comment": "y is maximal and (y + a) % radix**4 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "0f678befa20a714d7624548ce8",
"msg": [0, 0, 0, 1, 13, 12, 7, 10],
"ct": [12, 10, 10, 10, 5, 4, 7, 13],
"result": "valid"
},
{
"tcId": 182,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "0f678befa20a714d7624548ce8",
"msg": [8, 0, 0, 0, 13, 12, 7, 10],
"ct": [15, 6, 8, 10, 0, 4, 7, 14],
"result": "valid"
},
{
"tcId": 183,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "0f678befa20a714d7624548ce8",
"msg": [15, 15, 15, 15, 13, 12, 7, 10],
"ct": [8, 8, 7, 0, 12, 12, 5, 8],
"result": "valid"
},
{
"tcId": 184,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "c436ff71b64446d4449d280c87",
"msg": [8, 8, 3, 15, 4, 0, 0, 5],
"ct": [6, 13, 15, 15, 15, 14, 2, 11],
"result": "valid"
},
{
"tcId": 185,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "c436ff71b64446d4449d280c87",
"msg": [0, 2, 14, 6, 10, 1, 3, 3],
"ct": [12, 0, 3, 15, 7, 5, 5, 6],
"result": "valid"
},
{
"tcId": 186,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "c436ff71b64446d4449d280c87",
"msg": [15, 15, 10, 8, 4, 8, 10, 15],
"ct": [7, 8, 8, 7, 2, 15, 5, 11],
"result": "valid"
},
{
"tcId": 187,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "c436ff71b64446d4449d280c87",
"msg": [2, 3, 9, 0, 5, 15, 0, 2],
"ct": [0, 1, 11, 13, 15, 0, 12, 0],
"result": "valid"
},
{
"tcId": 188,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "c436ff71b64446d4449d280c87",
"msg": [11, 2, 7, 14, 3, 13, 7, 3],
"ct": [5, 4, 2, 9, 15, 1, 13, 9],
"result": "valid"
},
{
"tcId": 189,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "c436ff71b64446d4449d280c87",
"msg": [2, 15, 5, 9, 11, 13, 9, 11],
"ct": [2, 8, 0, 13, 14, 8, 14, 7],
"result": "valid"
},
{
"tcId": 190,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "16d8d07807292aff474530e7bf",
"msg": [10, 2, 9, 6, 10, 5, 6, 3],
"ct": [5, 7, 2, 13, 8, 6, 12, 8],
"result": "valid"
},
{
"tcId": 191,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "16d8d07807292aff474530e7bf",
"msg": [13, 10, 8, 13, 3, 7, 1, 1],
"ct": [14, 14, 15, 15, 8, 6, 2, 12],
"result": "valid"
},
{
"tcId": 192,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "16d8d07807292aff474530e7bf",
"msg": [10, 13, 15, 12, 2, 4, 10, 14],
"ct": [15, 3, 11, 4, 10, 5, 1, 0],
"result": "valid"
},
{
"tcId": 193,
"comment": "y is maximal after modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "16d8d07807292aff474530e7bf",
"msg": [5, 3, 1, 14, 13, 1, 3, 4],
"ct": [4, 14, 15, 8, 0, 11, 8, 1],
"result": "valid"
},
{
"tcId": 194,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ebc261665fab01ae2bfe156e54de3006",
"tweak": "5080dd547abdeddd",
"msg": [-1, 1, 15, 14, 5, 15, 6, 13],
"ct": [7, 9, 9, 0, 12, 4, 12, 15],
"result": "invalid"
},
{
"tcId": 195,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ebc261665fab01ae2bfe156e54de3006",
"tweak": "5080dd547abdeddd",
"msg": [8, 1, -1, 14, 5, 15, 6, 13],
"ct": [8, 5, 15, 5, 11, 13, 2, 8],
"result": "invalid"
},
{
"tcId": 196,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ebc261665fab01ae2bfe156e54de3006",
"tweak": "5080dd547abdeddd",
"msg": [8, 1, 15, 14, 5, 15, 6, -1],
"ct": [15, 0, 7, 1, 6, 9, 3, 6],
"result": "invalid"
},
{
"tcId": 197,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4f8bff89ddec5052907375e534ff7598",
"tweak": "d534e738715bd32e",
"msg": [16, 9, 6, 2, 7, 10, 4, 4],
"ct": [4, 6, 6, 15, 4, 4, 13, 14],
"result": "invalid"
},
{
"tcId": 198,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4f8bff89ddec5052907375e534ff7598",
"tweak": "d534e738715bd32e",
"msg": [12, 9, 16, 2, 7, 10, 4, 4],
"ct": [13, 5, 7, 10, 10, 13, 8, 4],
"result": "invalid"
},
{
"tcId": 199,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4f8bff89ddec5052907375e534ff7598",
"tweak": "d534e738715bd32e",
"msg": [12, 9, 6, 2, 7, 10, 4, 16],
"ct": [10, 2, 15, 3, 0, 8, 11, 0],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 9,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 200,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "2215b9528000f5f306fcdfe2969c6785",
"tweak": "0539d85c7b076285",
"msg": [15, 13, 8, 10, 6, 4, 11, 7, 10],
"ct": [13, 15, 3, 5, 14, 9, 7, 14, 4],
"result": "valid"
},
{
"tcId": 201,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 13, 3, 14, 3, 4, 8, 3, 0],
"result": "valid"
},
{
"tcId": 202,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [4, 6, 12, 2, 10, 12, 1, 13, 7],
"result": "valid"
},
{
"tcId": 203,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [8, 0, 0, 0, 8, 0, 0, 0, 0],
"ct": [9, 8, 7, 0, 12, 12, 12, 8, 7],
"result": "valid"
},
{
"tcId": 204,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [7, 15, 15, 15, 7, 15, 15, 15, 15],
"ct": [3, 13, 9, 7, 14, 12, 13, 0, 8],
"result": "valid"
},
{
"tcId": 205,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [13, 15, 3, 5, 9, 0, 5, 6, 6],
"ct": [10, 6, 8, 3, 2, 10, 0, 10, 15],
"result": "valid"
},
{
"tcId": 206,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [6, 0, 4, 8, 0, 11, 14, 11, 12],
"ct": [10, 8, 8, 6, 2, 11, 4, 11, 14],
"result": "valid"
},
{
"tcId": 207,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [8, 13, 2, 1, 15, 0, 5, 14, 10],
"ct": [9, 4, 8, 13, 7, 13, 4, 0, 0],
"result": "valid"
},
{
"tcId": 208,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [10, 3, 14, 11, 5, 7, 5, 15, 10],
"ct": [0, 4, 6, 12, 0, 3, 10, 8, 14],
"result": "valid"
},
{
"tcId": 209,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [10, 15, 0, 1, 11, 7, 11, 10, 8],
"ct": [9, 11, 12, 9, 4, 15, 7, 12, 15],
"result": "valid"
},
{
"tcId": 210,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [3, 12, 8, 0, 14, 5, 0, 7, 15],
"ct": [9, 15, 12, 9, 7, 4, 3, 14, 7],
"result": "valid"
},
{
"tcId": 211,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [15, 10, 12, 14, 15, 9, 8, 9, 12],
"ct": [7, 1, 1, 5, 5, 10, 15, 7, 0],
"result": "valid"
},
{
"tcId": 212,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [15, 6, 12, 8, 14, 8, 14, 14, 5],
"ct": [13, 8, 2, 14, 7, 14, 0, 6, 6],
"result": "valid"
},
{
"tcId": 213,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [3, 7, 4, 5, 15, 3, 2, 5, 5],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 214,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [14, 13, 10, 13, 15, 11, 0, 1, 10],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 215,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [14, 11, 10, 15, 4, 9, 4, 13, 6],
"ct": [8, 0, 0, 0, 8, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 216,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [2, 7, 12, 1, 9, 9, 1, 8, 6],
"ct": [7, 15, 15, 15, 7, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 217,
"comment": "y = 0 and (y + a) % radix**4 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "abbce6f8ea8e5f6b4ec139a6",
"msg": [15, 0, 2, 1, 4, 14, 7, 10, 13],
"ct": [4, 0, 15, 6, 6, 12, 10, 15, 15],
"result": "valid"
},
{
"tcId": 218,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "abbce6f8ea8e5f6b4ec139a6",
"msg": [6, 3, 3, 6, 5, 2, 7, 11, 11],
"ct": [9, 10, 1, 14, 10, 2, 5, 14, 2],
"result": "valid"
},
{
"tcId": 219,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "abbce6f8ea8e5f6b4ec139a6",
"msg": [10, 4, 7, 14, 7, 9, 7, 7, 0],
"ct": [14, 15, 2, 10, 7, 15, 2, 15, 11],
"result": "valid"
},
{
"tcId": 220,
"comment": "y = 0 and (y + a) % radix**4 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "abbce6f8ea8e5f6b4ec139a6",
"msg": [8, 1, 8, 14, 7, 6, 9, 5, 3],
"ct": [9, 12, 3, 2, 13, 9, 14, 4, 1],
"result": "valid"
},
{
"tcId": 221,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "188662ad7ba8e7b0c4c9c94a",
"msg": [2, 2, 10, 12, 2, 4, 2, 13, 2],
"ct": [7, 8, 7, 6, 0, 12, 14, 13, 7],
"result": "valid"
},
{
"tcId": 222,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "188662ad7ba8e7b0c4c9c94a",
"msg": [10, 0, 10, 0, 1, 1, 14, 0, 2],
"ct": [9, 15, 3, 13, 7, 11, 1, 9, 12],
"result": "valid"
},
{
"tcId": 223,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "188662ad7ba8e7b0c4c9c94a",
"msg": [10, 13, 6, 6, 0, 9, 15, 10, 4],
"ct": [11, 2, 1, 11, 1, 0, 8, 7, 3],
"result": "valid"
},
{
"tcId": 224,
"comment": "y = 1 and (y + a) % radix**4 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "188662ad7ba8e7b0c4c9c94a",
"msg": [12, 6, 5, 9, 4, 14, 4, 13, 0],
"ct": [7, 11, 10, 1, 0, 6, 4, 4, 8],
"result": "valid"
},
{
"tcId": 225,
"comment": "y = 1 and (y + a) % radix**4 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "188662ad7ba8e7b0c4c9c94a",
"msg": [7, 10, 1, 15, 3, 6, 11, 11, 8],
"ct": [1, 2, 4, 8, 3, 11, 6, 4, 4],
"result": "valid"
},
{
"tcId": 226,
"comment": "y is maximal and (y + a) % radix**4 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "cf0988adb3c6856dd4972302",
"msg": [0, 4, 9, 5, 0, 7, 10, 0, 5],
"ct": [0, 8, 9, 13, 1, 3, 15, 4, 11],
"result": "valid"
},
{
"tcId": 227,
"comment": "y is maximal and (y + a) % radix**4 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "cf0988adb3c6856dd4972302",
"msg": [8, 8, 2, 0, 8, 7, 9, 4, 0],
"ct": [4, 4, 0, 12, 9, 9, 12, 11, 2],
"result": "valid"
},
{
"tcId": 228,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "cf0988adb3c6856dd4972302",
"msg": [11, 4, 1, 1, 5, 14, 9, 8, 9],
"ct": [14, 15, 5, 9, 0, 9, 1, 4, 13],
"result": "valid"
},
{
"tcId": 229,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "cf0988adb3c6856dd4972302",
"msg": [15, 6, 11, 14, 0, 7, 11, 9, 10],
"ct": [10, 14, 14, 14, 10, 12, 0, 12, 12],
"result": "valid"
},
{
"tcId": 230,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "a996bf55b8e87de96423c84b",
"msg": [0, 6, 2, 14, 8, 1, 4, 4, 13],
"ct": [15, 15, 15, 0, 1, 7, 5, 10, 8],
"result": "valid"
},
{
"tcId": 231,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "a996bf55b8e87de96423c84b",
"msg": [5, 6, 11, 11, 1, 11, 15, 12, 5],
"ct": [15, 15, 15, 1, 9, 14, 0, 10, 9],
"result": "valid"
},
{
"tcId": 232,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "a996bf55b8e87de96423c84b",
"msg": [11, 8, 4, 1, 13, 6, 3, 14, 4],
"ct": [15, 15, 15, 15, 0, 0, 6, 6, 6],
"result": "valid"
},
{
"tcId": 233,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "a996bf55b8e87de96423c84b",
"msg": [3, 13, 3, 14, 2, 7, 6, 6, 13],
"ct": [0, 0, 0, 0, 0, 13, 1, 13, 3],
"result": "valid"
},
{
"tcId": 234,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "a996bf55b8e87de96423c84b",
"msg": [8, 0, 15, 6, 10, 9, 4, 2, 13],
"ct": [7, 15, 15, 0, 8, 11, 12, 13, 2],
"result": "valid"
},
{
"tcId": 235,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "a996bf55b8e87de96423c84b",
"msg": [11, 6, 3, 13, 12, 13, 11, 3, 12],
"ct": [15, 15, 14, 15, 5, 15, 13, 13, 3],
"result": "valid"
},
{
"tcId": 236,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "bd49c0311aedd65269bf5b58",
"msg": [11, 2, 5, 12, 4, 5, 14, 5, 13],
"ct": [4, 10, 1, 15, 1, 12, 4, 8, 13],
"result": "valid"
},
{
"tcId": 237,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "bd49c0311aedd65269bf5b58",
"msg": [9, 3, 4, 12, 1, 15, 4, 10, 15],
"ct": [12, 5, 1, 7, 15, 6, 15, 11, 11],
"result": "valid"
},
{
"tcId": 238,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "bd49c0311aedd65269bf5b58",
"msg": [2, 0, 12, 6, 5, 3, 15, 10, 8],
"ct": [12, 5, 13, 14, 11, 6, 3, 10, 11],
"result": "valid"
},
{
"tcId": 239,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "bd49c0311aedd65269bf5b58",
"msg": [2, 12, 14, 12, 11, 8, 7, 0, 4],
"ct": [14, 4, 1, 12, 11, 13, 3, 9, 3],
"result": "valid"
},
{
"tcId": 240,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7fd4e71784e95a3dd0b41315a67131d2",
"tweak": "47d48ea4716ab8df",
"msg": [-1, 3, 9, 6, 3, 11, 3, 9, 9],
"ct": [10, 10, 11, 14, 9, 13, 14, 15, 14],
"result": "invalid"
},
{
"tcId": 241,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7fd4e71784e95a3dd0b41315a67131d2",
"tweak": "47d48ea4716ab8df",
"msg": [6, 3, 9, -1, 3, 11, 3, 9, 9],
"ct": [0, 2, 12, 8, 9, 9, 13, 11, 2],
"result": "invalid"
},
{
"tcId": 242,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7fd4e71784e95a3dd0b41315a67131d2",
"tweak": "47d48ea4716ab8df",
"msg": [6, 3, 9, 6, 3, 11, 3, 9, -1],
"ct": [5, 14, 6, 15, 9, 2, 3, 2, 3],
"result": "invalid"
},
{
"tcId": 243,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "78ca171b108679045db2c4cfa8329b6c",
"tweak": "5fccededd60d3c43",
"msg": [16, 5, 10, 11, 11, 11, 15, 7, 9],
"ct": [9, 5, 9, 5, 15, 0, 2, 8, 1],
"result": "invalid"
},
{
"tcId": 244,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "78ca171b108679045db2c4cfa8329b6c",
"tweak": "5fccededd60d3c43",
"msg": [2, 5, 10, 16, 11, 11, 15, 7, 9],
"ct": [10, 2, 10, 11, 6, 10, 13, 1, 9],
"result": "invalid"
},
{
"tcId": 245,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "78ca171b108679045db2c4cfa8329b6c",
"tweak": "5fccededd60d3c43",
"msg": [2, 5, 10, 11, 11, 11, 15, 7, 16],
"ct": [14, 5, 1, 10, 4, 5, 8, 4, 5],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 10,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 246,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "5474525ca99fb5da2babdbd45c727d16",
"tweak": "f2cb4d9ba04b81f8",
"msg": [13, 8, 0, 12, 4, 13, 8, 0, 2, 6],
"ct": [4, 8, 8, 14, 7, 9, 8, 1, 4, 4],
"result": "valid"
},
{
"tcId": 247,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [9, 10, 1, 0, 6, 7, 13, 0, 5, 11],
"result": "valid"
},
{
"tcId": 248,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [11, 5, 2, 3, 3, 0, 15, 3, 8, 14],
"result": "valid"
},
{
"tcId": 249,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [8, 0, 0, 0, 0, 8, 0, 0, 0, 0],
"ct": [10, 5, 12, 10, 6, 9, 8, 3, 7, 15],
"result": "valid"
},
{
"tcId": 250,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [7, 15, 15, 15, 15, 7, 15, 15, 15, 15],
"ct": [14, 6, 6, 14, 8, 14, 12, 7, 8, 8],
"result": "valid"
},
{
"tcId": 251,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [7, 10, 0, 2, 8, 8, 3, 11, 0, 5],
"ct": [15, 7, 15, 4, 10, 14, 15, 1, 0, 6],
"result": "valid"
},
{
"tcId": 252,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [3, 5, 6, 12, 9, 8, 10, 3, 15, 0],
"ct": [8, 13, 13, 7, 8, 10, 7, 14, 1, 15],
"result": "valid"
},
{
"tcId": 253,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [11, 11, 1, 15, 3, 11, 8, 5, 0, 10],
"ct": [5, 12, 2, 1, 14, 5, 14, 4, 12, 1],
"result": "valid"
},
{
"tcId": 254,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [8, 5, 13, 5, 13, 13, 2, 15, 0, 9],
"ct": [3, 13, 0, 14, 6, 15, 10, 10, 0, 3],
"result": "valid"
},
{
"tcId": 255,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [3, 7, 12, 2, 9, 12, 12, 15, 1, 3],
"ct": [4, 13, 5, 8, 15, 7, 5, 14, 13, 4],
"result": "valid"
},
{
"tcId": 256,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [8, 14, 1, 5, 3, 13, 11, 3, 1, 15],
"ct": [15, 2, 7, 7, 5, 5, 8, 15, 4, 1],
"result": "valid"
},
{
"tcId": 257,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [10, 15, 4, 0, 2, 8, 8, 5, 13, 11],
"ct": [9, 13, 14, 9, 10, 8, 3, 12, 11, 15],
"result": "valid"
},
{
"tcId": 258,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [15, 0, 11, 3, 4, 11, 9, 9, 7, 10],
"ct": [11, 4, 10, 1, 6, 6, 11, 13, 10, 14],
"result": "valid"
},
{
"tcId": 259,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [4, 12, 6, 6, 15, 7, 4, 10, 12, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 260,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [3, 6, 1, 12, 13, 6, 6, 2, 12, 12],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 261,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [15, 6, 13, 14, 14, 1, 13, 8, 11, 8],
"ct": [8, 0, 0, 0, 0, 8, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 262,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [4, 8, 12, 2, 14, 1, 1, 2, 14, 0],
"ct": [7, 15, 15, 15, 15, 7, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 263,
"comment": "y = 0 and (y + a) % radix**5 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "1ff1b3b3af6edcca6ef0b9e5",
"msg": [14, 9, 9, 2, 2, 4, 14, 5, 11, 7],
"ct": [11, 14, 13, 8, 1, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 264,
"comment": "y = 0 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "1ff1b3b3af6edcca6ef0b9e5",
"msg": [10, 1, 14, 2, 9, 3, 2, 1, 0, 12],
"ct": [11, 14, 13, 8, 1, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 265,
"comment": "y = 0 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "1ff1b3b3af6edcca6ef0b9e5",
"msg": [15, 0, 8, 9, 14, 15, 3, 11, 0, 10],
"ct": [11, 14, 13, 8, 1, 8, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 266,
"comment": "y = 0 and (y + a) % radix**5 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "1ff1b3b3af6edcca6ef0b9e5",
"msg": [13, 8, 13, 13, 3, 9, 14, 3, 8, 2],
"ct": [11, 14, 13, 8, 1, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 267,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "7c5f4354b4689a2a0dfc6cf6",
"msg": [7, 5, 0, 2, 14, 11, 14, 6, 15, 3],
"ct": [0, 0, 0, 0, 1, 12, 2, 6, 14, 11],
"result": "valid"
},
{
"tcId": 268,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "7c5f4354b4689a2a0dfc6cf6",
"msg": [12, 11, 15, 14, 1, 2, 6, 11, 6, 3],
"ct": [0, 0, 0, 0, 2, 1, 9, 0, 12, 4],
"result": "valid"
},
{
"tcId": 269,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "7c5f4354b4689a2a0dfc6cf6",
"msg": [13, 5, 14, 11, 3, 1, 15, 5, 2, 2],
"ct": [8, 0, 0, 0, 1, 1, 11, 11, 5, 5],
"result": "valid"
},
{
"tcId": 270,
"comment": "y = 1 and (y + a) % radix**5 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "7c5f4354b4689a2a0dfc6cf6",
"msg": [11, 9, 3, 2, 6, 5, 11, 4, 10, 7],
"ct": [15, 15, 15, 15, 15, 8, 9, 7, 6, 0],
"result": "valid"
},
{
"tcId": 271,
"comment": "y = 1 and (y + a) % radix**5 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "7c5f4354b4689a2a0dfc6cf6",
"msg": [14, 8, 9, 7, 1, 5, 5, 0, 0, 10],
"ct": [0, 0, 0, 0, 0, 7, 12, 13, 13, 7],
"result": "valid"
},
{
"tcId": 272,
"comment": "y is maximal and (y + a) % radix**5 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "aad36c0b052764acc8d125c1",
"msg": [0, 0, 0, 0, 0, 5, 4, 14, 5, 1],
"ct": [10, 8, 1, 12, 5, 0, 6, 3, 2, 2],
"result": "valid"
},
{
"tcId": 273,
"comment": "y is maximal and (y + a) % radix**5 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "aad36c0b052764acc8d125c1",
"msg": [0, 0, 0, 0, 1, 5, 4, 14, 5, 1],
"ct": [4, 10, 1, 10, 6, 9, 3, 3, 2, 7],
"result": "valid"
},
{
"tcId": 274,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "aad36c0b052764acc8d125c1",
"msg": [8, 0, 0, 0, 0, 5, 4, 14, 5, 1],
"ct": [11, 13, 2, 1, 13, 15, 4, 5, 2, 13],
"result": "valid"
},
{
"tcId": 275,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "aad36c0b052764acc8d125c1",
"msg": [15, 15, 15, 15, 15, 5, 4, 14, 5, 1],
"ct": [6, 6, 5, 8, 14, 6, 10, 4, 12, 7],
"result": "valid"
},
{
"tcId": 276,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "315e3da471d37d55020d2252",
"msg": [2, 5, 4, 14, 6, 15, 2, 7, 4, 1],
"ct": [15, 15, 15, 15, 0, 12, 15, 13, 9, 9],
"result": "valid"
},
{
"tcId": 277,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "315e3da471d37d55020d2252",
"msg": [7, 14, 1, 15, 1, 8, 5, 0, 11, 3],
"ct": [15, 15, 15, 15, 1, 4, 2, 2, 6, 3],
"result": "valid"
},
{
"tcId": 278,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "315e3da471d37d55020d2252",
"msg": [2, 10, 11, 3, 8, 7, 1, 11, 5, 1],
"ct": [15, 15, 15, 15, 15, 9, 10, 8, 1, 5],
"result": "valid"
},
{
"tcId": 279,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "315e3da471d37d55020d2252",
"msg": [6, 8, 7, 0, 4, 1, 15, 11, 9, 4],
"ct": [0, 0, 0, 0, 0, 14, 8, 5, 10, 3],
"result": "valid"
},
{
"tcId": 280,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "315e3da471d37d55020d2252",
"msg": [0, 8, 7, 4, 9, 4, 11, 0, 11, 0],
"ct": [7, 15, 15, 15, 0, 11, 11, 3, 15, 11],
"result": "valid"
},
{
"tcId": 281,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "315e3da471d37d55020d2252",
"msg": [9, 10, 15, 1, 0, 5, 9, 13, 2, 14],
"ct": [15, 15, 15, 14, 15, 12, 5, 14, 5, 8],
"result": "valid"
},
{
"tcId": 282,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "836f1d2ae7b9033ed49a40f4",
"msg": [7, 7, 14, 4, 0, 0, 0, 0, 0, 0],
"ct": [12, 12, 9, 1, 2, 11, 15, 11, 7, 11],
"result": "valid"
},
{
"tcId": 283,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "836f1d2ae7b9033ed49a40f4",
"msg": [3, 1, 14, 2, 5, 0, 0, 0, 0, 1],
"ct": [0, 15, 0, 15, 10, 5, 9, 13, 1, 12],
"result": "valid"
},
{
"tcId": 284,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "836f1d2ae7b9033ed49a40f4",
"msg": [3, 5, 11, 4, 9, 8, 0, 0, 0, 0],
"ct": [3, 13, 15, 7, 8, 6, 6, 5, 14, 5],
"result": "valid"
},
{
"tcId": 285,
"comment": "y is maximal after modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "836f1d2ae7b9033ed49a40f4",
"msg": [15, 7, 7, 6, 10, 15, 15, 15, 15, 15],
"ct": [2, 6, 12, 5, 12, 0, 7, 1, 5, 13],
"result": "valid"
},
{
"tcId": 286,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c2153daac19904cf16ea81dbc73a58dc",
"tweak": "38b7196a238d3892",
"msg": [-1, 10, 9, 9, 15, 1, 7, 3, 7, 0],
"ct": [9, 5, 8, 12, 6, 6, 9, 9, 2, 9],
"result": "invalid"
},
{
"tcId": 287,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c2153daac19904cf16ea81dbc73a58dc",
"tweak": "38b7196a238d3892",
"msg": [11, 10, 9, -1, 15, 1, 7, 3, 7, 0],
"ct": [8, 11, 0, 6, 10, 7, 11, 0, 7, 3],
"result": "invalid"
},
{
"tcId": 288,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c2153daac19904cf16ea81dbc73a58dc",
"tweak": "38b7196a238d3892",
"msg": [11, 10, 9, 9, 15, 1, 7, 3, 7, -1],
"ct": [9, 12, 6, 11, 10, 4, 3, 5, 4, 3],
"result": "invalid"
},
{
"tcId": 289,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5ced9b2e48a90f9e94df9582ef7928a5",
"tweak": "47e48cf1798864aa",
"msg": [16, 11, 14, 0, 6, 3, 4, 15, 14, 14],
"ct": [14, 7, 9, 13, 14, 5, 15, 12, 0, 11],
"result": "invalid"
},
{
"tcId": 290,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5ced9b2e48a90f9e94df9582ef7928a5",
"tweak": "47e48cf1798864aa",
"msg": [8, 11, 14, 16, 6, 3, 4, 15, 14, 14],
"ct": [13, 13, 10, 14, 13, 1, 0, 14, 10, 8],
"result": "invalid"
},
{
"tcId": 291,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5ced9b2e48a90f9e94df9582ef7928a5",
"tweak": "47e48cf1798864aa",
"msg": [8, 11, 14, 0, 6, 3, 4, 15, 14, 16],
"ct": [6, 9, 6, 8, 1, 2, 14, 10, 6, 9],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 11,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 292,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "63396f38c44f0c2d97468c4804b5d022",
"tweak": "73068af95fd924fc",
"msg": [2, 11, 10, 11, 15, 7, 8, 10, 14, 9, 6],
"ct": [10, 8, 12, 3, 14, 4, 14, 10, 0, 3, 3],
"result": "valid"
},
{
"tcId": 293,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 0, 15, 5, 7, 8, 7, 12, 6, 7, 8],
"result": "valid"
},
{
"tcId": 294,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [2, 1, 8, 7, 13, 5, 2, 6, 4, 2, 7],
"result": "valid"
},
{
"tcId": 295,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [8, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0],
"ct": [3, 6, 13, 5, 12, 12, 11, 8, 13, 6, 0],
"result": "valid"
},
{
"tcId": 296,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [7, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15],
"ct": [9, 12, 1, 12, 8, 3, 11, 14, 9, 0, 11],
"result": "valid"
},
{
"tcId": 297,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [14, 15, 12, 0, 7, 6, 14, 5, 1, 12, 0],
"ct": [3, 11, 12, 13, 7, 7, 4, 3, 3, 9, 8],
"result": "valid"
},
{
"tcId": 298,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [8, 3, 2, 13, 7, 8, 3, 3, 5, 5, 6],
"ct": [1, 8, 7, 14, 3, 5, 1, 6, 5, 6, 5],
"result": "valid"
},
{
"tcId": 299,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [8, 12, 2, 12, 6, 10, 2, 0, 3, 15, 0],
"ct": [0, 5, 11, 1, 8, 0, 7, 7, 5, 1, 2],
"result": "valid"
},
{
"tcId": 300,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [7, 4, 1, 9, 13, 5, 15, 15, 6, 14, 11],
"ct": [6, 2, 10, 5, 12, 14, 8, 8, 0, 2, 9],
"result": "valid"
},
{
"tcId": 301,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [2, 11, 12, 3, 6, 4, 7, 12, 8, 15, 1],
"ct": [0, 6, 2, 6, 12, 15, 5, 4, 14, 6, 0],
"result": "valid"
},
{
"tcId": 302,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [3, 7, 10, 15, 7, 8, 0, 9, 11, 0, 12],
"ct": [8, 7, 5, 14, 13, 11, 10, 15, 5, 0, 5],
"result": "valid"
},
{
"tcId": 303,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [12, 14, 6, 10, 9, 1, 5, 2, 15, 8, 5],
"ct": [12, 5, 4, 2, 4, 13, 2, 15, 13, 12, 3],
"result": "valid"
},
{
"tcId": 304,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [9, 0, 13, 12, 15, 14, 7, 5, 7, 13, 5],
"ct": [13, 14, 10, 11, 0, 1, 14, 9, 13, 13, 6],
"result": "valid"
},
{
"tcId": 305,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [10, 7, 11, 2, 2, 13, 15, 2, 6, 10, 9],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 306,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [7, 15, 8, 2, 5, 4, 11, 10, 4, 5, 15],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 307,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [15, 1, 12, 9, 0, 2, 10, 6, 10, 8, 2],
"ct": [8, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 308,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [13, 13, 10, 2, 3, 9, 8, 5, 7, 15, 13],
"ct": [7, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 309,
"comment": "y = 0 and (y + a) % radix**5 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "5c849e94a3789df85e00539c",
"msg": [9, 5, 3, 0, 12, 1, 15, 14, 12, 6, 5],
"ct": [7, 11, 6, 7, 0, 9, 12, 14, 9, 6, 13],
"result": "valid"
},
{
"tcId": 310,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "5c849e94a3789df85e00539c",
"msg": [6, 7, 4, 8, 5, 13, 9, 5, 15, 5, 3],
"ct": [1, 13, 4, 5, 5, 7, 12, 8, 11, 15, 3],
"result": "valid"
},
{
"tcId": 311,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "5c849e94a3789df85e00539c",
"msg": [15, 13, 9, 14, 13, 1, 4, 6, 12, 13, 13],
"ct": [14, 9, 10, 4, 7, 3, 14, 4, 3, 4, 7],
"result": "valid"
},
{
"tcId": 312,
"comment": "y = 0 and (y + a) % radix**5 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "5c849e94a3789df85e00539c",
"msg": [1, 15, 11, 13, 4, 8, 14, 8, 4, 12, 0],
"ct": [2, 2, 3, 8, 10, 1, 14, 3, 6, 15, 0],
"result": "valid"
},
{
"tcId": 313,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "093ca48c35a8ab11a230c3ac",
"msg": [8, 6, 6, 2, 10, 1, 5, 7, 8, 8, 9],
"ct": [0, 11, 6, 13, 5, 1, 5, 0, 1, 5, 9],
"result": "valid"
},
{
"tcId": 314,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "093ca48c35a8ab11a230c3ac",
"msg": [10, 12, 7, 5, 3, 13, 13, 6, 4, 1, 11],
"ct": [6, 14, 4, 10, 1, 0, 9, 10, 0, 5, 9],
"result": "valid"
},
{
"tcId": 315,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "093ca48c35a8ab11a230c3ac",
"msg": [2, 13, 11, 8, 4, 12, 12, 14, 14, 6, 0],
"ct": [2, 7, 5, 3, 13, 7, 15, 6, 13, 9, 0],
"result": "valid"
},
{
"tcId": 316,
"comment": "y = 1 and (y + a) % radix**5 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "093ca48c35a8ab11a230c3ac",
"msg": [2, 11, 1, 11, 15, 3, 9, 5, 1, 5, 0],
"ct": [1, 14, 8, 10, 13, 2, 12, 0, 5, 9, 6],
"result": "valid"
},
{
"tcId": 317,
"comment": "y = 1 and (y + a) % radix**5 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "093ca48c35a8ab11a230c3ac",
"msg": [11, 10, 4, 11, 1, 14, 2, 14, 9, 14, 2],
"ct": [14, 1, 2, 12, 9, 11, 5, 9, 5, 13, 10],
"result": "valid"
},
{
"tcId": 318,
"comment": "y is maximal and (y + a) % radix**5 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "eedbed24033da7e78bb6f695",
"msg": [11, 1, 12, 14, 13, 2, 3, 5, 6, 0, 4],
"ct": [15, 15, 15, 15, 15, 6, 10, 7, 12, 10, 9],
"result": "valid"
},
{
"tcId": 319,
"comment": "y is maximal and (y + a) % radix**5 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "eedbed24033da7e78bb6f695",
"msg": [10, 4, 8, 13, 12, 0, 12, 7, 8, 12, 11],
"ct": [0, 0, 0, 0, 0, 9, 10, 2, 12, 0, 14],
"result": "valid"
},
{
"tcId": 320,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "eedbed24033da7e78bb6f695",
"msg": [7, 7, 4, 12, 15, 6, 8, 6, 4, 13, 1],
"ct": [7, 15, 15, 15, 15, 0, 7, 6, 15, 10, 11],
"result": "valid"
},
{
"tcId": 321,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "eedbed24033da7e78bb6f695",
"msg": [13, 15, 6, 13, 5, 13, 13, 14, 5, 4, 7],
"ct": [15, 15, 15, 15, 14, 7, 15, 14, 12, 3, 0],
"result": "valid"
},
{
"tcId": 322,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "5e9bf28b1837cdee25dbd15b",
"msg": [10, 9, 11, 1, 10, 8, 12, 11, 10, 4, 10],
"ct": [4, 8, 12, 4, 3, 4, 9, 13, 12, 0, 13],
"result": "valid"
},
{
"tcId": 323,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "5e9bf28b1837cdee25dbd15b",
"msg": [7, 7, 5, 11, 0, 3, 0, 5, 2, 12, 10],
"ct": [0, 6, 14, 9, 7, 3, 10, 11, 11, 3, 8],
"result": "valid"
},
{
"tcId": 324,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "5e9bf28b1837cdee25dbd15b",
"msg": [0, 13, 2, 10, 10, 5, 0, 1, 15, 0, 7],
"ct": [9, 2, 6, 5, 2, 1, 15, 4, 6, 1, 8],
"result": "valid"
},
{
"tcId": 325,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "5e9bf28b1837cdee25dbd15b",
"msg": [6, 15, 4, 0, 10, 7, 7, 6, 7, 13, 6],
"ct": [8, 1, 0, 3, 10, 9, 2, 2, 3, 4, 2],
"result": "valid"
},
{
"tcId": 326,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "5e9bf28b1837cdee25dbd15b",
"msg": [10, 0, 0, 4, 0, 6, 7, 1, 1, 6, 3],
"ct": [15, 8, 3, 9, 2, 4, 9, 3, 0, 3, 2],
"result": "valid"
},
{
"tcId": 327,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "5e9bf28b1837cdee25dbd15b",
"msg": [5, 7, 6, 6, 15, 6, 12, 13, 3, 15, 7],
"ct": [15, 5, 12, 13, 7, 10, 9, 10, 13, 11, 4],
"result": "valid"
},
{
"tcId": 328,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "421e042dfd05b63b624a6e01",
"msg": [0, 0, 0, 0, 0, 9, 0, 5, 13, 12, 10],
"ct": [6, 3, 2, 0, 0, 13, 8, 8, 7, 5, 11],
"result": "valid"
},
{
"tcId": 329,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "421e042dfd05b63b624a6e01",
"msg": [0, 0, 0, 0, 1, 9, 0, 5, 13, 12, 10],
"ct": [10, 2, 4, 6, 11, 9, 12, 7, 8, 7, 7],
"result": "valid"
},
{
"tcId": 330,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "421e042dfd05b63b624a6e01",
"msg": [8, 0, 0, 0, 0, 9, 0, 5, 13, 12, 10],
"ct": [3, 8, 3, 9, 7, 1, 0, 1, 14, 8, 5],
"result": "valid"
},
{
"tcId": 331,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "421e042dfd05b63b624a6e01",
"msg": [15, 15, 15, 15, 15, 9, 0, 5, 13, 12, 10],
"ct": [9, 1, 10, 10, 2, 9, 14, 6, 12, 5, 3],
"result": "valid"
},
{
"tcId": 332,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0b55b77a1d06778b795b541037eabb26",
"tweak": "3e26f18ba99add01",
"msg": [-1, 10, 8, 9, 0, 14, 1, 4, 5, 12, 11],
"ct": [2, 0, 4, 13, 8, 4, 1, 1, 12, 13, 12],
"result": "invalid"
},
{
"tcId": 333,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0b55b77a1d06778b795b541037eabb26",
"tweak": "3e26f18ba99add01",
"msg": [14, 10, 8, -1, 0, 14, 1, 4, 5, 12, 11],
"ct": [12, 5, 8, 8, 2, 6, 0, 6, 13, 1, 5],
"result": "invalid"
},
{
"tcId": 334,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0b55b77a1d06778b795b541037eabb26",
"tweak": "3e26f18ba99add01",
"msg": [14, 10, 8, 9, 0, 14, 1, 4, 5, 12, -1],
"ct": [3, 3, 0, 1, 12, 2, 8, 3, 9, 9, 14],
"result": "invalid"
},
{
"tcId": 335,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "089197b158eb1bb8c2203e4daaba1d31",
"tweak": "bfc9b48ccf32f706",
"msg": [16, 13, 11, 13, 12, 13, 10, 1, 11, 15, 15],
"ct": [4, 2, 2, 1, 2, 10, 15, 8, 7, 10, 8],
"result": "invalid"
},
{
"tcId": 336,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "089197b158eb1bb8c2203e4daaba1d31",
"tweak": "bfc9b48ccf32f706",
"msg": [7, 13, 11, 16, 12, 13, 10, 1, 11, 15, 15],
"ct": [13, 10, 15, 4, 3, 15, 0, 4, 4, 13, 1],
"result": "invalid"
},
{
"tcId": 337,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "089197b158eb1bb8c2203e4daaba1d31",
"tweak": "bfc9b48ccf32f706",
"msg": [7, 13, 11, 13, 12, 13, 10, 1, 11, 15, 16],
"ct": [9, 0, 2, 0, 1, 12, 10, 13, 4, 11, 3],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 12,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 338,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "ddc31fc7751a2bf5c8d2d815035622e8",
"tweak": "0e10628c19795c4e",
"msg": [3, 5, 7, 9, 11, 13, 14, 6, 15, 7, 8, 15],
"ct": [15, 5, 14, 2, 4, 7, 14, 14, 9, 7, 12, 3],
"result": "valid"
},
{
"tcId": 339,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [6, 14, 9, 8, 10, 8, 9, 7, 1, 8, 5, 12],
"result": "valid"
},
{
"tcId": 340,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [2, 6, 1, 10, 2, 6, 8, 9, 13, 1, 2, 14],
"result": "valid"
},
{
"tcId": 341,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [8, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0],
"ct": [12, 5, 7, 2, 10, 11, 15, 12, 2, 9, 3, 8],
"result": "valid"
},
{
"tcId": 342,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [7, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15],
"ct": [6, 13, 1, 15, 9, 4, 13, 15, 13, 9, 2, 10],
"result": "valid"
},
{
"tcId": 343,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [14, 0, 8, 15, 0, 0, 2, 10, 8, 5, 8, 11],
"ct": [8, 10, 0, 10, 5, 5, 6, 13, 4, 14, 13, 14],
"result": "valid"
},
{
"tcId": 344,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [3, 12, 7, 6, 0, 11, 8, 2, 9, 5, 14, 8],
"ct": [14, 9, 9, 1, 9, 1, 13, 13, 6, 6, 1, 1],
"result": "valid"
},
{
"tcId": 345,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [2, 1, 6, 6, 15, 0, 9, 2, 6, 12, 14, 3],
"ct": [6, 8, 10, 8, 2, 14, 1, 11, 6, 4, 0, 3],
"result": "valid"
},
{
"tcId": 346,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [0, 10, 6, 10, 11, 12, 6, 1, 3, 7, 1, 8],
"ct": [8, 13, 13, 9, 13, 15, 13, 0, 14, 1, 6, 3],
"result": "valid"
},
{
"tcId": 347,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [5, 1, 1, 15, 5, 14, 9, 9, 15, 4, 3, 4],
"ct": [5, 4, 7, 1, 2, 6, 3, 10, 4, 1, 2, 7],
"result": "valid"
},
{
"tcId": 348,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [1, 2, 8, 14, 14, 0, 1, 12, 15, 13, 4, 9],
"ct": [6, 3, 4, 15, 2, 14, 10, 13, 5, 13, 8, 15],
"result": "valid"
},
{
"tcId": 349,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [3, 3, 0, 0, 8, 10, 7, 7, 8, 11, 15, 15],
"ct": [5, 6, 3, 4, 3, 8, 5, 4, 7, 13, 5, 14],
"result": "valid"
},
{
"tcId": 350,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [14, 3, 13, 4, 8, 14, 2, 5, 1, 13, 3, 2],
"ct": [8, 14, 2, 7, 14, 13, 13, 0, 7, 11, 3, 5],
"result": "valid"
},
{
"tcId": 351,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [10, 13, 4, 6, 9, 12, 11, 11, 12, 15, 13, 0],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 352,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [2, 14, 1, 3, 1, 7, 0, 1, 13, 0, 15, 15],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 353,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [14, 3, 13, 14, 14, 15, 4, 7, 9, 3, 13, 11],
"ct": [8, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 354,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [9, 3, 8, 15, 15, 9, 15, 4, 3, 2, 12, 0],
"ct": [7, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 355,
"comment": "y = 0 and (y + a) % radix**6 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "96eaefbc9b708e8ae3edd37a",
"msg": [0, 3, 12, 11, 14, 2, 0, 10, 6, 14, 13, 5],
"ct": [6, 7, 3, 1, 12, 0, 11, 12, 10, 2, 13, 14],
"result": "valid"
},
{
"tcId": 356,
"comment": "y = 0 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "96eaefbc9b708e8ae3edd37a",
"msg": [9, 2, 2, 5, 1, 5, 14, 12, 1, 11, 12, 7],
"ct": [8, 11, 6, 10, 11, 6, 6, 11, 1, 11, 2, 3],
"result": "valid"
},
{
"tcId": 357,
"comment": "y = 0 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "96eaefbc9b708e8ae3edd37a",
"msg": [0, 14, 3, 2, 6, 2, 3, 3, 15, 8, 8, 14],
"ct": [8, 6, 10, 9, 0, 4, 3, 2, 13, 1, 4, 7],
"result": "valid"
},
{
"tcId": 358,
"comment": "y = 0 and (y + a) % radix**6 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "96eaefbc9b708e8ae3edd37a",
"msg": [5, 0, 3, 1, 4, 6, 9, 8, 15, 7, 13, 15],
"ct": [9, 1, 12, 9, 10, 15, 12, 13, 13, 11, 5, 9],
"result": "valid"
},
{
"tcId": 359,
"comment": "y = 1 and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "e8840660367904c8d28b919f",
"msg": [8, 4, 7, 15, 3, 7, 9, 5, 15, 6, 2, 9],
"ct": [10, 15, 1, 2, 7, 15, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 360,
"comment": "y = 1 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "e8840660367904c8d28b919f",
"msg": [1, 9, 11, 9, 5, 3, 12, 4, 1, 10, 5, 15],
"ct": [10, 15, 1, 2, 7, 15, 0, 0, 0, 0, 0, 2],
"result": "valid"
},
{
"tcId": 361,
"comment": "y = 1 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "e8840660367904c8d28b919f",
"msg": [6, 7, 3, 2, 6, 3, 6, 5, 13, 2, 9, 15],
"ct": [10, 15, 1, 2, 7, 15, 8, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 362,
"comment": "y = 1 and (y + a) % radix**6 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "e8840660367904c8d28b919f",
"msg": [2, 14, 15, 8, 7, 2, 0, 1, 0, 0, 4, 13],
"ct": [10, 15, 1, 2, 7, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 363,
"comment": "y = 1 and (y + a) % radix**6 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "e8840660367904c8d28b919f",
"msg": [14, 14, 10, 6, 1, 12, 11, 3, 15, 1, 7, 5],
"ct": [10, 15, 1, 2, 7, 15, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 364,
"comment": "y is maximal and (y + a) % radix**6 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "3c820ba737a2cc5bd7ee75bb",
"msg": [7, 12, 13, 0, 5, 9, 0, 0, 0, 0, 0, 0],
"ct": [0, 11, 9, 9, 13, 13, 6, 7, 3, 8, 14, 14],
"result": "valid"
},
{
"tcId": 365,
"comment": "y is maximal and (y + a) % radix**6 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "3c820ba737a2cc5bd7ee75bb",
"msg": [12, 7, 14, 1, 10, 3, 0, 0, 0, 0, 0, 1],
"ct": [0, 5, 14, 5, 11, 14, 15, 6, 7, 7, 6, 6],
"result": "valid"
},
{
"tcId": 366,
"comment": "y is maximal and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "3c820ba737a2cc5bd7ee75bb",
"msg": [11, 6, 5, 10, 5, 14, 8, 0, 0, 0, 0, 0],
"ct": [9, 4, 6, 11, 14, 3, 15, 6, 8, 8, 1, 7],
"result": "valid"
},
{
"tcId": 367,
"comment": "y is maximal and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "3c820ba737a2cc5bd7ee75bb",
"msg": [11, 6, 3, 12, 15, 12, 15, 15, 15, 15, 15, 15],
"ct": [10, 5, 10, 7, 2, 5, 10, 8, 5, 6, 9, 12],
"result": "valid"
},
{
"tcId": 368,
"comment": "y is edge case for modular reduction and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "95484ebb9a446b1b801bb277",
"msg": [14, 14, 12, 1, 7, 5, 8, 11, 1, 4, 15, 11],
"ct": [8, 0, 14, 1, 12, 1, 0, 0, 2, 4, 0, 13],
"result": "valid"
},
{
"tcId": 369,
"comment": "y is edge case for modular reduction and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "95484ebb9a446b1b801bb277",
"msg": [12, 6, 10, 12, 12, 2, 14, 12, 9, 0, 14, 15],
"ct": [7, 3, 12, 3, 9, 5, 11, 2, 1, 4, 0, 11],
"result": "valid"
},
{
"tcId": 370,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "95484ebb9a446b1b801bb277",
"msg": [4, 11, 6, 10, 7, 11, 11, 8, 13, 3, 6, 10],
"ct": [7, 0, 12, 15, 2, 6, 9, 7, 10, 8, 6, 11],
"result": "valid"
},
{
"tcId": 371,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "95484ebb9a446b1b801bb277",
"msg": [15, 0, 12, 2, 0, 11, 6, 6, 1, 0, 6, 7],
"ct": [4, 0, 6, 0, 11, 12, 5, 12, 6, 12, 14, 11],
"result": "valid"
},
{
"tcId": 372,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "95484ebb9a446b1b801bb277",
"msg": [1, 2, 1, 6, 12, 14, 4, 10, 15, 1, 8, 10],
"ct": [11, 3, 4, 3, 12, 1, 12, 15, 10, 6, 2, 8],
"result": "valid"
},
{
"tcId": 373,
"comment": "y is edge case for modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "95484ebb9a446b1b801bb277",
"msg": [0, 10, 6, 12, 8, 6, 5, 12, 11, 0, 7, 11],
"ct": [4, 5, 13, 10, 12, 15, 3, 15, 1, 12, 10, 4],
"result": "valid"
},
{
"tcId": 374,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "469541d0ef5c6eb865d1efe7",
"msg": [14, 11, 8, 5, 14, 1, 14, 13, 7, 4, 7, 4],
"ct": [4, 8, 1, 3, 8, 14, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 375,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "469541d0ef5c6eb865d1efe7",
"msg": [0, 6, 2, 0, 11, 6, 0, 10, 7, 9, 10, 9],
"ct": [4, 8, 1, 3, 8, 14, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 376,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "469541d0ef5c6eb865d1efe7",
"msg": [15, 14, 3, 14, 8, 4, 8, 15, 7, 12, 14, 6],
"ct": [4, 8, 1, 3, 8, 14, 7, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 377,
"comment": "y is maximal after modular reduction and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "469541d0ef5c6eb865d1efe7",
"msg": [10, 4, 8, 2, 5, 3, 1, 15, 11, 4, 7, 2],
"ct": [4, 8, 1, 3, 8, 14, 15, 15, 15, 15, 15, 14],
"result": "valid"
},
{
"tcId": 378,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dbac185fba36fe7028184de1a577dbaa",
"tweak": "6ba28735b4acc0ff",
"msg": [-1, 4, 5, 12, 5, 5, 6, 15, 6, 9, 5, 11],
"ct": [6, 8, 1, 11, 2, 14, 9, 11, 11, 10, 7, 15],
"result": "invalid"
},
{
"tcId": 379,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dbac185fba36fe7028184de1a577dbaa",
"tweak": "6ba28735b4acc0ff",
"msg": [10, 4, 5, 12, -1, 5, 6, 15, 6, 9, 5, 11],
"ct": [9, 12, 0, 2, 13, 5, 9, 8, 12, 10, 13, 15],
"result": "invalid"
},
{
"tcId": 380,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dbac185fba36fe7028184de1a577dbaa",
"tweak": "6ba28735b4acc0ff",
"msg": [10, 4, 5, 12, 5, 5, 6, 15, 6, 9, 5, -1],
"ct": [5, 11, 2, 15, 4, 1, 13, 8, 8, 5, 8, 3],
"result": "invalid"
},
{
"tcId": 381,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "04bc5216ccd679be8574bdb697bc0646",
"tweak": "17f743aa93104791",
"msg": [16, 13, 1, 1, 10, 3, 9, 0, 12, 6, 12, 11],
"ct": [5, 7, 4, 15, 15, 15, 0, 0, 11, 2, 6, 8],
"result": "invalid"
},
{
"tcId": 382,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "04bc5216ccd679be8574bdb697bc0646",
"tweak": "17f743aa93104791",
"msg": [10, 13, 1, 1, 16, 3, 9, 0, 12, 6, 12, 11],
"ct": [1, 4, 6, 6, 7, 8, 13, 2, 11, 1, 9, 10],
"result": "invalid"
},
{
"tcId": 383,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "04bc5216ccd679be8574bdb697bc0646",
"tweak": "17f743aa93104791",
"msg": [10, 13, 1, 1, 10, 3, 9, 0, 12, 6, 12, 16],
"ct": [3, 5, 4, 4, 1, 10, 5, 6, 4, 14, 3, 9],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 13,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 384,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "d5e6c882f005525ce577f704ef6b525d",
"tweak": "7ce1a7a4e6508c83",
"msg": [5, 12, 13, 1, 13, 4, 15, 10, 2, 10, 15, 8, 5],
"ct": [13, 11, 12, 2, 5, 7, 10, 5, 13, 3, 15, 4, 13],
"result": "valid"
},
{
"tcId": 385,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [7, 0, 1, 11, 11, 15, 11, 0, 5, 1, 11, 0, 2],
"result": "valid"
},
{
"tcId": 386,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [2, 14, 10, 2, 9, 6, 7, 7, 3, 15, 7, 1, 9],
"result": "valid"
},
{
"tcId": 387,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [8, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0],
"ct": [11, 4, 1, 6, 12, 8, 11, 10, 2, 4, 10, 8, 6],
"result": "valid"
},
{
"tcId": 388,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [7, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15],
"ct": [10, 3, 9, 13, 7, 8, 5, 7, 4, 4, 4, 4, 0],
"result": "valid"
},
{
"tcId": 389,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [7, 0, 2, 6, 8, 2, 3, 11, 0, 8, 7, 13, 1],
"ct": [11, 3, 13, 12, 7, 9, 4, 2, 12, 14, 9, 4, 3],
"result": "valid"
},
{
"tcId": 390,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [3, 2, 6, 3, 10, 5, 1, 6, 2, 1, 1, 15, 5],
"ct": [13, 6, 6, 12, 10, 9, 13, 5, 1, 6, 0, 0, 15],
"result": "valid"
},
{
"tcId": 391,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [7, 0, 4, 4, 10, 14, 4, 12, 4, 15, 2, 4, 13],
"ct": [0, 2, 3, 4, 14, 7, 11, 10, 1, 7, 12, 8, 8],
"result": "valid"
},
{
"tcId": 392,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [8, 6, 6, 12, 6, 14, 6, 10, 14, 7, 8, 2, 4],
"ct": [0, 7, 11, 5, 14, 11, 0, 11, 3, 13, 10, 11, 11],
"result": "valid"
},
{
"tcId": 393,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [14, 11, 2, 3, 11, 15, 4, 13, 10, 8, 4, 2, 8],
"ct": [6, 15, 14, 12, 8, 2, 15, 4, 7, 12, 4, 14, 0],
"result": "valid"
},
{
"tcId": 394,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [2, 2, 3, 2, 1, 14, 5, 11, 13, 8, 14, 15, 5],
"ct": [5, 3, 7, 4, 4, 13, 11, 13, 15, 3, 15, 11, 14],
"result": "valid"
},
{
"tcId": 395,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [10, 5, 10, 7, 4, 6, 11, 3, 9, 10, 3, 9, 13],
"ct": [12, 10, 5, 15, 0, 4, 9, 10, 11, 5, 6, 1, 15],
"result": "valid"
},
{
"tcId": 396,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [11, 10, 14, 1, 13, 13, 12, 14, 4, 3, 6, 7, 6],
"ct": [2, 6, 13, 13, 11, 11, 11, 11, 14, 12, 13, 0, 3],
"result": "valid"
},
{
"tcId": 397,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [7, 11, 13, 7, 4, 6, 12, 9, 10, 9, 13, 3, 0],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 398,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [15, 5, 6, 7, 0, 14, 15, 2, 12, 7, 3, 11, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 399,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [15, 3, 4, 14, 12, 1, 6, 1, 8, 5, 11, 4, 2],
"ct": [8, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 400,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [9, 4, 13, 14, 3, 3, 1, 15, 14, 1, 4, 1, 11],
"ct": [7, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 401,
"comment": "y = 0 and (y + a) % radix**6 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "b32c374d59d5ad22376ce3",
"msg": [13, 5, 15, 11, 13, 9, 12, 4, 11, 2, 8, 10, 9],
"ct": [5, 8, 3, 4, 7, 6, 0, 4, 13, 9, 8, 4, 11],
"result": "valid"
},
{
"tcId": 402,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "b32c374d59d5ad22376ce3",
"msg": [9, 4, 11, 4, 0, 15, 14, 3, 4, 12, 11, 6, 15],
"ct": [6, 11, 4, 6, 10, 13, 7, 15, 9, 14, 0, 13, 11],
"result": "valid"
},
{
"tcId": 403,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "b32c374d59d5ad22376ce3",
"msg": [2, 5, 8, 11, 11, 5, 2, 1, 15, 8, 8, 3, 14],
"ct": [8, 15, 6, 8, 3, 6, 2, 15, 8, 3, 12, 9, 14],
"result": "valid"
},
{
"tcId": 404,
"comment": "y = 0 and (y + a) % radix**6 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "b32c374d59d5ad22376ce3",
"msg": [2, 13, 15, 15, 9, 6, 7, 14, 4, 12, 3, 10, 11],
"ct": [11, 15, 7, 10, 12, 5, 14, 2, 14, 14, 1, 9, 3],
"result": "valid"
},
{
"tcId": 405,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "29c1153a8c34a04fab3f82",
"msg": [8, 3, 7, 8, 6, 8, 15, 2, 1, 9, 11, 1, 8],
"ct": [9, 13, 8, 6, 6, 11, 12, 8, 8, 1, 2, 10, 12],
"result": "valid"
},
{
"tcId": 406,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "29c1153a8c34a04fab3f82",
"msg": [4, 6, 2, 0, 10, 4, 8, 12, 8, 15, 13, 0, 1],
"ct": [14, 12, 9, 15, 8, 15, 7, 8, 4, 6, 2, 8, 15],
"result": "valid"
},
{
"tcId": 407,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "29c1153a8c34a04fab3f82",
"msg": [2, 2, 4, 1, 11, 1, 6, 7, 3, 0, 2, 2, 2],
"ct": [6, 8, 8, 8, 11, 2, 3, 6, 13, 3, 12, 6, 6],
"result": "valid"
},
{
"tcId": 408,
"comment": "y = 1 and (y + a) % radix**6 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "29c1153a8c34a04fab3f82",
"msg": [0, 10, 6, 5, 3, 2, 12, 12, 4, 5, 14, 13, 0],
"ct": [12, 9, 2, 3, 0, 5, 15, 10, 1, 10, 13, 3, 1],
"result": "valid"
},
{
"tcId": 409,
"comment": "y = 1 and (y + a) % radix**6 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "29c1153a8c34a04fab3f82",
"msg": [7, 8, 6, 2, 8, 13, 5, 12, 15, 11, 1, 5, 0],
"ct": [14, 0, 12, 0, 13, 6, 5, 5, 14, 15, 9, 10, 10],
"result": "valid"
},
{
"tcId": 410,
"comment": "y is maximal and (y + a) % radix**6 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "5307c834ea4e17c9888b0c",
"msg": [0, 0, 0, 0, 0, 0, 12, 6, 15, 5, 9, 8, 2],
"ct": [4, 1, 15, 1, 13, 13, 8, 6, 0, 13, 0, 6, 6],
"result": "valid"
},
{
"tcId": 411,
"comment": "y is maximal and (y + a) % radix**6 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "5307c834ea4e17c9888b0c",
"msg": [0, 0, 0, 0, 0, 1, 12, 6, 15, 5, 9, 8, 2],
"ct": [5, 14, 12, 3, 8, 11, 1, 1, 13, 12, 12, 3, 14],
"result": "valid"
},
{
"tcId": 412,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "5307c834ea4e17c9888b0c",
"msg": [8, 0, 0, 0, 0, 0, 12, 6, 15, 5, 9, 8, 2],
"ct": [5, 12, 13, 12, 3, 7, 13, 9, 5, 0, 11, 14, 0],
"result": "valid"
},
{
"tcId": 413,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "5307c834ea4e17c9888b0c",
"msg": [15, 15, 15, 15, 15, 15, 12, 6, 15, 5, 9, 8, 2],
"ct": [3, 13, 10, 3, 10, 7, 1, 10, 8, 5, 13, 15, 8],
"result": "valid"
},
{
"tcId": 414,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "466b414a11a7978241308f",
"msg": [11, 4, 9, 7, 12, 15, 12, 8, 9, 2, 1, 12, 12],
"ct": [12, 9, 2, 0, 2, 14, 2, 11, 13, 2, 15, 0, 5],
"result": "valid"
},
{
"tcId": 415,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "466b414a11a7978241308f",
"msg": [13, 2, 4, 14, 3, 7, 0, 0, 1, 8, 10, 14, 13],
"ct": [0, 13, 5, 6, 8, 4, 7, 10, 11, 0, 0, 15, 10],
"result": "valid"
},
{
"tcId": 416,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "466b414a11a7978241308f",
"msg": [6, 14, 1, 12, 9, 8, 12, 6, 0, 7, 10, 15, 9],
"ct": [2, 15, 12, 8, 1, 15, 10, 11, 14, 8, 13, 15, 15],
"result": "valid"
},
{
"tcId": 417,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "466b414a11a7978241308f",
"msg": [0, 4, 4, 9, 3, 3, 0, 1, 11, 9, 9, 10, 0],
"ct": [1, 11, 8, 6, 0, 15, 3, 4, 13, 15, 6, 15, 14],
"result": "valid"
},
{
"tcId": 418,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "466b414a11a7978241308f",
"msg": [0, 2, 13, 0, 4, 13, 7, 6, 6, 1, 7, 11, 4],
"ct": [12, 13, 2, 4, 14, 7, 11, 14, 15, 12, 7, 3, 12],
"result": "valid"
},
{
"tcId": 419,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "466b414a11a7978241308f",
"msg": [8, 6, 3, 7, 11, 0, 15, 15, 13, 0, 14, 4, 3],
"ct": [12, 6, 2, 7, 11, 2, 11, 12, 10, 12, 3, 15, 15],
"result": "valid"
},
{
"tcId": 420,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "d486cc1d1323285464c218",
"msg": [7, 2, 6, 7, 12, 2, 4, 6, 11, 15, 9, 7, 6],
"ct": [0, 15, 11, 4, 14, 10, 13, 13, 1, 9, 2, 7, 15],
"result": "valid"
},
{
"tcId": 421,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "d486cc1d1323285464c218",
"msg": [3, 2, 7, 0, 9, 0, 15, 10, 7, 10, 7, 6, 9],
"ct": [5, 11, 7, 8, 2, 14, 4, 10, 15, 5, 7, 4, 13],
"result": "valid"
},
{
"tcId": 422,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "d486cc1d1323285464c218",
"msg": [6, 5, 6, 14, 10, 6, 14, 2, 6, 3, 3, 4, 3],
"ct": [2, 7, 14, 7, 11, 9, 13, 7, 6, 13, 6, 0, 7],
"result": "valid"
},
{
"tcId": 423,
"comment": "y is maximal after modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "d486cc1d1323285464c218",
"msg": [0, 9, 13, 1, 14, 8, 2, 5, 13, 4, 7, 15, 1],
"ct": [10, 8, 15, 5, 6, 0, 2, 13, 9, 15, 14, 15, 5],
"result": "valid"
},
{
"tcId": 424,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b8d9b3c80209587bbe3c0f7125eed049",
"tweak": "522499e28e9e7712",
"msg": [-1, 6, 9, 14, 3, 6, 15, 11, 10, 2, 10, 11, 5],
"ct": [2, 1, 13, 14, 5, 3, 14, 6, 9, 12, 15, 6, 6],
"result": "invalid"
},
{
"tcId": 425,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b8d9b3c80209587bbe3c0f7125eed049",
"tweak": "522499e28e9e7712",
"msg": [3, 6, 9, 14, -1, 6, 15, 11, 10, 2, 10, 11, 5],
"ct": [11, 13, 14, 9, 2, 11, 10, 1, 7, 9, 7, 14, 12],
"result": "invalid"
},
{
"tcId": 426,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b8d9b3c80209587bbe3c0f7125eed049",
"tweak": "522499e28e9e7712",
"msg": [3, 6, 9, 14, 3, 6, 15, 11, 10, 2, 10, 11, -1],
"ct": [6, 6, 10, 0, 13, 14, 14, 14, 10, 6, 13, 8, 13],
"result": "invalid"
},
{
"tcId": 427,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1877647d59ac877b0d04ec0cdf49635b",
"tweak": "026aa3fd565a8dd2",
"msg": [16, 0, 11, 9, 0, 13, 0, 8, 13, 12, 10, 8, 7],
"ct": [7, 14, 10, 3, 9, 12, 0, 13, 1, 8, 5, 5, 14],
"result": "invalid"
},
{
"tcId": 428,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1877647d59ac877b0d04ec0cdf49635b",
"tweak": "026aa3fd565a8dd2",
"msg": [4, 0, 11, 9, 16, 13, 0, 8, 13, 12, 10, 8, 7],
"ct": [9, 12, 0, 1, 4, 3, 2, 10, 4, 0, 6, 15, 1],
"result": "invalid"
},
{
"tcId": 429,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1877647d59ac877b0d04ec0cdf49635b",
"tweak": "026aa3fd565a8dd2",
"msg": [4, 0, 11, 9, 0, 13, 0, 8, 13, 12, 10, 8, 16],
"ct": [11, 9, 7, 13, 12, 0, 9, 8, 8, 8, 4, 14, 12],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 14,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 430,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "7a1122636a4417351c97156308d4f6aa",
"tweak": "a9508e64d1ab8e34",
"msg": [6, 6, 3, 1, 11, 14, 8, 8, 12, 11, 9, 10, 6, 12],
"ct": [14, 8, 10, 5, 0, 10, 0, 2, 13, 12, 13, 0, 10, 3],
"result": "valid"
},
{
"tcId": 431,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [13, 5, 3, 5, 11, 3, 11, 5, 15, 11, 15, 9, 5, 15],
"result": "valid"
},
{
"tcId": 432,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [11, 5, 9, 7, 14, 1, 3, 10, 1, 10, 9, 11, 2, 0],
"result": "valid"
},
{
"tcId": 433,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [8, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0],
"ct": [13, 5, 14, 1, 8, 11, 12, 15, 15, 2, 8, 3, 8, 3],
"result": "valid"
},
{
"tcId": 434,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [7, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15],
"ct": [1, 13, 13, 11, 7, 6, 8, 10, 10, 6, 10, 5, 1, 0],
"result": "valid"
},
{
"tcId": 435,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [2, 5, 6, 7, 2, 9, 10, 5, 10, 1, 15, 4, 11, 1],
"ct": [13, 10, 15, 12, 2, 3, 0, 8, 14, 2, 12, 7, 9, 9],
"result": "valid"
},
{
"tcId": 436,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [4, 1, 12, 11, 9, 3, 1, 7, 2, 5, 0, 6, 15, 5],
"ct": [11, 14, 2, 4, 14, 13, 5, 10, 2, 3, 2, 6, 6, 7],
"result": "valid"
},
{
"tcId": 437,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [4, 13, 8, 0, 11, 2, 11, 10, 14, 6, 7, 3, 3, 7],
"ct": [0, 6, 6, 13, 5, 5, 1, 2, 6, 1, 11, 13, 4, 11],
"result": "valid"
},
{
"tcId": 438,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [10, 12, 11, 3, 11, 9, 8, 12, 9, 11, 15, 7, 13, 10],
"ct": [10, 7, 15, 8, 11, 15, 11, 10, 14, 11, 12, 13, 15, 3],
"result": "valid"
},
{
"tcId": 439,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [15, 8, 15, 4, 8, 8, 0, 1, 1, 13, 6, 3, 7, 5],
"ct": [2, 13, 6, 7, 12, 6, 13, 7, 3, 11, 5, 14, 4, 11],
"result": "valid"
},
{
"tcId": 440,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [2, 7, 9, 0, 14, 7, 3, 0, 2, 8, 5, 9, 10, 3],
"ct": [3, 3, 12, 6, 2, 9, 11, 2, 0, 9, 14, 11, 6, 8],
"result": "valid"
},
{
"tcId": 441,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [0, 6, 15, 6, 10, 15, 4, 14, 15, 5, 10, 15, 7, 3],
"ct": [13, 1, 10, 14, 6, 8, 8, 10, 12, 4, 8, 12, 11, 2],
"result": "valid"
},
{
"tcId": 442,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [10, 15, 12, 0, 1, 10, 8, 1, 9, 7, 10, 13, 14, 3],
"ct": [6, 7, 6, 15, 7, 8, 5, 9, 14, 7, 0, 3, 14, 5],
"result": "valid"
},
{
"tcId": 443,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [5, 3, 4, 0, 2, 11, 2, 1, 9, 14, 7, 1, 8, 3],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 444,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [13, 6, 0, 2, 2, 2, 1, 0, 3, 8, 2, 7, 10, 4],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 445,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [12, 7, 0, 4, 13, 4, 13, 10, 12, 3, 11, 6, 14, 3],
"ct": [8, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 446,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [5, 7, 10, 0, 4, 11, 0, 7, 15, 6, 4, 7, 14, 12],
"ct": [7, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 447,
"comment": "y = 0 and (y + a) % radix**7 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "127e4e1eb64057923c5e10",
"msg": [14, 12, 5, 5, 4, 9, 13, 8, 4, 6, 9, 12, 5, 11],
"ct": [13, 14, 12, 3, 13, 13, 1, 4, 8, 10, 6, 4, 14, 8],
"result": "valid"
},
{
"tcId": 448,
"comment": "y = 0 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "127e4e1eb64057923c5e10",
"msg": [12, 0, 15, 10, 8, 4, 0, 10, 9, 9, 15, 7, 9, 8],
"ct": [11, 2, 1, 4, 7, 7, 8, 14, 12, 12, 3, 3, 2, 9],
"result": "valid"
},
{
"tcId": 449,
"comment": "y = 0 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "127e4e1eb64057923c5e10",
"msg": [4, 8, 6, 5, 7, 5, 14, 1, 1, 1, 3, 0, 2, 12],
"ct": [3, 9, 15, 6, 13, 2, 12, 8, 14, 4, 14, 5, 10, 6],
"result": "valid"
},
{
"tcId": 450,
"comment": "y = 0 and (y + a) % radix**7 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "127e4e1eb64057923c5e10",
"msg": [9, 8, 9, 9, 6, 1, 3, 12, 7, 0, 7, 14, 12, 3],
"ct": [5, 15, 0, 3, 11, 6, 15, 14, 14, 10, 4, 1, 12, 15],
"result": "valid"
},
{
"tcId": 451,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "37f015e72948b06b470843",
"msg": [1, 8, 6, 13, 4, 12, 5, 6, 13, 1, 6, 7, 8, 3],
"ct": [0, 12, 7, 12, 4, 3, 13, 2, 11, 3, 15, 7, 9, 2],
"result": "valid"
},
{
"tcId": 452,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "37f015e72948b06b470843",
"msg": [13, 1, 6, 13, 12, 3, 8, 5, 12, 11, 9, 6, 11, 6],
"ct": [10, 11, 3, 13, 14, 5, 3, 4, 4, 8, 13, 10, 14, 4],
"result": "valid"
},
{
"tcId": 453,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "37f015e72948b06b470843",
"msg": [9, 2, 1, 1, 13, 12, 14, 7, 12, 14, 6, 10, 6, 1],
"ct": [1, 0, 15, 4, 10, 14, 0, 6, 12, 1, 4, 1, 14, 14],
"result": "valid"
},
{
"tcId": 454,
"comment": "y = 1 and (y + a) % radix**7 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "37f015e72948b06b470843",
"msg": [2, 15, 9, 10, 2, 14, 0, 4, 4, 6, 8, 11, 6, 1],
"ct": [5, 0, 3, 1, 11, 12, 4, 4, 13, 15, 3, 15, 10, 1],
"result": "valid"
},
{
"tcId": 455,
"comment": "y = 1 and (y + a) % radix**7 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "37f015e72948b06b470843",
"msg": [10, 15, 9, 0, 6, 4, 8, 1, 5, 12, 11, 12, 1, 12],
"ct": [4, 5, 10, 0, 3, 6, 6, 14, 1, 15, 9, 7, 8, 4],
"result": "valid"
},
{
"tcId": 456,
"comment": "y is maximal and (y + a) % radix**7 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "4d42aeb927ae2100fbdd26",
"msg": [0, 0, 0, 0, 0, 0, 0, 11, 5, 12, 2, 5, 5, 5],
"ct": [12, 14, 6, 0, 12, 9, 2, 6, 15, 2, 9, 12, 13, 4],
"result": "valid"
},
{
"tcId": 457,
"comment": "y is maximal and (y + a) % radix**7 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "4d42aeb927ae2100fbdd26",
"msg": [0, 0, 0, 0, 0, 0, 1, 11, 5, 12, 2, 5, 5, 5],
"ct": [5, 15, 6, 5, 12, 10, 1, 8, 8, 4, 15, 9, 6, 11],
"result": "valid"
},
{
"tcId": 458,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "4d42aeb927ae2100fbdd26",
"msg": [8, 0, 0, 0, 0, 0, 0, 11, 5, 12, 2, 5, 5, 5],
"ct": [12, 5, 15, 14, 0, 15, 2, 15, 4, 11, 12, 14, 9, 4],
"result": "valid"
},
{
"tcId": 459,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "4d42aeb927ae2100fbdd26",
"msg": [15, 15, 15, 15, 15, 15, 15, 11, 5, 12, 2, 5, 5, 5],
"ct": [15, 10, 9, 3, 5, 8, 10, 4, 9, 2, 5, 14, 12, 2],
"result": "valid"
},
{
"tcId": 460,
"comment": "y is edge case for modular reduction and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "10396cdbc750cba50a7192",
"msg": [3, 7, 7, 14, 7, 10, 7, 7, 12, 6, 5, 8, 1, 12],
"ct": [5, 2, 14, 5, 4, 0, 10, 15, 10, 5, 6, 14, 0, 10],
"result": "valid"
},
{
"tcId": 461,
"comment": "y is edge case for modular reduction and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "10396cdbc750cba50a7192",
"msg": [3, 6, 2, 4, 4, 2, 5, 4, 15, 6, 7, 14, 5, 6],
"ct": [4, 9, 7, 12, 5, 13, 3, 13, 15, 13, 6, 4, 10, 4],
"result": "valid"
},
{
"tcId": 462,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "10396cdbc750cba50a7192",
"msg": [2, 7, 9, 3, 8, 1, 6, 8, 9, 10, 1, 15, 11, 1],
"ct": [13, 7, 11, 1, 12, 1, 10, 15, 2, 1, 1, 11, 6, 7],
"result": "valid"
},
{
"tcId": 463,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "10396cdbc750cba50a7192",
"msg": [9, 9, 10, 14, 12, 0, 8, 7, 4, 13, 9, 8, 11, 9],
"ct": [2, 3, 5, 5, 13, 13, 14, 7, 15, 11, 7, 0, 12, 3],
"result": "valid"
},
{
"tcId": 464,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "10396cdbc750cba50a7192",
"msg": [9, 4, 2, 15, 13, 11, 15, 8, 2, 13, 9, 8, 15, 11],
"ct": [3, 3, 9, 3, 6, 10, 12, 2, 3, 8, 8, 8, 11, 6],
"result": "valid"
},
{
"tcId": 465,
"comment": "y is edge case for modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "10396cdbc750cba50a7192",
"msg": [12, 10, 0, 14, 11, 11, 9, 4, 12, 13, 7, 10, 7, 3],
"ct": [10, 6, 10, 6, 1, 12, 5, 9, 10, 6, 6, 15, 11, 0],
"result": "valid"
},
{
"tcId": 466,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "fc99ea4572e43285cef35b",
"msg": [11, 2, 3, 11, 10, 7, 6, 15, 11, 9, 9, 1, 13, 12],
"ct": [13, 1, 3, 4, 1, 6, 14, 2, 14, 8, 13, 0, 3, 5],
"result": "valid"
},
{
"tcId": 467,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "fc99ea4572e43285cef35b",
"msg": [6, 12, 2, 3, 5, 6, 11, 0, 5, 13, 5, 0, 1, 2],
"ct": [10, 15, 5, 5, 12, 5, 5, 13, 2, 9, 0, 10, 13, 12],
"result": "valid"
},
{
"tcId": 468,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "fc99ea4572e43285cef35b",
"msg": [5, 4, 12, 4, 5, 8, 6, 9, 7, 0, 4, 12, 3, 13],
"ct": [11, 9, 8, 15, 0, 15, 10, 7, 12, 4, 5, 9, 13, 14],
"result": "valid"
},
{
"tcId": 469,
"comment": "y is maximal after modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "fc99ea4572e43285cef35b",
"msg": [12, 3, 15, 9, 15, 4, 7, 1, 2, 12, 11, 8, 6, 8],
"ct": [6, 4, 11, 8, 7, 5, 6, 7, 3, 10, 5, 4, 8, 6],
"result": "valid"
},
{
"tcId": 470,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0",
"tweak": "0e5628b6bce472c6",
"msg": [-1, 12, 13, 6, 10, 7, 6, 15, 8, 15, 11, 12, 6, 3],
"ct": [10, 1, 13, 8, 1, 14, 4, 6, 7, 14, 7, 6, 7, 0],
"result": "invalid"
},
{
"tcId": 471,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0",
"tweak": "0e5628b6bce472c6",
"msg": [10, 12, 13, 6, -1, 7, 6, 15, 8, 15, 11, 12, 6, 3],
"ct": [1, 11, 13, 14, 9, 1, 9, 12, 0, 13, 3, 13, 7, 13],
"result": "invalid"
},
{
"tcId": 472,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0",
"tweak": "0e5628b6bce472c6",
"msg": [10, 12, 13, 6, 10, 7, 6, 15, 8, 15, 11, 12, 6, -1],
"ct": [0, 13, 7, 14, 1, 9, 15, 14, 5, 14, 3, 12, 4, 4],
"result": "invalid"
},
{
"tcId": 473,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fac01f9b53f4dea27200ae9acb9d8591",
"tweak": "e0a9913de2b20921",
"msg": [16, 13, 8, 4, 10, 7, 2, 3, 3, 1, 1, 12, 7, 11],
"ct": [6, 11, 4, 0, 7, 15, 0, 14, 3, 2, 2, 0, 5, 7],
"result": "invalid"
},
{
"tcId": 474,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fac01f9b53f4dea27200ae9acb9d8591",
"tweak": "e0a9913de2b20921",
"msg": [5, 13, 8, 4, 16, 7, 2, 3, 3, 1, 1, 12, 7, 11],
"ct": [5, 2, 5, 11, 6, 10, 11, 14, 13, 1, 3, 1, 14, 5],
"result": "invalid"
},
{
"tcId": 475,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fac01f9b53f4dea27200ae9acb9d8591",
"tweak": "e0a9913de2b20921",
"msg": [5, 13, 8, 4, 10, 7, 2, 3, 3, 1, 1, 12, 7, 16],
"ct": [3, 10, 2, 13, 4, 12, 14, 10, 10, 15, 11, 7, 9, 6],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 15,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 476,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "7b0c5d430ef9383b04b2691ce3402a9a",
"tweak": "ec71532112064259",
"msg": [12, 5, 14, 14, 2, 12, 11, 4, 11, 2, 7, 1, 10, 10, 12],
"ct": [12, 1, 4, 8, 12, 15, 2, 4, 10, 8, 11, 15, 2, 11, 15],
"result": "valid"
},
{
"tcId": 477,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [6, 14, 10, 6, 9, 8, 12, 11, 7, 5, 5, 15, 5, 7, 0],
"result": "valid"
},
{
"tcId": 478,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [9, 12, 13, 8, 4, 1, 13, 8, 12, 9, 8, 2, 11, 3, 5],
"result": "valid"
},
{
"tcId": 479,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [8, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 10, 1, 7, 8, 14, 8, 2, 3, 1, 5, 5, 5, 11, 13],
"result": "valid"
},
{
"tcId": 480,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [7, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15],
"ct": [14, 1, 8, 4, 15, 14, 11, 0, 13, 11, 11, 4, 15, 5, 13],
"result": "valid"
},
{
"tcId": 481,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [3, 5, 1, 15, 7, 7, 12, 15, 9, 7, 9, 8, 1, 15, 7],
"ct": [13, 0, 1, 15, 1, 14, 14, 7, 10, 4, 8, 13, 12, 7, 0],
"result": "valid"
},
{
"tcId": 482,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [10, 14, 9, 10, 6, 0, 8, 12, 14, 1, 14, 14, 0, 0, 15],
"ct": [13, 11, 10, 12, 7, 3, 4, 9, 6, 1, 5, 10, 13, 0, 10],
"result": "valid"
},
{
"tcId": 483,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [4, 14, 10, 11, 7, 2, 5, 13, 1, 5, 3, 7, 10, 1, 8],
"ct": [6, 10, 4, 14, 8, 6, 4, 5, 15, 10, 14, 10, 4, 6, 14],
"result": "valid"
},
{
"tcId": 484,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [8, 5, 2, 0, 3, 3, 3, 2, 11, 5, 1, 10, 14, 5, 7],
"ct": [3, 6, 3, 5, 5, 5, 4, 4, 13, 9, 0, 7, 11, 4, 15],
"result": "valid"
},
{
"tcId": 485,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [4, 6, 6, 14, 8, 8, 0, 1, 11, 15, 7, 9, 5, 12, 8],
"ct": [7, 3, 6, 1, 12, 12, 5, 9, 12, 14, 9, 11, 11, 6, 0],
"result": "valid"
},
{
"tcId": 486,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [13, 0, 10, 8, 8, 3, 3, 10, 2, 5, 11, 1, 5, 11, 3],
"ct": [14, 6, 4, 7, 4, 0, 13, 10, 1, 7, 13, 15, 9, 7, 6],
"result": "valid"
},
{
"tcId": 487,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [11, 4, 13, 15, 3, 0, 9, 13, 10, 13, 2, 9, 12, 4, 7],
"ct": [14, 15, 14, 5, 8, 15, 0, 4, 8, 9, 3, 11, 3, 7, 7],
"result": "valid"
},
{
"tcId": 488,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [3, 7, 5, 11, 14, 9, 0, 14, 14, 2, 8, 4, 9, 1, 4],
"ct": [2, 11, 4, 12, 8, 1, 10, 10, 7, 14, 8, 10, 8, 8, 11],
"result": "valid"
},
{
"tcId": 489,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [5, 12, 1, 9, 10, 15, 6, 14, 10, 7, 14, 4, 3, 5, 4],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 490,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [12, 3, 2, 14, 1, 7, 10, 5, 4, 11, 14, 3, 8, 9, 1],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 491,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [13, 1, 4, 11, 12, 12, 8, 13, 1, 9, 5, 14, 2, 9, 1],
"ct": [8, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 492,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [3, 1, 9, 11, 9, 7, 11, 0, 13, 2, 5, 15, 15, 9, 1],
"ct": [7, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 493,
"comment": "y = 0 and (y + a) % radix**7 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "b854c7b62bb76fdd3a7f27",
"msg": [9, 2, 8, 8, 11, 4, 2, 6, 6, 0, 6, 14, 7, 2, 14],
"ct": [0, 0, 0, 0, 0, 0, 0, 11, 8, 2, 15, 10, 5, 13, 12],
"result": "valid"
},
{
"tcId": 494,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "b854c7b62bb76fdd3a7f27",
"msg": [10, 2, 15, 10, 11, 3, 14, 15, 13, 0, 9, 7, 8, 11, 9],
"ct": [0, 0, 0, 0, 0, 0, 1, 2, 6, 13, 6, 10, 2, 11, 2],
"result": "valid"
},
{
"tcId": 495,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "b854c7b62bb76fdd3a7f27",
"msg": [13, 2, 15, 4, 9, 14, 9, 1, 7, 14, 3, 13, 7, 15, 14],
"ct": [8, 0, 0, 0, 0, 0, 0, 9, 4, 2, 2, 0, 15, 14, 7],
"result": "valid"
},
{
"tcId": 496,
"comment": "y = 0 and (y + a) % radix**7 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "b854c7b62bb76fdd3a7f27",
"msg": [0, 5, 0, 12, 9, 8, 12, 5, 13, 3, 6, 2, 9, 9, 12],
"ct": [15, 15, 15, 15, 15, 15, 15, 4, 0, 2, 13, 2, 13, 2, 1],
"result": "valid"
},
{
"tcId": 497,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "a594c6f79df32b166990d9",
"msg": [5, 11, 15, 12, 7, 0, 0, 4, 8, 4, 0, 12, 9, 10, 7],
"ct": [3, 6, 1, 4, 8, 8, 14, 1, 5, 13, 1, 11, 14, 13, 0],
"result": "valid"
},
{
"tcId": 498,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "a594c6f79df32b166990d9",
"msg": [4, 15, 0, 11, 7, 11, 9, 2, 6, 11, 14, 1, 1, 0, 2],
"ct": [12, 8, 10, 3, 10, 9, 4, 7, 5, 13, 13, 13, 5, 3, 13],
"result": "valid"
},
{
"tcId": 499,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "a594c6f79df32b166990d9",
"msg": [8, 5, 9, 0, 8, 10, 0, 12, 11, 5, 2, 15, 2, 0, 9],
"ct": [7, 13, 5, 10, 5, 2, 10, 6, 6, 4, 6, 13, 3, 7, 5],
"result": "valid"
},
{
"tcId": 500,
"comment": "y = 1 and (y + a) % radix**7 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "a594c6f79df32b166990d9",
"msg": [2, 0, 8, 1, 4, 13, 1, 2, 2, 0, 1, 13, 6, 15, 9],
"ct": [8, 4, 4, 2, 15, 7, 15, 8, 5, 12, 1, 13, 2, 6, 5],
"result": "valid"
},
{
"tcId": 501,
"comment": "y = 1 and (y + a) % radix**7 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "a594c6f79df32b166990d9",
"msg": [6, 1, 2, 6, 9, 4, 7, 1, 12, 14, 2, 15, 1, 10, 3],
"ct": [10, 10, 12, 6, 15, 8, 14, 7, 3, 6, 15, 12, 4, 9, 7],
"result": "valid"
},
{
"tcId": 502,
"comment": "y is maximal and (y + a) % radix**7 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "d75322fbd39c256a52d92f",
"msg": [14, 13, 7, 10, 3, 2, 14, 8, 12, 5, 11, 9, 12, 3, 4],
"ct": [8, 7, 2, 11, 1, 7, 14, 9, 10, 7, 1, 6, 3, 15, 13],
"result": "valid"
},
{
"tcId": 503,
"comment": "y is maximal and (y + a) % radix**7 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "d75322fbd39c256a52d92f",
"msg": [3, 9, 1, 3, 6, 6, 10, 2, 5, 4, 12, 7, 8, 3, 4],
"ct": [6, 12, 6, 2, 1, 6, 0, 12, 8, 7, 15, 4, 4, 5, 10],
"result": "valid"
},
{
"tcId": 504,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "d75322fbd39c256a52d92f",
"msg": [12, 9, 10, 7, 10, 13, 0, 5, 9, 3, 4, 11, 4, 6, 7],
"ct": [15, 6, 7, 8, 9, 6, 5, 6, 12, 9, 9, 10, 11, 9, 2],
"result": "valid"
},
{
"tcId": 505,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "d75322fbd39c256a52d92f",
"msg": [1, 9, 4, 12, 10, 7, 15, 0, 9, 7, 2, 3, 5, 9, 8],
"ct": [7, 12, 12, 6, 6, 8, 0, 11, 2, 9, 8, 11, 6, 7, 12],
"result": "valid"
},
{
"tcId": 506,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "1fbfac74577bc8b39219f8",
"msg": [3, 8, 3, 1, 10, 7, 0, 3, 0, 0, 14, 3, 8, 1, 0],
"ct": [5, 8, 9, 12, 3, 7, 1, 4, 5, 12, 14, 8, 0, 8, 8],
"result": "valid"
},
{
"tcId": 507,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "1fbfac74577bc8b39219f8",
"msg": [10, 0, 2, 11, 4, 3, 6, 1, 13, 4, 13, 11, 9, 4, 4],
"ct": [5, 14, 7, 5, 12, 15, 14, 13, 2, 12, 6, 0, 11, 8, 0],
"result": "valid"
},
{
"tcId": 508,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "1fbfac74577bc8b39219f8",
"msg": [5, 5, 6, 0, 6, 2, 15, 6, 13, 13, 5, 12, 10, 14, 6],
"ct": [7, 8, 1, 15, 5, 13, 11, 8, 14, 2, 10, 8, 15, 4, 13],
"result": "valid"
},
{
"tcId": 509,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "1fbfac74577bc8b39219f8",
"msg": [10, 0, 11, 13, 13, 3, 14, 2, 7, 8, 8, 15, 15, 10, 14],
"ct": [5, 10, 7, 9, 5, 8, 6, 4, 12, 2, 7, 15, 11, 10, 14],
"result": "valid"
},
{
"tcId": 510,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "1fbfac74577bc8b39219f8",
"msg": [6, 0, 1, 8, 7, 7, 6, 0, 11, 9, 12, 12, 5, 8, 8],
"ct": [1, 0, 8, 15, 3, 13, 10, 13, 14, 3, 5, 14, 0, 7, 4],
"result": "valid"
},
{
"tcId": 511,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "1fbfac74577bc8b39219f8",
"msg": [1, 14, 0, 6, 11, 9, 3, 1, 5, 0, 0, 6, 6, 7, 7],
"ct": [12, 0, 10, 4, 13, 1, 7, 11, 3, 5, 3, 5, 14, 8, 14],
"result": "valid"
},
{
"tcId": 512,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "f591c3e3438d3ccf27c4e6",
"msg": [1, 4, 8, 7, 5, 11, 7, 0, 2, 11, 1, 3, 13, 11, 14],
"ct": [8, 11, 6, 14, 12, 9, 10, 14, 3, 15, 3, 7, 14, 12, 5],
"result": "valid"
},
{
"tcId": 513,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "f591c3e3438d3ccf27c4e6",
"msg": [6, 11, 7, 12, 12, 2, 8, 10, 7, 8, 1, 11, 9, 13, 12],
"ct": [12, 0, 6, 14, 9, 10, 8, 14, 8, 14, 9, 7, 11, 10, 6],
"result": "valid"
},
{
"tcId": 514,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "f591c3e3438d3ccf27c4e6",
"msg": [2, 15, 13, 13, 3, 14, 4, 6, 10, 7, 13, 1, 9, 4, 15],
"ct": [2, 13, 12, 9, 3, 2, 1, 5, 14, 6, 6, 3, 11, 11, 14],
"result": "valid"
},
{
"tcId": 515,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "f591c3e3438d3ccf27c4e6",
"msg": [13, 7, 3, 2, 7, 5, 0, 10, 5, 0, 3, 8, 6, 15, 7],
"ct": [15, 4, 8, 7, 7, 4, 1, 10, 14, 12, 12, 12, 1, 5, 12],
"result": "valid"
},
{
"tcId": 516,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "18f316e92e027b0d4d068bb94f8dd864",
"tweak": "17d37026864474b3",
"msg": [-1, 7, 3, 6, 8, 10, 7, 10, 11, 12, 5, 10, 7, 7, 15],
"ct": [7, 10, 10, 12, 0, 0, 3, 6, 3, 8, 5, 4, 12, 8, 9],
"result": "invalid"
},
{
"tcId": 517,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "18f316e92e027b0d4d068bb94f8dd864",
"tweak": "17d37026864474b3",
"msg": [1, 7, 3, 6, 8, -1, 7, 10, 11, 12, 5, 10, 7, 7, 15],
"ct": [2, 7, 0, 3, 4, 7, 8, 12, 2, 7, 14, 5, 0, 11, 13],
"result": "invalid"
},
{
"tcId": 518,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "18f316e92e027b0d4d068bb94f8dd864",
"tweak": "17d37026864474b3",
"msg": [1, 7, 3, 6, 8, 10, 7, 10, 11, 12, 5, 10, 7, 7, -1],
"ct": [13, 11, 9, 10, 0, 14, 0, 1, 0, 13, 14, 14, 2, 8, 7],
"result": "invalid"
},
{
"tcId": 519,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1d124a4fcee949fc7e9dc66f4c7621d1",
"tweak": "55e94bca92c9d2ae",
"msg": [16, 5, 4, 15, 9, 4, 6, 4, 11, 11, 0, 10, 10, 13, 8],
"ct": [1, 14, 13, 2, 0, 5, 9, 9, 12, 9, 4, 10, 12, 3, 13],
"result": "invalid"
},
{
"tcId": 520,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1d124a4fcee949fc7e9dc66f4c7621d1",
"tweak": "55e94bca92c9d2ae",
"msg": [11, 5, 4, 15, 9, 16, 6, 4, 11, 11, 0, 10, 10, 13, 8],
"ct": [0, 12, 2, 4, 13, 15, 6, 7, 14, 14, 12, 10, 2, 6, 1],
"result": "invalid"
},
{
"tcId": 521,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1d124a4fcee949fc7e9dc66f4c7621d1",
"tweak": "55e94bca92c9d2ae",
"msg": [11, 5, 4, 15, 9, 4, 6, 4, 11, 11, 0, 10, 10, 13, 16],
"ct": [1, 1, 5, 14, 11, 10, 5, 7, 11, 0, 0, 11, 15, 12, 13],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 16,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 522,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "48f0d03e41cc55c4b58f737b5acdea32",
"tweak": "30944debca89ca90",
"msg": [0, 4, 15, 14, 1, 1, 4, 1, 9, 6, 10, 1, 15, 5, 15, 8],
"ct": [9, 0, 7, 7, 9, 5, 2, 0, 7, 2, 10, 12, 7, 12, 5, 14],
"result": "valid"
},
{
"tcId": 523,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 12, 3, 9, 1, 10, 2, 13, 5, 11, 9, 11, 15, 6, 5, 14],
"result": "valid"
},
{
"tcId": 524,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [10, 0, 5, 13, 5, 2, 12, 5, 2, 11, 5, 8, 3, 11, 9, 9],
"result": "valid"
},
{
"tcId": 525,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 1, 12, 2, 13, 0, 3, 8, 11, 8, 15, 2, 10, 8, 13, 1],
"result": "valid"
},
{
"tcId": 526,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15],
"ct": [15, 6, 6, 8, 3, 1, 3, 1, 8, 13, 6, 14, 2, 6, 1, 9],
"result": "valid"
},
{
"tcId": 527,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [7, 13, 13, 14, 7, 8, 7, 2, 5, 13, 0, 12, 4, 14, 7, 2],
"ct": [7, 12, 11, 15, 12, 4, 7, 6, 15, 7, 8, 9, 10, 5, 9, 2],
"result": "valid"
},
{
"tcId": 528,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [4, 9, 8, 15, 5, 1, 7, 14, 0, 1, 6, 1, 8, 1, 7, 6],
"ct": [2, 11, 1, 15, 4, 12, 7, 12, 13, 4, 10, 1, 1, 14, 3, 10],
"result": "valid"
},
{
"tcId": 529,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [3, 2, 8, 11, 0, 6, 8, 0, 2, 14, 5, 15, 7, 11, 2, 7],
"ct": [13, 13, 8, 8, 6, 1, 4, 6, 13, 8, 3, 15, 12, 10, 4, 11],
"result": "valid"
},
{
"tcId": 530,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [11, 14, 13, 14, 15, 1, 11, 9, 7, 4, 7, 15, 12, 0, 2, 10],
"ct": [14, 12, 15, 2, 11, 9, 9, 8, 2, 11, 7, 4, 9, 4, 15, 5],
"result": "valid"
},
{
"tcId": 531,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [8, 13, 11, 2, 4, 14, 11, 7, 13, 5, 14, 1, 0, 0, 5, 10],
"ct": [15, 4, 11, 7, 8, 9, 5, 2, 12, 7, 4, 10, 14, 3, 13, 6],
"result": "valid"
},
{
"tcId": 532,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [10, 0, 5, 13, 8, 2, 15, 0, 10, 8, 14, 7, 12, 4, 12, 6],
"ct": [12, 0, 10, 13, 3, 5, 11, 14, 3, 12, 12, 5, 6, 3, 9, 3],
"result": "valid"
},
{
"tcId": 533,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [4, 4, 9, 13, 13, 11, 13, 2, 4, 0, 6, 1, 3, 14, 6, 10],
"ct": [10, 4, 15, 14, 14, 0, 8, 5, 2, 12, 5, 12, 11, 6, 7, 0],
"result": "valid"
},
{
"tcId": 534,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [2, 13, 5, 0, 14, 5, 15, 8, 14, 1, 10, 4, 6, 9, 15, 5],
"ct": [14, 13, 0, 13, 9, 3, 8, 1, 1, 6, 14, 15, 1, 6, 2, 14],
"result": "valid"
},
{
"tcId": 535,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [4, 4, 1, 15, 6, 12, 11, 8, 7, 13, 1, 8, 12, 10, 11, 0],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 536,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [6, 14, 9, 5, 0, 6, 14, 15, 7, 5, 0, 9, 3, 6, 11, 5],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 537,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [6, 10, 2, 1, 13, 11, 3, 1, 7, 8, 11, 10, 11, 11, 8, 7],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 538,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [2, 11, 0, 11, 9, 3, 1, 5, 7, 11, 7, 5, 0, 13, 6, 5],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 539,
"comment": "y = 0 and (y + a) % radix**8 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "0f6490029ff2e4e742b189",
"msg": [8, 3, 4, 2, 5, 11, 3, 5, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 6, 0, 0, 3, 7, 4, 4, 14, 9, 5, 8, 10, 15, 10, 6],
"result": "valid"
},
{
"tcId": 540,
"comment": "y = 0 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "0f6490029ff2e4e742b189",
"msg": [1, 15, 15, 9, 14, 0, 2, 14, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [7, 0, 14, 13, 3, 5, 10, 7, 14, 1, 8, 15, 8, 2, 12, 9],
"result": "valid"
},
{
"tcId": 541,
"comment": "y = 0 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "0f6490029ff2e4e742b189",
"msg": [12, 5, 5, 7, 10, 13, 4, 15, 8, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 2, 4, 3, 12, 7, 15, 6, 15, 6, 0, 9, 12, 8, 12, 9],
"result": "valid"
},
{
"tcId": 542,
"comment": "y = 0 and (y + a) % radix**8 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "0f6490029ff2e4e742b189",
"msg": [1, 4, 14, 12, 6, 5, 1, 12, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [8, 14, 2, 6, 12, 15, 12, 11, 14, 5, 1, 8, 15, 0, 12, 11],
"result": "valid"
},
{
"tcId": 543,
"comment": "y = 1 and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "61ea97bafcda0899a48001",
"msg": [12, 10, 0, 7, 8, 1, 6, 6, 14, 14, 7, 7, 6, 14, 6, 14],
"ct": [13, 11, 12, 2, 11, 12, 3, 13, 11, 4, 13, 2, 9, 11, 1, 9],
"result": "valid"
},
{
"tcId": 544,
"comment": "y = 1 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "61ea97bafcda0899a48001",
"msg": [8, 12, 6, 13, 7, 15, 3, 14, 7, 5, 0, 7, 5, 13, 0, 9],
"ct": [14, 14, 11, 14, 11, 9, 2, 10, 9, 6, 0, 5, 1, 8, 6, 7],
"result": "valid"
},
{
"tcId": 545,
"comment": "y = 1 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "61ea97bafcda0899a48001",
"msg": [10, 14, 3, 9, 5, 10, 10, 5, 11, 13, 0, 2, 8, 14, 4, 8],
"ct": [14, 11, 6, 8, 11, 8, 0, 11, 5, 14, 10, 6, 3, 13, 11, 10],
"result": "valid"
},
{
"tcId": 546,
"comment": "y = 1 and (y + a) % radix**8 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "61ea97bafcda0899a48001",
"msg": [5, 10, 4, 15, 14, 2, 10, 9, 13, 13, 15, 0, 3, 6, 15, 0],
"ct": [1, 2, 8, 7, 14, 12, 11, 15, 12, 15, 12, 0, 10, 14, 7, 2],
"result": "valid"
},
{
"tcId": 547,
"comment": "y = 1 and (y + a) % radix**8 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "61ea97bafcda0899a48001",
"msg": [2, 13, 14, 11, 6, 0, 7, 11, 5, 15, 11, 9, 10, 1, 2, 8],
"ct": [13, 11, 10, 7, 2, 3, 11, 9, 3, 8, 14, 1, 0, 5, 5, 12],
"result": "valid"
},
{
"tcId": 548,
"comment": "y is maximal and (y + a) % radix**8 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "32d3f63ce429d63ed0c966",
"msg": [11, 1, 2, 11, 14, 9, 11, 3, 8, 15, 5, 8, 0, 4, 8, 3],
"ct": [15, 13, 8, 14, 8, 13, 11, 5, 11, 12, 13, 0, 12, 5, 12, 7],
"result": "valid"
},
{
"tcId": 549,
"comment": "y is maximal and (y + a) % radix**8 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "32d3f63ce429d63ed0c966",
"msg": [11, 11, 0, 4, 7, 10, 14, 4, 12, 12, 0, 9, 8, 11, 7, 15],
"ct": [2, 4, 2, 10, 7, 15, 6, 15, 8, 10, 5, 0, 2, 0, 13, 4],
"result": "valid"
},
{
"tcId": 550,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "32d3f63ce429d63ed0c966",
"msg": [11, 3, 12, 3, 9, 10, 1, 3, 5, 15, 2, 2, 5, 9, 13, 13],
"ct": [9, 4, 4, 7, 1, 0, 6, 10, 0, 1, 7, 5, 8, 6, 3, 3],
"result": "valid"
},
{
"tcId": 551,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "32d3f63ce429d63ed0c966",
"msg": [0, 4, 12, 8, 3, 7, 12, 8, 9, 3, 0, 0, 11, 0, 10, 12],
"ct": [7, 13, 4, 15, 15, 15, 14, 3, 3, 1, 4, 15, 0, 8, 8, 3],
"result": "valid"
},
{
"tcId": 552,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "72e0b5ee3a2f0ad5bc40fe",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 5, 9, 13, 15, 10, 3, 2, 0],
"ct": [10, 2, 5, 15, 12, 6, 6, 13, 11, 1, 5, 5, 3, 7, 7, 4],
"result": "valid"
},
{
"tcId": 553,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "72e0b5ee3a2f0ad5bc40fe",
"msg": [0, 0, 0, 0, 0, 0, 0, 1, 5, 9, 13, 15, 10, 3, 2, 0],
"ct": [1, 5, 14, 6, 4, 14, 5, 5, 2, 4, 10, 9, 5, 4, 0, 5],
"result": "valid"
},
{
"tcId": 554,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "72e0b5ee3a2f0ad5bc40fe",
"msg": [0, 0, 0, 0, 0, 0, 0, 15, 5, 9, 13, 15, 10, 3, 2, 0],
"ct": [15, 11, 5, 2, 10, 3, 12, 7, 15, 10, 12, 15, 14, 5, 2, 13],
"result": "valid"
},
{
"tcId": 555,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "72e0b5ee3a2f0ad5bc40fe",
"msg": [0, 0, 0, 0, 0, 0, 1, 0, 5, 9, 13, 15, 10, 3, 2, 0],
"ct": [14, 9, 15, 10, 13, 12, 2, 12, 11, 4, 10, 5, 2, 14, 7, 1],
"result": "valid"
},
{
"tcId": 556,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "72e0b5ee3a2f0ad5bc40fe",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 5, 9, 13, 15, 10, 3, 2, 0],
"ct": [0, 3, 8, 5, 4, 5, 9, 13, 11, 8, 4, 2, 1, 14, 10, 11],
"result": "valid"
},
{
"tcId": 557,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "72e0b5ee3a2f0ad5bc40fe",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 5, 9, 13, 15, 10, 3, 2, 0],
"ct": [5, 6, 11, 8, 8, 15, 0, 1, 12, 10, 10, 6, 12, 6, 9, 11],
"result": "valid"
},
{
"tcId": 558,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "e12e96e7e42a0b3ef00685",
"msg": [5, 12, 4, 9, 13, 8, 4, 0, 11, 2, 14, 5, 2, 7, 5, 2],
"ct": [0, 13, 12, 7, 6, 15, 10, 3, 13, 2, 0, 9, 2, 2, 8, 0],
"result": "valid"
},
{
"tcId": 559,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "e12e96e7e42a0b3ef00685",
"msg": [1, 14, 9, 9, 13, 0, 6, 6, 14, 9, 4, 10, 0, 4, 0, 12],
"ct": [9, 15, 14, 6, 6, 8, 1, 3, 12, 7, 1, 0, 15, 10, 13, 13],
"result": "valid"
},
{
"tcId": 560,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "e12e96e7e42a0b3ef00685",
"msg": [6, 10, 9, 2, 15, 9, 13, 13, 15, 8, 6, 13, 6, 5, 9, 4],
"ct": [7, 14, 4, 1, 4, 3, 4, 5, 7, 14, 10, 0, 10, 13, 3, 5],
"result": "valid"
},
{
"tcId": 561,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "e12e96e7e42a0b3ef00685",
"msg": [14, 13, 4, 4, 7, 1, 2, 2, 3, 1, 3, 6, 13, 9, 10, 1],
"ct": [10, 11, 0, 9, 4, 12, 14, 12, 12, 7, 13, 2, 11, 6, 0, 8],
"result": "valid"
},
{
"tcId": 562,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c3a8f68c88eeea1a255db6a7e012ec22",
"tweak": "a841e8a1819dfb69",
"msg": [-1, 5, 4, 5, 9, 13, 6, 5, 7, 7, 11, 15, 5, 5, 2, 8],
"ct": [8, 7, 13, 11, 10, 13, 12, 1, 15, 14, 6, 13, 10, 7, 10, 11],
"result": "invalid"
},
{
"tcId": 563,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c3a8f68c88eeea1a255db6a7e012ec22",
"tweak": "a841e8a1819dfb69",
"msg": [12, 5, 4, 5, 9, -1, 6, 5, 7, 7, 11, 15, 5, 5, 2, 8],
"ct": [7, 4, 7, 6, 14, 4, 11, 9, 3, 12, 14, 0, 13, 12, 13, 0],
"result": "invalid"
},
{
"tcId": 564,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c3a8f68c88eeea1a255db6a7e012ec22",
"tweak": "a841e8a1819dfb69",
"msg": [12, 5, 4, 5, 9, 13, 6, 5, 7, 7, 11, 15, 5, 5, 2, -1],
"ct": [6, 15, 0, 7, 7, 12, 0, 1, 3, 10, 8, 0, 5, 4, 12, 11],
"result": "invalid"
},
{
"tcId": 565,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "adaaad8b8a7d1a4f2a6da658cae4e875",
"tweak": "0626fa2f2f429602",
"msg": [16, 7, 14, 3, 5, 9, 12, 13, 3, 11, 7, 15, 5, 7, 14, 5],
"ct": [3, 8, 3, 6, 8, 10, 3, 15, 7, 9, 6, 10, 6, 8, 9, 14],
"result": "invalid"
},
{
"tcId": 566,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "adaaad8b8a7d1a4f2a6da658cae4e875",
"tweak": "0626fa2f2f429602",
"msg": [13, 7, 14, 3, 5, 16, 12, 13, 3, 11, 7, 15, 5, 7, 14, 5],
"ct": [9, 10, 0, 7, 4, 2, 10, 12, 7, 8, 13, 12, 1, 7, 8, 0],
"result": "invalid"
},
{
"tcId": 567,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "adaaad8b8a7d1a4f2a6da658cae4e875",
"tweak": "0626fa2f2f429602",
"msg": [13, 7, 14, 3, 5, 9, 12, 13, 3, 11, 7, 15, 5, 7, 14, 16],
"ct": [0, 6, 8, 5, 14, 14, 2, 12, 5, 10, 8, 5, 6, 8, 2, 15],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 17,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 568,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "22351a53774415942eb879b483eda9a2",
"tweak": "b4a5dce9958d53fc",
"msg": [1, 12, 0, 11, 2, 5, 7, 11, 1, 5, 9, 2, 8, 4, 15, 12, 10],
"ct": [6, 8, 9, 10, 9, 4, 3, 15, 7, 2, 5, 15, 8, 15, 2, 2, 0],
"result": "valid"
},
{
"tcId": 569,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [7, 6, 6, 3, 11, 13, 8, 1, 8, 8, 11, 5, 2, 13, 4, 6, 12],
"result": "valid"
},
{
"tcId": 570,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [8, 8, 9, 12, 13, 9, 4, 0, 9, 10, 1, 2, 2, 10, 7, 13, 0],
"result": "valid"
},
{
"tcId": 571,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 6, 10, 10, 14, 13, 12, 15, 15, 14, 0, 2, 2, 13, 12, 9, 13],
"result": "valid"
},
{
"tcId": 572,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [14, 7, 4, 12, 12, 12, 14, 12, 13, 13, 7, 15, 1, 3, 4, 14, 4],
"result": "valid"
},
{
"tcId": 573,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [13, 15, 13, 5, 11, 11, 11, 12, 14, 6, 15, 9, 11, 7, 6, 7, 2],
"ct": [6, 7, 2, 4, 5, 15, 11, 2, 14, 9, 13, 3, 9, 1, 7, 0, 11],
"result": "valid"
},
{
"tcId": 574,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [3, 4, 3, 10, 10, 9, 5, 0, 13, 15, 15, 0, 3, 12, 6, 6, 5],
"ct": [6, 6, 2, 4, 9, 5, 6, 0, 6, 2, 7, 4, 10, 15, 12, 11, 7],
"result": "valid"
},
{
"tcId": 575,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [11, 4, 3, 5, 1, 12, 2, 15, 13, 15, 15, 7, 10, 1, 10, 1, 1],
"ct": [4, 4, 3, 1, 13, 15, 10, 3, 7, 15, 1, 11, 7, 8, 7, 2, 5],
"result": "valid"
},
{
"tcId": 576,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [4, 13, 13, 2, 3, 9, 9, 11, 7, 11, 11, 0, 9, 13, 0, 7, 7],
"ct": [6, 13, 12, 10, 12, 8, 10, 14, 1, 15, 8, 8, 3, 5, 9, 7, 11],
"result": "valid"
},
{
"tcId": 577,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [13, 14, 13, 3, 7, 12, 8, 1, 2, 6, 15, 9, 13, 2, 15, 4, 5],
"ct": [13, 9, 0, 14, 10, 9, 1, 15, 5, 9, 15, 10, 9, 13, 1, 1, 10],
"result": "valid"
},
{
"tcId": 578,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [2, 5, 5, 14, 5, 2, 0, 14, 5, 8, 12, 12, 6, 7, 3, 10, 10],
"ct": [0, 12, 13, 15, 2, 7, 10, 11, 3, 1, 1, 14, 15, 2, 15, 3, 12],
"result": "valid"
},
{
"tcId": 579,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [0, 0, 13, 0, 1, 4, 8, 5, 1, 6, 0, 13, 9, 10, 7, 2, 3],
"ct": [3, 7, 1, 12, 0, 14, 1, 10, 1, 0, 5, 8, 0, 13, 2, 14, 7],
"result": "valid"
},
{
"tcId": 580,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [9, 3, 4, 13, 8, 10, 15, 4, 5, 11, 5, 0, 4, 15, 1, 5, 15],
"ct": [11, 15, 11, 11, 7, 13, 14, 14, 14, 9, 4, 12, 12, 10, 10, 14, 0],
"result": "valid"
},
{
"tcId": 581,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [5, 12, 12, 5, 9, 8, 12, 13, 14, 4, 6, 10, 0, 7, 13, 13, 1],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 582,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [14, 6, 9, 10, 4, 0, 12, 2, 1, 3, 14, 1, 4, 4, 1, 4, 15],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 583,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [15, 7, 15, 9, 7, 1, 7, 12, 8, 8, 4, 8, 13, 9, 6, 1, 6],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 584,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [9, 6, 5, 13, 8, 9, 12, 12, 3, 3, 3, 13, 9, 0, 5, 1, 7],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 585,
"comment": "y = 0 and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "032a1d5371ba5b2e33fe",
"msg": [15, 8, 13, 15, 14, 5, 8, 15, 10, 9, 1, 7, 10, 9, 0, 1, 14],
"ct": [15, 5, 12, 8, 12, 14, 1, 4, 15, 3, 14, 14, 12, 9, 13, 15, 9],
"result": "valid"
},
{
"tcId": 586,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "032a1d5371ba5b2e33fe",
"msg": [3, 10, 2, 7, 4, 11, 2, 3, 14, 3, 0, 0, 14, 9, 3, 9, 5],
"ct": [12, 3, 14, 6, 14, 4, 4, 2, 5, 2, 13, 11, 0, 10, 4, 12, 1],
"result": "valid"
},
{
"tcId": 587,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "032a1d5371ba5b2e33fe",
"msg": [3, 14, 1, 9, 4, 8, 5, 9, 12, 1, 9, 9, 7, 2, 2, 11, 10],
"ct": [10, 2, 8, 1, 13, 6, 11, 7, 12, 11, 3, 2, 0, 2, 3, 9, 6],
"result": "valid"
},
{
"tcId": 588,
"comment": "y = 0 and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "032a1d5371ba5b2e33fe",
"msg": [10, 5, 0, 6, 2, 8, 13, 3, 8, 13, 14, 8, 13, 4, 11, 15, 5],
"ct": [11, 4, 0, 5, 11, 2, 13, 4, 12, 11, 1, 13, 5, 5, 6, 8, 11],
"result": "valid"
},
{
"tcId": 589,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "08f54441e69e190c00de",
"msg": [9, 8, 12, 6, 3, 9, 11, 7, 5, 0, 11, 4, 2, 7, 4, 10, 3],
"ct": [0, 0, 0, 0, 0, 0, 0, 1, 13, 6, 15, 13, 6, 1, 1, 5, 14],
"result": "valid"
},
{
"tcId": 590,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "08f54441e69e190c00de",
"msg": [11, 11, 4, 4, 14, 7, 15, 13, 2, 5, 12, 14, 10, 0, 1, 5, 5],
"ct": [0, 0, 0, 0, 0, 0, 0, 2, 12, 6, 2, 6, 3, 7, 14, 8, 13],
"result": "valid"
},
{
"tcId": 591,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "08f54441e69e190c00de",
"msg": [7, 3, 14, 8, 10, 4, 4, 4, 3, 13, 8, 12, 6, 12, 13, 2, 3],
"ct": [8, 0, 0, 0, 0, 0, 0, 1, 9, 3, 1, 3, 7, 8, 7, 4, 12],
"result": "valid"
},
{
"tcId": 592,
"comment": "y = 1 and (y + a) % radix**8 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "08f54441e69e190c00de",
"msg": [1, 4, 0, 8, 14, 5, 11, 11, 0, 15, 11, 4, 15, 13, 9, 3, 9],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 7, 12, 5, 15, 7, 14, 2, 15, 6],
"result": "valid"
},
{
"tcId": 593,
"comment": "y = 1 and (y + a) % radix**8 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "08f54441e69e190c00de",
"msg": [12, 9, 12, 5, 2, 2, 7, 8, 10, 5, 10, 5, 10, 9, 1, 4, 6],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 4, 1, 10, 3, 13, 6, 8, 12, 2],
"result": "valid"
},
{
"tcId": 594,
"comment": "y is maximal and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "e367ca8f281c1aeab732",
"msg": [2, 11, 3, 15, 15, 0, 0, 4, 2, 5, 8, 2, 7, 7, 15, 6, 8],
"ct": [5, 12, 4, 9, 12, 11, 3, 14, 1, 14, 11, 1, 14, 2, 6, 14, 10],
"result": "valid"
},
{
"tcId": 595,
"comment": "y is maximal and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "e367ca8f281c1aeab732",
"msg": [1, 0, 5, 1, 10, 6, 5, 3, 9, 0, 5, 10, 2, 6, 14, 2, 5],
"ct": [12, 9, 5, 5, 0, 2, 5, 8, 10, 7, 4, 2, 15, 7, 6, 6, 9],
"result": "valid"
},
{
"tcId": 596,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "e367ca8f281c1aeab732",
"msg": [3, 10, 9, 4, 10, 0, 15, 3, 15, 8, 4, 9, 11, 2, 1, 9, 10],
"ct": [0, 14, 14, 14, 12, 4, 8, 12, 7, 5, 6, 7, 0, 11, 11, 1, 2],
"result": "valid"
},
{
"tcId": 597,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "e367ca8f281c1aeab732",
"msg": [8, 11, 4, 4, 2, 2, 10, 8, 3, 1, 12, 12, 7, 4, 1, 4, 11],
"ct": [15, 1, 11, 5, 2, 5, 6, 15, 14, 0, 15, 13, 5, 7, 3, 12, 5],
"result": "valid"
},
{
"tcId": 598,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "29a406c0b7a7f5e1e6d7",
"msg": [11, 11, 6, 7, 9, 3, 14, 4, 9, 10, 13, 8, 12, 9, 9, 12, 11],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 9, 13, 10, 14, 8, 1, 1, 9, 10],
"result": "valid"
},
{
"tcId": 599,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "29a406c0b7a7f5e1e6d7",
"msg": [1, 1, 7, 0, 13, 11, 15, 2, 0, 5, 14, 10, 6, 13, 11, 0, 6],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 11, 11, 12, 3, 8, 7, 2, 0, 14],
"result": "valid"
},
{
"tcId": 600,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "29a406c0b7a7f5e1e6d7",
"msg": [11, 14, 14, 14, 15, 2, 0, 0, 7, 5, 6, 5, 5, 7, 14, 4, 7],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 4, 0, 7, 3, 5, 12, 5, 14, 2],
"result": "valid"
},
{
"tcId": 601,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "29a406c0b7a7f5e1e6d7",
"msg": [13, 4, 11, 14, 9, 13, 2, 0, 7, 2, 5, 9, 6, 11, 10, 11, 0],
"ct": [15, 15, 15, 15, 15, 15, 15, 14, 7, 9, 7, 6, 8, 8, 9, 4, 3],
"result": "valid"
},
{
"tcId": 602,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2ec80962dad2bf783abd539d85a7c8d6",
"tweak": "1a36d2cb8088c664",
"msg": [-1, 6, 1, 12, 13, 1, 4, 2, 12, 11, 9, 4, 2, 13, 8, 9, 4],
"ct": [12, 12, 3, 1, 13, 14, 2, 5, 4, 1, 12, 5, 4, 9, 2, 2, 5],
"result": "invalid"
},
{
"tcId": 603,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2ec80962dad2bf783abd539d85a7c8d6",
"tweak": "1a36d2cb8088c664",
"msg": [5, 6, 1, 12, 13, -1, 4, 2, 12, 11, 9, 4, 2, 13, 8, 9, 4],
"ct": [8, 6, 12, 13, 13, 1, 3, 9, 6, 13, 5, 10, 3, 13, 13, 1, 3],
"result": "invalid"
},
{
"tcId": 604,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2ec80962dad2bf783abd539d85a7c8d6",
"tweak": "1a36d2cb8088c664",
"msg": [5, 6, 1, 12, 13, 1, 4, 2, 12, 11, 9, 4, 2, 13, 8, 9, -1],
"ct": [5, 0, 9, 15, 0, 13, 0, 9, 7, 9, 0, 4, 11, 15, 2, 6, 0],
"result": "invalid"
},
{
"tcId": 605,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dd29abf3a18fad40cf872bdf97185ef4",
"tweak": "3c50c31e6acc2a66",
"msg": [16, 13, 2, 12, 8, 1, 4, 9, 13, 8, 5, 12, 10, 12, 6, 0, 14],
"ct": [2, 4, 2, 10, 3, 6, 4, 13, 12, 2, 5, 7, 3, 3, 12, 3, 12],
"result": "invalid"
},
{
"tcId": 606,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dd29abf3a18fad40cf872bdf97185ef4",
"tweak": "3c50c31e6acc2a66",
"msg": [12, 13, 2, 12, 8, 16, 4, 9, 13, 8, 5, 12, 10, 12, 6, 0, 14],
"ct": [8, 4, 10, 12, 9, 14, 13, 9, 11, 13, 15, 8, 8, 0, 12, 12, 6],
"result": "invalid"
},
{
"tcId": 607,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dd29abf3a18fad40cf872bdf97185ef4",
"tweak": "3c50c31e6acc2a66",
"msg": [12, 13, 2, 12, 8, 1, 4, 9, 13, 8, 5, 12, 10, 12, 6, 0, 16],
"ct": [12, 7, 1, 13, 3, 8, 8, 2, 2, 3, 14, 3, 1, 9, 5, 15, 4],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 18,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 608,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "40dcd7ccae73e5e9bba5523fbab77a3c",
"tweak": "60ddd7c8df1437cf",
"msg": [3, 9, 0, 9, 5, 10, 8, 6, 2, 8, 2, 0, 5, 5, 7, 11, 13, 15],
"ct": [0, 1, 14, 4, 3, 11, 5, 8, 3, 6, 10, 12, 3, 15, 8, 7, 8, 8],
"result": "valid"
},
{
"tcId": 609,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 3, 8, 2, 14, 15, 2, 10, 10, 6, 7, 9, 2, 1, 1, 5, 10, 4],
"result": "valid"
},
{
"tcId": 610,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [7, 2, 2, 6, 12, 11, 13, 12, 13, 15, 10, 11, 4, 14, 7, 1, 7, 5],
"result": "valid"
},
{
"tcId": 611,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 8, 13, 2, 2, 13, 0, 12, 10, 15, 5, 5, 14, 14, 11, 7, 5, 5],
"result": "valid"
},
{
"tcId": 612,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [0, 1, 13, 8, 3, 8, 1, 1, 5, 3, 13, 10, 7, 11, 8, 11, 0, 11],
"result": "valid"
},
{
"tcId": 613,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [11, 14, 15, 2, 7, 13, 14, 14, 9, 10, 8, 1, 4, 0, 7, 0, 14, 13],
"ct": [2, 13, 5, 10, 4, 7, 11, 3, 2, 13, 14, 8, 2, 0, 11, 0, 2, 8],
"result": "valid"
},
{
"tcId": 614,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [12, 9, 1, 11, 3, 4, 14, 5, 5, 2, 11, 12, 12, 2, 7, 5, 7, 8],
"ct": [4, 2, 5, 0, 9, 1, 8, 15, 5, 5, 15, 11, 9, 10, 13, 9, 11, 8],
"result": "valid"
},
{
"tcId": 615,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [8, 3, 11, 3, 11, 14, 9, 4, 4, 6, 3, 6, 1, 12, 11, 2, 0, 5],
"ct": [14, 13, 3, 3, 4, 15, 8, 0, 1, 8, 3, 3, 3, 3, 12, 11, 8, 10],
"result": "valid"
},
{
"tcId": 616,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [14, 8, 14, 3, 7, 1, 4, 6, 12, 4, 4, 14, 8, 11, 12, 6, 13, 1],
"ct": [13, 12, 13, 0, 9, 6, 11, 15, 9, 15, 15, 0, 10, 12, 3, 4, 7, 0],
"result": "valid"
},
{
"tcId": 617,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [1, 7, 2, 14, 10, 1, 10, 7, 14, 14, 14, 3, 0, 1, 0, 15, 0, 9],
"ct": [9, 12, 0, 7, 0, 9, 5, 5, 14, 15, 6, 8, 3, 14, 3, 10, 0, 12],
"result": "valid"
},
{
"tcId": 618,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [8, 12, 5, 4, 2, 14, 0, 12, 12, 6, 12, 11, 8, 2, 15, 7, 3, 5],
"ct": [14, 3, 7, 10, 4, 15, 6, 3, 11, 0, 1, 4, 0, 6, 6, 0, 9, 14],
"result": "valid"
},
{
"tcId": 619,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [15, 1, 8, 9, 11, 4, 4, 7, 12, 7, 13, 6, 3, 2, 8, 5, 4, 10],
"ct": [13, 8, 2, 3, 5, 6, 7, 11, 15, 2, 10, 13, 8, 14, 1, 15, 6, 14],
"result": "valid"
},
{
"tcId": 620,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [3, 4, 8, 2, 6, 5, 11, 3, 12, 13, 7, 2, 9, 0, 4, 7, 7, 8],
"ct": [10, 10, 7, 6, 13, 6, 12, 7, 3, 0, 11, 0, 0, 12, 12, 4, 11, 9],
"result": "valid"
},
{
"tcId": 621,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [6, 2, 14, 9, 10, 13, 8, 11, 1, 9, 10, 11, 10, 14, 13, 9, 4, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 622,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [5, 14, 14, 7, 11, 6, 5, 14, 6, 7, 8, 1, 12, 1, 10, 15, 14, 4],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 623,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [10, 9, 11, 13, 6, 11, 11, 14, 15, 15, 9, 6, 8, 6, 7, 1, 3, 1],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 624,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [14, 5, 0, 1, 5, 14, 2, 4, 2, 6, 3, 3, 15, 7, 2, 13, 10, 15],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 625,
"comment": "y = 0 and (y + a) % radix**9 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "3e9b68debd7de8aeda93",
"msg": [0, 10, 0, 3, 10, 7, 13, 3, 3, 0, 1, 4, 1, 4, 11, 11, 15, 6],
"ct": [1, 10, 4, 11, 5, 7, 3, 5, 3, 1, 9, 4, 10, 2, 5, 7, 13, 3],
"result": "valid"
},
{
"tcId": 626,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "3e9b68debd7de8aeda93",
"msg": [5, 0, 3, 15, 10, 0, 13, 15, 13, 0, 8, 0, 12, 5, 6, 14, 5, 9],
"ct": [8, 0, 14, 6, 10, 15, 9, 3, 9, 1, 10, 13, 0, 1, 13, 1, 9, 6],
"result": "valid"
},
{
"tcId": 627,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "3e9b68debd7de8aeda93",
"msg": [11, 11, 3, 3, 0, 1, 13, 3, 11, 10, 4, 1, 4, 13, 8, 10, 10, 3],
"ct": [15, 3, 2, 15, 12, 3, 6, 0, 6, 9, 12, 11, 10, 5, 1, 15, 1, 8],
"result": "valid"
},
{
"tcId": 628,
"comment": "y = 0 and (y + a) % radix**9 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "3e9b68debd7de8aeda93",
"msg": [14, 13, 7, 4, 8, 0, 7, 9, 10, 15, 5, 8, 9, 5, 0, 13, 6, 6],
"ct": [3, 3, 15, 13, 10, 3, 6, 0, 2, 1, 10, 3, 11, 7, 12, 8, 9, 8],
"result": "valid"
},
{
"tcId": 629,
"comment": "y = 1 and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "216b89f2c39bc8977d07",
"msg": [3, 14, 6, 8, 10, 8, 12, 5, 7, 14, 9, 8, 1, 14, 0, 0, 0, 1],
"ct": [8, 0, 14, 13, 14, 11, 12, 11, 15, 2, 0, 3, 0, 5, 11, 12, 14, 12],
"result": "valid"
},
{
"tcId": 630,
"comment": "y = 1 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "216b89f2c39bc8977d07",
"msg": [14, 7, 2, 5, 13, 2, 10, 2, 0, 11, 13, 4, 0, 3, 8, 1, 13, 0],
"ct": [4, 10, 10, 4, 5, 9, 10, 12, 14, 9, 10, 7, 3, 4, 1, 12, 11, 1],
"result": "valid"
},
{
"tcId": 631,
"comment": "y = 1 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "216b89f2c39bc8977d07",
"msg": [4, 15, 1, 2, 10, 1, 3, 5, 4, 5, 7, 11, 10, 0, 8, 0, 5, 8],
"ct": [1, 15, 13, 12, 13, 2, 10, 4, 1, 6, 3, 11, 9, 5, 10, 3, 7, 14],
"result": "valid"
},
{
"tcId": 632,
"comment": "y = 1 and (y + a) % radix**9 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "216b89f2c39bc8977d07",
"msg": [0, 8, 1, 9, 8, 10, 4, 10, 10, 3, 11, 6, 14, 10, 7, 0, 15, 15],
"ct": [5, 8, 11, 10, 0, 10, 3, 1, 5, 1, 12, 13, 13, 3, 0, 15, 1, 11],
"result": "valid"
},
{
"tcId": 633,
"comment": "y = 1 and (y + a) % radix**9 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "216b89f2c39bc8977d07",
"msg": [13, 6, 0, 5, 10, 12, 6, 5, 0, 3, 15, 0, 10, 8, 0, 11, 7, 5],
"ct": [2, 4, 1, 2, 3, 5, 1, 13, 3, 12, 8, 9, 8, 3, 13, 4, 3, 11],
"result": "valid"
},
{
"tcId": 634,
"comment": "y is maximal and (y + a) % radix**9 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "eccb7578c8eb5222b60e",
"msg": [5, 4, 7, 6, 13, 12, 3, 7, 8, 11, 2, 11, 4, 3, 0, 7, 9, 14],
"ct": [14, 6, 7, 4, 13, 14, 12, 4, 12, 7, 0, 5, 11, 14, 10, 7, 14, 0],
"result": "valid"
},
{
"tcId": 635,
"comment": "y is maximal and (y + a) % radix**9 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "eccb7578c8eb5222b60e",
"msg": [4, 1, 10, 6, 2, 2, 7, 0, 2, 4, 9, 1, 14, 1, 4, 14, 1, 2],
"ct": [6, 7, 10, 15, 12, 14, 4, 10, 7, 3, 6, 8, 3, 4, 10, 0, 4, 6],
"result": "valid"
},
{
"tcId": 636,
"comment": "y is maximal and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "eccb7578c8eb5222b60e",
"msg": [15, 3, 7, 9, 0, 2, 4, 9, 4, 7, 4, 14, 15, 7, 12, 5, 3, 11],
"ct": [2, 13, 6, 6, 6, 10, 12, 11, 0, 3, 0, 9, 10, 2, 1, 15, 8, 0],
"result": "valid"
},
{
"tcId": 637,
"comment": "y is maximal and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "eccb7578c8eb5222b60e",
"msg": [2, 2, 3, 15, 8, 10, 4, 10, 9, 11, 12, 14, 3, 0, 12, 2, 2, 12],
"ct": [9, 4, 14, 10, 2, 15, 10, 6, 7, 2, 2, 9, 0, 11, 7, 7, 14, 5],
"result": "valid"
},
{
"tcId": 638,
"comment": "y is edge case for modular reduction and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "8539e800a93a87c5821a",
"msg": [13, 10, 15, 7, 4, 7, 3, 9, 7, 8, 0, 6, 13, 15, 9, 3, 7, 7],
"ct": [14, 6, 0, 5, 11, 9, 8, 11, 4, 15, 15, 15, 15, 15, 15, 15, 15, 0],
"result": "valid"
},
{
"tcId": 639,
"comment": "y is edge case for modular reduction and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "8539e800a93a87c5821a",
"msg": [14, 9, 13, 4, 10, 6, 1, 6, 1, 11, 11, 4, 9, 12, 6, 7, 2, 8],
"ct": [14, 6, 0, 5, 11, 9, 8, 11, 4, 15, 15, 15, 15, 15, 15, 15, 15, 1],
"result": "valid"
},
{
"tcId": 640,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "8539e800a93a87c5821a",
"msg": [11, 6, 0, 13, 13, 1, 1, 7, 10, 15, 1, 4, 13, 14, 7, 11, 14, 1],
"ct": [14, 6, 0, 5, 11, 9, 8, 11, 4, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 641,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "8539e800a93a87c5821a",
"msg": [4, 3, 1, 8, 2, 2, 5, 13, 9, 4, 7, 5, 4, 0, 4, 2, 0, 11],
"ct": [14, 6, 0, 5, 11, 9, 8, 11, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 642,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "8539e800a93a87c5821a",
"msg": [2, 6, 6, 9, 9, 3, 6, 12, 0, 5, 7, 7, 6, 9, 7, 2, 7, 10],
"ct": [14, 6, 0, 5, 11, 9, 8, 11, 4, 7, 15, 15, 15, 15, 15, 15, 15, 0],
"result": "valid"
},
{
"tcId": 643,
"comment": "y is edge case for modular reduction and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "8539e800a93a87c5821a",
"msg": [1, 6, 5, 6, 1, 10, 11, 15, 10, 5, 5, 15, 13, 0, 11, 3, 5, 9],
"ct": [14, 6, 0, 5, 11, 9, 8, 11, 4, 15, 15, 15, 15, 15, 15, 15, 14, 15],
"result": "valid"
},
{
"tcId": 644,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "0f16f1d62289fbad1bc9",
"msg": [4, 7, 7, 3, 9, 9, 2, 7, 13, 15, 13, 10, 0, 2, 1, 3, 1, 9],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 0, 10, 10, 7, 0, 10, 15, 15],
"result": "valid"
},
{
"tcId": 645,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "0f16f1d62289fbad1bc9",
"msg": [13, 12, 11, 5, 3, 1, 6, 14, 4, 15, 7, 10, 1, 7, 15, 7, 7, 3],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 15, 7, 6, 8, 0, 2, 8, 14],
"result": "valid"
},
{
"tcId": 646,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "0f16f1d62289fbad1bc9",
"msg": [9, 5, 15, 7, 4, 8, 10, 6, 9, 15, 1, 9, 1, 1, 9, 14, 6, 11],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 5, 9, 15, 7, 0, 0, 8, 14],
"result": "valid"
},
{
"tcId": 647,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "0f16f1d62289fbad1bc9",
"msg": [7, 13, 10, 3, 15, 14, 4, 8, 4, 5, 3, 13, 13, 13, 7, 11, 8, 5],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 14, 15, 11, 0, 5, 6, 3, 5, 4, 13],
"result": "valid"
},
{
"tcId": 648,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8f3a40ed121d763ce94121d1a884ac4f",
"tweak": "5e37cf940f79d378",
"msg": [-1, 11, 1, 0, 14, 13, 8, 8, 14, 3, 13, 8, 8, 6, 9, 13, 7, 5],
"ct": [9, 10, 9, 2, 13, 4, 6, 3, 7, 7, 10, 13, 11, 7, 4, 1, 15, 7],
"result": "invalid"
},
{
"tcId": 649,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8f3a40ed121d763ce94121d1a884ac4f",
"tweak": "5e37cf940f79d378",
"msg": [3, 11, 1, 0, 14, 13, -1, 8, 14, 3, 13, 8, 8, 6, 9, 13, 7, 5],
"ct": [15, 14, 3, 2, 7, 5, 6, 7, 6, 9, 3, 7, 14, 14, 12, 5, 15, 5],
"result": "invalid"
},
{
"tcId": 650,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8f3a40ed121d763ce94121d1a884ac4f",
"tweak": "5e37cf940f79d378",
"msg": [3, 11, 1, 0, 14, 13, 8, 8, 14, 3, 13, 8, 8, 6, 9, 13, 7, -1],
"ct": [5, 10, 13, 14, 12, 11, 5, 1, 4, 10, 6, 13, 2, 11, 9, 14, 2, 9],
"result": "invalid"
},
{
"tcId": 651,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "92da820ad8b8a53bbd780571c39b742a",
"tweak": "c46d9899f7e8176a",
"msg": [16, 4, 12, 7, 3, 2, 2, 1, 11, 5, 14, 15, 12, 1, 4, 2, 10, 11],
"ct": [6, 5, 1, 13, 13, 2, 7, 11, 12, 0, 7, 7, 13, 12, 2, 7, 3, 12],
"result": "invalid"
},
{
"tcId": 652,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "92da820ad8b8a53bbd780571c39b742a",
"tweak": "c46d9899f7e8176a",
"msg": [0, 4, 12, 7, 3, 2, 16, 1, 11, 5, 14, 15, 12, 1, 4, 2, 10, 11],
"ct": [12, 6, 8, 8, 10, 1, 3, 14, 12, 7, 15, 3, 15, 1, 14, 5, 6, 5],
"result": "invalid"
},
{
"tcId": 653,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "92da820ad8b8a53bbd780571c39b742a",
"tweak": "c46d9899f7e8176a",
"msg": [0, 4, 12, 7, 3, 2, 2, 1, 11, 5, 14, 15, 12, 1, 4, 2, 10, 16],
"ct": [7, 6, 4, 11, 6, 11, 8, 11, 12, 11, 15, 8, 12, 12, 6, 4, 14, 13],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 19,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 654,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "3591cc97af4a5d1492305f87269ee691",
"tweak": "13786144a50ef10a",
"msg": [12, 3, 13, 1, 9, 7, 13, 15, 9, 11, 10, 12, 0, 14, 4, 3, 10, 1, 10],
"ct": [12, 7, 4, 6, 9, 5, 7, 10, 1, 14, 15, 2, 4, 3, 9, 8, 7, 3, 7],
"result": "valid"
},
{
"tcId": 655,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [5, 1, 2, 0, 0, 9, 7, 7, 0, 1, 5, 5, 11, 13, 12, 6, 2, 2, 7],
"result": "valid"
},
{
"tcId": 656,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [12, 3, 4, 0, 10, 9, 9, 11, 9, 8, 14, 2, 2, 9, 13, 4, 1, 11, 15],
"result": "valid"
},
{
"tcId": 657,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 13, 14, 14, 3, 0, 13, 15, 8, 4, 6, 5, 15, 13, 8, 10, 3, 14, 6],
"result": "valid"
},
{
"tcId": 658,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [9, 1, 13, 7, 8, 14, 5, 11, 9, 6, 9, 15, 10, 3, 2, 7, 11, 15, 15],
"result": "valid"
},
{
"tcId": 659,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [7, 4, 12, 4, 1, 13, 1, 4, 8, 0, 11, 10, 5, 0, 6, 4, 7, 5, 15],
"ct": [15, 4, 0, 4, 14, 6, 4, 12, 5, 14, 4, 9, 6, 3, 12, 3, 3, 8, 13],
"result": "valid"
},
{
"tcId": 660,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [1, 5, 0, 15, 2, 10, 9, 14, 4, 15, 14, 1, 1, 1, 6, 5, 9, 4, 8],
"ct": [12, 10, 4, 13, 3, 13, 14, 8, 15, 14, 12, 9, 2, 4, 8, 3, 6, 12, 6],
"result": "valid"
},
{
"tcId": 661,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [10, 13, 12, 14, 14, 8, 7, 9, 14, 15, 7, 14, 9, 11, 1, 1, 11, 14, 4],
"ct": [5, 5, 13, 12, 14, 6, 9, 4, 1, 0, 8, 9, 3, 9, 8, 1, 2, 14, 10],
"result": "valid"
},
{
"tcId": 662,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [8, 15, 8, 4, 13, 14, 3, 11, 14, 1, 1, 11, 8, 7, 4, 10, 14, 5, 14],
"ct": [11, 11, 11, 5, 13, 5, 9, 1, 7, 0, 3, 12, 7, 9, 13, 10, 14, 9, 8],
"result": "valid"
},
{
"tcId": 663,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [0, 10, 15, 9, 10, 4, 4, 6, 3, 10, 1, 9, 12, 12, 3, 2, 10, 3, 7],
"ct": [10, 11, 4, 6, 6, 3, 6, 9, 12, 0, 12, 15, 15, 14, 12, 15, 12, 12, 3],
"result": "valid"
},
{
"tcId": 664,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [4, 7, 2, 7, 4, 12, 3, 13, 10, 9, 11, 11, 9, 11, 13, 0, 9, 5, 0],
"ct": [13, 10, 12, 2, 2, 6, 9, 10, 4, 5, 10, 11, 15, 0, 3, 8, 0, 6, 3],
"result": "valid"
},
{
"tcId": 665,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [13, 6, 4, 0, 12, 12, 8, 5, 8, 2, 14, 14, 14, 4, 14, 3, 13, 14, 2],
"ct": [15, 1, 2, 8, 8, 15, 13, 3, 5, 10, 1, 13, 11, 8, 4, 0, 10, 4, 11],
"result": "valid"
},
{
"tcId": 666,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [1, 5, 5, 4, 13, 7, 12, 5, 0, 0, 12, 3, 1, 6, 0, 0, 2, 3, 10],
"ct": [10, 12, 3, 11, 12, 10, 4, 11, 7, 15, 8, 14, 5, 6, 7, 6, 13, 7, 7],
"result": "valid"
},
{
"tcId": 667,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [11, 13, 6, 4, 9, 7, 2, 2, 2, 4, 13, 7, 0, 7, 4, 8, 11, 14, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 668,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [8, 11, 6, 15, 4, 3, 12, 7, 12, 14, 15, 8, 12, 6, 8, 2, 4, 14, 11],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 669,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [9, 13, 5, 0, 15, 15, 3, 6, 9, 8, 14, 15, 4, 14, 9, 3, 10, 7, 9],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 670,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [14, 1, 6, 3, 14, 12, 11, 11, 11, 14, 12, 11, 2, 5, 5, 3, 13, 1, 8],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 671,
"comment": "y = 0 and (y + a) % radix**9 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "77bba355abf6ffa47045",
"msg": [8, 3, 9, 12, 11, 11, 7, 14, 6, 2, 9, 3, 4, 9, 4, 10, 11, 0, 15],
"ct": [6, 10, 4, 9, 15, 10, 11, 6, 0, 14, 6, 13, 14, 10, 6, 7, 10, 4, 1],
"result": "valid"
},
{
"tcId": 672,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "77bba355abf6ffa47045",
"msg": [8, 3, 5, 1, 5, 6, 6, 9, 2, 7, 5, 13, 15, 7, 5, 7, 0, 0, 1],
"ct": [2, 2, 10, 4, 6, 5, 0, 11, 4, 8, 4, 2, 1, 14, 15, 2, 0, 7, 8],
"result": "valid"
},
{
"tcId": 673,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "77bba355abf6ffa47045",
"msg": [6, 0, 12, 7, 4, 1, 7, 5, 15, 2, 1, 4, 10, 15, 5, 0, 2, 12, 2],
"ct": [12, 0, 2, 5, 13, 4, 13, 7, 2, 3, 11, 12, 14, 0, 9, 5, 13, 2, 9],
"result": "valid"
},
{
"tcId": 674,
"comment": "y = 0 and (y + a) % radix**9 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "77bba355abf6ffa47045",
"msg": [5, 5, 1, 6, 8, 10, 4, 5, 8, 7, 10, 11, 13, 0, 2, 2, 12, 12, 0],
"ct": [2, 9, 1, 12, 12, 10, 9, 4, 14, 9, 10, 0, 2, 12, 4, 12, 7, 7, 5],
"result": "valid"
},
{
"tcId": 675,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "912173d17354dc35a86f",
"msg": [9, 3, 13, 8, 13, 10, 2, 14, 0, 6, 10, 2, 10, 4, 7, 2, 4, 9, 12],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 1, 15, 5, 7, 8, 3, 4, 2, 3, 4, 15],
"result": "valid"
},
{
"tcId": 676,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "912173d17354dc35a86f",
"msg": [4, 13, 12, 4, 0, 6, 8, 0, 6, 11, 7, 8, 3, 5, 1, 6, 8, 7, 0],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 13, 13, 10, 4, 8, 9, 7, 6, 8],
"result": "valid"
},
{
"tcId": 677,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "912173d17354dc35a86f",
"msg": [14, 5, 7, 10, 3, 2, 11, 6, 5, 1, 13, 10, 12, 12, 13, 5, 2, 14, 0],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 1, 8, 6, 15, 15, 1, 7, 10, 8, 2, 10],
"result": "valid"
},
{
"tcId": 678,
"comment": "y = 1 and (y + a) % radix**9 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "912173d17354dc35a86f",
"msg": [13, 11, 12, 1, 1, 9, 3, 7, 2, 14, 1, 4, 8, 13, 6, 3, 10, 4, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 10, 15, 5, 0, 12, 2, 8, 15, 6, 3],
"result": "valid"
},
{
"tcId": 679,
"comment": "y = 1 and (y + a) % radix**9 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "912173d17354dc35a86f",
"msg": [4, 0, 1, 9, 10, 14, 1, 6, 6, 2, 12, 1, 15, 4, 8, 10, 6, 12, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 8, 6, 15, 4, 5, 5, 10, 11, 5],
"result": "valid"
},
{
"tcId": 680,
"comment": "y is maximal and (y + a) % radix**9 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "b1fec69aa40c85bee265",
"msg": [5, 9, 3, 5, 11, 3, 5, 12, 2, 8, 11, 10, 10, 11, 2, 11, 1, 6, 5],
"ct": [1, 2, 1, 8, 3, 4, 12, 0, 10, 2, 6, 3, 6, 15, 1, 12, 8, 8, 13],
"result": "valid"
},
{
"tcId": 681,
"comment": "y is maximal and (y + a) % radix**9 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "b1fec69aa40c85bee265",
"msg": [6, 6, 1, 1, 0, 3, 2, 11, 14, 8, 4, 15, 12, 11, 7, 0, 12, 2, 8],
"ct": [12, 13, 1, 0, 11, 8, 1, 13, 6, 4, 5, 14, 3, 11, 13, 5, 9, 5, 9],
"result": "valid"
},
{
"tcId": 682,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "b1fec69aa40c85bee265",
"msg": [7, 9, 10, 15, 1, 0, 10, 15, 1, 1, 15, 0, 15, 14, 0, 3, 13, 5, 12],
"ct": [0, 8, 5, 13, 14, 1, 8, 15, 2, 0, 12, 6, 1, 2, 12, 4, 13, 4, 3],
"result": "valid"
},
{
"tcId": 683,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "b1fec69aa40c85bee265",
"msg": [8, 11, 0, 8, 10, 13, 6, 9, 5, 14, 1, 6, 14, 4, 14, 3, 8, 15, 15],
"ct": [3, 10, 6, 4, 2, 14, 2, 5, 1, 3, 3, 10, 8, 12, 8, 8, 11, 8, 3],
"result": "valid"
},
{
"tcId": 684,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "412c443f853821fccbab",
"msg": [11, 11, 5, 9, 11, 3, 15, 0, 7, 15, 7, 8, 3, 12, 11, 0, 0, 9, 0],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 0, 10, 2, 3, 14, 7, 14, 5, 6, 5, 4],
"result": "valid"
},
{
"tcId": 685,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "412c443f853821fccbab",
"msg": [9, 8, 0, 10, 5, 10, 8, 6, 7, 2, 0, 5, 4, 3, 7, 15, 9, 12, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 1, 7, 12, 0, 8, 12, 6, 8, 13, 4, 5],
"result": "valid"
},
{
"tcId": 686,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "412c443f853821fccbab",
"msg": [9, 12, 14, 11, 3, 10, 3, 8, 0, 5, 3, 6, 12, 13, 8, 13, 1, 5, 3],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 6, 13, 8, 12, 9, 4, 3, 4, 11, 5],
"result": "valid"
},
{
"tcId": 687,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "412c443f853821fccbab",
"msg": [12, 12, 14, 2, 9, 5, 3, 10, 0, 7, 11, 3, 5, 15, 11, 9, 1, 13, 3],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 13, 1, 5, 14, 12, 1, 1, 14, 13],
"result": "valid"
},
{
"tcId": 688,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "412c443f853821fccbab",
"msg": [5, 15, 13, 5, 12, 5, 0, 11, 8, 9, 14, 8, 3, 5, 2, 12, 4, 13, 15],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 0, 4, 13, 15, 14, 5, 12, 4, 15, 6, 4],
"result": "valid"
},
{
"tcId": 689,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "412c443f853821fccbab",
"msg": [13, 2, 5, 12, 9, 6, 3, 2, 6, 9, 0, 2, 6, 13, 4, 12, 4, 3, 10],
"ct": [15, 15, 15, 15, 15, 15, 15, 14, 15, 14, 7, 12, 8, 1, 0, 9, 2, 7, 11],
"result": "valid"
},
{
"tcId": 690,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "786e8b45590a7c260a63",
"msg": [8, 8, 9, 6, 13, 9, 5, 7, 6, 6, 13, 11, 10, 0, 8, 5, 5, 10, 3],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 13, 4, 14, 0, 6, 14, 6, 7, 7],
"result": "valid"
},
{
"tcId": 691,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "786e8b45590a7c260a63",
"msg": [5, 5, 10, 7, 2, 3, 15, 4, 10, 8, 0, 14, 6, 6, 11, 11, 6, 0, 1],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 1, 1, 15, 4, 12, 4, 3, 13, 9],
"result": "valid"
},
{
"tcId": 692,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "786e8b45590a7c260a63",
"msg": [13, 4, 4, 13, 7, 9, 5, 14, 7, 12, 10, 7, 5, 12, 9, 12, 7, 6, 14],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 6, 12, 6, 15, 12, 2, 14, 12, 5, 3],
"result": "valid"
},
{
"tcId": 693,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "786e8b45590a7c260a63",
"msg": [3, 11, 11, 14, 11, 4, 15, 9, 1, 7, 3, 14, 8, 5, 14, 10, 6, 3, 15],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 14, 14, 13, 4, 0, 2, 15, 1, 4, 9, 10],
"result": "valid"
},
{
"tcId": 694,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1cf89329cac719e6c7544a9303e78801",
"tweak": "169faf154b10cac4",
"msg": [-1, 15, 14, 1, 12, 5, 8, 14, 9, 15, 1, 15, 7, 8, 11, 11, 14, 2, 11],
"ct": [12, 11, 13, 10, 5, 10, 14, 4, 3, 13, 4, 6, 10, 4, 2, 7, 11, 0, 12],
"result": "invalid"
},
{
"tcId": 695,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1cf89329cac719e6c7544a9303e78801",
"tweak": "169faf154b10cac4",
"msg": [2, 15, 14, 1, 12, 5, -1, 14, 9, 15, 1, 15, 7, 8, 11, 11, 14, 2, 11],
"ct": [1, 8, 0, 12, 13, 15, 5, 11, 2, 12, 5, 12, 0, 13, 6, 7, 2, 10, 10],
"result": "invalid"
},
{
"tcId": 696,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1cf89329cac719e6c7544a9303e78801",
"tweak": "169faf154b10cac4",
"msg": [2, 15, 14, 1, 12, 5, 8, 14, 9, 15, 1, 15, 7, 8, 11, 11, 14, 2, -1],
"ct": [13, 4, 4, 8, 9, 4, 13, 0, 15, 6, 14, 3, 10, 11, 4, 6, 12, 9, 3],
"result": "invalid"
},
{
"tcId": 697,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7b234ad34b4b960b25e6b3cc7fe2cc05",
"tweak": "23910efd8af91f8d",
"msg": [16, 13, 7, 5, 4, 10, 8, 14, 12, 6, 14, 8, 12, 14, 6, 14, 2, 14, 10],
"ct": [14, 11, 3, 7, 14, 2, 4, 14, 14, 2, 11, 9, 8, 4, 14, 10, 15, 14, 14],
"result": "invalid"
},
{
"tcId": 698,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7b234ad34b4b960b25e6b3cc7fe2cc05",
"tweak": "23910efd8af91f8d",
"msg": [7, 13, 7, 5, 4, 10, 16, 14, 12, 6, 14, 8, 12, 14, 6, 14, 2, 14, 10],
"ct": [1, 7, 15, 4, 9, 6, 14, 10, 12, 13, 8, 0, 1, 3, 4, 7, 12, 5, 13],
"result": "invalid"
},
{
"tcId": 699,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7b234ad34b4b960b25e6b3cc7fe2cc05",
"tweak": "23910efd8af91f8d",
"msg": [7, 13, 7, 5, 4, 10, 8, 14, 12, 6, 14, 8, 12, 14, 6, 14, 2, 14, 16],
"ct": [1, 8, 4, 7, 3, 0, 3, 0, 8, 6, 15, 5, 12, 15, 4, 10, 13, 14, 14],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 20,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 700,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "ccdf8f792a48fd841d49e060315b0c3d",
"tweak": "508c6ff22207dc5b",
"msg": [13, 1, 10, 8, 11, 0, 8, 1, 12, 15, 3, 13, 3, 4, 12, 11, 11, 10, 0, 13],
"ct": [13, 6, 15, 8, 15, 4, 2, 10, 2, 9, 11, 6, 3, 0, 3, 0, 14, 12, 10, 10],
"result": "valid"
},
{
"tcId": 701,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 13, 5, 8, 14, 6, 13, 8, 10, 13, 0, 13, 8, 3, 14, 0, 13, 11, 15, 1],
"result": "valid"
},
{
"tcId": 702,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [1, 11, 14, 9, 0, 8, 5, 9, 7, 14, 5, 14, 12, 7, 14, 4, 2, 11, 13, 1],
"result": "valid"
},
{
"tcId": 703,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [5, 11, 6, 3, 0, 13, 5, 10, 9, 14, 1, 6, 6, 15, 11, 15, 15, 4, 9, 6],
"result": "valid"
},
{
"tcId": 704,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [7, 10, 9, 10, 10, 14, 8, 13, 14, 3, 13, 9, 9, 12, 13, 13, 3, 0, 13, 13],
"result": "valid"
},
{
"tcId": 705,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [1, 0, 0, 11, 9, 6, 13, 7, 3, 3, 2, 15, 10, 6, 13, 15, 1, 11, 7, 1],
"ct": [7, 11, 12, 14, 7, 5, 1, 2, 6, 7, 2, 3, 8, 12, 5, 4, 6, 7, 0, 9],
"result": "valid"
},
{
"tcId": 706,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [15, 13, 1, 4, 6, 2, 2, 15, 9, 3, 2, 2, 15, 4, 9, 8, 8, 15, 0, 12],
"ct": [9, 12, 1, 2, 4, 13, 8, 7, 10, 13, 3, 9, 13, 13, 13, 10, 2, 3, 7, 9],
"result": "valid"
},
{
"tcId": 707,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [13, 15, 7, 14, 10, 15, 14, 0, 11, 6, 14, 7, 10, 15, 10, 8, 0, 6, 14, 9],
"ct": [9, 12, 6, 6, 9, 0, 5, 3, 14, 2, 15, 12, 13, 10, 1, 6, 9, 11, 3, 8],
"result": "valid"
},
{
"tcId": 708,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [8, 2, 5, 11, 6, 4, 8, 12, 12, 14, 13, 4, 13, 13, 8, 9, 6, 0, 1, 13],
"ct": [1, 10, 9, 6, 9, 14, 10, 11, 14, 2, 12, 13, 1, 12, 12, 11, 11, 0, 1, 4],
"result": "valid"
},
{
"tcId": 709,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [4, 2, 4, 10, 14, 13, 15, 0, 7, 2, 14, 14, 15, 11, 5, 10, 13, 13, 14, 12],
"ct": [3, 1, 3, 12, 6, 8, 4, 9, 6, 14, 3, 15, 3, 7, 7, 15, 5, 5, 11, 13],
"result": "valid"
},
{
"tcId": 710,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [12, 1, 11, 13, 5, 12, 6, 9, 5, 14, 3, 15, 15, 3, 12, 3, 9, 6, 4, 8],
"ct": [5, 15, 7, 3, 1, 8, 3, 9, 1, 8, 4, 15, 1, 10, 4, 1, 11, 1, 7, 8],
"result": "valid"
},
{
"tcId": 711,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [1, 9, 12, 10, 12, 2, 5, 11, 1, 3, 5, 10, 11, 14, 6, 11, 12, 7, 0, 7],
"ct": [2, 4, 13, 13, 6, 13, 5, 8, 15, 3, 7, 4, 12, 9, 14, 3, 8, 9, 11, 11],
"result": "valid"
},
{
"tcId": 712,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [0, 11, 14, 5, 5, 9, 0, 15, 13, 0, 1, 8, 2, 2, 9, 10, 4, 8, 0, 10],
"ct": [9, 15, 7, 5, 6, 2, 5, 15, 13, 14, 13, 7, 0, 3, 12, 6, 6, 2, 1, 11],
"result": "valid"
},
{
"tcId": 713,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [1, 12, 10, 2, 10, 2, 14, 13, 8, 15, 15, 13, 5, 15, 14, 9, 7, 6, 9, 8],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 714,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [7, 13, 5, 6, 6, 2, 3, 14, 0, 15, 13, 15, 13, 5, 1, 1, 8, 3, 10, 9],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 715,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [7, 9, 2, 3, 9, 5, 5, 4, 8, 0, 8, 8, 13, 0, 6, 14, 9, 0, 10, 1],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 716,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [13, 9, 4, 12, 6, 10, 13, 11, 7, 7, 12, 14, 15, 14, 1, 5, 13, 3, 13, 12],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 717,
"comment": "y = 0 and (y + a) % radix**10 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "8f795c67621916ef3b45",
"msg": [10, 10, 0, 13, 5, 3, 10, 0, 0, 7, 9, 14, 8, 6, 9, 3, 8, 8, 10, 2],
"ct": [10, 8, 13, 14, 10, 6, 6, 4, 7, 6, 8, 8, 3, 8, 5, 6, 15, 5, 13, 14],
"result": "valid"
},
{
"tcId": 718,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "8f795c67621916ef3b45",
"msg": [9, 15, 13, 13, 3, 14, 4, 13, 9, 14, 11, 7, 6, 12, 13, 0, 15, 9, 9, 7],
"ct": [5, 9, 15, 3, 8, 10, 7, 7, 5, 10, 2, 15, 7, 4, 12, 1, 10, 7, 0, 14],
"result": "valid"
},
{
"tcId": 719,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "8f795c67621916ef3b45",
"msg": [15, 0, 5, 1, 15, 14, 5, 2, 8, 8, 3, 0, 4, 4, 13, 11, 5, 11, 4, 8],
"ct": [7, 15, 12, 10, 1, 4, 10, 0, 10, 10, 12, 3, 9, 8, 8, 6, 5, 11, 12, 0],
"result": "valid"
},
{
"tcId": 720,
"comment": "y = 0 and (y + a) % radix**10 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "8f795c67621916ef3b45",
"msg": [8, 15, 14, 0, 2, 8, 9, 2, 2, 6, 4, 13, 11, 11, 2, 15, 5, 3, 12, 12],
"ct": [0, 11, 12, 3, 11, 7, 12, 12, 12, 5, 15, 15, 13, 14, 15, 5, 5, 1, 13, 0],
"result": "valid"
},
{
"tcId": 721,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "76dab6b3accf42a24e85",
"msg": [8, 13, 2, 3, 1, 15, 10, 14, 15, 14, 14, 6, 4, 8, 5, 8, 8, 6, 7, 5],
"ct": [4, 5, 7, 0, 14, 0, 4, 0, 4, 8, 13, 1, 1, 12, 11, 15, 7, 10, 0, 9],
"result": "valid"
},
{
"tcId": 722,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "76dab6b3accf42a24e85",
"msg": [10, 12, 3, 15, 8, 4, 9, 15, 2, 7, 15, 13, 2, 9, 11, 4, 7, 0, 15, 1],
"ct": [15, 3, 5, 0, 8, 9, 10, 11, 13, 6, 15, 5, 6, 0, 9, 14, 7, 12, 0, 14],
"result": "valid"
},
{
"tcId": 723,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "76dab6b3accf42a24e85",
"msg": [6, 8, 11, 1, 5, 6, 15, 7, 2, 4, 6, 5, 4, 11, 14, 8, 14, 14, 5, 1],
"ct": [1, 4, 1, 3, 0, 15, 13, 15, 10, 1, 8, 1, 14, 0, 14, 9, 1, 4, 9, 2],
"result": "valid"
},
{
"tcId": 724,
"comment": "y = 1 and (y + a) % radix**10 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "76dab6b3accf42a24e85",
"msg": [9, 15, 11, 1, 15, 13, 11, 7, 8, 7, 15, 14, 11, 1, 15, 0, 14, 15, 11, 6],
"ct": [12, 4, 15, 10, 12, 4, 2, 6, 7, 0, 12, 9, 6, 2, 7, 4, 12, 14, 3, 0],
"result": "valid"
},
{
"tcId": 725,
"comment": "y = 1 and (y + a) % radix**10 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "76dab6b3accf42a24e85",
"msg": [7, 0, 11, 15, 14, 0, 6, 9, 2, 8, 4, 13, 7, 12, 0, 12, 13, 5, 5, 11],
"ct": [13, 12, 6, 1, 9, 4, 6, 11, 12, 2, 13, 11, 5, 13, 6, 9, 6, 4, 10, 0],
"result": "valid"
},
{
"tcId": 726,
"comment": "y is maximal and (y + a) % radix**10 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "7cc053b6e9839d6f2aa9",
"msg": [6, 3, 5, 3, 14, 12, 14, 7, 8, 3, 15, 2, 11, 8, 10, 14, 12, 9, 6, 14],
"ct": [0, 9, 13, 0, 11, 1, 14, 9, 12, 2, 8, 12, 0, 7, 11, 11, 3, 1, 15, 10],
"result": "valid"
},
{
"tcId": 727,
"comment": "y is maximal and (y + a) % radix**10 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "7cc053b6e9839d6f2aa9",
"msg": [15, 9, 6, 9, 2, 5, 12, 5, 13, 2, 5, 0, 14, 0, 1, 2, 13, 12, 2, 1],
"ct": [5, 11, 5, 14, 7, 2, 11, 0, 7, 8, 3, 14, 8, 13, 11, 6, 15, 11, 7, 6],
"result": "valid"
},
{
"tcId": 728,
"comment": "y is maximal and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "7cc053b6e9839d6f2aa9",
"msg": [13, 8, 7, 2, 9, 8, 4, 3, 2, 10, 13, 6, 7, 10, 4, 15, 6, 10, 14, 5],
"ct": [14, 5, 10, 11, 9, 0, 4, 6, 14, 10, 10, 6, 11, 0, 10, 13, 1, 5, 2, 5],
"result": "valid"
},
{
"tcId": 729,
"comment": "y is maximal and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "7cc053b6e9839d6f2aa9",
"msg": [7, 10, 6, 12, 15, 12, 8, 12, 10, 14, 4, 5, 8, 11, 13, 4, 3, 6, 8, 9],
"ct": [8, 15, 11, 6, 0, 8, 2, 7, 8, 9, 15, 6, 1, 3, 15, 3, 10, 3, 8, 8],
"result": "valid"
},
{
"tcId": 730,
"comment": "y is edge case for modular reduction and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "32a1b8707f80b3132191",
"msg": [1, 4, 10, 9, 11, 10, 15, 11, 13, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [6, 14, 0, 3, 10, 11, 7, 5, 7, 0, 1, 7, 8, 9, 4, 12, 11, 12, 13, 11],
"result": "valid"
},
{
"tcId": 731,
"comment": "y is edge case for modular reduction and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "32a1b8707f80b3132191",
"msg": [11, 11, 3, 3, 2, 14, 10, 5, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [14, 8, 4, 8, 14, 8, 10, 7, 2, 10, 3, 12, 14, 8, 5, 11, 6, 7, 1, 2],
"result": "valid"
},
{
"tcId": 732,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "32a1b8707f80b3132191",
"msg": [14, 12, 12, 3, 10, 10, 6, 10, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15],
"ct": [5, 6, 12, 10, 5, 10, 4, 7, 12, 4, 9, 6, 11, 1, 9, 11, 1, 7, 10, 6],
"result": "valid"
},
{
"tcId": 733,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "32a1b8707f80b3132191",
"msg": [5, 13, 4, 3, 1, 11, 2, 12, 2, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0],
"ct": [5, 6, 2, 12, 8, 15, 0, 4, 10, 1, 1, 3, 15, 6, 9, 2, 6, 6, 9, 15],
"result": "valid"
},
{
"tcId": 734,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "32a1b8707f80b3132191",
"msg": [4, 10, 5, 11, 8, 9, 3, 8, 9, 3, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [12, 14, 14, 2, 12, 10, 1, 6, 2, 13, 7, 14, 8, 4, 9, 8, 4, 14, 12, 12],
"result": "valid"
},
{
"tcId": 735,
"comment": "y is edge case for modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "32a1b8707f80b3132191",
"msg": [5, 7, 7, 14, 0, 5, 7, 1, 13, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [10, 7, 4, 13, 14, 12, 5, 14, 6, 11, 13, 1, 13, 13, 12, 2, 2, 4, 8, 6],
"result": "valid"
},
{
"tcId": 736,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "794127b2a082954e007c",
"msg": [4, 13, 2, 0, 10, 5, 14, 4, 12, 15, 0, 8, 8, 14, 1, 11, 2, 15, 10, 3],
"ct": [14, 15, 5, 1, 8, 9, 8, 12, 5, 9, 14, 10, 10, 9, 2, 4, 14, 9, 2, 9],
"result": "valid"
},
{
"tcId": 737,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "794127b2a082954e007c",
"msg": [6, 11, 14, 0, 10, 12, 8, 6, 14, 14, 2, 8, 6, 0, 8, 6, 6, 4, 4, 10],
"ct": [12, 8, 15, 3, 7, 1, 2, 3, 13, 7, 1, 13, 5, 5, 15, 2, 14, 6, 4, 11],
"result": "valid"
},
{
"tcId": 738,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "794127b2a082954e007c",
"msg": [15, 3, 1, 9, 2, 3, 5, 1, 9, 4, 14, 4, 3, 12, 2, 13, 15, 2, 13, 9],
"ct": [13, 12, 4, 15, 4, 11, 6, 14, 0, 15, 1, 7, 9, 10, 5, 11, 5, 3, 10, 9],
"result": "valid"
},
{
"tcId": 739,
"comment": "y is maximal after modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "794127b2a082954e007c",
"msg": [11, 15, 7, 10, 3, 0, 11, 10, 12, 13, 9, 12, 0, 8, 12, 3, 11, 11, 12, 0],
"ct": [15, 5, 7, 11, 11, 10, 7, 11, 5, 7, 10, 5, 2, 6, 12, 11, 12, 4, 8, 1],
"result": "valid"
},
{
"tcId": 740,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4e8c0fdab138c9df8d4a888e6c2df1dd",
"tweak": "76f494b34dbcd3bc",
"msg": [-1, 1, 4, 9, 14, 4, 12, 12, 4, 5, 9, 7, 9, 4, 11, 8, 12, 10, 14, 11],
"ct": [0, 1, 11, 6, 13, 9, 14, 3, 15, 8, 11, 14, 0, 12, 5, 9, 6, 12, 1, 13],
"result": "invalid"
},
{
"tcId": 741,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4e8c0fdab138c9df8d4a888e6c2df1dd",
"tweak": "76f494b34dbcd3bc",
"msg": [7, 1, 4, 9, 14, 4, -1, 12, 4, 5, 9, 7, 9, 4, 11, 8, 12, 10, 14, 11],
"ct": [6, 11, 13, 5, 1, 1, 1, 12, 14, 10, 3, 10, 9, 9, 12, 3, 6, 4, 1, 13],
"result": "invalid"
},
{
"tcId": 742,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4e8c0fdab138c9df8d4a888e6c2df1dd",
"tweak": "76f494b34dbcd3bc",
"msg": [7, 1, 4, 9, 14, 4, 12, 12, 4, 5, 9, 7, 9, 4, 11, 8, 12, 10, 14, -1],
"ct": [11, 10, 7, 0, 0, 1, 1, 13, 9, 5, 1, 9, 0, 12, 12, 11, 5, 11, 3, 2],
"result": "invalid"
},
{
"tcId": 743,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2023ceb64073ad465234ec65cb08735c",
"tweak": "61afc9d561d304e5",
"msg": [16, 15, 11, 12, 10, 8, 14, 7, 0, 14, 12, 14, 6, 3, 11, 0, 5, 15, 8, 10],
"ct": [12, 13, 0, 8, 4, 11, 5, 1, 8, 6, 6, 12, 13, 10, 15, 1, 7, 12, 1, 9],
"result": "invalid"
},
{
"tcId": 744,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2023ceb64073ad465234ec65cb08735c",
"tweak": "61afc9d561d304e5",
"msg": [6, 15, 11, 12, 10, 8, 16, 7, 0, 14, 12, 14, 6, 3, 11, 0, 5, 15, 8, 10],
"ct": [6, 13, 14, 5, 14, 2, 2, 5, 0, 1, 13, 12, 5, 15, 9, 14, 6, 3, 9, 10],
"result": "invalid"
},
{
"tcId": 745,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2023ceb64073ad465234ec65cb08735c",
"tweak": "61afc9d561d304e5",
"msg": [6, 15, 11, 12, 10, 8, 14, 7, 0, 14, 12, 14, 6, 3, 11, 0, 5, 15, 8, 16],
"ct": [1, 0, 4, 9, 7, 11, 7, 7, 5, 6, 14, 1, 13, 3, 11, 11, 7, 1, 0, 12],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 21,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 746,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "c0e4c4a9b86c17e4efe9a12733e7aff4",
"tweak": "f71b48c8172125d4",
"msg": [0, 13, 11, 12, 4, 11, 2, 5, 14, 13, 10, 2, 4, 13, 12, 11, 10, 15, 0, 8, 4],
"ct": [5, 15, 6, 15, 4, 10, 12, 4, 4, 14, 9, 12, 11, 1, 5, 3, 0, 6, 2, 9, 7],
"result": "valid"
},
{
"tcId": 747,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 4, 7, 7, 5, 5, 4, 5, 14, 12, 14, 1, 7, 11, 9, 9, 7, 6, 11, 13, 13],
"result": "valid"
},
{
"tcId": 748,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [12, 9, 1, 14, 5, 9, 4, 12, 15, 14, 8, 7, 7, 15, 7, 5, 15, 8, 7, 5, 3],
"result": "valid"
},
{
"tcId": 749,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 8, 0, 15, 8, 10, 15, 14, 8, 7, 5, 4, 2, 4, 15, 14, 13, 13, 8, 3, 6],
"result": "valid"
},
{
"tcId": 750,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [1, 8, 2, 12, 1, 2, 3, 5, 10, 4, 4, 12, 15, 7, 9, 12, 0, 8, 7, 4, 11],
"result": "valid"
},
{
"tcId": 751,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [11, 14, 11, 11, 7, 1, 3, 1, 2, 8, 6, 7, 5, 0, 13, 11, 2, 1, 0, 2, 5],
"ct": [12, 7, 14, 12, 2, 9, 15, 2, 5, 5, 13, 15, 10, 6, 13, 10, 0, 15, 3, 10, 11],
"result": "valid"
},
{
"tcId": 752,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [5, 8, 9, 7, 9, 2, 6, 3, 5, 7, 14, 4, 9, 3, 1, 11, 8, 8, 11, 1, 4],
"ct": [2, 5, 5, 0, 2, 3, 14, 10, 13, 6, 1, 15, 0, 15, 8, 6, 7, 4, 7, 2, 14],
"result": "valid"
},
{
"tcId": 753,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [14, 3, 3, 6, 15, 4, 13, 0, 0, 10, 9, 6, 9, 5, 13, 14, 1, 15, 0, 1, 7],
"ct": [1, 13, 14, 9, 0, 3, 2, 8, 2, 2, 8, 11, 6, 9, 9, 5, 3, 1, 8, 15, 3],
"result": "valid"
},
{
"tcId": 754,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [0, 12, 15, 11, 3, 8, 0, 3, 1, 13, 14, 15, 13, 11, 13, 10, 3, 7, 7, 4, 14],
"ct": [6, 0, 11, 12, 8, 11, 15, 3, 10, 6, 12, 11, 1, 4, 3, 10, 6, 5, 0, 11, 3],
"result": "valid"
},
{
"tcId": 755,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [0, 8, 15, 13, 8, 10, 12, 15, 9, 7, 2, 14, 5, 14, 3, 15, 15, 3, 3, 9, 1],
"ct": [4, 2, 12, 4, 11, 7, 9, 9, 9, 13, 3, 9, 15, 3, 0, 12, 5, 10, 2, 5, 6],
"result": "valid"
},
{
"tcId": 756,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [14, 0, 4, 15, 12, 8, 11, 8, 13, 6, 0, 15, 2, 6, 2, 10, 12, 1, 3, 7, 4],
"ct": [8, 4, 0, 13, 5, 3, 6, 14, 0, 11, 11, 1, 4, 9, 10, 13, 7, 12, 8, 5, 10],
"result": "valid"
},
{
"tcId": 757,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [2, 15, 3, 3, 2, 3, 15, 0, 10, 5, 2, 9, 6, 4, 15, 12, 3, 7, 3, 9, 10],
"ct": [11, 1, 10, 12, 14, 11, 3, 4, 2, 8, 12, 11, 0, 7, 6, 6, 6, 11, 8, 0, 12],
"result": "valid"
},
{
"tcId": 758,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [10, 6, 10, 11, 9, 7, 13, 11, 11, 8, 8, 0, 15, 0, 15, 10, 2, 1, 13, 13, 7],
"ct": [12, 10, 7, 4, 3, 5, 0, 14, 13, 14, 5, 1, 9, 5, 11, 1, 5, 13, 12, 6, 12],
"result": "valid"
},
{
"tcId": 759,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [1, 11, 1, 11, 7, 11, 11, 2, 3, 3, 0, 14, 13, 14, 10, 10, 8, 3, 5, 3, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 760,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [12, 15, 8, 13, 2, 9, 11, 11, 8, 11, 12, 3, 2, 1, 2, 9, 13, 9, 8, 15, 11],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 761,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [1, 2, 0, 5, 12, 13, 13, 7, 1, 5, 12, 9, 4, 6, 15, 8, 5, 4, 8, 8, 4],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 762,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [14, 1, 4, 2, 2, 4, 6, 15, 6, 14, 2, 5, 8, 7, 6, 11, 6, 9, 15, 7, 8],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 763,
"comment": "y = 0 and (y + a) % radix**10 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "4166382024c11325ae",
"msg": [7, 11, 12, 5, 10, 9, 11, 2, 12, 9, 15, 2, 5, 11, 13, 9, 10, 14, 0, 0, 0],
"ct": [4, 2, 13, 15, 13, 14, 10, 5, 7, 13, 10, 15, 4, 12, 3, 2, 12, 3, 7, 1, 14],
"result": "valid"
},
{
"tcId": 764,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "4166382024c11325ae",
"msg": [6, 0, 5, 12, 2, 5, 11, 14, 2, 0, 0, 3, 2, 12, 0, 1, 13, 10, 5, 8, 13],
"ct": [9, 6, 10, 8, 0, 10, 3, 12, 13, 14, 9, 4, 2, 5, 6, 12, 7, 7, 2, 5, 0],
"result": "valid"
},
{
"tcId": 765,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "4166382024c11325ae",
"msg": [14, 10, 1, 4, 6, 5, 8, 13, 7, 13, 15, 14, 12, 9, 11, 8, 8, 5, 15, 5, 1],
"ct": [4, 11, 7, 0, 8, 9, 7, 5, 4, 1, 9, 9, 15, 1, 1, 9, 8, 8, 8, 8, 4],
"result": "valid"
},
{
"tcId": 766,
"comment": "y = 0 and (y + a) % radix**10 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "4166382024c11325ae",
"msg": [0, 10, 10, 15, 10, 0, 2, 9, 12, 0, 13, 10, 2, 0, 12, 4, 6, 3, 9, 12, 2],
"ct": [6, 12, 3, 5, 15, 14, 12, 7, 10, 11, 4, 7, 10, 2, 13, 7, 11, 0, 1, 0, 9],
"result": "valid"
},
{
"tcId": 767,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "04605ea41cad300949",
"msg": [3, 11, 8, 4, 9, 0, 12, 13, 6, 6, 3, 12, 8, 0, 3, 9, 15, 1, 0, 9, 10],
"ct": [8, 7, 14, 6, 8, 11, 12, 9, 6, 13, 10, 0, 6, 2, 4, 15, 2, 8, 11, 9, 0],
"result": "valid"
},
{
"tcId": 768,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "04605ea41cad300949",
"msg": [1, 10, 13, 0, 1, 7, 11, 0, 12, 12, 8, 8, 9, 2, 7, 6, 15, 8, 14, 14, 11],
"ct": [10, 4, 2, 13, 15, 14, 10, 14, 8, 14, 1, 4, 7, 14, 2, 2, 1, 13, 6, 6, 3],
"result": "valid"
},
{
"tcId": 769,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "04605ea41cad300949",
"msg": [3, 10, 10, 4, 14, 4, 7, 11, 11, 8, 4, 6, 1, 2, 9, 8, 1, 8, 9, 14, 14],
"ct": [11, 10, 12, 13, 4, 8, 4, 3, 11, 8, 7, 4, 1, 8, 14, 5, 0, 13, 10, 5, 0],
"result": "valid"
},
{
"tcId": 770,
"comment": "y = 1 and (y + a) % radix**10 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "04605ea41cad300949",
"msg": [2, 3, 7, 3, 2, 6, 15, 10, 0, 13, 14, 6, 3, 6, 12, 6, 5, 15, 15, 7, 13],
"ct": [5, 15, 6, 0, 3, 7, 6, 2, 5, 15, 4, 12, 10, 7, 8, 10, 9, 3, 2, 4, 2],
"result": "valid"
},
{
"tcId": 771,
"comment": "y = 1 and (y + a) % radix**10 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "04605ea41cad300949",
"msg": [11, 7, 3, 4, 1, 6, 15, 1, 11, 10, 5, 4, 3, 7, 8, 14, 14, 5, 8, 7, 12],
"ct": [11, 2, 11, 6, 9, 13, 14, 0, 14, 10, 10, 7, 6, 9, 7, 13, 11, 13, 6, 3, 10],
"result": "valid"
},
{
"tcId": 772,
"comment": "y is maximal and (y + a) % radix**10 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "004c5548b418bceaad",
"msg": [13, 0, 2, 0, 6, 13, 15, 11, 6, 13, 1, 14, 1, 3, 10, 8, 2, 3, 4, 15, 4],
"ct": [15, 1, 14, 15, 14, 0, 2, 2, 9, 10, 14, 0, 15, 14, 5, 12, 2, 5, 4, 10, 14],
"result": "valid"
},
{
"tcId": 773,
"comment": "y is maximal and (y + a) % radix**10 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "004c5548b418bceaad",
"msg": [11, 0, 6, 8, 0, 13, 11, 9, 2, 0, 13, 4, 7, 5, 5, 14, 15, 15, 14, 3, 11],
"ct": [7, 0, 12, 8, 14, 8, 15, 1, 15, 1, 5, 3, 13, 11, 3, 15, 10, 4, 14, 1, 6],
"result": "valid"
},
{
"tcId": 774,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "004c5548b418bceaad",
"msg": [12, 2, 2, 1, 4, 3, 12, 4, 2, 6, 1, 4, 3, 6, 10, 14, 8, 5, 14, 5, 3],
"ct": [6, 6, 5, 4, 1, 7, 5, 3, 6, 13, 12, 7, 10, 0, 6, 7, 4, 4, 7, 10, 3],
"result": "valid"
},
{
"tcId": 775,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "004c5548b418bceaad",
"msg": [15, 6, 5, 12, 14, 0, 3, 4, 12, 11, 11, 8, 7, 5, 0, 7, 3, 1, 1, 11, 8],
"ct": [14, 3, 0, 11, 5, 1, 12, 7, 9, 13, 6, 7, 11, 12, 7, 15, 15, 6, 6, 9, 3],
"result": "valid"
},
{
"tcId": 776,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "1ce9ed5f36d5c1c556",
"msg": [7, 8, 6, 14, 14, 8, 8, 3, 14, 15, 1, 4, 1, 14, 8, 9, 6, 5, 7, 6, 3],
"ct": [7, 5, 3, 11, 10, 0, 8, 1, 14, 11, 3, 11, 0, 1, 2, 5, 10, 11, 4, 12, 6],
"result": "valid"
},
{
"tcId": 777,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "1ce9ed5f36d5c1c556",
"msg": [1, 2, 2, 8, 2, 13, 3, 1, 6, 11, 7, 3, 12, 12, 5, 13, 10, 12, 10, 2, 13],
"ct": [10, 14, 11, 15, 14, 2, 0, 12, 5, 3, 7, 4, 10, 15, 6, 14, 6, 12, 9, 11, 12],
"result": "valid"
},
{
"tcId": 778,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "1ce9ed5f36d5c1c556",
"msg": [15, 9, 15, 10, 7, 11, 3, 12, 1, 6, 11, 12, 4, 9, 8, 11, 12, 6, 15, 2, 2],
"ct": [9, 5, 9, 3, 11, 7, 8, 1, 15, 10, 7, 2, 1, 11, 3, 7, 6, 15, 2, 3, 10],
"result": "valid"
},
{
"tcId": 779,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "1ce9ed5f36d5c1c556",
"msg": [12, 2, 8, 15, 15, 12, 4, 14, 1, 2, 11, 7, 11, 4, 2, 3, 0, 4, 6, 13, 6],
"ct": [10, 11, 15, 4, 5, 10, 13, 9, 11, 8, 12, 11, 9, 10, 13, 6, 15, 15, 4, 7, 9],
"result": "valid"
},
{
"tcId": 780,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "1ce9ed5f36d5c1c556",
"msg": [11, 2, 11, 6, 4, 14, 6, 7, 12, 4, 5, 2, 4, 9, 12, 14, 14, 2, 6, 15, 3],
"ct": [0, 14, 4, 10, 6, 13, 5, 2, 1, 14, 12, 15, 0, 10, 6, 4, 7, 15, 9, 8, 3],
"result": "valid"
},
{
"tcId": 781,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "1ce9ed5f36d5c1c556",
"msg": [3, 5, 3, 4, 1, 1, 14, 4, 9, 12, 5, 13, 5, 10, 2, 8, 3, 8, 12, 9, 12],
"ct": [11, 13, 3, 0, 2, 5, 8, 2, 2, 6, 9, 3, 2, 1, 11, 9, 8, 7, 15, 8, 6],
"result": "valid"
},
{
"tcId": 782,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "add29f02a8149621ca",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 4, 6, 0, 10, 2, 6, 14, 3, 14],
"ct": [0, 10, 11, 13, 3, 3, 0, 5, 1, 8, 9, 3, 14, 4, 1, 7, 3, 14, 9, 2, 6],
"result": "valid"
},
{
"tcId": 783,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "add29f02a8149621ca",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 9, 10, 4, 6, 0, 10, 2, 6, 14, 3, 14],
"ct": [3, 11, 10, 14, 2, 3, 15, 6, 5, 9, 11, 3, 7, 10, 3, 0, 4, 6, 0, 13, 1],
"result": "valid"
},
{
"tcId": 784,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "add29f02a8149621ca",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 4, 6, 0, 10, 2, 6, 14, 3, 14],
"ct": [9, 15, 15, 9, 5, 0, 4, 6, 2, 7, 10, 8, 14, 0, 12, 1, 4, 5, 12, 13, 12],
"result": "valid"
},
{
"tcId": 785,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "add29f02a8149621ca",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 10, 4, 6, 0, 10, 2, 6, 14, 3, 14],
"ct": [12, 12, 14, 13, 1, 11, 9, 9, 11, 9, 15, 12, 5, 12, 4, 12, 0, 4, 10, 13, 11],
"result": "valid"
},
{
"tcId": 786,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fd90f1e9599e12563bf788a1a521d6ab",
"tweak": "d0a005b45247f038",
"msg": [-1, 6, 6, 14, 3, 15, 9, 15, 12, 11, 0, 3, 4, 1, 10, 13, 5, 4, 12, 3, 13],
"ct": [14, 6, 3, 1, 7, 10, 13, 9, 3, 7, 9, 5, 3, 11, 4, 15, 14, 9, 1, 6, 8],
"result": "invalid"
},
{
"tcId": 787,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fd90f1e9599e12563bf788a1a521d6ab",
"tweak": "d0a005b45247f038",
"msg": [5, 6, 6, 14, 3, 15, 9, -1, 12, 11, 0, 3, 4, 1, 10, 13, 5, 4, 12, 3, 13],
"ct": [15, 6, 2, 12, 15, 8, 6, 7, 9, 13, 8, 12, 3, 9, 13, 10, 11, 5, 8, 12, 0],
"result": "invalid"
},
{
"tcId": 788,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fd90f1e9599e12563bf788a1a521d6ab",
"tweak": "d0a005b45247f038",
"msg": [5, 6, 6, 14, 3, 15, 9, 15, 12, 11, 0, 3, 4, 1, 10, 13, 5, 4, 12, 3, -1],
"ct": [4, 8, 8, 10, 7, 9, 8, 3, 3, 8, 0, 13, 0, 4, 8, 1, 7, 4, 1, 6, 3],
"result": "invalid"
},
{
"tcId": 789,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "afd7dd92076d101acb927cb21f4c2ded",
"tweak": "c5ebae0b8a67200d",
"msg": [16, 3, 1, 9, 7, 4, 10, 15, 15, 3, 4, 8, 4, 4, 0, 0, 13, 10, 13, 9, 7],
"ct": [3, 14, 6, 9, 15, 11, 4, 14, 8, 6, 4, 3, 9, 8, 14, 13, 0, 14, 5, 6, 1],
"result": "invalid"
},
{
"tcId": 790,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "afd7dd92076d101acb927cb21f4c2ded",
"tweak": "c5ebae0b8a67200d",
"msg": [3, 3, 1, 9, 7, 4, 10, 16, 15, 3, 4, 8, 4, 4, 0, 0, 13, 10, 13, 9, 7],
"ct": [10, 8, 12, 0, 5, 4, 12, 7, 14, 5, 3, 13, 10, 5, 9, 0, 1, 5, 15, 5, 2],
"result": "invalid"
},
{
"tcId": 791,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "afd7dd92076d101acb927cb21f4c2ded",
"tweak": "c5ebae0b8a67200d",
"msg": [3, 3, 1, 9, 7, 4, 10, 15, 15, 3, 4, 8, 4, 4, 0, 0, 13, 10, 13, 9, 16],
"ct": [2, 0, 5, 11, 7, 1, 13, 6, 3, 11, 8, 13, 8, 0, 14, 4, 8, 0, 8, 3, 9],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 22,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 792,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "9ed2a54df9219a3d61b5f1758b73bda6",
"tweak": "5ecd852b587b8148",
"msg": [14, 1, 12, 11, 6, 0, 15, 11, 11, 3, 7, 4, 3, 1, 1, 1, 14, 15, 13, 6, 5, 1],
"ct": [6, 10, 7, 7, 6, 8, 6, 11, 8, 13, 1, 0, 7, 12, 13, 13, 5, 3, 10, 10, 7, 2],
"result": "valid"
},
{
"tcId": 793,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 11, 15, 10, 12, 3, 2, 10, 14, 10, 13, 6, 11, 12, 13, 11, 15, 15, 15, 6, 4, 13],
"result": "valid"
},
{
"tcId": 794,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [2, 9, 6, 11, 3, 9, 2, 11, 0, 9, 0, 11, 15, 10, 0, 1, 1, 15, 0, 5, 1, 1],
"result": "valid"
},
{
"tcId": 795,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 0, 6, 3, 3, 13, 4, 12, 5, 5, 2, 8, 12, 15, 4, 14, 8, 9, 9, 9, 2, 14],
"result": "valid"
},
{
"tcId": 796,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [8, 14, 14, 10, 0, 9, 1, 12, 9, 11, 7, 3, 4, 14, 1, 2, 14, 0, 0, 9, 14, 9],
"result": "valid"
},
{
"tcId": 797,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [10, 2, 2, 1, 4, 11, 14, 5, 7, 3, 6, 1, 5, 1, 11, 9, 3, 14, 5, 8, 13, 6],
"ct": [4, 11, 0, 3, 1, 9, 0, 2, 12, 6, 11, 3, 13, 11, 12, 8, 0, 12, 3, 14, 9, 1],
"result": "valid"
},
{
"tcId": 798,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [15, 2, 14, 4, 14, 8, 3, 14, 12, 10, 7, 9, 6, 12, 4, 9, 9, 11, 6, 12, 1, 14],
"ct": [11, 9, 11, 6, 14, 6, 9, 15, 13, 0, 12, 1, 10, 13, 4, 0, 1, 3, 11, 0, 13, 0],
"result": "valid"
},
{
"tcId": 799,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [10, 9, 4, 6, 8, 14, 1, 6, 10, 3, 11, 1, 13, 3, 0, 10, 10, 11, 2, 15, 0, 10],
"ct": [8, 4, 2, 13, 11, 0, 0, 3, 2, 3, 0, 15, 15, 8, 6, 10, 12, 1, 9, 4, 4, 12],
"result": "valid"
},
{
"tcId": 800,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [13, 8, 9, 14, 6, 3, 2, 1, 3, 4, 5, 6, 13, 2, 3, 12, 0, 1, 10, 14, 14, 10],
"ct": [13, 4, 13, 12, 5, 3, 12, 14, 7, 2, 5, 13, 11, 11, 4, 7, 8, 6, 2, 2, 9, 8],
"result": "valid"
},
{
"tcId": 801,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [7, 12, 12, 11, 10, 14, 1, 3, 13, 5, 2, 12, 15, 6, 5, 11, 2, 8, 0, 2, 15, 10],
"ct": [4, 7, 5, 12, 8, 0, 10, 6, 4, 10, 8, 4, 0, 6, 6, 7, 15, 5, 2, 15, 0, 5],
"result": "valid"
},
{
"tcId": 802,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [11, 9, 9, 9, 5, 14, 8, 2, 13, 12, 14, 5, 1, 10, 11, 0, 4, 5, 12, 15, 9, 4],
"ct": [15, 12, 11, 7, 12, 3, 10, 11, 0, 9, 0, 6, 4, 3, 12, 10, 0, 1, 7, 5, 9, 0],
"result": "valid"
},
{
"tcId": 803,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [14, 2, 3, 13, 8, 15, 0, 9, 15, 15, 14, 2, 4, 15, 3, 12, 8, 12, 11, 0, 11, 10],
"ct": [3, 6, 14, 9, 12, 12, 6, 4, 14, 3, 4, 8, 0, 8, 7, 1, 11, 0, 10, 6, 2, 7],
"result": "valid"
},
{
"tcId": 804,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [9, 15, 11, 10, 2, 10, 14, 12, 1, 15, 2, 15, 10, 15, 1, 2, 4, 11, 8, 0, 12, 8],
"ct": [8, 2, 0, 2, 3, 15, 10, 6, 4, 11, 0, 12, 15, 5, 7, 9, 5, 12, 9, 10, 9, 7],
"result": "valid"
},
{
"tcId": 805,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [11, 9, 14, 6, 1, 4, 13, 13, 5, 5, 2, 6, 11, 4, 12, 1, 5, 6, 4, 15, 2, 2],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 806,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [4, 5, 13, 12, 3, 13, 0, 3, 4, 6, 3, 6, 0, 1, 14, 4, 8, 0, 11, 8, 5, 12],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 807,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [15, 14, 4, 4, 6, 2, 7, 2, 11, 2, 6, 5, 4, 4, 11, 10, 0, 10, 4, 2, 3, 12],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 808,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [12, 13, 14, 10, 10, 10, 3, 3, 7, 4, 4, 9, 0, 3, 2, 7, 14, 6, 12, 3, 15, 7],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 809,
"comment": "y = 0 and (y + a) % radix**11 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "cbbce022fea97525ed",
"msg": [14, 13, 4, 13, 0, 12, 3, 11, 11, 15, 10, 5, 10, 11, 0, 15, 14, 8, 12, 4, 4, 12],
"ct": [10, 1, 5, 15, 2, 1, 6, 1, 4, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 810,
"comment": "y = 0 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "cbbce022fea97525ed",
"msg": [14, 13, 15, 12, 4, 13, 5, 7, 11, 0, 7, 13, 12, 9, 12, 12, 1, 7, 2, 0, 9, 4],
"ct": [10, 1, 5, 15, 2, 1, 6, 1, 4, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 811,
"comment": "y = 0 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "cbbce022fea97525ed",
"msg": [4, 4, 1, 12, 7, 14, 10, 1, 12, 13, 2, 15, 14, 1, 15, 8, 5, 8, 3, 8, 5, 14],
"ct": [10, 1, 5, 15, 2, 1, 6, 1, 4, 12, 12, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 812,
"comment": "y = 0 and (y + a) % radix**11 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "cbbce022fea97525ed",
"msg": [7, 1, 3, 5, 2, 12, 6, 12, 0, 6, 13, 1, 5, 2, 3, 5, 9, 8, 8, 6, 4, 8],
"ct": [10, 1, 5, 15, 2, 1, 6, 1, 4, 12, 12, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 813,
"comment": "y = 1 and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "e6f703e500ae760b77",
"msg": [4, 5, 15, 5, 4, 13, 8, 4, 11, 7, 4, 12, 11, 14, 2, 0, 9, 4, 10, 11, 13, 15],
"ct": [0, 11, 8, 1, 12, 15, 10, 2, 7, 1, 8, 9, 13, 7, 14, 12, 15, 9, 3, 9, 10, 7],
"result": "valid"
},
{
"tcId": 814,
"comment": "y = 1 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "e6f703e500ae760b77",
"msg": [2, 3, 2, 0, 9, 3, 12, 12, 7, 3, 4, 2, 14, 11, 12, 4, 15, 12, 5, 15, 14, 15],
"ct": [15, 11, 8, 11, 10, 0, 1, 0, 5, 15, 4, 1, 14, 4, 3, 14, 14, 0, 10, 14, 11, 3],
"result": "valid"
},
{
"tcId": 815,
"comment": "y = 1 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "e6f703e500ae760b77",
"msg": [5, 3, 2, 6, 15, 8, 2, 8, 14, 8, 0, 1, 10, 10, 0, 6, 9, 0, 13, 13, 15, 11],
"ct": [0, 3, 0, 2, 14, 11, 6, 3, 8, 13, 13, 8, 15, 6, 7, 3, 14, 0, 4, 15, 13, 5],
"result": "valid"
},
{
"tcId": 816,
"comment": "y = 1 and (y + a) % radix**11 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "e6f703e500ae760b77",
"msg": [7, 5, 7, 4, 4, 8, 8, 15, 11, 13, 14, 4, 6, 15, 12, 15, 13, 12, 15, 1, 6, 6],
"ct": [9, 5, 15, 10, 9, 2, 14, 5, 15, 12, 12, 9, 8, 6, 11, 10, 8, 4, 8, 7, 8, 5],
"result": "valid"
},
{
"tcId": 817,
"comment": "y = 1 and (y + a) % radix**11 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "e6f703e500ae760b77",
"msg": [10, 14, 1, 9, 0, 9, 7, 10, 13, 9, 3, 5, 1, 5, 10, 4, 2, 10, 8, 3, 15, 11],
"ct": [1, 4, 9, 9, 0, 6, 7, 10, 6, 15, 0, 3, 13, 0, 8, 11, 4, 12, 12, 15, 15, 10],
"result": "valid"
},
{
"tcId": 818,
"comment": "y is maximal and (y + a) % radix**11 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "456ea2ee2ae9b6bbf7",
"msg": [15, 0, 7, 13, 15, 0, 8, 11, 14, 0, 13, 11, 6, 4, 13, 3, 0, 12, 10, 6, 0, 4],
"ct": [8, 7, 11, 11, 7, 8, 6, 11, 9, 3, 9, 5, 12, 8, 15, 2, 14, 3, 14, 3, 0, 15],
"result": "valid"
},
{
"tcId": 819,
"comment": "y is maximal and (y + a) % radix**11 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "456ea2ee2ae9b6bbf7",
"msg": [1, 12, 5, 8, 2, 6, 9, 7, 6, 7, 7, 1, 10, 2, 11, 14, 1, 10, 7, 2, 0, 13],
"ct": [11, 13, 11, 15, 14, 2, 11, 2, 0, 15, 12, 1, 3, 3, 4, 4, 11, 3, 6, 8, 4, 14],
"result": "valid"
},
{
"tcId": 820,
"comment": "y is maximal and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "456ea2ee2ae9b6bbf7",
"msg": [6, 5, 11, 9, 10, 13, 15, 9, 3, 9, 6, 7, 15, 1, 0, 9, 7, 8, 13, 8, 11, 12],
"ct": [1, 2, 5, 12, 6, 7, 14, 0, 8, 1, 6, 15, 5, 5, 3, 11, 14, 10, 9, 0, 7, 2],
"result": "valid"
},
{
"tcId": 821,
"comment": "y is maximal and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "456ea2ee2ae9b6bbf7",
"msg": [14, 5, 14, 6, 12, 1, 15, 6, 3, 10, 0, 14, 9, 3, 3, 8, 5, 8, 5, 0, 1, 9],
"ct": [1, 1, 0, 1, 11, 7, 15, 12, 3, 13, 2, 8, 1, 3, 11, 7, 2, 11, 1, 1, 6, 9],
"result": "valid"
},
{
"tcId": 822,
"comment": "y is edge case for modular reduction and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "6e1a5a98d7e703362c",
"msg": [7, 11, 15, 9, 4, 13, 5, 7, 4, 7, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [6, 3, 10, 5, 12, 7, 15, 7, 10, 3, 11, 6, 7, 0, 5, 11, 4, 6, 9, 5, 3, 0],
"result": "valid"
},
{
"tcId": 823,
"comment": "y is edge case for modular reduction and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "6e1a5a98d7e703362c",
"msg": [3, 2, 10, 10, 11, 6, 2, 12, 2, 15, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [1, 2, 13, 13, 15, 15, 2, 14, 2, 13, 15, 6, 9, 6, 3, 1, 11, 15, 10, 1, 10, 2],
"result": "valid"
},
{
"tcId": 824,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "6e1a5a98d7e703362c",
"msg": [10, 15, 6, 4, 14, 5, 12, 1, 5, 7, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15],
"ct": [10, 4, 11, 14, 14, 10, 15, 7, 0, 1, 12, 13, 5, 3, 7, 15, 12, 6, 4, 4, 3, 7],
"result": "valid"
},
{
"tcId": 825,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "6e1a5a98d7e703362c",
"msg": [3, 8, 4, 9, 7, 4, 9, 0, 6, 11, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0],
"ct": [5, 6, 9, 1, 7, 5, 13, 7, 4, 0, 15, 3, 6, 0, 9, 10, 13, 14, 10, 3, 3, 14],
"result": "valid"
},
{
"tcId": 826,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "6e1a5a98d7e703362c",
"msg": [6, 0, 5, 6, 6, 3, 10, 10, 8, 9, 9, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 7, 13, 2, 8, 11, 8, 9, 15, 7, 12, 6, 7, 10, 0, 15, 5, 12, 7, 8, 8, 2],
"result": "valid"
},
{
"tcId": 827,
"comment": "y is edge case for modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "6e1a5a98d7e703362c",
"msg": [14, 5, 13, 1, 10, 13, 6, 9, 2, 2, 6, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [14, 9, 14, 2, 0, 10, 4, 14, 15, 1, 7, 1, 5, 12, 14, 9, 15, 15, 10, 5, 7, 11],
"result": "valid"
},
{
"tcId": 828,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "3a95fcfb1d017e09bd",
"msg": [2, 6, 8, 12, 15, 10, 2, 12, 7, 15, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [14, 5, 8, 6, 4, 10, 7, 3, 9, 7, 11, 9, 12, 14, 0, 1, 6, 2, 2, 11, 2, 15],
"result": "valid"
},
{
"tcId": 829,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "3a95fcfb1d017e09bd",
"msg": [0, 15, 9, 1, 13, 10, 4, 14, 1, 11, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [6, 4, 13, 8, 5, 6, 4, 5, 5, 8, 13, 7, 1, 2, 5, 9, 13, 8, 15, 8, 6, 3],
"result": "valid"
},
{
"tcId": 830,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "3a95fcfb1d017e09bd",
"msg": [0, 8, 14, 6, 3, 15, 4, 11, 10, 14, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [14, 7, 15, 11, 1, 13, 5, 9, 15, 15, 4, 7, 15, 10, 13, 4, 1, 8, 15, 3, 11, 5],
"result": "valid"
},
{
"tcId": 831,
"comment": "y is maximal after modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "3a95fcfb1d017e09bd",
"msg": [14, 5, 12, 8, 5, 12, 10, 1, 14, 7, 4, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [9, 3, 6, 7, 1, 2, 5, 13, 0, 14, 5, 6, 10, 1, 0, 2, 1, 3, 14, 1, 15, 3],
"result": "valid"
},
{
"tcId": 832,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1a09b8fb562701a282ce28747f0b0a52",
"tweak": "ec1b2b9ede1b38ea",
"msg": [-1, 11, 4, 12, 12, 0, 2, 0, 9, 7, 4, 1, 4, 5, 11, 2, 14, 1, 7, 10, 5, 1],
"ct": [5, 9, 7, 10, 11, 11, 9, 14, 0, 3, 0, 1, 15, 7, 1, 9, 14, 9, 7, 12, 9, 2],
"result": "invalid"
},
{
"tcId": 833,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1a09b8fb562701a282ce28747f0b0a52",
"tweak": "ec1b2b9ede1b38ea",
"msg": [6, 11, 4, 12, 12, 0, 2, -1, 9, 7, 4, 1, 4, 5, 11, 2, 14, 1, 7, 10, 5, 1],
"ct": [6, 12, 7, 0, 15, 3, 12, 1, 1, 0, 4, 5, 6, 5, 5, 8, 15, 5, 11, 12, 3, 5],
"result": "invalid"
},
{
"tcId": 834,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1a09b8fb562701a282ce28747f0b0a52",
"tweak": "ec1b2b9ede1b38ea",
"msg": [6, 11, 4, 12, 12, 0, 2, 0, 9, 7, 4, 1, 4, 5, 11, 2, 14, 1, 7, 10, 5, -1],
"ct": [1, 11, 5, 3, 1, 12, 8, 3, 5, 9, 6, 2, 6, 0, 7, 4, 3, 4, 2, 3, 7, 4],
"result": "invalid"
},
{
"tcId": 835,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6311c63d5eba451c52bc4ac9649a9fe5",
"tweak": "9995d08758fdc0e4",
"msg": [16, 6, 12, 13, 15, 4, 14, 3, 12, 14, 0, 1, 8, 7, 10, 4, 2, 14, 13, 10, 5, 8],
"ct": [8, 14, 9, 11, 0, 8, 6, 0, 4, 2, 14, 1, 8, 11, 10, 10, 3, 4, 8, 15, 11, 8],
"result": "invalid"
},
{
"tcId": 836,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6311c63d5eba451c52bc4ac9649a9fe5",
"tweak": "9995d08758fdc0e4",
"msg": [3, 6, 12, 13, 15, 4, 14, 16, 12, 14, 0, 1, 8, 7, 10, 4, 2, 14, 13, 10, 5, 8],
"ct": [9, 9, 6, 11, 12, 5, 7, 15, 0, 6, 11, 6, 11, 4, 7, 1, 7, 15, 3, 6, 1, 12],
"result": "invalid"
},
{
"tcId": 837,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6311c63d5eba451c52bc4ac9649a9fe5",
"tweak": "9995d08758fdc0e4",
"msg": [3, 6, 12, 13, 15, 4, 14, 3, 12, 14, 0, 1, 8, 7, 10, 4, 2, 14, 13, 10, 5, 16],
"ct": [11, 9, 10, 10, 9, 1, 6, 11, 1, 2, 14, 1, 0, 10, 5, 2, 2, 5, 15, 10, 5, 0],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 23,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 838,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "b9259b7f8c36246e73802b650cec0f3a",
"tweak": "338104fb3b076bc4",
"msg": [5, 15, 6, 6, 0, 11, 13, 13, 6, 4, 2, 10, 1, 2, 6, 7, 8, 0, 0, 10, 2, 4, 6],
"ct": [5, 6, 13, 12, 7, 0, 7, 6, 3, 5, 15, 2, 15, 0, 11, 2, 13, 11, 7, 1, 14, 4, 7],
"result": "valid"
},
{
"tcId": 839,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 4, 15, 0, 12, 12, 6, 13, 6, 9, 5, 13, 0, 1, 5, 1, 13, 7, 0, 1, 9, 4, 13],
"result": "valid"
},
{
"tcId": 840,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [13, 4, 15, 15, 7, 15, 2, 0, 4, 10, 2, 8, 1, 9, 14, 10, 11, 3, 7, 9, 7, 6, 7],
"result": "valid"
},
{
"tcId": 841,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 8, 1, 4, 9, 6, 14, 12, 14, 1, 14, 15, 3, 7, 3, 15, 10, 15, 15, 6, 10, 11, 6],
"result": "valid"
},
{
"tcId": 842,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [13, 2, 12, 14, 5, 10, 5, 3, 15, 15, 8, 6, 6, 4, 1, 15, 11, 2, 11, 11, 14, 2, 15],
"result": "valid"
},
{
"tcId": 843,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [13, 1, 4, 1, 8, 15, 13, 5, 15, 13, 10, 8, 12, 9, 3, 15, 2, 6, 1, 0, 7, 10, 2],
"ct": [2, 10, 4, 4, 2, 5, 4, 0, 8, 14, 11, 12, 14, 9, 6, 1, 11, 6, 6, 10, 3, 3, 3],
"result": "valid"
},
{
"tcId": 844,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [4, 1, 2, 1, 15, 5, 14, 14, 0, 5, 10, 13, 5, 9, 3, 9, 3, 15, 7, 6, 14, 13, 3],
"ct": [6, 5, 4, 8, 11, 9, 4, 13, 1, 4, 11, 4, 14, 11, 12, 13, 4, 8, 1, 4, 3, 3, 10],
"result": "valid"
},
{
"tcId": 845,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [7, 4, 13, 0, 3, 11, 14, 6, 15, 5, 12, 13, 14, 14, 4, 8, 11, 15, 8, 13, 3, 0, 12],
"ct": [0, 13, 10, 15, 1, 4, 13, 4, 4, 4, 0, 3, 2, 2, 15, 10, 13, 8, 8, 12, 3, 2, 5],
"result": "valid"
},
{
"tcId": 846,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [1, 13, 10, 9, 10, 9, 8, 3, 6, 12, 9, 10, 9, 1, 14, 3, 9, 1, 7, 3, 4, 8, 8],
"ct": [12, 4, 15, 13, 9, 10, 4, 10, 3, 6, 2, 10, 11, 7, 2, 3, 8, 0, 9, 0, 8, 5, 10],
"result": "valid"
},
{
"tcId": 847,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [6, 11, 7, 12, 1, 0, 9, 15, 12, 5, 1, 3, 0, 15, 8, 14, 12, 2, 1, 2, 12, 3, 4],
"ct": [11, 6, 14, 0, 11, 8, 6, 12, 4, 6, 10, 14, 15, 0, 11, 6, 3, 2, 4, 2, 8, 2, 4],
"result": "valid"
},
{
"tcId": 848,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [15, 11, 13, 3, 9, 12, 1, 15, 3, 6, 9, 7, 13, 14, 2, 1, 2, 14, 13, 8, 11, 1, 2],
"ct": [12, 9, 4, 1, 13, 14, 10, 9, 1, 9, 8, 15, 8, 8, 1, 4, 14, 6, 13, 0, 0, 6, 15],
"result": "valid"
},
{
"tcId": 849,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [4, 3, 9, 12, 9, 3, 3, 6, 13, 7, 4, 0, 1, 9, 3, 13, 11, 15, 4, 2, 1, 12, 1],
"ct": [11, 2, 0, 7, 0, 14, 12, 10, 4, 9, 15, 9, 6, 15, 10, 14, 7, 10, 1, 6, 6, 0, 2],
"result": "valid"
},
{
"tcId": 850,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [15, 2, 7, 8, 1, 1, 4, 5, 10, 13, 2, 4, 7, 13, 12, 4, 5, 0, 14, 12, 10, 5, 9],
"ct": [2, 15, 11, 2, 4, 1, 0, 11, 15, 0, 5, 11, 14, 6, 11, 14, 11, 5, 4, 11, 15, 11, 12],
"result": "valid"
},
{
"tcId": 851,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [7, 5, 7, 2, 10, 7, 12, 6, 8, 11, 7, 2, 10, 14, 10, 7, 0, 2, 14, 5, 3, 10, 3],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 852,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [13, 5, 7, 11, 8, 15, 11, 12, 11, 1, 2, 6, 13, 13, 14, 1, 4, 10, 9, 3, 2, 11, 8],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 853,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [2, 14, 7, 6, 6, 15, 2, 4, 3, 3, 13, 14, 14, 10, 1, 14, 5, 3, 9, 12, 10, 15, 9],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 854,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [13, 8, 9, 1, 9, 8, 5, 9, 9, 14, 1, 13, 11, 8, 1, 4, 2, 14, 5, 1, 0, 0, 12],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 855,
"comment": "y = 0 and (y + a) % radix**11 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "b7186d8ec3750f7304",
"msg": [7, 4, 3, 7, 2, 2, 8, 3, 9, 3, 14, 6, 6, 13, 11, 7, 8, 12, 5, 8, 14, 7, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 6, 14, 13, 12, 2, 3, 5, 2, 14, 2, 7],
"result": "valid"
},
{
"tcId": 856,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "b7186d8ec3750f7304",
"msg": [12, 3, 9, 14, 0, 2, 4, 6, 4, 14, 8, 7, 13, 2, 5, 11, 10, 7, 7, 9, 12, 14, 9],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 8, 8, 12, 9, 8, 4, 5, 15, 11, 3, 1, 1],
"result": "valid"
},
{
"tcId": 857,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "b7186d8ec3750f7304",
"msg": [7, 9, 4, 7, 11, 4, 13, 6, 0, 7, 10, 2, 5, 3, 13, 7, 7, 13, 1, 11, 10, 1, 6],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 4, 10, 4, 0, 11, 3, 15, 8, 7, 7, 0],
"result": "valid"
},
{
"tcId": 858,
"comment": "y = 0 and (y + a) % radix**11 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "b7186d8ec3750f7304",
"msg": [7, 10, 9, 13, 11, 14, 7, 3, 4, 7, 12, 9, 13, 11, 12, 1, 3, 8, 13, 13, 2, 5, 0],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 6, 1, 2, 5, 9, 2, 5, 10, 11, 5, 15, 0],
"result": "valid"
},
{
"tcId": 859,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "7f949eafa09eac79dd",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 12, 13, 8, 1, 3, 1, 6, 5, 6, 15, 15],
"ct": [10, 8, 5, 12, 15, 12, 15, 10, 9, 14, 1, 10, 11, 12, 15, 12, 15, 0, 10, 8, 15, 2, 12],
"result": "valid"
},
{
"tcId": 860,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "7f949eafa09eac79dd",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 7, 12, 13, 8, 1, 3, 1, 6, 5, 6, 15, 15],
"ct": [1, 10, 10, 1, 6, 3, 12, 8, 1, 2, 2, 10, 8, 8, 1, 8, 12, 5, 11, 11, 9, 3, 11],
"result": "valid"
},
{
"tcId": 861,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "7f949eafa09eac79dd",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 12, 13, 8, 1, 3, 1, 6, 5, 6, 15, 15],
"ct": [15, 8, 12, 1, 13, 12, 0, 9, 14, 7, 8, 15, 13, 2, 7, 8, 9, 5, 15, 10, 12, 11, 13],
"result": "valid"
},
{
"tcId": 862,
"comment": "y = 1 and (y + a) % radix**11 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "7f949eafa09eac79dd",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 7, 12, 13, 8, 1, 3, 1, 6, 5, 6, 15, 15],
"ct": [10, 14, 7, 15, 12, 14, 0, 2, 0, 12, 6, 5, 9, 7, 6, 9, 7, 0, 5, 1, 3, 5, 14],
"result": "valid"
},
{
"tcId": 863,
"comment": "y = 1 and (y + a) % radix**11 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "7f949eafa09eac79dd",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 12, 13, 8, 1, 3, 1, 6, 5, 6, 15, 15],
"ct": [15, 0, 3, 12, 5, 9, 9, 9, 1, 9, 14, 4, 0, 14, 0, 12, 2, 4, 2, 7, 4, 12, 11],
"result": "valid"
},
{
"tcId": 864,
"comment": "y is maximal and (y + a) % radix**11 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "fbba1f6fe8a265991b",
"msg": [8, 8, 4, 8, 2, 14, 8, 7, 15, 0, 4, 5, 7, 12, 0, 6, 10, 13, 14, 4, 13, 6, 7],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 13, 14, 11, 7, 15, 15, 0, 1, 5, 5, 11],
"result": "valid"
},
{
"tcId": 865,
"comment": "y is maximal and (y + a) % radix**11 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "fbba1f6fe8a265991b",
"msg": [5, 10, 4, 14, 12, 11, 11, 12, 11, 7, 12, 4, 10, 7, 1, 10, 15, 3, 5, 8, 7, 5, 3],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 7, 9, 6, 2, 14, 2, 10, 0, 4, 12, 6],
"result": "valid"
},
{
"tcId": 866,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "fbba1f6fe8a265991b",
"msg": [4, 14, 3, 4, 5, 5, 14, 5, 6, 3, 3, 1, 0, 14, 1, 7, 3, 3, 3, 13, 14, 6, 1],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 4, 3, 14, 13, 4, 2, 13, 14, 2, 12, 12, 2],
"result": "valid"
},
{
"tcId": 867,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "fbba1f6fe8a265991b",
"msg": [15, 12, 11, 5, 7, 3, 8, 6, 7, 3, 10, 4, 14, 10, 15, 8, 7, 11, 0, 14, 11, 8, 5],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 2, 1, 11, 9, 7, 13, 9, 12, 14, 8, 14, 6],
"result": "valid"
},
{
"tcId": 868,
"comment": "y is edge case for modular reduction and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "79729ec229501d4ce7",
"msg": [11, 4, 9, 2, 8, 5, 2, 7, 3, 5, 0, 9, 11, 12, 2, 1, 13, 15, 14, 15, 2, 14, 7],
"ct": [2, 0, 0, 3, 4, 10, 15, 0, 3, 15, 2, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0],
"result": "valid"
},
{
"tcId": 869,
"comment": "y is edge case for modular reduction and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "79729ec229501d4ce7",
"msg": [11, 12, 1, 8, 5, 2, 3, 15, 9, 10, 15, 15, 3, 10, 13, 13, 15, 12, 1, 9, 12, 5, 14],
"ct": [2, 0, 0, 3, 4, 10, 15, 0, 3, 15, 2, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1],
"result": "valid"
},
{
"tcId": 870,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "79729ec229501d4ce7",
"msg": [1, 6, 1, 8, 12, 14, 14, 14, 6, 6, 13, 4, 11, 10, 5, 11, 7, 5, 8, 6, 1, 12, 15],
"ct": [2, 0, 0, 3, 4, 10, 15, 0, 3, 15, 2, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 871,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "79729ec229501d4ce7",
"msg": [9, 7, 0, 14, 1, 11, 12, 14, 11, 13, 2, 1, 0, 3, 3, 3, 9, 13, 12, 13, 0, 8, 0],
"ct": [2, 0, 0, 3, 4, 10, 15, 0, 3, 15, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 872,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "79729ec229501d4ce7",
"msg": [2, 14, 12, 3, 15, 0, 2, 11, 1, 13, 10, 2, 13, 8, 6, 9, 2, 0, 4, 9, 8, 9, 8],
"ct": [2, 0, 0, 3, 4, 10, 15, 0, 3, 15, 2, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0],
"result": "valid"
},
{
"tcId": 873,
"comment": "y is edge case for modular reduction and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "79729ec229501d4ce7",
"msg": [8, 12, 10, 13, 6, 5, 3, 6, 13, 13, 14, 3, 5, 7, 10, 6, 9, 0, 4, 15, 9, 14, 2],
"ct": [2, 0, 0, 3, 4, 10, 15, 0, 3, 15, 2, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 15],
"result": "valid"
},
{
"tcId": 874,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "6fc8ae8b4f00519f20",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 15, 3, 7, 7, 13, 9, 3, 9, 10, 13, 12],
"ct": [14, 7, 2, 1, 11, 4, 0, 15, 10, 4, 8, 6, 2, 6, 6, 12, 14, 5, 13, 0, 10, 6, 14],
"result": "valid"
},
{
"tcId": 875,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "6fc8ae8b4f00519f20",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 7, 15, 3, 7, 7, 13, 9, 3, 9, 10, 13, 12],
"ct": [1, 9, 2, 4, 12, 15, 2, 7, 12, 15, 13, 9, 3, 5, 4, 3, 3, 0, 5, 2, 7, 1, 7],
"result": "valid"
},
{
"tcId": 876,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "6fc8ae8b4f00519f20",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 15, 3, 7, 7, 13, 9, 3, 9, 10, 13, 12],
"ct": [9, 12, 13, 1, 5, 0, 14, 2, 2, 14, 9, 6, 13, 7, 1, 1, 8, 12, 8, 13, 9, 15, 7],
"result": "valid"
},
{
"tcId": 877,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "6fc8ae8b4f00519f20",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 3, 7, 7, 13, 9, 3, 9, 10, 13, 12],
"ct": [7, 4, 3, 13, 4, 13, 3, 10, 12, 4, 11, 1, 9, 12, 0, 5, 2, 6, 7, 9, 12, 8, 13],
"result": "valid"
},
{
"tcId": 878,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "44610a63e9615101e6bea82a9c0eda30",
"tweak": "b324bd04bb45a149",
"msg": [-1, 4, 11, 9, 8, 13, 4, 6, 6, 6, 13, 10, 15, 4, 8, 4, 6, 0, 1, 4, 15, 11, 2],
"ct": [2, 1, 12, 6, 3, 15, 7, 10, 0, 10, 12, 1, 6, 0, 10, 15, 0, 12, 13, 9, 5, 5, 7],
"result": "invalid"
},
{
"tcId": 879,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "44610a63e9615101e6bea82a9c0eda30",
"tweak": "b324bd04bb45a149",
"msg": [7, 4, 11, 9, 8, 13, 4, -1, 6, 6, 13, 10, 15, 4, 8, 4, 6, 0, 1, 4, 15, 11, 2],
"ct": [6, 1, 3, 10, 5, 5, 4, 15, 13, 13, 15, 1, 2, 9, 15, 9, 6, 5, 15, 6, 3, 14, 14],
"result": "invalid"
},
{
"tcId": 880,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "44610a63e9615101e6bea82a9c0eda30",
"tweak": "b324bd04bb45a149",
"msg": [7, 4, 11, 9, 8, 13, 4, 6, 6, 6, 13, 10, 15, 4, 8, 4, 6, 0, 1, 4, 15, 11, -1],
"ct": [15, 12, 3, 13, 14, 5, 8, 4, 1, 11, 8, 3, 11, 3, 12, 3, 3, 13, 12, 3, 5, 13, 6],
"result": "invalid"
},
{
"tcId": 881,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5fcd599e91c9b87bd989c8009f39bb4f",
"tweak": "18b29c69d4077c9c",
"msg": [16, 10, 1, 4, 2, 2, 0, 9, 5, 5, 13, 9, 5, 15, 5, 0, 1, 7, 7, 4, 2, 6, 12],
"ct": [14, 2, 8, 11, 5, 9, 7, 9, 11, 10, 1, 5, 4, 9, 11, 6, 15, 11, 13, 2, 12, 3, 15],
"result": "invalid"
},
{
"tcId": 882,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5fcd599e91c9b87bd989c8009f39bb4f",
"tweak": "18b29c69d4077c9c",
"msg": [6, 10, 1, 4, 2, 2, 0, 16, 5, 5, 13, 9, 5, 15, 5, 0, 1, 7, 7, 4, 2, 6, 12],
"ct": [10, 9, 9, 5, 7, 5, 14, 5, 15, 4, 1, 3, 6, 13, 10, 3, 12, 2, 15, 5, 7, 4, 0],
"result": "invalid"
},
{
"tcId": 883,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5fcd599e91c9b87bd989c8009f39bb4f",
"tweak": "18b29c69d4077c9c",
"msg": [6, 10, 1, 4, 2, 2, 0, 9, 5, 5, 13, 9, 5, 15, 5, 0, 1, 7, 7, 4, 2, 6, 16],
"ct": [3, 11, 3, 12, 9, 2, 12, 1, 1, 7, 15, 12, 2, 0, 10, 4, 14, 14, 11, 6, 9, 15, 2],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 24,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 884,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "904e573e4691681dc2db245bb369404a",
"tweak": "dc83f04ef1a5fc92",
"msg": [1, 5, 3, 0, 15, 7, 2, 6, 6, 7, 7, 4, 8, 8, 4, 0, 13, 10, 1, 15, 9, 13, 1, 14],
"ct": [10, 0, 5, 10, 4, 7, 8, 11, 11, 6, 8, 12, 10, 14, 2, 3, 2, 1, 11, 5, 7, 0, 10, 3],
"result": "valid"
},
{
"tcId": 885,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 2, 7, 1, 5, 11, 14, 1, 15, 15, 12, 15, 1, 11, 9, 9, 1, 8, 8, 12, 0, 1, 15, 8],
"result": "valid"
},
{
"tcId": 886,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [0, 6, 12, 12, 1, 13, 15, 13, 12, 14, 4, 5, 13, 8, 7, 14, 15, 8, 15, 15, 5, 15, 0, 9],
"result": "valid"
},
{
"tcId": 887,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [5, 11, 5, 9, 6, 12, 11, 7, 15, 7, 0, 11, 1, 14, 10, 10, 14, 4, 5, 12, 4, 10, 10, 10],
"result": "valid"
},
{
"tcId": 888,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [4, 12, 12, 7, 4, 12, 8, 12, 5, 13, 7, 6, 15, 8, 2, 7, 1, 7, 13, 11, 12, 4, 4, 13],
"result": "valid"
},
{
"tcId": 889,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [1, 13, 5, 4, 7, 12, 5, 14, 8, 7, 7, 13, 2, 14, 6, 8, 8, 11, 13, 15, 7, 7, 10, 4],
"ct": [2, 15, 15, 2, 5, 6, 9, 13, 4, 0, 13, 0, 14, 7, 11, 6, 13, 3, 12, 2, 12, 7, 5, 6],
"result": "valid"
},
{
"tcId": 890,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [7, 13, 9, 0, 3, 9, 7, 0, 14, 13, 15, 1, 11, 2, 7, 10, 1, 4, 15, 2, 15, 6, 2, 5],
"ct": [10, 13, 3, 10, 3, 13, 0, 3, 10, 5, 4, 0, 3, 13, 6, 2, 1, 9, 14, 4, 4, 13, 1, 15],
"result": "valid"
},
{
"tcId": 891,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [11, 1, 3, 10, 0, 3, 13, 14, 1, 12, 4, 0, 6, 4, 4, 13, 4, 3, 9, 4, 1, 12, 7, 1],
"ct": [11, 6, 14, 0, 3, 7, 14, 10, 15, 4, 1, 10, 1, 2, 10, 8, 13, 2, 6, 8, 2, 4, 2, 4],
"result": "valid"
},
{
"tcId": 892,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [0, 0, 1, 9, 6, 8, 11, 0, 5, 11, 4, 6, 8, 4, 6, 1, 5, 13, 12, 1, 7, 9, 5, 15],
"ct": [10, 13, 6, 12, 13, 14, 6, 13, 9, 8, 7, 3, 9, 10, 11, 2, 13, 1, 8, 12, 0, 14, 13, 3],
"result": "valid"
},
{
"tcId": 893,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [0, 13, 11, 3, 2, 1, 3, 10, 12, 8, 8, 15, 9, 9, 8, 9, 13, 8, 4, 9, 11, 4, 7, 6],
"ct": [0, 6, 10, 11, 7, 8, 14, 1, 10, 15, 11, 5, 2, 7, 14, 14, 15, 6, 8, 12, 14, 0, 2, 2],
"result": "valid"
},
{
"tcId": 894,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [2, 6, 7, 9, 9, 6, 10, 10, 6, 4, 9, 15, 9, 8, 12, 2, 5, 12, 1, 6, 5, 1, 8, 13],
"ct": [12, 2, 8, 9, 5, 15, 0, 0, 5, 2, 15, 1, 11, 4, 15, 7, 10, 4, 3, 10, 3, 5, 4, 3],
"result": "valid"
},
{
"tcId": 895,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [6, 13, 8, 3, 2, 0, 2, 5, 4, 8, 12, 1, 7, 2, 14, 4, 11, 14, 11, 1, 11, 5, 4, 9],
"ct": [3, 5, 7, 2, 3, 10, 15, 3, 14, 0, 15, 9, 4, 15, 2, 11, 10, 13, 11, 9, 15, 10, 9, 4],
"result": "valid"
},
{
"tcId": 896,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [8, 12, 15, 7, 3, 9, 13, 13, 3, 2, 10, 4, 0, 3, 11, 2, 5, 6, 10, 14, 10, 15, 13, 14],
"ct": [15, 14, 14, 12, 12, 4, 3, 5, 14, 12, 15, 11, 6, 1, 5, 4, 9, 6, 15, 3, 6, 0, 14, 2],
"result": "valid"
},
{
"tcId": 897,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [4, 0, 9, 0, 13, 8, 3, 5, 6, 5, 7, 2, 8, 5, 1, 11, 14, 12, 12, 10, 14, 4, 4, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 898,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [12, 0, 12, 10, 12, 9, 14, 14, 3, 14, 5, 12, 9, 13, 12, 1, 12, 14, 12, 1, 10, 9, 4, 12],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 899,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [12, 15, 7, 13, 1, 7, 9, 2, 14, 3, 7, 2, 11, 8, 13, 4, 7, 6, 6, 12, 10, 13, 7, 10],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 900,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [11, 10, 11, 7, 11, 2, 9, 13, 4, 15, 9, 14, 8, 8, 9, 0, 15, 14, 4, 7, 15, 15, 10, 13],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 901,
"comment": "y = 0 and (y + a) % radix**12 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "6fca67327faed8cac5",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 3, 11, 5, 3, 13, 12, 15, 0, 2, 10, 1],
"ct": [0, 12, 6, 7, 13, 3, 6, 8, 11, 11, 1, 0, 4, 1, 6, 6, 15, 13, 6, 2, 13, 4, 6, 5],
"result": "valid"
},
{
"tcId": 902,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "6fca67327faed8cac5",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 10, 3, 11, 5, 3, 13, 12, 15, 0, 2, 10, 1],
"ct": [5, 2, 14, 8, 8, 10, 11, 3, 4, 12, 7, 15, 1, 10, 3, 0, 0, 12, 13, 14, 9, 12, 2, 7],
"result": "valid"
},
{
"tcId": 903,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "6fca67327faed8cac5",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 3, 11, 5, 3, 13, 12, 15, 0, 2, 10, 1],
"ct": [12, 14, 3, 7, 2, 11, 11, 1, 2, 9, 0, 4, 14, 7, 14, 15, 6, 10, 0, 1, 8, 14, 2, 6],
"result": "valid"
},
{
"tcId": 904,
"comment": "y = 0 and (y + a) % radix**12 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "6fca67327faed8cac5",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 10, 3, 11, 5, 3, 13, 12, 15, 0, 2, 10, 1],
"ct": [12, 9, 6, 11, 11, 3, 12, 9, 11, 8, 3, 13, 14, 2, 10, 0, 5, 4, 1, 2, 12, 5, 13, 14],
"result": "valid"
},
{
"tcId": 905,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "85e6faa180fea2423a",
"msg": [10, 0, 4, 3, 15, 8, 9, 14, 14, 5, 15, 11, 12, 13, 4, 8, 3, 9, 8, 1, 6, 5, 10, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 11, 3, 1, 10, 15, 0, 1, 0, 12, 10, 6, 6],
"result": "valid"
},
{
"tcId": 906,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "85e6faa180fea2423a",
"msg": [10, 5, 3, 4, 7, 2, 6, 15, 6, 5, 7, 9, 9, 8, 2, 15, 4, 3, 1, 11, 7, 6, 5, 14],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 11, 8, 6, 14, 3, 13, 2, 13, 7, 0, 12, 14],
"result": "valid"
},
{
"tcId": 907,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "85e6faa180fea2423a",
"msg": [5, 5, 6, 1, 0, 8, 8, 5, 13, 8, 15, 1, 3, 6, 0, 1, 9, 13, 9, 11, 14, 4, 7, 4],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 11, 8, 9, 11, 1, 13, 11, 4, 13, 6, 14, 0],
"result": "valid"
},
{
"tcId": 908,
"comment": "y = 1 and (y + a) % radix**12 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "85e6faa180fea2423a",
"msg": [2, 4, 5, 0, 6, 13, 3, 9, 11, 7, 14, 3, 9, 5, 8, 0, 13, 15, 8, 4, 9, 3, 3, 6],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 12, 4, 4, 8, 13, 15, 2, 3, 6, 13, 4, 3],
"result": "valid"
},
{
"tcId": 909,
"comment": "y = 1 and (y + a) % radix**12 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "85e6faa180fea2423a",
"msg": [7, 0, 5, 5, 5, 1, 11, 15, 2, 7, 2, 2, 7, 8, 9, 15, 8, 5, 0, 13, 4, 15, 10, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 12, 10, 12, 0, 13, 10, 5, 3, 0, 13, 6],
"result": "valid"
},
{
"tcId": 910,
"comment": "y is maximal and (y + a) % radix**12 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "5b7d9a4583ea56a459",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 10, 3, 10, 5, 8, 6, 2, 1, 13, 10, 4],
"ct": [5, 11, 3, 15, 10, 5, 13, 4, 5, 15, 2, 1, 11, 2, 13, 2, 9, 2, 15, 3, 2, 12, 12, 14],
"result": "valid"
},
{
"tcId": 911,
"comment": "y is maximal and (y + a) % radix**12 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "5b7d9a4583ea56a459",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 13, 10, 3, 10, 5, 8, 6, 2, 1, 13, 10, 4],
"ct": [7, 2, 2, 11, 12, 6, 11, 4, 9, 12, 8, 12, 15, 6, 14, 6, 7, 14, 9, 1, 14, 2, 12, 12],
"result": "valid"
},
{
"tcId": 912,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "5b7d9a4583ea56a459",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 10, 3, 10, 5, 8, 6, 2, 1, 13, 10, 4],
"ct": [2, 1, 7, 0, 10, 13, 5, 3, 13, 14, 12, 5, 5, 9, 15, 6, 14, 5, 11, 12, 10, 12, 6, 10],
"result": "valid"
},
{
"tcId": 913,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "5b7d9a4583ea56a459",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 10, 3, 10, 5, 8, 6, 2, 1, 13, 10, 4],
"ct": [11, 11, 7, 12, 13, 2, 14, 6, 0, 10, 6, 1, 14, 1, 3, 15, 14, 4, 6, 14, 3, 9, 5, 12],
"result": "valid"
},
{
"tcId": 914,
"comment": "y is edge case for modular reduction and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "ff9796c29351045393",
"msg": [7, 3, 3, 3, 7, 9, 10, 13, 2, 14, 11, 5, 8, 14, 12, 12, 11, 7, 2, 7, 15, 15, 8, 11],
"ct": [11, 5, 12, 12, 12, 3, 9, 8, 5, 1, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0],
"result": "valid"
},
{
"tcId": 915,
"comment": "y is edge case for modular reduction and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "ff9796c29351045393",
"msg": [0, 2, 11, 9, 13, 8, 4, 15, 9, 1, 0, 1, 12, 13, 9, 0, 7, 6, 0, 8, 15, 14, 5, 13],
"ct": [11, 5, 12, 12, 12, 3, 9, 8, 5, 1, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1],
"result": "valid"
},
{
"tcId": 916,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "ff9796c29351045393",
"msg": [14, 8, 10, 15, 0, 7, 3, 9, 15, 8, 5, 15, 6, 0, 7, 1, 5, 10, 0, 4, 4, 11, 3, 15],
"ct": [11, 5, 12, 12, 12, 3, 9, 8, 5, 1, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 917,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "ff9796c29351045393",
"msg": [7, 12, 5, 15, 1, 4, 9, 6, 10, 5, 6, 13, 14, 11, 10, 7, 0, 5, 9, 12, 8, 9, 10, 3],
"ct": [11, 5, 12, 12, 12, 3, 9, 8, 5, 1, 15, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 918,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "ff9796c29351045393",
"msg": [0, 3, 2, 3, 2, 15, 9, 13, 15, 4, 11, 13, 8, 6, 8, 4, 3, 1, 2, 14, 2, 6, 3, 15],
"ct": [11, 5, 12, 12, 12, 3, 9, 8, 5, 1, 15, 7, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0],
"result": "valid"
},
{
"tcId": 919,
"comment": "y is edge case for modular reduction and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "ff9796c29351045393",
"msg": [10, 13, 4, 1, 1, 2, 1, 10, 7, 3, 9, 13, 7, 13, 4, 3, 15, 6, 15, 10, 1, 15, 8, 7],
"ct": [11, 5, 12, 12, 12, 3, 9, 8, 5, 1, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 15],
"result": "valid"
},
{
"tcId": 920,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "91bd786c57376a757a",
"msg": [12, 11, 7, 13, 9, 12, 11, 5, 14, 4, 11, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 9, 11, 5, 5, 12, 9, 12, 7, 2, 5, 0, 6, 7, 7, 4, 13, 12, 12, 10, 5, 4, 3, 1],
"result": "valid"
},
{
"tcId": 921,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "91bd786c57376a757a",
"msg": [1, 12, 5, 2, 1, 3, 0, 5, 7, 5, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [2, 2, 3, 14, 1, 15, 11, 13, 3, 1, 7, 2, 9, 11, 2, 13, 3, 14, 1, 10, 3, 11, 12, 10],
"result": "valid"
},
{
"tcId": 922,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "91bd786c57376a757a",
"msg": [3, 14, 12, 2, 2, 5, 15, 4, 4, 9, 8, 3, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 13, 8, 1, 3, 5, 10, 15, 1, 5, 4, 1, 12, 15, 11, 8, 7, 11, 10, 7, 1, 14, 9, 14],
"result": "valid"
},
{
"tcId": 923,
"comment": "y is maximal after modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "91bd786c57376a757a",
"msg": [10, 3, 11, 9, 10, 11, 10, 7, 13, 11, 1, 2, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [4, 7, 4, 12, 15, 10, 0, 15, 8, 1, 13, 3, 4, 12, 1, 9, 3, 4, 5, 2, 0, 12, 12, 1],
"result": "valid"
},
{
"tcId": 924,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6db335f49453200df662b9d1097a4ea7",
"tweak": "83f4d65d3964c007",
"msg": [-1, 7, 9, 9, 9, 0, 5, 15, 4, 15, 1, 8, 7, 8, 1, 2, 6, 15, 2, 5, 4, 15, 14, 9],
"ct": [15, 2, 9, 7, 10, 12, 0, 2, 6, 14, 15, 1, 5, 11, 7, 5, 12, 12, 5, 4, 9, 1, 6, 2],
"result": "invalid"
},
{
"tcId": 925,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6db335f49453200df662b9d1097a4ea7",
"tweak": "83f4d65d3964c007",
"msg": [9, 7, 9, 9, 9, 0, 5, 15, -1, 15, 1, 8, 7, 8, 1, 2, 6, 15, 2, 5, 4, 15, 14, 9],
"ct": [10, 7, 0, 9, 10, 10, 1, 5, 6, 14, 10, 9, 7, 1, 9, 11, 4, 10, 4, 9, 1, 11, 4, 11],
"result": "invalid"
},
{
"tcId": 926,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6db335f49453200df662b9d1097a4ea7",
"tweak": "83f4d65d3964c007",
"msg": [9, 7, 9, 9, 9, 0, 5, 15, 4, 15, 1, 8, 7, 8, 1, 2, 6, 15, 2, 5, 4, 15, 14, -1],
"ct": [2, 3, 7, 15, 3, 11, 6, 9, 6, 9, 3, 7, 8, 2, 1, 11, 12, 5, 11, 15, 0, 7, 13, 1],
"result": "invalid"
},
{
"tcId": 927,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4d1e26a8142aedf64b88285290fabb50",
"tweak": "45769f8d6938e8e4",
"msg": [16, 1, 8, 0, 1, 10, 2, 0, 9, 15, 12, 15, 10, 4, 6, 14, 13, 3, 6, 1, 4, 8, 2, 7],
"ct": [1, 9, 5, 10, 1, 1, 9, 13, 11, 4, 13, 8, 3, 2, 3, 14, 1, 10, 6, 2, 11, 6, 1, 11],
"result": "invalid"
},
{
"tcId": 928,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4d1e26a8142aedf64b88285290fabb50",
"tweak": "45769f8d6938e8e4",
"msg": [13, 1, 8, 0, 1, 10, 2, 0, 16, 15, 12, 15, 10, 4, 6, 14, 13, 3, 6, 1, 4, 8, 2, 7],
"ct": [13, 3, 12, 3, 4, 14, 7, 11, 5, 2, 6, 8, 15, 13, 6, 3, 6, 9, 12, 2, 15, 5, 8, 3],
"result": "invalid"
},
{
"tcId": 929,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4d1e26a8142aedf64b88285290fabb50",
"tweak": "45769f8d6938e8e4",
"msg": [13, 1, 8, 0, 1, 10, 2, 0, 9, 15, 12, 15, 10, 4, 6, 14, 13, 3, 6, 1, 4, 8, 2, 16],
"ct": [2, 14, 5, 8, 0, 14, 6, 9, 6, 8, 4, 0, 8, 13, 15, 3, 9, 10, 12, 7, 12, 15, 11, 8],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 25,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 930,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "4605865b047c33cafb0c30500253573f",
"tweak": "a8b27f391744d48a",
"msg": [9, 10, 2, 6, 0, 14, 14, 15, 6, 0, 13, 8, 15, 6, 3, 2, 9, 15, 8, 12, 5, 3, 10, 2, 9],
"ct": [13, 14, 15, 4, 7, 13, 7, 0, 12, 1, 15, 9, 5, 14, 0, 13, 11, 11, 10, 0, 9, 3, 13, 12, 11],
"result": "valid"
},
{
"tcId": 931,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [14, 7, 7, 4, 12, 5, 8, 5, 8, 5, 13, 13, 12, 14, 9, 2, 3, 10, 6, 10, 8, 6, 2, 11, 1],
"result": "valid"
},
{
"tcId": 932,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [3, 11, 11, 5, 8, 10, 9, 10, 15, 15, 8, 15, 9, 12, 8, 11, 10, 15, 9, 1, 15, 7, 9, 2, 6],
"result": "valid"
},
{
"tcId": 933,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [0, 1, 6, 7, 14, 4, 11, 7, 6, 0, 11, 0, 1, 0, 4, 1, 2, 3, 15, 11, 3, 13, 13, 3, 14],
"result": "valid"
},
{
"tcId": 934,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [10, 2, 10, 15, 2, 5, 5, 0, 7, 4, 4, 11, 7, 7, 11, 0, 15, 0, 3, 11, 14, 6, 1, 15, 9],
"result": "valid"
},
{
"tcId": 935,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [5, 12, 14, 2, 10, 0, 2, 2, 15, 10, 10, 12, 3, 9, 11, 5, 6, 10, 4, 1, 14, 15, 9, 0, 7],
"ct": [5, 14, 7, 7, 9, 1, 5, 10, 3, 10, 11, 0, 10, 1, 5, 0, 8, 3, 7, 10, 0, 9, 0, 13, 8],
"result": "valid"
},
{
"tcId": 936,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [2, 15, 15, 13, 11, 1, 14, 11, 4, 14, 9, 6, 14, 2, 13, 13, 8, 15, 12, 3, 10, 1, 5, 11, 14],
"ct": [15, 5, 4, 6, 7, 15, 7, 1, 10, 6, 8, 15, 9, 8, 15, 12, 15, 7, 9, 7, 12, 0, 15, 4, 10],
"result": "valid"
},
{
"tcId": 937,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [5, 4, 8, 13, 8, 11, 1, 10, 10, 10, 2, 9, 6, 15, 13, 15, 7, 4, 3, 2, 2, 13, 12, 11, 5],
"ct": [5, 8, 14, 5, 4, 5, 9, 11, 3, 0, 2, 2, 6, 3, 8, 6, 7, 2, 11, 15, 1, 14, 14, 3, 15],
"result": "valid"
},
{
"tcId": 938,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [12, 14, 5, 11, 11, 8, 8, 7, 1, 11, 15, 5, 0, 10, 14, 11, 15, 12, 5, 6, 3, 7, 10, 14, 5],
"ct": [13, 11, 14, 0, 6, 11, 5, 6, 5, 15, 2, 6, 13, 5, 4, 12, 13, 0, 2, 12, 2, 8, 2, 8, 13],
"result": "valid"
},
{
"tcId": 939,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [2, 8, 0, 4, 14, 10, 12, 9, 1, 3, 5, 8, 6, 14, 7, 11, 10, 0, 2, 11, 12, 15, 11, 9, 12],
"ct": [0, 9, 13, 5, 13, 7, 5, 1, 9, 15, 3, 5, 5, 5, 7, 7, 3, 9, 13, 14, 1, 3, 14, 15, 10],
"result": "valid"
},
{
"tcId": 940,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [15, 9, 2, 0, 8, 5, 5, 1, 7, 13, 8, 6, 7, 2, 14, 2, 4, 8, 1, 8, 5, 0, 0, 5, 4],
"ct": [6, 4, 3, 9, 3, 8, 12, 7, 13, 6, 4, 2, 15, 2, 14, 0, 15, 5, 13, 9, 0, 2, 13, 11, 10],
"result": "valid"
},
{
"tcId": 941,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [15, 15, 6, 13, 1, 4, 3, 5, 4, 5, 8, 3, 13, 0, 15, 7, 13, 1, 2, 8, 14, 11, 11, 6, 13],
"ct": [10, 15, 4, 7, 15, 11, 8, 12, 14, 11, 4, 14, 4, 6, 9, 1, 9, 2, 6, 10, 3, 11, 10, 9, 5],
"result": "valid"
},
{
"tcId": 942,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [15, 0, 8, 14, 8, 14, 8, 7, 10, 12, 13, 13, 2, 15, 15, 2, 12, 13, 4, 1, 5, 6, 15, 10, 7],
"ct": [7, 13, 5, 6, 1, 7, 12, 9, 11, 15, 10, 9, 13, 3, 9, 6, 11, 9, 0, 5, 3, 0, 12, 1, 0],
"result": "valid"
},
{
"tcId": 943,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [13, 0, 5, 3, 9, 1, 7, 11, 10, 2, 13, 10, 2, 6, 9, 6, 13, 14, 14, 2, 15, 9, 5, 13, 8],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 944,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [3, 10, 1, 10, 4, 3, 6, 15, 2, 5, 2, 9, 6, 3, 13, 3, 13, 14, 3, 13, 7, 9, 12, 7, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 945,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [2, 15, 9, 7, 5, 12, 9, 5, 10, 3, 8, 8, 15, 7, 4, 9, 11, 5, 14, 3, 3, 0, 15, 11, 15],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 946,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [0, 11, 14, 0, 2, 14, 8, 1, 8, 3, 8, 13, 1, 10, 7, 4, 4, 7, 0, 13, 5, 10, 15, 9, 4],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 947,
"comment": "y = 0 and (y + a) % radix**12 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "ab88affea03e1b33",
"msg": [11, 6, 3, 15, 8, 7, 5, 11, 10, 4, 7, 10, 10, 0, 10, 15, 12, 2, 12, 9, 14, 15, 12, 9, 7],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 14, 10, 14, 7, 5, 12, 10, 10, 11, 4, 3, 11],
"result": "valid"
},
{
"tcId": 948,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "ab88affea03e1b33",
"msg": [8, 4, 4, 6, 2, 13, 10, 0, 12, 5, 4, 0, 15, 5, 12, 12, 7, 14, 7, 8, 13, 3, 7, 10, 14],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 15, 3, 13, 5, 15, 11, 1, 14, 6, 11, 4, 11, 3],
"result": "valid"
},
{
"tcId": 949,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "ab88affea03e1b33",
"msg": [2, 6, 13, 1, 2, 11, 8, 7, 5, 4, 12, 15, 1, 1, 14, 6, 8, 10, 8, 15, 9, 5, 1, 3, 13],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 11, 10, 4, 6, 10, 6, 1, 1, 5, 10, 10, 12],
"result": "valid"
},
{
"tcId": 950,
"comment": "y = 0 and (y + a) % radix**12 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "ab88affea03e1b33",
"msg": [6, 2, 8, 11, 3, 5, 13, 9, 4, 1, 5, 4, 13, 11, 1, 4, 10, 1, 5, 11, 10, 8, 13, 12, 8],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 2, 7, 0, 4, 4, 1, 2, 12, 11, 5, 9, 1],
"result": "valid"
},
{
"tcId": 951,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "a82e514b7437a660",
"msg": [8, 14, 8, 5, 3, 3, 3, 5, 14, 0, 11, 12, 13, 1, 11, 1, 15, 14, 8, 7, 12, 9, 1, 10, 10],
"ct": [8, 5, 11, 6, 6, 14, 7, 4, 2, 11, 14, 9, 5, 13, 2, 2, 15, 3, 1, 13, 10, 11, 1, 1, 8],
"result": "valid"
},
{
"tcId": 952,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "a82e514b7437a660",
"msg": [12, 14, 13, 6, 4, 9, 9, 8, 6, 7, 2, 1, 15, 13, 15, 12, 9, 1, 3, 14, 11, 7, 12, 11, 7],
"ct": [13, 8, 9, 7, 13, 6, 1, 14, 14, 11, 0, 8, 11, 7, 10, 4, 8, 6, 12, 4, 10, 2, 9, 6, 14],
"result": "valid"
},
{
"tcId": 953,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "a82e514b7437a660",
"msg": [2, 9, 11, 5, 7, 6, 14, 4, 0, 5, 9, 6, 9, 10, 2, 1, 15, 5, 15, 15, 5, 9, 9, 11, 0],
"ct": [7, 15, 13, 5, 12, 13, 1, 1, 3, 5, 9, 2, 15, 2, 5, 10, 9, 1, 14, 14, 11, 4, 1, 12, 13],
"result": "valid"
},
{
"tcId": 954,
"comment": "y = 1 and (y + a) % radix**12 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "a82e514b7437a660",
"msg": [5, 0, 4, 13, 9, 2, 2, 15, 0, 3, 5, 5, 11, 12, 6, 6, 1, 3, 7, 11, 13, 5, 6, 14, 1],
"ct": [11, 13, 1, 4, 14, 0, 5, 3, 13, 8, 12, 0, 9, 8, 6, 7, 14, 14, 6, 2, 7, 14, 14, 7, 8],
"result": "valid"
},
{
"tcId": 955,
"comment": "y = 1 and (y + a) % radix**12 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "a82e514b7437a660",
"msg": [15, 6, 10, 5, 10, 7, 3, 5, 10, 2, 1, 1, 13, 4, 7, 8, 10, 4, 2, 8, 9, 0, 14, 12, 12],
"ct": [11, 10, 4, 13, 11, 5, 9, 2, 12, 4, 5, 7, 12, 13, 0, 1, 6, 2, 10, 9, 9, 1, 6, 2, 15],
"result": "valid"
},
{
"tcId": 956,
"comment": "y is maximal and (y + a) % radix**12 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "d980db95d46980ac",
"msg": [7, 14, 0, 9, 7, 3, 4, 1, 10, 11, 7, 0, 7, 6, 7, 11, 9, 14, 6, 6, 12, 4, 1, 1, 6],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 10, 7, 15, 13, 2, 9, 5, 13, 10, 6, 9],
"result": "valid"
},
{
"tcId": 957,
"comment": "y is maximal and (y + a) % radix**12 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "d980db95d46980ac",
"msg": [4, 8, 10, 11, 1, 11, 9, 12, 2, 3, 1, 4, 11, 2, 7, 3, 13, 4, 13, 8, 3, 9, 10, 14, 14],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 13, 3, 15, 3, 7, 0, 8, 10, 0, 2, 3, 3],
"result": "valid"
},
{
"tcId": 958,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "d980db95d46980ac",
"msg": [0, 1, 15, 10, 1, 15, 15, 4, 12, 15, 8, 3, 13, 1, 1, 2, 6, 15, 2, 7, 3, 8, 6, 11, 11],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 9, 7, 15, 2, 6, 7, 1, 6, 11, 2, 5, 14],
"result": "valid"
},
{
"tcId": 959,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "d980db95d46980ac",
"msg": [14, 14, 13, 2, 1, 12, 12, 6, 9, 10, 13, 5, 13, 13, 0, 15, 6, 15, 4, 2, 4, 4, 10, 10, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 9, 14, 15, 8, 13, 10, 9, 2, 10, 9, 13, 6, 3],
"result": "valid"
},
{
"tcId": 960,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "8a6c72dd39cd0dee",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 12, 15, 13, 11, 3, 7, 14, 8, 9, 11, 9, 4],
"ct": [12, 4, 12, 12, 13, 12, 14, 3, 9, 14, 11, 4, 11, 4, 5, 7, 14, 2, 6, 6, 15, 2, 2, 2, 9],
"result": "valid"
},
{
"tcId": 961,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "8a6c72dd39cd0dee",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 12, 15, 13, 11, 3, 7, 14, 8, 9, 11, 9, 4],
"ct": [13, 3, 12, 13, 14, 12, 15, 7, 13, 1, 6, 3, 0, 15, 8, 11, 4, 8, 11, 10, 15, 8, 7, 4, 5],
"result": "valid"
},
{
"tcId": 962,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "8a6c72dd39cd0dee",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 3, 12, 15, 13, 11, 3, 7, 14, 8, 9, 11, 9, 4],
"ct": [13, 15, 7, 11, 8, 5, 10, 4, 9, 1, 10, 2, 2, 11, 9, 11, 9, 8, 10, 5, 1, 8, 14, 14, 1],
"result": "valid"
},
{
"tcId": 963,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "8a6c72dd39cd0dee",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 3, 12, 15, 13, 11, 3, 7, 14, 8, 9, 11, 9, 4],
"ct": [12, 7, 6, 4, 3, 4, 13, 11, 1, 13, 14, 12, 9, 2, 4, 15, 11, 3, 9, 3, 9, 4, 5, 15, 1],
"result": "valid"
},
{
"tcId": 964,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "8a6c72dd39cd0dee",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 12, 15, 13, 11, 3, 7, 14, 8, 9, 11, 9, 4],
"ct": [11, 11, 7, 12, 2, 6, 9, 15, 9, 7, 2, 10, 9, 1, 2, 2, 8, 11, 7, 3, 0, 14, 11, 0, 6],
"result": "valid"
},
{
"tcId": 965,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "8a6c72dd39cd0dee",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 3, 12, 15, 13, 11, 3, 7, 14, 8, 9, 11, 9, 4],
"ct": [12, 1, 9, 11, 8, 12, 13, 1, 4, 12, 3, 11, 4, 7, 4, 3, 4, 7, 13, 10, 10, 3, 12, 9, 6],
"result": "valid"
},
{
"tcId": 966,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "7ea0acffc5a95320",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 1, 11, 10, 2, 10, 5, 5, 9, 1, 14, 9, 4],
"ct": [8, 12, 7, 10, 8, 1, 6, 8, 12, 3, 4, 12, 1, 3, 0, 11, 7, 15, 0, 11, 6, 1, 9, 13, 13],
"result": "valid"
},
{
"tcId": 967,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "7ea0acffc5a95320",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 13, 1, 11, 10, 2, 10, 5, 5, 9, 1, 14, 9, 4],
"ct": [7, 3, 10, 4, 14, 2, 0, 7, 11, 14, 1, 9, 11, 5, 9, 8, 10, 3, 2, 0, 10, 14, 1, 9, 8],
"result": "valid"
},
{
"tcId": 968,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "7ea0acffc5a95320",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 1, 11, 10, 2, 10, 5, 5, 9, 1, 14, 9, 4],
"ct": [6, 7, 12, 10, 8, 8, 7, 8, 2, 15, 1, 3, 13, 11, 0, 3, 9, 9, 1, 8, 12, 11, 14, 5, 6],
"result": "valid"
},
{
"tcId": 969,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "7ea0acffc5a95320",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 1, 11, 10, 2, 10, 5, 5, 9, 1, 14, 9, 4],
"ct": [15, 12, 0, 4, 9, 13, 15, 14, 10, 10, 1, 6, 13, 14, 4, 13, 13, 0, 14, 12, 6, 14, 0, 6, 13],
"result": "valid"
},
{
"tcId": 970,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "757d6cfed88de9a000990ad046202ce4",
"tweak": "97e4070e26277b60",
"msg": [-1, 5, 14, 12, 15, 10, 2, 7, 3, 6, 5, 5, 8, 3, 5, 9, 5, 1, 8, 11, 1, 3, 3, 14, 9],
"ct": [0, 1, 6, 4, 0, 14, 11, 4, 2, 7, 15, 11, 11, 1, 15, 0, 7, 15, 12, 11, 4, 15, 12, 7, 10],
"result": "invalid"
},
{
"tcId": 971,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "757d6cfed88de9a000990ad046202ce4",
"tweak": "97e4070e26277b60",
"msg": [10, 5, 14, 12, 15, 10, 2, 7, -1, 6, 5, 5, 8, 3, 5, 9, 5, 1, 8, 11, 1, 3, 3, 14, 9],
"ct": [12, 7, 14, 15, 12, 7, 14, 14, 3, 15, 14, 1, 4, 3, 5, 14, 13, 14, 3, 14, 2, 9, 12, 0, 12],
"result": "invalid"
},
{
"tcId": 972,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "757d6cfed88de9a000990ad046202ce4",
"tweak": "97e4070e26277b60",
"msg": [10, 5, 14, 12, 15, 10, 2, 7, 3, 6, 5, 5, 8, 3, 5, 9, 5, 1, 8, 11, 1, 3, 3, 14, -1],
"ct": [2, 2, 11, 15, 1, 3, 3, 8, 4, 0, 10, 13, 11, 3, 1, 1, 3, 9, 7, 14, 1, 13, 14, 4, 14],
"result": "invalid"
},
{
"tcId": 973,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "af0ec0424599e6cd41295a89831e85df",
"tweak": "5adc967c1659b91b",
"msg": [16, 5, 1, 7, 8, 4, 1, 0, 13, 8, 2, 14, 13, 2, 0, 8, 0, 4, 0, 11, 7, 15, 15, 7, 5],
"ct": [9, 12, 12, 8, 14, 9, 6, 12, 5, 15, 0, 3, 7, 1, 0, 4, 5, 11, 1, 15, 0, 15, 8, 9, 10],
"result": "invalid"
},
{
"tcId": 974,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "af0ec0424599e6cd41295a89831e85df",
"tweak": "5adc967c1659b91b",
"msg": [7, 5, 1, 7, 8, 4, 1, 0, 16, 8, 2, 14, 13, 2, 0, 8, 0, 4, 0, 11, 7, 15, 15, 7, 5],
"ct": [6, 11, 3, 15, 2, 2, 10, 4, 8, 1, 9, 1, 8, 1, 4, 0, 3, 4, 0, 13, 4, 10, 1, 4, 10],
"result": "invalid"
},
{
"tcId": 975,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "af0ec0424599e6cd41295a89831e85df",
"tweak": "5adc967c1659b91b",
"msg": [7, 5, 1, 7, 8, 4, 1, 0, 13, 8, 2, 14, 13, 2, 0, 8, 0, 4, 0, 11, 7, 15, 15, 7, 16],
"ct": [3, 13, 7, 2, 13, 8, 3, 15, 12, 7, 9, 2, 8, 9, 13, 1, 13, 3, 11, 15, 0, 1, 2, 4, 9],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 26,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 976,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "0fb1979af3a9860c485e2ef06c6010c3",
"tweak": "60de513786f3f0a6",
"msg": [9, 7, 4, 1, 10, 8, 2, 7, 4, 11, 2, 6, 3, 4, 13, 13, 8, 5, 3, 12, 4, 10, 3, 8, 6, 8],
"ct": [13, 0, 10, 5, 10, 9, 7, 0, 10, 14, 10, 6, 2, 11, 14, 1, 10, 10, 1, 0, 8, 5, 3, 7, 13, 5],
"result": "valid"
},
{
"tcId": 977,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [0, 2, 14, 4, 10, 5, 4, 14, 12, 12, 9, 9, 6, 14, 2, 4, 13, 9, 12, 4, 8, 1, 9, 10, 0, 3],
"result": "valid"
},
{
"tcId": 978,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [13, 14, 8, 4, 3, 6, 3, 12, 1, 14, 12, 4, 1, 13, 11, 10, 6, 4, 9, 10, 15, 1, 9, 8, 6, 9],
"result": "valid"
},
{
"tcId": 979,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [12, 6, 8, 2, 12, 6, 4, 13, 11, 7, 2, 8, 9, 7, 2, 10, 14, 15, 4, 0, 13, 15, 15, 0, 1, 8],
"result": "valid"
},
{
"tcId": 980,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [12, 5, 10, 11, 11, 9, 3, 8, 6, 5, 11, 3, 1, 12, 2, 2, 2, 7, 8, 2, 8, 1, 0, 14, 9, 8],
"result": "valid"
},
{
"tcId": 981,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [11, 3, 12, 9, 10, 10, 12, 8, 4, 4, 5, 14, 6, 5, 14, 9, 12, 4, 2, 12, 8, 7, 8, 15, 4, 12],
"ct": [5, 12, 9, 4, 14, 13, 12, 2, 0, 4, 9, 6, 10, 3, 14, 0, 5, 6, 14, 6, 2, 5, 3, 0, 6, 4],
"result": "valid"
},
{
"tcId": 982,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [11, 8, 4, 9, 7, 15, 3, 15, 3, 3, 2, 10, 2, 12, 13, 15, 8, 8, 4, 7, 15, 14, 5, 2, 4, 5],
"ct": [5, 2, 14, 7, 1, 7, 13, 11, 14, 6, 3, 11, 6, 1, 1, 15, 7, 2, 9, 8, 0, 0, 6, 10, 0, 6],
"result": "valid"
},
{
"tcId": 983,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [14, 6, 3, 10, 5, 13, 3, 10, 8, 6, 5, 12, 9, 9, 8, 10, 0, 12, 12, 3, 3, 10, 1, 11, 10, 12],
"ct": [3, 3, 15, 9, 13, 9, 11, 15, 7, 3, 7, 13, 1, 15, 9, 14, 14, 5, 15, 8, 15, 1, 3, 0, 1, 13],
"result": "valid"
},
{
"tcId": 984,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [10, 4, 0, 4, 13, 2, 1, 14, 9, 12, 12, 8, 3, 4, 12, 8, 13, 2, 3, 15, 7, 5, 13, 1, 3, 15],
"ct": [15, 15, 10, 0, 8, 9, 2, 0, 4, 9, 10, 8, 15, 12, 11, 12, 10, 11, 5, 2, 1, 10, 3, 7, 5, 2],
"result": "valid"
},
{
"tcId": 985,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [10, 11, 1, 2, 0, 3, 9, 1, 9, 13, 2, 8, 6, 9, 12, 6, 2, 8, 10, 10, 8, 11, 5, 8, 8, 3],
"ct": [12, 10, 2, 12, 8, 3, 14, 3, 3, 0, 0, 9, 13, 7, 6, 15, 0, 12, 5, 15, 8, 1, 7, 6, 5, 6],
"result": "valid"
},
{
"tcId": 986,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [10, 9, 8, 5, 11, 11, 10, 2, 1, 6, 7, 8, 11, 3, 5, 11, 15, 12, 9, 15, 14, 10, 7, 0, 14, 13],
"ct": [15, 10, 9, 3, 4, 2, 1, 8, 12, 14, 5, 9, 7, 9, 11, 8, 1, 10, 14, 11, 1, 0, 3, 13, 1, 15],
"result": "valid"
},
{
"tcId": 987,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [2, 0, 15, 11, 0, 4, 9, 10, 15, 0, 14, 10, 7, 0, 1, 0, 12, 15, 15, 9, 15, 0, 7, 8, 11, 2],
"ct": [13, 10, 5, 7, 9, 8, 2, 9, 9, 14, 3, 13, 6, 14, 1, 9, 6, 12, 8, 13, 8, 1, 1, 4, 14, 3],
"result": "valid"
},
{
"tcId": 988,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [4, 10, 0, 8, 12, 8, 11, 9, 13, 11, 13, 7, 12, 2, 4, 1, 11, 10, 3, 0, 0, 14, 7, 6, 5, 14],
"ct": [0, 6, 1, 12, 12, 1, 13, 3, 4, 15, 14, 0, 3, 0, 5, 5, 14, 12, 9, 10, 2, 11, 10, 4, 10, 0],
"result": "valid"
},
{
"tcId": 989,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [2, 8, 9, 8, 3, 4, 12, 14, 12, 8, 14, 14, 2, 3, 15, 14, 2, 9, 10, 14, 5, 14, 3, 12, 14, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 990,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [15, 9, 7, 10, 3, 1, 9, 5, 9, 13, 13, 13, 4, 4, 7, 7, 5, 8, 0, 7, 15, 14, 11, 4, 10, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 991,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [9, 14, 3, 8, 15, 6, 14, 8, 12, 3, 1, 3, 2, 0, 12, 13, 13, 2, 10, 11, 0, 11, 5, 1, 0, 5],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 992,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f8a61228ec1958c89ccf56eeb0f9c568",
"tweak": "845578b42fe2d9a0",
"msg": [1, 4, 15, 9, 9, 1, 2, 15, 8, 6, 11, 5, 14, 1, 12, 0, 6, 13, 2, 1, 5, 15, 10, 4, 5, 11],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 993,
"comment": "y = 0 and (y + a) % radix**13 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "2490005d549aeead",
"msg": [6, 3, 4, 3, 10, 13, 0, 7, 6, 14, 3, 8, 7, 5, 4, 5, 2, 13, 3, 13, 1, 5, 12, 7, 6, 14],
"ct": [11, 15, 5, 0, 10, 9, 0, 0, 14, 14, 1, 9, 8, 13, 2, 1, 9, 12, 5, 10, 0, 1, 14, 12, 2, 8],
"result": "valid"
},
{
"tcId": 994,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "2490005d549aeead",
"msg": [10, 12, 12, 4, 6, 12, 12, 9, 13, 14, 1, 10, 8, 7, 14, 11, 4, 2, 5, 9, 1, 3, 11, 13, 6, 5],
"ct": [4, 9, 6, 4, 12, 3, 12, 0, 0, 2, 0, 6, 0, 5, 10, 3, 3, 0, 4, 11, 4, 13, 5, 14, 0, 9],
"result": "valid"
},
{
"tcId": 995,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "2490005d549aeead",
"msg": [10, 0, 8, 8, 8, 11, 10, 2, 12, 9, 12, 3, 7, 13, 11, 9, 12, 12, 2, 0, 10, 7, 7, 2, 11, 6],
"ct": [0, 2, 2, 2, 7, 4, 6, 12, 3, 8, 2, 5, 1, 7, 2, 2, 4, 8, 2, 10, 13, 8, 2, 4, 13, 9],
"result": "valid"
},
{
"tcId": 996,
"comment": "y = 0 and (y + a) % radix**13 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "2490005d549aeead",
"msg": [7, 3, 15, 14, 6, 11, 11, 14, 2, 7, 15, 9, 9, 4, 0, 11, 5, 10, 11, 15, 10, 1, 0, 7, 15, 6],
"ct": [13, 13, 2, 5, 5, 15, 0, 2, 13, 0, 10, 12, 15, 8, 3, 11, 3, 0, 4, 3, 13, 11, 8, 6, 11, 4],
"result": "valid"
},
{
"tcId": 997,
"comment": "y = 1 and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "6698fb8b2f103bc5",
"msg": [15, 14, 7, 13, 11, 7, 1, 12, 15, 0, 11, 8, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [9, 12, 11, 4, 2, 3, 8, 2, 15, 15, 14, 11, 10, 15, 12, 5, 13, 11, 8, 14, 3, 6, 13, 14, 12, 7],
"result": "valid"
},
{
"tcId": 998,
"comment": "y = 1 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "6698fb8b2f103bc5",
"msg": [0, 5, 8, 5, 13, 11, 8, 2, 8, 5, 12, 15, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [15, 3, 14, 3, 7, 8, 2, 10, 13, 2, 8, 13, 10, 15, 1, 3, 3, 1, 14, 4, 11, 11, 15, 13, 15, 15],
"result": "valid"
},
{
"tcId": 999,
"comment": "y = 1 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "6698fb8b2f103bc5",
"msg": [15, 5, 11, 11, 3, 1, 0, 4, 9, 13, 2, 1, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [7, 11, 14, 15, 3, 13, 13, 5, 3, 3, 0, 0, 13, 4, 5, 6, 7, 7, 15, 7, 5, 8, 0, 11, 4, 0],
"result": "valid"
},
{
"tcId": 1000,
"comment": "y = 1 and (y + a) % radix**13 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "6698fb8b2f103bc5",
"msg": [7, 7, 5, 12, 6, 10, 9, 15, 6, 12, 12, 6, 11, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14],
"ct": [1, 4, 10, 14, 12, 14, 14, 8, 6, 1, 5, 8, 14, 2, 15, 1, 7, 8, 15, 9, 10, 14, 8, 10, 0, 1],
"result": "valid"
},
{
"tcId": 1001,
"comment": "y = 1 and (y + a) % radix**13 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "6698fb8b2f103bc5",
"msg": [8, 12, 7, 2, 9, 11, 2, 6, 14, 5, 9, 9, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [11, 14, 9, 0, 4, 0, 8, 1, 13, 13, 8, 1, 9, 6, 11, 12, 4, 7, 11, 13, 10, 1, 6, 14, 6, 10],
"result": "valid"
},
{
"tcId": 1002,
"comment": "y is maximal and (y + a) % radix**13 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "202eafaa0f93f634",
"msg": [11, 14, 3, 8, 4, 2, 8, 3, 3, 2, 3, 3, 11, 5, 3, 2, 0, 4, 12, 5, 9, 4, 3, 14, 5, 15],
"ct": [15, 5, 15, 4, 4, 2, 8, 6, 2, 12, 5, 5, 10, 9, 13, 14, 13, 8, 10, 6, 4, 2, 14, 14, 4, 15],
"result": "valid"
},
{
"tcId": 1003,
"comment": "y is maximal and (y + a) % radix**13 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "202eafaa0f93f634",
"msg": [0, 11, 5, 2, 5, 14, 14, 11, 9, 8, 13, 15, 11, 13, 1, 12, 2, 7, 3, 9, 2, 3, 12, 4, 9, 1],
"ct": [11, 10, 11, 8, 2, 6, 10, 5, 9, 10, 3, 11, 6, 15, 12, 1, 6, 6, 9, 1, 7, 10, 13, 4, 12, 11],
"result": "valid"
},
{
"tcId": 1004,
"comment": "y is maximal and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "202eafaa0f93f634",
"msg": [4, 14, 13, 13, 2, 0, 8, 6, 3, 3, 5, 2, 14, 14, 15, 13, 9, 10, 10, 1, 8, 2, 9, 7, 9, 10],
"ct": [13, 3, 0, 2, 9, 1, 8, 7, 6, 8, 11, 1, 11, 7, 12, 12, 4, 12, 5, 3, 4, 13, 4, 4, 12, 11],
"result": "valid"
},
{
"tcId": 1005,
"comment": "y is maximal and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "202eafaa0f93f634",
"msg": [3, 1, 14, 7, 3, 8, 15, 11, 15, 5, 15, 8, 2, 6, 13, 9, 1, 11, 4, 11, 8, 15, 13, 11, 13, 12],
"ct": [15, 10, 5, 12, 1, 3, 6, 14, 12, 3, 7, 8, 9, 15, 7, 3, 13, 0, 4, 8, 13, 7, 11, 3, 15, 6],
"result": "valid"
},
{
"tcId": 1006,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "818660518de2919c",
"msg": [9, 5, 11, 10, 1, 12, 5, 6, 1, 14, 2, 8, 7, 15, 0, 14, 8, 5, 12, 1, 3, 9, 1, 8, 6, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 12, 12, 2, 12, 10, 0, 15, 12, 5, 1, 0, 14, 11],
"result": "valid"
},
{
"tcId": 1007,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "818660518de2919c",
"msg": [3, 3, 6, 13, 0, 9, 0, 12, 5, 3, 14, 15, 4, 11, 5, 3, 1, 9, 0, 7, 1, 5, 2, 1, 9, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 11, 10, 8, 7, 14, 9, 2, 11, 11, 2, 5, 14, 3],
"result": "valid"
},
{
"tcId": 1008,
"comment": "y is edge case for modular reduction and (y + a) % radix**13 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "818660518de2919c",
"msg": [4, 12, 0, 7, 11, 4, 4, 9, 13, 7, 14, 7, 10, 10, 0, 6, 13, 5, 14, 9, 12, 6, 11, 2, 15, 2],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 13, 6, 6, 14, 12, 1, 12, 13, 8, 4, 7, 7],
"result": "valid"
},
{
"tcId": 1009,
"comment": "y is edge case for modular reduction and (y + a) % radix**13 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "818660518de2919c",
"msg": [5, 7, 7, 5, 2, 7, 14, 9, 4, 10, 1, 4, 2, 9, 7, 11, 14, 7, 1, 13, 5, 8, 6, 9, 0, 5],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 2, 14, 6, 15, 5, 7, 10, 7, 7, 2, 10, 0],
"result": "valid"
},
{
"tcId": 1010,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "818660518de2919c",
"msg": [5, 10, 10, 9, 10, 14, 7, 14, 8, 7, 8, 1, 3, 2, 2, 12, 10, 8, 4, 15, 11, 13, 14, 10, 4, 13],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 0, 3, 3, 3, 4, 2, 1, 13, 3, 6, 9, 1, 7],
"result": "valid"
},
{
"tcId": 1011,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "818660518de2919c",
"msg": [15, 3, 3, 2, 4, 4, 0, 7, 14, 14, 1, 1, 5, 15, 3, 4, 10, 7, 12, 8, 10, 2, 13, 4, 11, 8],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 15, 15, 1, 7, 10, 12, 5, 14, 6, 14, 4, 4, 1, 3],
"result": "valid"
},
{
"tcId": 1012,
"comment": "y is maximal after modular reduction and (y + a) % radix**13 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "8b39c0d4e839fb29",
"msg": [9, 6, 12, 12, 3, 10, 12, 1, 1, 13, 8, 7, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 2, 8, 0, 12, 14, 0, 11, 0, 4, 2, 0, 8, 0, 3, 11, 8, 9, 0, 8, 7, 3, 5, 12, 5, 4],
"result": "valid"
},
{
"tcId": 1013,
"comment": "y is maximal after modular reduction and (y + a) % radix**13 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "8b39c0d4e839fb29",
"msg": [13, 13, 7, 2, 6, 10, 11, 1, 5, 9, 1, 6, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [13, 7, 15, 12, 2, 13, 15, 12, 1, 9, 7, 13, 7, 14, 8, 8, 0, 7, 10, 10, 8, 5, 0, 10, 10, 3],
"result": "valid"
},
{
"tcId": 1014,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "8b39c0d4e839fb29",
"msg": [1, 2, 14, 10, 6, 13, 13, 4, 12, 15, 10, 11, 12, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 0, 8, 5, 15, 6, 14, 7, 0, 0, 13, 8, 2, 4, 4, 10, 0, 14, 14, 2, 12, 2, 15, 13, 2, 9],
"result": "valid"
},
{
"tcId": 1015,
"comment": "y is maximal after modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "38a92f28cf4f93b374725c5e303829d6",
"tweak": "8b39c0d4e839fb29",
"msg": [2, 12, 11, 3, 8, 2, 5, 3, 2, 11, 12, 6, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [7, 6, 7, 10, 2, 8, 13, 9, 7, 9, 13, 12, 0, 0, 12, 15, 7, 3, 3, 7, 15, 6, 15, 11, 7, 6],
"result": "valid"
},
{
"tcId": 1016,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "228e9e3386e948a636d5238ef5a32456",
"tweak": "b297e81e07aeefa2",
"msg": [-1, 4, 7, 11, 3, 12, 5, 13, 12, 13, 10, 4, 8, 4, 3, 15, 2, 7, 12, 5, 13, 3, 1, 7, 9, 14],
"ct": [5, 3, 9, 5, 2, 7, 8, 11, 13, 13, 0, 1, 1, 15, 12, 8, 15, 11, 10, 0, 2, 11, 7, 4, 7, 0],
"result": "invalid"
},
{
"tcId": 1017,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "228e9e3386e948a636d5238ef5a32456",
"tweak": "b297e81e07aeefa2",
"msg": [15, 4, 7, 11, 3, 12, 5, 13, -1, 13, 10, 4, 8, 4, 3, 15, 2, 7, 12, 5, 13, 3, 1, 7, 9, 14],
"ct": [15, 0, 11, 14, 12, 4, 1, 7, 12, 1, 9, 9, 15, 5, 11, 4, 4, 5, 4, 0, 0, 1, 12, 9, 4, 15],
"result": "invalid"
},
{
"tcId": 1018,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "228e9e3386e948a636d5238ef5a32456",
"tweak": "b297e81e07aeefa2",
"msg": [15, 4, 7, 11, 3, 12, 5, 13, 12, 13, 10, 4, 8, 4, 3, 15, 2, 7, 12, 5, 13, 3, 1, 7, 9, -1],
"ct": [12, 4, 11, 12, 7, 4, 4, 0, 13, 13, 13, 2, 9, 6, 14, 9, 8, 9, 3, 2, 3, 3, 3, 2, 4, 2],
"result": "invalid"
},
{
"tcId": 1019,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fe91d65594098271e4c94f679d379874",
"tweak": "da09c6de1396f923",
"msg": [16, 13, 5, 13, 14, 2, 9, 0, 9, 11, 11, 9, 1, 5, 0, 8, 12, 10, 7, 7, 5, 9, 12, 12, 11, 14],
"ct": [1, 9, 2, 8, 9, 4, 14, 0, 13, 8, 11, 9, 9, 3, 7, 8, 13, 1, 6, 2, 5, 15, 9, 6, 5, 12],
"result": "invalid"
},
{
"tcId": 1020,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fe91d65594098271e4c94f679d379874",
"tweak": "da09c6de1396f923",
"msg": [4, 13, 5, 13, 14, 2, 9, 0, 16, 11, 11, 9, 1, 5, 0, 8, 12, 10, 7, 7, 5, 9, 12, 12, 11, 14],
"ct": [0, 3, 12, 14, 5, 8, 12, 0, 11, 3, 4, 2, 11, 3, 1, 6, 3, 5, 3, 2, 15, 13, 7, 10, 10, 6],
"result": "invalid"
},
{
"tcId": 1021,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fe91d65594098271e4c94f679d379874",
"tweak": "da09c6de1396f923",
"msg": [4, 13, 5, 13, 14, 2, 9, 0, 9, 11, 11, 9, 1, 5, 0, 8, 12, 10, 7, 7, 5, 9, 12, 12, 11, 16],
"ct": [6, 7, 11, 12, 2, 4, 8, 7, 14, 8, 2, 0, 9, 12, 14, 11, 4, 3, 5, 4, 13, 11, 3, 8, 3, 0],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 27,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1022,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "5d9ce920d89d03dcb83a0bf8ba68c9a1",
"tweak": "9b6124a5067acaf1",
"msg": [13, 4, 3, 0, 1, 0, 10, 2, 11, 11, 7, 0, 13, 5, 3, 0, 6, 6, 10, 6, 0, 15, 7, 4, 4, 3, 0],
"ct": [12, 9, 7, 8, 15, 1, 0, 7, 4, 13, 14, 0, 6, 12, 11, 0, 15, 5, 13, 6, 9, 2, 0, 13, 3, 15, 0],
"result": "valid"
},
{
"tcId": 1023,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 12, 8, 3, 12, 10, 13, 15, 14, 3, 7, 14, 14, 14, 8, 0, 0, 15, 4, 8, 10, 2, 1, 5, 2, 5, 4],
"result": "valid"
},
{
"tcId": 1024,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [10, 10, 2, 9, 9, 0, 2, 11, 9, 8, 8, 11, 2, 1, 15, 15, 7, 12, 13, 8, 11, 5, 11, 0, 3, 9, 1],
"result": "valid"
},
{
"tcId": 1025,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [11, 5, 13, 14, 14, 8, 8, 10, 15, 14, 10, 1, 6, 10, 5, 1, 7, 4, 10, 8, 4, 3, 11, 5, 10, 10, 15],
"result": "valid"
},
{
"tcId": 1026,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [11, 14, 7, 2, 14, 5, 0, 6, 11, 14, 4, 1, 0, 7, 4, 1, 2, 2, 9, 9, 1, 12, 12, 6, 9, 11, 8],
"result": "valid"
},
{
"tcId": 1027,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [9, 15, 0, 5, 2, 8, 14, 12, 1, 12, 1, 1, 7, 2, 11, 8, 7, 4, 5, 11, 5, 4, 11, 15, 9, 10, 10],
"ct": [2, 4, 8, 15, 10, 8, 7, 2, 4, 4, 0, 9, 6, 4, 12, 6, 10, 9, 1, 3, 12, 9, 12, 10, 14, 3, 2],
"result": "valid"
},
{
"tcId": 1028,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [9, 8, 0, 1, 10, 2, 12, 15, 10, 11, 14, 1, 15, 13, 13, 11, 3, 0, 9, 5, 11, 11, 1, 9, 11, 9, 8],
"ct": [15, 7, 2, 4, 3, 8, 1, 0, 9, 0, 9, 11, 1, 3, 3, 5, 0, 0, 9, 3, 2, 3, 11, 11, 9, 4, 9],
"result": "valid"
},
{
"tcId": 1029,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [7, 15, 9, 3, 10, 10, 3, 12, 1, 5, 6, 8, 8, 3, 11, 10, 9, 8, 1, 15, 13, 5, 15, 7, 14, 12, 4],
"ct": [9, 2, 15, 4, 13, 11, 7, 11, 2, 1, 11, 1, 0, 11, 8, 0, 1, 9, 7, 13, 11, 0, 13, 2, 1, 14, 5],
"result": "valid"
},
{
"tcId": 1030,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [9, 2, 9, 3, 3, 1, 0, 1, 10, 3, 0, 6, 10, 15, 1, 3, 11, 13, 14, 12, 3, 15, 5, 4, 7, 4, 12],
"ct": [10, 8, 2, 9, 6, 11, 11, 12, 12, 2, 11, 14, 5, 4, 12, 13, 11, 5, 1, 9, 15, 8, 15, 1, 6, 15, 13],
"result": "valid"
},
{
"tcId": 1031,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [10, 10, 6, 11, 15, 0, 9, 5, 12, 12, 7, 13, 3, 11, 5, 5, 9, 2, 2, 0, 2, 9, 6, 9, 9, 12, 3],
"ct": [11, 3, 9, 9, 10, 0, 1, 4, 6, 5, 0, 13, 2, 10, 8, 2, 3, 1, 5, 4, 7, 15, 5, 0, 3, 6, 9],
"result": "valid"
},
{
"tcId": 1032,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [9, 4, 7, 1, 3, 1, 12, 0, 13, 5, 15, 14, 9, 9, 14, 9, 14, 14, 4, 10, 9, 2, 12, 2, 6, 1, 13],
"ct": [4, 10, 13, 1, 4, 0, 4, 6, 14, 1, 13, 12, 6, 3, 8, 14, 12, 3, 5, 10, 3, 4, 15, 12, 1, 13, 2],
"result": "valid"
},
{
"tcId": 1033,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [13, 6, 8, 13, 11, 7, 1, 1, 12, 13, 6, 11, 0, 9, 15, 0, 5, 15, 1, 10, 13, 11, 3, 3, 3, 8, 4],
"ct": [4, 11, 0, 15, 9, 6, 12, 13, 8, 1, 9, 5, 1, 11, 8, 7, 13, 14, 0, 9, 8, 7, 13, 3, 13, 14, 12],
"result": "valid"
},
{
"tcId": 1034,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [1, 5, 0, 1, 2, 6, 10, 14, 3, 9, 10, 0, 10, 5, 8, 4, 14, 13, 7, 2, 1, 10, 12, 11, 4, 2, 1],
"ct": [14, 7, 1, 12, 11, 1, 10, 14, 10, 2, 8, 7, 3, 1, 6, 3, 9, 12, 0, 9, 14, 5, 14, 11, 10, 8, 5],
"result": "valid"
},
{
"tcId": 1035,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [13, 2, 4, 11, 8, 0, 14, 15, 12, 1, 14, 11, 11, 2, 6, 12, 0, 10, 14, 14, 14, 14, 6, 6, 14, 6, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1036,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [3, 9, 2, 1, 8, 5, 2, 15, 11, 9, 7, 15, 12, 4, 15, 6, 7, 1, 1, 13, 13, 4, 1, 7, 9, 1, 7],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1037,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [13, 10, 12, 10, 5, 15, 6, 9, 8, 14, 5, 13, 5, 0, 9, 1, 5, 5, 12, 7, 0, 5, 6, 0, 12, 13, 4],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1038,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "9b81805cf0423e149b59d74e4e876ccf",
"tweak": "bcdfdd4615295f29",
"msg": [8, 3, 6, 9, 3, 11, 1, 12, 3, 7, 15, 7, 14, 2, 7, 9, 11, 15, 9, 7, 5, 14, 2, 2, 11, 1, 1],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1039,
"comment": "y = 0 and (y + a) % radix**13 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "2bc7284a8bf5f85b",
"msg": [4, 3, 3, 2, 1, 3, 13, 15, 4, 15, 2, 3, 10, 2, 12, 15, 2, 2, 8, 7, 5, 9, 14, 13, 15, 8, 12],
"ct": [11, 0, 14, 6, 6, 15, 7, 6, 7, 6, 8, 2, 5, 0, 2, 5, 13, 0, 13, 13, 12, 15, 10, 5, 10, 10, 11],
"result": "valid"
},
{
"tcId": 1040,
"comment": "y = 0 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "2bc7284a8bf5f85b",
"msg": [3, 4, 8, 9, 7, 11, 8, 1, 5, 6, 8, 4, 1, 8, 2, 13, 6, 9, 2, 1, 2, 3, 8, 13, 13, 8, 14],
"ct": [11, 4, 8, 14, 1, 7, 10, 14, 8, 5, 4, 13, 9, 7, 2, 9, 4, 7, 0, 15, 14, 8, 9, 7, 6, 1, 1],
"result": "valid"
},
{
"tcId": 1041,
"comment": "y = 0 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "2bc7284a8bf5f85b",
"msg": [1, 13, 2, 14, 15, 15, 7, 10, 6, 6, 15, 6, 5, 0, 9, 15, 12, 6, 9, 10, 15, 13, 4, 1, 2, 10, 15],
"ct": [14, 13, 12, 4, 5, 12, 5, 14, 8, 0, 1, 10, 7, 13, 4, 7, 14, 0, 5, 15, 0, 7, 4, 14, 14, 9, 9],
"result": "valid"
},
{
"tcId": 1042,
"comment": "y = 0 and (y + a) % radix**13 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "2bc7284a8bf5f85b",
"msg": [10, 8, 14, 2, 5, 13, 12, 1, 9, 11, 10, 15, 1, 6, 0, 5, 9, 3, 10, 11, 0, 0, 13, 2, 15, 7, 12],
"ct": [3, 8, 6, 14, 1, 9, 15, 12, 9, 3, 11, 10, 7, 5, 2, 12, 15, 12, 9, 11, 3, 10, 9, 0, 6, 14, 14],
"result": "valid"
},
{
"tcId": 1043,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "7a8cdcfd0d503bb0",
"msg": [12, 0, 9, 0, 12, 0, 6, 12, 8, 12, 11, 11, 1, 10, 13, 14, 7, 13, 1, 2, 12, 9, 8, 4, 6, 2, 3],
"ct": [6, 4, 6, 2, 1, 8, 15, 2, 11, 10, 2, 3, 14, 10, 1, 12, 3, 9, 3, 9, 4, 8, 12, 11, 12, 4, 11],
"result": "valid"
},
{
"tcId": 1044,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "7a8cdcfd0d503bb0",
"msg": [5, 6, 8, 3, 13, 5, 1, 2, 15, 7, 13, 15, 2, 14, 0, 11, 12, 5, 3, 9, 9, 9, 5, 3, 8, 5, 10],
"ct": [10, 5, 11, 12, 12, 13, 11, 11, 5, 11, 9, 7, 8, 15, 15, 14, 7, 13, 2, 14, 0, 4, 0, 13, 4, 5, 6],
"result": "valid"
},
{
"tcId": 1045,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "7a8cdcfd0d503bb0",
"msg": [5, 4, 0, 9, 2, 3, 11, 13, 0, 2, 15, 4, 14, 14, 8, 5, 5, 10, 2, 9, 4, 14, 0, 2, 6, 8, 12],
"ct": [6, 4, 9, 15, 1, 1, 3, 15, 10, 0, 9, 2, 15, 1, 2, 0, 10, 3, 4, 14, 1, 5, 4, 2, 0, 4, 6],
"result": "valid"
},
{
"tcId": 1046,
"comment": "y = 1 and (y + a) % radix**13 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "7a8cdcfd0d503bb0",
"msg": [4, 2, 8, 1, 11, 1, 3, 4, 6, 4, 5, 7, 10, 1, 9, 11, 15, 12, 10, 12, 1, 12, 10, 6, 2, 15, 3],
"ct": [2, 4, 13, 6, 15, 6, 9, 7, 4, 9, 15, 4, 1, 3, 7, 5, 10, 3, 6, 10, 7, 2, 11, 1, 10, 12, 10],
"result": "valid"
},
{
"tcId": 1047,
"comment": "y = 1 and (y + a) % radix**13 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "7a8cdcfd0d503bb0",
"msg": [15, 14, 11, 7, 8, 8, 7, 3, 15, 2, 5, 7, 4, 10, 9, 14, 8, 11, 9, 10, 8, 4, 1, 6, 1, 1, 15],
"ct": [3, 9, 8, 1, 4, 15, 8, 15, 10, 11, 6, 6, 9, 13, 13, 1, 9, 7, 3, 6, 11, 12, 11, 3, 15, 11, 15],
"result": "valid"
},
{
"tcId": 1048,
"comment": "y is maximal and (y + a) % radix**13 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "b34308483bb6b0cb",
"msg": [12, 3, 7, 15, 4, 3, 14, 9, 7, 1, 12, 10, 7, 5, 0, 3, 9, 6, 12, 9, 4, 12, 7, 15, 10, 7, 6],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 9, 14, 7, 11, 8, 0, 12, 14, 10, 0, 15, 7, 14],
"result": "valid"
},
{
"tcId": 1049,
"comment": "y is maximal and (y + a) % radix**13 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "b34308483bb6b0cb",
"msg": [4, 3, 7, 14, 3, 8, 8, 3, 4, 7, 12, 5, 9, 11, 11, 0, 11, 9, 13, 11, 5, 13, 5, 9, 7, 9, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 11, 8, 2, 2, 13, 15, 13, 13, 11, 15, 6, 6, 1],
"result": "valid"
},
{
"tcId": 1050,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "b34308483bb6b0cb",
"msg": [6, 15, 8, 8, 1, 15, 10, 5, 6, 5, 8, 11, 11, 0, 2, 1, 0, 4, 9, 3, 1, 0, 11, 1, 2, 15, 14],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 2, 6, 3, 0, 3, 12, 11, 8, 2, 7, 15, 10, 12, 1],
"result": "valid"
},
{
"tcId": 1051,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "b34308483bb6b0cb",
"msg": [9, 9, 13, 10, 6, 6, 13, 1, 7, 12, 6, 1, 1, 1, 9, 14, 8, 2, 8, 10, 10, 10, 11, 14, 14, 6, 15],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 15, 14, 11, 3, 8, 11, 2, 5, 14, 14, 6, 3, 8, 9],
"result": "valid"
},
{
"tcId": 1052,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "c1b548f75158e6bd",
"msg": [6, 0, 15, 5, 5, 7, 14, 5, 4, 9, 6, 9, 5, 1, 13, 3, 13, 6, 14, 1, 1, 13, 7, 11, 0, 5, 0],
"ct": [9, 6, 12, 6, 11, 3, 12, 11, 2, 1, 4, 6, 5, 12, 1, 12, 12, 14, 3, 13, 6, 4, 1, 10, 15, 10, 8],
"result": "valid"
},
{
"tcId": 1053,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "c1b548f75158e6bd",
"msg": [7, 4, 9, 12, 3, 5, 0, 1, 14, 2, 0, 10, 15, 15, 2, 4, 10, 4, 13, 11, 5, 6, 4, 11, 12, 9, 1],
"ct": [6, 7, 4, 9, 4, 9, 7, 1, 8, 14, 13, 14, 10, 8, 15, 9, 10, 13, 12, 15, 0, 2, 10, 9, 3, 0, 7],
"result": "valid"
},
{
"tcId": 1054,
"comment": "y is edge case for modular reduction and (y + a) % radix**13 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "c1b548f75158e6bd",
"msg": [4, 11, 5, 15, 7, 12, 10, 6, 7, 9, 10, 9, 12, 15, 7, 1, 15, 1, 11, 14, 13, 10, 10, 12, 3, 1, 13],
"ct": [7, 1, 0, 9, 1, 9, 3, 7, 3, 10, 14, 14, 10, 10, 5, 8, 9, 5, 15, 14, 0, 1, 5, 12, 6, 12, 6],
"result": "valid"
},
{
"tcId": 1055,
"comment": "y is edge case for modular reduction and (y + a) % radix**13 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "c1b548f75158e6bd",
"msg": [12, 7, 2, 15, 3, 15, 2, 7, 13, 2, 12, 14, 1, 1, 4, 11, 13, 12, 11, 5, 7, 5, 9, 10, 11, 14, 14],
"ct": [7, 1, 10, 14, 12, 11, 5, 15, 11, 8, 5, 3, 15, 7, 8, 3, 4, 14, 0, 3, 12, 9, 14, 2, 3, 1, 7],
"result": "valid"
},
{
"tcId": 1056,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "c1b548f75158e6bd",
"msg": [4, 2, 1, 6, 15, 5, 10, 2, 12, 13, 6, 2, 13, 10, 14, 14, 2, 3, 11, 1, 11, 11, 12, 2, 10, 15, 14],
"ct": [4, 0, 12, 4, 12, 14, 10, 11, 5, 2, 10, 13, 5, 8, 2, 13, 11, 8, 1, 8, 4, 6, 1, 15, 14, 0, 13],
"result": "valid"
},
{
"tcId": 1057,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "c1b548f75158e6bd",
"msg": [1, 2, 7, 7, 8, 10, 11, 12, 2, 0, 8, 5, 0, 3, 1, 3, 8, 8, 9, 8, 14, 15, 1, 8, 1, 9, 7],
"ct": [9, 10, 12, 8, 11, 7, 11, 3, 4, 3, 14, 13, 10, 2, 12, 14, 8, 9, 10, 12, 2, 10, 8, 14, 0, 2, 13],
"result": "valid"
},
{
"tcId": 1058,
"comment": "y is maximal after modular reduction and (y + a) % radix**13 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "b60cd16d4dae1ada",
"msg": [2, 8, 8, 15, 0, 12, 5, 2, 7, 0, 10, 8, 10, 4, 6, 12, 14, 0, 9, 1, 15, 0, 0, 0, 0, 11, 7],
"ct": [14, 10, 8, 6, 3, 5, 4, 5, 6, 12, 1, 1, 3, 4, 7, 14, 8, 10, 6, 10, 13, 8, 6, 5, 13, 3, 13],
"result": "valid"
},
{
"tcId": 1059,
"comment": "y is maximal after modular reduction and (y + a) % radix**13 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "b60cd16d4dae1ada",
"msg": [10, 8, 2, 1, 14, 6, 3, 9, 3, 6, 12, 12, 3, 15, 1, 9, 3, 10, 5, 12, 13, 3, 1, 12, 8, 6, 7],
"ct": [14, 14, 14, 2, 1, 1, 15, 3, 8, 5, 15, 1, 13, 15, 9, 6, 11, 6, 6, 9, 9, 2, 11, 9, 8, 7, 7],
"result": "valid"
},
{
"tcId": 1060,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "b60cd16d4dae1ada",
"msg": [14, 10, 9, 4, 3, 14, 1, 4, 5, 0, 11, 4, 3, 10, 10, 14, 0, 14, 9, 9, 2, 0, 5, 14, 2, 6, 1],
"ct": [0, 8, 5, 15, 9, 8, 1, 12, 4, 3, 10, 11, 11, 7, 8, 0, 2, 3, 0, 11, 11, 11, 3, 8, 13, 11, 7],
"result": "valid"
},
{
"tcId": 1061,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "075ac4ff0713173a300683f9529cb3d6",
"tweak": "b60cd16d4dae1ada",
"msg": [14, 0, 6, 2, 9, 15, 15, 10, 6, 13, 3, 8, 4, 0, 9, 6, 15, 7, 13, 14, 6, 10, 11, 7, 5, 11, 7],
"ct": [12, 0, 0, 13, 15, 6, 5, 8, 6, 10, 1, 10, 12, 1, 4, 2, 6, 6, 8, 2, 10, 10, 10, 10, 13, 5, 5],
"result": "valid"
},
{
"tcId": 1062,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a5b3f7ddc8da53cdc64310c89e4ea717",
"tweak": "5cf37baf9afa4bf9",
"msg": [-1, 3, 13, 10, 11, 4, 7, 11, 12, 13, 14, 8, 3, 12, 2, 12, 3, 12, 9, 2, 2, 1, 12, 0, 10, 9, 6],
"ct": [13, 0, 3, 14, 9, 0, 11, 0, 10, 12, 10, 0, 3, 12, 14, 8, 8, 2, 0, 7, 0, 15, 9, 13, 7, 5, 4],
"result": "invalid"
},
{
"tcId": 1063,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a5b3f7ddc8da53cdc64310c89e4ea717",
"tweak": "5cf37baf9afa4bf9",
"msg": [4, 3, 13, 10, 11, 4, 7, 11, 12, -1, 14, 8, 3, 12, 2, 12, 3, 12, 9, 2, 2, 1, 12, 0, 10, 9, 6],
"ct": [11, 14, 1, 13, 15, 10, 7, 14, 10, 11, 13, 15, 10, 6, 9, 3, 4, 4, 0, 1, 4, 10, 14, 7, 5, 13, 14],
"result": "invalid"
},
{
"tcId": 1064,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a5b3f7ddc8da53cdc64310c89e4ea717",
"tweak": "5cf37baf9afa4bf9",
"msg": [4, 3, 13, 10, 11, 4, 7, 11, 12, 13, 14, 8, 3, 12, 2, 12, 3, 12, 9, 2, 2, 1, 12, 0, 10, 9, -1],
"ct": [7, 11, 12, 13, 10, 10, 4, 15, 13, 11, 6, 11, 12, 4, 10, 14, 3, 5, 4, 11, 14, 15, 11, 10, 2, 15, 3],
"result": "invalid"
},
{
"tcId": 1065,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4308cd8e0c35dbf4cf91a6cfd0f9eef9",
"tweak": "0c709e423680f3bb",
"msg": [16, 1, 6, 15, 9, 7, 0, 1, 3, 11, 8, 3, 14, 6, 10, 10, 3, 13, 11, 0, 10, 5, 15, 10, 12, 4, 3],
"ct": [8, 2, 1, 9, 1, 6, 3, 10, 6, 0, 4, 10, 6, 12, 1, 3, 7, 2, 1, 5, 2, 8, 7, 12, 12, 7, 2],
"result": "invalid"
},
{
"tcId": 1066,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4308cd8e0c35dbf4cf91a6cfd0f9eef9",
"tweak": "0c709e423680f3bb",
"msg": [13, 1, 6, 15, 9, 7, 0, 1, 3, 16, 8, 3, 14, 6, 10, 10, 3, 13, 11, 0, 10, 5, 15, 10, 12, 4, 3],
"ct": [6, 14, 0, 9, 12, 2, 0, 8, 0, 4, 5, 4, 13, 10, 8, 14, 0, 2, 15, 15, 10, 2, 14, 6, 7, 6, 1],
"result": "invalid"
},
{
"tcId": 1067,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4308cd8e0c35dbf4cf91a6cfd0f9eef9",
"tweak": "0c709e423680f3bb",
"msg": [13, 1, 6, 15, 9, 7, 0, 1, 3, 11, 8, 3, 14, 6, 10, 10, 3, 13, 11, 0, 10, 5, 15, 10, 12, 4, 16],
"ct": [13, 1, 13, 0, 12, 4, 7, 10, 3, 1, 12, 14, 5, 0, 6, 13, 10, 2, 6, 2, 2, 9, 6, 8, 3, 4, 4],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 28,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1068,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "1480e7206367c3365ec5a9b11f61261e",
"tweak": "895ad94343672108",
"msg": [14, 13, 6, 10, 7, 7, 3, 7, 1, 13, 12, 11, 4, 8, 14, 0, 3, 13, 5, 3, 12, 11, 5, 0, 10, 13, 10, 13],
"ct": [15, 7, 4, 9, 8, 0, 4, 15, 3, 13, 2, 13, 1, 10, 2, 5, 9, 7, 1, 5, 13, 0, 1, 5, 15, 10, 5, 2],
"result": "valid"
},
{
"tcId": 1069,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 11, 13, 7, 3, 10, 7, 11, 7, 7, 11, 10, 6, 11, 0, 5, 1, 12, 10, 11, 2, 2, 10, 2, 10, 10, 1, 6],
"result": "valid"
},
{
"tcId": 1070,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [1, 6, 11, 13, 7, 4, 13, 7, 3, 9, 4, 2, 3, 4, 9, 13, 15, 2, 2, 11, 2, 0, 9, 12, 12, 1, 11, 5],
"result": "valid"
},
{
"tcId": 1071,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 15, 1, 11, 10, 14, 13, 13, 13, 0, 1, 10, 4, 7, 12, 2, 4, 0, 4, 4, 0, 14, 12, 1, 2, 2, 7, 6],
"result": "valid"
},
{
"tcId": 1072,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [14, 2, 8, 14, 12, 7, 15, 0, 8, 12, 1, 11, 0, 9, 6, 10, 13, 15, 0, 0, 0, 13, 3, 14, 3, 0, 7, 10],
"result": "valid"
},
{
"tcId": 1073,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [5, 15, 1, 14, 1, 14, 12, 1, 7, 14, 7, 15, 0, 13, 0, 9, 9, 0, 3, 8, 2, 12, 6, 3, 6, 2, 1, 11],
"ct": [14, 1, 4, 0, 10, 4, 14, 1, 12, 2, 7, 9, 11, 11, 0, 15, 7, 12, 6, 15, 13, 5, 10, 1, 3, 14, 4, 2],
"result": "valid"
},
{
"tcId": 1074,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [8, 5, 0, 0, 0, 6, 7, 4, 7, 8, 9, 2, 10, 14, 10, 15, 14, 4, 5, 3, 13, 1, 13, 2, 14, 6, 5, 10],
"ct": [12, 11, 1, 3, 10, 14, 9, 4, 1, 12, 1, 7, 14, 9, 6, 6, 6, 12, 0, 11, 10, 3, 14, 13, 15, 10, 2, 14],
"result": "valid"
},
{
"tcId": 1075,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [8, 3, 9, 12, 13, 11, 9, 1, 5, 1, 0, 7, 11, 3, 15, 13, 0, 0, 14, 4, 2, 0, 3, 4, 6, 6, 5, 15],
"ct": [9, 12, 8, 5, 14, 8, 7, 4, 11, 5, 13, 15, 2, 14, 14, 11, 11, 4, 6, 5, 7, 12, 10, 10, 6, 3, 9, 10],
"result": "valid"
},
{
"tcId": 1076,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [8, 9, 5, 14, 9, 8, 7, 15, 13, 0, 3, 14, 7, 3, 8, 0, 1, 11, 6, 4, 5, 14, 15, 8, 5, 15, 4, 3],
"ct": [14, 1, 4, 3, 14, 14, 12, 9, 15, 2, 8, 0, 0, 14, 12, 9, 5, 9, 3, 2, 2, 15, 1, 3, 11, 3, 10, 13],
"result": "valid"
},
{
"tcId": 1077,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [10, 7, 14, 14, 5, 8, 9, 7, 4, 6, 13, 9, 5, 5, 10, 6, 14, 11, 15, 7, 3, 9, 10, 14, 5, 15, 7, 0],
"ct": [9, 12, 0, 14, 1, 7, 0, 5, 10, 15, 13, 6, 10, 13, 9, 2, 1, 1, 15, 13, 8, 6, 7, 11, 5, 12, 6, 3],
"result": "valid"
},
{
"tcId": 1078,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [12, 13, 0, 6, 3, 9, 3, 6, 13, 13, 10, 10, 15, 1, 9, 12, 12, 15, 0, 14, 13, 1, 10, 7, 3, 9, 12, 5],
"ct": [14, 11, 0, 2, 13, 13, 5, 5, 11, 3, 8, 5, 0, 9, 1, 14, 5, 13, 15, 9, 9, 11, 14, 9, 0, 5, 4, 3],
"result": "valid"
},
{
"tcId": 1079,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [11, 3, 7, 1, 14, 6, 11, 10, 0, 1, 8, 0, 10, 14, 13, 15, 12, 9, 8, 9, 10, 6, 3, 12, 3, 2, 5, 2],
"ct": [3, 10, 9, 0, 10, 9, 12, 9, 9, 4, 0, 3, 4, 13, 7, 11, 6, 9, 3, 4, 7, 6, 12, 14, 14, 12, 10, 12],
"result": "valid"
},
{
"tcId": 1080,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [11, 14, 14, 12, 11, 7, 13, 1, 2, 0, 13, 2, 9, 15, 6, 3, 1, 5, 5, 1, 10, 5, 1, 2, 11, 2, 3, 15],
"ct": [14, 8, 1, 5, 3, 11, 6, 3, 9, 12, 7, 7, 0, 2, 7, 4, 15, 0, 10, 1, 8, 9, 3, 8, 15, 9, 3, 6],
"result": "valid"
},
{
"tcId": 1081,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [11, 10, 13, 6, 15, 10, 12, 13, 12, 11, 9, 14, 12, 3, 2, 11, 10, 7, 15, 12, 14, 4, 8, 13, 6, 1, 7, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1082,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [13, 15, 2, 3, 12, 13, 15, 8, 4, 10, 0, 5, 2, 11, 4, 11, 9, 9, 9, 8, 14, 0, 13, 3, 9, 14, 13, 3],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1083,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [15, 11, 3, 7, 1, 14, 2, 10, 14, 15, 3, 1, 15, 7, 0, 3, 8, 2, 1, 3, 9, 15, 2, 1, 1, 3, 8, 11],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1084,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6fb5d09b399a2e35b530485a940a011c",
"tweak": "b8b5a93148251334",
"msg": [3, 9, 9, 8, 14, 5, 11, 6, 7, 6, 11, 5, 15, 3, 6, 1, 5, 6, 11, 0, 1, 12, 0, 7, 4, 13, 10, 3],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1085,
"comment": "y = 0 and (y + a) % radix**14 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "be0fc6bd787a8ba9",
"msg": [11, 1, 12, 15, 13, 14, 13, 4, 13, 4, 11, 15, 13, 9, 8, 6, 0, 4, 7, 6, 1, 3, 7, 14, 1, 15, 14, 13],
"ct": [13, 15, 1, 8, 4, 4, 0, 13, 4, 13, 9, 5, 6, 0, 2, 8, 13, 0, 15, 0, 10, 8, 5, 1, 1, 11, 7, 1],
"result": "valid"
},
{
"tcId": 1086,
"comment": "y = 0 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "be0fc6bd787a8ba9",
"msg": [10, 15, 7, 0, 14, 14, 8, 12, 3, 11, 14, 1, 15, 4, 7, 11, 8, 12, 2, 7, 13, 1, 12, 2, 7, 2, 4, 14],
"ct": [1, 11, 0, 10, 14, 9, 8, 1, 12, 0, 4, 14, 1, 3, 2, 9, 14, 6, 7, 9, 0, 0, 4, 1, 13, 3, 0, 11],
"result": "valid"
},
{
"tcId": 1087,
"comment": "y = 0 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "be0fc6bd787a8ba9",
"msg": [0, 6, 3, 12, 3, 13, 7, 13, 13, 0, 15, 6, 9, 8, 2, 1, 6, 2, 6, 14, 14, 11, 4, 15, 3, 14, 1, 0],
"ct": [1, 6, 6, 3, 5, 6, 14, 1, 8, 4, 12, 0, 0, 3, 5, 11, 2, 8, 0, 6, 4, 14, 10, 6, 2, 4, 14, 12],
"result": "valid"
},
{
"tcId": 1088,
"comment": "y = 0 and (y + a) % radix**14 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "be0fc6bd787a8ba9",
"msg": [2, 9, 15, 8, 3, 12, 14, 1, 14, 11, 11, 9, 9, 2, 12, 11, 5, 13, 7, 9, 2, 1, 5, 11, 11, 5, 8, 12],
"ct": [5, 5, 9, 7, 12, 7, 6, 10, 13, 1, 0, 8, 8, 1, 14, 3, 7, 9, 1, 14, 0, 6, 4, 6, 7, 2, 2, 10],
"result": "valid"
},
{
"tcId": 1089,
"comment": "y = 1 and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "fb8c77500038a560",
"msg": [4, 3, 11, 0, 9, 4, 13, 12, 11, 0, 8, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 6, 6, 5, 5, 7, 4, 15, 6, 3, 8, 5, 2, 5, 8, 9, 9, 1, 11, 4, 1, 1, 14, 2, 0, 10, 2, 1],
"result": "valid"
},
{
"tcId": 1090,
"comment": "y = 1 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "fb8c77500038a560",
"msg": [5, 9, 1, 14, 1, 13, 12, 1, 14, 3, 4, 9, 11, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [0, 9, 5, 2, 8, 0, 8, 10, 9, 4, 15, 6, 11, 3, 14, 6, 13, 7, 6, 11, 9, 4, 8, 9, 14, 13, 4, 15],
"result": "valid"
},
{
"tcId": 1091,
"comment": "y = 1 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "fb8c77500038a560",
"msg": [7, 7, 2, 3, 3, 3, 5, 10, 8, 1, 7, 15, 6, 9, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 0, 14, 1, 3, 4, 1, 14, 6, 13, 4, 1, 1, 5, 3, 15, 14, 4, 13, 1, 10, 13, 8, 13, 13, 1, 15, 5],
"result": "valid"
},
{
"tcId": 1092,
"comment": "y = 1 and (y + a) % radix**14 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "fb8c77500038a560",
"msg": [3, 4, 15, 0, 10, 1, 3, 14, 15, 1, 8, 7, 8, 5, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14],
"ct": [5, 9, 11, 12, 2, 11, 11, 12, 9, 2, 13, 5, 7, 5, 7, 11, 8, 3, 8, 2, 3, 7, 9, 1, 2, 11, 1, 5],
"result": "valid"
},
{
"tcId": 1093,
"comment": "y = 1 and (y + a) % radix**14 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "fb8c77500038a560",
"msg": [13, 1, 3, 6, 3, 9, 14, 14, 15, 13, 7, 7, 7, 5, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [5, 3, 4, 9, 8, 4, 11, 4, 12, 11, 1, 4, 2, 0, 1, 12, 5, 7, 7, 14, 1, 11, 10, 12, 1, 13, 13, 15],
"result": "valid"
},
{
"tcId": 1094,
"comment": "y is maximal and (y + a) % radix**14 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "9d43bdbf2eb154ff",
"msg": [10, 10, 11, 9, 3, 13, 15, 9, 12, 7, 3, 12, 15, 15, 1, 2, 10, 8, 10, 9, 12, 8, 10, 9, 13, 8, 12, 4],
"ct": [10, 7, 11, 6, 1, 14, 4, 0, 12, 4, 6, 14, 5, 6, 7, 5, 2, 14, 1, 5, 5, 0, 2, 13, 7, 14, 2, 15],
"result": "valid"
},
{
"tcId": 1095,
"comment": "y is maximal and (y + a) % radix**14 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "9d43bdbf2eb154ff",
"msg": [5, 15, 10, 5, 11, 8, 11, 12, 13, 10, 15, 12, 1, 10, 3, 13, 8, 8, 12, 1, 7, 10, 8, 0, 2, 14, 0, 12],
"ct": [3, 8, 6, 1, 0, 4, 5, 6, 4, 13, 15, 2, 6, 10, 14, 8, 5, 10, 11, 15, 4, 7, 8, 0, 14, 5, 7, 0],
"result": "valid"
},
{
"tcId": 1096,
"comment": "y is maximal and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "9d43bdbf2eb154ff",
"msg": [3, 6, 6, 11, 6, 2, 10, 4, 15, 1, 13, 13, 6, 14, 5, 4, 9, 10, 8, 7, 14, 13, 3, 13, 1, 9, 11, 12],
"ct": [15, 0, 11, 2, 14, 11, 8, 11, 9, 14, 4, 9, 11, 12, 15, 6, 6, 9, 13, 3, 6, 14, 15, 1, 5, 3, 7, 4],
"result": "valid"
},
{
"tcId": 1097,
"comment": "y is maximal and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "9d43bdbf2eb154ff",
"msg": [8, 14, 15, 3, 0, 0, 11, 10, 15, 3, 10, 4, 15, 10, 5, 0, 9, 2, 6, 5, 0, 13, 13, 15, 6, 5, 0, 4],
"ct": [2, 9, 11, 0, 7, 9, 11, 2, 14, 12, 1, 1, 9, 13, 12, 1, 10, 7, 10, 15, 12, 5, 5, 11, 3, 11, 2, 15],
"result": "valid"
},
{
"tcId": 1098,
"comment": "y is edge case for modular reduction and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "baf9c1bbac8eec86",
"msg": [2, 12, 14, 1, 3, 11, 6, 15, 7, 9, 4, 12, 6, 0, 12, 3, 2, 4, 3, 1, 4, 0, 13, 4, 3, 0, 2, 11],
"ct": [7, 6, 5, 7, 2, 1, 3, 7, 15, 9, 1, 6, 14, 0, 11, 11, 4, 13, 11, 15, 12, 10, 2, 14, 11, 3, 15, 8],
"result": "valid"
},
{
"tcId": 1099,
"comment": "y is edge case for modular reduction and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "baf9c1bbac8eec86",
"msg": [9, 14, 1, 7, 0, 3, 8, 3, 0, 10, 12, 9, 4, 10, 12, 5, 13, 9, 11, 0, 8, 14, 6, 9, 10, 11, 9, 6],
"ct": [7, 5, 10, 1, 1, 2, 13, 5, 12, 13, 0, 15, 7, 5, 6, 1, 10, 6, 15, 4, 12, 5, 0, 12, 13, 8, 2, 9],
"result": "valid"
},
{
"tcId": 1100,
"comment": "y is edge case for modular reduction and (y + a) % radix**14 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "baf9c1bbac8eec86",
"msg": [7, 7, 11, 13, 4, 1, 2, 3, 13, 7, 10, 15, 10, 1, 4, 12, 14, 13, 9, 2, 12, 7, 2, 9, 7, 4, 3, 5],
"ct": [7, 13, 5, 12, 10, 14, 0, 9, 13, 10, 7, 10, 11, 14, 2, 3, 4, 13, 5, 4, 15, 9, 6, 6, 0, 15, 14, 0],
"result": "valid"
},
{
"tcId": 1101,
"comment": "y is edge case for modular reduction and (y + a) % radix**14 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "baf9c1bbac8eec86",
"msg": [11, 9, 4, 5, 4, 10, 1, 0, 15, 11, 8, 0, 15, 0, 0, 9, 14, 14, 9, 13, 3, 0, 13, 7, 13, 9, 2, 3],
"ct": [11, 1, 15, 8, 14, 8, 4, 10, 13, 12, 15, 14, 4, 11, 3, 6, 0, 13, 12, 6, 12, 8, 9, 13, 12, 3, 9, 2],
"result": "valid"
},
{
"tcId": 1102,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "baf9c1bbac8eec86",
"msg": [8, 3, 14, 7, 7, 12, 11, 15, 7, 5, 12, 2, 13, 5, 9, 9, 4, 4, 8, 1, 14, 15, 10, 0, 4, 14, 3, 11],
"ct": [7, 3, 5, 2, 6, 4, 4, 12, 6, 13, 2, 13, 8, 4, 15, 12, 11, 7, 2, 10, 0, 13, 5, 8, 4, 11, 7, 0],
"result": "valid"
},
{
"tcId": 1103,
"comment": "y is edge case for modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "baf9c1bbac8eec86",
"msg": [10, 3, 8, 5, 15, 3, 13, 1, 6, 12, 8, 4, 0, 7, 8, 7, 14, 2, 7, 9, 12, 4, 0, 7, 8, 2, 15, 10],
"ct": [4, 11, 4, 6, 5, 14, 9, 11, 0, 10, 6, 12, 13, 4, 3, 5, 1, 10, 4, 1, 3, 15, 2, 15, 15, 2, 4, 11],
"result": "valid"
},
{
"tcId": 1104,
"comment": "y is maximal after modular reduction and (y + a) % radix**14 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "0f666772e30d77a8",
"msg": [9, 13, 12, 15, 13, 4, 10, 1, 1, 5, 15, 12, 1, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [9, 2, 6, 10, 5, 9, 12, 0, 12, 15, 1, 10, 6, 6, 14, 9, 8, 6, 12, 0, 1, 11, 15, 10, 1, 3, 12, 10],
"result": "valid"
},
{
"tcId": 1105,
"comment": "y is maximal after modular reduction and (y + a) % radix**14 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "0f666772e30d77a8",
"msg": [9, 12, 7, 2, 10, 15, 12, 2, 14, 11, 15, 13, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [8, 6, 0, 9, 6, 0, 13, 10, 2, 6, 1, 11, 11, 5, 3, 14, 7, 11, 6, 12, 3, 13, 3, 4, 2, 12, 1, 6],
"result": "valid"
},
{
"tcId": 1106,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "0f666772e30d77a8",
"msg": [6, 2, 4, 15, 5, 11, 1, 3, 3, 11, 11, 4, 14, 4, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 2, 13, 10, 13, 8, 2, 4, 12, 6, 12, 4, 7, 2, 10, 10, 12, 4, 6, 2, 13, 15, 10, 8, 5, 3, 1, 2],
"result": "valid"
},
{
"tcId": 1107,
"comment": "y is maximal after modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "76975988cc9da5b325b04f57d9fd13f5",
"tweak": "0f666772e30d77a8",
"msg": [12, 11, 6, 15, 0, 6, 13, 8, 14, 13, 10, 10, 6, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [5, 14, 6, 11, 14, 1, 0, 7, 13, 11, 8, 2, 14, 1, 8, 12, 12, 5, 14, 5, 4, 6, 0, 0, 8, 12, 11, 1],
"result": "valid"
},
{
"tcId": 1108,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7fb5ecce67377d5cf38bf7a6dae791f6",
"tweak": "c476c64619fd600d",
"msg": [-1, 15, 14, 11, 4, 7, 5, 11, 2, 3, 12, 6, 13, 12, 3, 3, 8, 4, 7, 0, 0, 6, 1, 3, 2, 9, 7, 10],
"ct": [8, 5, 9, 6, 4, 13, 12, 3, 5, 3, 12, 13, 1, 11, 10, 1, 12, 1, 10, 15, 11, 10, 8, 12, 1, 0, 15, 15],
"result": "invalid"
},
{
"tcId": 1109,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7fb5ecce67377d5cf38bf7a6dae791f6",
"tweak": "c476c64619fd600d",
"msg": [4, 15, 14, 11, 4, 7, 5, 11, 2, -1, 12, 6, 13, 12, 3, 3, 8, 4, 7, 0, 0, 6, 1, 3, 2, 9, 7, 10],
"ct": [14, 2, 8, 12, 15, 5, 14, 14, 4, 3, 14, 5, 6, 2, 11, 2, 3, 2, 3, 13, 8, 0, 9, 10, 6, 9, 9, 3],
"result": "invalid"
},
{
"tcId": 1110,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7fb5ecce67377d5cf38bf7a6dae791f6",
"tweak": "c476c64619fd600d",
"msg": [4, 15, 14, 11, 4, 7, 5, 11, 2, 3, 12, 6, 13, 12, 3, 3, 8, 4, 7, 0, 0, 6, 1, 3, 2, 9, 7, -1],
"ct": [14, 3, 10, 3, 5, 13, 6, 15, 9, 12, 6, 6, 11, 13, 12, 1, 14, 2, 10, 6, 6, 3, 8, 4, 2, 12, 9, 5],
"result": "invalid"
},
{
"tcId": 1111,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a7fe00c605ef696bc9fd4c311f7f6d90",
"tweak": "f32a6dfa6a63bd85",
"msg": [16, 0, 2, 7, 0, 2, 13, 12, 9, 6, 11, 3, 3, 8, 4, 2, 6, 11, 5, 5, 14, 9, 1, 13, 1, 0, 8, 0],
"ct": [8, 15, 0, 13, 0, 9, 13, 13, 14, 2, 14, 6, 0, 13, 0, 11, 8, 2, 0, 0, 1, 4, 14, 8, 13, 9, 11, 15],
"result": "invalid"
},
{
"tcId": 1112,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a7fe00c605ef696bc9fd4c311f7f6d90",
"tweak": "f32a6dfa6a63bd85",
"msg": [13, 0, 2, 7, 0, 2, 13, 12, 9, 16, 11, 3, 3, 8, 4, 2, 6, 11, 5, 5, 14, 9, 1, 13, 1, 0, 8, 0],
"ct": [6, 7, 6, 4, 7, 4, 6, 0, 5, 5, 8, 8, 15, 15, 14, 14, 4, 7, 0, 1, 11, 8, 3, 9, 12, 6, 13, 9],
"result": "invalid"
},
{
"tcId": 1113,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a7fe00c605ef696bc9fd4c311f7f6d90",
"tweak": "f32a6dfa6a63bd85",
"msg": [13, 0, 2, 7, 0, 2, 13, 12, 9, 6, 11, 3, 3, 8, 4, 2, 6, 11, 5, 5, 14, 9, 1, 13, 1, 0, 8, 16],
"ct": [3, 4, 2, 4, 1, 14, 14, 15, 15, 12, 4, 10, 2, 8, 9, 4, 12, 11, 11, 12, 0, 10, 3, 4, 12, 12, 4, 4],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 29,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1114,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "a8ed8a1627e4ea301c4d007a30a7fd71",
"tweak": "dbbf38e615dc2fee",
"msg": [1, 13, 14, 11, 3, 8, 8, 5, 13, 6, 12, 2, 1, 15, 3, 1, 12, 13, 14, 7, 0, 8, 6, 15, 10, 3, 13, 13, 9],
"ct": [14, 10, 10, 3, 15, 5, 13, 9, 9, 12, 1, 3, 1, 11, 6, 8, 4, 14, 13, 10, 5, 1, 11, 11, 6, 10, 8, 6, 2],
"result": "valid"
},
{
"tcId": 1115,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 15, 15, 9, 3, 10, 2, 2, 12, 15, 12, 12, 12, 0, 6, 13, 11, 0, 12, 4, 12, 9, 2, 3, 15, 7, 4, 14, 12],
"result": "valid"
},
{
"tcId": 1116,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [1, 11, 10, 3, 11, 13, 8, 5, 3, 0, 13, 3, 10, 3, 4, 14, 11, 8, 5, 13, 3, 10, 9, 11, 3, 1, 8, 2, 7],
"result": "valid"
},
{
"tcId": 1117,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [6, 2, 0, 5, 3, 9, 4, 0, 9, 7, 6, 5, 13, 8, 8, 15, 2, 3, 10, 0, 10, 2, 1, 7, 3, 14, 15, 2, 4],
"result": "valid"
},
{
"tcId": 1118,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [10, 12, 6, 7, 6, 3, 10, 3, 14, 15, 6, 7, 6, 3, 9, 7, 13, 8, 4, 10, 9, 13, 3, 4, 2, 6, 3, 8, 13],
"result": "valid"
},
{
"tcId": 1119,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [7, 10, 4, 15, 8, 10, 9, 13, 15, 9, 9, 11, 4, 2, 0, 10, 15, 3, 12, 1, 13, 10, 5, 6, 13, 5, 7, 4, 15],
"ct": [10, 8, 14, 0, 13, 5, 7, 6, 8, 9, 9, 9, 14, 5, 2, 12, 2, 13, 2, 8, 8, 0, 14, 2, 10, 3, 0, 6, 3],
"result": "valid"
},
{
"tcId": 1120,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [6, 4, 6, 6, 11, 8, 14, 12, 13, 14, 10, 4, 2, 6, 3, 11, 5, 13, 9, 2, 14, 13, 6, 14, 1, 1, 3, 7, 1],
"ct": [15, 10, 0, 7, 1, 15, 3, 0, 11, 0, 5, 6, 4, 2, 8, 15, 6, 12, 7, 4, 14, 9, 6, 10, 9, 12, 1, 4, 12],
"result": "valid"
},
{
"tcId": 1121,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [0, 9, 14, 9, 1, 15, 15, 14, 12, 10, 5, 8, 13, 3, 1, 6, 13, 9, 1, 14, 14, 1, 13, 10, 5, 12, 5, 10, 0],
"ct": [11, 5, 2, 14, 5, 1, 3, 4, 9, 4, 12, 6, 10, 15, 1, 11, 1, 10, 14, 2, 2, 8, 14, 4, 6, 7, 14, 0, 9],
"result": "valid"
},
{
"tcId": 1122,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [10, 4, 12, 11, 13, 13, 6, 9, 0, 5, 2, 4, 14, 2, 3, 10, 5, 15, 3, 6, 2, 4, 11, 0, 1, 15, 4, 13, 7],
"ct": [5, 9, 3, 15, 0, 12, 3, 5, 7, 11, 3, 1, 11, 7, 3, 6, 1, 8, 5, 5, 11, 11, 3, 2, 12, 4, 15, 13, 0],
"result": "valid"
},
{
"tcId": 1123,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [3, 1, 3, 7, 13, 4, 14, 11, 2, 12, 5, 4, 0, 15, 15, 14, 5, 3, 5, 13, 11, 15, 7, 14, 8, 6, 1, 11, 9],
"ct": [10, 13, 3, 8, 13, 7, 7, 13, 1, 4, 8, 8, 12, 6, 4, 0, 0, 7, 0, 3, 0, 12, 4, 1, 11, 5, 11, 9, 10],
"result": "valid"
},
{
"tcId": 1124,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [5, 3, 8, 14, 12, 6, 1, 6, 14, 2, 15, 12, 12, 4, 12, 5, 3, 9, 2, 5, 15, 3, 15, 4, 12, 15, 9, 6, 7],
"ct": [7, 14, 4, 8, 6, 13, 10, 7, 4, 15, 3, 0, 10, 8, 5, 2, 8, 0, 6, 3, 2, 4, 11, 13, 3, 5, 5, 13, 14],
"result": "valid"
},
{
"tcId": 1125,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [4, 9, 3, 10, 8, 0, 1, 2, 7, 1, 9, 13, 13, 7, 14, 8, 12, 14, 1, 7, 4, 3, 8, 11, 9, 15, 8, 14, 4],
"ct": [15, 6, 7, 14, 13, 1, 0, 6, 3, 14, 10, 4, 11, 4, 0, 8, 6, 2, 8, 0, 0, 3, 4, 14, 9, 7, 14, 8, 7],
"result": "valid"
},
{
"tcId": 1126,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [3, 14, 6, 3, 1, 6, 0, 6, 1, 6, 0, 11, 3, 8, 1, 1, 9, 11, 13, 15, 15, 7, 6, 6, 7, 6, 10, 13, 8],
"ct": [10, 5, 13, 14, 14, 14, 1, 7, 7, 6, 10, 9, 3, 5, 6, 6, 2, 2, 6, 5, 1, 5, 4, 13, 13, 1, 14, 6, 8],
"result": "valid"
},
{
"tcId": 1127,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [14, 9, 2, 9, 6, 2, 4, 13, 0, 2, 5, 12, 11, 8, 5, 11, 4, 3, 14, 6, 13, 11, 0, 7, 8, 3, 15, 2, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1128,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [9, 0, 10, 3, 4, 0, 3, 15, 10, 1, 12, 3, 7, 8, 7, 5, 3, 13, 4, 9, 0, 2, 11, 12, 8, 4, 8, 6, 15],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1129,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [7, 15, 4, 13, 10, 4, 10, 1, 9, 15, 11, 14, 6, 10, 14, 15, 13, 11, 2, 2, 12, 4, 11, 6, 11, 9, 1, 1, 7],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1130,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ca22f07d7a976a6d3bdf1119294ebd7f",
"tweak": "9e9546b3bfa3137e",
"msg": [11, 13, 15, 11, 14, 3, 0, 3, 10, 9, 13, 3, 13, 0, 4, 14, 12, 9, 15, 14, 5, 1, 10, 13, 12, 14, 11, 13, 3],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1131,
"comment": "y = 0 and (y + a) % radix**14 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "64ac32a17e4808",
"msg": [7, 10, 15, 7, 13, 3, 11, 2, 15, 1, 15, 15, 8, 11, 4, 5, 13, 9, 10, 8, 15, 13, 8, 6, 5, 5, 4, 12, 13],
"ct": [7, 7, 7, 10, 5, 7, 6, 4, 8, 11, 4, 15, 11, 6, 3, 15, 13, 11, 13, 14, 12, 8, 13, 12, 4, 8, 9, 5, 9],
"result": "valid"
},
{
"tcId": 1132,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "64ac32a17e4808",
"msg": [5, 3, 2, 5, 0, 14, 2, 7, 0, 2, 11, 7, 2, 15, 13, 14, 2, 4, 14, 5, 11, 10, 11, 10, 14, 8, 4, 1, 1],
"ct": [14, 8, 9, 15, 5, 1, 4, 8, 11, 3, 14, 13, 9, 3, 15, 2, 3, 13, 10, 12, 4, 14, 6, 6, 11, 8, 9, 4, 5],
"result": "valid"
},
{
"tcId": 1133,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "64ac32a17e4808",
"msg": [7, 7, 15, 0, 9, 5, 5, 11, 6, 0, 2, 13, 10, 14, 15, 3, 9, 7, 15, 12, 11, 7, 5, 11, 5, 0, 5, 2, 7],
"ct": [2, 4, 6, 10, 15, 14, 12, 14, 14, 2, 0, 1, 7, 7, 3, 4, 1, 14, 9, 4, 10, 9, 11, 1, 2, 7, 8, 10, 7],
"result": "valid"
},
{
"tcId": 1134,
"comment": "y = 0 and (y + a) % radix**14 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "64ac32a17e4808",
"msg": [8, 13, 14, 15, 2, 11, 11, 6, 2, 9, 11, 1, 5, 12, 1, 3, 0, 7, 1, 7, 0, 14, 1, 14, 13, 10, 3, 15, 11],
"ct": [7, 1, 13, 15, 3, 4, 8, 7, 15, 0, 14, 9, 5, 2, 0, 5, 13, 7, 9, 7, 3, 0, 0, 13, 11, 7, 1, 13, 15],
"result": "valid"
},
{
"tcId": 1135,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "98b3b4c8aa28b3",
"msg": [1, 15, 0, 7, 11, 7, 14, 12, 10, 12, 8, 12, 0, 6, 9, 15, 8, 8, 12, 1, 9, 3, 4, 3, 6, 12, 15, 3, 12],
"ct": [9, 7, 3, 0, 15, 8, 3, 8, 0, 8, 15, 7, 15, 5, 0, 13, 2, 6, 13, 10, 14, 12, 8, 4, 2, 14, 6, 14, 1],
"result": "valid"
},
{
"tcId": 1136,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "98b3b4c8aa28b3",
"msg": [12, 8, 6, 1, 15, 10, 8, 9, 8, 13, 11, 12, 0, 11, 7, 13, 11, 4, 0, 11, 8, 2, 2, 9, 2, 1, 6, 8, 15],
"ct": [0, 5, 8, 15, 10, 5, 10, 13, 10, 9, 5, 4, 10, 8, 7, 13, 7, 14, 1, 2, 13, 2, 12, 6, 9, 13, 5, 14, 11],
"result": "valid"
},
{
"tcId": 1137,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "98b3b4c8aa28b3",
"msg": [6, 15, 1, 6, 15, 0, 4, 4, 1, 0, 7, 1, 5, 10, 7, 10, 3, 0, 11, 3, 2, 8, 9, 8, 10, 6, 0, 11, 15],
"ct": [5, 10, 14, 15, 1, 1, 7, 4, 9, 0, 15, 6, 4, 0, 8, 14, 8, 0, 1, 4, 2, 1, 8, 15, 0, 12, 2, 6, 0],
"result": "valid"
},
{
"tcId": 1138,
"comment": "y = 1 and (y + a) % radix**14 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "98b3b4c8aa28b3",
"msg": [14, 8, 3, 4, 7, 13, 3, 5, 13, 8, 8, 12, 1, 8, 9, 11, 3, 1, 0, 1, 6, 12, 6, 12, 2, 7, 10, 8, 6],
"ct": [4, 0, 12, 8, 5, 14, 8, 4, 4, 7, 9, 7, 3, 11, 3, 2, 11, 6, 3, 0, 12, 15, 7, 15, 8, 6, 3, 4, 3],
"result": "valid"
},
{
"tcId": 1139,
"comment": "y = 1 and (y + a) % radix**14 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "98b3b4c8aa28b3",
"msg": [3, 2, 13, 3, 14, 12, 3, 11, 0, 2, 11, 13, 9, 5, 2, 6, 10, 8, 2, 11, 1, 12, 6, 10, 8, 2, 5, 1, 3],
"ct": [6, 15, 5, 1, 9, 9, 5, 3, 7, 1, 7, 14, 10, 0, 0, 5, 15, 14, 2, 3, 5, 2, 3, 1, 9, 14, 15, 10, 10],
"result": "valid"
},
{
"tcId": 1140,
"comment": "y is maximal and (y + a) % radix**14 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "13dbafd30fb9cd",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 12, 9, 4, 5, 5, 7, 5, 4, 1, 13, 4, 13, 10, 10],
"ct": [2, 8, 4, 9, 1, 6, 0, 4, 12, 2, 14, 15, 11, 3, 9, 0, 8, 4, 10, 10, 3, 7, 12, 10, 10, 2, 1, 8, 8],
"result": "valid"
},
{
"tcId": 1141,
"comment": "y is maximal and (y + a) % radix**14 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "13dbafd30fb9cd",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 13, 12, 9, 4, 5, 5, 7, 5, 4, 1, 13, 4, 13, 10, 10],
"ct": [7, 12, 9, 4, 5, 6, 7, 1, 13, 7, 3, 13, 2, 11, 5, 6, 8, 12, 14, 4, 4, 1, 13, 0, 7, 11, 2, 8, 11],
"result": "valid"
},
{
"tcId": 1142,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "13dbafd30fb9cd",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 12, 9, 4, 5, 5, 7, 5, 4, 1, 13, 4, 13, 10, 10],
"ct": [2, 2, 2, 5, 8, 2, 14, 11, 11, 12, 2, 15, 12, 10, 13, 6, 6, 3, 1, 2, 15, 11, 11, 6, 15, 0, 3, 0, 2],
"result": "valid"
},
{
"tcId": 1143,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "13dbafd30fb9cd",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 12, 9, 4, 5, 5, 7, 5, 4, 1, 13, 4, 13, 10, 10],
"ct": [15, 11, 9, 1, 13, 3, 0, 4, 13, 12, 13, 9, 1, 9, 8, 9, 13, 0, 0, 12, 3, 9, 6, 8, 8, 3, 4, 14, 14],
"result": "valid"
},
{
"tcId": 1144,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "9e1496ad6620a7",
"msg": [10, 12, 15, 15, 5, 7, 5, 4, 15, 14, 14, 14, 6, 8, 7, 4, 9, 3, 4, 12, 0, 2, 8, 10, 8, 14, 6, 10, 7],
"ct": [9, 14, 0, 13, 1, 1, 14, 1, 5, 5, 0, 2, 3, 14, 4, 12, 10, 10, 14, 7, 10, 14, 4, 1, 12, 4, 15, 10, 14],
"result": "valid"
},
{
"tcId": 1145,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "9e1496ad6620a7",
"msg": [2, 15, 14, 7, 3, 15, 11, 0, 9, 11, 14, 4, 14, 5, 13, 2, 0, 13, 15, 3, 9, 14, 4, 12, 14, 7, 14, 8, 10],
"ct": [3, 15, 12, 2, 3, 2, 7, 4, 7, 7, 8, 13, 15, 4, 0, 6, 3, 4, 5, 10, 11, 1, 1, 6, 2, 12, 5, 9, 6],
"result": "valid"
},
{
"tcId": 1146,
"comment": "y is edge case for modular reduction and (y + a) % radix**14 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "9e1496ad6620a7",
"msg": [3, 6, 13, 3, 1, 3, 1, 15, 9, 11, 0, 6, 1, 15, 2, 5, 10, 5, 14, 12, 15, 9, 0, 15, 5, 0, 5, 13, 2],
"ct": [12, 7, 5, 5, 15, 6, 12, 3, 15, 9, 3, 5, 2, 9, 8, 2, 11, 6, 3, 14, 13, 2, 14, 15, 3, 5, 11, 6, 10],
"result": "valid"
},
{
"tcId": 1147,
"comment": "y is edge case for modular reduction and (y + a) % radix**14 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "9e1496ad6620a7",
"msg": [0, 10, 0, 9, 4, 6, 14, 11, 3, 14, 4, 13, 15, 13, 6, 10, 0, 15, 4, 10, 12, 2, 11, 1, 8, 8, 11, 1, 1],
"ct": [7, 14, 5, 4, 4, 3, 7, 1, 15, 0, 7, 8, 1, 6, 1, 1, 2, 3, 9, 12, 4, 10, 7, 13, 5, 7, 15, 0, 6],
"result": "valid"
},
{
"tcId": 1148,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "9e1496ad6620a7",
"msg": [5, 9, 15, 12, 5, 13, 10, 4, 5, 3, 8, 4, 7, 7, 12, 11, 13, 4, 0, 0, 5, 5, 10, 10, 15, 15, 1, 8, 15],
"ct": [15, 10, 7, 8, 8, 12, 7, 10, 1, 8, 3, 1, 7, 2, 13, 1, 11, 13, 13, 6, 1, 0, 11, 0, 2, 3, 4, 3, 4],
"result": "valid"
},
{
"tcId": 1149,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "9e1496ad6620a7",
"msg": [5, 8, 8, 7, 2, 9, 0, 7, 4, 0, 7, 2, 4, 9, 0, 14, 0, 9, 14, 6, 7, 7, 10, 5, 4, 11, 3, 15, 13],
"ct": [0, 9, 0, 5, 5, 14, 2, 13, 2, 6, 13, 4, 14, 11, 5, 3, 10, 5, 2, 3, 6, 7, 4, 1, 10, 13, 9, 10, 15],
"result": "valid"
},
{
"tcId": 1150,
"comment": "y is maximal after modular reduction and (y + a) % radix**14 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "0dcc1a9cb935c0",
"msg": [5, 4, 0, 1, 4, 10, 11, 9, 4, 13, 4, 5, 14, 6, 0, 2, 2, 12, 14, 2, 15, 4, 14, 5, 10, 11, 4, 0, 7],
"ct": [11, 0, 1, 6, 2, 0, 7, 11, 9, 5, 4, 8, 2, 4, 12, 15, 4, 14, 0, 7, 2, 4, 12, 1, 8, 0, 11, 11, 4],
"result": "valid"
},
{
"tcId": 1151,
"comment": "y is maximal after modular reduction and (y + a) % radix**14 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "0dcc1a9cb935c0",
"msg": [0, 12, 2, 9, 7, 4, 4, 13, 1, 6, 4, 7, 14, 8, 9, 4, 13, 7, 4, 13, 3, 3, 15, 1, 6, 7, 0, 5, 0],
"ct": [7, 13, 1, 4, 8, 6, 7, 5, 15, 1, 9, 12, 10, 11, 1, 8, 1, 4, 8, 11, 13, 13, 0, 7, 14, 7, 12, 13, 9],
"result": "valid"
},
{
"tcId": 1152,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "0dcc1a9cb935c0",
"msg": [2, 8, 3, 14, 15, 4, 10, 10, 0, 5, 10, 13, 1, 14, 1, 7, 5, 3, 1, 11, 13, 7, 9, 13, 13, 2, 15, 4, 0],
"ct": [15, 13, 11, 9, 11, 1, 12, 8, 14, 5, 7, 5, 8, 3, 11, 10, 12, 15, 8, 5, 13, 6, 3, 12, 7, 13, 0, 2, 10],
"result": "valid"
},
{
"tcId": 1153,
"comment": "y is maximal after modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0f7bd853eeadad4fcb7387d9d5594e14",
"tweak": "0dcc1a9cb935c0",
"msg": [9, 13, 3, 5, 13, 5, 6, 15, 4, 10, 10, 14, 12, 15, 9, 6, 0, 1, 5, 2, 4, 4, 12, 8, 12, 4, 14, 15, 2],
"ct": [0, 10, 1, 10, 14, 1, 6, 4, 3, 0, 1, 9, 2, 13, 13, 3, 6, 10, 10, 4, 15, 9, 12, 9, 6, 11, 10, 6, 8],
"result": "valid"
},
{
"tcId": 1154,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5472c787687908bd9e0d718769db8f17",
"tweak": "e825d40b4753fcee",
"msg": [-1, 5, 11, 9, 0, 5, 7, 14, 10, 11, 10, 2, 1, 15, 3, 4, 1, 3, 1, 4, 6, 10, 14, 7, 2, 15, 9, 14, 8],
"ct": [6, 12, 4, 10, 12, 9, 15, 1, 0, 2, 6, 15, 11, 15, 8, 0, 14, 13, 7, 7, 2, 0, 5, 7, 6, 5, 7, 4, 2],
"result": "invalid"
},
{
"tcId": 1155,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5472c787687908bd9e0d718769db8f17",
"tweak": "e825d40b4753fcee",
"msg": [15, 5, 11, 9, 0, 5, 7, 14, 10, -1, 10, 2, 1, 15, 3, 4, 1, 3, 1, 4, 6, 10, 14, 7, 2, 15, 9, 14, 8],
"ct": [4, 7, 13, 4, 14, 3, 6, 15, 15, 14, 5, 11, 15, 14, 15, 10, 10, 8, 9, 13, 9, 12, 1, 6, 3, 6, 7, 8, 13],
"result": "invalid"
},
{
"tcId": 1156,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5472c787687908bd9e0d718769db8f17",
"tweak": "e825d40b4753fcee",
"msg": [15, 5, 11, 9, 0, 5, 7, 14, 10, 11, 10, 2, 1, 15, 3, 4, 1, 3, 1, 4, 6, 10, 14, 7, 2, 15, 9, 14, -1],
"ct": [10, 15, 5, 5, 12, 8, 1, 7, 4, 10, 11, 15, 6, 3, 6, 11, 8, 5, 11, 8, 6, 9, 10, 2, 0, 5, 2, 2, 6],
"result": "invalid"
},
{
"tcId": 1157,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6298e7d7f64ab9e45dbf2ca708d3c3c2",
"tweak": "002efa528674b461",
"msg": [16, 1, 14, 7, 1, 14, 13, 8, 0, 0, 13, 15, 12, 11, 4, 5, 0, 7, 2, 1, 1, 13, 3, 5, 1, 12, 7, 10, 4],
"ct": [2, 0, 3, 9, 8, 1, 4, 4, 3, 13, 0, 9, 5, 2, 1, 3, 12, 3, 0, 7, 4, 7, 11, 2, 7, 9, 1, 1, 8],
"result": "invalid"
},
{
"tcId": 1158,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6298e7d7f64ab9e45dbf2ca708d3c3c2",
"tweak": "002efa528674b461",
"msg": [15, 1, 14, 7, 1, 14, 13, 8, 0, 16, 13, 15, 12, 11, 4, 5, 0, 7, 2, 1, 1, 13, 3, 5, 1, 12, 7, 10, 4],
"ct": [7, 2, 8, 7, 11, 6, 10, 14, 1, 0, 1, 13, 14, 9, 12, 1, 13, 15, 7, 8, 3, 4, 14, 2, 8, 15, 4, 0, 8],
"result": "invalid"
},
{
"tcId": 1159,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6298e7d7f64ab9e45dbf2ca708d3c3c2",
"tweak": "002efa528674b461",
"msg": [15, 1, 14, 7, 1, 14, 13, 8, 0, 0, 13, 15, 12, 11, 4, 5, 0, 7, 2, 1, 1, 13, 3, 5, 1, 12, 7, 10, 16],
"ct": [10, 5, 10, 9, 11, 1, 1, 10, 13, 3, 4, 1, 1, 12, 6, 3, 2, 13, 7, 4, 10, 7, 11, 3, 12, 11, 7, 11, 14],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 30,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1160,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "abbd25e59680efd575c00d24e9fdcad8",
"tweak": "070cffc4a9b88ee7",
"msg": [1, 5, 0, 14, 8, 9, 6, 4, 0, 4, 13, 13, 3, 2, 12, 2, 6, 2, 12, 12, 11, 9, 1, 7, 0, 13, 12, 2, 1, 12],
"ct": [4, 11, 5, 7, 13, 11, 14, 15, 13, 15, 7, 4, 15, 14, 8, 1, 2, 10, 2, 9, 14, 1, 5, 0, 0, 15, 12, 9, 0, 2],
"result": "valid"
},
{
"tcId": 1161,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 2, 11, 3, 12, 15, 3, 10, 5, 3, 1, 0, 11, 11, 12, 15, 15, 1, 7, 10, 11, 11, 10, 1, 9, 1, 6, 9, 10, 1],
"result": "valid"
},
{
"tcId": 1162,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [5, 3, 13, 7, 8, 15, 10, 5, 0, 1, 4, 0, 1, 3, 10, 13, 0, 12, 11, 14, 13, 3, 5, 9, 12, 7, 4, 11, 11, 13],
"result": "valid"
},
{
"tcId": 1163,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 1, 4, 2, 11, 14, 1, 3, 11, 4, 2, 11, 8, 15, 7, 5, 0, 6, 9, 1, 9, 3, 13, 11, 0, 8, 14, 11, 12, 5],
"result": "valid"
},
{
"tcId": 1164,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [13, 10, 15, 11, 1, 1, 9, 0, 0, 4, 1, 9, 1, 1, 6, 14, 7, 0, 15, 6, 3, 4, 15, 7, 11, 14, 1, 8, 8, 7],
"result": "valid"
},
{
"tcId": 1165,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [2, 12, 9, 12, 11, 6, 10, 14, 11, 11, 6, 14, 10, 4, 5, 6, 3, 1, 9, 12, 0, 8, 9, 11, 14, 2, 7, 13, 12, 1],
"ct": [11, 15, 12, 5, 7, 3, 10, 2, 10, 13, 5, 15, 3, 8, 3, 8, 4, 8, 2, 3, 15, 2, 10, 5, 1, 12, 10, 13, 3, 9],
"result": "valid"
},
{
"tcId": 1166,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [7, 14, 5, 9, 12, 13, 13, 0, 11, 5, 7, 13, 7, 1, 0, 4, 12, 1, 12, 5, 12, 7, 4, 13, 13, 0, 0, 7, 2, 12],
"ct": [2, 14, 10, 9, 1, 1, 10, 9, 1, 8, 6, 12, 8, 15, 12, 0, 8, 7, 11, 12, 4, 0, 6, 13, 3, 13, 8, 2, 13, 9],
"result": "valid"
},
{
"tcId": 1167,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [4, 6, 12, 3, 10, 10, 12, 7, 5, 9, 12, 2, 1, 11, 12, 3, 8, 5, 13, 11, 10, 10, 9, 9, 13, 14, 11, 0, 7, 4],
"ct": [3, 15, 5, 14, 4, 12, 7, 13, 15, 5, 3, 8, 0, 13, 6, 4, 1, 8, 14, 12, 11, 9, 12, 3, 2, 3, 7, 12, 11, 3],
"result": "valid"
},
{
"tcId": 1168,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [3, 13, 0, 7, 4, 13, 7, 4, 5, 14, 3, 8, 2, 1, 10, 6, 12, 7, 5, 10, 12, 12, 1, 11, 4, 4, 9, 11, 12, 6],
"ct": [3, 12, 14, 1, 1, 4, 15, 15, 4, 15, 0, 0, 9, 7, 13, 15, 0, 15, 13, 1, 2, 11, 0, 2, 6, 13, 7, 13, 4, 14],
"result": "valid"
},
{
"tcId": 1169,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [4, 6, 15, 4, 0, 12, 1, 8, 9, 15, 10, 9, 3, 4, 6, 7, 13, 1, 12, 15, 12, 7, 13, 4, 8, 15, 9, 2, 14, 8],
"ct": [9, 14, 5, 4, 1, 1, 14, 11, 6, 12, 4, 5, 12, 6, 4, 4, 5, 4, 10, 7, 3, 10, 1, 6, 15, 2, 8, 8, 14, 13],
"result": "valid"
},
{
"tcId": 1170,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [0, 9, 0, 5, 1, 9, 3, 12, 10, 4, 14, 4, 6, 6, 1, 0, 2, 4, 4, 15, 9, 11, 1, 0, 8, 3, 3, 7, 10, 5],
"ct": [1, 10, 6, 2, 4, 5, 5, 12, 15, 5, 10, 4, 14, 6, 1, 6, 0, 9, 13, 0, 13, 13, 14, 0, 10, 3, 11, 8, 9, 3],
"result": "valid"
},
{
"tcId": 1171,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [9, 2, 9, 1, 12, 7, 7, 11, 4, 0, 7, 6, 9, 15, 3, 3, 2, 3, 4, 0, 3, 2, 11, 14, 13, 3, 4, 1, 3, 0],
"ct": [10, 15, 5, 11, 6, 0, 9, 11, 6, 2, 5, 13, 6, 11, 5, 10, 9, 14, 13, 5, 11, 12, 1, 0, 6, 6, 1, 9, 2, 10],
"result": "valid"
},
{
"tcId": 1172,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [7, 15, 9, 0, 4, 11, 7, 1, 8, 10, 5, 7, 7, 7, 1, 3, 9, 1, 11, 7, 3, 0, 0, 7, 5, 10, 8, 0, 6, 12],
"ct": [1, 0, 9, 4, 5, 7, 10, 11, 6, 9, 13, 9, 5, 11, 3, 7, 9, 0, 14, 6, 10, 14, 0, 7, 5, 1, 3, 13, 12, 11],
"result": "valid"
},
{
"tcId": 1173,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [1, 0, 6, 3, 14, 2, 14, 7, 7, 0, 2, 0, 6, 9, 1, 1, 0, 15, 7, 3, 9, 3, 12, 5, 1, 13, 15, 7, 9, 0],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1174,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [4, 3, 5, 5, 10, 15, 13, 5, 15, 11, 4, 10, 5, 9, 12, 8, 2, 1, 15, 7, 7, 5, 6, 7, 14, 8, 15, 10, 5, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1175,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [9, 3, 5, 7, 6, 7, 5, 6, 10, 12, 6, 2, 1, 11, 3, 6, 10, 8, 11, 10, 6, 1, 10, 15, 6, 12, 2, 5, 4, 10],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1176,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "0388b281cce3ba04467f43d39375bee5",
"tweak": "854745fb6c1b3f88",
"msg": [2, 14, 9, 6, 6, 12, 13, 1, 11, 3, 10, 12, 5, 14, 1, 1, 7, 14, 15, 3, 9, 14, 6, 11, 11, 15, 9, 15, 6, 2],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1177,
"comment": "y = 0 and (y + a) % radix**15 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "181460b84f6139",
"msg": [11, 2, 8, 15, 13, 15, 6, 14, 13, 7, 15, 9, 12, 11, 15, 11, 8, 0, 15, 7, 2, 4, 4, 4, 13, 9, 12, 6, 3, 1],
"ct": [7, 4, 6, 12, 2, 12, 11, 4, 3, 0, 3, 11, 10, 2, 0, 10, 11, 9, 14, 8, 7, 9, 4, 3, 2, 14, 4, 8, 0, 4],
"result": "valid"
},
{
"tcId": 1178,
"comment": "y = 0 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "181460b84f6139",
"msg": [9, 11, 1, 6, 7, 13, 1, 12, 13, 5, 12, 3, 8, 3, 8, 10, 9, 1, 11, 15, 4, 6, 1, 14, 0, 11, 10, 1, 2, 10],
"ct": [6, 12, 2, 9, 7, 14, 4, 6, 0, 10, 4, 1, 10, 9, 8, 15, 1, 10, 1, 14, 0, 5, 8, 5, 2, 6, 7, 15, 0, 12],
"result": "valid"
},
{
"tcId": 1179,
"comment": "y = 0 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "181460b84f6139",
"msg": [0, 1, 9, 9, 9, 13, 10, 10, 13, 6, 10, 3, 0, 13, 6, 4, 0, 1, 7, 15, 1, 11, 5, 10, 5, 3, 11, 6, 3, 15],
"ct": [3, 1, 12, 10, 13, 4, 6, 6, 6, 7, 8, 2, 0, 4, 3, 12, 8, 15, 5, 5, 3, 0, 2, 3, 13, 11, 3, 9, 5, 7],
"result": "valid"
},
{
"tcId": 1180,
"comment": "y = 0 and (y + a) % radix**15 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "181460b84f6139",
"msg": [12, 5, 3, 6, 9, 2, 13, 2, 10, 0, 13, 5, 13, 14, 8, 15, 2, 10, 8, 4, 2, 12, 6, 9, 2, 1, 14, 9, 5, 12],
"ct": [10, 7, 0, 5, 4, 6, 10, 9, 5, 12, 11, 5, 12, 13, 3, 8, 13, 11, 5, 9, 5, 1, 2, 8, 8, 7, 1, 10, 2, 3],
"result": "valid"
},
{
"tcId": 1181,
"comment": "y = 1 and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "445ffa1b9b5513",
"msg": [6, 4, 12, 13, 5, 0, 11, 6, 2, 15, 7, 5, 2, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [9, 11, 14, 7, 8, 0, 3, 3, 3, 12, 3, 13, 13, 11, 3, 8, 8, 4, 15, 11, 13, 2, 0, 0, 14, 8, 6, 12, 3, 10],
"result": "valid"
},
{
"tcId": 1182,
"comment": "y = 1 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "445ffa1b9b5513",
"msg": [7, 4, 15, 11, 1, 4, 14, 6, 6, 14, 0, 14, 4, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [15, 14, 14, 5, 1, 5, 5, 12, 10, 7, 9, 10, 3, 8, 0, 1, 5, 2, 10, 6, 15, 12, 8, 6, 14, 3, 10, 1, 2, 15],
"result": "valid"
},
{
"tcId": 1183,
"comment": "y = 1 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "445ffa1b9b5513",
"msg": [0, 15, 10, 11, 9, 3, 15, 8, 9, 0, 3, 8, 2, 3, 1, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 0, 9, 7, 1, 9, 12, 4, 2, 11, 7, 13, 1, 3, 4, 10, 13, 2, 10, 3, 5, 2, 2, 10, 15, 15, 3, 15, 11, 1],
"result": "valid"
},
{
"tcId": 1184,
"comment": "y = 1 and (y + a) % radix**15 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "445ffa1b9b5513",
"msg": [10, 10, 14, 10, 6, 8, 7, 5, 12, 4, 1, 3, 15, 12, 4, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14],
"ct": [12, 10, 10, 1, 2, 8, 6, 15, 12, 10, 1, 14, 6, 11, 12, 12, 7, 11, 12, 13, 6, 3, 9, 7, 8, 10, 9, 13, 7, 14],
"result": "valid"
},
{
"tcId": 1185,
"comment": "y = 1 and (y + a) % radix**15 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "445ffa1b9b5513",
"msg": [2, 14, 14, 11, 5, 3, 4, 12, 10, 1, 2, 12, 14, 9, 5, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [5, 4, 10, 8, 7, 4, 5, 15, 7, 2, 10, 1, 2, 13, 10, 11, 14, 6, 2, 3, 1, 10, 12, 3, 4, 14, 4, 2, 10, 7],
"result": "valid"
},
{
"tcId": 1186,
"comment": "y is maximal and (y + a) % radix**15 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "b0837a5cd96506",
"msg": [15, 9, 14, 14, 4, 9, 7, 6, 0, 13, 3, 13, 13, 15, 10, 1, 13, 7, 15, 10, 6, 15, 4, 1, 2, 14, 6, 12, 13, 6],
"ct": [6, 0, 8, 8, 4, 13, 3, 9, 12, 13, 15, 11, 8, 13, 1, 5, 6, 12, 9, 14, 7, 10, 13, 15, 15, 2, 9, 12, 3, 6],
"result": "valid"
},
{
"tcId": 1187,
"comment": "y is maximal and (y + a) % radix**15 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "b0837a5cd96506",
"msg": [9, 12, 10, 10, 0, 14, 11, 9, 4, 14, 9, 6, 12, 5, 11, 9, 13, 14, 4, 6, 10, 14, 12, 2, 11, 8, 2, 7, 14, 6],
"ct": [4, 12, 15, 4, 0, 11, 13, 6, 3, 5, 14, 9, 2, 11, 14, 11, 2, 8, 8, 2, 6, 6, 11, 12, 10, 8, 10, 13, 13, 8],
"result": "valid"
},
{
"tcId": 1188,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "b0837a5cd96506",
"msg": [3, 4, 10, 11, 12, 2, 7, 6, 5, 2, 11, 15, 0, 6, 11, 5, 6, 1, 8, 13, 4, 14, 8, 10, 4, 3, 6, 6, 9, 0],
"ct": [6, 0, 6, 13, 3, 11, 6, 3, 2, 13, 8, 10, 10, 3, 13, 11, 7, 8, 11, 3, 12, 5, 1, 2, 2, 10, 6, 10, 11, 5],
"result": "valid"
},
{
"tcId": 1189,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "b0837a5cd96506",
"msg": [5, 13, 2, 2, 0, 12, 4, 5, 10, 1, 6, 4, 9, 5, 9, 4, 14, 11, 15, 0, 4, 10, 14, 8, 12, 1, 5, 8, 9, 3],
"ct": [6, 15, 11, 8, 2, 15, 12, 12, 15, 3, 2, 5, 6, 9, 10, 13, 5, 15, 1, 5, 8, 4, 11, 13, 0, 4, 13, 4, 0, 11],
"result": "valid"
},
{
"tcId": 1190,
"comment": "y is edge case for modular reduction and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "84900d5213e502",
"msg": [5, 0, 5, 4, 1, 7, 5, 3, 12, 7, 2, 11, 8, 1, 0, 11, 11, 0, 12, 9, 4, 15, 8, 14, 5, 5, 14, 7, 2, 9],
"ct": [2, 12, 2, 4, 15, 6, 10, 12, 8, 14, 3, 8, 9, 9, 7, 12, 14, 8, 12, 10, 12, 9, 14, 4, 10, 5, 11, 11, 3, 9],
"result": "valid"
},
{
"tcId": 1191,
"comment": "y is edge case for modular reduction and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "84900d5213e502",
"msg": [14, 11, 12, 6, 5, 6, 14, 3, 9, 2, 15, 9, 4, 8, 7, 9, 5, 6, 14, 11, 11, 6, 9, 8, 11, 0, 11, 2, 2, 7],
"ct": [8, 10, 13, 0, 14, 4, 1, 13, 1, 2, 5, 11, 6, 0, 4, 7, 3, 6, 11, 1, 4, 6, 14, 6, 5, 6, 15, 10, 9, 13],
"result": "valid"
},
{
"tcId": 1192,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "84900d5213e502",
"msg": [13, 12, 2, 2, 0, 2, 14, 11, 5, 0, 9, 12, 3, 4, 1, 2, 1, 4, 2, 8, 15, 12, 9, 8, 14, 2, 8, 2, 2, 0],
"ct": [13, 7, 4, 15, 6, 7, 1, 5, 11, 11, 0, 2, 9, 10, 6, 4, 1, 11, 10, 6, 15, 4, 11, 10, 12, 10, 10, 13, 0, 11],
"result": "valid"
},
{
"tcId": 1193,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "84900d5213e502",
"msg": [3, 6, 9, 1, 0, 0, 9, 12, 5, 0, 5, 5, 12, 13, 4, 13, 15, 8, 9, 15, 8, 0, 13, 1, 6, 0, 9, 5, 5, 4],
"ct": [9, 12, 1, 6, 1, 5, 2, 3, 1, 4, 8, 0, 7, 7, 10, 7, 11, 9, 1, 3, 4, 11, 9, 4, 12, 11, 12, 3, 0, 9],
"result": "valid"
},
{
"tcId": 1194,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "84900d5213e502",
"msg": [15, 6, 6, 11, 7, 15, 9, 9, 8, 3, 2, 10, 3, 6, 6, 7, 1, 11, 6, 2, 2, 4, 9, 13, 11, 5, 4, 12, 1, 1],
"ct": [1, 10, 13, 14, 9, 8, 5, 0, 8, 0, 7, 6, 3, 9, 7, 9, 9, 3, 12, 1, 7, 7, 12, 9, 0, 11, 0, 10, 5, 13],
"result": "valid"
},
{
"tcId": 1195,
"comment": "y is edge case for modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "84900d5213e502",
"msg": [1, 11, 5, 0, 2, 6, 12, 14, 4, 1, 12, 15, 10, 0, 8, 12, 5, 3, 0, 0, 15, 12, 12, 0, 3, 2, 8, 7, 10, 11],
"ct": [5, 6, 1, 0, 15, 9, 11, 11, 15, 8, 11, 15, 7, 14, 2, 14, 3, 14, 12, 15, 14, 4, 13, 1, 2, 9, 8, 11, 12, 4],
"result": "valid"
},
{
"tcId": 1196,
"comment": "y is maximal after modular reduction and (y + a) % radix**15 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "82cd8bad29960d",
"msg": [13, 14, 13, 9, 0, 14, 7, 13, 4, 12, 3, 15, 2, 5, 1, 13, 8, 14, 0, 10, 12, 10, 1, 9, 8, 1, 6, 10, 11, 12],
"ct": [5, 10, 0, 2, 12, 5, 13, 15, 3, 11, 14, 2, 3, 8, 6, 7, 0, 2, 7, 2, 4, 0, 10, 13, 15, 5, 15, 4, 15, 11],
"result": "valid"
},
{
"tcId": 1197,
"comment": "y is maximal after modular reduction and (y + a) % radix**15 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "82cd8bad29960d",
"msg": [4, 15, 7, 5, 10, 5, 13, 5, 11, 2, 0, 1, 4, 0, 8, 0, 3, 5, 3, 13, 4, 5, 9, 13, 12, 8, 9, 4, 11, 14],
"ct": [12, 7, 9, 2, 9, 15, 14, 1, 4, 7, 12, 2, 5, 2, 12, 11, 4, 11, 8, 10, 2, 15, 11, 9, 0, 1, 6, 13, 7, 4],
"result": "valid"
},
{
"tcId": 1198,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "82cd8bad29960d",
"msg": [6, 9, 7, 3, 0, 2, 11, 5, 1, 1, 14, 5, 11, 0, 3, 9, 6, 3, 0, 11, 1, 14, 3, 3, 3, 12, 14, 4, 14, 6],
"ct": [9, 3, 1, 5, 4, 3, 10, 6, 10, 12, 8, 2, 12, 13, 8, 2, 4, 5, 7, 7, 5, 12, 5, 15, 14, 6, 15, 13, 14, 7],
"result": "valid"
},
{
"tcId": 1199,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "eba1688538a029a4e92e9835c772ff22",
"tweak": "82cd8bad29960d",
"msg": [7, 15, 5, 5, 4, 15, 14, 11, 1, 8, 9, 9, 11, 0, 6, 14, 13, 8, 15, 13, 1, 7, 12, 4, 0, 12, 6, 12, 4, 1],
"ct": [15, 3, 9, 8, 4, 8, 10, 4, 10, 13, 4, 15, 12, 3, 10, 14, 0, 0, 6, 6, 2, 4, 8, 14, 6, 10, 0, 10, 12, 15],
"result": "valid"
},
{
"tcId": 1200,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e5c85c2192739691bf29762cc0c04f81",
"tweak": "9558e2ad30702aa4",
"msg": [-1, 15, 10, 0, 12, 6, 6, 0, 7, 11, 11, 12, 3, 11, 11, 15, 4, 5, 15, 7, 9, 8, 6, 5, 11, 10, 1, 6, 0, 3],
"ct": [11, 3, 8, 12, 6, 0, 14, 12, 10, 12, 1, 3, 10, 7, 7, 10, 2, 14, 2, 13, 12, 0, 15, 6, 11, 2, 4, 6, 9, 1],
"result": "invalid"
},
{
"tcId": 1201,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e5c85c2192739691bf29762cc0c04f81",
"tweak": "9558e2ad30702aa4",
"msg": [10, 15, 10, 0, 12, 6, 6, 0, 7, 11, -1, 12, 3, 11, 11, 15, 4, 5, 15, 7, 9, 8, 6, 5, 11, 10, 1, 6, 0, 3],
"ct": [13, 2, 11, 12, 9, 12, 11, 0, 9, 4, 13, 15, 4, 13, 5, 10, 9, 5, 11, 7, 5, 11, 13, 0, 15, 11, 9, 5, 13, 8],
"result": "invalid"
},
{
"tcId": 1202,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e5c85c2192739691bf29762cc0c04f81",
"tweak": "9558e2ad30702aa4",
"msg": [10, 15, 10, 0, 12, 6, 6, 0, 7, 11, 11, 12, 3, 11, 11, 15, 4, 5, 15, 7, 9, 8, 6, 5, 11, 10, 1, 6, 0, -1],
"ct": [7, 14, 9, 14, 1, 14, 14, 5, 6, 11, 11, 4, 11, 4, 15, 14, 2, 9, 11, 7, 13, 1, 6, 12, 5, 13, 15, 6, 15, 3],
"result": "invalid"
},
{
"tcId": 1203,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "59ef007ee2f7ccdeb2fd97758e6a9316",
"tweak": "633523e36f767a42",
"msg": [16, 10, 12, 4, 2, 7, 13, 14, 13, 12, 0, 5, 7, 14, 15, 15, 5, 14, 5, 12, 1, 0, 9, 1, 1, 14, 1, 1, 15, 8],
"ct": [10, 7, 9, 11, 8, 6, 13, 15, 1, 2, 6, 0, 7, 3, 2, 9, 2, 3, 11, 1, 6, 1, 1, 2, 11, 15, 9, 14, 7, 13],
"result": "invalid"
},
{
"tcId": 1204,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "59ef007ee2f7ccdeb2fd97758e6a9316",
"tweak": "633523e36f767a42",
"msg": [9, 10, 12, 4, 2, 7, 13, 14, 13, 12, 16, 5, 7, 14, 15, 15, 5, 14, 5, 12, 1, 0, 9, 1, 1, 14, 1, 1, 15, 8],
"ct": [5, 11, 0, 8, 10, 12, 2, 14, 15, 12, 2, 12, 8, 5, 4, 9, 15, 9, 1, 1, 8, 4, 7, 10, 11, 8, 5, 10, 6, 14],
"result": "invalid"
},
{
"tcId": 1205,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "59ef007ee2f7ccdeb2fd97758e6a9316",
"tweak": "633523e36f767a42",
"msg": [9, 10, 12, 4, 2, 7, 13, 14, 13, 12, 0, 5, 7, 14, 15, 15, 5, 14, 5, 12, 1, 0, 9, 1, 1, 14, 1, 1, 15, 16],
"ct": [13, 4, 7, 3, 5, 0, 6, 13, 1, 5, 5, 6, 10, 8, 10, 2, 8, 6, 6, 1, 13, 9, 6, 3, 0, 10, 1, 12, 11, 15],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 31,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1206,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "cb4b74bac0ecce5c21f47f39c22ae70c",
"tweak": "dd1e66e61ea45250",
"msg": [1, 1, 0, 8, 12, 4, 2, 6, 0, 14, 13, 13, 4, 9, 5, 4, 0, 4, 5, 9, 9, 11, 1, 14, 1, 14, 6, 8, 1, 12, 10],
"ct": [3, 0, 8, 11, 3, 15, 0, 9, 0, 1, 5, 7, 12, 7, 14, 8, 9, 3, 4, 8, 5, 3, 11, 3, 0, 10, 3, 10, 6, 14, 5],
"result": "valid"
},
{
"tcId": 1207,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [12, 3, 2, 14, 3, 4, 8, 5, 4, 6, 2, 4, 4, 9, 8, 10, 10, 7, 12, 11, 7, 14, 7, 7, 9, 8, 3, 9, 1, 3, 0],
"result": "valid"
},
{
"tcId": 1208,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [2, 11, 13, 10, 14, 1, 3, 1, 9, 6, 1, 3, 10, 5, 5, 7, 5, 4, 0, 6, 5, 0, 14, 7, 7, 10, 2, 9, 12, 9, 6],
"result": "valid"
},
{
"tcId": 1209,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [7, 11, 13, 10, 9, 15, 8, 5, 13, 4, 6, 4, 11, 1, 15, 2, 5, 13, 8, 12, 13, 5, 1, 15, 0, 13, 12, 6, 3, 11, 10],
"result": "valid"
},
{
"tcId": 1210,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [10, 5, 12, 12, 0, 11, 3, 8, 3, 11, 0, 9, 0, 15, 9, 13, 10, 1, 4, 3, 1, 8, 6, 1, 7, 4, 2, 12, 0, 12, 1],
"result": "valid"
},
{
"tcId": 1211,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [13, 0, 1, 15, 10, 13, 5, 5, 14, 3, 0, 2, 14, 11, 8, 1, 3, 9, 1, 15, 3, 0, 4, 10, 10, 2, 1, 6, 3, 1, 14],
"ct": [4, 14, 1, 3, 7, 7, 6, 14, 9, 4, 9, 5, 1, 13, 13, 8, 13, 13, 10, 11, 10, 1, 2, 1, 0, 6, 3, 8, 7, 1, 2],
"result": "valid"
},
{
"tcId": 1212,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [2, 11, 13, 6, 9, 14, 13, 3, 15, 3, 12, 4, 1, 8, 3, 11, 5, 10, 12, 15, 3, 7, 13, 12, 13, 10, 10, 7, 14, 15, 5],
"ct": [5, 1, 5, 7, 4, 3, 6, 1, 8, 9, 3, 4, 10, 0, 4, 9, 1, 5, 7, 14, 15, 8, 9, 10, 9, 13, 13, 14, 0, 15, 11],
"result": "valid"
},
{
"tcId": 1213,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [14, 11, 0, 10, 15, 13, 13, 7, 5, 4, 7, 11, 2, 9, 8, 3, 12, 7, 14, 6, 15, 13, 0, 11, 14, 4, 15, 7, 2, 10, 12],
"ct": [13, 5, 15, 7, 8, 5, 9, 10, 2, 1, 15, 11, 11, 10, 9, 5, 2, 0, 5, 14, 2, 10, 1, 10, 3, 4, 1, 11, 0, 5, 9],
"result": "valid"
},
{
"tcId": 1214,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [8, 1, 14, 12, 2, 15, 2, 7, 2, 10, 6, 0, 7, 5, 6, 8, 12, 12, 0, 8, 12, 4, 4, 0, 15, 3, 8, 14, 6, 5, 10],
"ct": [9, 15, 8, 13, 5, 2, 11, 14, 11, 0, 10, 8, 10, 4, 3, 4, 15, 15, 10, 2, 12, 2, 12, 9, 7, 12, 12, 6, 8, 14, 11],
"result": "valid"
},
{
"tcId": 1215,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [13, 11, 1, 7, 12, 0, 7, 15, 13, 1, 2, 7, 9, 15, 13, 6, 3, 2, 4, 3, 14, 5, 2, 5, 10, 0, 11, 3, 6, 15, 10],
"ct": [12, 9, 3, 14, 9, 2, 3, 15, 13, 3, 9, 14, 5, 5, 12, 13, 14, 1, 11, 7, 5, 9, 12, 3, 4, 3, 13, 12, 8, 10, 12],
"result": "valid"
},
{
"tcId": 1216,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [14, 13, 1, 9, 14, 11, 7, 0, 14, 2, 3, 12, 10, 5, 14, 2, 0, 14, 4, 10, 3, 13, 4, 1, 12, 13, 11, 11, 9, 5, 9],
"ct": [6, 0, 6, 1, 3, 0, 14, 1, 4, 14, 15, 2, 1, 3, 15, 5, 8, 12, 5, 0, 6, 6, 14, 11, 1, 7, 12, 10, 5, 3, 3],
"result": "valid"
},
{
"tcId": 1217,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [14, 14, 2, 8, 6, 13, 13, 10, 3, 15, 9, 4, 4, 0, 11, 6, 12, 9, 15, 6, 0, 6, 3, 7, 4, 13, 12, 13, 6, 3, 14],
"ct": [5, 4, 13, 5, 1, 12, 0, 14, 9, 9, 5, 10, 6, 5, 4, 15, 12, 3, 8, 0, 11, 1, 11, 15, 3, 13, 9, 3, 3, 12, 13],
"result": "valid"
},
{
"tcId": 1218,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [5, 1, 10, 14, 14, 5, 4, 7, 2, 10, 0, 12, 9, 4, 6, 11, 4, 8, 13, 11, 11, 15, 1, 12, 5, 9, 11, 13, 9, 6, 4],
"ct": [12, 2, 12, 14, 0, 9, 9, 6, 4, 12, 10, 5, 13, 11, 0, 6, 13, 0, 13, 3, 12, 7, 7, 5, 4, 13, 1, 1, 13, 3, 9],
"result": "valid"
},
{
"tcId": 1219,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [8, 8, 0, 0, 4, 11, 0, 8, 8, 2, 8, 15, 7, 13, 8, 11, 12, 12, 4, 0, 15, 9, 4, 6, 13, 15, 2, 7, 5, 0, 7],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1220,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [0, 2, 12, 9, 13, 8, 9, 4, 9, 13, 1, 0, 5, 0, 0, 5, 11, 10, 0, 13, 8, 8, 6, 0, 15, 1, 13, 3, 11, 1, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1221,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [15, 13, 15, 15, 12, 1, 13, 4, 6, 14, 14, 6, 1, 6, 2, 12, 0, 5, 7, 7, 1, 15, 4, 0, 14, 9, 2, 3, 8, 7, 14],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1222,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "63a73cd9832510ca28e25754aa8c3162",
"tweak": "6aa0f99e8b3887d4",
"msg": [9, 1, 0, 0, 15, 3, 1, 1, 0, 3, 7, 7, 3, 9, 2, 12, 8, 11, 2, 13, 12, 3, 2, 0, 12, 15, 6, 7, 9, 0, 11],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1223,
"comment": "y = 0 and (y + a) % radix**15 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "3e3454ffd360ba",
"msg": [15, 14, 7, 0, 13, 9, 3, 5, 10, 0, 12, 5, 1, 15, 4, 1, 7, 5, 1, 8, 11, 12, 14, 6, 4, 3, 13, 1, 14, 0, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 2, 0, 3, 11, 12, 13, 12, 5, 6, 5, 9, 4, 3, 10, 11],
"result": "valid"
},
{
"tcId": 1224,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "3e3454ffd360ba",
"msg": [11, 9, 11, 14, 5, 2, 11, 7, 0, 4, 2, 9, 7, 10, 5, 7, 14, 3, 1, 7, 15, 4, 7, 11, 15, 9, 11, 15, 9, 0, 8],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 4, 2, 14, 7, 1, 7, 9, 8, 10, 3, 0, 5, 9, 15, 0],
"result": "valid"
},
{
"tcId": 1225,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "3e3454ffd360ba",
"msg": [9, 6, 11, 10, 1, 1, 4, 0, 0, 9, 2, 2, 3, 10, 7, 15, 1, 3, 2, 7, 5, 4, 8, 4, 10, 12, 4, 4, 15, 14, 4],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 13, 13, 12, 9, 5, 0, 10, 5, 5, 10, 5, 0, 4, 7, 8],
"result": "valid"
},
{
"tcId": 1226,
"comment": "y = 0 and (y + a) % radix**15 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "3e3454ffd360ba",
"msg": [3, 1, 15, 15, 4, 13, 5, 5, 7, 11, 9, 2, 3, 5, 5, 13, 10, 12, 15, 9, 4, 9, 6, 6, 13, 5, 15, 9, 15, 10, 1],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 12, 6, 0, 5, 7, 10, 13, 7, 8, 13, 5, 2, 10, 0, 9, 10],
"result": "valid"
},
{
"tcId": 1227,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "56c0080f3b442e",
"msg": [11, 8, 4, 13, 13, 1, 14, 9, 13, 12, 7, 14, 13, 8, 8, 4, 0, 6, 4, 11, 3, 12, 5, 5, 8, 11, 12, 6, 3, 6, 9],
"ct": [8, 5, 11, 8, 0, 9, 12, 14, 1, 2, 6, 3, 7, 4, 8, 0, 1, 4, 11, 13, 8, 2, 1, 4, 14, 13, 12, 15, 1, 8, 12],
"result": "valid"
},
{
"tcId": 1228,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "56c0080f3b442e",
"msg": [1, 2, 12, 1, 11, 7, 2, 11, 6, 10, 4, 1, 12, 0, 8, 8, 15, 0, 1, 5, 4, 1, 12, 4, 14, 8, 0, 7, 13, 3, 5],
"ct": [8, 4, 9, 14, 0, 10, 9, 9, 11, 6, 13, 10, 11, 7, 1, 0, 9, 12, 0, 3, 11, 9, 2, 7, 3, 9, 8, 1, 1, 13, 8],
"result": "valid"
},
{
"tcId": 1229,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "56c0080f3b442e",
"msg": [14, 9, 7, 12, 2, 5, 3, 8, 15, 12, 13, 7, 10, 10, 12, 1, 2, 11, 9, 15, 12, 9, 10, 0, 9, 7, 10, 1, 6, 15, 7],
"ct": [10, 9, 12, 11, 7, 3, 11, 7, 7, 1, 12, 6, 4, 11, 10, 11, 14, 14, 2, 15, 4, 11, 6, 12, 12, 1, 12, 2, 7, 10, 12],
"result": "valid"
},
{
"tcId": 1230,
"comment": "y = 1 and (y + a) % radix**15 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "56c0080f3b442e",
"msg": [1, 11, 12, 10, 12, 0, 5, 12, 3, 13, 11, 6, 6, 4, 12, 1, 10, 13, 9, 1, 13, 9, 9, 3, 0, 15, 3, 11, 3, 15, 4],
"ct": [5, 4, 0, 10, 8, 9, 3, 8, 11, 10, 7, 8, 10, 15, 11, 2, 0, 5, 12, 15, 3, 13, 0, 2, 15, 13, 6, 4, 11, 2, 15],
"result": "valid"
},
{
"tcId": 1231,
"comment": "y = 1 and (y + a) % radix**15 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "56c0080f3b442e",
"msg": [7, 10, 6, 3, 7, 8, 12, 15, 14, 7, 1, 11, 9, 9, 15, 10, 10, 4, 3, 13, 1, 10, 11, 13, 12, 15, 4, 7, 0, 10, 8],
"ct": [2, 9, 8, 7, 12, 7, 8, 14, 2, 8, 0, 5, 14, 4, 3, 2, 3, 0, 13, 1, 3, 9, 11, 7, 2, 4, 5, 10, 6, 0, 5],
"result": "valid"
},
{
"tcId": 1232,
"comment": "y is maximal and (y + a) % radix**15 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "713cb97682117b",
"msg": [1, 12, 3, 9, 2, 4, 13, 12, 1, 12, 8, 0, 13, 15, 2, 0, 10, 7, 9, 12, 2, 8, 4, 0, 0, 7, 6, 12, 3, 6, 6],
"ct": [9, 5, 14, 1, 12, 7, 11, 5, 11, 9, 3, 6, 6, 12, 9, 1, 8, 11, 6, 0, 2, 9, 1, 5, 14, 7, 15, 11, 6, 11, 11],
"result": "valid"
},
{
"tcId": 1233,
"comment": "y is maximal and (y + a) % radix**15 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "713cb97682117b",
"msg": [1, 10, 4, 0, 11, 0, 5, 12, 14, 10, 11, 13, 4, 13, 13, 4, 12, 5, 0, 12, 9, 0, 7, 11, 13, 13, 10, 7, 14, 15, 0],
"ct": [0, 14, 5, 14, 7, 10, 10, 9, 2, 2, 9, 11, 7, 7, 0, 15, 4, 10, 15, 4, 8, 14, 6, 15, 10, 1, 13, 13, 12, 12, 13],
"result": "valid"
},
{
"tcId": 1234,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "713cb97682117b",
"msg": [6, 10, 1, 11, 3, 7, 0, 13, 9, 5, 10, 11, 7, 12, 7, 9, 4, 12, 10, 5, 13, 10, 7, 8, 13, 4, 15, 1, 0, 4, 10],
"ct": [12, 9, 6, 7, 15, 1, 12, 7, 3, 10, 10, 14, 11, 9, 13, 10, 11, 1, 4, 3, 4, 13, 0, 12, 3, 12, 3, 12, 0, 13, 15],
"result": "valid"
},
{
"tcId": 1235,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "713cb97682117b",
"msg": [7, 11, 0, 3, 12, 6, 8, 3, 9, 15, 0, 3, 2, 11, 6, 2, 12, 2, 5, 2, 3, 3, 4, 2, 15, 15, 12, 11, 10, 12, 4],
"ct": [4, 14, 13, 8, 3, 6, 5, 3, 11, 0, 0, 2, 5, 3, 4, 10, 8, 9, 7, 11, 9, 2, 9, 10, 11, 4, 4, 4, 7, 9, 11],
"result": "valid"
},
{
"tcId": 1236,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "bf669589ff1c31",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 6, 7, 13, 2, 4, 0, 8, 7, 11, 14, 1, 15, 15, 8, 12],
"ct": [5, 12, 1, 9, 5, 6, 15, 9, 14, 3, 15, 0, 3, 10, 5, 2, 15, 8, 0, 7, 6, 15, 5, 3, 3, 1, 13, 0, 13, 0, 11],
"result": "valid"
},
{
"tcId": 1237,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "bf669589ff1c31",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 6, 7, 13, 2, 4, 0, 8, 7, 11, 14, 1, 15, 15, 8, 12],
"ct": [2, 9, 11, 13, 14, 4, 11, 0, 8, 10, 15, 13, 10, 13, 10, 11, 9, 14, 7, 10, 7, 10, 10, 5, 15, 0, 4, 11, 15, 3, 3],
"result": "valid"
},
{
"tcId": 1238,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "bf669589ff1c31",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 2, 6, 7, 13, 2, 4, 0, 8, 7, 11, 14, 1, 15, 15, 8, 12],
"ct": [13, 1, 0, 3, 10, 11, 0, 14, 0, 14, 11, 2, 2, 10, 6, 1, 9, 1, 7, 1, 14, 8, 14, 12, 12, 2, 11, 13, 6, 7, 0],
"result": "valid"
},
{
"tcId": 1239,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "bf669589ff1c31",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 6, 7, 13, 2, 4, 0, 8, 7, 11, 14, 1, 15, 15, 8, 12],
"ct": [11, 5, 5, 3, 2, 10, 10, 5, 6, 8, 11, 8, 10, 9, 2, 3, 6, 2, 1, 11, 0, 14, 12, 15, 10, 3, 7, 12, 7, 8, 7],
"result": "valid"
},
{
"tcId": 1240,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "bf669589ff1c31",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 6, 7, 13, 2, 4, 0, 8, 7, 11, 14, 1, 15, 15, 8, 12],
"ct": [14, 12, 6, 10, 9, 3, 1, 0, 7, 7, 3, 10, 10, 6, 14, 1, 15, 4, 2, 4, 15, 9, 11, 2, 12, 9, 10, 7, 11, 3, 11],
"result": "valid"
},
{
"tcId": 1241,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "bf669589ff1c31",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 2, 6, 7, 13, 2, 4, 0, 8, 7, 11, 14, 1, 15, 15, 8, 12],
"ct": [5, 9, 5, 15, 3, 13, 3, 1, 11, 12, 0, 15, 14, 13, 15, 15, 8, 7, 1, 1, 11, 13, 9, 14, 8, 7, 11, 14, 10, 5, 7],
"result": "valid"
},
{
"tcId": 1242,
"comment": "y is maximal after modular reduction and (y + a) % radix**15 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "f45e1121334612",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 6, 13, 2, 6, 3, 14, 11, 3, 15, 6, 7, 2, 9, 8],
"ct": [2, 10, 7, 8, 7, 11, 1, 14, 15, 14, 11, 9, 10, 13, 1, 7, 6, 2, 8, 10, 12, 8, 8, 3, 6, 0, 11, 11, 15, 12, 1],
"result": "valid"
},
{
"tcId": 1243,
"comment": "y is maximal after modular reduction and (y + a) % radix**15 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "f45e1121334612",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 7, 2, 6, 13, 2, 6, 3, 14, 11, 3, 15, 6, 7, 2, 9, 8],
"ct": [15, 12, 7, 14, 13, 11, 8, 11, 14, 14, 11, 10, 13, 6, 3, 2, 0, 4, 6, 2, 11, 3, 8, 13, 8, 12, 6, 8, 6, 3, 2],
"result": "valid"
},
{
"tcId": 1244,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "f45e1121334612",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 6, 13, 2, 6, 3, 14, 11, 3, 15, 6, 7, 2, 9, 8],
"ct": [0, 11, 13, 1, 10, 3, 7, 8, 13, 3, 11, 14, 14, 9, 5, 14, 15, 14, 13, 15, 8, 13, 7, 8, 8, 11, 14, 13, 0, 0, 3],
"result": "valid"
},
{
"tcId": 1245,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d2542f2168de7e004273c9caa8353b25",
"tweak": "f45e1121334612",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 2, 6, 13, 2, 6, 3, 14, 11, 3, 15, 6, 7, 2, 9, 8],
"ct": [4, 0, 15, 12, 0, 7, 6, 15, 3, 7, 0, 12, 12, 6, 15, 8, 13, 7, 3, 6, 15, 8, 11, 9, 5, 10, 1, 15, 11, 7, 8],
"result": "valid"
},
{
"tcId": 1246,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "888d36fd30853a1b8971410a56f939f0",
"tweak": "70ffa82483c6a136",
"msg": [-1, 8, 5, 2, 2, 9, 0, 13, 1, 13, 12, 12, 12, 4, 15, 7, 7, 0, 4, 4, 12, 14, 5, 14, 8, 8, 2, 8, 11, 1, 4],
"ct": [8, 11, 15, 3, 13, 6, 8, 3, 6, 4, 12, 11, 8, 10, 11, 15, 1, 3, 5, 5, 11, 6, 4, 11, 11, 3, 5, 3, 5, 5, 14],
"result": "invalid"
},
{
"tcId": 1247,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "888d36fd30853a1b8971410a56f939f0",
"tweak": "70ffa82483c6a136",
"msg": [6, 8, 5, 2, 2, 9, 0, 13, 1, 13, -1, 12, 12, 4, 15, 7, 7, 0, 4, 4, 12, 14, 5, 14, 8, 8, 2, 8, 11, 1, 4],
"ct": [11, 15, 0, 15, 11, 8, 0, 2, 11, 2, 6, 2, 7, 9, 7, 14, 13, 3, 6, 9, 6, 6, 6, 13, 7, 12, 13, 12, 13, 12, 0],
"result": "invalid"
},
{
"tcId": 1248,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "888d36fd30853a1b8971410a56f939f0",
"tweak": "70ffa82483c6a136",
"msg": [6, 8, 5, 2, 2, 9, 0, 13, 1, 13, 12, 12, 12, 4, 15, 7, 7, 0, 4, 4, 12, 14, 5, 14, 8, 8, 2, 8, 11, 1, -1],
"ct": [13, 10, 7, 6, 12, 6, 0, 3, 11, 14, 13, 9, 3, 10, 15, 0, 8, 9, 0, 11, 8, 14, 0, 4, 11, 14, 9, 12, 4, 8, 15],
"result": "invalid"
},
{
"tcId": 1249,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ea3c8760c0356585581dac99974f751a",
"tweak": "0d87e319e24b46dc",
"msg": [16, 2, 13, 0, 8, 3, 3, 10, 1, 1, 13, 0, 1, 13, 1, 10, 5, 6, 6, 0, 11, 2, 15, 15, 1, 14, 14, 3, 13, 2, 3],
"ct": [0, 10, 15, 4, 8, 7, 3, 13, 0, 6, 0, 0, 12, 11, 12, 13, 15, 2, 5, 14, 5, 10, 8, 9, 6, 1, 1, 11, 0, 9, 13],
"result": "invalid"
},
{
"tcId": 1250,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ea3c8760c0356585581dac99974f751a",
"tweak": "0d87e319e24b46dc",
"msg": [9, 2, 13, 0, 8, 3, 3, 10, 1, 1, 16, 0, 1, 13, 1, 10, 5, 6, 6, 0, 11, 2, 15, 15, 1, 14, 14, 3, 13, 2, 3],
"ct": [0, 10, 11, 15, 13, 0, 10, 1, 15, 11, 2, 10, 1, 1, 10, 2, 15, 7, 5, 0, 5, 2, 12, 11, 11, 3, 11, 4, 0, 0, 0],
"result": "invalid"
},
{
"tcId": 1251,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ea3c8760c0356585581dac99974f751a",
"tweak": "0d87e319e24b46dc",
"msg": [9, 2, 13, 0, 8, 3, 3, 10, 1, 1, 13, 0, 1, 13, 1, 10, 5, 6, 6, 0, 11, 2, 15, 15, 1, 14, 14, 3, 13, 2, 16],
"ct": [2, 9, 7, 9, 8, 3, 3, 14, 11, 9, 11, 2, 0, 0, 3, 14, 3, 9, 2, 11, 5, 15, 8, 6, 3, 12, 3, 14, 15, 0, 13],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 32,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1252,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "1ee98a204d8de6bc2fb2416fa2efe03f",
"tweak": "302f76d9825d6eb5",
"msg": [2, 7, 1, 15, 15, 1, 14, 1, 9, 3, 13, 6, 1, 13, 8, 4, 10, 1, 0, 12, 14, 11, 4, 0, 1, 2, 2, 8, 14, 1, 0, 8],
"ct": [3, 11, 8, 5, 10, 5, 10, 13, 15, 12, 1, 4, 12, 0, 3, 3, 10, 13, 11, 0, 6, 7, 5, 13, 1, 4, 12, 11, 9, 9, 7, 6],
"result": "valid"
},
{
"tcId": 1253,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 6, 5, 8, 7, 7, 7, 2, 1, 12, 11, 1, 10, 11, 0, 7, 4, 14, 9, 8, 13, 0, 8, 12, 1, 10, 3, 10, 7, 2, 7, 7],
"result": "valid"
},
{
"tcId": 1254,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [13, 12, 9, 9, 6, 2, 4, 11, 12, 10, 5, 8, 0, 11, 3, 10, 9, 12, 9, 8, 8, 1, 7, 6, 10, 9, 11, 0, 0, 4, 6, 11],
"result": "valid"
},
{
"tcId": 1255,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [11, 14, 5, 3, 10, 8, 0, 9, 12, 2, 11, 11, 11, 12, 1, 14, 7, 13, 0, 0, 3, 7, 10, 4, 8, 13, 7, 11, 14, 15, 4, 15],
"result": "valid"
},
{
"tcId": 1256,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [10, 4, 7, 10, 2, 9, 15, 0, 6, 0, 0, 9, 14, 12, 12, 7, 15, 0, 8, 4, 14, 7, 14, 4, 11, 8, 4, 12, 10, 9, 5, 7],
"result": "valid"
},
{
"tcId": 1257,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [4, 14, 5, 12, 13, 5, 9, 9, 3, 10, 14, 10, 2, 6, 8, 5, 14, 7, 14, 8, 1, 14, 3, 2, 12, 14, 13, 4, 11, 15, 6, 1],
"ct": [2, 8, 13, 10, 5, 3, 15, 1, 11, 7, 9, 7, 12, 5, 13, 1, 14, 10, 4, 13, 5, 10, 13, 1, 8, 11, 10, 8, 1, 8, 15, 1],
"result": "valid"
},
{
"tcId": 1258,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [0, 11, 11, 8, 14, 13, 4, 10, 1, 4, 5, 4, 14, 3, 14, 5, 11, 3, 0, 5, 4, 2, 3, 6, 9, 9, 0, 8, 4, 9, 10, 5],
"ct": [9, 7, 0, 0, 3, 15, 11, 6, 0, 2, 1, 2, 6, 0, 9, 7, 3, 7, 14, 8, 14, 0, 5, 6, 10, 8, 12, 7, 12, 10, 5, 13],
"result": "valid"
},
{
"tcId": 1259,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [1, 13, 0, 5, 1, 7, 14, 9, 3, 14, 4, 7, 13, 8, 10, 13, 12, 5, 2, 3, 10, 0, 14, 3, 13, 0, 8, 1, 10, 3, 9, 15],
"ct": [1, 1, 9, 11, 0, 6, 0, 6, 13, 2, 0, 0, 12, 3, 0, 15, 12, 3, 0, 6, 8, 15, 9, 5, 6, 1, 13, 1, 14, 10, 11, 15],
"result": "valid"
},
{
"tcId": 1260,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [9, 13, 7, 0, 4, 3, 13, 7, 5, 13, 4, 6, 9, 15, 4, 9, 15, 7, 12, 4, 0, 1, 0, 12, 8, 6, 4, 14, 13, 12, 2, 7],
"ct": [3, 4, 8, 1, 6, 14, 15, 9, 12, 0, 15, 11, 7, 14, 8, 6, 15, 10, 2, 2, 10, 8, 10, 15, 5, 9, 9, 12, 10, 4, 5, 2],
"result": "valid"
},
{
"tcId": 1261,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [7, 5, 15, 5, 9, 6, 4, 4, 2, 9, 2, 8, 8, 7, 9, 10, 6, 0, 8, 13, 6, 6, 3, 1, 5, 7, 11, 4, 12, 5, 2, 6],
"ct": [11, 7, 1, 0, 0, 10, 8, 13, 3, 8, 4, 8, 9, 6, 10, 11, 13, 12, 14, 0, 0, 4, 14, 0, 1, 2, 11, 9, 11, 7, 7, 1],
"result": "valid"
},
{
"tcId": 1262,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [0, 5, 8, 3, 11, 15, 9, 6, 15, 3, 14, 2, 9, 0, 1, 6, 7, 2, 11, 5, 14, 13, 13, 3, 15, 14, 5, 6, 14, 5, 4, 4],
"ct": [1, 2, 11, 15, 8, 8, 4, 0, 0, 15, 13, 14, 4, 10, 13, 12, 12, 9, 4, 13, 8, 8, 15, 5, 11, 3, 2, 11, 9, 0, 8, 10],
"result": "valid"
},
{
"tcId": 1263,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [9, 12, 6, 3, 9, 3, 3, 5, 5, 3, 15, 0, 5, 7, 6, 11, 6, 5, 9, 2, 3, 1, 6, 9, 15, 0, 15, 2, 5, 14, 2, 12],
"ct": [9, 8, 9, 15, 9, 14, 1, 0, 6, 9, 3, 10, 9, 9, 2, 10, 9, 10, 12, 12, 12, 12, 8, 10, 6, 8, 5, 12, 11, 3, 2, 13],
"result": "valid"
},
{
"tcId": 1264,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [15, 14, 1, 4, 8, 2, 8, 3, 2, 14, 11, 7, 7, 4, 13, 1, 11, 9, 11, 3, 1, 8, 2, 15, 11, 4, 11, 1, 4, 2, 2, 5],
"ct": [14, 9, 7, 2, 9, 14, 15, 1, 5, 6, 5, 5, 3, 4, 1, 15, 12, 9, 1, 11, 7, 10, 9, 10, 5, 2, 5, 6, 8, 11, 11, 13],
"result": "valid"
},
{
"tcId": 1265,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [3, 15, 4, 15, 1, 13, 4, 14, 9, 15, 12, 14, 13, 7, 14, 9, 7, 6, 3, 8, 2, 9, 9, 9, 12, 13, 5, 8, 4, 11, 10, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1266,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [3, 2, 13, 3, 3, 8, 2, 14, 6, 14, 2, 7, 1, 7, 9, 12, 4, 4, 13, 13, 14, 7, 5, 2, 12, 4, 7, 5, 2, 4, 11, 0],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1267,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [4, 0, 13, 12, 6, 11, 7, 8, 12, 15, 2, 4, 5, 9, 11, 15, 5, 5, 11, 14, 8, 11, 9, 10, 3, 9, 5, 0, 15, 0, 10, 0],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1268,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "32a208856ebf6021133b9b7dcf14c862",
"tweak": "a32edf79e6d54898",
"msg": [8, 14, 5, 11, 10, 1, 15, 12, 5, 14, 14, 0, 14, 7, 14, 12, 12, 13, 9, 3, 8, 4, 12, 7, 9, 9, 2, 3, 3, 12, 5, 10],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1269,
"comment": "y = 0 and (y + a) % radix**16 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "2f6496f4f6b5b9",
"msg": [9, 0, 14, 7, 15, 14, 13, 4, 11, 15, 7, 13, 12, 0, 8, 3, 9, 1, 12, 7, 11, 5, 12, 14, 3, 10, 1, 4, 3, 3, 15, 4],
"ct": [0, 6, 3, 6, 0, 11, 5, 8, 9, 12, 2, 4, 12, 5, 6, 13, 7, 3, 7, 2, 0, 3, 11, 13, 12, 2, 7, 2, 10, 0, 12, 1],
"result": "valid"
},
{
"tcId": 1270,
"comment": "y = 0 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "2f6496f4f6b5b9",
"msg": [3, 0, 4, 5, 1, 15, 3, 8, 5, 4, 13, 15, 9, 6, 7, 5, 7, 10, 3, 9, 9, 7, 14, 15, 1, 5, 7, 14, 0, 15, 1, 7],
"ct": [12, 8, 4, 0, 5, 1, 4, 15, 12, 7, 2, 7, 9, 9, 3, 15, 7, 6, 12, 4, 6, 0, 9, 6, 10, 9, 15, 1, 13, 7, 2, 13],
"result": "valid"
},
{
"tcId": 1271,
"comment": "y = 0 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "2f6496f4f6b5b9",
"msg": [10, 13, 8, 10, 9, 6, 6, 11, 3, 12, 5, 10, 2, 9, 10, 10, 1, 7, 9, 15, 13, 0, 6, 2, 7, 11, 3, 5, 6, 9, 11, 11],
"ct": [11, 2, 9, 6, 8, 8, 6, 8, 8, 14, 5, 3, 15, 13, 13, 5, 4, 12, 8, 11, 2, 13, 0, 1, 3, 5, 13, 12, 1, 11, 11, 15],
"result": "valid"
},
{
"tcId": 1272,
"comment": "y = 0 and (y + a) % radix**16 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "2f6496f4f6b5b9",
"msg": [13, 6, 14, 11, 4, 4, 14, 15, 9, 6, 5, 15, 10, 4, 15, 1, 12, 7, 14, 10, 15, 8, 5, 4, 6, 13, 8, 15, 0, 10, 11, 10],
"ct": [1, 0, 14, 15, 8, 11, 4, 9, 6, 0, 12, 0, 13, 14, 1, 12, 9, 10, 12, 10, 10, 8, 1, 12, 13, 6, 7, 8, 3, 14, 15, 11],
"result": "valid"
},
{
"tcId": 1273,
"comment": "y = 1 and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "4073b5fb41d541",
"msg": [5, 1, 12, 10, 5, 11, 5, 14, 6, 9, 10, 2, 10, 8, 7, 11, 10, 4, 0, 5, 10, 4, 11, 13, 1, 7, 5, 11, 5, 0, 8, 10],
"ct": [2, 15, 8, 11, 5, 6, 11, 0, 7, 11, 3, 15, 11, 9, 14, 6, 15, 15, 2, 4, 14, 3, 15, 15, 7, 7, 1, 5, 6, 14, 2, 4],
"result": "valid"
},
{
"tcId": 1274,
"comment": "y = 1 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "4073b5fb41d541",
"msg": [3, 8, 13, 7, 10, 12, 9, 5, 3, 14, 11, 10, 9, 15, 4, 4, 6, 8, 1, 4, 6, 11, 8, 4, 13, 7, 5, 3, 5, 0, 0, 2],
"ct": [0, 4, 15, 15, 14, 11, 9, 14, 9, 0, 12, 8, 9, 12, 7, 8, 9, 13, 11, 13, 2, 3, 14, 4, 9, 11, 13, 13, 4, 14, 14, 11],
"result": "valid"
},
{
"tcId": 1275,
"comment": "y = 1 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "4073b5fb41d541",
"msg": [2, 10, 10, 10, 5, 15, 11, 0, 0, 9, 8, 3, 15, 0, 4, 1, 15, 11, 11, 9, 0, 13, 9, 12, 15, 7, 1, 11, 6, 3, 1, 11],
"ct": [12, 10, 4, 14, 11, 11, 0, 0, 7, 8, 14, 2, 5, 14, 3, 10, 11, 0, 14, 6, 1, 8, 8, 3, 6, 9, 8, 1, 12, 5, 10, 3],
"result": "valid"
},
{
"tcId": 1276,
"comment": "y = 1 and (y + a) % radix**16 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "4073b5fb41d541",
"msg": [10, 12, 0, 6, 6, 5, 9, 3, 1, 9, 11, 7, 1, 13, 12, 14, 2, 9, 14, 11, 9, 5, 13, 5, 1, 11, 11, 10, 1, 1, 14, 7],
"ct": [9, 3, 3, 12, 9, 11, 9, 5, 12, 1, 3, 7, 12, 6, 11, 12, 2, 6, 10, 13, 11, 0, 8, 2, 15, 8, 12, 13, 6, 0, 14, 5],
"result": "valid"
},
{
"tcId": 1277,
"comment": "y = 1 and (y + a) % radix**16 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "4073b5fb41d541",
"msg": [9, 7, 3, 10, 1, 5, 7, 4, 13, 3, 10, 11, 3, 8, 4, 4, 2, 8, 5, 6, 12, 6, 0, 0, 13, 12, 4, 9, 5, 9, 4, 3],
"ct": [0, 13, 9, 1, 13, 10, 14, 3, 1, 3, 6, 5, 15, 15, 10, 5, 6, 7, 5, 9, 5, 5, 5, 13, 6, 14, 10, 1, 14, 14, 1, 11],
"result": "valid"
},
{
"tcId": 1278,
"comment": "y is maximal and (y + a) % radix**16 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "e4e2be75bfac87",
"msg": [2, 9, 15, 1, 9, 8, 4, 8, 6, 7, 9, 8, 7, 11, 0, 14, 11, 10, 6, 15, 8, 8, 6, 13, 3, 10, 4, 14, 12, 4, 4, 1],
"ct": [13, 14, 3, 6, 1, 5, 14, 0, 8, 5, 12, 5, 12, 13, 9, 3, 15, 14, 14, 0, 11, 13, 3, 8, 12, 14, 13, 14, 14, 11, 1, 9],
"result": "valid"
},
{
"tcId": 1279,
"comment": "y is maximal and (y + a) % radix**16 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "e4e2be75bfac87",
"msg": [12, 11, 0, 8, 15, 10, 1, 11, 2, 2, 3, 13, 12, 2, 15, 4, 0, 12, 6, 14, 8, 7, 6, 9, 8, 13, 8, 1, 12, 5, 1, 0],
"ct": [13, 7, 15, 5, 1, 4, 6, 6, 12, 11, 15, 13, 11, 14, 14, 2, 13, 11, 6, 7, 2, 15, 6, 11, 3, 5, 11, 2, 4, 8, 4, 15],
"result": "valid"
},
{
"tcId": 1280,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "e4e2be75bfac87",
"msg": [2, 5, 1, 5, 11, 12, 12, 5, 10, 1, 5, 8, 8, 12, 2, 0, 14, 1, 9, 9, 1, 4, 4, 3, 0, 8, 5, 12, 2, 4, 10, 11],
"ct": [15, 6, 9, 6, 0, 13, 5, 12, 12, 3, 3, 0, 9, 9, 14, 14, 8, 9, 8, 12, 12, 7, 6, 4, 5, 10, 12, 2, 13, 1, 11, 11],
"result": "valid"
},
{
"tcId": 1281,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "e4e2be75bfac87",
"msg": [15, 11, 3, 0, 14, 11, 3, 8, 14, 11, 10, 10, 11, 7, 12, 5, 3, 3, 14, 15, 1, 11, 10, 2, 9, 10, 3, 13, 4, 2, 4, 15],
"ct": [6, 1, 3, 4, 6, 7, 1, 6, 0, 10, 0, 0, 13, 5, 0, 9, 4, 1, 7, 11, 15, 12, 5, 14, 2, 2, 15, 3, 0, 11, 15, 9],
"result": "valid"
},
{
"tcId": 1282,
"comment": "y is edge case for modular reduction and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "8a362428abecaa",
"msg": [11, 8, 5, 8, 14, 6, 15, 9, 15, 7, 9, 13, 13, 0, 10, 5, 8, 7, 3, 1, 0, 6, 9, 9, 6, 0, 11, 5, 2, 4, 9, 0],
"ct": [5, 4, 11, 2, 4, 15, 5, 6, 3, 4, 15, 11, 6, 9, 10, 12, 5, 8, 7, 13, 4, 2, 5, 5, 5, 8, 0, 10, 3, 11, 14, 8],
"result": "valid"
},
{
"tcId": 1283,
"comment": "y is edge case for modular reduction and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "8a362428abecaa",
"msg": [11, 11, 9, 12, 9, 15, 1, 15, 4, 8, 6, 15, 0, 5, 6, 10, 9, 7, 1, 8, 2, 14, 14, 14, 13, 9, 5, 14, 2, 1, 4, 5],
"ct": [9, 10, 9, 0, 1, 14, 5, 6, 15, 13, 14, 8, 9, 12, 9, 7, 12, 6, 14, 11, 14, 14, 9, 11, 10, 14, 3, 3, 14, 5, 12, 12],
"result": "valid"
},
{
"tcId": 1284,
"comment": "y is edge case for modular reduction and (y + a) % radix**16 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "8a362428abecaa",
"msg": [4, 9, 2, 12, 13, 5, 4, 3, 5, 1, 5, 7, 12, 2, 8, 13, 15, 8, 3, 6, 3, 14, 13, 15, 4, 2, 14, 12, 1, 8, 12, 4],
"ct": [2, 9, 9, 8, 0, 3, 5, 5, 14, 14, 7, 3, 13, 5, 5, 3, 12, 2, 4, 5, 4, 14, 15, 11, 3, 14, 12, 8, 14, 15, 4, 11],
"result": "valid"
},
{
"tcId": 1285,
"comment": "y is edge case for modular reduction and (y + a) % radix**16 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "8a362428abecaa",
"msg": [5, 3, 10, 3, 1, 1, 6, 3, 2, 8, 13, 1, 5, 10, 9, 0, 6, 15, 13, 0, 0, 9, 6, 8, 3, 4, 8, 1, 8, 11, 9, 9],
"ct": [14, 9, 6, 5, 3, 4, 2, 0, 7, 4, 6, 15, 11, 2, 14, 1, 15, 8, 0, 12, 0, 7, 13, 1, 14, 13, 2, 12, 8, 2, 3, 13],
"result": "valid"
},
{
"tcId": 1286,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "8a362428abecaa",
"msg": [1, 6, 7, 8, 8, 2, 5, 15, 15, 14, 14, 1, 3, 14, 12, 4, 11, 5, 10, 9, 15, 4, 15, 2, 10, 9, 15, 14, 13, 5, 15, 4],
"ct": [1, 14, 5, 3, 1, 10, 11, 0, 4, 5, 1, 10, 14, 11, 10, 0, 15, 6, 15, 12, 1, 2, 13, 3, 4, 8, 10, 5, 15, 0, 14, 13],
"result": "valid"
},
{
"tcId": 1287,
"comment": "y is edge case for modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "8a362428abecaa",
"msg": [4, 8, 6, 11, 3, 3, 10, 4, 14, 9, 5, 13, 14, 0, 2, 5, 3, 10, 2, 13, 5, 12, 4, 2, 13, 7, 5, 11, 5, 14, 1, 12],
"ct": [13, 12, 5, 13, 8, 12, 2, 15, 10, 9, 8, 7, 15, 11, 4, 4, 1, 5, 6, 2, 10, 2, 2, 0, 0, 7, 10, 8, 13, 11, 8, 6],
"result": "valid"
},
{
"tcId": 1288,
"comment": "y is maximal after modular reduction and (y + a) % radix**16 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "1fe9699158b63e",
"msg": [0, 12, 1, 9, 13, 11, 6, 9, 7, 0, 10, 14, 14, 4, 1, 4, 11, 6, 11, 2, 13, 8, 1, 0, 4, 4, 3, 12, 0, 8, 3, 5],
"ct": [15, 9, 2, 12, 1, 5, 7, 4, 6, 9, 14, 4, 0, 14, 8, 9, 7, 15, 9, 9, 3, 14, 9, 0, 3, 5, 3, 6, 4, 14, 13, 10],
"result": "valid"
},
{
"tcId": 1289,
"comment": "y is maximal after modular reduction and (y + a) % radix**16 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "1fe9699158b63e",
"msg": [8, 0, 15, 1, 10, 1, 11, 2, 2, 5, 11, 3, 15, 10, 13, 15, 6, 9, 7, 8, 11, 11, 12, 5, 3, 7, 5, 12, 12, 12, 6, 3],
"ct": [14, 11, 8, 8, 5, 1, 13, 0, 3, 6, 8, 9, 2, 5, 11, 5, 2, 13, 11, 1, 5, 6, 5, 9, 10, 8, 5, 9, 11, 2, 0, 2],
"result": "valid"
},
{
"tcId": 1290,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "1fe9699158b63e",
"msg": [7, 11, 3, 7, 11, 11, 10, 10, 6, 11, 12, 2, 5, 3, 1, 0, 5, 9, 9, 9, 10, 1, 10, 11, 2, 15, 8, 15, 5, 15, 8, 9],
"ct": [7, 15, 9, 0, 0, 1, 4, 4, 2, 3, 6, 12, 13, 13, 10, 5, 8, 1, 11, 4, 3, 4, 3, 13, 1, 0, 10, 8, 1, 14, 1, 15],
"result": "valid"
},
{
"tcId": 1291,
"comment": "y is maximal after modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "f0a4f0f7c55b4f9763e6f071bcca5930",
"tweak": "1fe9699158b63e",
"msg": [11, 14, 10, 12, 11, 1, 1, 4, 6, 0, 1, 12, 13, 8, 10, 15, 7, 11, 8, 8, 0, 13, 1, 15, 9, 8, 6, 4, 13, 1, 9, 2],
"ct": [3, 7, 9, 5, 13, 10, 13, 0, 9, 3, 6, 2, 12, 14, 4, 14, 15, 8, 3, 11, 2, 7, 11, 2, 13, 6, 2, 5, 0, 7, 9, 6],
"result": "valid"
},
{
"tcId": 1292,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ad37094b233a3db9d271247e8555bef3",
"tweak": "2ed6d72d98ac2efd",
"msg": [-1, 5, 8, 7, 1, 15, 9, 15, 8, 3, 0, 12, 3, 1, 12, 4, 3, 4, 1, 9, 2, 6, 2, 11, 8, 10, 3, 8, 9, 9, 12, 12],
"ct": [9, 6, 14, 12, 5, 15, 1, 9, 0, 5, 8, 14, 11, 13, 1, 14, 13, 0, 3, 1, 9, 2, 2, 15, 15, 0, 14, 2, 15, 7, 2, 13],
"result": "invalid"
},
{
"tcId": 1293,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ad37094b233a3db9d271247e8555bef3",
"tweak": "2ed6d72d98ac2efd",
"msg": [12, 5, 8, 7, 1, 15, 9, 15, 8, 3, -1, 12, 3, 1, 12, 4, 3, 4, 1, 9, 2, 6, 2, 11, 8, 10, 3, 8, 9, 9, 12, 12],
"ct": [13, 2, 2, 7, 0, 3, 7, 10, 7, 9, 14, 15, 3, 5, 0, 5, 12, 8, 3, 5, 0, 5, 7, 2, 13, 13, 11, 7, 6, 5, 11, 11],
"result": "invalid"
},
{
"tcId": 1294,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ad37094b233a3db9d271247e8555bef3",
"tweak": "2ed6d72d98ac2efd",
"msg": [12, 5, 8, 7, 1, 15, 9, 15, 8, 3, 0, 12, 3, 1, 12, 4, 3, 4, 1, 9, 2, 6, 2, 11, 8, 10, 3, 8, 9, 9, 12, -1],
"ct": [8, 15, 10, 0, 7, 14, 8, 6, 9, 12, 9, 11, 4, 15, 2, 14, 13, 1, 5, 10, 11, 12, 7, 7, 14, 8, 4, 9, 14, 14, 14, 1],
"result": "invalid"
},
{
"tcId": 1295,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "81cf2d5c7bc9e8517ca0a89f225243da",
"tweak": "b9f13c0762bcd690",
"msg": [16, 6, 7, 8, 6, 3, 5, 15, 10, 13, 12, 9, 6, 9, 14, 13, 15, 9, 0, 7, 8, 4, 11, 15, 5, 7, 4, 12, 11, 6, 6, 10],
"ct": [13, 2, 5, 5, 12, 13, 8, 14, 10, 2, 12, 8, 8, 1, 4, 12, 3, 14, 7, 1, 14, 15, 12, 13, 0, 12, 2, 3, 6, 2, 13, 1],
"result": "invalid"
},
{
"tcId": 1296,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "81cf2d5c7bc9e8517ca0a89f225243da",
"tweak": "b9f13c0762bcd690",
"msg": [6, 6, 7, 8, 6, 3, 5, 15, 10, 13, 16, 9, 6, 9, 14, 13, 15, 9, 0, 7, 8, 4, 11, 15, 5, 7, 4, 12, 11, 6, 6, 10],
"ct": [1, 13, 1, 1, 11, 8, 9, 1, 3, 14, 3, 4, 13, 7, 3, 1, 12, 2, 3, 12, 13, 3, 0, 10, 7, 4, 15, 9, 4, 4, 13, 9],
"result": "invalid"
},
{
"tcId": 1297,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "81cf2d5c7bc9e8517ca0a89f225243da",
"tweak": "b9f13c0762bcd690",
"msg": [6, 6, 7, 8, 6, 3, 5, 15, 10, 13, 12, 9, 6, 9, 14, 13, 15, 9, 0, 7, 8, 4, 11, 15, 5, 7, 4, 12, 11, 6, 6, 16],
"ct": [11, 5, 13, 15, 11, 10, 0, 2, 3, 1, 4, 12, 13, 0, 14, 15, 12, 9, 8, 7, 8, 15, 4, 2, 5, 15, 5, 4, 4, 9, 3, 6],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 5,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1298,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "a6c055a8cba4718f411d1a3d9c9e2051261ce3e369b2fa13",
"tweak": "c5d9512a52de22b7",
"msg": [7, 6, 2, 11, 4],
"ct": [9, 2, 8, 9, 7],
"result": "valid"
},
{
"tcId": 1299,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [0, 0, 0, 0, 0],
"ct": [9, 7, 1, 9, 11],
"result": "valid"
},
{
"tcId": 1300,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [15, 15, 15, 15, 15],
"ct": [9, 1, 14, 4, 2],
"result": "valid"
},
{
"tcId": 1301,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [8, 0, 8, 0, 0],
"ct": [9, 9, 12, 1, 15],
"result": "valid"
},
{
"tcId": 1302,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [7, 15, 7, 15, 15],
"ct": [14, 2, 8, 12, 0],
"result": "valid"
},
{
"tcId": 1303,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [2, 5, 12, 2, 0],
"ct": [2, 11, 14, 11, 9],
"result": "valid"
},
{
"tcId": 1304,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [6, 3, 10, 10, 12],
"ct": [3, 13, 5, 1, 3],
"result": "valid"
},
{
"tcId": 1305,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [1, 0, 1, 8, 0],
"ct": [13, 7, 9, 4, 8],
"result": "valid"
},
{
"tcId": 1306,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [5, 13, 1, 1, 14],
"ct": [7, 7, 15, 3, 5],
"result": "valid"
},
{
"tcId": 1307,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [2, 13, 13, 6, 5],
"ct": [0, 9, 11, 15, 9],
"result": "valid"
},
{
"tcId": 1308,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [11, 3, 5, 7, 4],
"ct": [12, 13, 2, 1, 3],
"result": "valid"
},
{
"tcId": 1309,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [2, 15, 11, 10, 4],
"ct": [0, 10, 9, 4, 4],
"result": "valid"
},
{
"tcId": 1310,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [9, 15, 4, 0, 6],
"ct": [2, 11, 5, 8, 10],
"result": "valid"
},
{
"tcId": 1311,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [4, 3, 10, 12, 4],
"ct": [0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1312,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [10, 13, 15, 14, 8],
"ct": [15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1313,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [4, 12, 12, 3, 5],
"ct": [8, 0, 8, 0, 0],
"result": "valid"
},
{
"tcId": 1314,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [4, 9, 1, 9, 12],
"ct": [7, 15, 7, 15, 15],
"result": "valid"
},
{
"tcId": 1315,
"comment": "y = 0 and (y + a) % radix**2 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "05a59f40109c5949fbb56cda21",
"msg": [11, 9, 9, 8, 4],
"ct": [11, 11, 1, 1, 4],
"result": "valid"
},
{
"tcId": 1316,
"comment": "y = 0 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "05a59f40109c5949fbb56cda21",
"msg": [15, 8, 12, 8, 10],
"ct": [3, 5, 1, 7, 3],
"result": "valid"
},
{
"tcId": 1317,
"comment": "y = 0 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "05a59f40109c5949fbb56cda21",
"msg": [15, 11, 13, 6, 7],
"ct": [4, 13, 7, 15, 4],
"result": "valid"
},
{
"tcId": 1318,
"comment": "y = 0 and (y + a) % radix**2 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "05a59f40109c5949fbb56cda21",
"msg": [4, 9, 10, 12, 1],
"ct": [12, 10, 9, 6, 4],
"result": "valid"
},
{
"tcId": 1319,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "692c154203915efcf6daad4843",
"msg": [0, 0, 8, 7, 5],
"ct": [4, 4, 3, 0, 14],
"result": "valid"
},
{
"tcId": 1320,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "692c154203915efcf6daad4843",
"msg": [0, 1, 8, 7, 5],
"ct": [6, 3, 1, 6, 7],
"result": "valid"
},
{
"tcId": 1321,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "692c154203915efcf6daad4843",
"msg": [8, 0, 8, 7, 5],
"ct": [13, 11, 4, 15, 0],
"result": "valid"
},
{
"tcId": 1322,
"comment": "y = 1 and (y + a) % radix**2 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "692c154203915efcf6daad4843",
"msg": [15, 14, 8, 7, 5],
"ct": [3, 10, 15, 0, 7],
"result": "valid"
},
{
"tcId": 1323,
"comment": "y = 1 and (y + a) % radix**2 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "692c154203915efcf6daad4843",
"msg": [15, 15, 8, 7, 5],
"ct": [12, 1, 14, 5, 8],
"result": "valid"
},
{
"tcId": 1324,
"comment": "y is maximal and (y + a) % radix**2 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "d62e48de2fd41098174b6116ff",
"msg": [5, 8, 15, 3, 2],
"ct": [3, 14, 15, 7, 6],
"result": "valid"
},
{
"tcId": 1325,
"comment": "y is maximal and (y + a) % radix**2 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "d62e48de2fd41098174b6116ff",
"msg": [12, 4, 14, 3, 11],
"ct": [1, 3, 10, 14, 8],
"result": "valid"
},
{
"tcId": 1326,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "d62e48de2fd41098174b6116ff",
"msg": [7, 10, 8, 13, 8],
"ct": [12, 2, 1, 1, 15],
"result": "valid"
},
{
"tcId": 1327,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "d62e48de2fd41098174b6116ff",
"msg": [4, 2, 3, 0, 11],
"ct": [14, 4, 4, 10, 13],
"result": "valid"
},
{
"tcId": 1328,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "24f1e6189cadbbaf5f7f88d8af",
"msg": [15, 0, 2, 1, 0],
"ct": [15, 6, 13, 13, 13],
"result": "valid"
},
{
"tcId": 1329,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "24f1e6189cadbbaf5f7f88d8af",
"msg": [4, 3, 5, 2, 14],
"ct": [6, 9, 3, 15, 0],
"result": "valid"
},
{
"tcId": 1330,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "24f1e6189cadbbaf5f7f88d8af",
"msg": [7, 2, 8, 5, 5],
"ct": [0, 9, 7, 8, 2],
"result": "valid"
},
{
"tcId": 1331,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "24f1e6189cadbbaf5f7f88d8af",
"msg": [1, 14, 8, 0, 8],
"ct": [10, 6, 13, 13, 4],
"result": "valid"
},
{
"tcId": 1332,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "24f1e6189cadbbaf5f7f88d8af",
"msg": [3, 7, 7, 14, 5],
"ct": [14, 8, 7, 0, 13],
"result": "valid"
},
{
"tcId": 1333,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "24f1e6189cadbbaf5f7f88d8af",
"msg": [4, 1, 3, 3, 14],
"ct": [13, 9, 1, 9, 12],
"result": "valid"
},
{
"tcId": 1334,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "43b4aa24782662f96cda37465e",
"msg": [12, 15, 5, 3, 15],
"ct": [11, 1, 11, 12, 14],
"result": "valid"
},
{
"tcId": 1335,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "43b4aa24782662f96cda37465e",
"msg": [14, 13, 14, 12, 9],
"ct": [3, 12, 10, 4, 7],
"result": "valid"
},
{
"tcId": 1336,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "43b4aa24782662f96cda37465e",
"msg": [3, 5, 7, 1, 10],
"ct": [1, 10, 15, 12, 11],
"result": "valid"
},
{
"tcId": 1337,
"comment": "y is maximal after modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "43b4aa24782662f96cda37465e",
"msg": [14, 11, 12, 2, 4],
"ct": [6, 10, 6, 3, 5],
"result": "valid"
},
{
"tcId": 1338,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd",
"tweak": "2ae737de3b2aa4b0",
"msg": [-1, 12, 14, 9, 6],
"ct": [1, 7, 0, 5, 4],
"result": "invalid"
},
{
"tcId": 1339,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd",
"tweak": "2ae737de3b2aa4b0",
"msg": [12, -1, 14, 9, 6],
"ct": [14, 11, 10, 11, 11],
"result": "invalid"
},
{
"tcId": 1340,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd",
"tweak": "2ae737de3b2aa4b0",
"msg": [12, 12, 14, 9, -1],
"ct": [11, 8, 10, 13, 4],
"result": "invalid"
},
{
"tcId": 1341,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4ca7632e856d277f2059a8afb1c391e31cfcb0f4ea7b78d7",
"tweak": "f36363b134199a2c",
"msg": [16, 14, 3, 9, 11],
"ct": [12, 6, 8, 4, 0],
"result": "invalid"
},
{
"tcId": 1342,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4ca7632e856d277f2059a8afb1c391e31cfcb0f4ea7b78d7",
"tweak": "f36363b134199a2c",
"msg": [2, 16, 3, 9, 11],
"ct": [4, 6, 13, 0, 10],
"result": "invalid"
},
{
"tcId": 1343,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4ca7632e856d277f2059a8afb1c391e31cfcb0f4ea7b78d7",
"tweak": "f36363b134199a2c",
"msg": [2, 14, 3, 9, 16],
"ct": [0, 8, 4, 2, 5],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 6,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1344,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "4d7429ddc83d27457a152d4981aab3ddf56dd2410647ad47",
"tweak": "ada060734534dfa1",
"msg": [2, 4, 4, 2, 8, 5],
"ct": [11, 2, 9, 1, 9, 12],
"result": "valid"
},
{
"tcId": 1345,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [0, 0, 0, 0, 0, 0],
"ct": [9, 6, 14, 3, 7, 15],
"result": "valid"
},
{
"tcId": 1346,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [15, 15, 15, 15, 15, 15],
"ct": [14, 1, 11, 13, 10, 7],
"result": "valid"
},
{
"tcId": 1347,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [8, 0, 0, 8, 0, 0],
"ct": [2, 7, 11, 3, 6, 5],
"result": "valid"
},
{
"tcId": 1348,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [7, 15, 15, 7, 15, 15],
"ct": [10, 3, 8, 12, 14, 14],
"result": "valid"
},
{
"tcId": 1349,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [9, 10, 2, 4, 1, 10],
"ct": [6, 9, 5, 4, 3, 8],
"result": "valid"
},
{
"tcId": 1350,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [13, 4, 13, 1, 14, 15],
"ct": [0, 13, 12, 15, 11, 6],
"result": "valid"
},
{
"tcId": 1351,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [4, 15, 3, 14, 1, 12],
"ct": [5, 10, 4, 10, 9, 0],
"result": "valid"
},
{
"tcId": 1352,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [13, 1, 6, 1, 10, 9],
"ct": [6, 14, 11, 0, 1, 15],
"result": "valid"
},
{
"tcId": 1353,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [0, 8, 2, 1, 1, 0],
"ct": [12, 12, 4, 13, 0, 15],
"result": "valid"
},
{
"tcId": 1354,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [9, 0, 14, 15, 12, 13],
"ct": [4, 13, 1, 6, 0, 1],
"result": "valid"
},
{
"tcId": 1355,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [15, 2, 9, 0, 0, 14],
"ct": [15, 14, 15, 2, 4, 15],
"result": "valid"
},
{
"tcId": 1356,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [13, 15, 15, 10, 3, 12],
"ct": [0, 14, 14, 4, 15, 11],
"result": "valid"
},
{
"tcId": 1357,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [12, 1, 9, 10, 6, 1],
"ct": [0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1358,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [9, 2, 11, 4, 4, 11],
"ct": [15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1359,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [9, 13, 14, 12, 3, 3],
"ct": [8, 0, 0, 8, 0, 0],
"result": "valid"
},
{
"tcId": 1360,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [3, 9, 5, 15, 2, 3],
"ct": [7, 15, 15, 7, 15, 15],
"result": "valid"
},
{
"tcId": 1361,
"comment": "y = 0 and (y + a) % radix**3 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "d130f232fc224f940a5a28322a",
"msg": [6, 11, 8, 5, 14, 7],
"ct": [0, 7, 14, 12, 6, 0],
"result": "valid"
},
{
"tcId": 1362,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "d130f232fc224f940a5a28322a",
"msg": [12, 2, 1, 11, 13, 12],
"ct": [13, 12, 12, 15, 6, 12],
"result": "valid"
},
{
"tcId": 1363,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "d130f232fc224f940a5a28322a",
"msg": [13, 4, 9, 0, 9, 11],
"ct": [13, 15, 13, 5, 1, 4],
"result": "valid"
},
{
"tcId": 1364,
"comment": "y = 0 and (y + a) % radix**3 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "d130f232fc224f940a5a28322a",
"msg": [5, 4, 14, 8, 7, 8],
"ct": [10, 8, 11, 2, 10, 9],
"result": "valid"
},
{
"tcId": 1365,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "f564af4d0f3b9d20cfc18082bd",
"msg": [10, 4, 4, 5, 1, 2],
"ct": [0, 0, 1, 2, 5, 2],
"result": "valid"
},
{
"tcId": 1366,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "f564af4d0f3b9d20cfc18082bd",
"msg": [12, 3, 13, 7, 11, 7],
"ct": [0, 0, 2, 6, 14, 15],
"result": "valid"
},
{
"tcId": 1367,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "f564af4d0f3b9d20cfc18082bd",
"msg": [11, 4, 6, 12, 13, 15],
"ct": [8, 0, 1, 6, 1, 11],
"result": "valid"
},
{
"tcId": 1368,
"comment": "y = 1 and (y + a) % radix**3 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "f564af4d0f3b9d20cfc18082bd",
"msg": [4, 15, 2, 12, 3, 8],
"ct": [15, 15, 15, 8, 0, 5],
"result": "valid"
},
{
"tcId": 1369,
"comment": "y = 1 and (y + a) % radix**3 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "f564af4d0f3b9d20cfc18082bd",
"msg": [9, 15, 10, 12, 4, 15],
"ct": [0, 0, 0, 15, 7, 10],
"result": "valid"
},
{
"tcId": 1370,
"comment": "y is maximal and (y + a) % radix**3 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "d360044d233daa27f7275b9f14",
"msg": [11, 6, 4, 8, 11, 11],
"ct": [0, 1, 13, 5, 13, 4],
"result": "valid"
},
{
"tcId": 1371,
"comment": "y is maximal and (y + a) % radix**3 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "d360044d233daa27f7275b9f14",
"msg": [3, 6, 4, 6, 2, 12],
"ct": [5, 9, 4, 3, 10, 5],
"result": "valid"
},
{
"tcId": 1372,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "d360044d233daa27f7275b9f14",
"msg": [0, 8, 3, 9, 11, 0],
"ct": [2, 1, 8, 7, 5, 3],
"result": "valid"
},
{
"tcId": 1373,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "d360044d233daa27f7275b9f14",
"msg": [4, 1, 15, 1, 10, 14],
"ct": [12, 6, 1, 5, 11, 15],
"result": "valid"
},
{
"tcId": 1374,
"comment": "y is edge case for modular reduction and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "e7719144b7cef6a821774ea4e9",
"msg": [4, 0, 1, 10, 15, 7],
"ct": [3, 5, 13, 10, 1, 0],
"result": "valid"
},
{
"tcId": 1375,
"comment": "y is edge case for modular reduction and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "e7719144b7cef6a821774ea4e9",
"msg": [3, 1, 6, 6, 1, 2],
"ct": [7, 10, 11, 14, 6, 14],
"result": "valid"
},
{
"tcId": 1376,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "e7719144b7cef6a821774ea4e9",
"msg": [14, 2, 13, 13, 8, 0],
"ct": [3, 14, 8, 9, 3, 11],
"result": "valid"
},
{
"tcId": 1377,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "e7719144b7cef6a821774ea4e9",
"msg": [12, 7, 5, 3, 14, 8],
"ct": [9, 7, 6, 15, 6, 8],
"result": "valid"
},
{
"tcId": 1378,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "e7719144b7cef6a821774ea4e9",
"msg": [5, 6, 10, 9, 2, 2],
"ct": [5, 3, 8, 3, 4, 8],
"result": "valid"
},
{
"tcId": 1379,
"comment": "y is edge case for modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "e7719144b7cef6a821774ea4e9",
"msg": [14, 8, 0, 13, 10, 8],
"ct": [9, 15, 9, 3, 0, 7],
"result": "valid"
},
{
"tcId": 1380,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "2f7d56c0fe7b10f34d46cc5a68",
"msg": [9, 15, 15, 2, 2, 5],
"ct": [4, 13, 1, 12, 10, 13],
"result": "valid"
},
{
"tcId": 1381,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "2f7d56c0fe7b10f34d46cc5a68",
"msg": [10, 15, 8, 11, 0, 7],
"ct": [6, 3, 4, 1, 5, 7],
"result": "valid"
},
{
"tcId": 1382,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "2f7d56c0fe7b10f34d46cc5a68",
"msg": [6, 10, 9, 0, 14, 4],
"ct": [15, 7, 1, 12, 14, 0],
"result": "valid"
},
{
"tcId": 1383,
"comment": "y is maximal after modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "2f7d56c0fe7b10f34d46cc5a68",
"msg": [11, 8, 6, 5, 14, 14],
"ct": [15, 14, 8, 13, 7, 7],
"result": "valid"
},
{
"tcId": 1384,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda",
"tweak": "c0b22a647b59d5ca",
"msg": [-1, 5, 5, 12, 14, 11],
"ct": [14, 0, 13, 5, 4, 2],
"result": "invalid"
},
{
"tcId": 1385,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda",
"tweak": "c0b22a647b59d5ca",
"msg": [14, 5, -1, 12, 14, 11],
"ct": [7, 13, 9, 2, 3, 8],
"result": "invalid"
},
{
"tcId": 1386,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda",
"tweak": "c0b22a647b59d5ca",
"msg": [14, 5, 5, 12, 14, -1],
"ct": [10, 8, 13, 2, 2, 3],
"result": "invalid"
},
{
"tcId": 1387,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b04473cffcfb20ecf5f6c5d89526e267d04d0d9f2aa6f480",
"tweak": "372c8fc360408bc2",
"msg": [16, 3, 4, 7, 1, 10],
"ct": [4, 13, 6, 0, 6, 2],
"result": "invalid"
},
{
"tcId": 1388,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b04473cffcfb20ecf5f6c5d89526e267d04d0d9f2aa6f480",
"tweak": "372c8fc360408bc2",
"msg": [1, 3, 16, 7, 1, 10],
"ct": [1, 2, 6, 9, 10, 2],
"result": "invalid"
},
{
"tcId": 1389,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b04473cffcfb20ecf5f6c5d89526e267d04d0d9f2aa6f480",
"tweak": "372c8fc360408bc2",
"msg": [1, 3, 4, 7, 1, 16],
"ct": [9, 3, 4, 8, 7, 11],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 7,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1390,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "87f7c60d04f5313cff17a4e7fad56c33b0afb439939c1ab5",
"tweak": "20e854d3f367ab8e",
"msg": [8, 13, 9, 0, 0, 12, 8],
"ct": [11, 15, 11, 11, 13, 9, 9],
"result": "valid"
},
{
"tcId": 1391,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [0, 0, 0, 0, 0, 0, 0],
"ct": [0, 7, 5, 5, 0, 12, 13],
"result": "valid"
},
{
"tcId": 1392,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [15, 15, 15, 15, 15, 15, 15],
"ct": [15, 10, 7, 8, 2, 4, 4],
"result": "valid"
},
{
"tcId": 1393,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [8, 0, 0, 8, 0, 0, 0],
"ct": [11, 13, 4, 5, 12, 6, 6],
"result": "valid"
},
{
"tcId": 1394,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [7, 15, 15, 7, 15, 15, 15],
"ct": [6, 2, 2, 5, 13, 6, 14],
"result": "valid"
},
{
"tcId": 1395,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [13, 8, 7, 5, 15, 12, 8],
"ct": [13, 3, 14, 10, 9, 10, 3],
"result": "valid"
},
{
"tcId": 1396,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [2, 13, 5, 15, 11, 9, 12],
"ct": [6, 11, 14, 15, 1, 4, 10],
"result": "valid"
},
{
"tcId": 1397,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [5, 13, 7, 15, 5, 4, 14],
"ct": [1, 4, 6, 11, 13, 11, 6],
"result": "valid"
},
{
"tcId": 1398,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [7, 3, 1, 1, 11, 13, 11],
"ct": [8, 15, 5, 15, 4, 13, 10],
"result": "valid"
},
{
"tcId": 1399,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [6, 0, 1, 5, 2, 8, 1],
"ct": [2, 13, 1, 4, 4, 12, 13],
"result": "valid"
},
{
"tcId": 1400,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [8, 12, 14, 10, 15, 4, 3],
"ct": [11, 1, 9, 6, 8, 11, 2],
"result": "valid"
},
{
"tcId": 1401,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [3, 13, 2, 13, 8, 8, 14],
"ct": [12, 4, 13, 3, 1, 3, 7],
"result": "valid"
},
{
"tcId": 1402,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [9, 6, 1, 4, 0, 9, 11],
"ct": [9, 6, 14, 6, 15, 3, 15],
"result": "valid"
},
{
"tcId": 1403,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [1, 1, 2, 12, 4, 2, 4],
"ct": [0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1404,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [11, 11, 3, 2, 3, 10, 13],
"ct": [15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1405,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [9, 8, 9, 4, 13, 0, 15],
"ct": [8, 0, 0, 8, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1406,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [5, 7, 14, 5, 5, 11, 11],
"ct": [7, 15, 15, 7, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1407,
"comment": "y = 0 and (y + a) % radix**3 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "7686c08a7cfeace2b9e867bbf3",
"msg": [5, 1, 10, 2, 11, 6, 2],
"ct": [0, 0, 0, 12, 10, 15, 8],
"result": "valid"
},
{
"tcId": 1408,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "7686c08a7cfeace2b9e867bbf3",
"msg": [5, 13, 4, 14, 9, 13, 2],
"ct": [0, 0, 1, 1, 4, 11, 7],
"result": "valid"
},
{
"tcId": 1409,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "7686c08a7cfeace2b9e867bbf3",
"msg": [10, 6, 3, 1, 7, 14, 7],
"ct": [8, 0, 0, 5, 8, 15, 0],
"result": "valid"
},
{
"tcId": 1410,
"comment": "y = 0 and (y + a) % radix**3 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "7686c08a7cfeace2b9e867bbf3",
"msg": [8, 6, 12, 11, 14, 12, 0],
"ct": [15, 15, 15, 8, 0, 13, 10],
"result": "valid"
},
{
"tcId": 1411,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "2d96b171c3730f131d395d17bb",
"msg": [13, 7, 9, 13, 12, 3, 7],
"ct": [10, 2, 7, 5, 7, 9, 5],
"result": "valid"
},
{
"tcId": 1412,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "2d96b171c3730f131d395d17bb",
"msg": [1, 14, 6, 6, 13, 2, 11],
"ct": [9, 14, 7, 5, 5, 13, 10],
"result": "valid"
},
{
"tcId": 1413,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "2d96b171c3730f131d395d17bb",
"msg": [3, 10, 1, 11, 9, 15, 15],
"ct": [6, 3, 1, 14, 0, 3, 1],
"result": "valid"
},
{
"tcId": 1414,
"comment": "y = 1 and (y + a) % radix**3 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "2d96b171c3730f131d395d17bb",
"msg": [10, 2, 9, 9, 11, 7, 0],
"ct": [13, 0, 2, 11, 8, 6, 5],
"result": "valid"
},
{
"tcId": 1415,
"comment": "y = 1 and (y + a) % radix**3 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "2d96b171c3730f131d395d17bb",
"msg": [10, 13, 12, 12, 3, 1, 15],
"ct": [8, 5, 0, 10, 15, 14, 2],
"result": "valid"
},
{
"tcId": 1416,
"comment": "y is maximal and (y + a) % radix**3 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "fa6d0db70a0f947bf602e0f1b5",
"msg": [5, 7, 7, 12, 15, 9, 9],
"ct": [9, 11, 15, 8, 10, 10, 4],
"result": "valid"
},
{
"tcId": 1417,
"comment": "y is maximal and (y + a) % radix**3 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "fa6d0db70a0f947bf602e0f1b5",
"msg": [1, 11, 8, 13, 15, 14, 5],
"ct": [9, 13, 5, 7, 14, 14, 0],
"result": "valid"
},
{
"tcId": 1418,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "fa6d0db70a0f947bf602e0f1b5",
"msg": [12, 6, 5, 10, 2, 9, 3],
"ct": [14, 9, 5, 11, 8, 11, 14],
"result": "valid"
},
{
"tcId": 1419,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "fa6d0db70a0f947bf602e0f1b5",
"msg": [14, 8, 7, 6, 0, 15, 14],
"ct": [15, 13, 13, 9, 5, 2, 5],
"result": "valid"
},
{
"tcId": 1420,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "9a366b3044a1fbfff04cdb145c",
"msg": [0, 0, 0, 12, 8, 2, 0],
"ct": [4, 6, 5, 8, 0, 4, 2],
"result": "valid"
},
{
"tcId": 1421,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "9a366b3044a1fbfff04cdb145c",
"msg": [0, 0, 1, 12, 8, 2, 0],
"ct": [5, 6, 2, 2, 12, 1, 6],
"result": "valid"
},
{
"tcId": 1422,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "9a366b3044a1fbfff04cdb145c",
"msg": [0, 0, 15, 12, 8, 2, 0],
"ct": [13, 13, 11, 15, 8, 5, 0],
"result": "valid"
},
{
"tcId": 1423,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "9a366b3044a1fbfff04cdb145c",
"msg": [0, 1, 0, 12, 8, 2, 0],
"ct": [6, 11, 15, 13, 5, 2, 7],
"result": "valid"
},
{
"tcId": 1424,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "9a366b3044a1fbfff04cdb145c",
"msg": [8, 0, 0, 12, 8, 2, 0],
"ct": [11, 2, 4, 13, 10, 10, 6],
"result": "valid"
},
{
"tcId": 1425,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "9a366b3044a1fbfff04cdb145c",
"msg": [15, 15, 15, 12, 8, 2, 0],
"ct": [3, 12, 5, 0, 7, 5, 0],
"result": "valid"
},
{
"tcId": 1426,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "4d80e5f3ae16a53c820bee9eff",
"msg": [0, 10, 5, 5, 14, 8, 0],
"ct": [0, 15, 5, 14, 12, 2, 2],
"result": "valid"
},
{
"tcId": 1427,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "4d80e5f3ae16a53c820bee9eff",
"msg": [10, 3, 0, 13, 1, 5, 10],
"ct": [8, 10, 12, 6, 6, 11, 13],
"result": "valid"
},
{
"tcId": 1428,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "4d80e5f3ae16a53c820bee9eff",
"msg": [8, 8, 12, 3, 0, 12, 2],
"ct": [12, 3, 7, 6, 8, 12, 14],
"result": "valid"
},
{
"tcId": 1429,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "4d80e5f3ae16a53c820bee9eff",
"msg": [12, 7, 3, 15, 7, 0, 8],
"ct": [12, 8, 3, 11, 7, 9, 3],
"result": "valid"
},
{
"tcId": 1430,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b",
"tweak": "60ffe987c829b479",
"msg": [-1, 1, 14, 6, 12, 6, 12],
"ct": [12, 8, 8, 9, 7, 14, 15],
"result": "invalid"
},
{
"tcId": 1431,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b",
"tweak": "60ffe987c829b479",
"msg": [3, 1, -1, 6, 12, 6, 12],
"ct": [2, 1, 7, 8, 9, 15, 1],
"result": "invalid"
},
{
"tcId": 1432,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b",
"tweak": "60ffe987c829b479",
"msg": [3, 1, 14, 6, 12, 6, -1],
"ct": [13, 7, 0, 2, 14, 15, 11],
"result": "invalid"
},
{
"tcId": 1433,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6a6a813739f2a836b4939969bb2601f8694c95e755b4d3a2",
"tweak": "7254fe7b550c2cfd",
"msg": [16, 7, 2, 10, 15, 11, 10],
"ct": [1, 14, 1, 15, 3, 11, 12],
"result": "invalid"
},
{
"tcId": 1434,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6a6a813739f2a836b4939969bb2601f8694c95e755b4d3a2",
"tweak": "7254fe7b550c2cfd",
"msg": [14, 7, 16, 10, 15, 11, 10],
"ct": [5, 1, 15, 14, 3, 15, 3],
"result": "invalid"
},
{
"tcId": 1435,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6a6a813739f2a836b4939969bb2601f8694c95e755b4d3a2",
"tweak": "7254fe7b550c2cfd",
"msg": [14, 7, 2, 10, 15, 11, 16],
"ct": [6, 15, 12, 10, 5, 9, 3],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 8,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1436,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "92a79c3f030f2aba3096f2537c9d47403d9f4b2ede166d87",
"tweak": "3146e53b9e1162f2",
"msg": [12, 2, 15, 11, 2, 15, 8, 4],
"ct": [10, 6, 12, 5, 7, 0, 7, 10],
"result": "valid"
},
{
"tcId": 1437,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [0, 0, 0, 0, 0, 0, 0, 0],
"ct": [5, 2, 1, 5, 4, 8, 11, 11],
"result": "valid"
},
{
"tcId": 1438,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [15, 15, 15, 15, 15, 15, 15, 15],
"ct": [13, 6, 14, 6, 8, 15, 9, 10],
"result": "valid"
},
{
"tcId": 1439,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [8, 0, 0, 0, 8, 0, 0, 0],
"ct": [9, 11, 13, 6, 5, 2, 1, 7],
"result": "valid"
},
{
"tcId": 1440,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [7, 15, 15, 15, 7, 15, 15, 15],
"ct": [2, 3, 11, 15, 8, 1, 8, 13],
"result": "valid"
},
{
"tcId": 1441,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [14, 12, 7, 1, 7, 0, 13, 2],
"ct": [11, 8, 2, 4, 1, 6, 4, 8],
"result": "valid"
},
{
"tcId": 1442,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [15, 5, 12, 5, 4, 5, 11, 5],
"ct": [11, 0, 7, 11, 11, 12, 13, 14],
"result": "valid"
},
{
"tcId": 1443,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [11, 6, 9, 2, 3, 12, 7, 9],
"ct": [2, 3, 0, 4, 12, 3, 6, 14],
"result": "valid"
},
{
"tcId": 1444,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [9, 2, 7, 13, 9, 2, 14, 4],
"ct": [13, 6, 3, 12, 11, 0, 1, 15],
"result": "valid"
},
{
"tcId": 1445,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [0, 14, 15, 2, 6, 9, 10, 6],
"ct": [14, 5, 11, 11, 15, 1, 12, 8],
"result": "valid"
},
{
"tcId": 1446,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [11, 5, 12, 2, 13, 7, 4, 3],
"ct": [6, 7, 4, 15, 11, 4, 10, 3],
"result": "valid"
},
{
"tcId": 1447,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [10, 2, 2, 6, 7, 2, 6, 7],
"ct": [1, 11, 3, 4, 4, 4, 0, 6],
"result": "valid"
},
{
"tcId": 1448,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [7, 2, 7, 9, 5, 12, 2, 14],
"ct": [8, 15, 14, 11, 2, 14, 15, 2],
"result": "valid"
},
{
"tcId": 1449,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [3, 0, 0, 9, 10, 6, 8, 0],
"ct": [0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1450,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [9, 6, 1, 5, 3, 15, 6, 1],
"ct": [15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1451,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [7, 6, 4, 7, 13, 8, 7, 9],
"ct": [8, 0, 0, 0, 8, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1452,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [12, 5, 0, 11, 0, 9, 3, 13],
"ct": [7, 15, 15, 15, 7, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1453,
"comment": "y = 0 and (y + a) % radix**4 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "30157c57f22b73615a4f7dfa0e",
"msg": [13, 2, 5, 6, 6, 5, 5, 7],
"ct": [12, 4, 13, 1, 12, 13, 12, 10],
"result": "valid"
},
{
"tcId": 1454,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "30157c57f22b73615a4f7dfa0e",
"msg": [8, 5, 15, 4, 2, 9, 0, 3],
"ct": [3, 0, 15, 10, 4, 10, 14, 14],
"result": "valid"
},
{
"tcId": 1455,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "30157c57f22b73615a4f7dfa0e",
"msg": [13, 1, 9, 1, 1, 10, 14, 2],
"ct": [13, 9, 12, 14, 10, 1, 13, 14],
"result": "valid"
},
{
"tcId": 1456,
"comment": "y = 0 and (y + a) % radix**4 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "30157c57f22b73615a4f7dfa0e",
"msg": [7, 6, 8, 4, 6, 3, 3, 7],
"ct": [15, 7, 4, 0, 9, 1, 12, 4],
"result": "valid"
},
{
"tcId": 1457,
"comment": "y = 1 and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "c055c015c6a873e2c916dcc086",
"msg": [0, 2, 0, 11, 12, 0, 3, 14],
"ct": [4, 4, 15, 2, 14, 11, 15, 1],
"result": "valid"
},
{
"tcId": 1458,
"comment": "y = 1 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "c055c015c6a873e2c916dcc086",
"msg": [11, 2, 7, 2, 14, 9, 9, 14],
"ct": [4, 5, 15, 1, 5, 12, 9, 14],
"result": "valid"
},
{
"tcId": 1459,
"comment": "y = 1 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "c055c015c6a873e2c916dcc086",
"msg": [4, 3, 4, 2, 1, 10, 10, 5],
"ct": [2, 0, 15, 11, 6, 1, 14, 3],
"result": "valid"
},
{
"tcId": 1460,
"comment": "y = 1 and (y + a) % radix**4 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "c055c015c6a873e2c916dcc086",
"msg": [6, 5, 9, 3, 6, 6, 1, 15],
"ct": [4, 6, 8, 4, 3, 7, 11, 9],
"result": "valid"
},
{
"tcId": 1461,
"comment": "y = 1 and (y + a) % radix**4 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "c055c015c6a873e2c916dcc086",
"msg": [9, 7, 15, 1, 12, 6, 4, 4],
"ct": [10, 4, 8, 11, 6, 15, 12, 15],
"result": "valid"
},
{
"tcId": 1462,
"comment": "y is maximal and (y + a) % radix**4 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "7b9ae598b5ed5496bf25de0427",
"msg": [1, 12, 8, 0, 13, 11, 9, 8],
"ct": [15, 15, 15, 15, 10, 15, 1, 12],
"result": "valid"
},
{
"tcId": 1463,
"comment": "y is maximal and (y + a) % radix**4 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "7b9ae598b5ed5496bf25de0427",
"msg": [2, 6, 0, 0, 10, 0, 0, 4],
"ct": [0, 0, 0, 0, 15, 15, 10, 5],
"result": "valid"
},
{
"tcId": 1464,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "7b9ae598b5ed5496bf25de0427",
"msg": [10, 14, 12, 1, 8, 4, 14, 9],
"ct": [7, 15, 15, 15, 10, 15, 13, 12],
"result": "valid"
},
{
"tcId": 1465,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "7b9ae598b5ed5496bf25de0427",
"msg": [10, 13, 11, 4, 13, 0, 6, 2],
"ct": [15, 15, 15, 14, 12, 12, 12, 15],
"result": "valid"
},
{
"tcId": 1466,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "510eb370a4937883ec45444573",
"msg": [8, 7, 4, 0, 13, 15, 0, 8],
"ct": [4, 2, 10, 0, 10, 14, 6, 9],
"result": "valid"
},
{
"tcId": 1467,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "510eb370a4937883ec45444573",
"msg": [5, 13, 1, 4, 7, 8, 9, 5],
"ct": [1, 5, 2, 2, 0, 2, 10, 15],
"result": "valid"
},
{
"tcId": 1468,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "510eb370a4937883ec45444573",
"msg": [6, 1, 9, 13, 6, 15, 3, 12],
"ct": [3, 13, 10, 14, 5, 9, 3, 1],
"result": "valid"
},
{
"tcId": 1469,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "510eb370a4937883ec45444573",
"msg": [6, 13, 14, 12, 12, 9, 10, 13],
"ct": [5, 10, 1, 15, 8, 9, 4, 9],
"result": "valid"
},
{
"tcId": 1470,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "510eb370a4937883ec45444573",
"msg": [1, 4, 4, 2, 5, 8, 6, 6],
"ct": [1, 4, 4, 14, 1, 15, 12, 2],
"result": "valid"
},
{
"tcId": 1471,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "510eb370a4937883ec45444573",
"msg": [11, 6, 6, 9, 0, 15, 13, 0],
"ct": [5, 15, 8, 5, 3, 4, 13, 6],
"result": "valid"
},
{
"tcId": 1472,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "b51e06ef43bc5e4b2461f626a9",
"msg": [1, 9, 8, 4, 12, 15, 12, 1],
"ct": [6, 10, 9, 0, 2, 14, 2, 12],
"result": "valid"
},
{
"tcId": 1473,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "b51e06ef43bc5e4b2461f626a9",
"msg": [4, 11, 11, 9, 11, 13, 8, 11],
"ct": [0, 7, 6, 12, 3, 6, 14, 11],
"result": "valid"
},
{
"tcId": 1474,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "b51e06ef43bc5e4b2461f626a9",
"msg": [10, 10, 1, 0, 11, 1, 5, 8],
"ct": [10, 13, 13, 10, 10, 8, 12, 2],
"result": "valid"
},
{
"tcId": 1475,
"comment": "y is maximal after modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "b51e06ef43bc5e4b2461f626a9",
"msg": [1, 13, 4, 3, 15, 5, 10, 12],
"ct": [14, 4, 0, 11, 14, 15, 0, 6],
"result": "valid"
},
{
"tcId": 1476,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9",
"tweak": "1a7d6192c4daa46f",
"msg": [-1, 8, 13, 1, 4, 4, 7, 7],
"ct": [10, 9, 8, 0, 0, 3, 15, 0],
"result": "invalid"
},
{
"tcId": 1477,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9",
"tweak": "1a7d6192c4daa46f",
"msg": [13, 8, -1, 1, 4, 4, 7, 7],
"ct": [1, 10, 0, 9, 11, 3, 15, 5],
"result": "invalid"
},
{
"tcId": 1478,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9",
"tweak": "1a7d6192c4daa46f",
"msg": [13, 8, 13, 1, 4, 4, 7, -1],
"ct": [6, 6, 14, 11, 12, 15, 9, 12],
"result": "invalid"
},
{
"tcId": 1479,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b864b0b4ebfbc61f1a146f97fa21ede0016224ec6f8b4f68",
"tweak": "e35d123b4be7f18e",
"msg": [16, 0, 9, 0, 11, 12, 7, 7],
"ct": [7, 8, 3, 8, 6, 11, 0, 10],
"result": "invalid"
},
{
"tcId": 1480,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b864b0b4ebfbc61f1a146f97fa21ede0016224ec6f8b4f68",
"tweak": "e35d123b4be7f18e",
"msg": [8, 0, 16, 0, 11, 12, 7, 7],
"ct": [14, 4, 12, 6, 5, 10, 6, 5],
"result": "invalid"
},
{
"tcId": 1481,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b864b0b4ebfbc61f1a146f97fa21ede0016224ec6f8b4f68",
"tweak": "e35d123b4be7f18e",
"msg": [8, 0, 9, 0, 11, 12, 7, 16],
"ct": [0, 11, 14, 0, 0, 11, 7, 15],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 9,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1482,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "c5fa236ae679d3c1d533758578e3a5c48752179eb298ac0e",
"tweak": "72ac4fc84f5bc825",
"msg": [9, 5, 15, 3, 15, 13, 12, 9, 0],
"ct": [5, 0, 13, 12, 2, 3, 6, 10, 5],
"result": "valid"
},
{
"tcId": 1483,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [12, 7, 4, 7, 4, 5, 10, 9, 5],
"result": "valid"
},
{
"tcId": 1484,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [12, 9, 8, 14, 2, 2, 8, 12, 8],
"result": "valid"
},
{
"tcId": 1485,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [8, 0, 0, 0, 8, 0, 0, 0, 0],
"ct": [9, 11, 11, 5, 8, 6, 7, 3, 15],
"result": "valid"
},
{
"tcId": 1486,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [7, 15, 15, 15, 7, 15, 15, 15, 15],
"ct": [13, 12, 12, 11, 0, 15, 2, 7, 7],
"result": "valid"
},
{
"tcId": 1487,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [2, 14, 10, 6, 10, 5, 5, 11, 3],
"ct": [7, 13, 6, 1, 6, 11, 14, 2, 0],
"result": "valid"
},
{
"tcId": 1488,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [7, 0, 6, 10, 10, 2, 8, 10, 1],
"ct": [10, 3, 0, 11, 3, 10, 8, 2, 4],
"result": "valid"
},
{
"tcId": 1489,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [7, 0, 7, 13, 6, 15, 8, 3, 11],
"ct": [14, 2, 12, 10, 13, 1, 15, 3, 7],
"result": "valid"
},
{
"tcId": 1490,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [11, 10, 14, 7, 15, 6, 14, 8, 1],
"ct": [0, 10, 15, 6, 3, 15, 9, 1, 12],
"result": "valid"
},
{
"tcId": 1491,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [8, 2, 0, 6, 2, 14, 13, 11, 12],
"ct": [11, 2, 3, 13, 1, 11, 13, 5, 15],
"result": "valid"
},
{
"tcId": 1492,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [0, 4, 10, 4, 9, 2, 7, 0, 1],
"ct": [15, 1, 2, 11, 7, 4, 0, 0, 11],
"result": "valid"
},
{
"tcId": 1493,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [7, 13, 8, 7, 9, 9, 1, 10, 15],
"ct": [0, 12, 1, 14, 8, 7, 7, 15, 4],
"result": "valid"
},
{
"tcId": 1494,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [10, 13, 14, 14, 5, 0, 9, 7, 13],
"ct": [1, 2, 3, 6, 8, 0, 7, 11, 4],
"result": "valid"
},
{
"tcId": 1495,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [4, 2, 1, 9, 11, 10, 1, 13, 6],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1496,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [13, 6, 14, 8, 7, 8, 10, 12, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1497,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [3, 0, 4, 8, 14, 8, 3, 9, 2],
"ct": [8, 0, 0, 0, 8, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1498,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [7, 3, 1, 7, 14, 8, 6, 5, 6],
"ct": [7, 15, 15, 15, 7, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1499,
"comment": "y = 0 and (y + a) % radix**4 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "9340f682ed3424be4cb85f2f",
"msg": [11, 15, 7, 2, 10, 14, 15, 2, 12],
"ct": [0, 0, 0, 0, 11, 11, 2, 0, 15],
"result": "valid"
},
{
"tcId": 1500,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "9340f682ed3424be4cb85f2f",
"msg": [1, 11, 2, 0, 9, 0, 10, 1, 5],
"ct": [0, 0, 0, 1, 8, 15, 12, 7, 10],
"result": "valid"
},
{
"tcId": 1501,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "9340f682ed3424be4cb85f2f",
"msg": [7, 8, 10, 3, 14, 12, 14, 14, 13],
"ct": [8, 0, 0, 0, 5, 9, 12, 15, 13],
"result": "valid"
},
{
"tcId": 1502,
"comment": "y = 0 and (y + a) % radix**4 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "9340f682ed3424be4cb85f2f",
"msg": [1, 14, 5, 12, 12, 9, 7, 6, 9],
"ct": [15, 15, 15, 15, 9, 5, 11, 4, 11],
"result": "valid"
},
{
"tcId": 1503,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "213782be0d9d4a1ed9eb270a",
"msg": [14, 14, 14, 3, 13, 0, 15, 2, 14],
"ct": [14, 3, 11, 11, 11, 5, 3, 11, 13],
"result": "valid"
},
{
"tcId": 1504,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "213782be0d9d4a1ed9eb270a",
"msg": [1, 14, 2, 8, 3, 10, 9, 8, 12],
"ct": [0, 15, 9, 7, 2, 8, 0, 13, 12],
"result": "valid"
},
{
"tcId": 1505,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "213782be0d9d4a1ed9eb270a",
"msg": [9, 12, 4, 0, 7, 3, 11, 9, 12],
"ct": [5, 14, 15, 15, 9, 8, 13, 0, 2],
"result": "valid"
},
{
"tcId": 1506,
"comment": "y = 1 and (y + a) % radix**4 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "213782be0d9d4a1ed9eb270a",
"msg": [6, 14, 5, 4, 8, 8, 10, 1, 5],
"ct": [0, 7, 0, 7, 9, 14, 15, 12, 6],
"result": "valid"
},
{
"tcId": 1507,
"comment": "y = 1 and (y + a) % radix**4 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "213782be0d9d4a1ed9eb270a",
"msg": [15, 7, 9, 4, 3, 7, 13, 0, 3],
"ct": [6, 9, 14, 11, 4, 2, 15, 4, 1],
"result": "valid"
},
{
"tcId": 1508,
"comment": "y is maximal and (y + a) % radix**4 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "6379c69633adb6d906a591b0",
"msg": [8, 13, 10, 5, 10, 8, 10, 6, 3],
"ct": [11, 3, 15, 10, 5, 3, 2, 7, 9],
"result": "valid"
},
{
"tcId": 1509,
"comment": "y is maximal and (y + a) % radix**4 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "6379c69633adb6d906a591b0",
"msg": [6, 11, 15, 8, 13, 4, 8, 14, 11],
"ct": [1, 7, 1, 11, 1, 11, 8, 11, 0],
"result": "valid"
},
{
"tcId": 1510,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "6379c69633adb6d906a591b0",
"msg": [2, 5, 6, 9, 0, 4, 15, 2, 9],
"ct": [11, 10, 12, 6, 11, 1, 2, 0, 3],
"result": "valid"
},
{
"tcId": 1511,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "6379c69633adb6d906a591b0",
"msg": [9, 3, 2, 11, 1, 13, 12, 2, 5],
"ct": [9, 5, 10, 13, 3, 12, 15, 12, 11],
"result": "valid"
},
{
"tcId": 1512,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "663e92b91e0b5b9a32d6ae3d",
"msg": [8, 4, 5, 14, 6, 12, 1, 0, 12],
"ct": [0, 1, 8, 13, 12, 11, 13, 8, 12],
"result": "valid"
},
{
"tcId": 1513,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "663e92b91e0b5b9a32d6ae3d",
"msg": [11, 9, 1, 8, 9, 3, 13, 11, 3],
"ct": [14, 2, 1, 10, 2, 6, 0, 9, 5],
"result": "valid"
},
{
"tcId": 1514,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "663e92b91e0b5b9a32d6ae3d",
"msg": [13, 11, 2, 3, 8, 4, 15, 14, 15],
"ct": [4, 1, 1, 11, 13, 1, 4, 14, 15],
"result": "valid"
},
{
"tcId": 1515,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "663e92b91e0b5b9a32d6ae3d",
"msg": [0, 15, 11, 15, 4, 5, 7, 3, 4],
"ct": [5, 11, 13, 15, 6, 4, 2, 5, 4],
"result": "valid"
},
{
"tcId": 1516,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "663e92b91e0b5b9a32d6ae3d",
"msg": [10, 8, 1, 0, 10, 15, 8, 10, 1],
"ct": [1, 9, 0, 1, 3, 13, 8, 14, 3],
"result": "valid"
},
{
"tcId": 1517,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "663e92b91e0b5b9a32d6ae3d",
"msg": [9, 12, 12, 7, 13, 13, 5, 1, 14],
"ct": [14, 5, 15, 13, 1, 7, 15, 5, 8],
"result": "valid"
},
{
"tcId": 1518,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "999ca76e0acd6da3e227e70a",
"msg": [14, 12, 14, 7, 14, 4, 3, 8, 3],
"ct": [8, 5, 14, 1, 1, 12, 11, 2, 9],
"result": "valid"
},
{
"tcId": 1519,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "999ca76e0acd6da3e227e70a",
"msg": [3, 1, 13, 5, 14, 3, 10, 12, 0],
"ct": [7, 5, 7, 15, 0, 4, 14, 14, 15],
"result": "valid"
},
{
"tcId": 1520,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "999ca76e0acd6da3e227e70a",
"msg": [1, 9, 10, 6, 5, 6, 13, 10, 5],
"ct": [7, 10, 6, 7, 6, 15, 8, 8, 1],
"result": "valid"
},
{
"tcId": 1521,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "999ca76e0acd6da3e227e70a",
"msg": [0, 13, 0, 15, 14, 9, 12, 10, 14],
"ct": [8, 2, 8, 8, 12, 15, 9, 9, 11],
"result": "valid"
},
{
"tcId": 1522,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909",
"tweak": "2f4481b579f8a5f8",
"msg": [-1, 15, 6, 15, 9, 5, 7, 12, 12],
"ct": [6, 8, 12, 2, 3, 7, 1, 10, 7],
"result": "invalid"
},
{
"tcId": 1523,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909",
"tweak": "2f4481b579f8a5f8",
"msg": [2, 15, 6, -1, 9, 5, 7, 12, 12],
"ct": [0, 10, 7, 2, 0, 2, 2, 3, 6],
"result": "invalid"
},
{
"tcId": 1524,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909",
"tweak": "2f4481b579f8a5f8",
"msg": [2, 15, 6, 15, 9, 5, 7, 12, -1],
"ct": [3, 7, 1, 7, 14, 5, 1, 8, 2],
"result": "invalid"
},
{
"tcId": 1525,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e0aa6200eaf26ca5c521086c4e1b30fbc91451b9bbbe806d",
"tweak": "935b759cefd9e7a6",
"msg": [16, 13, 6, 5, 14, 5, 1, 4, 9],
"ct": [8, 13, 12, 7, 0, 2, 5, 12, 3],
"result": "invalid"
},
{
"tcId": 1526,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e0aa6200eaf26ca5c521086c4e1b30fbc91451b9bbbe806d",
"tweak": "935b759cefd9e7a6",
"msg": [5, 13, 6, 16, 14, 5, 1, 4, 9],
"ct": [0, 10, 12, 5, 0, 3, 4, 11, 8],
"result": "invalid"
},
{
"tcId": 1527,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e0aa6200eaf26ca5c521086c4e1b30fbc91451b9bbbe806d",
"tweak": "935b759cefd9e7a6",
"msg": [5, 13, 6, 5, 14, 5, 1, 4, 16],
"ct": [10, 13, 6, 2, 8, 9, 14, 2, 2],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 10,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1528,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "8cf0a0e458eba1cc12ed18041ba331835519346134d0e908",
"tweak": "ea8c0ae555bb05ce",
"msg": [4, 13, 5, 6, 15, 9, 7, 15, 4, 11],
"ct": [12, 9, 0, 10, 10, 12, 10, 8, 1, 14],
"result": "valid"
},
{
"tcId": 1529,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [11, 6, 1, 14, 1, 7, 14, 2, 10, 5],
"result": "valid"
},
{
"tcId": 1530,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [11, 0, 9, 5, 13, 5, 5, 1, 5, 3],
"result": "valid"
},
{
"tcId": 1531,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [8, 0, 0, 0, 0, 8, 0, 0, 0, 0],
"ct": [10, 2, 7, 0, 5, 0, 4, 9, 3, 5],
"result": "valid"
},
{
"tcId": 1532,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [7, 15, 15, 15, 15, 7, 15, 15, 15, 15],
"ct": [3, 8, 0, 1, 7, 1, 7, 14, 5, 8],
"result": "valid"
},
{
"tcId": 1533,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [12, 8, 12, 6, 7, 7, 14, 11, 10, 1],
"ct": [11, 0, 8, 2, 1, 8, 9, 0, 10, 4],
"result": "valid"
},
{
"tcId": 1534,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [13, 1, 9, 8, 8, 0, 8, 2, 10, 2],
"ct": [5, 3, 10, 3, 3, 10, 3, 3, 15, 3],
"result": "valid"
},
{
"tcId": 1535,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [8, 12, 13, 0, 8, 3, 4, 12, 1, 1],
"ct": [9, 14, 5, 14, 8, 0, 6, 6, 0, 9],
"result": "valid"
},
{
"tcId": 1536,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [12, 11, 12, 5, 10, 10, 1, 12, 2, 7],
"ct": [13, 12, 12, 0, 2, 6, 5, 11, 3, 5],
"result": "valid"
},
{
"tcId": 1537,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [9, 5, 9, 13, 1, 12, 1, 1, 2, 0],
"ct": [14, 15, 1, 9, 13, 8, 13, 12, 0, 9],
"result": "valid"
},
{
"tcId": 1538,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [6, 12, 10, 1, 6, 15, 11, 10, 10, 4],
"ct": [2, 6, 0, 9, 3, 12, 13, 14, 7, 12],
"result": "valid"
},
{
"tcId": 1539,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [12, 5, 6, 11, 0, 4, 0, 2, 3, 2],
"ct": [14, 14, 13, 12, 10, 9, 12, 13, 10, 2],
"result": "valid"
},
{
"tcId": 1540,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [3, 7, 6, 4, 1, 4, 7, 11, 12, 3],
"ct": [1, 10, 0, 10, 4, 6, 12, 11, 4, 7],
"result": "valid"
},
{
"tcId": 1541,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [2, 11, 7, 5, 6, 11, 0, 14, 2, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1542,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [4, 10, 12, 5, 12, 11, 14, 15, 11, 0],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1543,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [9, 15, 7, 11, 2, 7, 2, 0, 15, 13],
"ct": [8, 0, 0, 0, 0, 8, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1544,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [13, 7, 2, 9, 6, 14, 5, 15, 2, 4],
"ct": [7, 15, 15, 15, 15, 7, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1545,
"comment": "y = 0 and (y + a) % radix**5 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "43230b001efd0da7b950480b",
"msg": [13, 12, 3, 1, 15, 1, 9, 10, 14, 5],
"ct": [10, 6, 8, 8, 13, 13, 5, 2, 12, 1],
"result": "valid"
},
{
"tcId": 1546,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "43230b001efd0da7b950480b",
"msg": [12, 12, 13, 1, 5, 8, 15, 11, 2, 2],
"ct": [4, 9, 10, 1, 5, 1, 5, 4, 8, 6],
"result": "valid"
},
{
"tcId": 1547,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "43230b001efd0da7b950480b",
"msg": [7, 5, 11, 10, 1, 1, 11, 15, 3, 14],
"ct": [7, 7, 12, 9, 15, 14, 15, 4, 10, 11],
"result": "valid"
},
{
"tcId": 1548,
"comment": "y = 0 and (y + a) % radix**5 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "43230b001efd0da7b950480b",
"msg": [3, 14, 3, 3, 13, 0, 9, 10, 9, 13],
"ct": [1, 6, 6, 8, 7, 12, 10, 8, 9, 6],
"result": "valid"
},
{
"tcId": 1549,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "2b4e655b06e7fe8d056869a0",
"msg": [0, 0, 0, 0, 0, 12, 4, 14, 0, 5],
"ct": [2, 13, 12, 13, 12, 13, 3, 0, 13, 3],
"result": "valid"
},
{
"tcId": 1550,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "2b4e655b06e7fe8d056869a0",
"msg": [0, 0, 0, 0, 1, 12, 4, 14, 0, 5],
"ct": [3, 9, 13, 11, 3, 10, 6, 13, 1, 3],
"result": "valid"
},
{
"tcId": 1551,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "2b4e655b06e7fe8d056869a0",
"msg": [8, 0, 0, 0, 0, 12, 4, 14, 0, 5],
"ct": [7, 3, 7, 3, 3, 6, 6, 12, 9, 12],
"result": "valid"
},
{
"tcId": 1552,
"comment": "y = 1 and (y + a) % radix**5 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "2b4e655b06e7fe8d056869a0",
"msg": [15, 15, 15, 15, 14, 12, 4, 14, 0, 5],
"ct": [12, 4, 9, 11, 6, 13, 2, 14, 2, 2],
"result": "valid"
},
{
"tcId": 1553,
"comment": "y = 1 and (y + a) % radix**5 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "2b4e655b06e7fe8d056869a0",
"msg": [15, 15, 15, 15, 15, 12, 4, 14, 0, 5],
"ct": [3, 3, 15, 10, 11, 10, 11, 1, 1, 1],
"result": "valid"
},
{
"tcId": 1554,
"comment": "y is maximal and (y + a) % radix**5 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "86e2c81c3ced622c26f73580",
"msg": [8, 2, 14, 5, 10, 6, 4, 14, 7, 5],
"ct": [9, 9, 5, 7, 1, 4, 4, 4, 0, 6],
"result": "valid"
},
{
"tcId": 1555,
"comment": "y is maximal and (y + a) % radix**5 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "86e2c81c3ced622c26f73580",
"msg": [1, 11, 15, 8, 9, 1, 2, 15, 9, 9],
"ct": [15, 11, 5, 3, 14, 2, 14, 9, 5, 1],
"result": "valid"
},
{
"tcId": 1556,
"comment": "y is maximal and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "86e2c81c3ced622c26f73580",
"msg": [14, 6, 12, 10, 14, 9, 6, 0, 3, 6],
"ct": [4, 0, 12, 2, 12, 6, 9, 14, 2, 14],
"result": "valid"
},
{
"tcId": 1557,
"comment": "y is maximal and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "86e2c81c3ced622c26f73580",
"msg": [5, 4, 2, 14, 12, 3, 12, 12, 3, 0],
"ct": [2, 1, 7, 0, 11, 15, 4, 15, 3, 4],
"result": "valid"
},
{
"tcId": 1558,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "74c7b90929f30d33f0dd2eac",
"msg": [14, 9, 11, 1, 2, 0, 14, 0, 0, 2],
"ct": [12, 12, 9, 2, 5, 2, 7, 3, 0, 14],
"result": "valid"
},
{
"tcId": 1559,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "74c7b90929f30d33f0dd2eac",
"msg": [10, 13, 15, 6, 7, 6, 2, 4, 10, 7],
"ct": [5, 3, 10, 0, 1, 14, 15, 15, 7, 2],
"result": "valid"
},
{
"tcId": 1560,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "74c7b90929f30d33f0dd2eac",
"msg": [0, 2, 3, 15, 10, 2, 14, 0, 5, 3],
"ct": [3, 2, 8, 14, 4, 5, 2, 12, 10, 10],
"result": "valid"
},
{
"tcId": 1561,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "74c7b90929f30d33f0dd2eac",
"msg": [9, 4, 5, 9, 5, 15, 4, 4, 6, 4],
"ct": [2, 5, 2, 10, 6, 12, 0, 13, 9, 5],
"result": "valid"
},
{
"tcId": 1562,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "74c7b90929f30d33f0dd2eac",
"msg": [13, 3, 15, 4, 2, 0, 5, 15, 12, 8],
"ct": [11, 5, 3, 8, 14, 1, 9, 9, 12, 0],
"result": "valid"
},
{
"tcId": 1563,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "74c7b90929f30d33f0dd2eac",
"msg": [1, 15, 0, 0, 15, 12, 1, 2, 4, 6],
"ct": [5, 12, 9, 9, 5, 0, 7, 2, 7, 0],
"result": "valid"
},
{
"tcId": 1564,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "b885fd7f951bea32bb3a1a3f",
"msg": [8, 10, 13, 15, 2, 12, 12, 12, 6, 8],
"ct": [15, 14, 6, 11, 11, 2, 6, 1, 0, 2],
"result": "valid"
},
{
"tcId": 1565,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "b885fd7f951bea32bb3a1a3f",
"msg": [6, 10, 9, 0, 4, 14, 0, 6, 14, 14],
"ct": [14, 12, 5, 15, 8, 2, 5, 0, 7, 15],
"result": "valid"
},
{
"tcId": 1566,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "b885fd7f951bea32bb3a1a3f",
"msg": [7, 4, 12, 11, 11, 12, 11, 10, 5, 6],
"ct": [12, 4, 5, 1, 14, 8, 13, 14, 5, 6],
"result": "valid"
},
{
"tcId": 1567,
"comment": "y is maximal after modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "b885fd7f951bea32bb3a1a3f",
"msg": [3, 2, 13, 8, 12, 7, 8, 9, 15, 6],
"ct": [12, 1, 12, 5, 6, 14, 3, 8, 15, 4],
"result": "valid"
},
{
"tcId": 1568,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee",
"tweak": "4343b0033d260a29",
"msg": [-1, 1, 10, 4, 14, 14, 3, 11, 15, 2],
"ct": [6, 4, 10, 6, 3, 11, 14, 3, 12, 7],
"result": "invalid"
},
{
"tcId": 1569,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee",
"tweak": "4343b0033d260a29",
"msg": [6, 1, 10, -1, 14, 14, 3, 11, 15, 2],
"ct": [13, 10, 6, 3, 13, 15, 11, 14, 12, 12],
"result": "invalid"
},
{
"tcId": 1570,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee",
"tweak": "4343b0033d260a29",
"msg": [6, 1, 10, 4, 14, 14, 3, 11, 15, -1],
"ct": [5, 3, 10, 0, 5, 0, 3, 15, 13, 10],
"result": "invalid"
},
{
"tcId": 1571,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8e2fa05e390685f216f53a6c00057cd75b0561786ccd717",
"tweak": "080f946c940a869e",
"msg": [16, 11, 8, 2, 10, 9, 11, 13, 0, 0],
"ct": [5, 6, 9, 9, 12, 12, 7, 10, 7, 9],
"result": "invalid"
},
{
"tcId": 1572,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8e2fa05e390685f216f53a6c00057cd75b0561786ccd717",
"tweak": "080f946c940a869e",
"msg": [8, 11, 8, 16, 10, 9, 11, 13, 0, 0],
"ct": [10, 14, 1, 6, 2, 14, 5, 1, 4, 4],
"result": "invalid"
},
{
"tcId": 1573,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8e2fa05e390685f216f53a6c00057cd75b0561786ccd717",
"tweak": "080f946c940a869e",
"msg": [8, 11, 8, 2, 10, 9, 11, 13, 0, 16],
"ct": [12, 12, 7, 1, 14, 8, 4, 8, 3, 8],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 11,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1574,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "f8a4cc9863b4aa6eb5b16e9401b0b83e25dd78a96abe6870",
"tweak": "8d5a3a9b130e7bad",
"msg": [0, 7, 9, 13, 6, 3, 0, 7, 0, 5, 10],
"ct": [5, 7, 6, 14, 13, 8, 4, 3, 10, 6, 12],
"result": "valid"
},
{
"tcId": 1575,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 5, 9, 3, 8, 12, 14, 5, 11, 14, 6],
"result": "valid"
},
{
"tcId": 1576,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [10, 3, 3, 6, 1, 0, 9, 8, 6, 5, 7],
"result": "valid"
},
{
"tcId": 1577,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [8, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0],
"ct": [3, 6, 12, 2, 5, 10, 4, 11, 14, 14, 11],
"result": "valid"
},
{
"tcId": 1578,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [7, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15],
"ct": [0, 10, 0, 13, 12, 9, 0, 12, 7, 3, 2],
"result": "valid"
},
{
"tcId": 1579,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [9, 15, 8, 2, 0, 0, 2, 6, 13, 3, 13],
"ct": [14, 8, 4, 10, 4, 10, 2, 2, 15, 3, 5],
"result": "valid"
},
{
"tcId": 1580,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [12, 8, 7, 7, 13, 3, 0, 5, 6, 5, 10],
"ct": [7, 10, 5, 10, 11, 3, 11, 7, 1, 13, 6],
"result": "valid"
},
{
"tcId": 1581,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [3, 5, 2, 9, 4, 13, 0, 12, 2, 9, 6],
"ct": [1, 4, 13, 14, 5, 13, 12, 13, 12, 10, 8],
"result": "valid"
},
{
"tcId": 1582,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [13, 6, 0, 15, 9, 6, 2, 15, 4, 13, 5],
"ct": [1, 15, 2, 5, 14, 1, 9, 8, 9, 8, 4],
"result": "valid"
},
{
"tcId": 1583,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [5, 11, 2, 5, 9, 10, 13, 14, 10, 5, 13],
"ct": [12, 3, 14, 5, 1, 14, 4, 5, 4, 2, 13],
"result": "valid"
},
{
"tcId": 1584,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [2, 7, 12, 11, 11, 14, 2, 9, 12, 4, 5],
"ct": [15, 7, 2, 4, 15, 1, 15, 15, 12, 6, 15],
"result": "valid"
},
{
"tcId": 1585,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [12, 15, 11, 2, 7, 10, 6, 10, 6, 13, 11],
"ct": [4, 7, 15, 15, 13, 5, 6, 8, 15, 13, 8],
"result": "valid"
},
{
"tcId": 1586,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [7, 2, 13, 11, 14, 15, 9, 6, 15, 12, 8],
"ct": [1, 7, 3, 8, 14, 1, 10, 5, 11, 6, 4],
"result": "valid"
},
{
"tcId": 1587,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [9, 11, 9, 6, 14, 4, 13, 13, 15, 11, 7],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1588,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [3, 1, 15, 10, 4, 0, 9, 15, 9, 0, 9],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1589,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [9, 3, 5, 15, 13, 12, 1, 14, 12, 11, 1],
"ct": [8, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1590,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [4, 2, 9, 14, 0, 12, 7, 11, 4, 12, 10],
"ct": [7, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1591,
"comment": "y = 0 and (y + a) % radix**5 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "c3d2a92278d9aadcaa5c832e",
"msg": [10, 6, 6, 1, 15, 3, 7, 5, 5, 3, 2],
"ct": [2, 2, 2, 13, 9, 14, 11, 13, 7, 3, 9],
"result": "valid"
},
{
"tcId": 1592,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "c3d2a92278d9aadcaa5c832e",
"msg": [5, 1, 3, 11, 6, 8, 2, 2, 5, 13, 8],
"ct": [1, 5, 0, 13, 7, 10, 11, 13, 9, 9, 3],
"result": "valid"
},
{
"tcId": 1593,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "c3d2a92278d9aadcaa5c832e",
"msg": [4, 13, 0, 4, 14, 8, 5, 13, 8, 2, 3],
"ct": [2, 11, 9, 8, 14, 8, 5, 13, 3, 0, 1],
"result": "valid"
},
{
"tcId": 1594,
"comment": "y = 0 and (y + a) % radix**5 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "c3d2a92278d9aadcaa5c832e",
"msg": [2, 14, 8, 10, 6, 11, 9, 3, 9, 13, 2],
"ct": [5, 1, 13, 1, 7, 7, 12, 8, 14, 15, 11],
"result": "valid"
},
{
"tcId": 1595,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "a3254700b6a4f111c7c7fc7a",
"msg": [4, 7, 11, 11, 14, 5, 4, 9, 11, 12, 14],
"ct": [8, 2, 9, 14, 14, 10, 9, 12, 11, 13, 14],
"result": "valid"
},
{
"tcId": 1596,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "a3254700b6a4f111c7c7fc7a",
"msg": [7, 1, 2, 3, 13, 7, 4, 4, 13, 9, 3],
"ct": [12, 15, 6, 14, 5, 8, 1, 11, 6, 6, 5],
"result": "valid"
},
{
"tcId": 1597,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "a3254700b6a4f111c7c7fc7a",
"msg": [9, 4, 12, 4, 12, 15, 5, 4, 4, 14, 5],
"ct": [14, 3, 9, 11, 9, 2, 8, 2, 14, 6, 13],
"result": "valid"
},
{
"tcId": 1598,
"comment": "y = 1 and (y + a) % radix**5 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "a3254700b6a4f111c7c7fc7a",
"msg": [12, 9, 11, 6, 0, 10, 3, 12, 9, 4, 4],
"ct": [13, 13, 5, 1, 12, 5, 3, 2, 5, 7, 5],
"result": "valid"
},
{
"tcId": 1599,
"comment": "y = 1 and (y + a) % radix**5 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "a3254700b6a4f111c7c7fc7a",
"msg": [12, 4, 6, 2, 13, 6, 15, 14, 7, 1, 11],
"ct": [3, 12, 15, 1, 10, 0, 11, 5, 9, 12, 6],
"result": "valid"
},
{
"tcId": 1600,
"comment": "y is maximal and (y + a) % radix**5 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "8953b35f2f79f89fe4923512",
"msg": [9, 5, 13, 3, 2, 7, 15, 2, 15, 10, 1],
"ct": [0, 6, 10, 0, 15, 0, 12, 12, 14, 5, 11],
"result": "valid"
},
{
"tcId": 1601,
"comment": "y is maximal and (y + a) % radix**5 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "8953b35f2f79f89fe4923512",
"msg": [8, 7, 11, 5, 10, 14, 8, 0, 7, 6, 14],
"ct": [9, 5, 5, 15, 1, 8, 6, 9, 12, 12, 14],
"result": "valid"
},
{
"tcId": 1602,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "8953b35f2f79f89fe4923512",
"msg": [4, 11, 14, 12, 9, 9, 8, 15, 6, 9, 7],
"ct": [1, 2, 10, 2, 9, 9, 9, 2, 7, 3, 6],
"result": "valid"
},
{
"tcId": 1603,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "8953b35f2f79f89fe4923512",
"msg": [8, 11, 8, 7, 13, 13, 8, 2, 12, 4, 14],
"ct": [4, 14, 1, 12, 11, 7, 9, 3, 6, 8, 4],
"result": "valid"
},
{
"tcId": 1604,
"comment": "y is edge case for modular reduction and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "3583bfcbc135a5a7abab53bc",
"msg": [8, 14, 14, 7, 0, 9, 8, 13, 13, 7, 12],
"ct": [7, 4, 3, 4, 2, 1, 11, 3, 1, 9, 12],
"result": "valid"
},
{
"tcId": 1605,
"comment": "y is edge case for modular reduction and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "3583bfcbc135a5a7abab53bc",
"msg": [7, 15, 11, 5, 7, 5, 9, 3, 10, 14, 3],
"ct": [13, 2, 9, 7, 3, 6, 14, 8, 2, 2, 6],
"result": "valid"
},
{
"tcId": 1606,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "3583bfcbc135a5a7abab53bc",
"msg": [0, 8, 9, 14, 1, 8, 3, 15, 12, 10, 3],
"ct": [4, 1, 11, 5, 10, 8, 11, 12, 15, 1, 2],
"result": "valid"
},
{
"tcId": 1607,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "3583bfcbc135a5a7abab53bc",
"msg": [11, 8, 7, 7, 4, 7, 7, 5, 10, 14, 0],
"ct": [7, 9, 11, 5, 13, 3, 4, 15, 13, 6, 8],
"result": "valid"
},
{
"tcId": 1608,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "3583bfcbc135a5a7abab53bc",
"msg": [5, 13, 11, 3, 4, 6, 5, 14, 1, 13, 1],
"ct": [2, 1, 7, 5, 4, 15, 6, 13, 7, 4, 6],
"result": "valid"
},
{
"tcId": 1609,
"comment": "y is edge case for modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "3583bfcbc135a5a7abab53bc",
"msg": [13, 1, 7, 1, 0, 10, 10, 11, 4, 14, 1],
"ct": [15, 2, 15, 0, 14, 15, 14, 6, 10, 8, 14],
"result": "valid"
},
{
"tcId": 1610,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "f7dc830506f2983338d18669",
"msg": [11, 0, 14, 5, 5, 3, 13, 14, 14, 9, 7],
"ct": [15, 15, 15, 15, 15, 10, 3, 3, 11, 14, 6],
"result": "valid"
},
{
"tcId": 1611,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "f7dc830506f2983338d18669",
"msg": [14, 0, 13, 9, 7, 2, 12, 12, 9, 9, 10],
"ct": [0, 0, 0, 0, 0, 12, 4, 1, 7, 15, 1],
"result": "valid"
},
{
"tcId": 1612,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "f7dc830506f2983338d18669",
"msg": [0, 3, 15, 8, 9, 8, 14, 12, 15, 0, 5],
"ct": [7, 15, 15, 15, 15, 10, 4, 2, 9, 3, 0],
"result": "valid"
},
{
"tcId": 1613,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "f7dc830506f2983338d18669",
"msg": [11, 1, 6, 2, 6, 12, 7, 1, 11, 1, 10],
"ct": [15, 15, 15, 15, 14, 9, 7, 3, 13, 14, 2],
"result": "valid"
},
{
"tcId": 1614,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07",
"tweak": "d0d85e79b79f69f7",
"msg": [-1, 15, 5, 8, 10, 4, 10, 10, 10, 9, 0],
"ct": [11, 9, 13, 9, 7, 7, 6, 14, 15, 8, 3],
"result": "invalid"
},
{
"tcId": 1615,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07",
"tweak": "d0d85e79b79f69f7",
"msg": [15, 15, 5, -1, 10, 4, 10, 10, 10, 9, 0],
"ct": [14, 10, 7, 15, 12, 10, 7, 6, 13, 4, 4],
"result": "invalid"
},
{
"tcId": 1616,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07",
"tweak": "d0d85e79b79f69f7",
"msg": [15, 15, 5, 8, 10, 4, 10, 10, 10, 9, -1],
"ct": [1, 11, 13, 9, 15, 12, 10, 8, 12, 1, 3],
"result": "invalid"
},
{
"tcId": 1617,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7cb4895576ad9354c02cbcbd41b5d57b44c76080c1b712e7",
"tweak": "31b015dba494b8d5",
"msg": [16, 6, 15, 1, 3, 2, 7, 3, 0, 14, 15],
"ct": [11, 12, 14, 4, 13, 7, 9, 5, 5, 4, 1],
"result": "invalid"
},
{
"tcId": 1618,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7cb4895576ad9354c02cbcbd41b5d57b44c76080c1b712e7",
"tweak": "31b015dba494b8d5",
"msg": [3, 6, 15, 16, 3, 2, 7, 3, 0, 14, 15],
"ct": [0, 5, 15, 15, 15, 6, 2, 14, 4, 8, 13],
"result": "invalid"
},
{
"tcId": 1619,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7cb4895576ad9354c02cbcbd41b5d57b44c76080c1b712e7",
"tweak": "31b015dba494b8d5",
"msg": [3, 6, 15, 1, 3, 2, 7, 3, 0, 14, 16],
"ct": [8, 10, 11, 7, 4, 7, 2, 10, 13, 4, 4],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 12,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1620,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "f095a5d39f0b499cef0130b4eb3bfae90253a1f30270efb5",
"tweak": "36b5ea2cee9c08d6",
"msg": [11, 0, 0, 5, 4, 10, 13, 2, 15, 13, 12, 15],
"ct": [6, 4, 15, 0, 15, 6, 11, 0, 13, 13, 11, 4],
"result": "valid"
},
{
"tcId": 1621,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 10, 11, 5, 6, 7, 5, 8, 1, 15, 3, 9],
"result": "valid"
},
{
"tcId": 1622,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [12, 4, 5, 8, 2, 10, 4, 14, 9, 4, 3, 0],
"result": "valid"
},
{
"tcId": 1623,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [8, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0],
"ct": [7, 0, 11, 0, 3, 10, 1, 0, 7, 4, 11, 11],
"result": "valid"
},
{
"tcId": 1624,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [7, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15],
"ct": [2, 12, 13, 0, 10, 9, 12, 6, 6, 14, 6, 8],
"result": "valid"
},
{
"tcId": 1625,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [12, 7, 6, 0, 15, 1, 9, 6, 14, 6, 2, 6],
"ct": [14, 14, 0, 14, 13, 6, 15, 8, 7, 9, 10, 4],
"result": "valid"
},
{
"tcId": 1626,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [13, 9, 3, 4, 0, 11, 6, 6, 10, 4, 6, 11],
"ct": [0, 2, 2, 4, 8, 8, 6, 4, 11, 8, 3, 1],
"result": "valid"
},
{
"tcId": 1627,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [12, 10, 7, 4, 3, 2, 6, 1, 6, 11, 9, 12],
"ct": [2, 13, 12, 12, 4, 12, 0, 1, 6, 12, 10, 7],
"result": "valid"
},
{
"tcId": 1628,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [8, 14, 3, 5, 6, 1, 5, 8, 10, 6, 10, 7],
"ct": [14, 13, 13, 4, 14, 13, 8, 4, 12, 10, 12, 14],
"result": "valid"
},
{
"tcId": 1629,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [10, 11, 4, 7, 13, 11, 0, 14, 11, 3, 4, 15],
"ct": [13, 8, 8, 0, 5, 4, 1, 5, 15, 6, 4, 9],
"result": "valid"
},
{
"tcId": 1630,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [9, 5, 9, 8, 12, 4, 12, 11, 0, 12, 11, 12],
"ct": [7, 12, 5, 2, 7, 5, 0, 10, 5, 10, 7, 12],
"result": "valid"
},
{
"tcId": 1631,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [14, 8, 12, 9, 2, 1, 6, 4, 14, 8, 4, 6],
"ct": [8, 10, 3, 13, 6, 1, 2, 4, 0, 1, 0, 12],
"result": "valid"
},
{
"tcId": 1632,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [14, 7, 2, 4, 0, 4, 11, 7, 11, 1, 13, 13],
"ct": [5, 14, 12, 9, 13, 9, 8, 12, 9, 7, 11, 7],
"result": "valid"
},
{
"tcId": 1633,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [3, 7, 14, 1, 0, 5, 7, 4, 7, 12, 8, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1634,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [11, 8, 8, 1, 6, 7, 12, 10, 5, 11, 1, 9],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1635,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [8, 11, 1, 1, 4, 14, 0, 12, 9, 13, 4, 3],
"ct": [8, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1636,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [12, 3, 1, 0, 13, 6, 7, 7, 10, 6, 6, 9],
"ct": [7, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1637,
"comment": "y = 0 and (y + a) % radix**6 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "5870a9a08939564c83d6f5ce",
"msg": [6, 12, 10, 6, 13, 7, 5, 14, 12, 9, 5, 12],
"ct": [0, 0, 0, 0, 0, 0, 14, 7, 9, 4, 7, 8],
"result": "valid"
},
{
"tcId": 1638,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "5870a9a08939564c83d6f5ce",
"msg": [6, 0, 1, 3, 9, 7, 3, 8, 13, 13, 0, 4],
"ct": [0, 0, 0, 0, 0, 1, 7, 8, 2, 2, 13, 12],
"result": "valid"
},
{
"tcId": 1639,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "5870a9a08939564c83d6f5ce",
"msg": [7, 7, 6, 9, 0, 2, 1, 15, 0, 13, 14, 10],
"ct": [8, 0, 0, 0, 0, 0, 11, 10, 6, 9, 11, 11],
"result": "valid"
},
{
"tcId": 1640,
"comment": "y = 0 and (y + a) % radix**6 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "5870a9a08939564c83d6f5ce",
"msg": [0, 6, 2, 11, 6, 12, 7, 0, 4, 8, 10, 6],
"ct": [15, 15, 15, 15, 15, 15, 10, 12, 13, 5, 6, 5],
"result": "valid"
},
{
"tcId": 1641,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "1432d76d5974112c52d9a5cd",
"msg": [6, 1, 10, 1, 2, 10, 12, 14, 12, 4, 9, 1],
"ct": [0, 0, 0, 0, 0, 1, 1, 0, 15, 13, 6, 6],
"result": "valid"
},
{
"tcId": 1642,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "1432d76d5974112c52d9a5cd",
"msg": [4, 3, 13, 10, 9, 2, 2, 10, 8, 8, 15, 4],
"ct": [0, 0, 0, 0, 0, 2, 1, 9, 0, 13, 2, 2],
"result": "valid"
},
{
"tcId": 1643,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "1432d76d5974112c52d9a5cd",
"msg": [7, 3, 15, 2, 1, 7, 1, 6, 5, 15, 8, 7],
"ct": [8, 0, 0, 0, 0, 1, 10, 9, 2, 14, 7, 4],
"result": "valid"
},
{
"tcId": 1644,
"comment": "y = 1 and (y + a) % radix**6 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "1432d76d5974112c52d9a5cd",
"msg": [7, 2, 4, 4, 14, 6, 1, 13, 9, 3, 6, 11],
"ct": [15, 15, 15, 15, 15, 15, 3, 6, 5, 5, 10, 9],
"result": "valid"
},
{
"tcId": 1645,
"comment": "y = 1 and (y + a) % radix**6 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "1432d76d5974112c52d9a5cd",
"msg": [10, 11, 7, 9, 7, 13, 14, 4, 10, 2, 1, 12],
"ct": [0, 0, 0, 0, 0, 0, 10, 1, 4, 3, 6, 12],
"result": "valid"
},
{
"tcId": 1646,
"comment": "y is maximal and (y + a) % radix**6 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "3b2a12e874f2ac7bf2e70e26",
"msg": [4, 10, 15, 8, 7, 5, 13, 8, 6, 13, 8, 7],
"ct": [14, 14, 8, 3, 1, 3, 4, 3, 12, 4, 10, 5],
"result": "valid"
},
{
"tcId": 1647,
"comment": "y is maximal and (y + a) % radix**6 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "3b2a12e874f2ac7bf2e70e26",
"msg": [8, 7, 8, 15, 11, 3, 14, 0, 12, 1, 14, 11],
"ct": [12, 2, 9, 10, 7, 11, 3, 4, 4, 15, 12, 12],
"result": "valid"
},
{
"tcId": 1648,
"comment": "y is maximal and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "3b2a12e874f2ac7bf2e70e26",
"msg": [1, 7, 8, 10, 6, 9, 11, 2, 7, 1, 13, 5],
"ct": [0, 5, 5, 6, 4, 12, 2, 12, 11, 12, 5, 4],
"result": "valid"
},
{
"tcId": 1649,
"comment": "y is maximal and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "3b2a12e874f2ac7bf2e70e26",
"msg": [7, 11, 5, 11, 9, 2, 11, 1, 0, 9, 14, 8],
"ct": [13, 4, 9, 4, 12, 5, 7, 1, 6, 7, 12, 11],
"result": "valid"
},
{
"tcId": 1650,
"comment": "y is edge case for modular reduction and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "bafd29a0ea4463fe1029a4dc",
"msg": [2, 1, 13, 0, 8, 7, 9, 15, 5, 1, 12, 5],
"ct": [9, 5, 9, 0, 6, 3, 11, 6, 12, 7, 9, 3],
"result": "valid"
},
{
"tcId": 1651,
"comment": "y is edge case for modular reduction and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "bafd29a0ea4463fe1029a4dc",
"msg": [14, 11, 13, 1, 11, 0, 7, 15, 3, 11, 10, 4],
"ct": [12, 5, 13, 9, 14, 0, 14, 0, 8, 15, 6, 4],
"result": "valid"
},
{
"tcId": 1652,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "bafd29a0ea4463fe1029a4dc",
"msg": [0, 14, 7, 12, 1, 3, 2, 3, 11, 4, 3, 9],
"ct": [12, 13, 9, 6, 11, 4, 15, 14, 4, 1, 13, 6],
"result": "valid"
},
{
"tcId": 1653,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "bafd29a0ea4463fe1029a4dc",
"msg": [8, 14, 13, 14, 12, 6, 10, 4, 14, 9, 13, 5],
"ct": [1, 0, 11, 8, 9, 12, 0, 4, 7, 4, 9, 9],
"result": "valid"
},
{
"tcId": 1654,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "bafd29a0ea4463fe1029a4dc",
"msg": [10, 14, 11, 0, 12, 3, 4, 0, 8, 4, 4, 0],
"ct": [15, 4, 2, 1, 3, 6, 8, 12, 5, 15, 13, 12],
"result": "valid"
},
{
"tcId": 1655,
"comment": "y is edge case for modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "bafd29a0ea4463fe1029a4dc",
"msg": [4, 0, 0, 3, 3, 9, 15, 1, 2, 12, 14, 1],
"ct": [3, 11, 12, 10, 15, 9, 11, 10, 10, 11, 3, 5],
"result": "valid"
},
{
"tcId": 1656,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "c624261c8916f7955326f16d",
"msg": [0, 0, 0, 0, 0, 0, 3, 15, 6, 15, 12, 15],
"ct": [8, 5, 7, 15, 11, 7, 6, 14, 5, 1, 3, 10],
"result": "valid"
},
{
"tcId": 1657,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "c624261c8916f7955326f16d",
"msg": [0, 0, 0, 0, 0, 1, 3, 15, 6, 15, 12, 15],
"ct": [8, 9, 10, 14, 13, 7, 0, 0, 15, 13, 10, 7],
"result": "valid"
},
{
"tcId": 1658,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "c624261c8916f7955326f16d",
"msg": [8, 0, 0, 0, 0, 0, 3, 15, 6, 15, 12, 15],
"ct": [7, 1, 14, 9, 10, 9, 7, 1, 9, 6, 2, 4],
"result": "valid"
},
{
"tcId": 1659,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "c624261c8916f7955326f16d",
"msg": [15, 15, 15, 15, 15, 15, 3, 15, 6, 15, 12, 15],
"ct": [8, 7, 3, 12, 0, 9, 3, 10, 10, 3, 8, 4],
"result": "valid"
},
{
"tcId": 1660,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f",
"tweak": "1f8dcd3dd4e01cbd",
"msg": [-1, 5, 7, 11, 5, 2, 7, 11, 5, 13, 15, 1],
"ct": [9, 9, 11, 5, 1, 12, 4, 3, 15, 7, 8, 13],
"result": "invalid"
},
{
"tcId": 1661,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f",
"tweak": "1f8dcd3dd4e01cbd",
"msg": [1, 5, 7, 11, -1, 2, 7, 11, 5, 13, 15, 1],
"ct": [10, 15, 5, 7, 13, 2, 6, 7, 5, 9, 8, 1],
"result": "invalid"
},
{
"tcId": 1662,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f",
"tweak": "1f8dcd3dd4e01cbd",
"msg": [1, 5, 7, 11, 5, 2, 7, 11, 5, 13, 15, -1],
"ct": [12, 0, 12, 13, 7, 2, 0, 11, 9, 11, 8, 13],
"result": "invalid"
},
{
"tcId": 1663,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2064d1b61dc600af46d60fe718181d835afb168c6be8fae1",
"tweak": "d60dc47610d5cf83",
"msg": [16, 4, 13, 6, 7, 0, 4, 14, 12, 13, 6, 8],
"ct": [3, 2, 4, 3, 11, 4, 12, 8, 4, 13, 4, 5],
"result": "invalid"
},
{
"tcId": 1664,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2064d1b61dc600af46d60fe718181d835afb168c6be8fae1",
"tweak": "d60dc47610d5cf83",
"msg": [3, 4, 13, 6, 16, 0, 4, 14, 12, 13, 6, 8],
"ct": [3, 10, 8, 15, 8, 12, 0, 4, 13, 9, 12, 5],
"result": "invalid"
},
{
"tcId": 1665,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2064d1b61dc600af46d60fe718181d835afb168c6be8fae1",
"tweak": "d60dc47610d5cf83",
"msg": [3, 4, 13, 6, 7, 0, 4, 14, 12, 13, 6, 16],
"ct": [9, 4, 7, 9, 7, 8, 6, 8, 7, 3, 8, 11],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 13,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1666,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "2b36e8a149dbee09bdfc43feaab6aa2d22f6b46b5a967013",
"tweak": "506f5152883327d6",
"msg": [10, 7, 6, 2, 1, 3, 10, 3, 15, 10, 14, 6, 1],
"ct": [6, 7, 3, 10, 15, 4, 14, 14, 8, 11, 3, 11, 9],
"result": "valid"
},
{
"tcId": 1667,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [6, 2, 9, 9, 12, 12, 0, 14, 6, 9, 14, 7, 9],
"result": "valid"
},
{
"tcId": 1668,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [5, 2, 8, 9, 2, 14, 9, 10, 6, 5, 13, 12, 7],
"result": "valid"
},
{
"tcId": 1669,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [8, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0],
"ct": [15, 3, 0, 7, 4, 8, 13, 13, 14, 1, 9, 8, 5],
"result": "valid"
},
{
"tcId": 1670,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [7, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15],
"ct": [6, 13, 10, 11, 0, 8, 12, 9, 10, 15, 5, 12, 8],
"result": "valid"
},
{
"tcId": 1671,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [6, 8, 7, 0, 8, 4, 11, 12, 5, 2, 15, 1, 3],
"ct": [10, 4, 8, 6, 6, 2, 12, 4, 9, 8, 8, 14, 8],
"result": "valid"
},
{
"tcId": 1672,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [4, 9, 11, 14, 4, 7, 5, 5, 2, 2, 12, 3, 9],
"ct": [13, 14, 14, 14, 14, 2, 14, 7, 1, 10, 8, 12, 15],
"result": "valid"
},
{
"tcId": 1673,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [6, 11, 4, 4, 1, 10, 6, 9, 0, 9, 0, 13, 9],
"ct": [9, 9, 3, 8, 6, 4, 14, 2, 0, 12, 2, 4, 0],
"result": "valid"
},
{
"tcId": 1674,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [11, 0, 11, 8, 2, 2, 4, 1, 0, 8, 3, 3, 1],
"ct": [10, 1, 7, 14, 13, 10, 11, 14, 7, 5, 13, 14, 13],
"result": "valid"
},
{
"tcId": 1675,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [11, 12, 1, 9, 2, 14, 4, 3, 13, 12, 9, 13, 14],
"ct": [1, 10, 5, 11, 2, 7, 14, 9, 3, 12, 10, 5, 15],
"result": "valid"
},
{
"tcId": 1676,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [1, 2, 4, 14, 4, 7, 9, 10, 5, 4, 14, 14, 7],
"ct": [4, 3, 9, 0, 14, 11, 14, 1, 1, 8, 0, 2, 13],
"result": "valid"
},
{
"tcId": 1677,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [1, 5, 13, 15, 13, 15, 6, 15, 2, 11, 14, 7, 10],
"ct": [4, 1, 3, 1, 6, 11, 3, 6, 14, 15, 13, 6, 7],
"result": "valid"
},
{
"tcId": 1678,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [9, 0, 15, 6, 2, 3, 0, 7, 1, 7, 5, 4, 6],
"ct": [2, 2, 12, 14, 3, 0, 14, 10, 4, 6, 15, 6, 11],
"result": "valid"
},
{
"tcId": 1679,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [8, 1, 14, 11, 15, 3, 14, 9, 13, 1, 12, 15, 4],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1680,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [3, 7, 14, 13, 12, 14, 8, 11, 12, 15, 0, 6, 0],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1681,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [0, 9, 14, 6, 15, 10, 13, 5, 5, 4, 0, 7, 0],
"ct": [8, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1682,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [4, 15, 7, 7, 0, 10, 6, 13, 9, 6, 12, 13, 13],
"ct": [7, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1683,
"comment": "y = 0 and (y + a) % radix**6 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "7999fdcd34539cb1bb5745",
"msg": [6, 8, 8, 2, 0, 7, 0, 10, 7, 8, 10, 14, 10],
"ct": [5, 6, 3, 13, 15, 6, 9, 3, 9, 11, 11, 10, 3],
"result": "valid"
},
{
"tcId": 1684,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "7999fdcd34539cb1bb5745",
"msg": [6, 9, 14, 0, 10, 5, 10, 14, 13, 0, 11, 9, 14],
"ct": [10, 6, 12, 0, 8, 3, 5, 14, 6, 3, 8, 15, 1],
"result": "valid"
},
{
"tcId": 1685,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "7999fdcd34539cb1bb5745",
"msg": [4, 13, 9, 1, 8, 15, 4, 1, 8, 2, 11, 5, 4],
"ct": [15, 2, 1, 3, 12, 7, 15, 11, 10, 12, 12, 3, 9],
"result": "valid"
},
{
"tcId": 1686,
"comment": "y = 0 and (y + a) % radix**6 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "7999fdcd34539cb1bb5745",
"msg": [9, 2, 0, 7, 12, 15, 0, 4, 5, 10, 9, 11, 11],
"ct": [0, 14, 14, 11, 15, 14, 2, 2, 7, 3, 15, 10, 14],
"result": "valid"
},
{
"tcId": 1687,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "eeee73a48102c409086ba3",
"msg": [3, 1, 3, 6, 3, 6, 2, 8, 13, 15, 13, 8, 14],
"ct": [0, 0, 0, 0, 0, 1, 12, 15, 1, 6, 15, 11, 11],
"result": "valid"
},
{
"tcId": 1688,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "eeee73a48102c409086ba3",
"msg": [0, 7, 14, 6, 8, 6, 2, 2, 0, 4, 13, 12, 3],
"ct": [0, 0, 0, 0, 0, 2, 0, 3, 2, 12, 15, 6, 7],
"result": "valid"
},
{
"tcId": 1689,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "eeee73a48102c409086ba3",
"msg": [15, 0, 11, 14, 2, 14, 8, 6, 8, 11, 2, 10, 14],
"ct": [8, 0, 0, 0, 0, 1, 12, 4, 7, 3, 11, 5, 13],
"result": "valid"
},
{
"tcId": 1690,
"comment": "y = 1 and (y + a) % radix**6 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "eeee73a48102c409086ba3",
"msg": [13, 0, 15, 9, 13, 12, 7, 15, 6, 5, 15, 8, 3],
"ct": [15, 15, 15, 15, 15, 15, 12, 5, 7, 10, 14, 6, 5],
"result": "valid"
},
{
"tcId": 1691,
"comment": "y = 1 and (y + a) % radix**6 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "eeee73a48102c409086ba3",
"msg": [2, 12, 14, 8, 11, 12, 9, 11, 8, 7, 2, 3, 7],
"ct": [0, 0, 0, 0, 0, 0, 7, 14, 3, 2, 5, 14, 4],
"result": "valid"
},
{
"tcId": 1692,
"comment": "y is maximal and (y + a) % radix**6 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "f411039c18585daafb2ef3",
"msg": [5, 15, 10, 3, 10, 4, 10, 5, 3, 6, 14, 14, 3],
"ct": [2, 12, 8, 5, 7, 2, 2, 12, 9, 15, 14, 2, 10],
"result": "valid"
},
{
"tcId": 1693,
"comment": "y is maximal and (y + a) % radix**6 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "f411039c18585daafb2ef3",
"msg": [5, 2, 11, 4, 15, 0, 13, 0, 15, 12, 3, 12, 6],
"ct": [10, 14, 1, 10, 11, 10, 2, 10, 6, 0, 8, 5, 13],
"result": "valid"
},
{
"tcId": 1694,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "f411039c18585daafb2ef3",
"msg": [3, 5, 6, 1, 9, 2, 9, 9, 9, 14, 5, 7, 10],
"ct": [2, 3, 3, 10, 10, 14, 13, 6, 13, 13, 7, 4, 7],
"result": "valid"
},
{
"tcId": 1695,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "f411039c18585daafb2ef3",
"msg": [14, 7, 15, 7, 13, 14, 10, 9, 8, 5, 9, 11, 14],
"ct": [1, 2, 1, 14, 1, 15, 13, 9, 6, 1, 15, 13, 15],
"result": "valid"
},
{
"tcId": 1696,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "fe4e634e968ef2de8a49f4",
"msg": [11, 7, 5, 10, 9, 12, 7, 13, 4, 13, 14, 7, 4],
"ct": [15, 15, 15, 15, 15, 0, 7, 1, 7, 9, 0, 1, 14],
"result": "valid"
},
{
"tcId": 1697,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "fe4e634e968ef2de8a49f4",
"msg": [14, 6, 12, 7, 2, 3, 5, 2, 5, 2, 13, 12, 1],
"ct": [15, 15, 15, 15, 15, 1, 7, 0, 13, 1, 13, 6, 14],
"result": "valid"
},
{
"tcId": 1698,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "fe4e634e968ef2de8a49f4",
"msg": [0, 0, 14, 14, 7, 10, 14, 6, 8, 7, 1, 10, 4],
"ct": [15, 15, 15, 15, 15, 15, 7, 12, 0, 14, 0, 1, 15],
"result": "valid"
},
{
"tcId": 1699,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "fe4e634e968ef2de8a49f4",
"msg": [9, 7, 12, 0, 6, 2, 6, 6, 8, 10, 13, 15, 13],
"ct": [0, 0, 0, 0, 0, 0, 9, 3, 0, 11, 3, 12, 4],
"result": "valid"
},
{
"tcId": 1700,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "fe4e634e968ef2de8a49f4",
"msg": [10, 4, 12, 7, 6, 0, 10, 8, 13, 11, 9, 5, 15],
"ct": [7, 15, 15, 15, 15, 0, 5, 12, 2, 0, 0, 4, 3],
"result": "valid"
},
{
"tcId": 1701,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "fe4e634e968ef2de8a49f4",
"msg": [0, 9, 15, 2, 5, 3, 9, 5, 9, 11, 0, 6, 10],
"ct": [15, 15, 15, 15, 14, 15, 10, 9, 11, 3, 9, 14, 15],
"result": "valid"
},
{
"tcId": 1702,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "8bb8e4932952cc166a4ffe",
"msg": [0, 0, 0, 0, 0, 0, 5, 4, 7, 5, 13, 3, 15],
"ct": [0, 8, 13, 8, 11, 11, 10, 3, 11, 13, 8, 7, 11],
"result": "valid"
},
{
"tcId": 1703,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "8bb8e4932952cc166a4ffe",
"msg": [0, 0, 0, 0, 0, 1, 5, 4, 7, 5, 13, 3, 15],
"ct": [1, 13, 1, 11, 15, 2, 3, 15, 9, 13, 1, 9, 13],
"result": "valid"
},
{
"tcId": 1704,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "8bb8e4932952cc166a4ffe",
"msg": [8, 0, 0, 0, 0, 0, 5, 4, 7, 5, 13, 3, 15],
"ct": [14, 5, 7, 15, 8, 13, 3, 9, 0, 8, 5, 10, 1],
"result": "valid"
},
{
"tcId": 1705,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "8bb8e4932952cc166a4ffe",
"msg": [15, 15, 15, 15, 15, 15, 5, 4, 7, 5, 13, 3, 15],
"ct": [12, 0, 4, 1, 15, 14, 14, 2, 5, 4, 4, 9, 5],
"result": "valid"
},
{
"tcId": 1706,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f",
"tweak": "bd80cf69edccc86d",
"msg": [-1, 13, 2, 9, 0, 1, 0, 8, 5, 14, 3, 12, 5],
"ct": [1, 11, 5, 15, 1, 5, 6, 6, 0, 12, 4, 8, 1],
"result": "invalid"
},
{
"tcId": 1707,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f",
"tweak": "bd80cf69edccc86d",
"msg": [4, 13, 2, 9, -1, 1, 0, 8, 5, 14, 3, 12, 5],
"ct": [2, 6, 9, 9, 15, 12, 1, 4, 10, 10, 10, 11, 1],
"result": "invalid"
},
{
"tcId": 1708,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f",
"tweak": "bd80cf69edccc86d",
"msg": [4, 13, 2, 9, 0, 1, 0, 8, 5, 14, 3, 12, -1],
"ct": [4, 12, 11, 4, 5, 13, 5, 8, 6, 13, 8, 7, 0],
"result": "invalid"
},
{
"tcId": 1709,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0c7e18889d2f8a7b4e23962d6a9420124c04bfbf95dc90cf",
"tweak": "5babab017128b334",
"msg": [16, 0, 5, 7, 14, 11, 15, 12, 0, 9, 14, 0, 13],
"ct": [3, 10, 1, 6, 11, 10, 3, 3, 8, 6, 1, 2, 5],
"result": "invalid"
},
{
"tcId": 1710,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0c7e18889d2f8a7b4e23962d6a9420124c04bfbf95dc90cf",
"tweak": "5babab017128b334",
"msg": [11, 0, 5, 7, 16, 11, 15, 12, 0, 9, 14, 0, 13],
"ct": [4, 7, 1, 0, 0, 8, 10, 2, 9, 4, 6, 11, 7],
"result": "invalid"
},
{
"tcId": 1711,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0c7e18889d2f8a7b4e23962d6a9420124c04bfbf95dc90cf",
"tweak": "5babab017128b334",
"msg": [11, 0, 5, 7, 14, 11, 15, 12, 0, 9, 14, 0, 16],
"ct": [11, 10, 12, 3, 9, 0, 5, 12, 1, 1, 5, 8, 0],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 14,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1712,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "4a9421ed0d8105f41f06225c61a861adc98d34d2700dfd63",
"tweak": "6f60cf632424685f",
"msg": [6, 8, 3, 3, 12, 2, 8, 15, 15, 14, 8, 15, 8, 13],
"ct": [11, 15, 15, 14, 14, 2, 8, 6, 3, 1, 11, 15, 6, 4],
"result": "valid"
},
{
"tcId": 1713,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 10, 0, 13, 8, 3, 12, 0, 15, 6, 11, 12, 14, 12],
"result": "valid"
},
{
"tcId": 1714,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [1, 8, 9, 7, 5, 14, 12, 7, 15, 11, 12, 7, 7, 0],
"result": "valid"
},
{
"tcId": 1715,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [8, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0],
"ct": [1, 0, 5, 2, 6, 2, 14, 13, 0, 6, 6, 2, 7, 14],
"result": "valid"
},
{
"tcId": 1716,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [7, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15],
"ct": [11, 5, 13, 5, 0, 15, 2, 15, 14, 5, 11, 7, 10, 15],
"result": "valid"
},
{
"tcId": 1717,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [3, 3, 6, 9, 3, 2, 1, 3, 7, 4, 5, 8, 13, 4],
"ct": [10, 7, 4, 4, 14, 15, 11, 3, 3, 11, 1, 12, 8, 12],
"result": "valid"
},
{
"tcId": 1718,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [2, 10, 14, 3, 10, 4, 14, 1, 0, 3, 3, 3, 4, 8],
"ct": [8, 11, 3, 11, 2, 14, 1, 3, 2, 12, 4, 3, 10, 11],
"result": "valid"
},
{
"tcId": 1719,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [6, 11, 6, 4, 12, 14, 11, 9, 8, 8, 10, 3, 15, 6],
"ct": [9, 0, 2, 15, 3, 6, 3, 2, 3, 12, 2, 10, 3, 5],
"result": "valid"
},
{
"tcId": 1720,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [1, 15, 2, 7, 9, 7, 4, 5, 9, 5, 14, 1, 13, 3],
"ct": [10, 5, 2, 6, 6, 15, 14, 9, 9, 14, 1, 15, 11, 12],
"result": "valid"
},
{
"tcId": 1721,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [15, 8, 11, 13, 4, 6, 3, 14, 2, 15, 7, 15, 6, 5],
"ct": [6, 7, 5, 11, 7, 6, 1, 12, 11, 12, 7, 6, 14, 5],
"result": "valid"
},
{
"tcId": 1722,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [14, 0, 14, 1, 13, 9, 8, 8, 6, 3, 1, 7, 15, 13],
"ct": [12, 7, 13, 2, 15, 4, 7, 11, 3, 12, 15, 15, 12, 9],
"result": "valid"
},
{
"tcId": 1723,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [12, 15, 13, 13, 5, 0, 6, 12, 8, 13, 6, 10, 7, 2],
"ct": [7, 9, 7, 13, 12, 15, 6, 0, 4, 2, 1, 14, 3, 6],
"result": "valid"
},
{
"tcId": 1724,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [1, 12, 5, 10, 12, 6, 3, 12, 15, 10, 5, 5, 4, 6],
"ct": [3, 15, 10, 7, 3, 15, 13, 3, 2, 7, 5, 2, 1, 6],
"result": "valid"
},
{
"tcId": 1725,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [0, 7, 13, 3, 5, 14, 12, 6, 3, 13, 0, 7, 7, 15],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1726,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [6, 5, 10, 0, 1, 8, 9, 1, 10, 13, 6, 11, 9, 0],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1727,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [1, 3, 0, 5, 9, 12, 3, 9, 14, 14, 15, 8, 12, 2],
"ct": [8, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1728,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [1, 4, 1, 8, 12, 1, 1, 1, 14, 15, 4, 13, 7, 10],
"ct": [7, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1729,
"comment": "y = 0 and (y + a) % radix**7 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "8cdb0ddc2b0b7b833d890f",
"msg": [15, 15, 12, 6, 12, 3, 7, 6, 15, 11, 6, 10, 10, 8],
"ct": [0, 2, 1, 12, 15, 2, 11, 10, 15, 14, 4, 5, 9, 0],
"result": "valid"
},
{
"tcId": 1730,
"comment": "y = 0 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "8cdb0ddc2b0b7b833d890f",
"msg": [1, 5, 8, 12, 4, 8, 11, 10, 2, 8, 9, 13, 7, 14],
"ct": [12, 2, 13, 11, 0, 13, 7, 3, 11, 4, 5, 7, 10, 6],
"result": "valid"
},
{
"tcId": 1731,
"comment": "y = 0 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "8cdb0ddc2b0b7b833d890f",
"msg": [15, 5, 14, 9, 8, 1, 11, 6, 8, 5, 15, 15, 1, 1],
"ct": [6, 11, 14, 1, 8, 1, 8, 3, 5, 7, 3, 7, 14, 6],
"result": "valid"
},
{
"tcId": 1732,
"comment": "y = 0 and (y + a) % radix**7 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "8cdb0ddc2b0b7b833d890f",
"msg": [8, 0, 9, 4, 8, 10, 15, 9, 11, 7, 5, 1, 6, 1],
"ct": [6, 8, 3, 13, 6, 11, 6, 10, 15, 11, 10, 8, 5, 11],
"result": "valid"
},
{
"tcId": 1733,
"comment": "y = 1 and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "2ac9aa94863dd6f09fcb61",
"msg": [9, 7, 8, 12, 11, 0, 4, 7, 5, 1, 3, 9, 7, 1],
"ct": [3, 8, 10, 2, 10, 14, 10, 7, 13, 9, 10, 4, 5, 8],
"result": "valid"
},
{
"tcId": 1734,
"comment": "y = 1 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "2ac9aa94863dd6f09fcb61",
"msg": [11, 9, 6, 15, 15, 11, 10, 3, 11, 11, 7, 12, 3, 15],
"ct": [8, 14, 15, 14, 10, 0, 12, 8, 3, 7, 7, 11, 12, 2],
"result": "valid"
},
{
"tcId": 1735,
"comment": "y = 1 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "2ac9aa94863dd6f09fcb61",
"msg": [7, 1, 7, 5, 8, 10, 10, 13, 4, 5, 14, 0, 0, 9],
"ct": [14, 9, 5, 15, 4, 8, 11, 11, 14, 3, 3, 3, 11, 5],
"result": "valid"
},
{
"tcId": 1736,
"comment": "y = 1 and (y + a) % radix**7 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "2ac9aa94863dd6f09fcb61",
"msg": [5, 8, 2, 0, 1, 3, 13, 13, 8, 13, 0, 1, 3, 4],
"ct": [7, 6, 9, 8, 3, 3, 0, 0, 6, 12, 7, 12, 8, 7],
"result": "valid"
},
{
"tcId": 1737,
"comment": "y = 1 and (y + a) % radix**7 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "2ac9aa94863dd6f09fcb61",
"msg": [4, 9, 6, 8, 12, 2, 5, 6, 11, 15, 3, 15, 12, 12],
"ct": [4, 9, 5, 14, 12, 4, 12, 15, 15, 15, 13, 5, 14, 7],
"result": "valid"
},
{
"tcId": 1738,
"comment": "y is maximal and (y + a) % radix**7 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "1cf175664b8c2adbdf3667",
"msg": [0, 1, 14, 14, 6, 4, 8, 14, 9, 14, 7, 2, 5, 12],
"ct": [9, 7, 14, 5, 15, 14, 5, 7, 14, 13, 3, 4, 7, 9],
"result": "valid"
},
{
"tcId": 1739,
"comment": "y is maximal and (y + a) % radix**7 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "1cf175664b8c2adbdf3667",
"msg": [11, 3, 11, 3, 3, 13, 4, 9, 11, 1, 6, 13, 14, 3],
"ct": [3, 0, 11, 0, 13, 13, 2, 2, 4, 1, 4, 12, 13, 10],
"result": "valid"
},
{
"tcId": 1740,
"comment": "y is maximal and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "1cf175664b8c2adbdf3667",
"msg": [8, 12, 13, 12, 6, 10, 4, 5, 3, 13, 7, 8, 6, 7],
"ct": [3, 6, 2, 1, 8, 3, 14, 14, 14, 8, 6, 9, 10, 15],
"result": "valid"
},
{
"tcId": 1741,
"comment": "y is maximal and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "1cf175664b8c2adbdf3667",
"msg": [11, 14, 15, 10, 10, 8, 3, 4, 13, 0, 7, 3, 10, 15],
"ct": [4, 10, 12, 1, 6, 11, 12, 2, 5, 5, 6, 13, 3, 10],
"result": "valid"
},
{
"tcId": 1742,
"comment": "y is edge case for modular reduction and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "e1e999b31f75082bc4cc50",
"msg": [6, 8, 9, 9, 4, 8, 5, 6, 0, 4, 9, 2, 2, 3],
"ct": [5, 3, 8, 3, 14, 11, 8, 15, 15, 15, 15, 15, 15, 0],
"result": "valid"
},
{
"tcId": 1743,
"comment": "y is edge case for modular reduction and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "e1e999b31f75082bc4cc50",
"msg": [9, 2, 3, 14, 15, 8, 6, 12, 9, 14, 4, 12, 5, 3],
"ct": [5, 3, 8, 3, 14, 11, 8, 15, 15, 15, 15, 15, 15, 1],
"result": "valid"
},
{
"tcId": 1744,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "e1e999b31f75082bc4cc50",
"msg": [0, 10, 7, 10, 11, 2, 6, 13, 4, 3, 1, 13, 14, 8],
"ct": [5, 3, 8, 3, 14, 11, 8, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1745,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "e1e999b31f75082bc4cc50",
"msg": [13, 9, 12, 8, 8, 3, 15, 9, 10, 1, 14, 4, 11, 15],
"ct": [5, 3, 8, 3, 14, 11, 8, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1746,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "e1e999b31f75082bc4cc50",
"msg": [12, 2, 11, 2, 4, 7, 8, 11, 9, 11, 10, 11, 10, 12],
"ct": [5, 3, 8, 3, 14, 11, 8, 7, 15, 15, 15, 15, 15, 0],
"result": "valid"
},
{
"tcId": 1747,
"comment": "y is edge case for modular reduction and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "e1e999b31f75082bc4cc50",
"msg": [14, 12, 10, 12, 5, 9, 2, 10, 7, 15, 12, 9, 2, 11],
"ct": [5, 3, 8, 3, 14, 11, 8, 15, 15, 15, 15, 15, 14, 15],
"result": "valid"
},
{
"tcId": 1748,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "a406a621c5516dfc5ba3e5",
"msg": [0, 15, 3, 10, 11, 9, 10, 7, 10, 0, 3, 7, 13, 7],
"ct": [0, 11, 14, 4, 12, 4, 3, 2, 0, 9, 11, 5, 2, 5],
"result": "valid"
},
{
"tcId": 1749,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "a406a621c5516dfc5ba3e5",
"msg": [1, 14, 14, 9, 13, 9, 9, 5, 3, 7, 15, 2, 0, 3],
"ct": [14, 13, 12, 2, 7, 10, 7, 7, 1, 13, 8, 9, 9, 14],
"result": "valid"
},
{
"tcId": 1750,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "a406a621c5516dfc5ba3e5",
"msg": [3, 15, 8, 13, 8, 13, 7, 0, 15, 13, 1, 8, 9, 14],
"ct": [14, 6, 14, 12, 12, 10, 0, 15, 15, 12, 14, 9, 15, 14],
"result": "valid"
},
{
"tcId": 1751,
"comment": "y is maximal after modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "a406a621c5516dfc5ba3e5",
"msg": [12, 14, 13, 15, 4, 15, 2, 0, 6, 0, 14, 9, 2, 12],
"ct": [5, 6, 5, 1, 3, 8, 11, 9, 8, 14, 2, 7, 7, 8],
"result": "valid"
},
{
"tcId": 1752,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5",
"tweak": "9a07b801ec3e37d6",
"msg": [-1, 8, 2, 6, 11, 15, 2, 13, 2, 0, 0, 9, 14, 6],
"ct": [3, 8, 15, 14, 15, 8, 0, 6, 15, 6, 11, 14, 6, 9],
"result": "invalid"
},
{
"tcId": 1753,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5",
"tweak": "9a07b801ec3e37d6",
"msg": [15, 8, 2, 6, -1, 15, 2, 13, 2, 0, 0, 9, 14, 6],
"ct": [1, 12, 2, 1, 12, 4, 4, 10, 5, 13, 3, 5, 2, 7],
"result": "invalid"
},
{
"tcId": 1754,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5",
"tweak": "9a07b801ec3e37d6",
"msg": [15, 8, 2, 6, 11, 15, 2, 13, 2, 0, 0, 9, 14, -1],
"ct": [12, 11, 3, 9, 4, 0, 0, 1, 14, 6, 14, 15, 4, 11],
"result": "invalid"
},
{
"tcId": 1755,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2a3ab51f7b3bc04ec9bf56d3acee6f86bd23ab88dc27c894",
"tweak": "b0fbbfe73bdf7844",
"msg": [16, 10, 6, 5, 11, 8, 8, 3, 1, 4, 1, 2, 11, 9],
"ct": [13, 12, 4, 9, 10, 3, 11, 9, 7, 9, 11, 8, 2, 0],
"result": "invalid"
},
{
"tcId": 1756,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2a3ab51f7b3bc04ec9bf56d3acee6f86bd23ab88dc27c894",
"tweak": "b0fbbfe73bdf7844",
"msg": [6, 10, 6, 5, 16, 8, 8, 3, 1, 4, 1, 2, 11, 9],
"ct": [13, 6, 7, 14, 14, 1, 11, 9, 7, 12, 5, 11, 10, 10],
"result": "invalid"
},
{
"tcId": 1757,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2a3ab51f7b3bc04ec9bf56d3acee6f86bd23ab88dc27c894",
"tweak": "b0fbbfe73bdf7844",
"msg": [6, 10, 6, 5, 11, 8, 8, 3, 1, 4, 1, 2, 11, 16],
"ct": [6, 14, 13, 3, 7, 14, 1, 7, 7, 9, 1, 4, 6, 7],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 15,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1758,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "38c2d6d8d1717f48e8e7bc3d54820ee7de2cecf0fc6f167b",
"tweak": "7a3ce6a3066b2e0b",
"msg": [6, 2, 5, 5, 11, 8, 12, 9, 10, 1, 15, 6, 0, 4, 14],
"ct": [12, 1, 6, 14, 12, 0, 9, 15, 12, 3, 2, 3, 3, 9, 10],
"result": "valid"
},
{
"tcId": 1759,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [7, 6, 13, 4, 7, 6, 5, 11, 5, 13, 11, 15, 3, 13, 0],
"result": "valid"
},
{
"tcId": 1760,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [0, 14, 11, 0, 6, 12, 13, 2, 14, 2, 0, 6, 12, 13, 1],
"result": "valid"
},
{
"tcId": 1761,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [8, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 5, 7, 0, 2, 10, 6, 10, 10, 12, 6, 11, 6, 15, 7],
"result": "valid"
},
{
"tcId": 1762,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [7, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15],
"ct": [0, 7, 12, 4, 1, 10, 13, 6, 8, 6, 1, 3, 15, 15, 8],
"result": "valid"
},
{
"tcId": 1763,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [0, 15, 11, 4, 15, 6, 3, 2, 4, 15, 11, 3, 10, 2, 11],
"ct": [3, 2, 15, 11, 12, 9, 0, 6, 2, 13, 12, 15, 11, 5, 8],
"result": "valid"
},
{
"tcId": 1764,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [9, 3, 4, 0, 1, 13, 1, 4, 13, 11, 5, 2, 2, 2, 3],
"ct": [1, 14, 1, 13, 11, 13, 6, 13, 12, 8, 13, 2, 14, 12, 5],
"result": "valid"
},
{
"tcId": 1765,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [5, 15, 4, 14, 6, 2, 1, 9, 6, 15, 3, 13, 15, 0, 7],
"ct": [11, 14, 11, 9, 14, 3, 15, 13, 7, 3, 10, 6, 8, 12, 11],
"result": "valid"
},
{
"tcId": 1766,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [14, 9, 8, 8, 15, 10, 10, 8, 10, 8, 3, 10, 13, 0, 3],
"ct": [6, 7, 7, 7, 7, 14, 13, 13, 6, 7, 14, 13, 13, 3, 2],
"result": "valid"
},
{
"tcId": 1767,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [14, 15, 13, 14, 3, 4, 3, 11, 0, 11, 4, 10, 5, 4, 9],
"ct": [14, 15, 15, 8, 8, 1, 4, 0, 1, 1, 2, 15, 0, 0, 13],
"result": "valid"
},
{
"tcId": 1768,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [15, 0, 4, 0, 7, 2, 9, 9, 15, 2, 5, 5, 1, 2, 9],
"ct": [15, 14, 15, 1, 13, 5, 1, 14, 2, 15, 2, 14, 4, 14, 10],
"result": "valid"
},
{
"tcId": 1769,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [5, 5, 5, 1, 2, 4, 7, 1, 1, 14, 8, 9, 1, 1, 11],
"ct": [3, 12, 0, 10, 5, 6, 9, 11, 12, 7, 9, 7, 8, 14, 4],
"result": "valid"
},
{
"tcId": 1770,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [13, 0, 1, 2, 10, 6, 15, 7, 2, 7, 9, 3, 3, 13, 11],
"ct": [7, 6, 0, 11, 11, 10, 4, 14, 14, 13, 10, 2, 13, 8, 2],
"result": "valid"
},
{
"tcId": 1771,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [4, 2, 5, 11, 4, 1, 1, 0, 15, 0, 1, 3, 7, 2, 5],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1772,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [14, 14, 13, 11, 10, 3, 7, 5, 1, 5, 12, 4, 0, 1, 7],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1773,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [14, 10, 13, 4, 9, 6, 6, 12, 2, 15, 14, 7, 1, 8, 9],
"ct": [8, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1774,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [4, 8, 14, 4, 12, 2, 0, 4, 0, 10, 1, 14, 11, 9, 2],
"ct": [7, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1775,
"comment": "y = 0 and (y + a) % radix**7 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "ecb5807e2090c0fbe3400e",
"msg": [0, 1, 1, 15, 4, 8, 8, 13, 9, 10, 4, 13, 2, 3, 6],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 4, 5, 10, 8, 2, 1, 10],
"result": "valid"
},
{
"tcId": 1776,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "ecb5807e2090c0fbe3400e",
"msg": [1, 5, 3, 5, 14, 3, 13, 5, 4, 10, 12, 1, 7, 1, 8],
"ct": [0, 0, 0, 0, 0, 0, 1, 6, 5, 0, 2, 8, 2, 6, 12],
"result": "valid"
},
{
"tcId": 1777,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "ecb5807e2090c0fbe3400e",
"msg": [2, 2, 15, 12, 9, 8, 2, 13, 9, 4, 3, 5, 0, 2, 7],
"ct": [8, 0, 0, 0, 0, 0, 0, 2, 9, 3, 4, 14, 9, 14, 12],
"result": "valid"
},
{
"tcId": 1778,
"comment": "y = 0 and (y + a) % radix**7 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "ecb5807e2090c0fbe3400e",
"msg": [8, 3, 3, 14, 1, 3, 12, 1, 0, 5, 1, 3, 3, 15, 2],
"ct": [15, 15, 15, 15, 15, 15, 15, 4, 15, 9, 8, 7, 1, 9, 3],
"result": "valid"
},
{
"tcId": 1779,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "00d01174dc8aeb53ecb2fb",
"msg": [1, 8, 4, 2, 8, 13, 2, 10, 2, 1, 5, 0, 8, 15, 12],
"ct": [0, 4, 10, 9, 8, 11, 13, 9, 5, 2, 5, 6, 9, 13, 15],
"result": "valid"
},
{
"tcId": 1780,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "00d01174dc8aeb53ecb2fb",
"msg": [3, 10, 11, 8, 1, 4, 13, 4, 8, 4, 8, 11, 1, 3, 2],
"ct": [9, 2, 5, 13, 2, 6, 5, 14, 5, 3, 1, 15, 8, 7, 4],
"result": "valid"
},
{
"tcId": 1781,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "00d01174dc8aeb53ecb2fb",
"msg": [10, 12, 4, 5, 14, 6, 12, 1, 14, 12, 6, 0, 12, 14, 12],
"ct": [8, 14, 14, 13, 14, 5, 3, 8, 3, 9, 1, 5, 12, 2, 3],
"result": "valid"
},
{
"tcId": 1782,
"comment": "y = 1 and (y + a) % radix**7 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "00d01174dc8aeb53ecb2fb",
"msg": [4, 2, 7, 8, 4, 12, 15, 5, 2, 1, 13, 3, 6, 12, 2],
"ct": [10, 14, 4, 12, 7, 1, 12, 8, 11, 3, 13, 8, 10, 11, 6],
"result": "valid"
},
{
"tcId": 1783,
"comment": "y = 1 and (y + a) % radix**7 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "00d01174dc8aeb53ecb2fb",
"msg": [2, 1, 11, 15, 3, 5, 11, 14, 14, 12, 9, 15, 13, 2, 0],
"ct": [2, 13, 4, 5, 15, 12, 7, 13, 3, 0, 3, 11, 14, 10, 0],
"result": "valid"
},
{
"tcId": 1784,
"comment": "y is maximal and (y + a) % radix**7 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "aeaf8e82b0d9dac4150b00",
"msg": [0, 0, 0, 0, 0, 0, 0, 6, 11, 1, 15, 6, 9, 4, 5],
"ct": [8, 10, 7, 13, 5, 2, 14, 10, 15, 10, 10, 0, 14, 8, 8],
"result": "valid"
},
{
"tcId": 1785,
"comment": "y is maximal and (y + a) % radix**7 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "aeaf8e82b0d9dac4150b00",
"msg": [0, 0, 0, 0, 0, 0, 1, 6, 11, 1, 15, 6, 9, 4, 5],
"ct": [6, 1, 4, 11, 3, 6, 9, 6, 11, 12, 10, 15, 3, 5, 12],
"result": "valid"
},
{
"tcId": 1786,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "aeaf8e82b0d9dac4150b00",
"msg": [8, 0, 0, 0, 0, 0, 0, 6, 11, 1, 15, 6, 9, 4, 5],
"ct": [9, 0, 4, 4, 9, 9, 10, 3, 7, 13, 9, 5, 4, 12, 7],
"result": "valid"
},
{
"tcId": 1787,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "aeaf8e82b0d9dac4150b00",
"msg": [15, 15, 15, 15, 15, 15, 15, 6, 11, 1, 15, 6, 9, 4, 5],
"ct": [7, 10, 15, 4, 2, 11, 4, 10, 8, 9, 8, 6, 13, 13, 0],
"result": "valid"
},
{
"tcId": 1788,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "d48b589e3218a34c3c5032",
"msg": [5, 12, 2, 7, 10, 9, 15, 12, 13, 14, 4, 4, 7, 11, 9],
"ct": [12, 12, 11, 3, 0, 4, 15, 5, 0, 2, 11, 12, 1, 0, 13],
"result": "valid"
},
{
"tcId": 1789,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "d48b589e3218a34c3c5032",
"msg": [1, 10, 2, 4, 5, 4, 4, 15, 13, 7, 5, 12, 10, 8, 10],
"ct": [4, 12, 13, 15, 15, 1, 0, 4, 13, 7, 15, 15, 4, 12, 4],
"result": "valid"
},
{
"tcId": 1790,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "d48b589e3218a34c3c5032",
"msg": [11, 7, 10, 11, 12, 13, 3, 2, 3, 9, 3, 12, 1, 15, 12],
"ct": [2, 1, 7, 10, 3, 9, 2, 8, 3, 10, 9, 4, 8, 0, 3],
"result": "valid"
},
{
"tcId": 1791,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "d48b589e3218a34c3c5032",
"msg": [2, 2, 6, 9, 11, 4, 0, 4, 4, 4, 15, 11, 7, 12, 11],
"ct": [9, 14, 2, 2, 9, 0, 10, 15, 8, 4, 5, 2, 10, 4, 1],
"result": "valid"
},
{
"tcId": 1792,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "d48b589e3218a34c3c5032",
"msg": [1, 7, 0, 7, 7, 4, 11, 13, 4, 2, 6, 2, 2, 15, 11],
"ct": [9, 9, 9, 13, 8, 10, 3, 13, 11, 9, 12, 10, 10, 3, 1],
"result": "valid"
},
{
"tcId": 1793,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "d48b589e3218a34c3c5032",
"msg": [4, 1, 11, 15, 4, 8, 8, 1, 7, 1, 11, 8, 14, 13, 14],
"ct": [6, 14, 5, 15, 2, 7, 12, 10, 4, 1, 0, 5, 0, 2, 1],
"result": "valid"
},
{
"tcId": 1794,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "727bc37a08210a52a43286",
"msg": [5, 10, 15, 1, 15, 5, 6, 12, 15, 8, 12, 5, 5, 13, 14],
"ct": [10, 15, 1, 8, 9, 15, 12, 13, 14, 2, 4, 9, 3, 2, 9],
"result": "valid"
},
{
"tcId": 1795,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "727bc37a08210a52a43286",
"msg": [0, 12, 9, 9, 6, 12, 2, 3, 14, 15, 7, 14, 7, 10, 15],
"ct": [4, 8, 14, 13, 12, 0, 12, 6, 3, 3, 0, 2, 14, 8, 1],
"result": "valid"
},
{
"tcId": 1796,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "727bc37a08210a52a43286",
"msg": [0, 2, 9, 14, 4, 11, 4, 4, 6, 12, 1, 1, 11, 3, 12],
"ct": [1, 10, 15, 4, 1, 8, 10, 7, 4, 7, 6, 1, 13, 9, 6],
"result": "valid"
},
{
"tcId": 1797,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "727bc37a08210a52a43286",
"msg": [0, 11, 1, 1, 3, 3, 1, 10, 15, 11, 7, 0, 5, 4, 4],
"ct": [15, 7, 0, 15, 2, 7, 8, 15, 1, 13, 12, 9, 15, 3, 7],
"result": "valid"
},
{
"tcId": 1798,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c",
"tweak": "ba017ceaf04a7470",
"msg": [-1, 2, 9, 8, 3, 9, 13, 13, 1, 6, 8, 7, 4, 8, 14],
"ct": [6, 5, 1, 14, 11, 2, 8, 14, 13, 9, 3, 1, 5, 11, 9],
"result": "invalid"
},
{
"tcId": 1799,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c",
"tweak": "ba017ceaf04a7470",
"msg": [5, 2, 9, 8, 3, -1, 13, 13, 1, 6, 8, 7, 4, 8, 14],
"ct": [10, 12, 3, 14, 5, 0, 14, 0, 2, 8, 7, 0, 11, 0, 2],
"result": "invalid"
},
{
"tcId": 1800,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c",
"tweak": "ba017ceaf04a7470",
"msg": [5, 2, 9, 8, 3, 9, 13, 13, 1, 6, 8, 7, 4, 8, -1],
"ct": [6, 2, 13, 12, 15, 3, 5, 3, 13, 2, 6, 15, 11, 8, 11],
"result": "invalid"
},
{
"tcId": 1801,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "55258044cb6e1a57b6afad343c14523dfbf49564ed0e7ca8",
"tweak": "ebeb5dc94edf747b",
"msg": [16, 8, 11, 7, 6, 8, 1, 15, 10, 14, 5, 4, 8, 15, 1],
"ct": [15, 12, 5, 4, 2, 4, 15, 10, 3, 9, 14, 0, 5, 14, 14],
"result": "invalid"
},
{
"tcId": 1802,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "55258044cb6e1a57b6afad343c14523dfbf49564ed0e7ca8",
"tweak": "ebeb5dc94edf747b",
"msg": [9, 8, 11, 7, 6, 16, 1, 15, 10, 14, 5, 4, 8, 15, 1],
"ct": [3, 5, 6, 9, 8, 13, 5, 1, 1, 14, 10, 12, 2, 4, 1],
"result": "invalid"
},
{
"tcId": 1803,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "55258044cb6e1a57b6afad343c14523dfbf49564ed0e7ca8",
"tweak": "ebeb5dc94edf747b",
"msg": [9, 8, 11, 7, 6, 8, 1, 15, 10, 14, 5, 4, 8, 15, 16],
"ct": [7, 1, 12, 0, 11, 1, 6, 8, 1, 1, 15, 5, 13, 14, 2],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 16,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1804,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "28d8da67806410e5565bcc5a9d7ab9fb357413fa0158378c",
"tweak": "63ff6d96b7960f8a",
"msg": [9, 5, 14, 13, 12, 8, 9, 9, 4, 11, 7, 7, 1, 14, 3, 2],
"ct": [15, 2, 15, 1, 4, 8, 3, 2, 5, 4, 10, 0, 15, 2, 0, 1],
"result": "valid"
},
{
"tcId": 1805,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 15, 9, 10, 7, 8, 9, 12, 11, 1, 1, 8, 14, 11, 12, 13],
"result": "valid"
},
{
"tcId": 1806,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [8, 15, 4, 3, 11, 6, 1, 0, 12, 12, 15, 11, 12, 9, 1, 15],
"result": "valid"
},
{
"tcId": 1807,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 8, 9, 8, 2, 13, 1, 12, 5, 4, 15, 9, 8, 5, 12, 2],
"result": "valid"
},
{
"tcId": 1808,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15],
"ct": [12, 14, 13, 5, 14, 9, 12, 10, 0, 2, 6, 3, 12, 5, 9, 10],
"result": "valid"
},
{
"tcId": 1809,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [15, 0, 3, 13, 1, 6, 0, 11, 12, 12, 3, 6, 5, 13, 9, 13],
"ct": [1, 0, 9, 14, 11, 1, 14, 2, 15, 12, 4, 3, 11, 4, 14, 2],
"result": "valid"
},
{
"tcId": 1810,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [0, 11, 0, 7, 10, 13, 8, 4, 13, 2, 7, 9, 2, 12, 9, 3],
"ct": [1, 9, 10, 4, 12, 7, 1, 13, 15, 12, 9, 8, 7, 8, 6, 8],
"result": "valid"
},
{
"tcId": 1811,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [6, 2, 15, 6, 15, 10, 2, 2, 15, 1, 12, 1, 0, 6, 2, 8],
"ct": [7, 3, 11, 6, 9, 8, 2, 5, 3, 9, 2, 9, 1, 11, 2, 10],
"result": "valid"
},
{
"tcId": 1812,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [15, 12, 10, 12, 13, 1, 13, 3, 14, 2, 10, 8, 5, 12, 7, 15],
"ct": [6, 15, 5, 3, 9, 3, 10, 4, 5, 12, 3, 13, 11, 3, 12, 11],
"result": "valid"
},
{
"tcId": 1813,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [4, 5, 3, 15, 7, 2, 4, 13, 13, 6, 15, 11, 1, 3, 11, 5],
"ct": [2, 8, 3, 12, 12, 11, 8, 6, 13, 13, 7, 1, 11, 2, 0, 15],
"result": "valid"
},
{
"tcId": 1814,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [12, 7, 9, 9, 2, 4, 1, 11, 6, 10, 3, 6, 5, 2, 12, 7],
"ct": [5, 2, 12, 14, 9, 8, 11, 13, 1, 4, 10, 9, 2, 15, 2, 13],
"result": "valid"
},
{
"tcId": 1815,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [1, 14, 5, 0, 4, 12, 14, 6, 12, 11, 10, 3, 2, 13, 0, 2],
"ct": [2, 12, 6, 5, 11, 9, 9, 7, 12, 12, 3, 15, 2, 10, 8, 1],
"result": "valid"
},
{
"tcId": 1816,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [14, 3, 11, 3, 2, 5, 14, 15, 7, 0, 7, 8, 3, 14, 10, 12],
"ct": [2, 8, 7, 1, 2, 14, 10, 5, 7, 7, 14, 2, 9, 4, 11, 15],
"result": "valid"
},
{
"tcId": 1817,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [4, 4, 1, 12, 12, 12, 6, 14, 11, 7, 2, 15, 13, 0, 14, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1818,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [10, 9, 0, 3, 12, 8, 1, 11, 13, 1, 3, 8, 9, 7, 10, 11],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1819,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [15, 14, 3, 9, 3, 1, 13, 6, 4, 6, 0, 2, 2, 13, 3, 12],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1820,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [13, 11, 12, 5, 5, 4, 12, 10, 8, 13, 12, 10, 7, 3, 6, 15],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1821,
"comment": "y = 0 and (y + a) % radix**8 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "256b9722c38700e782f882",
"msg": [6, 4, 12, 11, 4, 5, 1, 14, 14, 13, 5, 5, 15, 2, 11, 12],
"ct": [10, 9, 2, 5, 2, 12, 8, 9, 13, 1, 9, 7, 0, 1, 1, 7],
"result": "valid"
},
{
"tcId": 1822,
"comment": "y = 0 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "256b9722c38700e782f882",
"msg": [9, 1, 12, 7, 1, 7, 13, 12, 9, 9, 0, 10, 11, 5, 9, 15],
"ct": [4, 10, 13, 7, 2, 7, 8, 5, 9, 8, 8, 14, 3, 7, 3, 0],
"result": "valid"
},
{
"tcId": 1823,
"comment": "y = 0 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "256b9722c38700e782f882",
"msg": [11, 2, 2, 2, 1, 3, 9, 3, 4, 0, 0, 13, 7, 7, 12, 1],
"ct": [11, 14, 4, 0, 13, 13, 13, 7, 4, 3, 1, 14, 11, 11, 8, 5],
"result": "valid"
},
{
"tcId": 1824,
"comment": "y = 0 and (y + a) % radix**8 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "256b9722c38700e782f882",
"msg": [8, 3, 1, 3, 11, 6, 2, 6, 2, 5, 15, 14, 5, 6, 14, 0],
"ct": [3, 4, 1, 6, 0, 2, 1, 4, 12, 5, 6, 13, 10, 14, 4, 5],
"result": "valid"
},
{
"tcId": 1825,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "1bd59ff0f606a458044825",
"msg": [12, 2, 10, 0, 14, 15, 0, 12, 3, 7, 15, 5, 0, 6, 9, 5],
"ct": [15, 7, 10, 12, 9, 9, 0, 11, 5, 10, 9, 11, 10, 4, 4, 13],
"result": "valid"
},
{
"tcId": 1826,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "1bd59ff0f606a458044825",
"msg": [3, 5, 10, 1, 7, 14, 2, 15, 10, 11, 6, 10, 1, 5, 5, 9],
"ct": [13, 14, 1, 15, 11, 0, 12, 12, 7, 7, 1, 3, 1, 6, 15, 15],
"result": "valid"
},
{
"tcId": 1827,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "1bd59ff0f606a458044825",
"msg": [15, 9, 12, 11, 12, 5, 0, 0, 15, 5, 3, 13, 4, 1, 6, 15],
"ct": [7, 2, 2, 3, 5, 0, 10, 13, 15, 1, 3, 0, 13, 2, 14, 12],
"result": "valid"
},
{
"tcId": 1828,
"comment": "y = 1 and (y + a) % radix**8 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "1bd59ff0f606a458044825",
"msg": [0, 9, 5, 12, 11, 4, 9, 2, 1, 10, 5, 8, 11, 1, 14, 1],
"ct": [2, 10, 7, 10, 15, 11, 13, 2, 12, 3, 14, 2, 7, 4, 7, 13],
"result": "valid"
},
{
"tcId": 1829,
"comment": "y = 1 and (y + a) % radix**8 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "1bd59ff0f606a458044825",
"msg": [2, 12, 1, 13, 5, 11, 1, 13, 12, 14, 4, 11, 13, 10, 0, 6],
"ct": [5, 7, 8, 2, 2, 5, 12, 10, 8, 15, 15, 3, 6, 7, 10, 8],
"result": "valid"
},
{
"tcId": 1830,
"comment": "y is maximal and (y + a) % radix**8 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "d97222633bba42da58abb3",
"msg": [13, 5, 7, 12, 11, 9, 2, 3, 5, 10, 9, 13, 6, 12, 12, 7],
"ct": [8, 6, 7, 7, 0, 13, 9, 8, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1831,
"comment": "y is maximal and (y + a) % radix**8 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "d97222633bba42da58abb3",
"msg": [6, 11, 10, 15, 10, 1, 0, 5, 10, 14, 0, 6, 3, 11, 13, 14],
"ct": [8, 6, 7, 7, 0, 13, 9, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1832,
"comment": "y is maximal and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "d97222633bba42da58abb3",
"msg": [15, 15, 2, 13, 13, 10, 4, 5, 8, 6, 7, 15, 0, 6, 11, 9],
"ct": [8, 6, 7, 7, 0, 13, 9, 8, 7, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1833,
"comment": "y is maximal and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "d97222633bba42da58abb3",
"msg": [9, 10, 3, 14, 6, 4, 10, 13, 10, 2, 2, 11, 2, 9, 4, 9],
"ct": [8, 6, 7, 7, 0, 13, 9, 8, 15, 15, 15, 15, 15, 15, 15, 14],
"result": "valid"
},
{
"tcId": 1834,
"comment": "y is edge case for modular reduction and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "8099727be6bc48fd35d8af",
"msg": [6, 13, 1, 2, 14, 0, 5, 10, 5, 0, 13, 15, 8, 9, 1, 6],
"ct": [4, 1, 10, 14, 6, 3, 1, 9, 9, 15, 5, 2, 8, 3, 7, 8],
"result": "valid"
},
{
"tcId": 1835,
"comment": "y is edge case for modular reduction and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "8099727be6bc48fd35d8af",
"msg": [2, 8, 4, 3, 12, 7, 14, 4, 15, 5, 13, 8, 5, 7, 12, 4],
"ct": [1, 11, 0, 5, 2, 1, 11, 5, 8, 5, 8, 6, 10, 4, 2, 0],
"result": "valid"
},
{
"tcId": 1836,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "8099727be6bc48fd35d8af",
"msg": [9, 1, 8, 2, 9, 3, 6, 2, 1, 4, 14, 0, 10, 1, 13, 5],
"ct": [5, 5, 3, 4, 10, 4, 14, 4, 2, 4, 13, 8, 10, 10, 2, 5],
"result": "valid"
},
{
"tcId": 1837,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "8099727be6bc48fd35d8af",
"msg": [8, 6, 7, 11, 10, 15, 8, 10, 14, 12, 4, 9, 12, 10, 8, 9],
"ct": [0, 5, 4, 0, 9, 6, 10, 8, 14, 7, 14, 9, 12, 2, 5, 15],
"result": "valid"
},
{
"tcId": 1838,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "8099727be6bc48fd35d8af",
"msg": [13, 2, 9, 6, 6, 13, 3, 2, 7, 2, 11, 5, 8, 12, 7, 3],
"ct": [6, 5, 1, 7, 1, 9, 13, 9, 11, 9, 0, 0, 15, 5, 3, 3],
"result": "valid"
},
{
"tcId": 1839,
"comment": "y is edge case for modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "8099727be6bc48fd35d8af",
"msg": [9, 5, 6, 15, 6, 12, 12, 11, 6, 3, 11, 6, 9, 8, 3, 9],
"ct": [5, 5, 9, 3, 3, 0, 13, 9, 11, 0, 15, 13, 10, 12, 0, 7],
"result": "valid"
},
{
"tcId": 1840,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "dd3d068de4a8cdbcf8ddae",
"msg": [10, 0, 7, 5, 12, 13, 4, 2, 0, 8, 11, 2, 5, 3, 4, 5],
"ct": [4, 10, 10, 4, 10, 6, 2, 7, 10, 0, 7, 8, 7, 3, 2, 0],
"result": "valid"
},
{
"tcId": 1841,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "dd3d068de4a8cdbcf8ddae",
"msg": [5, 0, 1, 0, 12, 6, 13, 8, 14, 1, 0, 5, 4, 8, 12, 10],
"ct": [12, 13, 7, 10, 3, 0, 6, 10, 8, 10, 15, 8, 14, 7, 5, 0],
"result": "valid"
},
{
"tcId": 1842,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "dd3d068de4a8cdbcf8ddae",
"msg": [9, 2, 0, 12, 8, 14, 8, 14, 7, 15, 0, 8, 13, 2, 13, 13],
"ct": [0, 2, 2, 12, 8, 3, 9, 15, 14, 2, 14, 2, 8, 1, 15, 12],
"result": "valid"
},
{
"tcId": 1843,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "dd3d068de4a8cdbcf8ddae",
"msg": [2, 15, 4, 7, 12, 0, 6, 7, 2, 10, 6, 11, 11, 11, 14, 7],
"ct": [3, 12, 14, 2, 12, 15, 9, 5, 7, 9, 11, 13, 5, 5, 0, 10],
"result": "valid"
},
{
"tcId": 1844,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6",
"tweak": "81c9e9d9fc6bb6db",
"msg": [-1, 0, 0, 15, 1, 5, 9, 11, 13, 12, 5, 5, 12, 5, 2, 15],
"ct": [14, 7, 2, 1, 1, 1, 14, 5, 6, 13, 8, 7, 3, 3, 5, 15],
"result": "invalid"
},
{
"tcId": 1845,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6",
"tweak": "81c9e9d9fc6bb6db",
"msg": [11, 0, 0, 15, 1, -1, 9, 11, 13, 12, 5, 5, 12, 5, 2, 15],
"ct": [1, 2, 12, 13, 2, 11, 2, 3, 15, 8, 14, 5, 5, 13, 6, 14],
"result": "invalid"
},
{
"tcId": 1846,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6",
"tweak": "81c9e9d9fc6bb6db",
"msg": [11, 0, 0, 15, 1, 5, 9, 11, 13, 12, 5, 5, 12, 5, 2, -1],
"ct": [7, 1, 2, 12, 4, 13, 14, 14, 15, 1, 3, 12, 7, 0, 1, 9],
"result": "invalid"
},
{
"tcId": 1847,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dc9ba124b1573196664e85e16cedac85b5905ebf35648d25",
"tweak": "1d6b4f2eb893625e",
"msg": [16, 15, 8, 4, 3, 12, 1, 1, 5, 11, 14, 2, 11, 10, 2, 12],
"ct": [1, 9, 13, 1, 8, 8, 14, 2, 6, 2, 7, 3, 8, 4, 2, 8],
"result": "invalid"
},
{
"tcId": 1848,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dc9ba124b1573196664e85e16cedac85b5905ebf35648d25",
"tweak": "1d6b4f2eb893625e",
"msg": [9, 15, 8, 4, 3, 16, 1, 1, 5, 11, 14, 2, 11, 10, 2, 12],
"ct": [8, 5, 15, 11, 11, 9, 5, 11, 7, 12, 6, 7, 15, 11, 13, 14],
"result": "invalid"
},
{
"tcId": 1849,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dc9ba124b1573196664e85e16cedac85b5905ebf35648d25",
"tweak": "1d6b4f2eb893625e",
"msg": [9, 15, 8, 4, 3, 12, 1, 1, 5, 11, 14, 2, 11, 10, 2, 16],
"ct": [8, 5, 2, 11, 1, 9, 2, 1, 7, 9, 3, 3, 5, 5, 0, 14],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 17,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1850,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "f620ff36bcd7f62b38ee8dc91b2a1d1ac5645e4c31432921",
"tweak": "fedb3a07315c4484",
"msg": [11, 13, 12, 0, 2, 10, 4, 8, 9, 4, 5, 7, 15, 13, 1, 6, 14],
"ct": [3, 8, 4, 2, 15, 9, 11, 14, 2, 6, 2, 3, 12, 14, 10, 9, 7],
"result": "valid"
},
{
"tcId": 1851,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [9, 7, 11, 6, 2, 5, 7, 0, 11, 10, 9, 10, 7, 11, 0, 13, 2],
"result": "valid"
},
{
"tcId": 1852,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [5, 3, 14, 5, 11, 14, 9, 13, 1, 13, 2, 14, 15, 8, 14, 2, 7],
"result": "valid"
},
{
"tcId": 1853,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 5, 3, 15, 12, 7, 8, 1, 11, 12, 7, 4, 8, 14, 7, 8, 1],
"result": "valid"
},
{
"tcId": 1854,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [15, 9, 6, 2, 14, 1, 7, 0, 8, 0, 3, 8, 6, 3, 7, 11, 0],
"result": "valid"
},
{
"tcId": 1855,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [13, 15, 0, 15, 3, 8, 4, 8, 8, 14, 4, 1, 4, 9, 5, 15, 1],
"ct": [1, 2, 6, 8, 0, 9, 12, 13, 5, 4, 0, 12, 8, 9, 1, 12, 4],
"result": "valid"
},
{
"tcId": 1856,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [14, 0, 5, 9, 0, 11, 5, 6, 8, 9, 10, 12, 4, 7, 13, 7, 10],
"ct": [3, 6, 8, 1, 1, 0, 6, 0, 6, 11, 13, 10, 13, 0, 4, 11, 15],
"result": "valid"
},
{
"tcId": 1857,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [6, 1, 0, 15, 4, 2, 3, 14, 11, 2, 1, 5, 2, 9, 5, 14, 7],
"ct": [0, 3, 15, 6, 2, 4, 13, 7, 0, 11, 0, 10, 8, 8, 1, 12, 3],
"result": "valid"
},
{
"tcId": 1858,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [7, 4, 14, 15, 14, 12, 12, 0, 13, 15, 4, 12, 7, 0, 2, 8, 8],
"ct": [1, 3, 0, 12, 0, 15, 1, 15, 0, 15, 7, 7, 3, 9, 6, 7, 9],
"result": "valid"
},
{
"tcId": 1859,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [7, 6, 14, 14, 13, 5, 12, 2, 1, 14, 4, 2, 0, 0, 13, 6, 3],
"ct": [3, 15, 7, 3, 7, 13, 12, 4, 6, 9, 1, 0, 5, 14, 7, 0, 12],
"result": "valid"
},
{
"tcId": 1860,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [14, 11, 0, 14, 3, 11, 13, 8, 13, 12, 14, 4, 11, 13, 7, 11, 2],
"ct": [4, 9, 13, 12, 0, 2, 9, 12, 10, 6, 2, 3, 14, 0, 11, 6, 5],
"result": "valid"
},
{
"tcId": 1861,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [10, 0, 13, 10, 13, 11, 11, 11, 9, 6, 7, 15, 6, 4, 14, 2, 1],
"ct": [7, 11, 7, 12, 9, 5, 14, 8, 13, 14, 2, 1, 12, 14, 14, 6, 1],
"result": "valid"
},
{
"tcId": 1862,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [4, 4, 0, 6, 15, 15, 14, 8, 15, 4, 12, 12, 4, 4, 15, 3, 1],
"ct": [1, 6, 3, 5, 0, 10, 14, 14, 11, 6, 9, 4, 15, 7, 6, 6, 15],
"result": "valid"
},
{
"tcId": 1863,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [8, 7, 8, 12, 12, 10, 11, 15, 3, 15, 4, 13, 1, 12, 0, 11, 1],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1864,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [11, 1, 9, 4, 0, 3, 8, 1, 2, 12, 3, 9, 14, 14, 8, 8, 7],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1865,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [4, 12, 2, 4, 12, 4, 2, 12, 4, 15, 0, 6, 3, 1, 1, 2, 9],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1866,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [13, 10, 7, 2, 12, 12, 9, 15, 12, 12, 6, 3, 5, 0, 10, 2, 2],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1867,
"comment": "y = 0 and (y + a) % radix**9 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "28b358caa7f3fe3a4aab",
"msg": [8, 7, 3, 0, 15, 5, 9, 0, 9, 4, 15, 10, 3, 7, 8, 6, 4],
"ct": [1, 13, 15, 14, 1, 8, 13, 13, 0, 12, 3, 2, 7, 10, 9, 0, 1],
"result": "valid"
},
{
"tcId": 1868,
"comment": "y = 0 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "28b358caa7f3fe3a4aab",
"msg": [9, 4, 9, 13, 6, 8, 11, 13, 3, 14, 8, 8, 7, 6, 5, 8, 5],
"ct": [4, 2, 6, 7, 15, 11, 14, 3, 15, 5, 0, 8, 2, 12, 0, 10, 9],
"result": "valid"
},
{
"tcId": 1869,
"comment": "y = 0 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "28b358caa7f3fe3a4aab",
"msg": [14, 0, 15, 1, 2, 6, 1, 2, 3, 12, 14, 7, 11, 2, 15, 12, 0],
"ct": [10, 6, 12, 8, 7, 6, 4, 6, 1, 9, 8, 10, 12, 13, 10, 12, 1],
"result": "valid"
},
{
"tcId": 1870,
"comment": "y = 0 and (y + a) % radix**9 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "28b358caa7f3fe3a4aab",
"msg": [15, 13, 4, 11, 12, 0, 12, 15, 11, 15, 1, 3, 14, 0, 13, 10, 0],
"ct": [5, 12, 7, 15, 14, 13, 4, 4, 3, 15, 10, 15, 13, 15, 5, 2, 12],
"result": "valid"
},
{
"tcId": 1871,
"comment": "y is maximal and (y + a) % radix**8 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "1183a77d676073000d6c",
"msg": [6, 10, 6, 1, 5, 9, 2, 5, 3, 1, 13, 11, 2, 5, 14, 0, 3],
"ct": [0, 13, 0, 5, 11, 13, 1, 3, 1, 12, 11, 8, 0, 4, 1, 8, 7],
"result": "valid"
},
{
"tcId": 1872,
"comment": "y is maximal and (y + a) % radix**8 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "1183a77d676073000d6c",
"msg": [11, 3, 5, 8, 8, 1, 13, 12, 7, 5, 7, 1, 0, 5, 11, 3, 0],
"ct": [9, 1, 0, 1, 12, 11, 7, 7, 8, 3, 2, 9, 10, 15, 15, 2, 15],
"result": "valid"
},
{
"tcId": 1873,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "1183a77d676073000d6c",
"msg": [14, 12, 15, 5, 10, 0, 4, 2, 9, 9, 15, 11, 11, 0, 10, 3, 10],
"ct": [9, 11, 14, 9, 4, 4, 12, 3, 9, 12, 5, 11, 15, 4, 9, 6, 5],
"result": "valid"
},
{
"tcId": 1874,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "1183a77d676073000d6c",
"msg": [0, 11, 10, 6, 12, 6, 5, 4, 7, 11, 13, 2, 14, 8, 5, 15, 0],
"ct": [6, 6, 9, 2, 12, 11, 2, 14, 7, 8, 6, 11, 8, 2, 13, 9, 0],
"result": "valid"
},
{
"tcId": 1875,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "99d369983d8152d5500b",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 6, 3, 4, 3, 11, 13, 14, 0, 8],
"ct": [5, 4, 12, 0, 11, 10, 12, 11, 7, 12, 6, 8, 4, 14, 9, 15, 10],
"result": "valid"
},
{
"tcId": 1876,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "99d369983d8152d5500b",
"msg": [0, 0, 0, 0, 0, 0, 0, 1, 6, 3, 4, 3, 11, 13, 14, 0, 8],
"ct": [5, 5, 6, 8, 4, 6, 10, 0, 5, 1, 15, 10, 15, 6, 0, 11, 11],
"result": "valid"
},
{
"tcId": 1877,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "99d369983d8152d5500b",
"msg": [0, 0, 0, 0, 0, 0, 0, 15, 6, 3, 4, 3, 11, 13, 14, 0, 8],
"ct": [7, 8, 12, 12, 11, 12, 11, 11, 13, 5, 3, 7, 13, 12, 11, 15, 8],
"result": "valid"
},
{
"tcId": 1878,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "99d369983d8152d5500b",
"msg": [0, 0, 0, 0, 0, 0, 1, 0, 6, 3, 4, 3, 11, 13, 14, 0, 8],
"ct": [7, 13, 12, 10, 2, 13, 5, 10, 7, 5, 15, 14, 11, 8, 1, 14, 9],
"result": "valid"
},
{
"tcId": 1879,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "99d369983d8152d5500b",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 6, 3, 4, 3, 11, 13, 14, 0, 8],
"ct": [6, 9, 1, 2, 2, 0, 7, 6, 14, 13, 3, 5, 8, 13, 0, 6, 1],
"result": "valid"
},
{
"tcId": 1880,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "99d369983d8152d5500b",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 6, 3, 4, 3, 11, 13, 14, 0, 8],
"ct": [3, 8, 14, 7, 2, 4, 0, 4, 1, 2, 11, 6, 13, 8, 12, 5, 15],
"result": "valid"
},
{
"tcId": 1881,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "56b16759a47a79fc694c",
"msg": [10, 4, 6, 8, 11, 6, 7, 7, 2, 11, 12, 14, 5, 14, 8, 2, 3],
"ct": [5, 10, 3, 5, 8, 6, 15, 3, 9, 7, 6, 6, 10, 2, 9, 0, 10],
"result": "valid"
},
{
"tcId": 1882,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "56b16759a47a79fc694c",
"msg": [13, 10, 1, 6, 6, 0, 6, 6, 4, 8, 4, 3, 15, 9, 13, 6, 7],
"ct": [15, 3, 4, 11, 10, 0, 4, 12, 14, 4, 2, 7, 3, 11, 11, 6, 2],
"result": "valid"
},
{
"tcId": 1883,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "56b16759a47a79fc694c",
"msg": [5, 9, 3, 4, 1, 14, 12, 12, 13, 4, 0, 0, 12, 11, 3, 8, 13],
"ct": [4, 13, 8, 5, 6, 4, 9, 5, 10, 7, 3, 9, 15, 13, 3, 0, 4],
"result": "valid"
},
{
"tcId": 1884,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "56b16759a47a79fc694c",
"msg": [6, 5, 0, 14, 12, 6, 15, 12, 14, 4, 10, 7, 10, 10, 13, 1, 8],
"ct": [10, 3, 3, 9, 3, 8, 0, 5, 3, 13, 10, 14, 1, 8, 2, 13, 8],
"result": "valid"
},
{
"tcId": 1885,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872",
"tweak": "0284255ddf9a1021",
"msg": [-1, 10, 3, 4, 7, 8, 10, 5, 9, 4, 6, 12, 1, 6, 4, 3, 6],
"ct": [5, 2, 1, 7, 6, 10, 14, 5, 8, 10, 3, 5, 5, 7, 7, 11, 12],
"result": "invalid"
},
{
"tcId": 1886,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872",
"tweak": "0284255ddf9a1021",
"msg": [13, 10, 3, 4, 7, -1, 10, 5, 9, 4, 6, 12, 1, 6, 4, 3, 6],
"ct": [4, 4, 5, 6, 7, 12, 11, 14, 8, 4, 3, 4, 1, 7, 11, 1, 15],
"result": "invalid"
},
{
"tcId": 1887,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872",
"tweak": "0284255ddf9a1021",
"msg": [13, 10, 3, 4, 7, 8, 10, 5, 9, 4, 6, 12, 1, 6, 4, 3, -1],
"ct": [10, 1, 12, 13, 5, 1, 12, 5, 0, 6, 8, 6, 6, 0, 4, 6, 14],
"result": "invalid"
},
{
"tcId": 1888,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b3341f5a9365d64228f25a4726f8e93b94f07febdc3acfa0",
"tweak": "42e1a93f6f3ea359",
"msg": [16, 12, 6, 15, 1, 11, 2, 13, 5, 12, 9, 6, 11, 6, 15, 10, 6],
"ct": [15, 12, 11, 10, 15, 7, 11, 4, 8, 15, 7, 1, 4, 5, 1, 9, 13],
"result": "invalid"
},
{
"tcId": 1889,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b3341f5a9365d64228f25a4726f8e93b94f07febdc3acfa0",
"tweak": "42e1a93f6f3ea359",
"msg": [1, 12, 6, 15, 1, 16, 2, 13, 5, 12, 9, 6, 11, 6, 15, 10, 6],
"ct": [1, 13, 9, 4, 9, 7, 4, 2, 4, 5, 15, 12, 3, 9, 0, 12, 13],
"result": "invalid"
},
{
"tcId": 1890,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b3341f5a9365d64228f25a4726f8e93b94f07febdc3acfa0",
"tweak": "42e1a93f6f3ea359",
"msg": [1, 12, 6, 15, 1, 11, 2, 13, 5, 12, 9, 6, 11, 6, 15, 10, 16],
"ct": [4, 8, 4, 6, 15, 4, 8, 11, 10, 13, 13, 14, 11, 1, 9, 15, 10],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 18,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1891,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "47eb4430ea1cb545acc8f09ada1ecc8574d394b5a20e5017",
"tweak": "683baf80b9d31daa",
"msg": [13, 7, 4, 2, 9, 13, 14, 11, 0, 6, 5, 0, 7, 9, 11, 2, 8, 14],
"ct": [0, 5, 7, 11, 6, 11, 6, 12, 6, 0, 11, 7, 13, 4, 4, 9, 7, 15],
"result": "valid"
},
{
"tcId": 1892,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [7, 5, 2, 2, 9, 7, 0, 4, 0, 1, 6, 12, 10, 8, 0, 13, 14, 13],
"result": "valid"
},
{
"tcId": 1893,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [11, 8, 4, 11, 6, 3, 6, 1, 0, 7, 0, 3, 11, 6, 12, 7, 15, 2],
"result": "valid"
},
{
"tcId": 1894,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 4, 5, 15, 9, 3, 0, 5, 4, 6, 6, 1, 11, 11, 9, 14, 7, 3],
"result": "valid"
},
{
"tcId": 1895,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [11, 11, 9, 5, 0, 11, 1, 0, 10, 3, 13, 14, 7, 8, 1, 1, 6, 7],
"result": "valid"
},
{
"tcId": 1896,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [12, 2, 14, 14, 2, 13, 11, 3, 0, 11, 2, 11, 5, 0, 7, 7, 5, 12],
"ct": [2, 2, 6, 0, 14, 5, 13, 9, 14, 1, 3, 0, 14, 7, 13, 13, 3, 12],
"result": "valid"
},
{
"tcId": 1897,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [1, 9, 9, 13, 4, 4, 10, 12, 14, 4, 1, 7, 10, 4, 9, 12, 15, 10],
"ct": [8, 7, 4, 2, 0, 2, 2, 14, 14, 6, 1, 12, 8, 4, 4, 6, 7, 12],
"result": "valid"
},
{
"tcId": 1898,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [12, 8, 4, 0, 9, 7, 12, 14, 0, 14, 3, 12, 8, 8, 11, 10, 15, 5],
"ct": [14, 7, 9, 0, 7, 1, 6, 4, 8, 12, 11, 0, 8, 15, 0, 7, 1, 0],
"result": "valid"
},
{
"tcId": 1899,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [10, 11, 15, 5, 5, 0, 13, 8, 4, 14, 3, 14, 10, 0, 0, 12, 1, 10],
"ct": [3, 13, 2, 7, 14, 4, 5, 9, 4, 15, 9, 8, 11, 5, 15, 4, 6, 10],
"result": "valid"
},
{
"tcId": 1900,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [4, 0, 14, 10, 9, 12, 2, 8, 9, 5, 0, 11, 9, 15, 13, 4, 9, 8],
"ct": [0, 0, 3, 2, 8, 6, 4, 0, 6, 0, 4, 7, 1, 6, 6, 6, 4, 9],
"result": "valid"
},
{
"tcId": 1901,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [11, 15, 15, 9, 1, 1, 1, 6, 4, 1, 8, 5, 10, 10, 4, 11, 2, 8],
"ct": [5, 3, 14, 3, 11, 15, 12, 1, 12, 1, 1, 12, 8, 0, 15, 12, 11, 1],
"result": "valid"
},
{
"tcId": 1902,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [15, 4, 13, 14, 14, 2, 9, 8, 3, 9, 15, 5, 7, 2, 5, 12, 13, 14],
"ct": [6, 9, 9, 13, 14, 9, 6, 7, 7, 8, 13, 6, 15, 0, 9, 5, 1, 5],
"result": "valid"
},
{
"tcId": 1903,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [7, 2, 2, 4, 3, 11, 13, 4, 6, 14, 9, 7, 11, 4, 9, 4, 9, 9],
"ct": [5, 6, 15, 3, 2, 0, 7, 8, 7, 2, 5, 13, 15, 12, 4, 4, 14, 15],
"result": "valid"
},
{
"tcId": 1904,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [13, 2, 9, 14, 5, 3, 1, 4, 14, 15, 15, 2, 15, 14, 3, 4, 3, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1905,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [14, 9, 6, 3, 11, 11, 12, 6, 9, 1, 15, 3, 0, 15, 9, 12, 3, 1],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1906,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [15, 10, 14, 14, 2, 10, 9, 12, 3, 0, 2, 9, 1, 0, 10, 7, 12, 13],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1907,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [4, 12, 13, 1, 15, 1, 2, 6, 13, 4, 13, 12, 15, 6, 0, 5, 15, 10],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1908,
"comment": "y = 0 and (y + a) % radix**9 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "9cdd97391a31a4a19381",
"msg": [7, 15, 4, 10, 8, 0, 5, 7, 1, 10, 10, 9, 13, 5, 4, 9, 14, 4],
"ct": [5, 2, 5, 10, 2, 12, 1, 13, 2, 15, 0, 13, 2, 5, 0, 11, 12, 15],
"result": "valid"
},
{
"tcId": 1909,
"comment": "y = 0 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "9cdd97391a31a4a19381",
"msg": [9, 2, 10, 5, 11, 13, 13, 6, 14, 1, 10, 12, 13, 0, 14, 5, 6, 13],
"ct": [2, 3, 0, 13, 10, 2, 2, 10, 7, 6, 4, 10, 13, 15, 8, 13, 8, 3],
"result": "valid"
},
{
"tcId": 1910,
"comment": "y = 0 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "9cdd97391a31a4a19381",
"msg": [6, 2, 14, 8, 2, 6, 13, 2, 10, 9, 14, 7, 7, 10, 8, 3, 0, 11],
"ct": [0, 7, 10, 6, 10, 9, 5, 7, 4, 8, 0, 9, 2, 1, 14, 2, 0, 10],
"result": "valid"
},
{
"tcId": 1911,
"comment": "y = 0 and (y + a) % radix**9 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "9cdd97391a31a4a19381",
"msg": [13, 13, 13, 1, 3, 9, 5, 5, 3, 10, 15, 2, 15, 9, 13, 9, 2, 3],
"ct": [14, 2, 6, 2, 7, 5, 0, 4, 10, 0, 10, 0, 2, 13, 6, 14, 15, 5],
"result": "valid"
},
{
"tcId": 1912,
"comment": "y = 1 and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "ddd5e87d4a8f29c8a713",
"msg": [5, 8, 8, 3, 2, 13, 6, 3, 4, 11, 15, 6, 10, 11, 5, 7, 4, 2],
"ct": [11, 3, 6, 0, 9, 10, 5, 12, 12, 3, 4, 4, 10, 11, 1, 5, 6, 5],
"result": "valid"
},
{
"tcId": 1913,
"comment": "y = 1 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "ddd5e87d4a8f29c8a713",
"msg": [14, 15, 12, 8, 1, 13, 12, 9, 11, 0, 0, 11, 14, 6, 0, 15, 11, 9],
"ct": [3, 0, 9, 11, 2, 10, 9, 9, 11, 6, 1, 10, 6, 6, 4, 6, 9, 15],
"result": "valid"
},
{
"tcId": 1914,
"comment": "y = 1 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "ddd5e87d4a8f29c8a713",
"msg": [13, 12, 1, 1, 5, 7, 10, 11, 4, 15, 11, 14, 6, 5, 0, 8, 10, 0],
"ct": [15, 8, 15, 1, 4, 0, 13, 1, 11, 6, 14, 13, 15, 8, 8, 5, 2, 6],
"result": "valid"
},
{
"tcId": 1915,
"comment": "y = 1 and (y + a) % radix**9 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "ddd5e87d4a8f29c8a713",
"msg": [14, 6, 8, 10, 3, 6, 3, 3, 13, 6, 2, 12, 4, 15, 4, 6, 14, 2],
"ct": [9, 12, 1, 1, 13, 8, 7, 1, 0, 7, 5, 14, 13, 3, 13, 12, 0, 12],
"result": "valid"
},
{
"tcId": 1916,
"comment": "y = 1 and (y + a) % radix**9 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "ddd5e87d4a8f29c8a713",
"msg": [6, 10, 1, 1, 12, 0, 9, 4, 4, 12, 0, 3, 3, 1, 1, 6, 8, 9],
"ct": [9, 5, 8, 15, 12, 3, 15, 2, 7, 13, 15, 9, 1, 11, 0, 11, 12, 6],
"result": "valid"
},
{
"tcId": 1917,
"comment": "y is maximal and (y + a) % radix**9 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "8513b700ab6b867ae4d6",
"msg": [4, 0, 3, 8, 10, 12, 13, 14, 9, 2, 14, 2, 12, 2, 10, 0, 5, 3],
"ct": [6, 15, 7, 14, 2, 7, 12, 8, 10, 8, 4, 14, 13, 1, 1, 13, 0, 8],
"result": "valid"
},
{
"tcId": 1918,
"comment": "y is maximal and (y + a) % radix**9 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "8513b700ab6b867ae4d6",
"msg": [1, 14, 11, 6, 10, 15, 14, 4, 1, 4, 7, 6, 11, 12, 2, 6, 7, 0],
"ct": [1, 15, 14, 5, 10, 14, 5, 0, 3, 11, 4, 5, 0, 3, 10, 10, 13, 12],
"result": "valid"
},
{
"tcId": 1919,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "8513b700ab6b867ae4d6",
"msg": [5, 7, 7, 5, 12, 7, 13, 12, 0, 2, 7, 8, 4, 3, 15, 11, 1, 6],
"ct": [11, 12, 2, 11, 10, 5, 9, 7, 12, 3, 10, 8, 12, 10, 15, 9, 7, 4],
"result": "valid"
},
{
"tcId": 1920,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "8513b700ab6b867ae4d6",
"msg": [12, 1, 6, 2, 12, 14, 0, 13, 0, 0, 13, 0, 0, 13, 9, 15, 7, 15],
"ct": [8, 1, 14, 7, 7, 12, 15, 2, 4, 12, 9, 2, 11, 12, 14, 1, 6, 5],
"result": "valid"
},
{
"tcId": 1921,
"comment": "y is edge case for modular reduction and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "48aca5d22799626cc8ba",
"msg": [2, 2, 4, 8, 14, 4, 14, 6, 15, 9, 15, 12, 12, 10, 1, 13, 13, 0],
"ct": [7, 3, 13, 3, 8, 7, 11, 3, 0, 5, 8, 4, 7, 14, 8, 0, 10, 6],
"result": "valid"
},
{
"tcId": 1922,
"comment": "y is edge case for modular reduction and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "48aca5d22799626cc8ba",
"msg": [8, 12, 6, 4, 15, 12, 0, 8, 0, 6, 2, 7, 4, 9, 15, 12, 7, 14],
"ct": [7, 3, 11, 13, 6, 7, 4, 9, 10, 3, 5, 15, 4, 11, 15, 4, 2, 4],
"result": "valid"
},
{
"tcId": 1923,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "48aca5d22799626cc8ba",
"msg": [4, 5, 12, 6, 3, 12, 9, 3, 8, 5, 14, 10, 6, 3, 5, 13, 12, 8],
"ct": [11, 12, 12, 9, 1, 11, 15, 15, 2, 10, 14, 11, 11, 11, 9, 8, 15, 6],
"result": "valid"
},
{
"tcId": 1924,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "48aca5d22799626cc8ba",
"msg": [1, 3, 0, 5, 11, 2, 2, 0, 12, 7, 1, 1, 5, 5, 7, 4, 3, 1],
"ct": [6, 14, 11, 9, 12, 1, 11, 10, 13, 7, 5, 10, 0, 3, 14, 9, 5, 10],
"result": "valid"
},
{
"tcId": 1925,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "48aca5d22799626cc8ba",
"msg": [5, 0, 0, 2, 6, 2, 3, 1, 11, 10, 9, 14, 5, 8, 15, 13, 2, 4],
"ct": [4, 7, 7, 10, 11, 1, 1, 1, 9, 3, 4, 11, 10, 14, 5, 8, 5, 4],
"result": "valid"
},
{
"tcId": 1926,
"comment": "y is edge case for modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "48aca5d22799626cc8ba",
"msg": [12, 0, 0, 10, 1, 10, 2, 13, 13, 9, 0, 5, 13, 0, 12, 11, 14, 14],
"ct": [12, 3, 2, 3, 4, 1, 11, 2, 0, 8, 2, 6, 0, 13, 14, 6, 0, 6],
"result": "valid"
},
{
"tcId": 1927,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "01116a0f010d7bab86a0",
"msg": [0, 8, 9, 9, 9, 4, 6, 10, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 1, 3, 7, 8, 1, 1, 3, 11, 11, 9, 9, 9, 5, 11, 10, 11, 13],
"result": "valid"
},
{
"tcId": 1928,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "01116a0f010d7bab86a0",
"msg": [12, 13, 2, 6, 9, 3, 10, 12, 10, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [5, 11, 12, 15, 14, 9, 0, 0, 1, 2, 0, 2, 0, 13, 0, 5, 2, 5],
"result": "valid"
},
{
"tcId": 1929,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "01116a0f010d7bab86a0",
"msg": [7, 4, 9, 6, 3, 0, 8, 3, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [9, 12, 8, 10, 0, 2, 9, 15, 11, 9, 11, 0, 11, 4, 5, 8, 3, 1],
"result": "valid"
},
{
"tcId": 1930,
"comment": "y is maximal after modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "01116a0f010d7bab86a0",
"msg": [7, 2, 4, 14, 0, 13, 4, 8, 6, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [8, 3, 4, 2, 9, 2, 5, 4, 4, 7, 13, 7, 14, 9, 7, 10, 1, 10],
"result": "valid"
},
{
"tcId": 1931,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f",
"tweak": "8fb4ffb3514c5fcc",
"msg": [-1, 11, 2, 1, 4, 1, 0, 7, 4, 4, 4, 5, 13, 7, 1, 2, 8, 0],
"ct": [0, 0, 11, 9, 7, 13, 4, 5, 14, 8, 1, 5, 10, 6, 11, 8, 9, 1],
"result": "invalid"
},
{
"tcId": 1932,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f",
"tweak": "8fb4ffb3514c5fcc",
"msg": [0, 11, 2, 1, 4, 1, -1, 7, 4, 4, 4, 5, 13, 7, 1, 2, 8, 0],
"ct": [4, 11, 11, 8, 9, 11, 3, 9, 14, 7, 9, 11, 4, 4, 3, 5, 15, 1],
"result": "invalid"
},
{
"tcId": 1933,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f",
"tweak": "8fb4ffb3514c5fcc",
"msg": [0, 11, 2, 1, 4, 1, 0, 7, 4, 4, 4, 5, 13, 7, 1, 2, 8, -1],
"ct": [2, 12, 3, 0, 5, 4, 4, 10, 15, 13, 0, 6, 15, 13, 10, 13, 14, 12],
"result": "invalid"
},
{
"tcId": 1934,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d15bfb985d84c4b13bae1f2bcd72ad1c60726057d76e2475",
"tweak": "d3021da55575fa65",
"msg": [16, 12, 1, 5, 2, 13, 9, 6, 10, 9, 6, 10, 8, 3, 1, 8, 4, 10],
"ct": [3, 0, 9, 8, 11, 4, 5, 0, 2, 5, 13, 9, 6, 13, 13, 4, 13, 15],
"result": "invalid"
},
{
"tcId": 1935,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d15bfb985d84c4b13bae1f2bcd72ad1c60726057d76e2475",
"tweak": "d3021da55575fa65",
"msg": [11, 12, 1, 5, 2, 13, 16, 6, 10, 9, 6, 10, 8, 3, 1, 8, 4, 10],
"ct": [8, 5, 7, 2, 5, 11, 15, 0, 1, 13, 8, 9, 14, 10, 3, 6, 5, 2],
"result": "invalid"
},
{
"tcId": 1936,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d15bfb985d84c4b13bae1f2bcd72ad1c60726057d76e2475",
"tweak": "d3021da55575fa65",
"msg": [11, 12, 1, 5, 2, 13, 9, 6, 10, 9, 6, 10, 8, 3, 1, 8, 4, 16],
"ct": [11, 7, 2, 4, 11, 4, 7, 5, 5, 11, 14, 12, 1, 9, 1, 14, 3, 2],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 19,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1937,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "ba47709f6c5147bb5e20ee8869b439706fef5f984862cc0d",
"tweak": "1a8494e5274bc2df",
"msg": [8, 6, 14, 7, 10, 10, 10, 15, 11, 12, 9, 9, 4, 15, 9, 7, 8, 1, 5],
"ct": [4, 11, 8, 10, 8, 12, 5, 8, 13, 6, 0, 11, 5, 11, 5, 5, 2, 0, 15],
"result": "valid"
},
{
"tcId": 1938,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [6, 6, 14, 6, 6, 6, 15, 0, 14, 7, 3, 0, 1, 1, 8, 9, 8, 4, 10],
"result": "valid"
},
{
"tcId": 1939,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [5, 4, 4, 13, 9, 15, 12, 8, 8, 2, 6, 13, 8, 3, 6, 5, 1, 14, 7],
"result": "valid"
},
{
"tcId": 1940,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 13, 11, 2, 11, 11, 11, 8, 5, 2, 0, 7, 3, 9, 2, 10, 4, 13, 13],
"result": "valid"
},
{
"tcId": 1941,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [4, 6, 10, 3, 15, 14, 11, 12, 0, 12, 4, 1, 8, 9, 14, 12, 2, 4, 15],
"result": "valid"
},
{
"tcId": 1942,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [2, 2, 9, 14, 12, 3, 13, 0, 8, 8, 0, 8, 11, 0, 1, 9, 5, 2, 0],
"ct": [7, 9, 2, 7, 1, 0, 13, 2, 6, 6, 10, 13, 5, 2, 4, 9, 1, 13, 8],
"result": "valid"
},
{
"tcId": 1943,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [15, 5, 7, 14, 9, 0, 5, 3, 9, 5, 10, 6, 3, 13, 14, 1, 11, 1, 4],
"ct": [4, 4, 2, 8, 12, 5, 12, 8, 5, 4, 13, 0, 2, 3, 8, 0, 14, 9, 2],
"result": "valid"
},
{
"tcId": 1944,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [6, 11, 0, 5, 4, 3, 6, 0, 1, 0, 5, 11, 1, 12, 12, 13, 0, 4, 12],
"ct": [11, 11, 3, 10, 11, 7, 11, 14, 12, 8, 8, 11, 8, 15, 10, 1, 8, 1, 1],
"result": "valid"
},
{
"tcId": 1945,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [11, 5, 11, 13, 3, 3, 3, 12, 12, 11, 10, 13, 2, 15, 0, 3, 15, 3, 1],
"ct": [3, 1, 12, 9, 12, 4, 2, 4, 6, 12, 15, 12, 3, 3, 0, 3, 6, 11, 3],
"result": "valid"
},
{
"tcId": 1946,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [4, 2, 5, 13, 10, 10, 6, 10, 13, 7, 2, 5, 12, 8, 3, 13, 11, 2, 12],
"ct": [10, 10, 8, 9, 9, 5, 1, 1, 9, 6, 5, 2, 13, 14, 8, 4, 1, 13, 1],
"result": "valid"
},
{
"tcId": 1947,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [14, 2, 14, 15, 10, 10, 5, 2, 5, 5, 3, 2, 10, 9, 11, 4, 8, 8, 8],
"ct": [12, 3, 3, 14, 14, 4, 4, 1, 9, 14, 15, 10, 0, 0, 15, 11, 14, 13, 4],
"result": "valid"
},
{
"tcId": 1948,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [8, 6, 8, 11, 8, 4, 0, 3, 6, 15, 5, 14, 10, 10, 12, 14, 2, 5, 5],
"ct": [7, 11, 10, 13, 6, 5, 11, 5, 7, 2, 1, 12, 11, 1, 4, 6, 9, 1, 10],
"result": "valid"
},
{
"tcId": 1949,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [15, 5, 2, 1, 14, 1, 1, 9, 13, 1, 13, 12, 6, 5, 7, 13, 0, 3, 8],
"ct": [9, 14, 0, 6, 3, 12, 2, 3, 2, 12, 11, 11, 6, 6, 9, 2, 2, 4, 15],
"result": "valid"
},
{
"tcId": 1950,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [0, 8, 13, 7, 1, 6, 6, 8, 10, 13, 3, 10, 12, 6, 4, 13, 9, 5, 15],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1951,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [7, 14, 2, 12, 9, 13, 13, 11, 4, 2, 0, 6, 9, 13, 10, 1, 12, 9, 2],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1952,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [15, 4, 7, 2, 6, 11, 5, 13, 1, 2, 8, 2, 14, 9, 6, 8, 13, 6, 2],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1953,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [12, 0, 10, 3, 13, 8, 3, 11, 13, 5, 7, 12, 12, 15, 15, 13, 0, 3, 8],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1954,
"comment": "y = 0 and (y + a) % radix**9 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "de1f80f79c8f7e7a0b1f",
"msg": [6, 11, 13, 8, 14, 7, 4, 8, 15, 8, 12, 12, 5, 11, 8, 15, 1, 5, 10],
"ct": [0, 13, 7, 11, 10, 7, 15, 11, 2, 2, 5, 7, 12, 7, 13, 12, 13, 11, 8],
"result": "valid"
},
{
"tcId": 1955,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "de1f80f79c8f7e7a0b1f",
"msg": [15, 12, 12, 13, 5, 2, 7, 7, 4, 2, 6, 14, 13, 2, 6, 10, 8, 6, 6],
"ct": [13, 13, 14, 14, 4, 0, 7, 1, 14, 8, 0, 5, 5, 12, 6, 2, 10, 3, 13],
"result": "valid"
},
{
"tcId": 1956,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "de1f80f79c8f7e7a0b1f",
"msg": [12, 1, 9, 4, 13, 14, 2, 6, 15, 4, 10, 14, 5, 15, 10, 11, 10, 8, 5],
"ct": [8, 1, 13, 3, 13, 15, 12, 9, 14, 6, 14, 0, 11, 9, 0, 13, 15, 0, 13],
"result": "valid"
},
{
"tcId": 1957,
"comment": "y = 0 and (y + a) % radix**9 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "de1f80f79c8f7e7a0b1f",
"msg": [1, 9, 12, 1, 15, 6, 5, 3, 11, 7, 2, 6, 6, 0, 14, 9, 1, 12, 15],
"ct": [7, 11, 4, 6, 10, 1, 10, 5, 12, 1, 12, 13, 7, 2, 7, 8, 9, 0, 5],
"result": "valid"
},
{
"tcId": 1958,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "5d0958df9b0f35c44825",
"msg": [2, 2, 3, 10, 12, 10, 12, 6, 10, 11, 4, 4, 11, 8, 4, 14, 7, 13, 15],
"ct": [0, 12, 12, 3, 3, 12, 8, 15, 6, 0, 8, 15, 1, 11, 11, 5, 8, 10, 10],
"result": "valid"
},
{
"tcId": 1959,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "5d0958df9b0f35c44825",
"msg": [7, 2, 1, 3, 12, 9, 9, 1, 5, 10, 8, 11, 13, 10, 4, 1, 14, 0, 6],
"ct": [9, 15, 3, 4, 15, 7, 3, 12, 8, 4, 14, 6, 9, 8, 14, 0, 12, 7, 15],
"result": "valid"
},
{
"tcId": 1960,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "5d0958df9b0f35c44825",
"msg": [11, 15, 8, 14, 11, 3, 3, 4, 10, 1, 10, 10, 6, 6, 1, 9, 13, 11, 7],
"ct": [13, 12, 7, 6, 12, 4, 5, 5, 5, 11, 14, 1, 11, 14, 6, 10, 6, 11, 0],
"result": "valid"
},
{
"tcId": 1961,
"comment": "y = 1 and (y + a) % radix**9 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "5d0958df9b0f35c44825",
"msg": [2, 6, 9, 11, 0, 13, 4, 8, 0, 14, 5, 10, 9, 11, 10, 15, 0, 7, 9],
"ct": [1, 5, 8, 8, 4, 14, 9, 4, 4, 6, 6, 14, 4, 15, 3, 0, 2, 0, 1],
"result": "valid"
},
{
"tcId": 1962,
"comment": "y = 1 and (y + a) % radix**9 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "5d0958df9b0f35c44825",
"msg": [2, 3, 14, 5, 12, 3, 9, 4, 5, 5, 3, 1, 14, 12, 13, 10, 5, 15, 5],
"ct": [4, 4, 11, 2, 7, 15, 0, 6, 11, 6, 6, 6, 7, 3, 12, 6, 4, 10, 12],
"result": "valid"
},
{
"tcId": 1963,
"comment": "y is maximal and (y + a) % radix**9 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8c82459bad4d3802c98a",
"msg": [5, 6, 11, 10, 9, 10, 14, 8, 14, 9, 10, 4, 11, 10, 5, 8, 14, 13, 10],
"ct": [6, 5, 14, 4, 4, 14, 3, 4, 5, 0, 11, 0, 13, 15, 5, 7, 1, 10, 7],
"result": "valid"
},
{
"tcId": 1964,
"comment": "y is maximal and (y + a) % radix**9 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8c82459bad4d3802c98a",
"msg": [14, 8, 11, 14, 8, 10, 12, 7, 5, 15, 7, 12, 11, 8, 15, 1, 9, 0, 8],
"ct": [1, 6, 11, 5, 7, 3, 11, 4, 2, 7, 0, 2, 1, 3, 7, 14, 6, 15, 0],
"result": "valid"
},
{
"tcId": 1965,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8c82459bad4d3802c98a",
"msg": [12, 1, 11, 6, 6, 1, 2, 9, 11, 12, 12, 13, 11, 13, 6, 15, 0, 1, 4],
"ct": [8, 9, 11, 13, 12, 7, 7, 1, 15, 6, 10, 8, 6, 3, 12, 3, 4, 2, 13],
"result": "valid"
},
{
"tcId": 1966,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8c82459bad4d3802c98a",
"msg": [10, 11, 0, 10, 10, 7, 12, 6, 7, 4, 8, 10, 1, 0, 7, 4, 1, 3, 6],
"ct": [5, 2, 8, 12, 0, 3, 11, 8, 8, 0, 12, 5, 14, 12, 11, 4, 11, 10, 13],
"result": "valid"
},
{
"tcId": 1967,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8a70c3859367df381158",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 10, 6, 9, 3, 7, 7, 10, 5, 11],
"ct": [10, 0, 1, 0, 1, 11, 0, 12, 12, 15, 15, 9, 14, 14, 0, 4, 10, 3, 13],
"result": "valid"
},
{
"tcId": 1968,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8a70c3859367df381158",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 1, 15, 10, 6, 9, 3, 7, 7, 10, 5, 11],
"ct": [12, 7, 12, 5, 12, 9, 15, 15, 1, 5, 13, 5, 1, 9, 15, 9, 7, 12, 8],
"result": "valid"
},
{
"tcId": 1969,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8a70c3859367df381158",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 15, 15, 10, 6, 9, 3, 7, 7, 10, 5, 11],
"ct": [15, 10, 8, 7, 9, 4, 5, 0, 11, 2, 1, 2, 4, 11, 11, 15, 2, 14, 5],
"result": "valid"
},
{
"tcId": 1970,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8a70c3859367df381158",
"msg": [0, 0, 0, 0, 0, 0, 0, 1, 0, 15, 10, 6, 9, 3, 7, 7, 10, 5, 11],
"ct": [0, 1, 8, 12, 15, 3, 15, 4, 7, 9, 11, 2, 6, 8, 3, 5, 9, 0, 4],
"result": "valid"
},
{
"tcId": 1971,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8a70c3859367df381158",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 15, 10, 6, 9, 3, 7, 7, 10, 5, 11],
"ct": [7, 5, 8, 2, 5, 1, 8, 10, 11, 2, 13, 2, 2, 8, 2, 1, 13, 15, 2],
"result": "valid"
},
{
"tcId": 1972,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8a70c3859367df381158",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 10, 6, 9, 3, 7, 7, 10, 5, 11],
"ct": [14, 4, 12, 12, 8, 4, 5, 9, 13, 0, 11, 13, 15, 4, 10, 15, 12, 5, 3],
"result": "valid"
},
{
"tcId": 1973,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "587d98577a68d1a0ff9a",
"msg": [10, 8, 0, 1, 13, 6, 14, 10, 13, 11, 7, 2, 9, 13, 13, 7, 3, 0, 10],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 14, 10, 13, 1, 9, 14, 0, 9, 8],
"result": "valid"
},
{
"tcId": 1974,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "587d98577a68d1a0ff9a",
"msg": [5, 12, 8, 13, 10, 2, 15, 3, 8, 7, 7, 12, 10, 5, 3, 1, 11, 10, 5],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 2, 15, 0, 6, 15, 12, 13, 1],
"result": "valid"
},
{
"tcId": 1975,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "587d98577a68d1a0ff9a",
"msg": [14, 2, 12, 2, 13, 11, 1, 15, 2, 11, 1, 5, 9, 11, 14, 4, 10, 5, 13],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 9, 6, 7, 8, 1, 13, 4, 8, 9, 8],
"result": "valid"
},
{
"tcId": 1976,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "587d98577a68d1a0ff9a",
"msg": [9, 12, 3, 3, 7, 10, 9, 3, 5, 7, 8, 2, 10, 10, 10, 14, 12, 10, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 14, 4, 0, 12, 9, 11, 10, 2, 9, 12, 10],
"result": "valid"
},
{
"tcId": 1977,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9",
"tweak": "210a87007dcef98c",
"msg": [-1, 12, 0, 11, 7, 15, 12, 1, 13, 14, 15, 3, 7, 11, 6, 11, 4, 2, 5],
"ct": [12, 3, 14, 4, 10, 13, 7, 6, 5, 8, 13, 7, 7, 11, 11, 1, 1, 15, 14],
"result": "invalid"
},
{
"tcId": 1978,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9",
"tweak": "210a87007dcef98c",
"msg": [12, 12, 0, 11, 7, 15, -1, 1, 13, 14, 15, 3, 7, 11, 6, 11, 4, 2, 5],
"ct": [6, 9, 15, 15, 7, 0, 12, 0, 9, 3, 7, 10, 0, 12, 1, 11, 10, 10, 4],
"result": "invalid"
},
{
"tcId": 1979,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9",
"tweak": "210a87007dcef98c",
"msg": [12, 12, 0, 11, 7, 15, 12, 1, 13, 14, 15, 3, 7, 11, 6, 11, 4, 2, -1],
"ct": [15, 9, 13, 10, 5, 11, 9, 4, 8, 7, 9, 13, 6, 10, 5, 2, 7, 8, 7],
"result": "invalid"
},
{
"tcId": 1980,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d0a4dd993f5cb51a66a4bc3eb13e651dbd585e76fd829e19",
"tweak": "d493696efc5cc665",
"msg": [16, 13, 5, 6, 10, 5, 10, 12, 3, 8, 2, 4, 13, 8, 1, 13, 14, 12, 3],
"ct": [11, 2, 11, 10, 2, 8, 3, 15, 2, 5, 12, 15, 13, 4, 3, 14, 7, 9, 5],
"result": "invalid"
},
{
"tcId": 1981,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d0a4dd993f5cb51a66a4bc3eb13e651dbd585e76fd829e19",
"tweak": "d493696efc5cc665",
"msg": [8, 13, 5, 6, 10, 5, 16, 12, 3, 8, 2, 4, 13, 8, 1, 13, 14, 12, 3],
"ct": [12, 8, 9, 14, 6, 13, 6, 12, 14, 11, 1, 10, 9, 12, 5, 11, 10, 2, 13],
"result": "invalid"
},
{
"tcId": 1982,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d0a4dd993f5cb51a66a4bc3eb13e651dbd585e76fd829e19",
"tweak": "d493696efc5cc665",
"msg": [8, 13, 5, 6, 10, 5, 10, 12, 3, 8, 2, 4, 13, 8, 1, 13, 14, 12, 16],
"ct": [10, 10, 3, 0, 7, 1, 10, 15, 15, 1, 2, 12, 7, 15, 8, 13, 5, 13, 8],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 20,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1983,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "141107e15df419395d338f34ef63f1e80d20b2dad04e5b54",
"tweak": "b069e365f5a623ff",
"msg": [3, 10, 10, 1, 15, 6, 15, 10, 1, 3, 1, 15, 13, 0, 1, 7, 3, 6, 2, 15],
"ct": [2, 4, 9, 0, 0, 3, 2, 8, 2, 10, 14, 14, 14, 10, 12, 1, 7, 9, 12, 2],
"result": "valid"
},
{
"tcId": 1984,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [6, 0, 9, 1, 15, 4, 9, 6, 7, 14, 0, 8, 9, 3, 8, 7, 0, 14, 10, 14],
"result": "valid"
},
{
"tcId": 1985,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [10, 5, 9, 1, 10, 3, 4, 8, 3, 10, 15, 5, 15, 8, 4, 11, 3, 9, 8, 9],
"result": "valid"
},
{
"tcId": 1986,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 9, 12, 4, 5, 12, 4, 3, 4, 10, 1, 10, 0, 13, 5, 2, 8, 11, 10, 1],
"result": "valid"
},
{
"tcId": 1987,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [8, 4, 10, 7, 8, 10, 3, 2, 4, 5, 14, 10, 12, 11, 5, 2, 9, 7, 15, 5],
"result": "valid"
},
{
"tcId": 1988,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [7, 4, 15, 5, 12, 11, 5, 10, 0, 14, 14, 9, 11, 7, 5, 11, 7, 5, 0, 1],
"ct": [11, 4, 7, 3, 9, 4, 8, 3, 13, 1, 9, 12, 4, 13, 13, 12, 8, 0, 9, 4],
"result": "valid"
},
{
"tcId": 1989,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [4, 13, 12, 9, 8, 8, 10, 1, 15, 9, 12, 10, 0, 13, 11, 14, 3, 7, 9, 14],
"ct": [14, 12, 0, 4, 13, 5, 15, 8, 9, 10, 1, 5, 7, 9, 14, 1, 4, 4, 11, 12],
"result": "valid"
},
{
"tcId": 1990,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [4, 15, 3, 0, 15, 2, 0, 10, 9, 11, 15, 15, 12, 3, 2, 6, 3, 2, 14, 13],
"ct": [14, 3, 7, 11, 6, 0, 11, 13, 8, 8, 11, 4, 3, 5, 9, 15, 7, 7, 1, 10],
"result": "valid"
},
{
"tcId": 1991,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [15, 9, 7, 11, 3, 3, 15, 14, 1, 5, 2, 2, 5, 9, 10, 13, 0, 14, 8, 15],
"ct": [13, 10, 15, 1, 15, 7, 11, 6, 8, 12, 8, 0, 2, 8, 0, 12, 13, 1, 10, 13],
"result": "valid"
},
{
"tcId": 1992,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [0, 13, 3, 3, 7, 2, 12, 11, 8, 12, 9, 4, 11, 3, 0, 14, 11, 14, 7, 7],
"ct": [13, 1, 5, 15, 0, 6, 5, 14, 10, 6, 13, 6, 7, 15, 12, 0, 15, 1, 12, 15],
"result": "valid"
},
{
"tcId": 1993,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [11, 5, 2, 10, 11, 5, 13, 2, 8, 14, 6, 11, 7, 9, 4, 6, 0, 3, 6, 8],
"ct": [0, 7, 6, 0, 15, 2, 15, 13, 13, 12, 12, 14, 9, 6, 7, 1, 11, 11, 1, 6],
"result": "valid"
},
{
"tcId": 1994,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [13, 9, 10, 14, 3, 11, 9, 2, 14, 10, 14, 1, 0, 11, 10, 6, 11, 4, 5, 5],
"ct": [3, 7, 7, 9, 11, 13, 2, 0, 0, 0, 0, 4, 7, 15, 9, 4, 4, 13, 9, 4],
"result": "valid"
},
{
"tcId": 1995,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [12, 10, 2, 8, 10, 8, 0, 5, 1, 13, 3, 6, 8, 15, 1, 9, 0, 5, 9, 0],
"ct": [15, 1, 11, 5, 4, 3, 3, 5, 14, 15, 5, 6, 8, 2, 8, 0, 7, 15, 10, 1],
"result": "valid"
},
{
"tcId": 1996,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [0, 2, 14, 10, 2, 2, 9, 13, 15, 6, 8, 7, 4, 14, 8, 15, 10, 7, 14, 2],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1997,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [2, 8, 9, 4, 12, 3, 7, 1, 12, 5, 3, 5, 5, 12, 2, 6, 14, 14, 0, 0],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 1998,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [7, 2, 3, 10, 11, 12, 1, 6, 5, 2, 9, 3, 3, 10, 8, 8, 0, 3, 5, 5],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1999,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [8, 3, 15, 4, 15, 12, 3, 5, 8, 11, 1, 14, 13, 8, 1, 12, 3, 7, 8, 12],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2000,
"comment": "y = 0 and (y + a) % radix**10 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "ffe076da6b763f44a7e5",
"msg": [8, 3, 15, 11, 2, 12, 8, 0, 5, 15, 11, 1, 2, 12, 6, 13, 1, 13, 6, 5],
"ct": [12, 3, 11, 15, 2, 15, 2, 0, 0, 0, 12, 5, 2, 9, 1, 12, 5, 6, 4, 15],
"result": "valid"
},
{
"tcId": 2001,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "ffe076da6b763f44a7e5",
"msg": [13, 2, 13, 1, 12, 10, 3, 10, 12, 15, 8, 10, 11, 3, 14, 15, 12, 9, 8, 14],
"ct": [5, 0, 14, 15, 6, 0, 15, 2, 4, 9, 0, 11, 14, 2, 15, 1, 10, 4, 10, 3],
"result": "valid"
},
{
"tcId": 2002,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "ffe076da6b763f44a7e5",
"msg": [15, 5, 8, 7, 3, 11, 3, 12, 12, 3, 3, 8, 12, 11, 11, 1, 13, 15, 3, 3],
"ct": [4, 5, 5, 7, 9, 2, 14, 0, 0, 6, 9, 5, 10, 4, 3, 14, 9, 0, 1, 12],
"result": "valid"
},
{
"tcId": 2003,
"comment": "y = 0 and (y + a) % radix**10 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "ffe076da6b763f44a7e5",
"msg": [10, 12, 5, 8, 10, 8, 0, 6, 0, 5, 1, 12, 11, 15, 11, 6, 1, 3, 1, 9],
"ct": [1, 12, 10, 14, 6, 15, 0, 2, 14, 3, 9, 6, 0, 4, 9, 6, 2, 2, 12, 4],
"result": "valid"
},
{
"tcId": 2004,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "1fef24163e3460477b06",
"msg": [12, 13, 14, 5, 2, 7, 5, 1, 10, 12, 11, 5, 15, 9, 4, 0, 2, 0, 5, 4],
"ct": [8, 11, 2, 0, 10, 13, 6, 1, 6, 1, 10, 2, 4, 8, 5, 1, 3, 2, 0, 12],
"result": "valid"
},
{
"tcId": 2005,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "1fef24163e3460477b06",
"msg": [9, 9, 2, 4, 7, 4, 1, 9, 1, 3, 7, 10, 6, 11, 13, 2, 6, 15, 7, 10],
"ct": [7, 1, 4, 12, 3, 12, 1, 13, 8, 11, 6, 4, 8, 15, 4, 12, 14, 9, 14, 3],
"result": "valid"
},
{
"tcId": 2006,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "1fef24163e3460477b06",
"msg": [5, 15, 15, 14, 10, 0, 11, 1, 5, 7, 1, 6, 12, 11, 14, 14, 0, 15, 6, 11],
"ct": [10, 13, 10, 15, 6, 2, 14, 6, 8, 0, 7, 7, 1, 2, 12, 2, 5, 13, 14, 0],
"result": "valid"
},
{
"tcId": 2007,
"comment": "y = 1 and (y + a) % radix**10 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "1fef24163e3460477b06",
"msg": [1, 4, 11, 5, 7, 8, 13, 10, 1, 4, 10, 5, 4, 12, 2, 14, 12, 4, 0, 12],
"ct": [15, 8, 2, 8, 5, 11, 3, 10, 6, 13, 1, 3, 4, 14, 11, 14, 2, 5, 4, 15],
"result": "valid"
},
{
"tcId": 2008,
"comment": "y = 1 and (y + a) % radix**10 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "1fef24163e3460477b06",
"msg": [3, 14, 12, 14, 5, 2, 11, 5, 6, 9, 12, 5, 15, 9, 14, 4, 5, 0, 1, 13],
"ct": [8, 3, 15, 11, 10, 10, 0, 12, 13, 15, 12, 0, 8, 1, 5, 13, 4, 0, 8, 8],
"result": "valid"
},
{
"tcId": 2009,
"comment": "y is maximal and (y + a) % radix**10 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "39e17128603f04366347",
"msg": [15, 14, 3, 13, 15, 0, 11, 14, 2, 3, 14, 15, 10, 7, 7, 14, 7, 15, 7, 8],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 14, 0, 7, 10, 0, 9, 13, 15, 3],
"result": "valid"
},
{
"tcId": 2010,
"comment": "y is maximal and (y + a) % radix**10 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "39e17128603f04366347",
"msg": [5, 1, 3, 15, 12, 2, 6, 1, 3, 8, 0, 0, 11, 1, 10, 8, 12, 12, 13, 7],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 1, 2, 8, 7, 5, 2, 13, 2, 2],
"result": "valid"
},
{
"tcId": 2011,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "39e17128603f04366347",
"msg": [13, 12, 1, 11, 3, 9, 14, 1, 4, 11, 6, 4, 15, 1, 2, 9, 3, 1, 14, 15],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 4, 4, 2, 14, 0, 5, 3, 11, 7],
"result": "valid"
},
{
"tcId": 2012,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "39e17128603f04366347",
"msg": [6, 0, 7, 3, 2, 3, 5, 13, 2, 10, 12, 0, 12, 10, 8, 4, 15, 7, 9, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 9, 11, 11, 12, 5, 11, 12, 6, 15, 5],
"result": "valid"
},
{
"tcId": 2013,
"comment": "y is edge case for modular reduction and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "157b8609eb9be656c4e4",
"msg": [1, 15, 13, 2, 4, 14, 8, 8, 15, 11, 0, 1, 11, 12, 2, 9, 5, 4, 8, 13],
"ct": [15, 8, 1, 12, 2, 15, 9, 0, 0, 7, 15, 0, 12, 3, 8, 8, 12, 1, 11, 0],
"result": "valid"
},
{
"tcId": 2014,
"comment": "y is edge case for modular reduction and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "157b8609eb9be656c4e4",
"msg": [1, 7, 1, 14, 15, 1, 6, 10, 11, 7, 13, 13, 9, 5, 14, 6, 7, 1, 0, 14],
"ct": [4, 14, 2, 6, 2, 11, 0, 2, 4, 5, 4, 0, 6, 5, 11, 12, 9, 15, 15, 8],
"result": "valid"
},
{
"tcId": 2015,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "157b8609eb9be656c4e4",
"msg": [0, 5, 8, 7, 10, 4, 8, 4, 5, 12, 9, 6, 2, 13, 14, 2, 1, 3, 1, 3],
"ct": [5, 14, 6, 8, 12, 4, 11, 6, 9, 3, 6, 8, 10, 1, 11, 0, 11, 10, 14, 13],
"result": "valid"
},
{
"tcId": 2016,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "157b8609eb9be656c4e4",
"msg": [5, 4, 2, 5, 3, 1, 15, 10, 2, 0, 10, 0, 12, 14, 4, 12, 12, 3, 10, 10],
"ct": [5, 4, 10, 10, 3, 11, 11, 14, 6, 15, 14, 14, 7, 6, 14, 5, 6, 13, 13, 1],
"result": "valid"
},
{
"tcId": 2017,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "157b8609eb9be656c4e4",
"msg": [6, 11, 11, 3, 14, 14, 7, 11, 3, 7, 5, 15, 2, 14, 4, 8, 12, 11, 9, 7],
"ct": [0, 9, 14, 5, 7, 8, 1, 9, 13, 8, 8, 10, 7, 0, 13, 12, 5, 2, 13, 7],
"result": "valid"
},
{
"tcId": 2018,
"comment": "y is edge case for modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "157b8609eb9be656c4e4",
"msg": [1, 9, 14, 9, 15, 6, 0, 13, 7, 0, 15, 13, 11, 8, 13, 4, 5, 14, 4, 15],
"ct": [13, 8, 4, 9, 6, 6, 15, 14, 2, 3, 1, 0, 14, 13, 3, 13, 10, 3, 5, 10],
"result": "valid"
},
{
"tcId": 2019,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "7d1866e2428fb22a7717",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 2, 15, 15, 11, 2, 5, 1, 9, 4],
"ct": [8, 14, 5, 3, 9, 13, 10, 13, 1, 6, 9, 1, 8, 10, 11, 10, 8, 12, 15, 6],
"result": "valid"
},
{
"tcId": 2020,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "7d1866e2428fb22a7717",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 10, 2, 15, 15, 11, 2, 5, 1, 9, 4],
"ct": [14, 3, 14, 10, 6, 7, 12, 3, 9, 1, 7, 1, 7, 15, 7, 11, 5, 3, 12, 13],
"result": "valid"
},
{
"tcId": 2021,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "7d1866e2428fb22a7717",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 2, 15, 15, 11, 2, 5, 1, 9, 4],
"ct": [12, 6, 11, 5, 8, 0, 3, 13, 4, 9, 7, 10, 8, 1, 3, 6, 15, 3, 4, 9],
"result": "valid"
},
{
"tcId": 2022,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "7d1866e2428fb22a7717",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 10, 2, 15, 15, 11, 2, 5, 1, 9, 4],
"ct": [13, 3, 3, 1, 2, 1, 9, 3, 14, 15, 2, 8, 2, 11, 6, 2, 12, 10, 1, 15],
"result": "valid"
},
{
"tcId": 2023,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f",
"tweak": "25733cf5c0f0d898",
"msg": [-1, 13, 9, 14, 13, 13, 11, 3, 5, 14, 6, 9, 8, 4, 1, 13, 3, 0, 5, 5],
"ct": [4, 4, 5, 7, 9, 4, 4, 15, 15, 12, 15, 5, 0, 14, 11, 1, 0, 12, 10, 3],
"result": "invalid"
},
{
"tcId": 2024,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f",
"tweak": "25733cf5c0f0d898",
"msg": [10, 13, 9, 14, 13, 13, -1, 3, 5, 14, 6, 9, 8, 4, 1, 13, 3, 0, 5, 5],
"ct": [15, 2, 4, 4, 15, 5, 3, 4, 13, 2, 15, 6, 4, 9, 4, 8, 7, 13, 13, 4],
"result": "invalid"
},
{
"tcId": 2025,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f",
"tweak": "25733cf5c0f0d898",
"msg": [10, 13, 9, 14, 13, 13, 11, 3, 5, 14, 6, 9, 8, 4, 1, 13, 3, 0, 5, -1],
"ct": [10, 10, 9, 6, 12, 13, 0, 2, 8, 5, 6, 14, 11, 0, 15, 3, 4, 15, 9, 15],
"result": "invalid"
},
{
"tcId": 2026,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c99ba62a09cce7726bd0b94c783578d202f054a22cb15533",
"tweak": "8eb25ee0c575f70e",
"msg": [16, 1, 10, 5, 7, 0, 9, 1, 0, 0, 4, 4, 1, 3, 5, 3, 5, 10, 13, 8],
"ct": [14, 5, 15, 0, 1, 3, 2, 15, 4, 15, 3, 2, 14, 9, 0, 13, 5, 14, 11, 6],
"result": "invalid"
},
{
"tcId": 2027,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c99ba62a09cce7726bd0b94c783578d202f054a22cb15533",
"tweak": "8eb25ee0c575f70e",
"msg": [4, 1, 10, 5, 7, 0, 16, 1, 0, 0, 4, 4, 1, 3, 5, 3, 5, 10, 13, 8],
"ct": [1, 10, 0, 15, 11, 10, 0, 12, 15, 10, 14, 1, 4, 1, 8, 12, 12, 3, 8, 13],
"result": "invalid"
},
{
"tcId": 2028,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c99ba62a09cce7726bd0b94c783578d202f054a22cb15533",
"tweak": "8eb25ee0c575f70e",
"msg": [4, 1, 10, 5, 7, 0, 9, 1, 0, 0, 4, 4, 1, 3, 5, 3, 5, 10, 13, 16],
"ct": [9, 2, 6, 9, 1, 5, 14, 8, 2, 2, 5, 10, 15, 6, 3, 10, 6, 4, 1, 15],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 21,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2029,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "c3bb552dddc77917376b930dc911345e533a17542ddbf421",
"tweak": "2780a38c74385db3",
"msg": [13, 6, 3, 7, 14, 3, 13, 0, 10, 8, 4, 13, 11, 14, 1, 8, 6, 8, 0, 7, 14],
"ct": [5, 1, 3, 3, 0, 5, 11, 3, 8, 13, 4, 3, 9, 13, 2, 7, 8, 5, 0, 9, 2],
"result": "valid"
},
{
"tcId": 2030,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [11, 2, 10, 7, 8, 9, 7, 15, 2, 13, 14, 6, 5, 11, 9, 7, 11, 5, 3, 12, 8],
"result": "valid"
},
{
"tcId": 2031,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [15, 3, 12, 5, 5, 13, 5, 0, 6, 4, 2, 8, 4, 7, 10, 9, 13, 15, 4, 4, 13],
"result": "valid"
},
{
"tcId": 2032,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 0, 13, 15, 5, 10, 11, 15, 14, 0, 11, 9, 11, 1, 1, 3, 8, 10, 15, 11, 6],
"result": "valid"
},
{
"tcId": 2033,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [5, 0, 8, 5, 7, 11, 6, 8, 3, 9, 7, 4, 15, 14, 2, 0, 15, 1, 5, 5, 15],
"result": "valid"
},
{
"tcId": 2034,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [8, 6, 5, 9, 1, 7, 5, 3, 9, 9, 5, 13, 1, 2, 2, 7, 2, 0, 14, 2, 0],
"ct": [6, 10, 10, 3, 13, 12, 8, 1, 1, 7, 1, 15, 7, 13, 7, 10, 2, 15, 10, 3, 11],
"result": "valid"
},
{
"tcId": 2035,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [15, 15, 0, 6, 11, 10, 12, 2, 14, 8, 0, 9, 12, 11, 10, 12, 0, 3, 0, 14, 13],
"ct": [9, 10, 10, 9, 11, 5, 10, 8, 14, 9, 4, 2, 11, 12, 3, 7, 15, 0, 5, 6, 11],
"result": "valid"
},
{
"tcId": 2036,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [9, 2, 9, 5, 13, 12, 8, 6, 5, 4, 10, 13, 8, 11, 9, 5, 11, 7, 4, 13, 8],
"ct": [14, 15, 1, 9, 9, 0, 1, 13, 5, 2, 1, 10, 3, 12, 15, 5, 1, 4, 15, 0, 1],
"result": "valid"
},
{
"tcId": 2037,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [1, 6, 11, 8, 13, 9, 9, 4, 15, 7, 11, 0, 10, 5, 15, 6, 0, 6, 6, 13, 15],
"ct": [7, 12, 6, 3, 4, 6, 2, 0, 0, 12, 8, 11, 13, 9, 8, 2, 14, 6, 3, 13, 10],
"result": "valid"
},
{
"tcId": 2038,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [9, 8, 11, 10, 14, 13, 6, 10, 12, 3, 1, 9, 8, 4, 3, 5, 13, 2, 5, 8, 9],
"ct": [8, 3, 0, 5, 5, 2, 5, 12, 7, 8, 14, 11, 5, 0, 0, 12, 4, 12, 11, 3, 5],
"result": "valid"
},
{
"tcId": 2039,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [15, 9, 6, 6, 1, 11, 13, 13, 5, 11, 13, 2, 15, 7, 2, 1, 9, 2, 14, 1, 6],
"ct": [15, 10, 7, 5, 10, 15, 10, 10, 12, 1, 10, 1, 10, 12, 7, 15, 12, 10, 15, 8, 5],
"result": "valid"
},
{
"tcId": 2040,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [9, 7, 8, 3, 9, 12, 5, 11, 7, 15, 8, 5, 12, 12, 5, 8, 0, 2, 15, 10, 8],
"ct": [4, 1, 15, 1, 6, 8, 12, 6, 2, 8, 3, 9, 4, 7, 2, 4, 3, 11, 9, 15, 11],
"result": "valid"
},
{
"tcId": 2041,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [5, 12, 1, 10, 7, 9, 14, 12, 8, 6, 7, 7, 10, 9, 8, 15, 8, 0, 14, 0, 4],
"ct": [4, 1, 4, 4, 15, 11, 15, 8, 5, 0, 3, 15, 13, 11, 6, 9, 0, 14, 2, 12, 10],
"result": "valid"
},
{
"tcId": 2042,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [12, 14, 15, 9, 7, 5, 8, 3, 6, 9, 2, 4, 3, 13, 0, 1, 7, 4, 3, 14, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2043,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [0, 15, 13, 3, 11, 4, 12, 1, 7, 3, 14, 10, 12, 11, 1, 7, 0, 6, 7, 3, 1],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2044,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [8, 6, 7, 11, 2, 8, 9, 14, 11, 0, 7, 7, 4, 6, 2, 15, 9, 0, 3, 11, 3],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2045,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [4, 14, 10, 3, 12, 8, 14, 10, 11, 3, 14, 14, 8, 15, 15, 1, 2, 14, 3, 1, 13],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2046,
"comment": "y = 0 and (y + a) % radix**10 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "da70434f68e9eca557",
"msg": [1, 13, 11, 8, 5, 1, 11, 2, 10, 5, 6, 3, 14, 0, 5, 14, 5, 6, 9, 12, 12],
"ct": [15, 4, 15, 5, 9, 2, 0, 9, 3, 2, 1, 12, 13, 12, 13, 9, 6, 13, 1, 2, 11],
"result": "valid"
},
{
"tcId": 2047,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "da70434f68e9eca557",
"msg": [11, 5, 13, 11, 9, 9, 2, 4, 2, 15, 1, 11, 7, 3, 12, 9, 10, 5, 12, 11, 14],
"ct": [12, 6, 1, 7, 2, 4, 9, 12, 9, 9, 7, 4, 8, 2, 0, 15, 5, 9, 4, 10, 3],
"result": "valid"
},
{
"tcId": 2048,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "da70434f68e9eca557",
"msg": [9, 12, 14, 6, 8, 12, 15, 15, 1, 15, 15, 1, 6, 2, 1, 15, 9, 13, 14, 3, 3],
"ct": [14, 11, 3, 11, 0, 0, 2, 9, 11, 2, 6, 3, 6, 2, 15, 0, 3, 3, 3, 2, 9],
"result": "valid"
},
{
"tcId": 2049,
"comment": "y = 0 and (y + a) % radix**10 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "da70434f68e9eca557",
"msg": [5, 10, 1, 2, 0, 12, 5, 3, 8, 4, 11, 8, 14, 5, 1, 5, 10, 1, 13, 5, 15],
"ct": [11, 3, 4, 2, 7, 3, 6, 3, 2, 7, 2, 5, 14, 12, 5, 8, 0, 6, 12, 13, 10],
"result": "valid"
},
{
"tcId": 2050,
"comment": "y = 1 and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "26b49d483094022960",
"msg": [7, 10, 7, 1, 9, 15, 8, 2, 3, 0, 9, 12, 6, 3, 13, 13, 0, 10, 12, 1, 11],
"ct": [4, 3, 12, 9, 8, 14, 14, 4, 10, 8, 10, 15, 13, 15, 4, 14, 5, 9, 8, 0, 5],
"result": "valid"
},
{
"tcId": 2051,
"comment": "y = 1 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "26b49d483094022960",
"msg": [10, 6, 8, 4, 12, 5, 8, 8, 0, 6, 7, 13, 15, 4, 10, 3, 3, 9, 14, 11, 8],
"ct": [6, 0, 11, 12, 4, 11, 8, 3, 3, 5, 5, 9, 15, 5, 8, 12, 13, 15, 15, 4, 0],
"result": "valid"
},
{
"tcId": 2052,
"comment": "y = 1 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "26b49d483094022960",
"msg": [6, 4, 0, 0, 15, 3, 6, 15, 0, 12, 13, 10, 10, 9, 6, 7, 8, 13, 8, 6, 13],
"ct": [3, 2, 10, 10, 11, 10, 9, 0, 13, 11, 3, 12, 8, 12, 3, 9, 10, 6, 10, 6, 9],
"result": "valid"
},
{
"tcId": 2053,
"comment": "y = 1 and (y + a) % radix**11 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "26b49d483094022960",
"msg": [1, 3, 5, 0, 10, 6, 12, 4, 9, 6, 6, 10, 1, 9, 0, 8, 10, 10, 12, 13, 7],
"ct": [2, 9, 10, 13, 12, 2, 9, 6, 6, 6, 6, 10, 7, 3, 6, 13, 9, 11, 10, 2, 3],
"result": "valid"
},
{
"tcId": 2054,
"comment": "y = 1 and (y + a) % radix**11 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "26b49d483094022960",
"msg": [8, 14, 2, 7, 7, 10, 8, 4, 4, 6, 7, 0, 4, 0, 0, 11, 8, 5, 0, 12, 4],
"ct": [1, 1, 5, 8, 6, 2, 10, 2, 8, 9, 5, 1, 14, 5, 13, 3, 5, 6, 4, 3, 15],
"result": "valid"
},
{
"tcId": 2055,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "cd457e464db17851b9",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 11, 14, 11, 11, 5, 12, 0, 0, 12],
"ct": [5, 8, 13, 13, 7, 4, 1, 0, 9, 11, 9, 4, 14, 2, 15, 12, 12, 14, 15, 8, 13],
"result": "valid"
},
{
"tcId": 2056,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "cd457e464db17851b9",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 11, 14, 11, 11, 5, 12, 0, 0, 12],
"ct": [10, 6, 7, 5, 1, 2, 1, 10, 12, 15, 13, 14, 0, 4, 2, 9, 0, 4, 9, 3, 11],
"result": "valid"
},
{
"tcId": 2057,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "cd457e464db17851b9",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 2, 1, 11, 14, 11, 11, 5, 12, 0, 0, 12],
"ct": [13, 1, 10, 10, 7, 15, 7, 12, 2, 12, 12, 9, 4, 2, 9, 3, 12, 10, 5, 14, 13],
"result": "valid"
},
{
"tcId": 2058,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "cd457e464db17851b9",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 1, 11, 14, 11, 11, 5, 12, 0, 0, 12],
"ct": [15, 11, 14, 12, 10, 13, 8, 4, 13, 2, 14, 9, 13, 12, 2, 15, 10, 7, 4, 14, 0],
"result": "valid"
},
{
"tcId": 2059,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "cd457e464db17851b9",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 11, 14, 11, 11, 5, 12, 0, 0, 12],
"ct": [13, 8, 7, 14, 5, 12, 12, 14, 13, 2, 1, 10, 6, 5, 6, 14, 6, 6, 4, 9, 6],
"result": "valid"
},
{
"tcId": 2060,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "cd457e464db17851b9",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 2, 1, 11, 14, 11, 11, 5, 12, 0, 0, 12],
"ct": [3, 9, 0, 15, 6, 10, 3, 6, 1, 4, 7, 10, 15, 9, 8, 12, 3, 7, 7, 15, 11],
"result": "valid"
},
{
"tcId": 2061,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "793e881e540022c6a5",
"msg": [2, 9, 9, 7, 10, 15, 7, 13, 6, 12, 1, 6, 6, 9, 5, 15, 4, 1, 11, 7, 15],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 2, 14, 0, 5, 10, 7, 5, 6, 7, 7, 5],
"result": "valid"
},
{
"tcId": 2062,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "793e881e540022c6a5",
"msg": [2, 9, 4, 8, 14, 11, 8, 8, 15, 4, 15, 14, 9, 3, 6, 5, 4, 2, 13, 5, 5],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 9, 9, 12, 13, 11, 8, 7, 13, 1],
"result": "valid"
},
{
"tcId": 2063,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "793e881e540022c6a5",
"msg": [0, 4, 9, 7, 6, 0, 12, 9, 11, 4, 10, 10, 8, 8, 9, 15, 4, 11, 2, 15, 0],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 5, 0, 5, 9, 2, 5, 1, 5, 6, 7, 0],
"result": "valid"
},
{
"tcId": 2064,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "793e881e540022c6a5",
"msg": [13, 8, 12, 8, 5, 6, 0, 15, 15, 12, 4, 2, 1, 11, 4, 10, 6, 13, 10, 11, 1],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 9, 5, 7, 4, 3, 3, 6, 15, 1, 9, 9],
"result": "valid"
},
{
"tcId": 2065,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101",
"tweak": "08ab087236e7ba87",
"msg": [-1, 9, 6, 10, 6, 0, 9, 13, 11, 4, 2, 15, 12, 11, 14, 0, 14, 5, 10, 3, 10],
"ct": [6, 3, 10, 0, 8, 13, 8, 14, 2, 5, 3, 9, 0, 10, 14, 15, 9, 9, 13, 6, 12],
"result": "invalid"
},
{
"tcId": 2066,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101",
"tweak": "08ab087236e7ba87",
"msg": [3, 9, 6, 10, 6, 0, 9, -1, 11, 4, 2, 15, 12, 11, 14, 0, 14, 5, 10, 3, 10],
"ct": [0, 2, 11, 10, 8, 0, 3, 0, 0, 6, 11, 0, 9, 11, 5, 7, 7, 11, 3, 6, 1],
"result": "invalid"
},
{
"tcId": 2067,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101",
"tweak": "08ab087236e7ba87",
"msg": [3, 9, 6, 10, 6, 0, 9, 13, 11, 4, 2, 15, 12, 11, 14, 0, 14, 5, 10, 3, -1],
"ct": [13, 9, 7, 14, 4, 9, 0, 8, 3, 10, 2, 13, 6, 0, 6, 9, 1, 6, 11, 0, 15],
"result": "invalid"
},
{
"tcId": 2068,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4b53d88dcccc16e59ffff9e9ec57ba79f2005d66863e1848",
"tweak": "12f8a7b6eb8a357a",
"msg": [16, 6, 6, 3, 8, 8, 13, 13, 9, 10, 9, 14, 4, 2, 0, 1, 9, 0, 9, 6, 5],
"ct": [4, 10, 13, 6, 14, 13, 11, 4, 9, 1, 15, 1, 15, 10, 0, 9, 5, 6, 7, 13, 15],
"result": "invalid"
},
{
"tcId": 2069,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4b53d88dcccc16e59ffff9e9ec57ba79f2005d66863e1848",
"tweak": "12f8a7b6eb8a357a",
"msg": [1, 6, 6, 3, 8, 8, 13, 16, 9, 10, 9, 14, 4, 2, 0, 1, 9, 0, 9, 6, 5],
"ct": [7, 10, 5, 3, 0, 9, 7, 15, 2, 0, 7, 6, 0, 4, 9, 8, 0, 1, 6, 11, 1],
"result": "invalid"
},
{
"tcId": 2070,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4b53d88dcccc16e59ffff9e9ec57ba79f2005d66863e1848",
"tweak": "12f8a7b6eb8a357a",
"msg": [1, 6, 6, 3, 8, 8, 13, 13, 9, 10, 9, 14, 4, 2, 0, 1, 9, 0, 9, 6, 16],
"ct": [7, 10, 10, 10, 15, 13, 1, 9, 11, 3, 8, 9, 3, 2, 0, 10, 12, 6, 11, 2, 12],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 22,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2071,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "00bdb5e8b811c9617b0c07c9ed50b6d067ac817cbe06e44a",
"tweak": "d92d8fd1572665ab",
"msg": [10, 15, 14, 2, 0, 2, 2, 13, 11, 1, 10, 7, 11, 11, 8, 9, 8, 12, 1, 13, 10, 2],
"ct": [4, 6, 5, 11, 10, 2, 7, 9, 13, 1, 12, 7, 2, 11, 6, 7, 1, 10, 2, 7, 12, 9],
"result": "valid"
},
{
"tcId": 2072,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [14, 3, 15, 2, 9, 2, 2, 4, 5, 8, 1, 0, 15, 14, 15, 2, 11, 8, 13, 8, 10, 4],
"result": "valid"
},
{
"tcId": 2073,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [2, 11, 7, 12, 4, 8, 14, 9, 11, 0, 3, 1, 6, 11, 1, 0, 6, 5, 15, 10, 11, 14],
"result": "valid"
},
{
"tcId": 2074,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [13, 15, 3, 15, 12, 7, 13, 8, 9, 12, 7, 13, 11, 11, 14, 4, 9, 12, 11, 8, 15, 15],
"result": "valid"
},
{
"tcId": 2075,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [0, 8, 3, 10, 12, 13, 3, 1, 14, 10, 2, 4, 14, 7, 2, 4, 2, 11, 4, 9, 11, 13],
"result": "valid"
},
{
"tcId": 2076,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [14, 1, 2, 5, 13, 0, 5, 10, 11, 5, 13, 11, 15, 0, 9, 3, 14, 8, 7, 9, 1, 2],
"ct": [14, 11, 1, 12, 7, 15, 8, 6, 13, 10, 13, 4, 4, 12, 1, 6, 2, 14, 7, 12, 15, 12],
"result": "valid"
},
{
"tcId": 2077,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [0, 9, 7, 15, 13, 8, 6, 9, 7, 0, 11, 5, 5, 11, 15, 14, 2, 1, 9, 1, 9, 14],
"ct": [9, 0, 12, 4, 14, 0, 9, 1, 8, 14, 7, 6, 11, 6, 10, 6, 13, 0, 15, 9, 3, 12],
"result": "valid"
},
{
"tcId": 2078,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [2, 10, 13, 7, 4, 6, 4, 14, 12, 4, 12, 14, 15, 8, 7, 11, 3, 9, 9, 11, 6, 3],
"ct": [5, 7, 0, 8, 11, 2, 1, 1, 4, 12, 4, 4, 7, 15, 8, 5, 12, 4, 8, 5, 2, 14],
"result": "valid"
},
{
"tcId": 2079,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [8, 6, 10, 13, 7, 6, 11, 9, 12, 10, 11, 13, 6, 15, 10, 6, 2, 8, 11, 2, 0, 0],
"ct": [11, 5, 7, 2, 13, 2, 0, 13, 3, 3, 6, 8, 5, 6, 10, 13, 6, 0, 3, 6, 5, 9],
"result": "valid"
},
{
"tcId": 2080,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [15, 13, 2, 2, 2, 0, 2, 13, 6, 14, 2, 14, 4, 6, 13, 10, 9, 0, 2, 13, 2, 5],
"ct": [11, 3, 8, 15, 15, 14, 5, 4, 1, 3, 4, 9, 5, 11, 5, 9, 15, 15, 13, 8, 0, 8],
"result": "valid"
},
{
"tcId": 2081,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [8, 13, 5, 0, 1, 6, 3, 14, 12, 12, 6, 14, 10, 9, 12, 15, 12, 0, 13, 3, 7, 6],
"ct": [7, 1, 9, 13, 14, 8, 5, 10, 3, 5, 5, 15, 7, 4, 6, 0, 15, 6, 6, 10, 14, 15],
"result": "valid"
},
{
"tcId": 2082,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [13, 7, 4, 8, 14, 4, 8, 7, 0, 2, 12, 4, 12, 5, 2, 3, 5, 3, 5, 6, 2, 1],
"ct": [5, 6, 10, 0, 9, 7, 14, 0, 13, 13, 5, 14, 9, 4, 0, 15, 15, 14, 10, 0, 15, 15],
"result": "valid"
},
{
"tcId": 2083,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [7, 13, 3, 7, 6, 9, 14, 3, 8, 8, 14, 2, 5, 13, 11, 3, 5, 2, 11, 0, 9, 10],
"ct": [4, 9, 6, 4, 10, 1, 6, 12, 8, 5, 3, 13, 2, 9, 15, 0, 10, 2, 10, 14, 9, 4],
"result": "valid"
},
{
"tcId": 2084,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [3, 1, 4, 3, 10, 5, 0, 12, 13, 5, 15, 14, 8, 9, 0, 11, 7, 3, 12, 2, 13, 7],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2085,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [4, 12, 6, 0, 2, 7, 11, 12, 12, 12, 7, 0, 6, 8, 4, 5, 4, 1, 1, 4, 2, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2086,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [10, 5, 15, 14, 0, 13, 9, 3, 11, 15, 5, 10, 2, 1, 0, 9, 8, 14, 7, 14, 8, 1],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2087,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [13, 15, 8, 1, 2, 5, 12, 7, 9, 11, 15, 9, 1, 11, 2, 2, 7, 0, 11, 15, 0, 6],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2088,
"comment": "y = 0 and (y + a) % radix**11 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "9605aa1fb014b47d50",
"msg": [13, 1, 5, 1, 1, 7, 4, 0, 3, 13, 11, 10, 6, 13, 1, 5, 13, 10, 11, 15, 13, 1],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 13, 2, 5, 9, 15, 2, 2, 5, 13],
"result": "valid"
},
{
"tcId": 2089,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "9605aa1fb014b47d50",
"msg": [5, 4, 3, 0, 13, 6, 0, 8, 6, 0, 3, 1, 8, 5, 1, 1, 3, 6, 11, 3, 12, 3],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 8, 9, 3, 1, 5, 8, 9, 14, 10],
"result": "valid"
},
{
"tcId": 2090,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "9605aa1fb014b47d50",
"msg": [12, 0, 15, 0, 3, 7, 9, 15, 12, 15, 5, 11, 2, 13, 7, 15, 11, 14, 2, 14, 7, 12],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 4, 0, 15, 2, 4, 5, 0, 13, 3, 7],
"result": "valid"
},
{
"tcId": 2091,
"comment": "y = 0 and (y + a) % radix**11 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "9605aa1fb014b47d50",
"msg": [12, 5, 7, 9, 6, 7, 1, 13, 1, 14, 9, 4, 13, 0, 5, 13, 12, 10, 0, 1, 2, 10],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 10, 9, 1, 8, 12, 11, 10, 6, 1, 4],
"result": "valid"
},
{
"tcId": 2092,
"comment": "y = 1 and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "2179ffe624942d4f37",
"msg": [10, 3, 2, 5, 1, 13, 5, 12, 0, 8, 7, 5, 14, 2, 8, 4, 1, 5, 2, 7, 5, 2],
"ct": [2, 0, 11, 4, 6, 12, 8, 4, 2, 11, 12, 1, 12, 6, 8, 6, 5, 5, 0, 8, 2, 5],
"result": "valid"
},
{
"tcId": 2093,
"comment": "y = 1 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "2179ffe624942d4f37",
"msg": [2, 7, 4, 4, 7, 5, 0, 8, 9, 6, 5, 0, 15, 6, 14, 2, 8, 2, 14, 14, 15, 7],
"ct": [4, 2, 3, 9, 1, 1, 14, 6, 3, 3, 12, 2, 6, 2, 14, 7, 8, 11, 3, 5, 6, 6],
"result": "valid"
},
{
"tcId": 2094,
"comment": "y = 1 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "2179ffe624942d4f37",
"msg": [0, 13, 10, 1, 3, 11, 6, 8, 12, 4, 8, 6, 7, 15, 4, 4, 13, 2, 6, 2, 9, 4],
"ct": [8, 3, 6, 4, 1, 4, 6, 0, 11, 10, 0, 12, 0, 15, 4, 11, 13, 8, 9, 15, 13, 8],
"result": "valid"
},
{
"tcId": 2095,
"comment": "y = 1 and (y + a) % radix**11 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "2179ffe624942d4f37",
"msg": [10, 5, 10, 0, 2, 4, 15, 14, 6, 10, 8, 12, 2, 12, 4, 6, 15, 15, 5, 1, 11, 12],
"ct": [0, 2, 6, 4, 8, 3, 1, 10, 8, 1, 14, 6, 6, 2, 10, 15, 10, 2, 9, 11, 13, 1],
"result": "valid"
},
{
"tcId": 2096,
"comment": "y = 1 and (y + a) % radix**11 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "2179ffe624942d4f37",
"msg": [2, 14, 4, 7, 5, 7, 3, 5, 7, 13, 13, 11, 6, 8, 8, 3, 3, 1, 11, 13, 5, 11],
"ct": [15, 3, 7, 0, 4, 12, 0, 14, 9, 12, 14, 14, 2, 7, 14, 15, 9, 11, 3, 7, 11, 4],
"result": "valid"
},
{
"tcId": 2097,
"comment": "y is maximal and (y + a) % radix**11 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "5f40f1c577ac04694e",
"msg": [10, 6, 14, 12, 5, 6, 9, 14, 14, 1, 3, 14, 5, 11, 11, 15, 7, 0, 7, 1, 10, 9],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 4, 2, 2, 12, 5, 7, 0, 15, 4, 5],
"result": "valid"
},
{
"tcId": 2098,
"comment": "y is maximal and (y + a) % radix**11 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "5f40f1c577ac04694e",
"msg": [0, 13, 4, 10, 2, 14, 1, 10, 4, 8, 7, 6, 10, 3, 15, 2, 9, 10, 1, 7, 13, 14],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 5, 11, 8, 10, 4, 15, 7, 2, 1, 13],
"result": "valid"
},
{
"tcId": 2099,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "5f40f1c577ac04694e",
"msg": [12, 3, 6, 10, 2, 8, 6, 12, 0, 7, 15, 3, 14, 0, 4, 8, 10, 4, 6, 9, 12, 9],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 12, 9, 7, 1, 0, 5, 14, 11, 13, 11, 13],
"result": "valid"
},
{
"tcId": 2100,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "5f40f1c577ac04694e",
"msg": [7, 15, 7, 15, 10, 3, 9, 10, 2, 12, 4, 7, 6, 4, 7, 14, 11, 1, 3, 14, 15, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 1, 13, 13, 10, 6, 7, 4, 10, 1, 7, 3],
"result": "valid"
},
{
"tcId": 2101,
"comment": "y is edge case for modular reduction and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "e946d64d6ac0a8c414",
"msg": [7, 4, 12, 1, 6, 15, 11, 4, 2, 15, 3, 4, 1, 5, 10, 6, 10, 13, 6, 1, 10, 1],
"ct": [6, 2, 5, 6, 14, 2, 0, 8, 12, 12, 0, 6, 13, 7, 8, 0, 2, 9, 1, 9, 9, 0],
"result": "valid"
},
{
"tcId": 2102,
"comment": "y is edge case for modular reduction and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "e946d64d6ac0a8c414",
"msg": [4, 8, 11, 5, 9, 7, 14, 6, 15, 7, 2, 15, 12, 8, 10, 9, 7, 14, 14, 2, 1, 10],
"ct": [4, 11, 14, 10, 5, 6, 7, 8, 15, 4, 3, 8, 11, 14, 8, 5, 1, 1, 5, 3, 13, 1],
"result": "valid"
},
{
"tcId": 2103,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "e946d64d6ac0a8c414",
"msg": [10, 11, 12, 15, 7, 1, 10, 14, 11, 11, 10, 6, 15, 0, 4, 15, 9, 9, 1, 8, 15, 13],
"ct": [7, 13, 6, 8, 4, 1, 0, 9, 13, 7, 6, 5, 3, 2, 8, 11, 8, 2, 12, 5, 8, 6],
"result": "valid"
},
{
"tcId": 2104,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "e946d64d6ac0a8c414",
"msg": [11, 1, 14, 5, 5, 5, 7, 12, 2, 4, 2, 0, 11, 8, 2, 12, 11, 3, 5, 12, 6, 7],
"ct": [7, 4, 8, 10, 15, 8, 7, 1, 8, 14, 14, 13, 8, 12, 9, 6, 15, 13, 15, 15, 11, 6],
"result": "valid"
},
{
"tcId": 2105,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "e946d64d6ac0a8c414",
"msg": [10, 15, 14, 14, 7, 10, 0, 9, 3, 5, 7, 0, 1, 15, 0, 13, 9, 8, 5, 6, 1, 7],
"ct": [1, 8, 1, 10, 13, 2, 15, 14, 1, 4, 4, 12, 6, 8, 1, 15, 7, 5, 4, 3, 0, 9],
"result": "valid"
},
{
"tcId": 2106,
"comment": "y is edge case for modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "e946d64d6ac0a8c414",
"msg": [4, 2, 0, 6, 14, 9, 1, 4, 8, 4, 0, 0, 7, 2, 7, 5, 10, 15, 5, 7, 9, 10],
"ct": [5, 4, 9, 12, 0, 9, 12, 14, 1, 15, 0, 1, 13, 12, 1, 8, 5, 13, 1, 1, 13, 4],
"result": "valid"
},
{
"tcId": 2107,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "5450b936c2858fc699",
"msg": [15, 0, 9, 3, 12, 2, 13, 12, 11, 13, 2, 2, 15, 4, 3, 15, 15, 9, 1, 7, 6, 13],
"ct": [15, 9, 10, 5, 15, 9, 15, 14, 10, 15, 13, 1, 1, 8, 11, 3, 5, 0, 15, 15, 5, 12],
"result": "valid"
},
{
"tcId": 2108,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "5450b936c2858fc699",
"msg": [15, 15, 3, 15, 15, 3, 10, 5, 4, 6, 7, 8, 0, 3, 0, 6, 10, 11, 4, 2, 7, 4],
"ct": [4, 14, 10, 15, 11, 2, 8, 9, 10, 14, 2, 12, 5, 1, 2, 8, 12, 5, 3, 12, 3, 15],
"result": "valid"
},
{
"tcId": 2109,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "5450b936c2858fc699",
"msg": [7, 0, 10, 14, 8, 11, 3, 4, 8, 6, 13, 13, 0, 1, 4, 5, 0, 5, 1, 6, 7, 12],
"ct": [0, 14, 13, 12, 13, 5, 1, 7, 4, 11, 8, 8, 4, 8, 1, 14, 2, 8, 5, 8, 0, 11],
"result": "valid"
},
{
"tcId": 2110,
"comment": "y is maximal after modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "5450b936c2858fc699",
"msg": [10, 14, 14, 10, 7, 8, 0, 6, 3, 8, 7, 9, 10, 11, 0, 4, 2, 10, 5, 6, 5, 6],
"ct": [5, 12, 12, 11, 1, 5, 14, 4, 8, 4, 3, 4, 1, 13, 14, 4, 11, 13, 8, 6, 11, 1],
"result": "valid"
},
{
"tcId": 2111,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c0368c9d6e841c60a9b9b8aa0477341aad026303200de7f8",
"tweak": "514738c10c8d12ff",
"msg": [-1, 15, 3, 9, 3, 8, 13, 10, 2, 1, 6, 13, 8, 0, 2, 8, 4, 9, 10, 9, 15, 15],
"ct": [4, 7, 11, 1, 14, 5, 8, 5, 9, 2, 2, 13, 1, 12, 2, 5, 3, 2, 2, 15, 12, 14],
"result": "invalid"
},
{
"tcId": 2112,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c0368c9d6e841c60a9b9b8aa0477341aad026303200de7f8",
"tweak": "514738c10c8d12ff",
"msg": [7, 15, 3, 9, 3, 8, 13, -1, 2, 1, 6, 13, 8, 0, 2, 8, 4, 9, 10, 9, 15, 15],
"ct": [7, 14, 7, 12, 4, 2, 3, 6, 4, 4, 3, 5, 1, 2, 8, 2, 15, 1, 11, 7, 11, 5],
"result": "invalid"
},
{
"tcId": 2113,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c0368c9d6e841c60a9b9b8aa0477341aad026303200de7f8",
"tweak": "514738c10c8d12ff",
"msg": [7, 15, 3, 9, 3, 8, 13, 10, 2, 1, 6, 13, 8, 0, 2, 8, 4, 9, 10, 9, 15, -1],
"ct": [13, 12, 14, 12, 15, 6, 15, 9, 8, 13, 6, 14, 0, 7, 6, 5, 12, 2, 11, 3, 10, 14],
"result": "invalid"
},
{
"tcId": 2114,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "14401b96b89a31585a35f1860d58de21913da50739ce4267",
"tweak": "467871ce8841159a",
"msg": [16, 0, 8, 8, 5, 6, 7, 10, 4, 7, 13, 2, 11, 10, 7, 5, 3, 9, 1, 12, 4, 2],
"ct": [0, 2, 14, 10, 8, 9, 7, 9, 4, 4, 6, 9, 9, 0, 3, 15, 5, 15, 1, 13, 3, 3],
"result": "invalid"
},
{
"tcId": 2115,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "14401b96b89a31585a35f1860d58de21913da50739ce4267",
"tweak": "467871ce8841159a",
"msg": [4, 0, 8, 8, 5, 6, 7, 16, 4, 7, 13, 2, 11, 10, 7, 5, 3, 9, 1, 12, 4, 2],
"ct": [11, 2, 0, 1, 4, 13, 0, 1, 1, 12, 2, 6, 13, 3, 13, 9, 5, 4, 6, 4, 15, 0],
"result": "invalid"
},
{
"tcId": 2116,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "14401b96b89a31585a35f1860d58de21913da50739ce4267",
"tweak": "467871ce8841159a",
"msg": [4, 0, 8, 8, 5, 6, 7, 10, 4, 7, 13, 2, 11, 10, 7, 5, 3, 9, 1, 12, 4, 16],
"ct": [10, 4, 6, 13, 7, 0, 0, 0, 4, 9, 9, 4, 10, 10, 5, 13, 15, 15, 1, 15, 8, 13],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 23,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2117,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "c7697b0dbeb87d7f395505c37c7aa8851539af55cf9ff48d",
"tweak": "81c250277f86145e",
"msg": [0, 4, 3, 6, 13, 3, 13, 11, 12, 8, 5, 6, 8, 11, 6, 9, 4, 14, 2, 7, 14, 5, 1],
"ct": [15, 9, 4, 13, 13, 7, 4, 14, 11, 0, 13, 9, 5, 0, 1, 10, 9, 0, 5, 3, 0, 1, 12],
"result": "valid"
},
{
"tcId": 2118,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [5, 8, 14, 0, 3, 7, 1, 9, 6, 4, 1, 6, 7, 6, 15, 12, 2, 5, 10, 5, 8, 12, 2],
"result": "valid"
},
{
"tcId": 2119,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [15, 8, 15, 1, 12, 1, 6, 12, 4, 1, 13, 1, 13, 12, 10, 13, 12, 13, 6, 4, 12, 10, 8],
"result": "valid"
},
{
"tcId": 2120,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 3, 6, 1, 3, 6, 9, 9, 6, 6, 11, 1, 5, 12, 14, 5, 9, 4, 6, 2, 13, 11, 13],
"result": "valid"
},
{
"tcId": 2121,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [15, 0, 3, 6, 2, 15, 14, 15, 12, 14, 13, 10, 1, 12, 9, 15, 12, 0, 8, 11, 2, 15, 1],
"result": "valid"
},
{
"tcId": 2122,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [15, 1, 10, 13, 14, 13, 9, 8, 4, 6, 8, 5, 3, 12, 15, 6, 11, 8, 2, 3, 14, 13, 9],
"ct": [7, 10, 8, 13, 3, 10, 1, 14, 11, 12, 9, 13, 8, 4, 4, 13, 15, 2, 15, 12, 11, 1, 14],
"result": "valid"
},
{
"tcId": 2123,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [13, 15, 12, 5, 7, 2, 12, 12, 1, 7, 15, 0, 2, 2, 12, 0, 1, 2, 1, 10, 12, 13, 3],
"ct": [3, 14, 9, 10, 5, 13, 5, 14, 12, 5, 6, 7, 4, 13, 15, 9, 7, 10, 15, 7, 14, 12, 5],
"result": "valid"
},
{
"tcId": 2124,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [3, 14, 11, 10, 13, 0, 14, 0, 13, 5, 6, 4, 0, 4, 3, 14, 15, 6, 15, 14, 10, 2, 3],
"ct": [15, 14, 5, 11, 0, 8, 5, 10, 5, 10, 11, 15, 7, 12, 9, 9, 13, 12, 4, 9, 0, 3, 15],
"result": "valid"
},
{
"tcId": 2125,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [14, 0, 15, 1, 14, 12, 15, 12, 15, 3, 6, 11, 14, 5, 2, 8, 9, 6, 11, 6, 12, 2, 15],
"ct": [13, 13, 4, 3, 13, 15, 10, 11, 12, 14, 11, 1, 10, 0, 2, 12, 7, 7, 11, 6, 13, 6, 10],
"result": "valid"
},
{
"tcId": 2126,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [3, 0, 3, 12, 11, 13, 10, 0, 12, 8, 2, 9, 7, 9, 5, 10, 2, 6, 2, 4, 7, 11, 5],
"ct": [14, 9, 13, 14, 15, 1, 15, 11, 14, 11, 8, 10, 11, 2, 13, 4, 4, 15, 0, 5, 1, 5, 2],
"result": "valid"
},
{
"tcId": 2127,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [12, 13, 8, 9, 11, 15, 2, 1, 4, 6, 0, 15, 9, 3, 8, 6, 6, 12, 0, 8, 5, 7, 5],
"ct": [13, 4, 1, 15, 6, 3, 3, 8, 14, 11, 3, 5, 11, 0, 13, 0, 7, 7, 6, 12, 5, 15, 3],
"result": "valid"
},
{
"tcId": 2128,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [9, 4, 2, 13, 1, 4, 9, 13, 9, 12, 7, 6, 4, 9, 7, 9, 4, 6, 3, 6, 6, 2, 15],
"ct": [5, 0, 6, 11, 8, 13, 3, 14, 10, 12, 8, 4, 0, 9, 5, 12, 15, 14, 13, 9, 3, 4, 1],
"result": "valid"
},
{
"tcId": 2129,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [1, 3, 0, 9, 12, 11, 6, 0, 3, 14, 8, 8, 3, 11, 9, 4, 4, 11, 9, 11, 12, 14, 10],
"ct": [0, 10, 3, 8, 2, 7, 0, 12, 10, 0, 1, 15, 10, 8, 14, 9, 7, 11, 11, 10, 5, 9, 0],
"result": "valid"
},
{
"tcId": 2130,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [15, 6, 3, 5, 5, 0, 5, 12, 15, 0, 4, 1, 14, 8, 5, 8, 4, 0, 0, 7, 4, 12, 4],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2131,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [9, 15, 8, 4, 13, 6, 3, 9, 12, 13, 7, 8, 5, 4, 5, 4, 5, 3, 3, 7, 14, 2, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2132,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [15, 5, 3, 14, 5, 5, 9, 2, 6, 10, 3, 6, 12, 8, 0, 0, 0, 7, 14, 6, 15, 10, 10],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2133,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [6, 1, 14, 7, 7, 1, 3, 10, 6, 4, 15, 11, 4, 14, 15, 9, 4, 14, 14, 9, 8, 0, 1],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2134,
"comment": "y = 0 and (y + a) % radix**11 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "f3706f170ad4940094",
"msg": [5, 4, 5, 0, 6, 15, 5, 6, 7, 11, 15, 11, 12, 13, 5, 9, 7, 3, 10, 9, 8, 2, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 8, 9, 7, 8, 4, 14, 8, 5, 5, 6, 13],
"result": "valid"
},
{
"tcId": 2135,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "f3706f170ad4940094",
"msg": [3, 5, 10, 3, 12, 2, 0, 6, 15, 9, 9, 15, 10, 14, 4, 3, 4, 10, 14, 14, 1, 4, 12],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 7, 9, 8, 4, 12, 1, 9, 1, 9, 1, 6, 9],
"result": "valid"
},
{
"tcId": 2136,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "f3706f170ad4940094",
"msg": [10, 13, 10, 6, 3, 11, 10, 10, 15, 10, 7, 8, 6, 7, 10, 5, 2, 1, 14, 5, 11, 2, 7],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 6, 14, 7, 0, 11, 1, 9, 3, 12, 7, 1],
"result": "valid"
},
{
"tcId": 2137,
"comment": "y = 0 and (y + a) % radix**11 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "f3706f170ad4940094",
"msg": [8, 14, 5, 2, 3, 13, 11, 12, 4, 15, 0, 13, 1, 5, 10, 9, 5, 12, 2, 0, 2, 6, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 3, 4, 8, 13, 10, 4, 3, 4, 2, 3, 1, 12],
"result": "valid"
},
{
"tcId": 2138,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "2504269aa2349e1058",
"msg": [4, 8, 2, 6, 6, 7, 11, 0, 10, 7, 15, 5, 6, 7, 9, 13, 0, 4, 7, 0, 13, 7, 12],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 11, 5, 11, 14, 4, 13, 13, 14, 11, 5, 14, 4],
"result": "valid"
},
{
"tcId": 2139,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "2504269aa2349e1058",
"msg": [6, 8, 7, 9, 2, 4, 15, 12, 11, 11, 8, 1, 13, 12, 9, 15, 2, 3, 15, 2, 3, 4, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 1, 14, 9, 3, 8, 14, 7, 14, 2, 2, 11],
"result": "valid"
},
{
"tcId": 2140,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "2504269aa2349e1058",
"msg": [7, 4, 10, 7, 7, 11, 12, 4, 10, 6, 3, 2, 4, 8, 8, 5, 11, 10, 10, 6, 10, 10, 9],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 10, 0, 15, 5, 5, 13, 1, 5, 7, 1, 12, 14],
"result": "valid"
},
{
"tcId": 2141,
"comment": "y = 1 and (y + a) % radix**11 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "2504269aa2349e1058",
"msg": [15, 14, 0, 15, 1, 8, 4, 11, 14, 12, 1, 15, 1, 8, 2, 1, 7, 14, 14, 1, 11, 14, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 4, 5, 3, 0, 12, 1, 11, 4, 1, 2, 4, 11],
"result": "valid"
},
{
"tcId": 2142,
"comment": "y = 1 and (y + a) % radix**11 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "2504269aa2349e1058",
"msg": [13, 3, 1, 1, 9, 9, 1, 5, 11, 11, 0, 13, 7, 14, 8, 15, 12, 14, 2, 5, 1, 12, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 6, 10, 5, 15, 0, 9, 6, 8, 7, 14],
"result": "valid"
},
{
"tcId": 2143,
"comment": "y is maximal and (y + a) % radix**11 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "adcba20c33c6040125",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 13, 9, 5, 7, 14, 8, 1, 9, 13, 14, 14],
"ct": [11, 5, 9, 2, 3, 5, 14, 11, 6, 10, 9, 7, 15, 11, 2, 4, 15, 9, 6, 0, 7, 14, 13],
"result": "valid"
},
{
"tcId": 2144,
"comment": "y is maximal and (y + a) % radix**11 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "adcba20c33c6040125",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 10, 13, 9, 5, 7, 14, 8, 1, 9, 13, 14, 14],
"ct": [6, 13, 4, 12, 5, 14, 6, 0, 7, 6, 0, 3, 6, 3, 7, 10, 14, 12, 15, 9, 2, 8, 10],
"result": "valid"
},
{
"tcId": 2145,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "adcba20c33c6040125",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 13, 9, 5, 7, 14, 8, 1, 9, 13, 14, 14],
"ct": [12, 11, 5, 11, 13, 8, 0, 8, 13, 10, 2, 13, 10, 7, 3, 15, 3, 1, 14, 0, 5, 13, 0],
"result": "valid"
},
{
"tcId": 2146,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "adcba20c33c6040125",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 10, 13, 9, 5, 7, 14, 8, 1, 9, 13, 14, 14],
"ct": [5, 1, 5, 7, 14, 5, 3, 3, 12, 0, 3, 13, 10, 14, 12, 7, 10, 9, 3, 11, 14, 3, 0],
"result": "valid"
},
{
"tcId": 2147,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "436678e92720f5cc5b",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 3, 5, 12, 14, 2, 11, 14, 13, 14, 15, 3],
"ct": [2, 10, 15, 13, 12, 10, 5, 4, 2, 13, 12, 6, 1, 14, 0, 5, 15, 10, 13, 11, 11, 15, 5],
"result": "valid"
},
{
"tcId": 2148,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "436678e92720f5cc5b",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 9, 3, 5, 12, 14, 2, 11, 14, 13, 14, 15, 3],
"ct": [9, 8, 2, 12, 1, 3, 8, 2, 1, 12, 11, 13, 9, 1, 13, 2, 12, 7, 12, 8, 4, 9, 4],
"result": "valid"
},
{
"tcId": 2149,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "436678e92720f5cc5b",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 9, 3, 5, 12, 14, 2, 11, 14, 13, 14, 15, 3],
"ct": [8, 11, 5, 9, 6, 15, 2, 10, 8, 2, 2, 8, 8, 15, 7, 2, 13, 4, 11, 15, 8, 13, 7],
"result": "valid"
},
{
"tcId": 2150,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "436678e92720f5cc5b",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 9, 3, 5, 12, 14, 2, 11, 14, 13, 14, 15, 3],
"ct": [15, 7, 5, 13, 8, 0, 5, 8, 2, 9, 9, 11, 11, 11, 5, 3, 10, 6, 14, 15, 7, 5, 12],
"result": "valid"
},
{
"tcId": 2151,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "436678e92720f5cc5b",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 3, 5, 12, 14, 2, 11, 14, 13, 14, 15, 3],
"ct": [8, 12, 6, 14, 5, 14, 12, 7, 9, 12, 13, 2, 13, 8, 15, 2, 14, 6, 0, 0, 15, 10, 14],
"result": "valid"
},
{
"tcId": 2152,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "436678e92720f5cc5b",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 3, 5, 12, 14, 2, 11, 14, 13, 14, 15, 3],
"ct": [5, 13, 15, 1, 11, 10, 12, 12, 0, 14, 10, 3, 3, 4, 1, 13, 5, 13, 8, 9, 11, 6, 15],
"result": "valid"
},
{
"tcId": 2153,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "30092f805aff8f8992",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 5, 2, 3, 9, 9, 11, 10, 9, 14, 0, 0],
"ct": [1, 7, 0, 7, 3, 6, 1, 11, 5, 12, 0, 3, 10, 9, 7, 3, 3, 14, 6, 10, 3, 14, 4],
"result": "valid"
},
{
"tcId": 2154,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "30092f805aff8f8992",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 7, 5, 2, 3, 9, 9, 11, 10, 9, 14, 0, 0],
"ct": [10, 6, 1, 10, 15, 6, 5, 3, 0, 9, 7, 15, 5, 7, 8, 12, 13, 7, 12, 0, 11, 12, 7],
"result": "valid"
},
{
"tcId": 2155,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "30092f805aff8f8992",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 5, 2, 3, 9, 9, 11, 10, 9, 14, 0, 0],
"ct": [4, 2, 6, 0, 10, 4, 9, 8, 0, 9, 1, 3, 2, 7, 0, 3, 11, 2, 8, 14, 4, 5, 7],
"result": "valid"
},
{
"tcId": 2156,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "30092f805aff8f8992",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 5, 2, 3, 9, 9, 11, 10, 9, 14, 0, 0],
"ct": [2, 5, 13, 1, 6, 10, 2, 12, 9, 10, 11, 10, 2, 0, 0, 8, 4, 9, 8, 6, 1, 9, 11],
"result": "valid"
},
{
"tcId": 2157,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "42eedd322699aa74bc01428c809f266f9360611f6704f59a",
"tweak": "3641fc756f1c80d9",
"msg": [-1, 1, 12, 10, 6, 12, 6, 1, 2, 13, 13, 4, 15, 8, 13, 9, 14, 9, 2, 9, 0, 12, 14],
"ct": [9, 8, 6, 0, 2, 9, 10, 1, 9, 6, 14, 0, 15, 6, 9, 0, 14, 6, 8, 9, 11, 6, 13],
"result": "invalid"
},
{
"tcId": 2158,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "42eedd322699aa74bc01428c809f266f9360611f6704f59a",
"tweak": "3641fc756f1c80d9",
"msg": [1, 1, 12, 10, 6, 12, 6, -1, 2, 13, 13, 4, 15, 8, 13, 9, 14, 9, 2, 9, 0, 12, 14],
"ct": [13, 8, 14, 14, 15, 15, 2, 12, 13, 0, 11, 1, 13, 11, 14, 1, 7, 12, 0, 15, 7, 6, 10],
"result": "invalid"
},
{
"tcId": 2159,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "42eedd322699aa74bc01428c809f266f9360611f6704f59a",
"tweak": "3641fc756f1c80d9",
"msg": [1, 1, 12, 10, 6, 12, 6, 1, 2, 13, 13, 4, 15, 8, 13, 9, 14, 9, 2, 9, 0, 12, -1],
"ct": [4, 14, 12, 9, 9, 9, 13, 7, 8, 4, 15, 4, 10, 10, 12, 7, 7, 10, 8, 11, 14, 8, 3],
"result": "invalid"
},
{
"tcId": 2160,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fbd8df800c8d5800f7313fb3a00f13839a6a13ae3c7c04fb",
"tweak": "ce527261c11b11e5",
"msg": [16, 4, 3, 8, 10, 14, 7, 15, 15, 11, 7, 11, 15, 9, 14, 7, 4, 12, 13, 3, 4, 7, 7],
"ct": [12, 5, 9, 11, 3, 4, 4, 0, 3, 10, 0, 2, 2, 4, 3, 9, 10, 7, 7, 15, 4, 8, 7],
"result": "invalid"
},
{
"tcId": 2161,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fbd8df800c8d5800f7313fb3a00f13839a6a13ae3c7c04fb",
"tweak": "ce527261c11b11e5",
"msg": [5, 4, 3, 8, 10, 14, 7, 16, 15, 11, 7, 11, 15, 9, 14, 7, 4, 12, 13, 3, 4, 7, 7],
"ct": [5, 15, 4, 6, 14, 10, 4, 15, 15, 7, 0, 4, 4, 5, 6, 4, 11, 14, 14, 5, 0, 7, 9],
"result": "invalid"
},
{
"tcId": 2162,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fbd8df800c8d5800f7313fb3a00f13839a6a13ae3c7c04fb",
"tweak": "ce527261c11b11e5",
"msg": [5, 4, 3, 8, 10, 14, 7, 15, 15, 11, 7, 11, 15, 9, 14, 7, 4, 12, 13, 3, 4, 7, 16],
"ct": [2, 8, 4, 13, 14, 14, 2, 7, 9, 3, 7, 0, 7, 3, 0, 10, 2, 4, 1, 6, 7, 12, 4],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 24,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2163,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "ac7947235faeb09f47808bcdb7c28894767149cfe71948d9",
"tweak": "f7e5b4f29221b2aa",
"msg": [3, 2, 1, 9, 9, 11, 15, 9, 14, 14, 4, 13, 1, 13, 12, 11, 10, 4, 7, 2, 6, 12, 4, 13],
"ct": [14, 4, 9, 3, 13, 11, 3, 13, 2, 7, 15, 6, 11, 10, 13, 15, 15, 15, 8, 5, 1, 0, 14, 10],
"result": "valid"
},
{
"tcId": 2164,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 5, 10, 5, 13, 13, 14, 9, 7, 0, 12, 8, 4, 1, 5, 3, 6, 6, 3, 15, 0, 1, 10, 13],
"result": "valid"
},
{
"tcId": 2165,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [14, 8, 3, 4, 1, 13, 14, 0, 13, 9, 6, 11, 11, 1, 0, 13, 1, 15, 3, 8, 11, 4, 13, 15],
"result": "valid"
},
{
"tcId": 2166,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [12, 9, 4, 3, 0, 10, 15, 12, 9, 14, 10, 1, 11, 15, 3, 0, 5, 10, 2, 7, 4, 11, 8, 2],
"result": "valid"
},
{
"tcId": 2167,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [6, 3, 3, 4, 1, 0, 7, 12, 0, 12, 6, 11, 8, 7, 0, 6, 12, 12, 15, 0, 5, 3, 14, 15],
"result": "valid"
},
{
"tcId": 2168,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [1, 15, 5, 14, 9, 2, 2, 11, 4, 4, 1, 4, 10, 11, 1, 13, 6, 6, 1, 2, 7, 8, 8, 4],
"ct": [0, 7, 4, 10, 4, 6, 0, 12, 2, 13, 4, 15, 3, 0, 10, 8, 14, 14, 4, 1, 7, 6, 4, 7],
"result": "valid"
},
{
"tcId": 2169,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [13, 8, 15, 3, 1, 12, 14, 0, 1, 14, 13, 1, 10, 6, 12, 12, 3, 11, 10, 12, 0, 0, 10, 2],
"ct": [12, 14, 14, 15, 9, 4, 0, 1, 3, 14, 12, 1, 15, 3, 9, 13, 5, 0, 3, 6, 4, 4, 1, 9],
"result": "valid"
},
{
"tcId": 2170,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [0, 6, 13, 1, 8, 4, 11, 0, 6, 7, 14, 1, 11, 2, 7, 15, 11, 4, 14, 8, 12, 0, 4, 5],
"ct": [3, 5, 6, 13, 7, 6, 6, 4, 2, 7, 10, 9, 1, 2, 1, 4, 7, 9, 3, 6, 0, 3, 13, 12],
"result": "valid"
},
{
"tcId": 2171,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [8, 5, 11, 3, 0, 9, 14, 14, 6, 1, 12, 2, 0, 2, 6, 14, 4, 2, 11, 10, 9, 14, 10, 5],
"ct": [15, 3, 11, 11, 14, 1, 15, 8, 6, 9, 4, 5, 11, 12, 13, 10, 15, 8, 9, 14, 9, 6, 5, 0],
"result": "valid"
},
{
"tcId": 2172,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [9, 10, 0, 7, 6, 14, 11, 6, 7, 1, 8, 5, 5, 15, 9, 5, 4, 14, 3, 2, 13, 6, 8, 5],
"ct": [12, 10, 15, 15, 10, 14, 2, 4, 5, 6, 14, 8, 9, 6, 12, 7, 10, 15, 15, 13, 12, 15, 13, 10],
"result": "valid"
},
{
"tcId": 2173,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [13, 13, 9, 4, 4, 4, 0, 11, 3, 13, 15, 10, 7, 4, 8, 14, 6, 11, 2, 14, 10, 7, 0, 6],
"ct": [8, 3, 12, 11, 14, 5, 10, 8, 1, 13, 0, 0, 11, 15, 2, 4, 14, 12, 8, 10, 13, 4, 11, 5],
"result": "valid"
},
{
"tcId": 2174,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [8, 14, 8, 13, 4, 12, 5, 5, 8, 15, 3, 0, 12, 10, 6, 8, 4, 3, 7, 6, 3, 10, 0, 12],
"ct": [2, 14, 15, 11, 1, 2, 9, 4, 8, 14, 5, 2, 5, 15, 12, 0, 12, 3, 4, 10, 2, 12, 0, 14],
"result": "valid"
},
{
"tcId": 2175,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [8, 14, 14, 6, 3, 13, 3, 10, 6, 5, 14, 10, 2, 1, 5, 13, 8, 15, 1, 13, 0, 15, 6, 10],
"ct": [1, 8, 0, 6, 11, 12, 15, 3, 12, 10, 15, 14, 14, 15, 14, 12, 11, 7, 1, 12, 10, 11, 8, 6],
"result": "valid"
},
{
"tcId": 2176,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [9, 12, 3, 2, 6, 1, 4, 12, 9, 9, 12, 5, 15, 14, 11, 15, 11, 5, 1, 4, 15, 11, 12, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2177,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [2, 9, 14, 6, 3, 4, 6, 8, 9, 1, 8, 2, 7, 6, 14, 11, 9, 11, 12, 3, 13, 1, 13, 4],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2178,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [4, 13, 1, 6, 6, 3, 14, 12, 15, 12, 12, 3, 1, 12, 8, 6, 11, 6, 5, 4, 5, 13, 13, 7],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2179,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [3, 7, 4, 0, 4, 10, 5, 9, 9, 10, 12, 13, 13, 4, 8, 8, 13, 3, 11, 15, 6, 6, 1, 0],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2180,
"comment": "y = 0 and (y + a) % radix**12 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "95481f4dbfb4accf67",
"msg": [15, 4, 10, 14, 8, 11, 3, 12, 12, 14, 14, 14, 12, 0, 8, 15, 15, 13, 4, 15, 2, 6, 15, 1],
"ct": [12, 10, 13, 11, 5, 11, 14, 8, 5, 8, 13, 14, 2, 2, 7, 4, 11, 3, 11, 4, 1, 0, 11, 1],
"result": "valid"
},
{
"tcId": 2181,
"comment": "y = 0 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "95481f4dbfb4accf67",
"msg": [1, 12, 14, 0, 12, 0, 13, 10, 10, 4, 12, 15, 7, 1, 11, 9, 12, 7, 3, 4, 8, 9, 11, 4],
"ct": [14, 8, 15, 9, 2, 2, 8, 4, 4, 6, 15, 15, 15, 14, 13, 11, 8, 14, 5, 5, 13, 11, 13, 12],
"result": "valid"
},
{
"tcId": 2182,
"comment": "y = 0 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "95481f4dbfb4accf67",
"msg": [1, 3, 4, 9, 15, 4, 11, 5, 5, 1, 2, 14, 4, 14, 5, 7, 4, 0, 5, 6, 7, 15, 7, 15],
"ct": [8, 11, 10, 9, 3, 10, 4, 9, 4, 6, 6, 1, 13, 9, 1, 15, 8, 2, 1, 3, 6, 6, 2, 2],
"result": "valid"
},
{
"tcId": 2183,
"comment": "y = 0 and (y + a) % radix**12 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "95481f4dbfb4accf67",
"msg": [15, 12, 2, 6, 10, 2, 14, 15, 11, 1, 1, 0, 7, 6, 11, 1, 13, 14, 1, 7, 5, 4, 2, 2],
"ct": [13, 15, 10, 10, 5, 9, 7, 8, 11, 12, 7, 0, 8, 3, 4, 2, 3, 14, 3, 8, 13, 4, 1, 15],
"result": "valid"
},
{
"tcId": 2184,
"comment": "y = 1 and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "ac35c0400c62455f1b",
"msg": [12, 11, 2, 15, 11, 2, 2, 3, 9, 3, 7, 14, 13, 14, 8, 14, 13, 14, 6, 8, 6, 13, 3, 1],
"ct": [11, 9, 11, 7, 14, 7, 5, 3, 9, 14, 7, 0, 0, 3, 9, 7, 5, 12, 14, 11, 14, 11, 3, 10],
"result": "valid"
},
{
"tcId": 2185,
"comment": "y = 1 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "ac35c0400c62455f1b",
"msg": [6, 9, 15, 2, 1, 11, 4, 7, 11, 0, 6, 4, 6, 3, 9, 15, 13, 0, 8, 0, 9, 15, 10, 12],
"ct": [4, 2, 7, 10, 0, 14, 12, 12, 15, 2, 0, 4, 12, 1, 3, 5, 13, 3, 4, 4, 14, 10, 10, 1],
"result": "valid"
},
{
"tcId": 2186,
"comment": "y = 1 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "ac35c0400c62455f1b",
"msg": [14, 2, 11, 14, 1, 1, 7, 1, 8, 14, 9, 12, 1, 9, 7, 13, 15, 6, 12, 6, 4, 2, 10, 6],
"ct": [0, 1, 8, 15, 13, 1, 13, 11, 15, 13, 7, 8, 0, 9, 7, 8, 6, 7, 11, 6, 5, 0, 15, 10],
"result": "valid"
},
{
"tcId": 2187,
"comment": "y = 1 and (y + a) % radix**12 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "ac35c0400c62455f1b",
"msg": [14, 1, 13, 2, 15, 3, 7, 4, 7, 12, 13, 12, 6, 0, 15, 7, 15, 10, 1, 3, 8, 5, 1, 1],
"ct": [9, 6, 6, 5, 9, 10, 5, 7, 11, 13, 1, 14, 0, 14, 0, 3, 10, 9, 8, 6, 4, 5, 14, 1],
"result": "valid"
},
{
"tcId": 2188,
"comment": "y = 1 and (y + a) % radix**12 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "ac35c0400c62455f1b",
"msg": [7, 5, 2, 2, 8, 11, 7, 8, 6, 5, 2, 4, 6, 2, 14, 8, 0, 14, 3, 6, 11, 9, 3, 14],
"ct": [5, 8, 0, 11, 15, 13, 11, 10, 15, 10, 4, 8, 8, 3, 14, 4, 9, 8, 8, 4, 7, 11, 6, 7],
"result": "valid"
},
{
"tcId": 2189,
"comment": "y is maximal and (y + a) % radix**12 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "b0b9cd06320cf438f9",
"msg": [15, 13, 4, 15, 8, 14, 14, 2, 1, 9, 1, 13, 12, 11, 14, 1, 9, 1, 9, 1, 5, 9, 0, 6],
"ct": [3, 14, 1, 2, 3, 2, 0, 15, 1, 1, 14, 13, 8, 1, 6, 10, 13, 8, 11, 12, 10, 0, 13, 8],
"result": "valid"
},
{
"tcId": 2190,
"comment": "y is maximal and (y + a) % radix**12 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "b0b9cd06320cf438f9",
"msg": [12, 14, 7, 15, 8, 15, 14, 12, 10, 10, 5, 15, 12, 5, 13, 8, 9, 14, 8, 12, 9, 9, 1, 13],
"ct": [3, 3, 1, 12, 5, 1, 3, 2, 0, 11, 7, 1, 3, 4, 6, 2, 4, 0, 14, 1, 14, 7, 9, 12],
"result": "valid"
},
{
"tcId": 2191,
"comment": "y is maximal and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "b0b9cd06320cf438f9",
"msg": [10, 6, 12, 14, 15, 5, 10, 6, 5, 11, 1, 12, 7, 8, 10, 4, 2, 8, 0, 6, 12, 6, 13, 3],
"ct": [15, 8, 15, 11, 9, 1, 4, 4, 7, 5, 9, 14, 14, 6, 11, 0, 1, 3, 7, 10, 11, 14, 0, 13],
"result": "valid"
},
{
"tcId": 2192,
"comment": "y is maximal and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "b0b9cd06320cf438f9",
"msg": [3, 12, 6, 4, 14, 7, 1, 5, 12, 13, 12, 9, 13, 8, 0, 12, 12, 8, 9, 13, 1, 8, 2, 15],
"ct": [9, 12, 2, 9, 4, 4, 9, 6, 13, 2, 8, 5, 5, 1, 3, 2, 1, 11, 7, 15, 2, 2, 0, 3],
"result": "valid"
},
{
"tcId": 2193,
"comment": "y is edge case for modular reduction and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "fbe2c1d4a74ad2475a",
"msg": [6, 14, 12, 4, 5, 11, 2, 3, 11, 7, 1, 11, 13, 6, 13, 8, 10, 14, 14, 7, 12, 2, 7, 3],
"ct": [14, 15, 12, 6, 14, 14, 10, 9, 1, 8, 0, 2, 1, 13, 12, 7, 15, 6, 1, 11, 14, 3, 14, 12],
"result": "valid"
},
{
"tcId": 2194,
"comment": "y is edge case for modular reduction and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "fbe2c1d4a74ad2475a",
"msg": [14, 7, 14, 2, 3, 7, 15, 8, 0, 13, 11, 2, 1, 7, 4, 5, 7, 15, 1, 3, 3, 6, 14, 1],
"ct": [3, 9, 9, 9, 13, 8, 10, 8, 14, 5, 0, 6, 5, 2, 5, 10, 12, 8, 15, 8, 3, 3, 6, 2],
"result": "valid"
},
{
"tcId": 2195,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "fbe2c1d4a74ad2475a",
"msg": [12, 0, 3, 5, 12, 1, 12, 0, 12, 7, 6, 0, 6, 12, 12, 10, 9, 10, 10, 15, 2, 2, 11, 15],
"ct": [0, 11, 1, 0, 3, 0, 5, 1, 13, 5, 15, 7, 2, 7, 9, 3, 1, 12, 1, 8, 7, 12, 15, 8],
"result": "valid"
},
{
"tcId": 2196,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "fbe2c1d4a74ad2475a",
"msg": [10, 13, 0, 9, 6, 11, 15, 10, 15, 10, 14, 2, 5, 5, 7, 15, 6, 4, 10, 5, 3, 5, 3, 14],
"ct": [11, 15, 9, 13, 7, 8, 11, 0, 13, 7, 1, 11, 3, 14, 15, 1, 6, 10, 0, 2, 8, 13, 14, 15],
"result": "valid"
},
{
"tcId": 2197,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "fbe2c1d4a74ad2475a",
"msg": [5, 8, 10, 15, 13, 15, 10, 11, 4, 5, 11, 1, 13, 7, 10, 1, 9, 1, 0, 6, 2, 11, 6, 6],
"ct": [7, 8, 14, 15, 5, 11, 5, 10, 13, 6, 3, 9, 12, 15, 14, 1, 11, 2, 6, 2, 6, 4, 14, 6],
"result": "valid"
},
{
"tcId": 2198,
"comment": "y is edge case for modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "fbe2c1d4a74ad2475a",
"msg": [11, 4, 13, 6, 7, 7, 11, 14, 5, 2, 6, 11, 14, 14, 5, 14, 3, 9, 12, 2, 6, 2, 15, 9],
"ct": [10, 3, 2, 13, 14, 13, 9, 15, 7, 10, 0, 11, 6, 10, 13, 14, 3, 14, 7, 10, 2, 10, 12, 4],
"result": "valid"
},
{
"tcId": 2199,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "e7b6c5a5e7184f4bfb",
"msg": [10, 9, 9, 3, 10, 15, 15, 5, 5, 10, 8, 4, 0, 10, 12, 8, 2, 3, 10, 3, 11, 9, 12, 0],
"ct": [3, 14, 11, 7, 15, 9, 14, 11, 9, 5, 7, 2, 0, 9, 11, 1, 2, 10, 2, 6, 5, 8, 15, 6],
"result": "valid"
},
{
"tcId": 2200,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "e7b6c5a5e7184f4bfb",
"msg": [6, 3, 5, 3, 5, 0, 11, 3, 9, 2, 13, 5, 1, 15, 10, 5, 6, 0, 15, 7, 0, 9, 10, 8],
"ct": [4, 15, 9, 4, 1, 0, 13, 4, 1, 13, 7, 1, 1, 9, 3, 1, 2, 10, 7, 8, 3, 13, 12, 0],
"result": "valid"
},
{
"tcId": 2201,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "e7b6c5a5e7184f4bfb",
"msg": [11, 14, 4, 9, 7, 1, 7, 12, 13, 5, 6, 6, 2, 6, 15, 6, 6, 9, 0, 9, 11, 11, 1, 12],
"ct": [6, 3, 4, 3, 13, 7, 7, 9, 9, 4, 5, 12, 0, 11, 3, 9, 0, 15, 8, 14, 7, 5, 14, 2],
"result": "valid"
},
{
"tcId": 2202,
"comment": "y is maximal after modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "e7b6c5a5e7184f4bfb",
"msg": [2, 12, 4, 9, 12, 14, 3, 14, 8, 3, 2, 0, 14, 6, 9, 10, 0, 7, 8, 0, 14, 0, 2, 2],
"ct": [9, 2, 4, 2, 1, 6, 1, 11, 10, 8, 0, 6, 6, 10, 3, 2, 7, 13, 0, 3, 1, 1, 6, 2],
"result": "valid"
},
{
"tcId": 2203,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9df42cfdf50bb3ae95f501aaa7aae50e8c7f7701322e524a",
"tweak": "394f12fdaf9fefef",
"msg": [-1, 1, 5, 8, 13, 0, 9, 4, 1, 8, 15, 12, 14, 8, 13, 15, 0, 4, 3, 12, 1, 5, 12, 1],
"ct": [15, 12, 10, 10, 5, 7, 12, 8, 12, 0, 0, 12, 14, 8, 3, 1, 4, 6, 11, 9, 4, 10, 0, 12],
"result": "invalid"
},
{
"tcId": 2204,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9df42cfdf50bb3ae95f501aaa7aae50e8c7f7701322e524a",
"tweak": "394f12fdaf9fefef",
"msg": [7, 1, 5, 8, 13, 0, 9, 4, -1, 8, 15, 12, 14, 8, 13, 15, 0, 4, 3, 12, 1, 5, 12, 1],
"ct": [15, 7, 5, 3, 11, 4, 12, 4, 10, 14, 1, 15, 2, 7, 6, 9, 6, 12, 8, 10, 14, 9, 1, 12],
"result": "invalid"
},
{
"tcId": 2205,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9df42cfdf50bb3ae95f501aaa7aae50e8c7f7701322e524a",
"tweak": "394f12fdaf9fefef",
"msg": [7, 1, 5, 8, 13, 0, 9, 4, 1, 8, 15, 12, 14, 8, 13, 15, 0, 4, 3, 12, 1, 5, 12, -1],
"ct": [12, 15, 14, 9, 1, 2, 15, 2, 3, 10, 3, 12, 2, 9, 9, 5, 13, 6, 14, 4, 5, 0, 10, 5],
"result": "invalid"
},
{
"tcId": 2206,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "cc910c773f3d13bfc4809171f783a200027691522e657f52",
"tweak": "e4fa905dd98b8ff0",
"msg": [16, 15, 2, 2, 4, 11, 2, 14, 1, 0, 8, 12, 4, 11, 11, 8, 15, 2, 14, 4, 1, 12, 10, 7],
"ct": [9, 7, 2, 0, 3, 4, 5, 13, 15, 1, 15, 14, 15, 6, 6, 7, 10, 11, 13, 6, 5, 8, 10, 13],
"result": "invalid"
},
{
"tcId": 2207,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "cc910c773f3d13bfc4809171f783a200027691522e657f52",
"tweak": "e4fa905dd98b8ff0",
"msg": [5, 15, 2, 2, 4, 11, 2, 14, 16, 0, 8, 12, 4, 11, 11, 8, 15, 2, 14, 4, 1, 12, 10, 7],
"ct": [4, 10, 11, 4, 7, 11, 7, 6, 9, 9, 11, 9, 6, 15, 7, 3, 0, 11, 13, 2, 7, 5, 8, 0],
"result": "invalid"
},
{
"tcId": 2208,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "cc910c773f3d13bfc4809171f783a200027691522e657f52",
"tweak": "e4fa905dd98b8ff0",
"msg": [5, 15, 2, 2, 4, 11, 2, 14, 1, 0, 8, 12, 4, 11, 11, 8, 15, 2, 14, 4, 1, 12, 10, 16],
"ct": [15, 4, 11, 9, 15, 0, 2, 4, 5, 8, 0, 6, 7, 5, 12, 1, 1, 7, 3, 9, 4, 13, 2, 1],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 25,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2209,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "d3cc660039922e4edf19ee000bf0190aa4a974e2af2df506",
"tweak": "c1eb1cd08201924c",
"msg": [5, 2, 11, 15, 2, 3, 7, 12, 5, 1, 1, 10, 5, 15, 13, 12, 6, 2, 13, 0, 13, 6, 5, 2, 8],
"ct": [1, 9, 7, 5, 0, 5, 5, 14, 10, 8, 15, 4, 1, 7, 9, 14, 4, 8, 14, 1, 2, 0, 10, 12, 4],
"result": "valid"
},
{
"tcId": 2210,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 4, 14, 4, 10, 11, 3, 11, 9, 9, 1, 0, 1, 8, 6, 12, 0, 0, 15, 12, 3, 4, 0, 3, 9],
"result": "valid"
},
{
"tcId": 2211,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [4, 12, 13, 13, 2, 0, 4, 0, 0, 9, 15, 5, 4, 8, 15, 14, 9, 13, 7, 13, 1, 15, 9, 0, 10],
"result": "valid"
},
{
"tcId": 2212,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [6, 12, 9, 12, 7, 4, 13, 11, 8, 14, 15, 0, 3, 6, 12, 14, 2, 9, 7, 12, 2, 14, 8, 4, 6],
"result": "valid"
},
{
"tcId": 2213,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [5, 4, 4, 14, 9, 14, 8, 2, 7, 3, 8, 10, 7, 10, 9, 15, 9, 11, 10, 15, 7, 15, 1, 13, 1],
"result": "valid"
},
{
"tcId": 2214,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [10, 6, 9, 4, 7, 11, 0, 9, 8, 1, 0, 7, 7, 15, 10, 12, 1, 12, 12, 12, 0, 8, 5, 1, 1],
"ct": [9, 5, 0, 5, 2, 4, 0, 7, 4, 8, 10, 14, 14, 1, 8, 13, 0, 11, 2, 1, 15, 10, 11, 10, 2],
"result": "valid"
},
{
"tcId": 2215,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [9, 5, 3, 4, 8, 7, 11, 4, 9, 9, 1, 11, 15, 13, 7, 6, 6, 0, 8, 13, 2, 7, 15, 10, 15],
"ct": [5, 12, 10, 4, 11, 4, 0, 13, 8, 4, 3, 6, 13, 3, 13, 10, 5, 0, 13, 2, 1, 11, 3, 14, 0],
"result": "valid"
},
{
"tcId": 2216,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [9, 4, 2, 7, 9, 10, 10, 6, 7, 9, 11, 0, 0, 12, 1, 4, 6, 5, 8, 11, 7, 12, 7, 6, 15],
"ct": [8, 13, 3, 11, 11, 7, 10, 7, 8, 0, 15, 10, 4, 9, 9, 9, 10, 8, 9, 10, 7, 7, 7, 12, 7],
"result": "valid"
},
{
"tcId": 2217,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [4, 7, 14, 12, 3, 13, 5, 10, 12, 3, 4, 4, 0, 3, 6, 11, 15, 13, 3, 7, 12, 11, 4, 8, 8],
"ct": [9, 11, 5, 11, 4, 1, 14, 6, 13, 1, 2, 3, 4, 4, 5, 2, 3, 6, 11, 8, 13, 7, 8, 8, 0],
"result": "valid"
},
{
"tcId": 2218,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [5, 12, 15, 6, 4, 11, 14, 10, 4, 6, 13, 7, 10, 0, 10, 1, 9, 7, 0, 7, 10, 12, 9, 15, 7],
"ct": [15, 3, 6, 13, 15, 14, 2, 1, 13, 11, 8, 6, 3, 7, 1, 8, 15, 1, 5, 10, 11, 13, 5, 2, 13],
"result": "valid"
},
{
"tcId": 2219,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [0, 14, 11, 8, 0, 8, 1, 13, 6, 9, 14, 3, 8, 7, 9, 10, 10, 11, 0, 9, 15, 11, 14, 8, 4],
"ct": [6, 8, 4, 13, 15, 13, 4, 1, 12, 15, 3, 13, 6, 11, 11, 5, 8, 0, 9, 14, 5, 9, 2, 9, 12],
"result": "valid"
},
{
"tcId": 2220,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [2, 14, 14, 3, 4, 7, 2, 3, 2, 8, 14, 10, 8, 14, 5, 11, 6, 12, 15, 3, 9, 12, 7, 9, 11],
"ct": [2, 11, 5, 14, 11, 2, 3, 14, 15, 13, 15, 13, 6, 14, 10, 0, 5, 5, 10, 2, 8, 3, 13, 12, 15],
"result": "valid"
},
{
"tcId": 2221,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [0, 12, 12, 12, 9, 3, 3, 12, 0, 10, 6, 12, 1, 9, 3, 7, 6, 5, 11, 11, 14, 0, 1, 10, 12],
"ct": [9, 5, 8, 0, 9, 0, 1, 11, 13, 10, 6, 14, 0, 4, 2, 5, 8, 7, 12, 1, 9, 8, 2, 7, 8],
"result": "valid"
},
{
"tcId": 2222,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [7, 12, 3, 13, 15, 4, 7, 6, 2, 12, 11, 10, 14, 5, 13, 5, 13, 4, 5, 6, 13, 7, 4, 12, 14],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2223,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [9, 9, 0, 6, 5, 13, 1, 9, 0, 9, 7, 2, 15, 4, 5, 15, 9, 6, 1, 13, 13, 4, 5, 8, 1],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2224,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [4, 1, 6, 14, 12, 7, 15, 1, 4, 9, 14, 13, 0, 3, 3, 1, 4, 2, 3, 1, 13, 0, 12, 13, 0],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2225,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [11, 5, 11, 6, 1, 0, 1, 10, 11, 1, 5, 9, 1, 14, 9, 2, 14, 2, 14, 6, 10, 13, 7, 15, 3],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2226,
"comment": "y = 0 and (y + a) % radix**12 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "1955029cb2e101c6",
"msg": [8, 14, 10, 7, 3, 14, 3, 8, 6, 4, 0, 9, 15, 3, 7, 2, 13, 0, 15, 13, 10, 15, 13, 2, 9],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 4, 6, 15, 13, 15, 4, 8, 12, 9, 9, 1, 0],
"result": "valid"
},
{
"tcId": 2227,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "1955029cb2e101c6",
"msg": [1, 15, 15, 14, 5, 14, 7, 1, 0, 11, 15, 13, 3, 5, 1, 0, 11, 5, 12, 0, 11, 14, 6, 12, 9],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4, 12, 0, 2, 2, 0, 3, 0, 2, 5, 10, 0, 15],
"result": "valid"
},
{
"tcId": 2228,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "1955029cb2e101c6",
"msg": [1, 8, 2, 7, 3, 13, 15, 3, 0, 13, 9, 13, 5, 8, 9, 13, 7, 5, 12, 11, 13, 15, 10, 15, 3],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 9, 6, 10, 6, 0, 12, 8, 1, 9, 1, 12, 13],
"result": "valid"
},
{
"tcId": 2229,
"comment": "y = 0 and (y + a) % radix**12 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "1955029cb2e101c6",
"msg": [0, 1, 5, 2, 2, 15, 5, 15, 7, 14, 5, 12, 5, 14, 6, 4, 15, 7, 15, 2, 1, 9, 12, 3, 5],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 0, 1, 13, 5, 5, 3, 4, 7, 8, 13, 12, 3],
"result": "valid"
},
{
"tcId": 2230,
"comment": "y is maximal and (y + a) % radix**12 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "9a0de0370dbd20ca",
"msg": [7, 4, 4, 1, 4, 1, 3, 11, 7, 8, 11, 15, 12, 2, 13, 7, 7, 13, 10, 14, 12, 2, 8, 3, 8],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 11, 12, 10, 7, 14, 3, 10, 5, 11, 10, 7, 0, 13],
"result": "valid"
},
{
"tcId": 2231,
"comment": "y is maximal and (y + a) % radix**12 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "9a0de0370dbd20ca",
"msg": [4, 4, 9, 5, 2, 4, 13, 4, 4, 8, 1, 2, 9, 0, 6, 7, 0, 4, 1, 6, 13, 15, 1, 14, 9],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 1, 7, 5, 7, 10, 8, 8, 14, 13, 11, 7, 9],
"result": "valid"
},
{
"tcId": 2232,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "9a0de0370dbd20ca",
"msg": [7, 10, 13, 9, 2, 15, 6, 3, 3, 1, 15, 3, 15, 15, 10, 15, 12, 10, 5, 13, 9, 8, 1, 13, 15],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 11, 11, 4, 15, 13, 13, 0, 3, 0, 6, 8],
"result": "valid"
},
{
"tcId": 2233,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "9a0de0370dbd20ca",
"msg": [14, 4, 11, 2, 4, 4, 8, 6, 12, 6, 14, 2, 13, 12, 9, 7, 15, 11, 5, 3, 0, 5, 2, 6, 12],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 2, 3, 4, 10, 11, 1, 14, 0, 10, 11, 9, 10, 7],
"result": "valid"
},
{
"tcId": 2234,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "5ca565022915fd8e",
"msg": [0, 12, 1, 12, 14, 7, 11, 14, 1, 1, 2, 14, 8, 8, 11, 15, 7, 13, 13, 10, 13, 13, 3, 2, 0],
"ct": [4, 5, 8, 14, 1, 8, 8, 6, 5, 8, 13, 11, 14, 4, 0, 6, 7, 5, 4, 13, 3, 0, 3, 12, 11],
"result": "valid"
},
{
"tcId": 2235,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "5ca565022915fd8e",
"msg": [14, 14, 6, 7, 15, 8, 5, 7, 13, 6, 15, 7, 1, 14, 1, 11, 6, 5, 13, 8, 1, 5, 0, 9, 11],
"ct": [5, 12, 0, 2, 3, 12, 8, 14, 0, 15, 7, 14, 8, 14, 1, 13, 7, 1, 11, 10, 8, 7, 12, 11, 14],
"result": "valid"
},
{
"tcId": 2236,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "5ca565022915fd8e",
"msg": [4, 13, 12, 5, 14, 10, 9, 7, 2, 4, 0, 13, 5, 0, 8, 9, 1, 0, 6, 4, 6, 1, 14, 6, 3],
"ct": [10, 12, 9, 11, 11, 3, 11, 13, 3, 2, 10, 12, 1, 3, 4, 2, 12, 7, 10, 2, 13, 12, 5, 13, 15],
"result": "valid"
},
{
"tcId": 2237,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "5ca565022915fd8e",
"msg": [6, 10, 3, 2, 6, 13, 1, 8, 2, 11, 2, 10, 11, 5, 5, 9, 3, 1, 3, 11, 1, 2, 2, 13, 6],
"ct": [8, 3, 5, 3, 13, 6, 5, 14, 6, 10, 10, 6, 13, 8, 2, 9, 13, 1, 13, 1, 6, 15, 7, 7, 11],
"result": "valid"
},
{
"tcId": 2238,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "5ca565022915fd8e",
"msg": [6, 2, 9, 11, 12, 6, 4, 8, 6, 12, 6, 8, 7, 0, 2, 5, 3, 8, 13, 15, 10, 3, 3, 2, 13],
"ct": [12, 1, 12, 12, 15, 14, 15, 3, 14, 11, 5, 8, 5, 12, 0, 6, 13, 12, 15, 3, 6, 6, 8, 1, 2],
"result": "valid"
},
{
"tcId": 2239,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "5ca565022915fd8e",
"msg": [7, 9, 9, 13, 14, 0, 4, 14, 14, 3, 12, 15, 11, 7, 5, 8, 15, 7, 7, 14, 9, 2, 4, 0, 5],
"ct": [11, 0, 5, 9, 5, 14, 8, 10, 11, 12, 11, 13, 11, 5, 8, 1, 14, 8, 1, 5, 11, 14, 8, 0, 0],
"result": "valid"
},
{
"tcId": 2240,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "328a0250da15babb",
"msg": [2, 0, 2, 8, 2, 12, 5, 2, 13, 3, 4, 5, 4, 0, 3, 12, 10, 15, 12, 2, 12, 9, 2, 10, 8],
"ct": [0, 9, 5, 9, 13, 12, 6, 11, 5, 2, 5, 0, 11, 10, 15, 5, 12, 7, 0, 12, 12, 15, 11, 15, 3],
"result": "valid"
},
{
"tcId": 2241,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "328a0250da15babb",
"msg": [3, 15, 7, 12, 7, 7, 15, 6, 11, 8, 8, 6, 14, 11, 7, 14, 3, 3, 4, 10, 14, 11, 4, 8, 13],
"ct": [14, 2, 12, 13, 6, 4, 15, 14, 12, 0, 12, 1, 2, 11, 8, 3, 10, 11, 14, 11, 3, 1, 0, 8, 3],
"result": "valid"
},
{
"tcId": 2242,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "328a0250da15babb",
"msg": [7, 0, 0, 11, 10, 9, 0, 1, 8, 10, 15, 3, 3, 7, 4, 15, 5, 12, 14, 4, 10, 0, 6, 2, 12],
"ct": [7, 12, 14, 7, 0, 3, 5, 6, 13, 0, 4, 12, 10, 9, 0, 6, 0, 13, 2, 1, 9, 14, 6, 8, 7],
"result": "valid"
},
{
"tcId": 2243,
"comment": "y is maximal after modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "328a0250da15babb",
"msg": [9, 12, 3, 9, 12, 7, 3, 5, 9, 4, 1, 11, 7, 10, 14, 7, 11, 0, 12, 3, 8, 6, 13, 13, 7],
"ct": [2, 6, 1, 1, 4, 11, 12, 10, 11, 11, 4, 5, 8, 3, 2, 5, 1, 8, 5, 0, 0, 3, 14, 5, 14],
"result": "valid"
},
{
"tcId": 2244,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "989c3e6ec86db3b5aeae309cdf63259252ca59dbd1119bf2",
"tweak": "a8f9219e0b7563c0",
"msg": [-1, 12, 15, 5, 1, 6, 9, 4, 13, 9, 5, 4, 13, 6, 10, 6, 7, 3, 5, 12, 5, 11, 3, 1, 6],
"ct": [6, 6, 13, 0, 12, 2, 11, 7, 1, 0, 8, 8, 1, 3, 8, 12, 11, 6, 14, 9, 14, 12, 7, 12, 13],
"result": "invalid"
},
{
"tcId": 2245,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "989c3e6ec86db3b5aeae309cdf63259252ca59dbd1119bf2",
"tweak": "a8f9219e0b7563c0",
"msg": [9, 12, 15, 5, 1, 6, 9, 4, -1, 9, 5, 4, 13, 6, 10, 6, 7, 3, 5, 12, 5, 11, 3, 1, 6],
"ct": [1, 12, 10, 12, 3, 1, 0, 10, 2, 5, 2, 5, 6, 6, 2, 14, 2, 8, 5, 1, 11, 0, 9, 3, 2],
"result": "invalid"
},
{
"tcId": 2246,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "989c3e6ec86db3b5aeae309cdf63259252ca59dbd1119bf2",
"tweak": "a8f9219e0b7563c0",
"msg": [9, 12, 15, 5, 1, 6, 9, 4, 13, 9, 5, 4, 13, 6, 10, 6, 7, 3, 5, 12, 5, 11, 3, 1, -1],
"ct": [5, 14, 5, 5, 11, 2, 12, 15, 0, 8, 1, 4, 5, 6, 15, 7, 3, 9, 5, 5, 6, 8, 6, 9, 13],
"result": "invalid"
},
{
"tcId": 2247,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2b1e833d76ce25c81b3b84f1cb486f5c330aeeeef56c2f4e",
"tweak": "c339934d0ad3588b",
"msg": [16, 0, 4, 14, 4, 9, 8, 8, 11, 15, 7, 7, 7, 1, 4, 6, 7, 14, 10, 8, 14, 1, 8, 15, 3],
"ct": [8, 6, 11, 4, 4, 9, 5, 2, 3, 13, 6, 14, 4, 15, 4, 0, 6, 11, 4, 10, 9, 3, 4, 9, 4],
"result": "invalid"
},
{
"tcId": 2248,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2b1e833d76ce25c81b3b84f1cb486f5c330aeeeef56c2f4e",
"tweak": "c339934d0ad3588b",
"msg": [5, 0, 4, 14, 4, 9, 8, 8, 16, 15, 7, 7, 7, 1, 4, 6, 7, 14, 10, 8, 14, 1, 8, 15, 3],
"ct": [9, 8, 12, 8, 13, 6, 11, 11, 10, 12, 5, 12, 8, 0, 13, 5, 5, 7, 12, 11, 6, 4, 13, 3, 14],
"result": "invalid"
},
{
"tcId": 2249,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2b1e833d76ce25c81b3b84f1cb486f5c330aeeeef56c2f4e",
"tweak": "c339934d0ad3588b",
"msg": [5, 0, 4, 14, 4, 9, 8, 8, 11, 15, 7, 7, 7, 1, 4, 6, 7, 14, 10, 8, 14, 1, 8, 15, 16],
"ct": [14, 7, 9, 4, 14, 6, 14, 3, 1, 3, 9, 4, 4, 13, 8, 15, 11, 0, 0, 9, 15, 10, 7, 12, 1],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 26,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2250,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "a08b283fbb882bc35ad665f439ba1ba3cb45faa7ef953e75",
"tweak": "a8bad0d760a36482",
"msg": [9, 5, 10, 6, 5, 13, 11, 15, 12, 1, 11, 14, 3, 7, 12, 7, 8, 15, 2, 12, 2, 12, 6, 7, 2, 11],
"ct": [10, 6, 5, 5, 15, 3, 2, 3, 6, 10, 3, 4, 4, 1, 4, 6, 12, 10, 7, 14, 2, 13, 15, 13, 3, 1],
"result": "valid"
},
{
"tcId": 2251,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 13, 0, 13, 13, 11, 3, 5, 4, 9, 2, 5, 6, 11, 6, 15, 5, 12, 5, 9, 13, 0, 8, 14, 7, 11],
"result": "valid"
},
{
"tcId": 2252,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [7, 5, 14, 12, 9, 9, 7, 14, 14, 12, 3, 4, 12, 3, 5, 7, 0, 6, 11, 7, 0, 2, 7, 7, 9, 4],
"result": "valid"
},
{
"tcId": 2253,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [12, 15, 9, 0, 10, 2, 8, 14, 10, 1, 2, 15, 2, 2, 1, 2, 0, 14, 0, 14, 1, 14, 8, 13, 5, 4],
"result": "valid"
},
{
"tcId": 2254,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [4, 10, 7, 2, 1, 4, 11, 0, 13, 1, 8, 4, 8, 14, 13, 7, 9, 13, 15, 7, 15, 6, 14, 6, 13, 3],
"result": "valid"
},
{
"tcId": 2255,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [9, 4, 0, 1, 0, 14, 13, 6, 0, 10, 8, 14, 4, 0, 5, 10, 2, 4, 11, 7, 6, 13, 10, 4, 1, 4],
"ct": [13, 11, 9, 6, 14, 7, 12, 1, 5, 15, 3, 8, 9, 14, 10, 8, 12, 1, 15, 1, 9, 6, 1, 5, 7, 5],
"result": "valid"
},
{
"tcId": 2256,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [8, 15, 7, 3, 2, 9, 8, 13, 13, 6, 0, 13, 8, 9, 5, 9, 2, 8, 15, 15, 1, 0, 8, 5, 10, 15],
"ct": [12, 4, 7, 10, 3, 3, 9, 4, 1, 1, 11, 0, 9, 2, 5, 0, 12, 5, 6, 10, 7, 4, 15, 9, 0, 13],
"result": "valid"
},
{
"tcId": 2257,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [10, 1, 15, 8, 0, 4, 10, 5, 9, 1, 12, 15, 7, 3, 2, 6, 7, 0, 9, 12, 2, 2, 10, 14, 1, 13],
"ct": [5, 9, 8, 0, 6, 3, 13, 5, 1, 3, 2, 11, 10, 0, 1, 6, 15, 4, 15, 5, 1, 2, 2, 7, 4, 15],
"result": "valid"
},
{
"tcId": 2258,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [14, 12, 3, 11, 11, 7, 11, 9, 4, 14, 2, 8, 0, 2, 0, 13, 6, 3, 7, 8, 15, 9, 8, 1, 12, 11],
"ct": [12, 9, 12, 5, 9, 7, 10, 7, 10, 3, 2, 6, 2, 8, 15, 11, 15, 14, 3, 2, 0, 14, 10, 12, 0, 14],
"result": "valid"
},
{
"tcId": 2259,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [9, 10, 13, 5, 5, 7, 9, 6, 12, 5, 11, 13, 8, 4, 5, 1, 7, 3, 11, 5, 12, 14, 8, 2, 0, 6],
"ct": [8, 4, 6, 9, 7, 5, 0, 11, 2, 5, 7, 8, 0, 1, 3, 14, 11, 2, 11, 5, 4, 7, 9, 3, 11, 7],
"result": "valid"
},
{
"tcId": 2260,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [15, 4, 7, 12, 8, 8, 9, 4, 14, 4, 12, 1, 5, 7, 6, 4, 4, 9, 8, 11, 8, 13, 10, 14, 12, 7],
"ct": [1, 6, 8, 7, 1, 3, 11, 13, 7, 4, 3, 0, 4, 8, 10, 6, 10, 10, 0, 2, 6, 5, 11, 9, 13, 2],
"result": "valid"
},
{
"tcId": 2261,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [4, 12, 2, 13, 0, 3, 4, 0, 0, 10, 10, 5, 3, 15, 10, 14, 13, 13, 1, 13, 5, 15, 15, 7, 1, 0],
"ct": [14, 8, 5, 15, 0, 9, 11, 13, 3, 8, 9, 14, 9, 8, 6, 5, 5, 13, 12, 0, 0, 0, 10, 7, 5, 7],
"result": "valid"
},
{
"tcId": 2262,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [9, 15, 0, 3, 6, 4, 13, 5, 14, 9, 14, 4, 4, 5, 15, 0, 4, 5, 14, 3, 10, 6, 6, 0, 3, 7],
"ct": [8, 6, 9, 14, 6, 11, 6, 10, 10, 14, 0, 10, 15, 6, 9, 11, 11, 2, 13, 4, 15, 1, 8, 15, 0, 10],
"result": "valid"
},
{
"tcId": 2263,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [6, 14, 12, 9, 1, 8, 4, 6, 3, 2, 7, 4, 2, 15, 1, 13, 2, 3, 12, 9, 4, 7, 7, 7, 1, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2264,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [11, 6, 0, 12, 10, 7, 3, 14, 12, 7, 10, 8, 8, 8, 14, 11, 1, 7, 9, 5, 2, 15, 7, 15, 14, 8],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2265,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [0, 10, 13, 5, 0, 13, 12, 6, 11, 14, 5, 2, 15, 14, 1, 8, 6, 10, 15, 12, 5, 14, 1, 10, 12, 7],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2266,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71",
"tweak": "426b9a1f79d8ed02",
"msg": [1, 2, 15, 11, 8, 9, 1, 12, 11, 15, 4, 10, 10, 0, 6, 3, 6, 0, 12, 8, 4, 9, 15, 1, 14, 9],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2267,
"comment": "y = 0 and (y + a) % radix**13 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "70e5f983c270e504",
"msg": [4, 12, 12, 11, 10, 11, 5, 15, 12, 6, 15, 3, 8, 5, 0, 0, 2, 11, 2, 11, 6, 6, 6, 12, 8, 14],
"ct": [6, 10, 13, 9, 3, 8, 11, 10, 7, 0, 12, 9, 15, 15, 15, 5, 14, 11, 1, 14, 2, 8, 2, 2, 12, 2],
"result": "valid"
},
{
"tcId": 2268,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "70e5f983c270e504",
"msg": [1, 8, 9, 3, 8, 1, 2, 3, 11, 7, 15, 15, 6, 10, 11, 9, 13, 3, 7, 7, 0, 5, 1, 1, 1, 15],
"ct": [8, 14, 2, 0, 2, 12, 1, 10, 4, 3, 7, 7, 6, 15, 14, 13, 1, 10, 12, 15, 3, 3, 12, 14, 15, 12],
"result": "valid"
},
{
"tcId": 2269,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "70e5f983c270e504",
"msg": [2, 7, 15, 2, 4, 0, 2, 3, 0, 1, 10, 12, 13, 12, 1, 9, 6, 14, 3, 5, 13, 7, 7, 0, 1, 4],
"ct": [7, 9, 0, 8, 8, 1, 9, 11, 13, 7, 10, 8, 14, 9, 0, 4, 3, 13, 2, 9, 3, 9, 15, 5, 15, 4],
"result": "valid"
},
{
"tcId": 2270,
"comment": "y = 0 and (y + a) % radix**13 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "70e5f983c270e504",
"msg": [9, 14, 0, 2, 14, 13, 3, 4, 12, 2, 13, 0, 15, 12, 2, 14, 9, 5, 12, 9, 8, 6, 4, 6, 15, 1],
"ct": [5, 15, 13, 4, 1, 13, 7, 8, 13, 3, 4, 15, 0, 4, 8, 15, 2, 6, 0, 3, 4, 9, 1, 1, 10, 11],
"result": "valid"
},
{
"tcId": 2271,
"comment": "y = 1 and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "708c47f0631a039e",
"msg": [11, 7, 10, 0, 0, 0, 0, 5, 13, 5, 13, 6, 0, 2, 11, 8, 2, 12, 3, 1, 0, 0, 1, 15, 2, 5],
"ct": [13, 0, 4, 2, 12, 0, 9, 2, 5, 9, 6, 15, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 2272,
"comment": "y = 1 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "708c47f0631a039e",
"msg": [12, 9, 12, 0, 15, 8, 12, 8, 14, 9, 13, 6, 5, 15, 3, 1, 15, 13, 7, 6, 1, 8, 12, 0, 11, 2],
"ct": [13, 0, 4, 2, 12, 0, 9, 2, 5, 9, 6, 15, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2],
"result": "valid"
},
{
"tcId": 2273,
"comment": "y = 1 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "708c47f0631a039e",
"msg": [11, 1, 15, 4, 9, 1, 1, 7, 0, 13, 2, 1, 12, 4, 4, 8, 6, 11, 1, 11, 13, 0, 11, 4, 8, 9],
"ct": [13, 0, 4, 2, 12, 0, 9, 2, 5, 9, 6, 15, 5, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 2274,
"comment": "y = 1 and (y + a) % radix**13 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "708c47f0631a039e",
"msg": [8, 13, 8, 12, 0, 1, 6, 7, 7, 11, 4, 1, 8, 0, 9, 1, 0, 8, 12, 7, 1, 13, 4, 1, 11, 9],
"ct": [13, 0, 4, 2, 12, 0, 9, 2, 5, 9, 6, 15, 5, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2275,
"comment": "y = 1 and (y + a) % radix**13 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "708c47f0631a039e",
"msg": [0, 11, 2, 5, 9, 11, 14, 12, 15, 13, 9, 5, 7, 13, 5, 8, 11, 5, 2, 2, 5, 10, 12, 12, 3, 12],
"ct": [13, 0, 4, 2, 12, 0, 9, 2, 5, 9, 6, 15, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2276,
"comment": "y is maximal and (y + a) % radix**13 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "70848bbda58bb6e2",
"msg": [13, 11, 0, 10, 10, 10, 7, 3, 11, 6, 3, 4, 0, 14, 1, 7, 3, 10, 15, 2, 4, 1, 7, 0, 9, 11],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 2, 0, 3, 0, 4, 7, 14, 10, 12, 9, 8, 3, 4],
"result": "valid"
},
{
"tcId": 2277,
"comment": "y is maximal and (y + a) % radix**13 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "70848bbda58bb6e2",
"msg": [4, 0, 1, 2, 6, 14, 3, 3, 14, 11, 14, 11, 13, 12, 4, 0, 9, 3, 15, 4, 7, 5, 14, 4, 5, 7],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 4, 12, 9, 6, 8, 14, 13, 7, 15, 13, 4],
"result": "valid"
},
{
"tcId": 2278,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "70848bbda58bb6e2",
"msg": [3, 13, 4, 10, 9, 12, 9, 1, 14, 9, 14, 15, 9, 14, 2, 14, 11, 0, 0, 9, 12, 4, 4, 12, 4, 13],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 3, 3, 9, 2, 2, 13, 7, 11, 2, 0, 3, 13, 12],
"result": "valid"
},
{
"tcId": 2279,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "70848bbda58bb6e2",
"msg": [13, 2, 4, 12, 10, 10, 12, 14, 2, 14, 1, 15, 2, 15, 11, 13, 4, 3, 8, 13, 0, 1, 8, 0, 1, 12],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 4, 3, 11, 3, 14, 14, 13, 11, 7, 12, 10, 13, 12],
"result": "valid"
},
{
"tcId": 2280,
"comment": "y is edge case for modular reduction and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "fa58b1cdd477f974",
"msg": [12, 8, 6, 5, 7, 15, 10, 2, 4, 14, 9, 6, 10, 7, 6, 7, 11, 3, 3, 9, 7, 5, 14, 2, 15, 6],
"ct": [3, 5, 8, 0, 10, 7, 11, 5, 14, 0, 13, 7, 5, 0, 0, 12, 10, 6, 10, 2, 9, 3, 2, 14, 13, 3],
"result": "valid"
},
{
"tcId": 2281,
"comment": "y is edge case for modular reduction and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "fa58b1cdd477f974",
"msg": [8, 11, 13, 3, 15, 6, 11, 11, 0, 4, 14, 12, 1, 15, 6, 1, 5, 14, 1, 1, 1, 14, 7, 3, 0, 14],
"ct": [9, 7, 10, 10, 9, 1, 9, 10, 7, 9, 3, 11, 10, 14, 11, 2, 13, 3, 1, 5, 1, 12, 13, 15, 6, 3],
"result": "valid"
},
{
"tcId": 2282,
"comment": "y is edge case for modular reduction and (y + a) % radix**13 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "fa58b1cdd477f974",
"msg": [5, 13, 15, 6, 8, 3, 9, 11, 2, 2, 9, 10, 6, 12, 9, 0, 1, 11, 7, 15, 11, 11, 2, 12, 7, 6],
"ct": [4, 2, 1, 15, 2, 1, 12, 7, 6, 14, 9, 14, 10, 6, 7, 5, 7, 6, 14, 10, 2, 1, 9, 6, 6, 2],
"result": "valid"
},
{
"tcId": 2283,
"comment": "y is edge case for modular reduction and (y + a) % radix**13 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "fa58b1cdd477f974",
"msg": [13, 14, 7, 10, 5, 15, 6, 8, 2, 15, 15, 10, 2, 6, 13, 13, 13, 11, 9, 2, 8, 4, 13, 5, 11, 3],
"ct": [2, 15, 0, 6, 9, 15, 6, 1, 15, 6, 9, 5, 8, 13, 11, 10, 13, 8, 10, 11, 13, 5, 10, 7, 7, 12],
"result": "valid"
},
{
"tcId": 2284,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "fa58b1cdd477f974",
"msg": [3, 1, 12, 1, 10, 4, 0, 9, 10, 3, 9, 11, 12, 9, 15, 6, 1, 14, 0, 11, 6, 0, 11, 9, 15, 3],
"ct": [3, 5, 0, 8, 11, 0, 14, 13, 6, 12, 5, 6, 14, 10, 5, 5, 8, 0, 7, 0, 6, 12, 11, 6, 1, 14],
"result": "valid"
},
{
"tcId": 2285,
"comment": "y is edge case for modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "fa58b1cdd477f974",
"msg": [13, 9, 14, 12, 0, 0, 12, 15, 4, 8, 14, 10, 14, 1, 6, 1, 5, 9, 13, 12, 4, 2, 5, 15, 15, 0],
"ct": [0, 5, 15, 1, 10, 8, 7, 13, 4, 14, 7, 0, 2, 13, 14, 12, 15, 8, 4, 7, 6, 12, 4, 15, 8, 6],
"result": "valid"
},
{
"tcId": 2286,
"comment": "y is maximal after modular reduction and (y + a) % radix**13 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "6fdbd416a0f17d7c",
"msg": [2, 12, 5, 0, 2, 9, 14, 9, 9, 12, 6, 12, 12, 3, 11, 14, 14, 15, 14, 1, 0, 4, 5, 5, 15, 7],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 7, 5, 10, 10, 15, 6, 12, 9, 8, 10, 13, 15],
"result": "valid"
},
{
"tcId": 2287,
"comment": "y is maximal after modular reduction and (y + a) % radix**13 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "6fdbd416a0f17d7c",
"msg": [1, 11, 7, 7, 11, 11, 14, 9, 4, 12, 4, 4, 3, 3, 10, 14, 8, 3, 5, 1, 4, 5, 6, 11, 9, 15],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 8, 2, 8, 0, 15, 0, 0, 4, 13, 14, 10],
"result": "valid"
},
{
"tcId": 2288,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "6fdbd416a0f17d7c",
"msg": [1, 13, 5, 8, 12, 10, 10, 4, 5, 0, 4, 8, 1, 4, 9, 15, 7, 3, 2, 3, 14, 12, 7, 9, 9, 13],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 1, 6, 15, 13, 12, 12, 11, 10, 7, 15, 9, 10],
"result": "valid"
},
{
"tcId": 2289,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f",
"tweak": "6fdbd416a0f17d7c",
"msg": [0, 12, 10, 1, 11, 8, 8, 8, 6, 1, 9, 10, 13, 15, 4, 13, 8, 15, 1, 4, 10, 7, 9, 1, 11, 11],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 9, 7, 5, 9, 10, 15, 10, 4, 12, 13, 1, 1, 13],
"result": "valid"
},
{
"tcId": 2290,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a0b4aea2221a9c58952786987b6491a1b6531c2d57fc800e",
"tweak": "21b6844cc07d6f4f",
"msg": [-1, 15, 11, 12, 13, 1, 7, 8, 7, 8, 5, 8, 13, 1, 10, 11, 14, 3, 3, 5, 0, 14, 15, 2, 0, 0],
"ct": [13, 4, 10, 15, 4, 14, 3, 5, 2, 9, 4, 7, 5, 5, 14, 9, 9, 1, 10, 7, 7, 4, 8, 2, 9, 13],
"result": "invalid"
},
{
"tcId": 2291,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a0b4aea2221a9c58952786987b6491a1b6531c2d57fc800e",
"tweak": "21b6844cc07d6f4f",
"msg": [1, 15, 11, 12, 13, 1, 7, 8, -1, 8, 5, 8, 13, 1, 10, 11, 14, 3, 3, 5, 0, 14, 15, 2, 0, 0],
"ct": [4, 6, 7, 2, 9, 9, 13, 4, 6, 6, 7, 6, 9, 7, 1, 9, 2, 15, 1, 1, 2, 14, 13, 10, 15, 12],
"result": "invalid"
},
{
"tcId": 2292,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a0b4aea2221a9c58952786987b6491a1b6531c2d57fc800e",
"tweak": "21b6844cc07d6f4f",
"msg": [1, 15, 11, 12, 13, 1, 7, 8, 7, 8, 5, 8, 13, 1, 10, 11, 14, 3, 3, 5, 0, 14, 15, 2, 0, -1],
"ct": [6, 10, 12, 6, 11, 12, 2, 9, 11, 8, 11, 3, 3, 7, 13, 10, 15, 10, 8, 9, 2, 3, 1, 8, 1, 7],
"result": "invalid"
},
{
"tcId": 2293,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "efae67b3d57bfa7ea86c77998ba85a92a61f6c9ab7373c09",
"tweak": "9f30ec205bdade78",
"msg": [16, 7, 9, 6, 11, 2, 0, 10, 11, 13, 14, 15, 4, 6, 3, 6, 11, 5, 13, 6, 10, 1, 13, 5, 15, 1],
"ct": [3, 8, 14, 13, 10, 4, 11, 7, 4, 13, 6, 7, 4, 15, 4, 1, 0, 10, 8, 15, 14, 10, 3, 8, 0, 4],
"result": "invalid"
},
{
"tcId": 2294,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "efae67b3d57bfa7ea86c77998ba85a92a61f6c9ab7373c09",
"tweak": "9f30ec205bdade78",
"msg": [10, 7, 9, 6, 11, 2, 0, 10, 16, 13, 14, 15, 4, 6, 3, 6, 11, 5, 13, 6, 10, 1, 13, 5, 15, 1],
"ct": [12, 15, 5, 9, 5, 10, 0, 13, 6, 0, 3, 6, 7, 11, 7, 2, 0, 14, 15, 15, 0, 15, 2, 10, 7, 8],
"result": "invalid"
},
{
"tcId": 2295,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "efae67b3d57bfa7ea86c77998ba85a92a61f6c9ab7373c09",
"tweak": "9f30ec205bdade78",
"msg": [10, 7, 9, 6, 11, 2, 0, 10, 11, 13, 14, 15, 4, 6, 3, 6, 11, 5, 13, 6, 10, 1, 13, 5, 15, 16],
"ct": [7, 7, 10, 7, 12, 11, 4, 9, 6, 5, 14, 1, 7, 1, 3, 5, 2, 0, 14, 12, 13, 1, 2, 1, 0, 6],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 27,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2296,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "bc8a31cd3bf14b148eb6519268b2bd472de9cce165061efd",
"tweak": "f62b70082bb992d2",
"msg": [0, 5, 15, 9, 11, 5, 10, 11, 2, 10, 4, 3, 6, 8, 4, 12, 15, 4, 6, 6, 11, 0, 4, 7, 12, 3, 3],
"ct": [12, 1, 5, 7, 14, 12, 15, 11, 6, 10, 2, 11, 6, 10, 8, 15, 11, 10, 1, 1, 7, 10, 3, 0, 5, 14, 11],
"result": "valid"
},
{
"tcId": 2297,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [5, 6, 4, 8, 13, 4, 1, 8, 13, 4, 6, 9, 2, 6, 9, 14, 4, 8, 8, 8, 8, 7, 1, 13, 0, 4, 3],
"result": "valid"
},
{
"tcId": 2298,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [11, 12, 8, 10, 6, 7, 7, 14, 12, 5, 15, 5, 3, 13, 3, 4, 6, 3, 15, 8, 6, 10, 9, 13, 11, 1, 11],
"result": "valid"
},
{
"tcId": 2299,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 4, 13, 12, 13, 9, 13, 7, 5, 10, 7, 7, 3, 11, 4, 4, 2, 13, 8, 14, 14, 7, 15, 7, 5, 13, 10],
"result": "valid"
},
{
"tcId": 2300,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [14, 15, 6, 0, 14, 14, 4, 9, 8, 12, 15, 10, 15, 9, 11, 6, 9, 5, 4, 15, 8, 13, 8, 14, 13, 6, 11],
"result": "valid"
},
{
"tcId": 2301,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [11, 10, 14, 13, 4, 5, 11, 7, 3, 13, 15, 10, 1, 4, 1, 7, 11, 11, 9, 5, 5, 1, 15, 13, 13, 15, 12],
"ct": [11, 15, 12, 0, 2, 6, 0, 9, 9, 7, 15, 11, 8, 5, 1, 11, 10, 13, 6, 5, 9, 8, 10, 2, 13, 7, 11],
"result": "valid"
},
{
"tcId": 2302,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [6, 15, 4, 3, 11, 14, 10, 6, 9, 7, 3, 12, 13, 2, 0, 4, 14, 5, 3, 12, 6, 7, 6, 10, 9, 13, 11],
"ct": [5, 1, 8, 1, 15, 12, 11, 12, 12, 8, 13, 10, 10, 4, 1, 15, 0, 8, 4, 13, 12, 10, 8, 9, 10, 2, 6],
"result": "valid"
},
{
"tcId": 2303,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [9, 12, 7, 13, 14, 9, 11, 7, 12, 6, 0, 15, 1, 12, 10, 2, 2, 15, 3, 11, 1, 11, 5, 11, 4, 0, 9],
"ct": [3, 5, 9, 5, 12, 11, 1, 9, 3, 12, 0, 12, 7, 13, 10, 8, 10, 0, 12, 4, 5, 1, 10, 9, 12, 2, 8],
"result": "valid"
},
{
"tcId": 2304,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [0, 12, 14, 8, 14, 8, 13, 2, 7, 2, 13, 14, 9, 2, 15, 14, 9, 10, 0, 14, 3, 7, 9, 14, 5, 8, 1],
"ct": [9, 13, 6, 11, 14, 6, 4, 1, 13, 1, 2, 14, 7, 1, 1, 8, 2, 5, 11, 4, 3, 7, 9, 6, 12, 3, 9],
"result": "valid"
},
{
"tcId": 2305,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [5, 10, 0, 10, 8, 10, 9, 6, 0, 4, 4, 8, 13, 14, 6, 14, 15, 9, 7, 12, 14, 11, 10, 1, 11, 6, 13],
"ct": [7, 10, 14, 13, 14, 1, 15, 15, 4, 0, 12, 7, 2, 3, 13, 3, 1, 8, 8, 4, 8, 14, 11, 0, 12, 9, 3],
"result": "valid"
},
{
"tcId": 2306,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [1, 2, 9, 12, 13, 4, 11, 15, 9, 6, 0, 8, 5, 12, 12, 8, 15, 8, 6, 6, 2, 8, 11, 8, 13, 4, 7],
"ct": [8, 13, 9, 14, 2, 14, 3, 1, 7, 9, 14, 8, 2, 9, 2, 9, 3, 13, 0, 1, 3, 5, 6, 4, 5, 2, 12],
"result": "valid"
},
{
"tcId": 2307,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [11, 0, 10, 2, 0, 8, 0, 10, 12, 5, 0, 2, 10, 4, 6, 11, 12, 6, 12, 15, 3, 0, 1, 11, 5, 2, 14],
"ct": [9, 11, 7, 14, 1, 9, 2, 1, 1, 7, 11, 9, 5, 1, 11, 4, 10, 12, 5, 11, 0, 15, 12, 10, 1, 11, 11],
"result": "valid"
},
{
"tcId": 2308,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [9, 5, 2, 7, 1, 2, 10, 7, 8, 3, 12, 15, 0, 9, 2, 5, 0, 13, 1, 14, 13, 6, 1, 11, 10, 14, 12],
"ct": [11, 9, 11, 10, 4, 1, 10, 2, 5, 15, 7, 8, 7, 11, 10, 2, 12, 6, 9, 10, 5, 7, 12, 5, 14, 11, 9],
"result": "valid"
},
{
"tcId": 2309,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [9, 3, 4, 1, 7, 10, 0, 14, 15, 9, 3, 3, 11, 8, 13, 9, 8, 11, 7, 10, 8, 11, 14, 13, 0, 14, 12],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2310,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [1, 14, 11, 13, 4, 12, 15, 0, 10, 7, 0, 6, 13, 7, 5, 10, 9, 0, 12, 0, 10, 5, 9, 4, 3, 8, 7],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2311,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [11, 15, 2, 0, 2, 8, 11, 4, 0, 12, 10, 11, 3, 14, 5, 5, 1, 5, 7, 6, 7, 8, 1, 4, 13, 11, 13],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2312,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c",
"tweak": "0d5ef9de5db3c525",
"msg": [0, 4, 5, 14, 10, 12, 13, 10, 11, 3, 11, 4, 5, 3, 3, 15, 2, 7, 12, 11, 15, 7, 13, 14, 13, 15, 4],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2313,
"comment": "y = 0 and (y + a) % radix**14 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "d82d4cfcf3f4f088",
"msg": [0, 9, 3, 13, 3, 5, 0, 3, 10, 2, 6, 13, 15, 1, 2, 4, 7, 12, 2, 5, 2, 7, 1, 2, 7, 10, 6],
"ct": [6, 1, 3, 2, 15, 14, 12, 1, 9, 0, 1, 10, 6, 15, 15, 14, 9, 6, 12, 15, 14, 9, 8, 0, 2, 3, 3],
"result": "valid"
},
{
"tcId": 2314,
"comment": "y = 0 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "d82d4cfcf3f4f088",
"msg": [10, 0, 12, 1, 14, 5, 6, 5, 4, 0, 7, 9, 13, 14, 0, 8, 6, 10, 12, 9, 6, 3, 8, 0, 15, 9, 7],
"ct": [9, 13, 1, 3, 8, 0, 6, 10, 12, 1, 7, 0, 7, 9, 11, 2, 10, 5, 12, 10, 0, 15, 6, 13, 15, 14, 8],
"result": "valid"
},
{
"tcId": 2315,
"comment": "y = 0 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "d82d4cfcf3f4f088",
"msg": [3, 10, 9, 3, 5, 1, 10, 3, 7, 10, 7, 13, 14, 5, 14, 10, 12, 5, 0, 10, 1, 4, 0, 1, 5, 4, 4],
"ct": [4, 15, 4, 14, 15, 4, 5, 3, 9, 5, 8, 0, 12, 0, 10, 13, 7, 14, 8, 15, 6, 3, 1, 10, 9, 14, 6],
"result": "valid"
},
{
"tcId": 2316,
"comment": "y = 0 and (y + a) % radix**14 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "d82d4cfcf3f4f088",
"msg": [9, 10, 0, 0, 8, 14, 11, 3, 3, 6, 2, 6, 1, 15, 11, 13, 7, 5, 15, 4, 3, 2, 6, 3, 12, 6, 1],
"ct": [5, 3, 12, 12, 0, 7, 4, 10, 12, 2, 5, 11, 15, 0, 12, 11, 11, 7, 7, 15, 8, 7, 14, 1, 13, 0, 13],
"result": "valid"
},
{
"tcId": 2317,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "fb06e762e5db2f86",
"msg": [1, 12, 13, 13, 9, 15, 14, 3, 13, 11, 7, 13, 1, 15, 7, 11, 3, 5, 10, 2, 1, 14, 12, 6, 4, 6, 4],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 9, 15, 5, 13, 8, 13, 6, 1, 15, 9, 15, 8, 6],
"result": "valid"
},
{
"tcId": 2318,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "fb06e762e5db2f86",
"msg": [3, 12, 1, 6, 11, 14, 5, 13, 6, 4, 2, 6, 9, 12, 15, 7, 3, 14, 11, 0, 6, 12, 3, 3, 5, 2, 3],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 9, 13, 6, 0, 2, 7, 2, 12, 3, 5, 13, 5, 15, 3],
"result": "valid"
},
{
"tcId": 2319,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "fb06e762e5db2f86",
"msg": [13, 9, 15, 9, 6, 8, 14, 15, 15, 6, 7, 0, 10, 3, 5, 13, 0, 9, 14, 6, 1, 2, 1, 7, 14, 14, 1],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 6, 0, 4, 12, 9, 4, 3, 10, 9, 11, 0, 1, 1, 13],
"result": "valid"
},
{
"tcId": 2320,
"comment": "y = 1 and (y + a) % radix**13 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "fb06e762e5db2f86",
"msg": [0, 4, 2, 3, 5, 7, 7, 1, 10, 15, 7, 8, 5, 5, 0, 9, 7, 13, 8, 14, 8, 3, 9, 8, 10, 13, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 1, 12, 12, 5, 12, 9, 9, 3, 4, 3, 0, 12, 9],
"result": "valid"
},
{
"tcId": 2321,
"comment": "y = 1 and (y + a) % radix**13 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "fb06e762e5db2f86",
"msg": [12, 0, 3, 4, 1, 9, 15, 7, 8, 5, 3, 5, 4, 1, 3, 4, 9, 2, 1, 0, 2, 3, 10, 1, 2, 14, 3],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 10, 9, 3, 14, 3, 3, 15, 4, 0, 2, 7, 3],
"result": "valid"
},
{
"tcId": 2322,
"comment": "y is maximal and (y + a) % radix**13 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "09ec14b62ccf5217",
"msg": [11, 14, 8, 12, 14, 5, 1, 5, 13, 5, 13, 15, 0, 7, 0, 1, 6, 3, 4, 13, 1, 4, 14, 0, 3, 7, 12],
"ct": [8, 15, 13, 5, 3, 6, 5, 2, 13, 4, 3, 0, 6, 13, 10, 2, 2, 2, 3, 3, 8, 13, 15, 14, 5, 4, 5],
"result": "valid"
},
{
"tcId": 2323,
"comment": "y is maximal and (y + a) % radix**13 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "09ec14b62ccf5217",
"msg": [12, 13, 0, 5, 1, 0, 5, 9, 10, 2, 6, 5, 15, 9, 2, 0, 10, 14, 4, 1, 12, 5, 15, 15, 1, 1, 11],
"ct": [4, 15, 8, 2, 8, 15, 11, 1, 11, 6, 3, 15, 7, 13, 11, 12, 14, 8, 15, 9, 4, 6, 6, 2, 7, 1, 6],
"result": "valid"
},
{
"tcId": 2324,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "09ec14b62ccf5217",
"msg": [1, 15, 12, 5, 11, 9, 15, 11, 4, 13, 6, 0, 1, 3, 0, 14, 4, 9, 13, 4, 9, 4, 9, 2, 15, 4, 4],
"ct": [15, 5, 6, 15, 13, 11, 14, 14, 12, 3, 12, 0, 1, 14, 14, 6, 2, 4, 14, 0, 9, 12, 6, 1, 7, 8, 6],
"result": "valid"
},
{
"tcId": 2325,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "09ec14b62ccf5217",
"msg": [15, 5, 3, 13, 9, 15, 2, 15, 11, 0, 8, 5, 1, 6, 15, 12, 0, 4, 0, 4, 11, 12, 9, 15, 1, 7, 15],
"ct": [1, 7, 1, 13, 3, 11, 2, 8, 12, 3, 15, 7, 11, 10, 3, 8, 14, 14, 14, 11, 12, 1, 15, 14, 2, 11, 10],
"result": "valid"
},
{
"tcId": 2326,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "c4625c45a0ad521e",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 6, 13, 2, 7, 12, 9, 1, 8, 11, 11, 12, 3, 7],
"ct": [6, 1, 14, 13, 3, 15, 13, 8, 15, 3, 14, 8, 9, 6, 1, 4, 7, 7, 4, 1, 5, 8, 7, 8, 0, 10, 1],
"result": "valid"
},
{
"tcId": 2327,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "c4625c45a0ad521e",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 13, 6, 13, 2, 7, 12, 9, 1, 8, 11, 11, 12, 3, 7],
"ct": [14, 15, 10, 7, 2, 12, 2, 10, 13, 14, 1, 8, 8, 9, 12, 4, 3, 10, 2, 2, 9, 11, 4, 0, 0, 15, 10],
"result": "valid"
},
{
"tcId": 2328,
"comment": "y is edge case for modular reduction and (y + a) % radix**13 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "c4625c45a0ad521e",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 13, 6, 13, 2, 7, 12, 9, 1, 8, 11, 11, 12, 3, 7],
"ct": [12, 5, 12, 7, 13, 7, 4, 0, 2, 2, 7, 12, 8, 11, 15, 5, 1, 4, 15, 9, 8, 4, 5, 8, 13, 0, 0],
"result": "valid"
},
{
"tcId": 2329,
"comment": "y is edge case for modular reduction and (y + a) % radix**13 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "c4625c45a0ad521e",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 13, 6, 13, 2, 7, 12, 9, 1, 8, 11, 11, 12, 3, 7],
"ct": [3, 6, 2, 6, 5, 0, 4, 1, 3, 8, 10, 15, 3, 11, 8, 5, 13, 6, 3, 10, 14, 9, 11, 4, 11, 15, 0],
"result": "valid"
},
{
"tcId": 2330,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "c4625c45a0ad521e",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 6, 13, 2, 7, 12, 9, 1, 8, 11, 11, 12, 3, 7],
"ct": [13, 1, 1, 11, 12, 8, 12, 8, 14, 7, 9, 5, 12, 8, 15, 6, 5, 11, 14, 8, 1, 4, 9, 9, 7, 15, 7],
"result": "valid"
},
{
"tcId": 2331,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "c4625c45a0ad521e",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 6, 13, 2, 7, 12, 9, 1, 8, 11, 11, 12, 3, 7],
"ct": [11, 1, 10, 9, 10, 8, 4, 13, 6, 1, 9, 4, 10, 8, 6, 12, 8, 9, 11, 4, 12, 4, 14, 11, 13, 13, 6],
"result": "valid"
},
{
"tcId": 2332,
"comment": "y is maximal after modular reduction and (y + a) % radix**13 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "e1415c3ec0f3ba8e",
"msg": [8, 14, 14, 13, 6, 0, 0, 12, 4, 9, 0, 2, 5, 4, 10, 14, 8, 1, 11, 15, 0, 6, 10, 6, 10, 5, 8],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 11, 8, 0, 10, 13, 4, 4, 8, 1, 12, 5, 15, 0, 6],
"result": "valid"
},
{
"tcId": 2333,
"comment": "y is maximal after modular reduction and (y + a) % radix**13 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "e1415c3ec0f3ba8e",
"msg": [15, 13, 0, 2, 1, 11, 13, 6, 11, 13, 4, 0, 2, 3, 15, 6, 6, 15, 12, 14, 0, 8, 3, 7, 10, 1, 1],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 15, 0, 2, 12, 2, 9, 7, 12, 10, 15, 4, 1, 11],
"result": "valid"
},
{
"tcId": 2334,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "e1415c3ec0f3ba8e",
"msg": [14, 12, 2, 6, 8, 8, 7, 9, 6, 13, 14, 0, 0, 2, 14, 3, 12, 15, 11, 13, 12, 9, 15, 15, 15, 0, 10],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 6, 14, 1, 11, 8, 0, 8, 9, 12, 14, 2, 12, 1, 0],
"result": "valid"
},
{
"tcId": 2335,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c",
"tweak": "e1415c3ec0f3ba8e",
"msg": [12, 6, 6, 0, 8, 14, 15, 15, 14, 13, 8, 3, 15, 14, 3, 15, 2, 4, 15, 3, 10, 1, 9, 7, 0, 0, 3],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 10, 10, 1, 10, 2, 7, 2, 11, 0, 3, 12, 8, 8, 2],
"result": "valid"
},
{
"tcId": 2336,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4b045564bc802e4646d4658a702cb5c4ec94fb1a2cebad91",
"tweak": "8cc7170a8f8d47b6",
"msg": [-1, 15, 0, 0, 6, 11, 11, 14, 10, 0, 2, 5, 15, 8, 4, 13, 6, 2, 14, 7, 9, 5, 15, 5, 3, 14, 9],
"ct": [6, 7, 1, 3, 12, 9, 4, 9, 14, 7, 4, 13, 0, 4, 11, 5, 10, 4, 12, 0, 11, 3, 11, 5, 2, 13, 3],
"result": "invalid"
},
{
"tcId": 2337,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4b045564bc802e4646d4658a702cb5c4ec94fb1a2cebad91",
"tweak": "8cc7170a8f8d47b6",
"msg": [4, 15, 0, 0, 6, 11, 11, 14, 10, -1, 2, 5, 15, 8, 4, 13, 6, 2, 14, 7, 9, 5, 15, 5, 3, 14, 9],
"ct": [10, 4, 11, 10, 14, 7, 9, 4, 0, 7, 2, 6, 3, 6, 5, 10, 5, 9, 14, 14, 0, 8, 14, 13, 7, 12, 15],
"result": "invalid"
},
{
"tcId": 2338,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4b045564bc802e4646d4658a702cb5c4ec94fb1a2cebad91",
"tweak": "8cc7170a8f8d47b6",
"msg": [4, 15, 0, 0, 6, 11, 11, 14, 10, 0, 2, 5, 15, 8, 4, 13, 6, 2, 14, 7, 9, 5, 15, 5, 3, 14, -1],
"ct": [13, 7, 8, 9, 14, 1, 12, 2, 10, 12, 11, 11, 13, 10, 13, 9, 4, 12, 9, 15, 4, 13, 8, 1, 13, 11, 15],
"result": "invalid"
},
{
"tcId": 2339,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c35c67665db5134e3f62da7278ed277a25da6114ac74526b",
"tweak": "a95f87a452d7cfc2",
"msg": [16, 3, 2, 5, 13, 14, 2, 2, 4, 1, 14, 15, 2, 10, 7, 7, 8, 4, 9, 7, 15, 10, 9, 11, 10, 2, 5],
"ct": [3, 7, 10, 15, 14, 1, 8, 2, 15, 6, 11, 5, 13, 4, 14, 2, 8, 2, 5, 1, 13, 11, 9, 9, 14, 15, 6],
"result": "invalid"
},
{
"tcId": 2340,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c35c67665db5134e3f62da7278ed277a25da6114ac74526b",
"tweak": "a95f87a452d7cfc2",
"msg": [2, 3, 2, 5, 13, 14, 2, 2, 4, 16, 14, 15, 2, 10, 7, 7, 8, 4, 9, 7, 15, 10, 9, 11, 10, 2, 5],
"ct": [2, 6, 9, 5, 11, 2, 12, 7, 5, 7, 15, 5, 3, 8, 5, 14, 0, 7, 1, 0, 1, 9, 13, 15, 8, 9, 1],
"result": "invalid"
},
{
"tcId": 2341,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c35c67665db5134e3f62da7278ed277a25da6114ac74526b",
"tweak": "a95f87a452d7cfc2",
"msg": [2, 3, 2, 5, 13, 14, 2, 2, 4, 1, 14, 15, 2, 10, 7, 7, 8, 4, 9, 7, 15, 10, 9, 11, 10, 2, 16],
"ct": [11, 10, 13, 9, 0, 11, 3, 2, 13, 3, 13, 12, 5, 7, 6, 2, 8, 10, 12, 13, 10, 0, 7, 2, 13, 1, 0],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 28,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2342,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "0c6561b42c5cde205f8ba1b4fe71ac110ff2807958a069d4",
"tweak": "1b2ce7022ea31126",
"msg": [13, 8, 11, 2, 14, 13, 15, 6, 9, 3, 3, 5, 0, 4, 14, 1, 12, 0, 15, 6, 1, 15, 14, 1, 0, 0, 8, 1],
"ct": [15, 4, 14, 14, 13, 6, 2, 3, 13, 0, 8, 15, 2, 1, 4, 5, 10, 7, 6, 1, 10, 12, 0, 15, 10, 10, 4, 5],
"result": "valid"
},
{
"tcId": 2343,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 1, 12, 15, 4, 13, 5, 11, 12, 2, 12, 10, 13, 3, 5, 12, 14, 9, 7, 5, 5, 14, 4, 4, 5, 7, 14, 13],
"result": "valid"
},
{
"tcId": 2344,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [4, 12, 14, 6, 5, 14, 6, 5, 14, 11, 1, 1, 9, 15, 12, 7, 10, 12, 2, 4, 10, 2, 2, 8, 10, 3, 15, 13],
"result": "valid"
},
{
"tcId": 2345,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 1, 5, 2, 7, 8, 9, 1, 5, 0, 9, 9, 12, 14, 9, 13, 12, 6, 12, 14, 5, 6, 4, 7, 3, 12, 6, 11],
"result": "valid"
},
{
"tcId": 2346,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [7, 11, 11, 0, 1, 11, 3, 15, 13, 9, 15, 3, 9, 14, 9, 7, 5, 12, 7, 1, 9, 2, 2, 14, 11, 1, 9, 6],
"result": "valid"
},
{
"tcId": 2347,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [7, 7, 10, 0, 9, 12, 15, 0, 12, 6, 10, 3, 6, 10, 0, 14, 10, 7, 13, 4, 13, 10, 5, 5, 13, 3, 11, 4],
"ct": [12, 5, 4, 1, 15, 15, 11, 12, 12, 8, 9, 12, 6, 12, 9, 3, 12, 10, 9, 3, 5, 4, 15, 7, 1, 8, 14, 1],
"result": "valid"
},
{
"tcId": 2348,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [11, 10, 13, 5, 14, 2, 13, 11, 1, 15, 12, 2, 7, 1, 5, 10, 11, 7, 4, 13, 9, 4, 10, 9, 12, 0, 0, 1],
"ct": [1, 3, 2, 0, 2, 1, 15, 4, 12, 1, 2, 15, 13, 2, 15, 8, 13, 7, 15, 0, 9, 3, 2, 6, 9, 0, 15, 9],
"result": "valid"
},
{
"tcId": 2349,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [5, 12, 15, 15, 0, 0, 3, 15, 13, 9, 10, 0, 6, 5, 10, 14, 4, 2, 6, 2, 7, 0, 0, 15, 0, 1, 12, 13],
"ct": [1, 12, 14, 10, 2, 1, 14, 0, 5, 14, 1, 6, 12, 9, 11, 0, 12, 10, 6, 7, 14, 4, 2, 14, 12, 5, 5, 4],
"result": "valid"
},
{
"tcId": 2350,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [8, 4, 1, 8, 10, 1, 8, 6, 2, 1, 5, 3, 7, 4, 0, 6, 10, 8, 1, 5, 14, 5, 1, 7, 6, 1, 7, 10],
"ct": [6, 7, 3, 8, 2, 2, 4, 11, 9, 9, 9, 7, 10, 1, 9, 10, 12, 11, 2, 7, 7, 15, 3, 7, 4, 6, 2, 3],
"result": "valid"
},
{
"tcId": 2351,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [8, 2, 14, 15, 4, 8, 10, 4, 1, 15, 11, 12, 14, 14, 6, 2, 1, 6, 10, 5, 3, 10, 1, 6, 3, 15, 1, 15],
"ct": [10, 15, 4, 4, 7, 6, 10, 12, 10, 8, 6, 14, 10, 10, 9, 10, 7, 8, 8, 2, 2, 3, 15, 13, 10, 8, 14, 13],
"result": "valid"
},
{
"tcId": 2352,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [12, 15, 13, 7, 10, 2, 12, 10, 15, 10, 2, 14, 6, 4, 14, 14, 15, 15, 15, 11, 0, 4, 13, 6, 8, 8, 12, 14],
"ct": [9, 14, 1, 13, 11, 7, 0, 10, 8, 5, 12, 3, 12, 6, 12, 13, 12, 6, 10, 14, 9, 13, 2, 3, 6, 11, 11, 1],
"result": "valid"
},
{
"tcId": 2353,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [4, 3, 10, 9, 13, 9, 11, 0, 11, 0, 9, 11, 11, 11, 13, 6, 9, 10, 12, 0, 7, 4, 14, 10, 0, 4, 15, 1],
"ct": [4, 14, 10, 0, 3, 11, 1, 2, 6, 12, 2, 8, 15, 5, 7, 6, 1, 9, 14, 9, 4, 9, 10, 5, 11, 15, 15, 4],
"result": "valid"
},
{
"tcId": 2354,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [7, 2, 10, 6, 3, 9, 0, 5, 12, 7, 1, 8, 5, 14, 9, 12, 0, 1, 5, 12, 10, 6, 12, 0, 9, 6, 2, 13],
"ct": [15, 14, 10, 6, 7, 5, 14, 0, 14, 12, 5, 5, 7, 5, 8, 15, 11, 2, 7, 0, 13, 0, 0, 4, 13, 15, 8, 7],
"result": "valid"
},
{
"tcId": 2355,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [3, 15, 1, 15, 12, 12, 2, 9, 4, 0, 9, 10, 12, 2, 1, 13, 6, 11, 11, 10, 6, 0, 0, 5, 3, 6, 0, 6],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2356,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [5, 12, 7, 3, 12, 14, 9, 14, 5, 2, 10, 15, 1, 3, 7, 4, 11, 13, 3, 12, 15, 7, 14, 1, 6, 12, 1, 2],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2357,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [9, 15, 11, 15, 3, 6, 8, 4, 8, 1, 14, 13, 3, 9, 12, 11, 4, 14, 2, 9, 11, 13, 5, 14, 0, 5, 7, 9],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2358,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1",
"tweak": "bb3d1e655437fa31",
"msg": [8, 10, 5, 4, 4, 5, 3, 3, 10, 12, 2, 7, 4, 13, 5, 12, 2, 5, 11, 1, 1, 5, 2, 9, 12, 10, 12, 9],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2359,
"comment": "y = 0 and (y + a) % radix**14 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "fe073aefddd234df",
"msg": [14, 7, 0, 13, 12, 3, 13, 15, 9, 12, 9, 2, 13, 5, 9, 1, 9, 15, 3, 1, 11, 11, 3, 0, 13, 15, 0, 9],
"ct": [1, 10, 1, 2, 9, 4, 8, 10, 14, 11, 7, 12, 10, 14, 5, 9, 12, 11, 11, 15, 13, 9, 11, 11, 7, 7, 14, 3],
"result": "valid"
},
{
"tcId": 2360,
"comment": "y = 0 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "fe073aefddd234df",
"msg": [7, 11, 11, 0, 15, 11, 10, 1, 4, 14, 8, 9, 13, 4, 12, 14, 14, 5, 8, 11, 2, 11, 5, 12, 12, 4, 6, 7],
"ct": [14, 14, 9, 13, 3, 15, 10, 8, 8, 7, 7, 5, 15, 0, 13, 13, 7, 12, 0, 13, 0, 2, 1, 0, 10, 5, 5, 14],
"result": "valid"
},
{
"tcId": 2361,
"comment": "y = 0 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "fe073aefddd234df",
"msg": [3, 8, 2, 6, 14, 10, 11, 11, 8, 7, 8, 5, 8, 4, 7, 8, 1, 8, 3, 1, 9, 15, 9, 3, 13, 2, 15, 11],
"ct": [0, 0, 13, 5, 3, 10, 1, 1, 6, 15, 14, 1, 10, 9, 11, 10, 1, 1, 2, 15, 3, 8, 14, 15, 6, 3, 11, 14],
"result": "valid"
},
{
"tcId": 2362,
"comment": "y = 0 and (y + a) % radix**14 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "fe073aefddd234df",
"msg": [14, 4, 8, 0, 6, 11, 8, 13, 2, 8, 11, 7, 12, 13, 14, 14, 8, 9, 6, 10, 5, 9, 6, 11, 9, 2, 6, 14],
"ct": [10, 6, 2, 15, 1, 6, 4, 15, 13, 12, 1, 4, 0, 6, 1, 12, 9, 1, 2, 10, 10, 9, 14, 11, 6, 0, 4, 15],
"result": "valid"
},
{
"tcId": 2363,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "2ee2889db91f137d",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 15, 12, 6, 5, 12, 8, 0, 13, 2, 9, 14, 9, 6],
"ct": [4, 10, 6, 3, 2, 15, 6, 1, 1, 14, 11, 6, 14, 1, 11, 0, 6, 1, 9, 3, 7, 11, 7, 7, 3, 0, 3, 13],
"result": "valid"
},
{
"tcId": 2364,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "2ee2889db91f137d",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 12, 15, 12, 6, 5, 12, 8, 0, 13, 2, 9, 14, 9, 6],
"ct": [4, 6, 14, 4, 9, 5, 15, 4, 2, 9, 10, 5, 11, 1, 14, 12, 7, 11, 6, 12, 12, 0, 7, 6, 13, 11, 6, 14],
"result": "valid"
},
{
"tcId": 2365,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "2ee2889db91f137d",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 15, 12, 6, 5, 12, 8, 0, 13, 2, 9, 14, 9, 6],
"ct": [0, 15, 11, 15, 11, 15, 10, 0, 12, 0, 12, 2, 3, 1, 13, 9, 9, 2, 2, 7, 13, 12, 12, 8, 0, 7, 14, 6],
"result": "valid"
},
{
"tcId": 2366,
"comment": "y = 1 and (y + a) % radix**14 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "2ee2889db91f137d",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 12, 15, 12, 6, 5, 12, 8, 0, 13, 2, 9, 14, 9, 6],
"ct": [2, 14, 13, 10, 14, 9, 4, 13, 8, 3, 0, 1, 10, 0, 3, 12, 14, 1, 14, 2, 4, 15, 8, 3, 12, 1, 0, 1],
"result": "valid"
},
{
"tcId": 2367,
"comment": "y = 1 and (y + a) % radix**14 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "2ee2889db91f137d",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 12, 15, 12, 6, 5, 12, 8, 0, 13, 2, 9, 14, 9, 6],
"ct": [15, 14, 0, 8, 4, 0, 10, 13, 6, 12, 7, 8, 2, 5, 0, 10, 10, 11, 3, 9, 12, 13, 12, 13, 12, 7, 11, 4],
"result": "valid"
},
{
"tcId": 2368,
"comment": "y is maximal and (y + a) % radix**14 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "549ddf54f1dd9d9c",
"msg": [13, 2, 2, 12, 9, 4, 13, 13, 1, 10, 4, 6, 8, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 3, 12, 3, 12, 4, 8, 4, 2, 15, 8, 5, 12, 4, 14, 7, 1, 6, 2, 12, 12, 10, 15, 11, 0, 7, 10, 1],
"result": "valid"
},
{
"tcId": 2369,
"comment": "y is maximal and (y + a) % radix**14 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "549ddf54f1dd9d9c",
"msg": [14, 11, 7, 12, 14, 15, 4, 6, 6, 15, 2, 15, 10, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [12, 7, 15, 11, 6, 4, 3, 11, 7, 12, 4, 4, 1, 2, 14, 3, 15, 12, 9, 12, 11, 12, 2, 5, 3, 8, 7, 2],
"result": "valid"
},
{
"tcId": 2370,
"comment": "y is maximal and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "549ddf54f1dd9d9c",
"msg": [6, 5, 15, 0, 0, 15, 10, 8, 15, 12, 9, 3, 12, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [0, 9, 1, 15, 13, 1, 0, 11, 12, 15, 2, 13, 1, 7, 13, 0, 12, 4, 4, 15, 10, 14, 13, 1, 0, 13, 11, 12],
"result": "valid"
},
{
"tcId": 2371,
"comment": "y is maximal and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "549ddf54f1dd9d9c",
"msg": [14, 5, 11, 15, 5, 12, 3, 9, 4, 1, 10, 0, 3, 2, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [4, 2, 10, 12, 5, 2, 1, 5, 5, 14, 11, 3, 7, 0, 4, 7, 5, 10, 7, 14, 9, 11, 4, 9, 6, 0, 14, 5],
"result": "valid"
},
{
"tcId": 2372,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "2a7eff5771ae2277",
"msg": [1, 14, 9, 3, 0, 9, 14, 5, 9, 2, 14, 9, 3, 9, 2, 1, 13, 7, 5, 12, 0, 15, 10, 3, 13, 15, 13, 10],
"ct": [7, 2, 1, 7, 4, 1, 0, 4, 3, 3, 9, 4, 1, 11, 0, 1, 12, 9, 3, 10, 15, 6, 4, 12, 2, 15, 10, 14],
"result": "valid"
},
{
"tcId": 2373,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "2a7eff5771ae2277",
"msg": [12, 15, 13, 11, 2, 10, 12, 8, 6, 8, 4, 14, 5, 7, 1, 10, 10, 9, 13, 13, 1, 2, 7, 1, 12, 2, 4, 0],
"ct": [12, 8, 8, 13, 5, 10, 15, 5, 6, 4, 11, 9, 6, 4, 10, 6, 12, 15, 10, 15, 8, 13, 6, 0, 4, 5, 14, 7],
"result": "valid"
},
{
"tcId": 2374,
"comment": "y is edge case for modular reduction and (y + a) % radix**14 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "2a7eff5771ae2277",
"msg": [14, 9, 8, 4, 9, 15, 5, 12, 2, 10, 15, 0, 8, 7, 8, 0, 3, 9, 15, 8, 15, 8, 2, 11, 0, 6, 4, 1],
"ct": [10, 14, 9, 0, 3, 14, 9, 12, 5, 7, 1, 1, 14, 14, 1, 10, 11, 4, 10, 12, 15, 5, 11, 2, 0, 14, 13, 4],
"result": "valid"
},
{
"tcId": 2375,
"comment": "y is edge case for modular reduction and (y + a) % radix**14 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "2a7eff5771ae2277",
"msg": [3, 3, 12, 3, 13, 9, 4, 15, 15, 7, 12, 9, 0, 3, 15, 8, 10, 8, 4, 2, 4, 12, 4, 12, 8, 10, 14, 8],
"ct": [1, 3, 3, 15, 13, 6, 0, 8, 11, 15, 7, 1, 11, 13, 12, 10, 14, 13, 14, 13, 11, 0, 11, 12, 2, 0, 14, 11],
"result": "valid"
},
{
"tcId": 2376,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "2a7eff5771ae2277",
"msg": [8, 6, 12, 12, 9, 7, 3, 11, 12, 5, 14, 5, 3, 3, 11, 13, 4, 0, 12, 15, 1, 0, 5, 0, 7, 11, 12, 14],
"ct": [2, 0, 12, 4, 6, 10, 3, 14, 4, 15, 7, 15, 0, 3, 5, 2, 4, 1, 5, 0, 4, 7, 0, 14, 13, 2, 4, 15],
"result": "valid"
},
{
"tcId": 2377,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "2a7eff5771ae2277",
"msg": [0, 2, 6, 14, 12, 3, 6, 6, 14, 4, 11, 7, 12, 4, 11, 5, 3, 2, 6, 0, 15, 1, 7, 4, 10, 9, 6, 13],
"ct": [10, 0, 11, 4, 11, 4, 14, 10, 8, 2, 3, 12, 9, 4, 8, 12, 8, 15, 2, 3, 15, 2, 9, 5, 11, 3, 12, 0],
"result": "valid"
},
{
"tcId": 2378,
"comment": "y is maximal after modular reduction and (y + a) % radix**14 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "a2acddb07780c8e3",
"msg": [13, 6, 3, 3, 0, 3, 10, 3, 7, 2, 1, 7, 4, 15, 0, 4, 15, 0, 11, 12, 14, 0, 15, 7, 7, 14, 5, 14],
"ct": [3, 7, 9, 8, 9, 2, 13, 14, 5, 0, 5, 0, 4, 0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2379,
"comment": "y is maximal after modular reduction and (y + a) % radix**14 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "a2acddb07780c8e3",
"msg": [0, 15, 4, 1, 3, 11, 8, 15, 3, 8, 14, 13, 11, 4, 6, 12, 12, 5, 2, 4, 5, 13, 11, 3, 1, 12, 8, 15],
"ct": [3, 7, 9, 8, 9, 2, 13, 14, 5, 0, 5, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2380,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "a2acddb07780c8e3",
"msg": [13, 1, 14, 15, 3, 13, 13, 8, 0, 1, 4, 8, 10, 4, 11, 15, 9, 11, 3, 6, 2, 6, 9, 9, 9, 3, 0, 12],
"ct": [3, 7, 9, 8, 9, 2, 13, 14, 5, 0, 5, 0, 4, 0, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2381,
"comment": "y is maximal after modular reduction and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c",
"tweak": "a2acddb07780c8e3",
"msg": [0, 5, 3, 1, 7, 9, 11, 1, 12, 1, 5, 9, 2, 7, 12, 2, 0, 8, 14, 3, 10, 5, 15, 9, 12, 15, 3, 13],
"ct": [3, 7, 9, 8, 9, 2, 13, 14, 5, 0, 5, 0, 4, 0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14],
"result": "valid"
},
{
"tcId": 2382,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "74b580380baf910a47e59cf522380458a6427c18f0d56137",
"tweak": "503c5871f02ddf75",
"msg": [-1, 14, 13, 9, 1, 7, 2, 0, 5, 10, 3, 13, 5, 12, 0, 4, 8, 9, 9, 1, 11, 14, 7, 13, 12, 7, 15, 9],
"ct": [5, 7, 0, 14, 14, 7, 10, 7, 15, 11, 4, 5, 7, 11, 0, 3, 14, 2, 11, 12, 15, 7, 2, 11, 6, 5, 8, 14],
"result": "invalid"
},
{
"tcId": 2383,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "74b580380baf910a47e59cf522380458a6427c18f0d56137",
"tweak": "503c5871f02ddf75",
"msg": [5, 14, 13, 9, 1, 7, 2, 0, 5, -1, 3, 13, 5, 12, 0, 4, 8, 9, 9, 1, 11, 14, 7, 13, 12, 7, 15, 9],
"ct": [6, 12, 14, 7, 1, 5, 4, 0, 4, 8, 4, 1, 7, 11, 4, 8, 12, 8, 10, 13, 8, 12, 6, 7, 7, 6, 15, 0],
"result": "invalid"
},
{
"tcId": 2384,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "74b580380baf910a47e59cf522380458a6427c18f0d56137",
"tweak": "503c5871f02ddf75",
"msg": [5, 14, 13, 9, 1, 7, 2, 0, 5, 10, 3, 13, 5, 12, 0, 4, 8, 9, 9, 1, 11, 14, 7, 13, 12, 7, 15, -1],
"ct": [6, 8, 10, 1, 13, 8, 4, 15, 3, 4, 7, 13, 13, 12, 1, 6, 3, 0, 3, 2, 10, 12, 12, 1, 0, 9, 10, 9],
"result": "invalid"
},
{
"tcId": 2385,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "47afa947e87484a837ab61112a83a5b6808fa2e0919f65dd",
"tweak": "559d86926ed02603",
"msg": [16, 8, 6, 4, 10, 11, 14, 0, 8, 15, 11, 10, 2, 9, 4, 14, 10, 5, 6, 15, 12, 11, 13, 6, 13, 13, 5, 2],
"ct": [10, 11, 14, 9, 5, 8, 9, 3, 11, 0, 11, 8, 12, 13, 2, 8, 9, 8, 13, 12, 1, 1, 14, 10, 3, 10, 15, 7],
"result": "invalid"
},
{
"tcId": 2386,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "47afa947e87484a837ab61112a83a5b6808fa2e0919f65dd",
"tweak": "559d86926ed02603",
"msg": [14, 8, 6, 4, 10, 11, 14, 0, 8, 16, 11, 10, 2, 9, 4, 14, 10, 5, 6, 15, 12, 11, 13, 6, 13, 13, 5, 2],
"ct": [8, 15, 0, 0, 12, 9, 1, 0, 6, 11, 2, 13, 10, 9, 14, 6, 8, 9, 10, 6, 3, 11, 14, 8, 5, 6, 3, 0],
"result": "invalid"
},
{
"tcId": 2387,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "47afa947e87484a837ab61112a83a5b6808fa2e0919f65dd",
"tweak": "559d86926ed02603",
"msg": [14, 8, 6, 4, 10, 11, 14, 0, 8, 15, 11, 10, 2, 9, 4, 14, 10, 5, 6, 15, 12, 11, 13, 6, 13, 13, 5, 16],
"ct": [4, 7, 3, 8, 5, 11, 3, 2, 7, 8, 7, 14, 6, 11, 3, 5, 7, 14, 2, 5, 11, 6, 14, 14, 12, 2, 2, 14],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 29,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2388,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "4e08042735575708e4a9a0df5ae920c4fd181e38e731eb2e",
"tweak": "36502a1e0aeca248",
"msg": [7, 15, 5, 12, 12, 6, 4, 6, 7, 1, 5, 2, 3, 1, 6, 15, 0, 7, 5, 11, 8, 10, 9, 7, 3, 10, 4, 11, 0],
"ct": [9, 1, 3, 14, 13, 2, 7, 6, 4, 6, 10, 9, 10, 9, 6, 2, 1, 10, 9, 0, 13, 13, 0, 1, 3, 8, 6, 11, 1],
"result": "valid"
},
{
"tcId": 2389,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 4, 4, 10, 5, 1, 4, 3, 0, 4, 0, 5, 0, 11, 1, 0, 6, 9, 5, 10, 5, 2, 14, 13, 15, 7, 5, 1, 6],
"result": "valid"
},
{
"tcId": 2390,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [0, 6, 13, 13, 3, 13, 6, 6, 6, 0, 10, 1, 10, 0, 10, 7, 3, 13, 11, 11, 4, 7, 8, 9, 12, 4, 2, 11, 5],
"result": "valid"
},
{
"tcId": 2391,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 7, 14, 8, 11, 11, 1, 15, 0, 9, 13, 4, 8, 5, 15, 10, 11, 10, 9, 4, 10, 4, 15, 12, 11, 6, 5, 13, 6],
"result": "valid"
},
{
"tcId": 2392,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [2, 8, 6, 5, 9, 14, 12, 3, 10, 12, 5, 6, 13, 5, 12, 10, 15, 10, 2, 11, 0, 4, 11, 2, 7, 14, 10, 12, 3],
"result": "valid"
},
{
"tcId": 2393,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [13, 15, 3, 6, 14, 15, 7, 12, 13, 15, 15, 4, 0, 11, 1, 3, 6, 2, 15, 2, 8, 7, 4, 6, 10, 7, 1, 12, 12],
"ct": [10, 15, 2, 1, 4, 4, 1, 5, 12, 5, 5, 3, 2, 15, 7, 3, 15, 2, 8, 8, 1, 0, 7, 8, 9, 2, 2, 7, 0],
"result": "valid"
},
{
"tcId": 2394,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [15, 5, 10, 2, 5, 8, 6, 11, 1, 10, 3, 3, 15, 2, 11, 10, 0, 5, 7, 0, 15, 15, 3, 2, 6, 12, 5, 2, 12],
"ct": [10, 11, 3, 3, 6, 11, 14, 5, 2, 10, 11, 15, 15, 15, 11, 7, 13, 12, 14, 9, 11, 2, 1, 11, 5, 4, 9, 8, 15],
"result": "valid"
},
{
"tcId": 2395,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [7, 0, 15, 3, 6, 13, 6, 7, 0, 5, 15, 15, 8, 2, 13, 1, 12, 1, 14, 14, 8, 12, 12, 6, 13, 2, 4, 4, 3],
"ct": [10, 12, 4, 5, 12, 15, 7, 4, 6, 11, 1, 14, 7, 11, 2, 2, 6, 5, 7, 8, 12, 4, 11, 11, 8, 12, 13, 5, 2],
"result": "valid"
},
{
"tcId": 2396,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [6, 1, 5, 8, 8, 4, 11, 7, 7, 11, 2, 12, 3, 1, 2, 2, 15, 6, 12, 10, 1, 4, 7, 1, 2, 5, 9, 4, 9],
"ct": [2, 6, 1, 14, 6, 4, 5, 11, 9, 1, 4, 5, 2, 12, 13, 0, 13, 9, 3, 12, 15, 6, 15, 9, 1, 8, 3, 3, 10],
"result": "valid"
},
{
"tcId": 2397,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [13, 3, 1, 9, 5, 1, 13, 13, 14, 6, 0, 14, 10, 8, 8, 8, 9, 11, 5, 13, 6, 6, 13, 14, 7, 3, 8, 12, 7],
"ct": [2, 8, 9, 12, 9, 6, 0, 7, 15, 1, 11, 9, 5, 14, 9, 13, 10, 15, 15, 11, 4, 6, 4, 4, 0, 9, 15, 12, 13],
"result": "valid"
},
{
"tcId": 2398,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [11, 15, 12, 5, 2, 6, 12, 11, 5, 4, 4, 12, 10, 6, 1, 12, 1, 9, 2, 13, 6, 4, 15, 12, 1, 6, 13, 10, 6],
"ct": [11, 8, 3, 12, 1, 14, 14, 10, 13, 8, 6, 8, 6, 0, 12, 2, 0, 9, 4, 3, 3, 14, 7, 12, 7, 14, 6, 10, 13],
"result": "valid"
},
{
"tcId": 2399,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [15, 15, 15, 2, 14, 1, 14, 13, 0, 0, 4, 12, 7, 14, 7, 14, 15, 12, 9, 0, 10, 10, 13, 3, 3, 9, 8, 15, 8],
"ct": [10, 1, 7, 6, 11, 11, 8, 14, 3, 9, 6, 2, 6, 4, 7, 1, 8, 1, 9, 10, 4, 13, 13, 4, 2, 8, 11, 3, 12],
"result": "valid"
},
{
"tcId": 2400,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [5, 15, 4, 3, 8, 12, 2, 4, 4, 9, 13, 8, 1, 15, 2, 14, 13, 9, 7, 15, 15, 12, 2, 15, 1, 13, 14, 13, 8],
"ct": [15, 6, 6, 5, 11, 5, 8, 11, 2, 7, 0, 8, 13, 0, 7, 2, 10, 15, 4, 13, 15, 2, 8, 3, 3, 4, 4, 0, 8],
"result": "valid"
},
{
"tcId": 2401,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [9, 15, 9, 2, 11, 11, 1, 5, 14, 3, 8, 10, 4, 12, 11, 10, 10, 8, 0, 14, 4, 0, 8, 1, 8, 1, 2, 10, 0],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2402,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [14, 12, 12, 7, 15, 1, 9, 2, 0, 10, 8, 12, 7, 11, 2, 2, 2, 9, 10, 13, 0, 3, 10, 4, 12, 11, 10, 0, 6],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2403,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [14, 6, 8, 2, 3, 9, 7, 3, 7, 8, 6, 9, 3, 11, 8, 12, 15, 12, 13, 13, 14, 6, 11, 11, 6, 10, 4, 2, 13],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2404,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091",
"tweak": "9d1c32834c129f57",
"msg": [15, 10, 15, 7, 14, 15, 15, 9, 6, 10, 13, 4, 8, 2, 15, 2, 6, 0, 0, 10, 0, 4, 13, 2, 1, 4, 13, 7, 9],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2405,
"comment": "y = 0 and (y + a) % radix**14 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "bfc7e0054fca96",
"msg": [6, 14, 9, 11, 8, 13, 0, 4, 13, 8, 12, 13, 3, 15, 9, 5, 4, 15, 4, 13, 1, 4, 8, 11, 3, 6, 15, 10, 8],
"ct": [14, 13, 12, 8, 1, 9, 4, 7, 7, 11, 9, 2, 7, 4, 13, 12, 10, 7, 11, 1, 15, 0, 5, 13, 0, 5, 4, 2, 0],
"result": "valid"
},
{
"tcId": 2406,
"comment": "y = 0 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "bfc7e0054fca96",
"msg": [6, 7, 4, 6, 15, 15, 4, 9, 1, 2, 6, 5, 14, 8, 10, 14, 0, 10, 10, 15, 11, 14, 15, 5, 10, 14, 7, 10, 3],
"ct": [15, 1, 6, 4, 0, 11, 11, 8, 15, 9, 4, 3, 1, 7, 11, 2, 13, 7, 0, 7, 15, 8, 15, 4, 4, 4, 11, 2, 14],
"result": "valid"
},
{
"tcId": 2407,
"comment": "y = 0 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "bfc7e0054fca96",
"msg": [7, 10, 4, 1, 12, 5, 8, 10, 10, 1, 4, 12, 0, 9, 0, 8, 0, 14, 15, 10, 10, 13, 15, 2, 11, 7, 4, 10, 13],
"ct": [4, 11, 14, 15, 12, 4, 5, 15, 5, 13, 10, 1, 6, 12, 2, 3, 1, 15, 15, 6, 2, 2, 12, 5, 5, 7, 0, 7, 7],
"result": "valid"
},
{
"tcId": 2408,
"comment": "y = 0 and (y + a) % radix**14 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "bfc7e0054fca96",
"msg": [9, 14, 13, 0, 5, 7, 6, 3, 2, 4, 13, 6, 5, 8, 8, 14, 14, 3, 2, 10, 6, 15, 14, 1, 4, 5, 4, 3, 6],
"ct": [1, 10, 6, 11, 15, 12, 5, 1, 0, 8, 2, 8, 12, 1, 14, 15, 10, 11, 0, 15, 8, 10, 6, 6, 6, 13, 2, 15, 11],
"result": "valid"
},
{
"tcId": 2409,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "f8e9a5f2c4558d",
"msg": [12, 11, 12, 1, 14, 3, 3, 6, 1, 0, 15, 11, 6, 13, 12, 4, 0, 15, 4, 2, 15, 9, 7, 2, 8, 2, 0, 7, 8],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 9, 2, 1, 13, 13, 15, 4, 15, 9, 7, 2, 3, 1, 4],
"result": "valid"
},
{
"tcId": 2410,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "f8e9a5f2c4558d",
"msg": [10, 7, 5, 1, 8, 12, 1, 15, 0, 9, 4, 14, 11, 2, 11, 7, 11, 1, 7, 12, 0, 12, 9, 4, 13, 2, 6, 4, 4],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 11, 7, 5, 4, 12, 5, 13, 12, 0, 4, 9, 11, 2, 15, 10],
"result": "valid"
},
{
"tcId": 2411,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "f8e9a5f2c4558d",
"msg": [12, 12, 10, 2, 2, 8, 12, 0, 11, 9, 5, 14, 15, 9, 3, 12, 2, 6, 5, 0, 8, 2, 13, 2, 9, 7, 5, 4, 3],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 15, 14, 2, 9, 8, 2, 4, 11, 12, 10, 11, 1, 6, 13, 6],
"result": "valid"
},
{
"tcId": 2412,
"comment": "y = 1 and (y + a) % radix**14 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "f8e9a5f2c4558d",
"msg": [11, 2, 4, 9, 1, 0, 12, 7, 1, 3, 14, 13, 11, 4, 1, 8, 6, 14, 3, 14, 0, 9, 4, 3, 7, 4, 10, 12, 3],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 10, 0, 0, 9, 1, 1, 2, 2, 4, 12, 15, 2, 3, 10],
"result": "valid"
},
{
"tcId": 2413,
"comment": "y = 1 and (y + a) % radix**14 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "f8e9a5f2c4558d",
"msg": [7, 5, 15, 3, 8, 7, 0, 14, 12, 2, 13, 7, 9, 6, 13, 13, 4, 8, 0, 10, 7, 12, 15, 6, 3, 15, 7, 13, 6],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 11, 3, 3, 7, 13, 12, 9, 2, 14, 6, 7, 3, 11, 8],
"result": "valid"
},
{
"tcId": 2414,
"comment": "y is maximal and (y + a) % radix**14 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "d1692e24c1d410",
"msg": [6, 12, 1, 6, 2, 13, 5, 7, 10, 0, 0, 13, 15, 11, 5, 3, 8, 3, 9, 12, 13, 4, 14, 8, 8, 12, 4, 12, 12],
"ct": [9, 4, 4, 5, 11, 3, 3, 7, 10, 1, 8, 11, 9, 9, 7, 3, 12, 0, 9, 9, 10, 12, 5, 10, 6, 10, 13, 0, 4],
"result": "valid"
},
{
"tcId": 2415,
"comment": "y is maximal and (y + a) % radix**14 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "d1692e24c1d410",
"msg": [3, 6, 3, 14, 10, 3, 13, 5, 13, 6, 7, 10, 14, 4, 6, 11, 13, 12, 7, 12, 10, 0, 8, 0, 6, 12, 3, 1, 6],
"ct": [14, 3, 9, 9, 1, 13, 10, 15, 5, 7, 9, 6, 14, 6, 1, 15, 3, 15, 7, 13, 6, 1, 5, 4, 12, 2, 9, 13, 2],
"result": "valid"
},
{
"tcId": 2416,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "d1692e24c1d410",
"msg": [4, 1, 7, 8, 12, 0, 4, 6, 10, 0, 14, 15, 4, 6, 14, 7, 5, 10, 15, 5, 0, 8, 12, 13, 14, 1, 12, 6, 4],
"ct": [7, 15, 14, 6, 11, 15, 12, 5, 1, 0, 11, 8, 14, 8, 10, 3, 8, 13, 6, 5, 12, 0, 12, 14, 9, 8, 15, 12, 12],
"result": "valid"
},
{
"tcId": 2417,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "d1692e24c1d410",
"msg": [11, 15, 7, 12, 1, 10, 7, 11, 5, 13, 15, 4, 5, 10, 0, 4, 11, 0, 7, 6, 12, 9, 13, 7, 0, 11, 14, 11, 13],
"ct": [10, 8, 0, 15, 6, 7, 14, 8, 9, 12, 2, 15, 7, 5, 7, 7, 14, 6, 4, 0, 6, 6, 2, 1, 10, 2, 8, 6, 2],
"result": "valid"
},
{
"tcId": 2418,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "eb9abbc966006f",
"msg": [15, 11, 7, 13, 10, 15, 5, 7, 11, 9, 15, 11, 14, 4, 4, 8, 5, 1, 15, 7, 12, 11, 4, 7, 1, 5, 0, 7, 6],
"ct": [0, 12, 15, 15, 2, 2, 10, 11, 3, 11, 14, 15, 15, 15, 0, 13, 1, 6, 12, 3, 4, 12, 0, 15, 4, 4, 5, 1, 6],
"result": "valid"
},
{
"tcId": 2419,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "eb9abbc966006f",
"msg": [14, 15, 15, 9, 0, 13, 9, 2, 13, 8, 6, 15, 6, 5, 3, 8, 5, 7, 9, 1, 4, 9, 12, 5, 2, 4, 5, 3, 5],
"ct": [14, 1, 12, 15, 0, 5, 6, 14, 10, 4, 2, 5, 12, 8, 5, 14, 13, 5, 1, 13, 2, 3, 15, 2, 8, 15, 8, 3, 5],
"result": "valid"
},
{
"tcId": 2420,
"comment": "y is edge case for modular reduction and (y + a) % radix**14 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "eb9abbc966006f",
"msg": [2, 15, 10, 11, 6, 0, 13, 12, 14, 11, 13, 2, 8, 10, 4, 2, 2, 1, 13, 0, 14, 4, 15, 5, 12, 8, 1, 7, 4],
"ct": [9, 3, 15, 7, 12, 13, 7, 5, 14, 7, 1, 14, 3, 13, 0, 3, 15, 4, 5, 11, 15, 7, 14, 2, 0, 10, 8, 2, 7],
"result": "valid"
},
{
"tcId": 2421,
"comment": "y is edge case for modular reduction and (y + a) % radix**14 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "eb9abbc966006f",
"msg": [11, 12, 4, 0, 7, 10, 12, 3, 8, 1, 5, 1, 8, 0, 7, 5, 15, 7, 15, 15, 14, 3, 1, 12, 0, 5, 13, 13, 14],
"ct": [0, 1, 6, 12, 1, 12, 6, 1, 12, 0, 10, 6, 2, 13, 5, 7, 3, 12, 5, 9, 4, 9, 3, 14, 15, 11, 9, 9, 11],
"result": "valid"
},
{
"tcId": 2422,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "eb9abbc966006f",
"msg": [11, 9, 2, 13, 3, 10, 7, 8, 15, 1, 5, 11, 2, 5, 14, 11, 2, 0, 10, 7, 4, 1, 4, 0, 1, 15, 7, 11, 0],
"ct": [12, 9, 12, 13, 2, 14, 13, 11, 14, 0, 5, 1, 1, 6, 3, 2, 4, 0, 3, 1, 14, 6, 0, 10, 8, 1, 15, 4, 14],
"result": "valid"
},
{
"tcId": 2423,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "eb9abbc966006f",
"msg": [8, 6, 2, 0, 9, 11, 3, 11, 9, 9, 13, 8, 12, 14, 12, 7, 6, 12, 4, 1, 7, 10, 15, 14, 3, 13, 13, 14, 9],
"ct": [13, 7, 5, 3, 0, 5, 2, 12, 13, 14, 2, 12, 8, 2, 4, 2, 6, 11, 7, 5, 1, 5, 15, 14, 2, 9, 5, 0, 13],
"result": "valid"
},
{
"tcId": 2424,
"comment": "y is maximal after modular reduction and (y + a) % radix**14 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "a7b9244d9ab64c",
"msg": [5, 11, 12, 8, 2, 7, 0, 15, 4, 6, 4, 9, 3, 1, 1, 14, 4, 8, 3, 1, 1, 14, 13, 14, 1, 11, 5, 9, 9],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 5, 11, 15, 2, 8, 9, 3, 15, 15, 3, 7, 14, 6, 11, 13],
"result": "valid"
},
{
"tcId": 2425,
"comment": "y is maximal after modular reduction and (y + a) % radix**14 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "a7b9244d9ab64c",
"msg": [8, 14, 12, 8, 15, 9, 2, 13, 11, 8, 11, 14, 4, 13, 11, 1, 10, 7, 6, 6, 11, 3, 15, 11, 6, 1, 9, 8, 3],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 9, 6, 10, 13, 14, 9, 0, 11, 13, 11, 5, 14, 4, 13],
"result": "valid"
},
{
"tcId": 2426,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "a7b9244d9ab64c",
"msg": [0, 11, 6, 11, 15, 8, 12, 10, 14, 15, 14, 6, 5, 11, 13, 12, 5, 12, 14, 3, 15, 5, 13, 4, 0, 5, 3, 9, 8],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 9, 2, 9, 10, 6, 1, 5, 11, 13, 0, 10, 13, 1, 12],
"result": "valid"
},
{
"tcId": 2427,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e",
"tweak": "a7b9244d9ab64c",
"msg": [3, 1, 8, 9, 10, 14, 5, 11, 2, 8, 2, 7, 2, 12, 8, 14, 9, 5, 13, 14, 3, 15, 3, 6, 1, 11, 13, 0, 11],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 0, 15, 13, 3, 5, 2, 2, 5, 2, 0, 10, 5, 11, 10, 12],
"result": "valid"
},
{
"tcId": 2428,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7bf1a173ad0aeff1b614594735175778a1819d4e06c111b3",
"tweak": "e5594ea2536203b4",
"msg": [-1, 0, 15, 2, 6, 6, 15, 2, 5, 0, 2, 12, 1, 1, 0, 9, 7, 14, 12, 8, 1, 8, 10, 9, 0, 4, 5, 12, 10],
"ct": [11, 10, 3, 7, 5, 11, 7, 1, 10, 12, 2, 11, 15, 11, 14, 9, 10, 13, 14, 12, 10, 2, 7, 2, 1, 7, 13, 1, 7],
"result": "invalid"
},
{
"tcId": 2429,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7bf1a173ad0aeff1b614594735175778a1819d4e06c111b3",
"tweak": "e5594ea2536203b4",
"msg": [7, 0, 15, 2, 6, 6, 15, 2, 5, -1, 2, 12, 1, 1, 0, 9, 7, 14, 12, 8, 1, 8, 10, 9, 0, 4, 5, 12, 10],
"ct": [14, 1, 12, 4, 11, 1, 0, 2, 5, 4, 11, 14, 10, 11, 10, 7, 12, 3, 3, 14, 0, 15, 5, 14, 13, 0, 3, 7, 3],
"result": "invalid"
},
{
"tcId": 2430,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7bf1a173ad0aeff1b614594735175778a1819d4e06c111b3",
"tweak": "e5594ea2536203b4",
"msg": [7, 0, 15, 2, 6, 6, 15, 2, 5, 0, 2, 12, 1, 1, 0, 9, 7, 14, 12, 8, 1, 8, 10, 9, 0, 4, 5, 12, -1],
"ct": [15, 15, 3, 3, 5, 7, 13, 13, 1, 12, 9, 2, 5, 6, 6, 2, 8, 7, 14, 1, 6, 13, 0, 15, 4, 1, 2, 4, 12],
"result": "invalid"
},
{
"tcId": 2431,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1e95b6825eef9b701a01cded5ca4bfdc0c4022e480049995",
"tweak": "8b91e9db9917f253",
"msg": [16, 0, 4, 4, 7, 5, 2, 12, 7, 10, 10, 2, 4, 4, 11, 5, 11, 12, 6, 9, 10, 13, 10, 8, 3, 0, 13, 3, 12],
"ct": [5, 11, 1, 8, 6, 11, 7, 8, 14, 12, 6, 7, 4, 6, 13, 2, 10, 15, 7, 3, 1, 7, 15, 0, 0, 10, 5, 4, 8],
"result": "invalid"
},
{
"tcId": 2432,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1e95b6825eef9b701a01cded5ca4bfdc0c4022e480049995",
"tweak": "8b91e9db9917f253",
"msg": [4, 0, 4, 4, 7, 5, 2, 12, 7, 16, 10, 2, 4, 4, 11, 5, 11, 12, 6, 9, 10, 13, 10, 8, 3, 0, 13, 3, 12],
"ct": [7, 14, 0, 12, 11, 11, 8, 1, 15, 1, 9, 14, 11, 10, 2, 14, 11, 9, 12, 7, 5, 15, 2, 2, 9, 12, 15, 7, 13],
"result": "invalid"
},
{
"tcId": 2433,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1e95b6825eef9b701a01cded5ca4bfdc0c4022e480049995",
"tweak": "8b91e9db9917f253",
"msg": [4, 0, 4, 4, 7, 5, 2, 12, 7, 10, 10, 2, 4, 4, 11, 5, 11, 12, 6, 9, 10, 13, 10, 8, 3, 0, 13, 3, 16],
"ct": [9, 10, 11, 6, 11, 1, 2, 5, 0, 0, 0, 12, 1, 5, 2, 12, 2, 13, 12, 0, 5, 7, 10, 9, 4, 11, 4, 5, 11],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 30,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2434,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "5fd8e11413d7659bc1b0be8e8febf6d6342060aa9a91d63d",
"tweak": "f249815599506c40",
"msg": [4, 15, 3, 2, 13, 7, 7, 1, 4, 13, 9, 10, 13, 5, 4, 0, 14, 5, 3, 11, 9, 13, 8, 11, 5, 1, 4, 2, 2, 15],
"ct": [0, 3, 13, 3, 8, 9, 13, 11, 14, 0, 9, 0, 10, 10, 15, 0, 0, 6, 1, 7, 11, 15, 4, 1, 0, 5, 6, 13, 15, 11],
"result": "valid"
},
{
"tcId": 2435,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [9, 6, 11, 8, 8, 9, 6, 10, 10, 13, 15, 3, 11, 12, 3, 4, 12, 9, 0, 9, 5, 13, 6, 1, 2, 15, 6, 6, 11, 2],
"result": "valid"
},
{
"tcId": 2436,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [2, 10, 11, 13, 5, 14, 3, 0, 5, 8, 3, 8, 7, 9, 13, 15, 2, 7, 1, 8, 2, 15, 8, 9, 2, 11, 7, 9, 0, 0],
"result": "valid"
},
{
"tcId": 2437,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 7, 15, 3, 4, 5, 14, 9, 1, 6, 12, 10, 13, 5, 11, 6, 1, 13, 2, 10, 1, 4, 6, 14, 1, 0, 8, 14, 10, 3],
"result": "valid"
},
{
"tcId": 2438,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [5, 15, 8, 5, 4, 15, 15, 11, 5, 15, 10, 6, 4, 9, 1, 6, 13, 12, 5, 3, 0, 11, 5, 5, 0, 15, 6, 14, 5, 8],
"result": "valid"
},
{
"tcId": 2439,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [0, 15, 5, 14, 7, 6, 0, 8, 9, 0, 14, 9, 0, 15, 9, 4, 2, 5, 0, 8, 15, 6, 8, 4, 13, 0, 15, 5, 6, 5],
"ct": [5, 7, 9, 8, 14, 12, 0, 15, 15, 12, 0, 1, 14, 0, 2, 8, 3, 8, 4, 7, 4, 3, 10, 11, 12, 2, 15, 7, 15, 13],
"result": "valid"
},
{
"tcId": 2440,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [12, 14, 13, 9, 6, 4, 2, 5, 8, 0, 14, 12, 13, 3, 7, 11, 14, 12, 3, 7, 10, 15, 2, 9, 1, 8, 4, 9, 4, 9],
"ct": [4, 4, 6, 0, 11, 11, 0, 15, 11, 11, 4, 7, 13, 15, 12, 14, 9, 14, 10, 15, 0, 2, 14, 11, 1, 15, 6, 10, 12, 5],
"result": "valid"
},
{
"tcId": 2441,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [10, 11, 6, 6, 13, 11, 8, 4, 0, 4, 11, 14, 8, 14, 8, 10, 8, 3, 1, 4, 10, 1, 12, 12, 7, 2, 4, 13, 4, 0],
"ct": [8, 5, 5, 12, 1, 1, 15, 1, 7, 0, 12, 0, 0, 1, 11, 11, 5, 6, 15, 6, 12, 13, 11, 15, 7, 8, 4, 12, 12, 6],
"result": "valid"
},
{
"tcId": 2442,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [10, 5, 1, 15, 10, 7, 11, 7, 3, 8, 13, 7, 3, 5, 13, 0, 6, 3, 10, 6, 5, 10, 14, 15, 6, 15, 3, 11, 5, 3],
"ct": [12, 9, 6, 3, 11, 9, 8, 6, 3, 4, 1, 14, 11, 9, 12, 6, 1, 6, 15, 2, 10, 4, 11, 8, 5, 13, 9, 5, 7, 6],
"result": "valid"
},
{
"tcId": 2443,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [8, 15, 1, 13, 12, 5, 0, 1, 10, 8, 1, 13, 4, 10, 0, 14, 13, 0, 4, 0, 4, 2, 2, 9, 0, 14, 3, 6, 10, 14],
"ct": [13, 15, 5, 13, 8, 11, 14, 7, 9, 4, 14, 3, 11, 8, 8, 10, 7, 0, 2, 11, 10, 5, 11, 12, 13, 9, 15, 5, 7, 1],
"result": "valid"
},
{
"tcId": 2444,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [15, 7, 7, 9, 4, 4, 15, 1, 3, 9, 4, 9, 13, 7, 1, 15, 4, 1, 15, 3, 11, 1, 7, 7, 13, 4, 3, 3, 8, 2],
"ct": [6, 12, 0, 12, 13, 13, 12, 7, 13, 4, 13, 1, 10, 11, 14, 3, 13, 9, 11, 2, 14, 9, 10, 8, 11, 15, 14, 12, 4, 3],
"result": "valid"
},
{
"tcId": 2445,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [14, 7, 9, 1, 15, 10, 4, 3, 15, 10, 13, 6, 10, 13, 11, 13, 4, 6, 0, 4, 3, 4, 11, 4, 2, 11, 10, 11, 0, 12],
"ct": [15, 5, 11, 0, 2, 13, 6, 12, 3, 10, 6, 3, 2, 4, 5, 4, 12, 14, 8, 9, 0, 11, 8, 4, 6, 4, 1, 11, 10, 3],
"result": "valid"
},
{
"tcId": 2446,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [10, 7, 8, 15, 1, 6, 6, 4, 6, 10, 11, 14, 15, 14, 4, 12, 4, 0, 2, 5, 10, 6, 12, 2, 7, 0, 6, 9, 7, 0],
"ct": [8, 9, 11, 4, 12, 11, 8, 15, 2, 11, 13, 13, 12, 9, 8, 15, 9, 6, 11, 0, 14, 2, 7, 14, 7, 3, 7, 15, 15, 13],
"result": "valid"
},
{
"tcId": 2447,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [3, 8, 4, 5, 0, 2, 12, 6, 6, 4, 14, 10, 12, 13, 12, 3, 12, 10, 1, 6, 4, 8, 12, 12, 1, 1, 7, 2, 2, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2448,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [6, 12, 0, 0, 8, 3, 10, 3, 15, 3, 7, 10, 2, 15, 10, 5, 4, 2, 3, 13, 13, 9, 13, 15, 15, 0, 4, 4, 6, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2449,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [5, 7, 9, 5, 8, 3, 10, 11, 0, 10, 0, 5, 0, 2, 4, 15, 11, 13, 0, 8, 12, 9, 15, 10, 2, 10, 14, 12, 4, 11],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2450,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da",
"tweak": "a7e9dcbb14888b9c",
"msg": [8, 2, 0, 5, 10, 0, 1, 3, 8, 12, 12, 10, 7, 14, 2, 6, 1, 2, 11, 14, 0, 1, 6, 1, 0, 15, 2, 7, 2, 5],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2451,
"comment": "y = 0 and (y + a) % radix**15 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "48a8a47f3478e7",
"msg": [12, 10, 4, 5, 4, 11, 11, 10, 11, 0, 4, 0, 0, 7, 14, 1, 15, 14, 14, 6, 8, 10, 8, 3, 3, 4, 4, 9, 4, 3],
"ct": [0, 6, 9, 14, 3, 0, 5, 8, 9, 11, 7, 1, 1, 7, 7, 0, 6, 4, 9, 13, 5, 1, 2, 14, 9, 5, 14, 2, 10, 2],
"result": "valid"
},
{
"tcId": 2452,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "48a8a47f3478e7",
"msg": [6, 14, 6, 0, 5, 0, 10, 13, 5, 7, 15, 12, 9, 0, 9, 8, 11, 4, 10, 0, 13, 15, 2, 14, 13, 3, 9, 9, 10, 7],
"ct": [10, 13, 6, 14, 1, 5, 9, 11, 15, 14, 3, 10, 5, 9, 0, 4, 0, 7, 2, 6, 12, 11, 12, 3, 5, 14, 3, 7, 6, 4],
"result": "valid"
},
{
"tcId": 2453,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "48a8a47f3478e7",
"msg": [10, 6, 0, 1, 0, 7, 2, 2, 2, 4, 2, 14, 5, 13, 15, 15, 10, 8, 3, 1, 2, 14, 7, 11, 8, 12, 12, 2, 5, 2],
"ct": [15, 11, 10, 3, 15, 9, 12, 14, 0, 14, 2, 12, 15, 8, 13, 0, 0, 7, 6, 2, 9, 11, 2, 14, 9, 8, 0, 3, 6, 11],
"result": "valid"
},
{
"tcId": 2454,
"comment": "y = 0 and (y + a) % radix**15 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "48a8a47f3478e7",
"msg": [5, 7, 3, 5, 1, 4, 5, 10, 6, 1, 13, 9, 3, 0, 9, 0, 7, 4, 0, 5, 3, 15, 0, 15, 7, 15, 6, 15, 9, 8],
"ct": [9, 8, 6, 2, 12, 11, 4, 11, 15, 3, 7, 10, 4, 1, 4, 5, 0, 10, 13, 12, 3, 14, 12, 3, 9, 6, 9, 8, 4, 4],
"result": "valid"
},
{
"tcId": 2455,
"comment": "y = 1 and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "9ac2b43ecec6dc",
"msg": [14, 0, 14, 14, 0, 7, 6, 13, 3, 3, 15, 2, 12, 13, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [5, 1, 4, 9, 8, 6, 8, 4, 8, 15, 2, 15, 12, 12, 7, 2, 12, 6, 9, 7, 2, 1, 4, 4, 1, 9, 13, 3, 15, 6],
"result": "valid"
},
{
"tcId": 2456,
"comment": "y = 1 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "9ac2b43ecec6dc",
"msg": [15, 13, 11, 3, 15, 2, 3, 13, 0, 8, 13, 3, 14, 1, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [11, 15, 10, 1, 0, 7, 6, 6, 5, 15, 0, 0, 4, 8, 9, 11, 6, 2, 1, 7, 11, 4, 15, 9, 7, 12, 10, 1, 3, 1],
"result": "valid"
},
{
"tcId": 2457,
"comment": "y = 1 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "9ac2b43ecec6dc",
"msg": [11, 4, 2, 5, 4, 0, 13, 13, 14, 1, 0, 13, 12, 6, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 11, 2, 11, 1, 5, 15, 14, 7, 1, 15, 8, 10, 6, 6, 15, 13, 7, 12, 9, 9, 6, 15, 3, 10, 2, 0, 5, 12, 13],
"result": "valid"
},
{
"tcId": 2458,
"comment": "y = 1 and (y + a) % radix**15 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "9ac2b43ecec6dc",
"msg": [2, 7, 6, 14, 7, 6, 4, 6, 3, 5, 4, 10, 11, 15, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14],
"ct": [0, 2, 13, 12, 13, 12, 11, 14, 3, 0, 5, 13, 13, 14, 0, 12, 15, 8, 8, 5, 4, 15, 13, 1, 10, 5, 4, 15, 4, 11],
"result": "valid"
},
{
"tcId": 2459,
"comment": "y = 1 and (y + a) % radix**15 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "9ac2b43ecec6dc",
"msg": [5, 14, 9, 10, 10, 15, 3, 6, 4, 12, 13, 6, 12, 0, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [5, 5, 7, 0, 13, 11, 0, 3, 12, 11, 15, 6, 3, 3, 12, 2, 15, 7, 1, 11, 1, 13, 3, 1, 15, 1, 3, 0, 11, 7],
"result": "valid"
},
{
"tcId": 2460,
"comment": "y is maximal and (y + a) % radix**15 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "541664c75e9fb8",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 6, 6, 15, 8, 2, 2, 9, 11, 15, 1, 8, 8, 2],
"ct": [6, 6, 1, 9, 10, 7, 10, 15, 8, 3, 2, 2, 13, 2, 4, 2, 12, 5, 13, 3, 0, 9, 11, 10, 3, 4, 15, 9, 2, 8],
"result": "valid"
},
{
"tcId": 2461,
"comment": "y is maximal and (y + a) % radix**15 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "541664c75e9fb8",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 6, 7, 6, 6, 15, 8, 2, 2, 9, 11, 15, 1, 8, 8, 2],
"ct": [7, 0, 2, 2, 1, 5, 2, 4, 9, 11, 8, 8, 8, 2, 10, 1, 3, 4, 9, 5, 15, 8, 15, 15, 0, 15, 14, 0, 14, 5],
"result": "valid"
},
{
"tcId": 2462,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "541664c75e9fb8",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 6, 6, 15, 8, 2, 2, 9, 11, 15, 1, 8, 8, 2],
"ct": [6, 7, 9, 14, 8, 8, 1, 11, 0, 6, 12, 8, 10, 13, 15, 3, 0, 3, 13, 6, 1, 9, 0, 2, 2, 0, 1, 0, 0, 14],
"result": "valid"
},
{
"tcId": 2463,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "541664c75e9fb8",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 6, 7, 6, 6, 15, 8, 2, 2, 9, 11, 15, 1, 8, 8, 2],
"ct": [12, 0, 0, 11, 13, 11, 2, 3, 3, 7, 7, 15, 4, 14, 7, 11, 2, 3, 2, 1, 5, 14, 14, 1, 12, 3, 14, 4, 13, 7],
"result": "valid"
},
{
"tcId": 2464,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "e93d53829672ed",
"msg": [13, 15, 5, 11, 0, 2, 11, 0, 0, 8, 6, 1, 0, 13, 7, 7, 8, 14, 2, 4, 10, 10, 8, 6, 9, 9, 3, 6, 14, 8],
"ct": [1, 12, 8, 14, 15, 11, 0, 9, 1, 3, 2, 8, 9, 11, 1, 9, 11, 5, 10, 10, 11, 1, 3, 1, 12, 5, 7, 7, 14, 7],
"result": "valid"
},
{
"tcId": 2465,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "e93d53829672ed",
"msg": [3, 3, 9, 14, 12, 0, 11, 2, 12, 9, 8, 0, 2, 5, 6, 2, 6, 12, 4, 9, 2, 9, 4, 11, 12, 5, 7, 2, 6, 15],
"ct": [14, 12, 1, 5, 15, 9, 7, 0, 3, 6, 10, 4, 9, 15, 5, 6, 5, 7, 3, 4, 5, 13, 15, 9, 7, 6, 10, 5, 8, 3],
"result": "valid"
},
{
"tcId": 2466,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "e93d53829672ed",
"msg": [15, 12, 2, 13, 1, 14, 15, 15, 7, 10, 10, 0, 10, 14, 3, 15, 6, 13, 8, 13, 8, 15, 10, 13, 3, 14, 0, 11, 5, 14],
"ct": [14, 1, 14, 7, 9, 12, 13, 1, 14, 1, 3, 6, 6, 7, 14, 4, 6, 1, 0, 13, 4, 12, 12, 1, 9, 7, 3, 13, 7, 6],
"result": "valid"
},
{
"tcId": 2467,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "e93d53829672ed",
"msg": [12, 6, 7, 3, 4, 6, 15, 5, 11, 7, 13, 8, 3, 9, 9, 15, 12, 8, 1, 6, 12, 6, 2, 13, 12, 15, 3, 15, 11, 8],
"ct": [7, 12, 4, 13, 7, 13, 2, 8, 4, 2, 12, 7, 4, 15, 6, 14, 13, 11, 5, 9, 7, 12, 6, 10, 12, 1, 3, 5, 9, 7],
"result": "valid"
},
{
"tcId": 2468,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "e93d53829672ed",
"msg": [10, 2, 3, 4, 11, 1, 0, 10, 9, 6, 0, 14, 2, 14, 4, 9, 3, 9, 0, 0, 1, 15, 15, 2, 13, 10, 0, 1, 5, 14],
"ct": [4, 7, 11, 1, 5, 3, 12, 11, 12, 13, 8, 11, 3, 4, 4, 10, 5, 2, 5, 1, 1, 0, 5, 10, 0, 3, 14, 0, 4, 12],
"result": "valid"
},
{
"tcId": 2469,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "e93d53829672ed",
"msg": [4, 11, 10, 12, 2, 4, 5, 4, 3, 3, 15, 11, 13, 12, 7, 12, 12, 6, 4, 14, 6, 5, 0, 0, 11, 0, 8, 2, 12, 14],
"ct": [2, 6, 4, 14, 13, 4, 14, 1, 2, 3, 1, 13, 3, 3, 6, 14, 10, 3, 7, 5, 9, 6, 2, 9, 2, 8, 4, 8, 14, 13],
"result": "valid"
},
{
"tcId": 2470,
"comment": "y is maximal after modular reduction and (y + a) % radix**15 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "a4d553d79b3572",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 6, 14, 15, 0, 11, 6, 1, 6, 9, 15, 9, 10, 2, 13],
"ct": [4, 11, 6, 12, 11, 10, 12, 5, 15, 11, 0, 4, 10, 14, 13, 9, 12, 9, 3, 9, 13, 6, 7, 7, 0, 15, 7, 3, 6, 9],
"result": "valid"
},
{
"tcId": 2471,
"comment": "y is maximal after modular reduction and (y + a) % radix**15 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "a4d553d79b3572",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 15, 6, 14, 15, 0, 11, 6, 1, 6, 9, 15, 9, 10, 2, 13],
"ct": [5, 6, 15, 1, 0, 4, 2, 4, 13, 6, 11, 14, 14, 7, 5, 3, 13, 4, 4, 6, 10, 10, 8, 2, 15, 5, 15, 6, 0, 0],
"result": "valid"
},
{
"tcId": 2472,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "a4d553d79b3572",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 6, 14, 15, 0, 11, 6, 1, 6, 9, 15, 9, 10, 2, 13],
"ct": [12, 11, 9, 5, 10, 12, 7, 5, 10, 13, 14, 3, 11, 10, 7, 14, 11, 9, 8, 5, 9, 4, 1, 4, 14, 8, 6, 2, 4, 4],
"result": "valid"
},
{
"tcId": 2473,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5",
"tweak": "a4d553d79b3572",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 6, 14, 15, 0, 11, 6, 1, 6, 9, 15, 9, 10, 2, 13],
"ct": [5, 1, 4, 6, 15, 7, 11, 4, 12, 7, 1, 4, 14, 0, 7, 5, 7, 11, 5, 3, 4, 11, 13, 0, 4, 4, 13, 12, 5, 10],
"result": "valid"
},
{
"tcId": 2474,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "76449a7c27b069b33678384e96f8bf7151bdae73c038d7fa",
"tweak": "9efb1ff8ad862889",
"msg": [-1, 9, 9, 11, 10, 9, 4, 14, 0, 14, 15, 10, 5, 10, 14, 9, 1, 2, 7, 2, 4, 11, 11, 9, 12, 4, 9, 0, 10, 5],
"ct": [2, 8, 3, 9, 11, 5, 6, 15, 6, 8, 14, 2, 8, 10, 2, 5, 5, 7, 4, 15, 12, 15, 6, 8, 15, 1, 8, 10, 15, 7],
"result": "invalid"
},
{
"tcId": 2475,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "76449a7c27b069b33678384e96f8bf7151bdae73c038d7fa",
"tweak": "9efb1ff8ad862889",
"msg": [1, 9, 9, 11, 10, 9, 4, 14, 0, 14, -1, 10, 5, 10, 14, 9, 1, 2, 7, 2, 4, 11, 11, 9, 12, 4, 9, 0, 10, 5],
"ct": [10, 0, 12, 2, 2, 4, 8, 11, 0, 3, 2, 10, 15, 4, 14, 14, 4, 4, 8, 9, 10, 2, 5, 3, 11, 0, 15, 6, 0, 7],
"result": "invalid"
},
{
"tcId": 2476,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "76449a7c27b069b33678384e96f8bf7151bdae73c038d7fa",
"tweak": "9efb1ff8ad862889",
"msg": [1, 9, 9, 11, 10, 9, 4, 14, 0, 14, 15, 10, 5, 10, 14, 9, 1, 2, 7, 2, 4, 11, 11, 9, 12, 4, 9, 0, 10, -1],
"ct": [10, 7, 14, 0, 6, 1, 4, 10, 5, 4, 0, 10, 14, 9, 3, 5, 13, 12, 10, 0, 1, 12, 13, 15, 15, 13, 9, 15, 13, 13],
"result": "invalid"
},
{
"tcId": 2477,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "492a5a031da4083851ff02ffe3ccbe8c25aa53f2f3de4e94",
"tweak": "9fc71b7d0b939485",
"msg": [16, 1, 3, 9, 15, 13, 15, 13, 3, 8, 5, 12, 12, 9, 8, 2, 13, 0, 7, 8, 15, 10, 13, 4, 2, 13, 1, 2, 2, 12],
"ct": [8, 2, 11, 10, 0, 7, 0, 4, 10, 11, 15, 0, 6, 4, 9, 2, 2, 1, 12, 10, 5, 0, 6, 13, 15, 12, 10, 8, 8, 9],
"result": "invalid"
},
{
"tcId": 2478,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "492a5a031da4083851ff02ffe3ccbe8c25aa53f2f3de4e94",
"tweak": "9fc71b7d0b939485",
"msg": [2, 1, 3, 9, 15, 13, 15, 13, 3, 8, 16, 12, 12, 9, 8, 2, 13, 0, 7, 8, 15, 10, 13, 4, 2, 13, 1, 2, 2, 12],
"ct": [7, 7, 7, 8, 10, 13, 8, 1, 2, 12, 5, 0, 0, 9, 6, 9, 0, 5, 9, 9, 14, 5, 10, 9, 0, 5, 15, 1, 6, 12],
"result": "invalid"
},
{
"tcId": 2479,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "492a5a031da4083851ff02ffe3ccbe8c25aa53f2f3de4e94",
"tweak": "9fc71b7d0b939485",
"msg": [2, 1, 3, 9, 15, 13, 15, 13, 3, 8, 5, 12, 12, 9, 8, 2, 13, 0, 7, 8, 15, 10, 13, 4, 2, 13, 1, 2, 2, 16],
"ct": [8, 2, 3, 12, 12, 11, 12, 8, 9, 1, 3, 13, 8, 6, 5, 10, 6, 8, 7, 15, 12, 11, 11, 10, 10, 8, 2, 1, 7, 14],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 31,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2480,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "77b5e0675cc0ecffd9a187798870ce49ce4a9b6807e14b2b",
"tweak": "dc5996a3061cff92",
"msg": [14, 14, 10, 7, 8, 0, 10, 0, 14, 15, 6, 14, 2, 10, 6, 2, 12, 5, 15, 0, 2, 7, 9, 3, 3, 0, 0, 0, 1, 10, 10],
"ct": [12, 10, 4, 5, 14, 15, 4, 10, 5, 5, 6, 5, 3, 13, 9, 7, 14, 9, 12, 9, 13, 12, 5, 6, 15, 1, 5, 4, 9, 4, 8],
"result": "valid"
},
{
"tcId": 2481,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [11, 12, 2, 3, 6, 5, 2, 6, 13, 9, 8, 9, 15, 9, 3, 9, 5, 2, 1, 8, 4, 8, 4, 15, 4, 14, 2, 9, 5, 13, 9],
"result": "valid"
},
{
"tcId": 2482,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [14, 10, 2, 13, 3, 12, 6, 13, 15, 1, 15, 7, 3, 12, 2, 5, 3, 10, 7, 11, 3, 4, 11, 9, 10, 2, 12, 9, 15, 14, 5],
"result": "valid"
},
{
"tcId": 2483,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 5, 15, 6, 1, 10, 9, 13, 15, 5, 6, 13, 12, 15, 6, 0, 15, 7, 14, 7, 14, 10, 14, 5, 8, 10, 13, 6, 13, 7, 3],
"result": "valid"
},
{
"tcId": 2484,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [5, 1, 14, 13, 7, 9, 7, 4, 6, 2, 5, 15, 14, 10, 14, 5, 9, 6, 4, 4, 9, 8, 9, 3, 4, 7, 11, 15, 1, 1, 6],
"result": "valid"
},
{
"tcId": 2485,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [14, 12, 11, 2, 2, 11, 14, 13, 2, 15, 4, 9, 11, 13, 5, 13, 0, 3, 7, 5, 10, 14, 1, 10, 8, 4, 15, 8, 11, 1, 8],
"ct": [9, 11, 6, 9, 6, 3, 9, 1, 13, 5, 12, 4, 10, 1, 2, 0, 6, 4, 15, 1, 8, 12, 13, 9, 15, 9, 13, 13, 14, 13, 0],
"result": "valid"
},
{
"tcId": 2486,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [15, 4, 7, 13, 2, 9, 14, 15, 5, 3, 15, 12, 11, 9, 15, 13, 8, 2, 14, 10, 12, 5, 15, 1, 0, 8, 2, 15, 13, 2, 14],
"ct": [0, 14, 11, 7, 8, 13, 3, 7, 0, 7, 6, 5, 6, 8, 14, 13, 15, 15, 1, 9, 7, 14, 15, 10, 0, 11, 1, 11, 10, 11, 15],
"result": "valid"
},
{
"tcId": 2487,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [5, 14, 6, 2, 8, 5, 6, 15, 14, 0, 15, 12, 15, 13, 1, 2, 8, 7, 13, 6, 12, 4, 4, 14, 5, 10, 4, 14, 13, 13, 9],
"ct": [1, 15, 12, 6, 15, 11, 7, 5, 5, 7, 14, 2, 2, 13, 15, 3, 1, 5, 5, 15, 1, 1, 14, 3, 7, 2, 2, 1, 5, 2, 0],
"result": "valid"
},
{
"tcId": 2488,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [2, 15, 3, 5, 6, 6, 1, 4, 13, 7, 7, 9, 12, 10, 0, 8, 0, 15, 1, 4, 12, 15, 5, 6, 13, 11, 13, 8, 13, 11, 4],
"ct": [5, 0, 7, 0, 9, 14, 8, 9, 8, 9, 3, 1, 10, 15, 3, 14, 10, 11, 2, 13, 4, 4, 0, 8, 6, 8, 0, 12, 11, 8, 4],
"result": "valid"
},
{
"tcId": 2489,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [6, 11, 6, 0, 6, 9, 3, 6, 15, 4, 15, 5, 12, 8, 4, 10, 9, 9, 12, 10, 1, 13, 1, 15, 12, 0, 4, 7, 11, 2, 6],
"ct": [8, 13, 14, 7, 7, 12, 7, 1, 11, 15, 7, 0, 9, 11, 1, 2, 11, 14, 1, 7, 14, 3, 15, 1, 9, 6, 13, 13, 10, 1, 14],
"result": "valid"
},
{
"tcId": 2490,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [12, 15, 12, 1, 11, 12, 11, 8, 12, 8, 12, 3, 12, 4, 7, 10, 13, 1, 3, 11, 14, 10, 3, 11, 3, 13, 12, 8, 0, 14, 2],
"ct": [1, 6, 5, 15, 3, 1, 10, 1, 10, 9, 8, 5, 5, 0, 15, 4, 3, 12, 7, 1, 13, 4, 9, 0, 0, 2, 6, 2, 12, 0, 14],
"result": "valid"
},
{
"tcId": 2491,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [3, 8, 1, 4, 8, 11, 5, 8, 7, 10, 13, 1, 0, 1, 7, 14, 10, 14, 7, 15, 11, 15, 3, 4, 2, 15, 5, 1, 3, 0, 2],
"ct": [7, 1, 12, 7, 14, 4, 1, 7, 3, 4, 2, 7, 0, 7, 11, 13, 14, 4, 2, 0, 7, 9, 14, 0, 12, 7, 12, 3, 2, 9, 8],
"result": "valid"
},
{
"tcId": 2492,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [5, 11, 0, 3, 13, 13, 13, 8, 5, 7, 6, 7, 2, 15, 9, 1, 8, 8, 4, 12, 0, 4, 12, 3, 6, 11, 8, 0, 1, 0, 13],
"ct": [12, 9, 15, 8, 3, 3, 15, 7, 2, 13, 13, 8, 1, 11, 14, 11, 6, 4, 5, 7, 12, 3, 2, 15, 0, 14, 14, 10, 13, 14, 0],
"result": "valid"
},
{
"tcId": 2493,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [6, 6, 5, 15, 4, 10, 10, 13, 2, 15, 15, 1, 0, 12, 1, 6, 8, 12, 10, 0, 12, 12, 3, 15, 13, 9, 4, 11, 6, 0, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2494,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [13, 0, 6, 4, 5, 12, 8, 14, 2, 3, 1, 14, 4, 3, 8, 9, 5, 8, 8, 6, 5, 4, 7, 7, 3, 5, 11, 5, 7, 3, 8],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2495,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [15, 11, 12, 1, 6, 5, 1, 8, 8, 15, 13, 15, 5, 5, 6, 5, 8, 10, 5, 14, 15, 11, 1, 14, 0, 2, 2, 11, 8, 14, 6],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2496,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a",
"tweak": "315fa89f9537aa44",
"msg": [13, 5, 2, 10, 7, 12, 10, 13, 15, 14, 10, 0, 14, 14, 11, 10, 14, 12, 11, 0, 13, 12, 3, 3, 4, 1, 12, 4, 6, 12, 10],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2497,
"comment": "y = 0 and (y + a) % radix**15 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "4a1da5c5158823",
"msg": [0, 6, 11, 11, 13, 12, 2, 8, 14, 3, 0, 14, 6, 10, 7, 2, 7, 2, 10, 3, 0, 12, 1, 14, 1, 5, 7, 3, 10, 11, 3],
"ct": [7, 1, 12, 14, 6, 14, 1, 10, 1, 12, 11, 5, 7, 0, 7, 4, 6, 8, 10, 9, 10, 2, 2, 4, 5, 11, 4, 10, 10, 5, 10],
"result": "valid"
},
{
"tcId": 2498,
"comment": "y = 0 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "4a1da5c5158823",
"msg": [8, 4, 4, 13, 4, 5, 15, 3, 8, 7, 7, 3, 11, 4, 11, 4, 6, 4, 12, 0, 5, 2, 10, 8, 11, 3, 14, 4, 12, 6, 5],
"ct": [5, 2, 14, 12, 1, 10, 12, 14, 9, 7, 3, 8, 0, 5, 4, 7, 12, 9, 10, 14, 3, 3, 3, 12, 13, 12, 10, 11, 14, 14, 9],
"result": "valid"
},
{
"tcId": 2499,
"comment": "y = 0 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "4a1da5c5158823",
"msg": [0, 13, 6, 8, 12, 11, 11, 12, 2, 2, 3, 5, 7, 14, 14, 1, 5, 9, 2, 2, 13, 12, 4, 13, 10, 7, 13, 9, 5, 1, 14],
"ct": [1, 11, 10, 11, 10, 7, 10, 12, 2, 4, 10, 2, 3, 4, 13, 1, 6, 1, 2, 8, 3, 3, 0, 6, 7, 14, 5, 8, 0, 11, 5],
"result": "valid"
},
{
"tcId": 2500,
"comment": "y = 0 and (y + a) % radix**15 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "4a1da5c5158823",
"msg": [14, 15, 12, 1, 6, 7, 11, 6, 3, 10, 12, 15, 6, 12, 6, 10, 15, 8, 0, 12, 4, 7, 5, 8, 3, 5, 11, 13, 9, 10, 15],
"ct": [2, 9, 9, 3, 13, 11, 8, 6, 10, 7, 0, 0, 3, 11, 12, 5, 9, 7, 13, 6, 10, 1, 7, 3, 9, 11, 12, 9, 3, 6, 0],
"result": "valid"
},
{
"tcId": 2501,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "d286ec63e64acb",
"msg": [12, 12, 13, 2, 7, 14, 15, 5, 3, 4, 15, 0, 9, 12, 13, 4, 5, 6, 1, 4, 3, 10, 13, 15, 11, 0, 5, 3, 2, 9, 1],
"ct": [8, 6, 15, 14, 1, 2, 8, 2, 1, 11, 0, 2, 9, 6, 2, 8, 1, 0, 14, 2, 12, 6, 4, 13, 15, 9, 7, 4, 10, 10, 4],
"result": "valid"
},
{
"tcId": 2502,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "d286ec63e64acb",
"msg": [7, 11, 15, 12, 7, 7, 13, 2, 0, 14, 2, 11, 3, 0, 6, 13, 1, 1, 15, 8, 0, 6, 5, 11, 5, 4, 13, 3, 8, 10, 9],
"ct": [4, 11, 6, 4, 7, 14, 8, 14, 15, 8, 3, 8, 7, 7, 2, 13, 11, 0, 1, 7, 8, 13, 0, 4, 15, 12, 14, 7, 3, 4, 7],
"result": "valid"
},
{
"tcId": 2503,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "d286ec63e64acb",
"msg": [10, 5, 15, 10, 10, 15, 11, 5, 3, 5, 9, 2, 9, 2, 3, 6, 0, 4, 9, 13, 10, 1, 14, 11, 4, 6, 14, 4, 11, 4, 15],
"ct": [3, 0, 6, 9, 4, 10, 7, 0, 3, 12, 8, 15, 3, 7, 13, 13, 13, 1, 4, 9, 2, 9, 7, 7, 6, 12, 9, 3, 11, 13, 12],
"result": "valid"
},
{
"tcId": 2504,
"comment": "y = 1 and (y + a) % radix**15 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "d286ec63e64acb",
"msg": [6, 3, 9, 6, 12, 1, 4, 14, 7, 3, 11, 5, 11, 10, 2, 14, 12, 7, 5, 3, 10, 15, 9, 3, 6, 8, 2, 8, 12, 0, 0],
"ct": [8, 15, 13, 13, 15, 3, 2, 0, 8, 9, 4, 6, 5, 10, 8, 11, 0, 13, 2, 10, 9, 8, 3, 0, 3, 14, 9, 6, 7, 5, 8],
"result": "valid"
},
{
"tcId": 2505,
"comment": "y = 1 and (y + a) % radix**15 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "d286ec63e64acb",
"msg": [11, 9, 3, 8, 7, 0, 12, 15, 1, 14, 10, 0, 4, 2, 13, 13, 11, 3, 12, 8, 8, 2, 3, 10, 10, 12, 9, 7, 1, 4, 13],
"ct": [9, 14, 13, 3, 2, 5, 8, 0, 5, 1, 15, 8, 13, 9, 2, 3, 12, 8, 7, 3, 7, 1, 8, 2, 13, 15, 1, 9, 11, 10, 14],
"result": "valid"
},
{
"tcId": 2506,
"comment": "y is maximal and (y + a) % radix**15 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "6fe50391d187e5",
"msg": [2, 10, 0, 6, 7, 0, 9, 6, 8, 13, 0, 5, 2, 4, 14, 0, 6, 12, 2, 13, 15, 5, 8, 4, 3, 3, 6, 13, 2, 12, 8],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 3, 10, 13, 4, 6, 12, 0, 6, 11, 3, 7, 12, 6, 7, 4, 14],
"result": "valid"
},
{
"tcId": 2507,
"comment": "y is maximal and (y + a) % radix**15 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "6fe50391d187e5",
"msg": [2, 14, 7, 5, 4, 6, 15, 7, 7, 10, 9, 15, 8, 6, 8, 5, 15, 3, 6, 2, 7, 3, 13, 15, 4, 11, 1, 9, 12, 4, 1],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 5, 10, 2, 13, 11, 15, 5, 9, 2, 5, 14, 9, 14, 0, 1],
"result": "valid"
},
{
"tcId": 2508,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "6fe50391d187e5",
"msg": [12, 3, 3, 14, 4, 11, 15, 9, 9, 2, 4, 14, 11, 9, 14, 0, 12, 10, 1, 12, 13, 3, 7, 1, 6, 1, 15, 2, 9, 15, 2],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 15, 14, 7, 10, 14, 2, 4, 11, 0, 14, 14, 7, 3, 0],
"result": "valid"
},
{
"tcId": 2509,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "6fe50391d187e5",
"msg": [12, 15, 7, 7, 2, 4, 5, 11, 6, 12, 14, 14, 15, 13, 15, 11, 4, 5, 1, 4, 8, 10, 11, 2, 14, 7, 7, 3, 14, 7, 0],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 9, 5, 10, 10, 1, 6, 14, 11, 7, 3, 3, 9, 1, 6, 4, 5],
"result": "valid"
},
{
"tcId": 2510,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "c95c10ee1468a5",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 7, 5, 9, 4, 15, 3, 14, 9, 4, 6, 1, 8, 5, 12],
"ct": [4, 10, 10, 7, 12, 1, 11, 5, 10, 15, 8, 5, 14, 9, 6, 15, 15, 0, 5, 1, 1, 14, 5, 15, 10, 11, 0, 4, 7, 14, 4],
"result": "valid"
},
{
"tcId": 2511,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "c95c10ee1468a5",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 15, 7, 5, 9, 4, 15, 3, 14, 9, 4, 6, 1, 8, 5, 12],
"ct": [6, 10, 14, 1, 0, 9, 0, 11, 13, 0, 4, 6, 13, 11, 5, 10, 3, 5, 5, 14, 11, 15, 11, 10, 3, 13, 10, 5, 1, 2, 2],
"result": "valid"
},
{
"tcId": 2512,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "c95c10ee1468a5",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 15, 7, 5, 9, 4, 15, 3, 14, 9, 4, 6, 1, 8, 5, 12],
"ct": [9, 13, 2, 4, 14, 13, 9, 15, 6, 11, 3, 1, 0, 4, 15, 11, 0, 11, 10, 5, 10, 15, 10, 12, 6, 15, 12, 12, 1, 15, 0],
"result": "valid"
},
{
"tcId": 2513,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "c95c10ee1468a5",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 15, 7, 5, 9, 4, 15, 3, 14, 9, 4, 6, 1, 8, 5, 12],
"ct": [5, 1, 13, 14, 1, 8, 3, 1, 2, 6, 4, 7, 6, 9, 1, 1, 8, 12, 10, 4, 12, 8, 13, 3, 10, 14, 7, 13, 5, 9, 4],
"result": "valid"
},
{
"tcId": 2514,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "c95c10ee1468a5",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 7, 5, 9, 4, 15, 3, 14, 9, 4, 6, 1, 8, 5, 12],
"ct": [15, 8, 12, 4, 1, 4, 9, 2, 6, 14, 1, 1, 0, 12, 5, 0, 12, 13, 2, 1, 1, 10, 11, 0, 12, 2, 15, 11, 4, 12, 15],
"result": "valid"
},
{
"tcId": 2515,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "c95c10ee1468a5",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 15, 7, 5, 9, 4, 15, 3, 14, 9, 4, 6, 1, 8, 5, 12],
"ct": [1, 8, 1, 8, 3, 11, 9, 6, 14, 9, 2, 14, 10, 13, 0, 10, 15, 1, 13, 15, 15, 8, 6, 15, 11, 9, 0, 11, 1, 8, 11],
"result": "valid"
},
{
"tcId": 2516,
"comment": "y is maximal after modular reduction and (y + a) % radix**15 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "30382c6726819b",
"msg": [13, 6, 2, 5, 6, 15, 15, 6, 12, 7, 15, 13, 0, 6, 0, 14, 5, 12, 7, 0, 11, 3, 2, 8, 14, 11, 3, 3, 11, 9, 0],
"ct": [9, 15, 3, 4, 9, 5, 3, 0, 5, 7, 12, 5, 11, 10, 15, 6, 8, 2, 13, 0, 15, 4, 13, 2, 11, 8, 3, 0, 15, 9, 6],
"result": "valid"
},
{
"tcId": 2517,
"comment": "y is maximal after modular reduction and (y + a) % radix**15 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "30382c6726819b",
"msg": [13, 2, 15, 1, 11, 9, 3, 2, 13, 5, 5, 12, 11, 12, 4, 12, 15, 11, 3, 2, 8, 8, 15, 4, 15, 5, 15, 14, 4, 13, 5],
"ct": [10, 14, 3, 1, 8, 4, 13, 15, 2, 4, 5, 9, 7, 5, 2, 5, 12, 3, 7, 1, 10, 10, 11, 5, 4, 7, 4, 12, 15, 14, 2],
"result": "valid"
},
{
"tcId": 2518,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "30382c6726819b",
"msg": [9, 11, 1, 2, 6, 15, 11, 10, 0, 15, 8, 8, 4, 8, 2, 13, 13, 1, 12, 0, 5, 9, 12, 0, 9, 0, 4, 0, 4, 8, 15],
"ct": [11, 8, 9, 2, 6, 12, 11, 1, 5, 15, 0, 7, 9, 8, 3, 4, 15, 5, 4, 0, 10, 10, 12, 15, 14, 10, 12, 3, 12, 14, 13],
"result": "valid"
},
{
"tcId": 2519,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d",
"tweak": "30382c6726819b",
"msg": [5, 8, 6, 4, 9, 12, 6, 2, 11, 9, 7, 10, 9, 2, 4, 10, 7, 9, 13, 2, 1, 2, 11, 1, 14, 7, 6, 15, 7, 2, 5],
"ct": [6, 14, 0, 2, 1, 8, 12, 15, 0, 4, 1, 1, 4, 15, 13, 13, 11, 8, 9, 13, 3, 11, 7, 11, 6, 4, 6, 2, 12, 4, 12],
"result": "valid"
},
{
"tcId": 2520,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "364984930c7a7dbafe67f0a6398ad68d3b643423f7421aeb",
"tweak": "e432f1926c6d0ff8",
"msg": [-1, 13, 10, 3, 11, 12, 4, 9, 15, 6, 9, 11, 5, 8, 3, 9, 4, 15, 13, 4, 5, 9, 3, 1, 5, 13, 5, 13, 6, 12, 5],
"ct": [3, 12, 11, 13, 7, 12, 6, 11, 4, 11, 8, 6, 11, 4, 3, 7, 5, 10, 12, 3, 2, 4, 6, 11, 3, 4, 15, 7, 1, 13, 1],
"result": "invalid"
},
{
"tcId": 2521,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "364984930c7a7dbafe67f0a6398ad68d3b643423f7421aeb",
"tweak": "e432f1926c6d0ff8",
"msg": [15, 13, 10, 3, 11, 12, 4, 9, 15, 6, -1, 11, 5, 8, 3, 9, 4, 15, 13, 4, 5, 9, 3, 1, 5, 13, 5, 13, 6, 12, 5],
"ct": [8, 7, 9, 1, 1, 3, 14, 2, 0, 10, 11, 8, 10, 13, 2, 10, 11, 10, 9, 11, 8, 9, 1, 0, 4, 8, 11, 4, 0, 4, 6],
"result": "invalid"
},
{
"tcId": 2522,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "364984930c7a7dbafe67f0a6398ad68d3b643423f7421aeb",
"tweak": "e432f1926c6d0ff8",
"msg": [15, 13, 10, 3, 11, 12, 4, 9, 15, 6, 9, 11, 5, 8, 3, 9, 4, 15, 13, 4, 5, 9, 3, 1, 5, 13, 5, 13, 6, 12, -1],
"ct": [6, 9, 13, 12, 3, 2, 10, 8, 10, 1, 15, 1, 0, 12, 0, 12, 8, 2, 2, 1, 15, 12, 10, 1, 7, 10, 8, 0, 2, 5, 6],
"result": "invalid"
},
{
"tcId": 2523,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "00fb210bbeba8132528bedda1769ec244cb4ca505d1f3240",
"tweak": "ac6f5bd7017ed820",
"msg": [16, 8, 13, 11, 1, 0, 0, 5, 10, 11, 11, 15, 6, 9, 2, 0, 14, 3, 14, 10, 12, 0, 3, 1, 15, 7, 7, 15, 15, 3, 6],
"ct": [13, 12, 9, 10, 15, 7, 15, 5, 7, 9, 11, 2, 10, 10, 11, 6, 0, 8, 3, 8, 14, 10, 14, 10, 5, 15, 7, 9, 10, 14, 13],
"result": "invalid"
},
{
"tcId": 2524,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "00fb210bbeba8132528bedda1769ec244cb4ca505d1f3240",
"tweak": "ac6f5bd7017ed820",
"msg": [11, 8, 13, 11, 1, 0, 0, 5, 10, 11, 16, 15, 6, 9, 2, 0, 14, 3, 14, 10, 12, 0, 3, 1, 15, 7, 7, 15, 15, 3, 6],
"ct": [8, 8, 15, 15, 9, 10, 7, 5, 14, 6, 11, 8, 9, 12, 11, 15, 13, 11, 6, 3, 4, 9, 9, 14, 4, 7, 11, 1, 7, 2, 13],
"result": "invalid"
},
{
"tcId": 2525,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "00fb210bbeba8132528bedda1769ec244cb4ca505d1f3240",
"tweak": "ac6f5bd7017ed820",
"msg": [11, 8, 13, 11, 1, 0, 0, 5, 10, 11, 11, 15, 6, 9, 2, 0, 14, 3, 14, 10, 12, 0, 3, 1, 15, 7, 7, 15, 15, 3, 16],
"ct": [5, 2, 4, 15, 7, 11, 14, 11, 14, 9, 11, 13, 14, 11, 9, 6, 12, 0, 6, 10, 15, 3, 8, 5, 12, 8, 12, 6, 6, 10, 8],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 32,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2526,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "51bc85303caaaad311ecfdbad7b6d390f51de4de32beeb24",
"tweak": "5ba80100c8ec15b3",
"msg": [5, 14, 6, 7, 5, 2, 3, 15, 2, 3, 12, 12, 13, 11, 11, 15, 13, 14, 1, 10, 12, 4, 10, 1, 8, 9, 8, 10, 11, 14, 2, 15],
"ct": [14, 5, 3, 5, 15, 13, 6, 2, 2, 3, 1, 2, 8, 0, 14, 7, 0, 8, 11, 7, 0, 15, 13, 2, 0, 3, 15, 11, 6, 7, 6, 4],
"result": "valid"
},
{
"tcId": 2527,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [13, 15, 1, 10, 7, 14, 4, 3, 3, 14, 7, 15, 14, 9, 1, 7, 12, 10, 0, 6, 3, 0, 5, 2, 6, 15, 7, 4, 0, 7, 9, 6],
"result": "valid"
},
{
"tcId": 2528,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [9, 12, 7, 7, 2, 11, 10, 3, 3, 4, 4, 8, 9, 4, 13, 4, 6, 0, 5, 3, 14, 3, 10, 4, 12, 13, 10, 15, 11, 8, 9, 13],
"result": "valid"
},
{
"tcId": 2529,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [11, 9, 14, 11, 13, 11, 13, 4, 2, 9, 13, 6, 14, 0, 9, 8, 12, 15, 8, 4, 14, 8, 2, 5, 7, 5, 6, 7, 5, 3, 12, 6],
"result": "valid"
},
{
"tcId": 2530,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [2, 11, 8, 0, 8, 15, 4, 11, 13, 12, 15, 4, 11, 10, 15, 15, 15, 12, 6, 6, 11, 10, 8, 2, 13, 4, 1, 3, 14, 6, 0, 7],
"result": "valid"
},
{
"tcId": 2531,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [11, 13, 5, 2, 8, 12, 0, 5, 11, 2, 15, 9, 1, 13, 13, 9, 4, 7, 6, 13, 3, 13, 14, 9, 15, 10, 9, 13, 6, 1, 7, 2],
"ct": [0, 5, 1, 15, 11, 11, 9, 5, 8, 8, 13, 2, 12, 11, 5, 0, 2, 1, 1, 3, 7, 11, 9, 9, 3, 6, 9, 3, 6, 13, 5, 9],
"result": "valid"
},
{
"tcId": 2532,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [3, 4, 1, 1, 14, 14, 12, 13, 8, 8, 9, 6, 11, 3, 3, 13, 11, 1, 2, 7, 9, 9, 13, 11, 10, 14, 13, 2, 9, 6, 1, 13],
"ct": [2, 2, 7, 4, 13, 6, 4, 2, 1, 8, 4, 8, 10, 15, 3, 8, 5, 5, 4, 3, 11, 8, 2, 1, 14, 8, 8, 9, 3, 9, 3, 10],
"result": "valid"
},
{
"tcId": 2533,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [7, 10, 5, 12, 4, 5, 0, 8, 6, 15, 0, 10, 14, 1, 14, 12, 0, 13, 2, 1, 7, 11, 3, 7, 12, 3, 4, 2, 6, 2, 8, 6],
"ct": [5, 8, 14, 4, 14, 2, 5, 14, 9, 11, 9, 7, 5, 15, 10, 9, 3, 5, 4, 9, 13, 0, 8, 9, 7, 12, 1, 5, 4, 11, 3, 12],
"result": "valid"
},
{
"tcId": 2534,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [1, 11, 11, 3, 7, 9, 14, 6, 5, 9, 15, 3, 12, 9, 5, 7, 9, 14, 4, 14, 4, 5, 10, 12, 9, 6, 14, 11, 0, 6, 11, 11],
"ct": [4, 12, 11, 3, 5, 10, 8, 1, 7, 2, 11, 0, 1, 15, 14, 13, 11, 8, 6, 2, 5, 12, 13, 5, 15, 2, 12, 1, 4, 4, 10, 7],
"result": "valid"
},
{
"tcId": 2535,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [7, 7, 14, 8, 0, 0, 4, 8, 4, 3, 15, 3, 6, 2, 15, 2, 11, 3, 5, 8, 14, 0, 6, 5, 15, 4, 2, 4, 1, 11, 9, 8],
"ct": [5, 6, 14, 1, 11, 12, 7, 9, 1, 5, 7, 3, 0, 3, 15, 9, 9, 15, 13, 4, 4, 14, 1, 8, 3, 11, 2, 15, 12, 4, 13, 3],
"result": "valid"
},
{
"tcId": 2536,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [1, 4, 11, 3, 12, 8, 0, 3, 2, 12, 1, 15, 11, 7, 1, 8, 12, 10, 6, 1, 14, 10, 8, 8, 9, 0, 0, 0, 5, 12, 9, 12],
"ct": [13, 10, 5, 0, 2, 5, 0, 8, 13, 12, 10, 10, 14, 7, 1, 1, 13, 12, 1, 9, 4, 0, 2, 4, 5, 12, 7, 6, 14, 12, 12, 11],
"result": "valid"
},
{
"tcId": 2537,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [6, 7, 3, 0, 12, 1, 2, 6, 15, 1, 13, 2, 1, 6, 11, 7, 9, 6, 8, 8, 13, 15, 9, 5, 14, 3, 2, 6, 9, 7, 11, 11],
"ct": [13, 14, 1, 7, 1, 8, 8, 11, 4, 9, 13, 13, 15, 12, 3, 9, 5, 2, 1, 15, 9, 6, 6, 0, 6, 8, 3, 13, 11, 3, 9, 4],
"result": "valid"
},
{
"tcId": 2538,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [6, 12, 8, 1, 5, 0, 2, 1, 7, 2, 4, 2, 2, 1, 6, 15, 11, 13, 7, 4, 0, 10, 10, 15, 6, 13, 13, 3, 13, 9, 15, 4],
"ct": [11, 10, 0, 6, 6, 3, 8, 2, 3, 13, 14, 8, 5, 11, 7, 6, 9, 5, 8, 15, 9, 1, 11, 3, 6, 9, 1, 9, 5, 13, 0, 1],
"result": "valid"
},
{
"tcId": 2539,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [14, 1, 10, 11, 6, 12, 14, 14, 10, 15, 7, 5, 10, 13, 9, 10, 2, 10, 15, 6, 9, 4, 13, 2, 0, 8, 3, 12, 15, 3, 6, 5],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2540,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [0, 0, 1, 13, 6, 8, 5, 8, 11, 14, 3, 6, 3, 5, 8, 1, 7, 15, 6, 10, 1, 7, 4, 6, 8, 4, 8, 3, 6, 13, 12, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2541,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [12, 3, 10, 4, 0, 9, 4, 9, 3, 9, 15, 6, 3, 6, 15, 6, 10, 8, 9, 0, 15, 3, 1, 6, 12, 8, 10, 1, 10, 2, 0, 8],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2542,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650",
"tweak": "1fb9049b7804720b",
"msg": [15, 14, 4, 9, 10, 12, 3, 5, 3, 14, 13, 10, 3, 8, 3, 6, 4, 11, 10, 9, 6, 3, 5, 1, 10, 3, 3, 10, 1, 3, 6, 0],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2543,
"comment": "y = 0 and (y + a) % radix**16 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "1938e01829d8b5",
"msg": [4, 0, 14, 1, 11, 11, 1, 4, 6, 1, 0, 1, 7, 15, 5, 1, 12, 6, 9, 14, 3, 11, 9, 15, 3, 8, 13, 15, 14, 5, 7, 2],
"ct": [5, 5, 5, 5, 9, 1, 9, 15, 0, 14, 7, 5, 8, 2, 11, 14, 13, 5, 12, 9, 2, 5, 13, 1, 15, 0, 12, 13, 6, 14, 7, 6],
"result": "valid"
},
{
"tcId": 2544,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "1938e01829d8b5",
"msg": [7, 11, 5, 14, 2, 9, 5, 15, 1, 13, 8, 5, 5, 9, 15, 3, 1, 9, 8, 5, 11, 5, 13, 13, 9, 10, 12, 11, 9, 14, 2, 15],
"ct": [5, 7, 3, 0, 14, 13, 12, 6, 14, 5, 1, 10, 6, 15, 15, 5, 3, 12, 9, 13, 14, 10, 12, 8, 3, 7, 1, 8, 9, 11, 7, 14],
"result": "valid"
},
{
"tcId": 2545,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "1938e01829d8b5",
"msg": [9, 9, 12, 9, 7, 3, 6, 3, 10, 0, 9, 9, 14, 8, 14, 6, 15, 3, 14, 2, 3, 2, 12, 2, 1, 4, 0, 15, 6, 15, 10, 4],
"ct": [8, 8, 10, 1, 1, 6, 3, 15, 12, 0, 10, 15, 5, 14, 1, 7, 5, 9, 3, 12, 8, 9, 13, 7, 6, 1, 2, 14, 12, 8, 0, 13],
"result": "valid"
},
{
"tcId": 2546,
"comment": "y = 0 and (y + a) % radix**16 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "1938e01829d8b5",
"msg": [4, 12, 14, 2, 5, 1, 2, 6, 12, 3, 10, 3, 11, 0, 1, 9, 6, 11, 15, 14, 8, 6, 11, 2, 5, 5, 4, 3, 15, 15, 1, 1],
"ct": [0, 9, 15, 9, 11, 12, 1, 3, 4, 3, 14, 6, 12, 4, 9, 13, 0, 7, 3, 4, 15, 15, 2, 13, 1, 5, 5, 0, 8, 15, 10, 1],
"result": "valid"
},
{
"tcId": 2547,
"comment": "y = 1 and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "21760876eee269",
"msg": [6, 13, 6, 5, 5, 13, 2, 13, 0, 13, 6, 14, 11, 4, 7, 3, 2, 1, 2, 2, 1, 2, 15, 13, 11, 6, 10, 4, 1, 3, 0, 12],
"ct": [13, 3, 10, 14, 2, 7, 10, 5, 6, 8, 15, 3, 12, 8, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 2548,
"comment": "y = 1 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "21760876eee269",
"msg": [9, 12, 10, 5, 4, 1, 10, 1, 9, 6, 4, 13, 15, 10, 14, 10, 8, 3, 0, 7, 12, 6, 15, 1, 7, 9, 7, 7, 4, 14, 6, 2],
"ct": [13, 3, 10, 14, 2, 7, 10, 5, 6, 8, 15, 3, 12, 8, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2],
"result": "valid"
},
{
"tcId": 2549,
"comment": "y = 1 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "21760876eee269",
"msg": [13, 1, 13, 10, 10, 12, 12, 13, 0, 5, 10, 12, 15, 14, 6, 14, 6, 3, 9, 15, 14, 6, 13, 0, 8, 12, 13, 1, 4, 9, 5, 15],
"ct": [13, 3, 10, 14, 2, 7, 10, 5, 6, 8, 15, 3, 12, 8, 13, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 2550,
"comment": "y = 1 and (y + a) % radix**16 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "21760876eee269",
"msg": [8, 13, 4, 14, 11, 7, 4, 8, 2, 10, 14, 14, 14, 12, 11, 10, 3, 6, 4, 0, 0, 15, 0, 13, 3, 10, 10, 9, 1, 9, 12, 15],
"ct": [13, 3, 10, 14, 2, 7, 10, 5, 6, 8, 15, 3, 12, 8, 13, 0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2551,
"comment": "y = 1 and (y + a) % radix**16 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "21760876eee269",
"msg": [11, 11, 8, 13, 3, 13, 1, 4, 6, 7, 9, 11, 9, 9, 9, 10, 15, 8, 6, 6, 12, 15, 10, 5, 8, 10, 15, 6, 13, 8, 4, 6],
"ct": [13, 3, 10, 14, 2, 7, 10, 5, 6, 8, 15, 3, 12, 8, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2552,
"comment": "y is maximal and (y + a) % radix**16 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "cf4c7ce28eb795",
"msg": [6, 2, 13, 1, 2, 15, 7, 15, 13, 9, 2, 10, 7, 6, 2, 14, 8, 10, 10, 13, 13, 2, 4, 10, 10, 12, 2, 9, 10, 5, 2, 12],
"ct": [14, 6, 13, 15, 5, 15, 7, 7, 7, 14, 0, 2, 10, 14, 7, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2553,
"comment": "y is maximal and (y + a) % radix**16 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "cf4c7ce28eb795",
"msg": [1, 6, 7, 1, 0, 14, 9, 8, 13, 6, 2, 0, 11, 1, 0, 12, 14, 9, 1, 4, 1, 6, 9, 6, 2, 3, 1, 1, 5, 8, 8, 12],
"ct": [14, 6, 13, 15, 5, 15, 7, 7, 7, 14, 0, 2, 10, 14, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2554,
"comment": "y is maximal and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "cf4c7ce28eb795",
"msg": [10, 6, 7, 7, 5, 6, 6, 8, 2, 8, 4, 3, 4, 6, 13, 12, 13, 2, 8, 3, 13, 6, 7, 7, 3, 3, 12, 6, 6, 4, 6, 1],
"ct": [14, 6, 13, 15, 5, 15, 7, 7, 7, 14, 0, 2, 10, 14, 7, 7, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2555,
"comment": "y is maximal and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "cf4c7ce28eb795",
"msg": [12, 5, 15, 10, 3, 1, 2, 14, 4, 4, 14, 4, 4, 12, 14, 12, 12, 0, 8, 8, 1, 8, 15, 4, 6, 14, 6, 15, 0, 0, 3, 1],
"ct": [14, 6, 13, 15, 5, 15, 7, 7, 7, 14, 0, 2, 10, 14, 7, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14],
"result": "valid"
},
{
"tcId": 2556,
"comment": "y is edge case for modular reduction and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "ac34821a017a50",
"msg": [13, 0, 6, 4, 2, 12, 9, 1, 0, 10, 10, 14, 10, 13, 9, 8, 13, 11, 9, 2, 11, 15, 15, 5, 5, 15, 1, 6, 15, 15, 9, 14],
"ct": [13, 5, 15, 8, 3, 8, 10, 15, 13, 10, 2, 14, 13, 5, 1, 8, 2, 8, 11, 5, 14, 5, 10, 10, 4, 7, 15, 3, 6, 7, 2, 3],
"result": "valid"
},
{
"tcId": 2557,
"comment": "y is edge case for modular reduction and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "ac34821a017a50",
"msg": [7, 11, 14, 9, 0, 0, 6, 13, 4, 2, 8, 2, 3, 13, 6, 2, 1, 9, 6, 5, 3, 11, 13, 8, 13, 13, 2, 15, 13, 4, 6, 8],
"ct": [10, 14, 0, 5, 14, 8, 11, 5, 8, 3, 11, 13, 5, 14, 10, 3, 5, 0, 3, 3, 0, 7, 1, 9, 1, 6, 12, 5, 8, 12, 7, 12],
"result": "valid"
},
{
"tcId": 2558,
"comment": "y is edge case for modular reduction and (y + a) % radix**16 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "ac34821a017a50",
"msg": [12, 2, 1, 0, 7, 4, 8, 12, 14, 10, 15, 12, 8, 3, 0, 1, 3, 14, 11, 4, 0, 4, 3, 12, 0, 10, 11, 1, 1, 11, 13, 12],
"ct": [3, 8, 4, 1, 12, 10, 5, 9, 12, 13, 8, 8, 11, 8, 12, 3, 10, 12, 9, 15, 1, 5, 3, 0, 4, 11, 8, 3, 4, 1, 0, 14],
"result": "valid"
},
{
"tcId": 2559,
"comment": "y is edge case for modular reduction and (y + a) % radix**16 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "ac34821a017a50",
"msg": [6, 15, 7, 14, 10, 11, 15, 1, 5, 4, 9, 7, 2, 3, 8, 5, 7, 12, 1, 5, 14, 15, 3, 0, 14, 2, 13, 6, 2, 11, 1, 4],
"ct": [5, 15, 5, 5, 0, 5, 14, 11, 3, 8, 8, 15, 13, 3, 4, 15, 8, 12, 0, 11, 15, 8, 7, 12, 1, 8, 9, 2, 11, 1, 2, 14],
"result": "valid"
},
{
"tcId": 2560,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "ac34821a017a50",
"msg": [5, 4, 11, 1, 12, 1, 1, 6, 9, 7, 8, 2, 6, 11, 15, 5, 0, 7, 12, 4, 0, 13, 5, 9, 12, 5, 2, 4, 5, 10, 4, 3],
"ct": [0, 10, 9, 14, 6, 2, 10, 4, 6, 6, 8, 0, 13, 11, 0, 5, 8, 12, 11, 8, 4, 2, 11, 11, 7, 11, 7, 10, 11, 9, 12, 7],
"result": "valid"
},
{
"tcId": 2561,
"comment": "y is edge case for modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "ac34821a017a50",
"msg": [7, 5, 15, 4, 6, 2, 3, 13, 1, 4, 6, 10, 14, 9, 6, 8, 1, 8, 11, 3, 7, 10, 5, 0, 1, 11, 11, 2, 10, 7, 5, 12],
"ct": [10, 8, 15, 11, 7, 11, 6, 14, 15, 12, 8, 2, 2, 8, 2, 11, 15, 3, 13, 0, 8, 2, 2, 15, 8, 7, 11, 5, 4, 2, 4, 12],
"result": "valid"
},
{
"tcId": 2562,
"comment": "y is maximal after modular reduction and (y + a) % radix**16 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "cb3cee714d0c94",
"msg": [14, 13, 10, 3, 1, 4, 11, 12, 5, 6, 9, 8, 12, 5, 9, 6, 6, 3, 7, 12, 9, 0, 12, 10, 14, 7, 3, 3, 9, 8, 10, 10],
"ct": [13, 13, 1, 5, 4, 12, 7, 14, 10, 11, 8, 14, 6, 6, 0, 5, 14, 1, 0, 13, 14, 10, 1, 14, 7, 14, 4, 6, 3, 1, 11, 4],
"result": "valid"
},
{
"tcId": 2563,
"comment": "y is maximal after modular reduction and (y + a) % radix**16 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "cb3cee714d0c94",
"msg": [0, 7, 8, 11, 9, 11, 7, 0, 5, 4, 8, 7, 11, 4, 8, 12, 7, 3, 13, 10, 15, 6, 3, 7, 5, 13, 14, 13, 14, 0, 4, 2],
"ct": [5, 5, 10, 13, 0, 2, 15, 6, 13, 3, 15, 6, 10, 14, 8, 15, 4, 14, 2, 6, 6, 0, 9, 3, 1, 2, 0, 13, 8, 1, 8, 2],
"result": "valid"
},
{
"tcId": 2564,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "cb3cee714d0c94",
"msg": [1, 12, 15, 14, 12, 2, 1, 0, 10, 11, 11, 6, 6, 12, 10, 3, 11, 9, 14, 5, 5, 8, 5, 2, 9, 9, 13, 9, 5, 9, 3, 4],
"ct": [8, 2, 2, 0, 3, 5, 13, 11, 0, 12, 2, 14, 6, 3, 12, 13, 9, 12, 15, 9, 2, 11, 14, 1, 8, 10, 5, 5, 0, 11, 9, 8],
"result": "valid"
},
{
"tcId": 2565,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085",
"tweak": "cb3cee714d0c94",
"msg": [3, 12, 2, 2, 11, 8, 6, 6, 6, 6, 12, 5, 3, 10, 13, 14, 15, 13, 0, 12, 2, 5, 6, 15, 10, 11, 0, 6, 10, 2, 2, 11],
"ct": [15, 3, 13, 0, 6, 3, 0, 11, 6, 11, 0, 13, 4, 0, 2, 14, 9, 7, 10, 8, 2, 15, 0, 8, 9, 2, 5, 9, 14, 11, 0, 12],
"result": "valid"
},
{
"tcId": 2566,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b7cf2923ee46df51f5adb4b3e3f95fd973ce88550592934f",
"tweak": "bec66b014709b6e2",
"msg": [-1, 5, 11, 0, 2, 5, 2, 3, 15, 5, 5, 7, 2, 3, 14, 8, 8, 14, 8, 11, 11, 15, 2, 1, 12, 2, 6, 5, 2, 8, 8, 0],
"ct": [10, 11, 13, 5, 7, 2, 8, 13, 5, 2, 2, 12, 5, 4, 4, 3, 7, 4, 8, 11, 0, 15, 2, 5, 6, 14, 10, 3, 5, 5, 7, 13],
"result": "invalid"
},
{
"tcId": 2567,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b7cf2923ee46df51f5adb4b3e3f95fd973ce88550592934f",
"tweak": "bec66b014709b6e2",
"msg": [8, 5, 11, 0, 2, 5, 2, 3, 15, 5, -1, 7, 2, 3, 14, 8, 8, 14, 8, 11, 11, 15, 2, 1, 12, 2, 6, 5, 2, 8, 8, 0],
"ct": [6, 3, 2, 12, 12, 7, 0, 14, 15, 10, 15, 5, 5, 1, 9, 1, 7, 3, 11, 11, 5, 10, 1, 13, 2, 3, 12, 8, 11, 3, 6, 4],
"result": "invalid"
},
{
"tcId": 2568,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b7cf2923ee46df51f5adb4b3e3f95fd973ce88550592934f",
"tweak": "bec66b014709b6e2",
"msg": [8, 5, 11, 0, 2, 5, 2, 3, 15, 5, 5, 7, 2, 3, 14, 8, 8, 14, 8, 11, 11, 15, 2, 1, 12, 2, 6, 5, 2, 8, 8, -1],
"ct": [2, 13, 1, 2, 3, 9, 15, 0, 12, 7, 12, 14, 0, 2, 4, 0, 9, 15, 1, 4, 12, 12, 14, 15, 4, 8, 15, 8, 8, 0, 13, 6],
"result": "invalid"
},
{
"tcId": 2569,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9958e538c145b2d852f55743c3144a8e4f437b53ddb41eaf",
"tweak": "5e9ddf24ef13d65d",
"msg": [16, 8, 14, 6, 0, 1, 7, 8, 11, 11, 10, 14, 11, 2, 3, 5, 12, 0, 9, 9, 12, 4, 11, 1, 1, 15, 13, 6, 15, 2, 6, 3],
"ct": [2, 7, 7, 9, 6, 12, 14, 13, 14, 11, 5, 15, 10, 12, 11, 8, 12, 10, 3, 7, 8, 7, 12, 1, 4, 6, 4, 0, 14, 6, 8, 9],
"result": "invalid"
},
{
"tcId": 2570,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9958e538c145b2d852f55743c3144a8e4f437b53ddb41eaf",
"tweak": "5e9ddf24ef13d65d",
"msg": [8, 8, 14, 6, 0, 1, 7, 8, 11, 11, 16, 14, 11, 2, 3, 5, 12, 0, 9, 9, 12, 4, 11, 1, 1, 15, 13, 6, 15, 2, 6, 3],
"ct": [12, 7, 3, 0, 5, 11, 3, 12, 3, 13, 2, 1, 0, 8, 10, 14, 4, 2, 4, 14, 7, 15, 2, 7, 12, 12, 4, 11, 7, 9, 6, 10],
"result": "invalid"
},
{
"tcId": 2571,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9958e538c145b2d852f55743c3144a8e4f437b53ddb41eaf",
"tweak": "5e9ddf24ef13d65d",
"msg": [8, 8, 14, 6, 0, 1, 7, 8, 11, 11, 10, 14, 11, 2, 3, 5, 12, 0, 9, 9, 12, 4, 11, 1, 1, 15, 13, 6, 15, 2, 6, 16],
"ct": [8, 13, 11, 13, 1, 9, 11, 6, 6, 9, 2, 3, 7, 6, 2, 7, 5, 12, 12, 13, 13, 5, 2, 4, 15, 2, 10, 13, 0, 3, 11, 2],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 5,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2572,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "7b533301e6a7ac808d56cba45eb385cafec081eac871832d6936e40dfdac432e",
"tweak": "3a8c315a81fe2e71",
"msg": [11, 12, 5, 9, 5],
"ct": [9, 6, 11, 9, 0],
"result": "valid"
},
{
"tcId": 2573,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [0, 0, 0, 0, 0],
"ct": [8, 15, 6, 15, 8],
"result": "valid"
},
{
"tcId": 2574,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [15, 15, 15, 15, 15],
"ct": [6, 1, 3, 9, 9],
"result": "valid"
},
{
"tcId": 2575,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [8, 0, 8, 0, 0],
"ct": [9, 13, 3, 11, 15],
"result": "valid"
},
{
"tcId": 2576,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [7, 15, 7, 15, 15],
"ct": [5, 8, 11, 3, 0],
"result": "valid"
},
{
"tcId": 2577,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [9, 10, 5, 12, 15],
"ct": [4, 13, 7, 8, 9],
"result": "valid"
},
{
"tcId": 2578,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [7, 14, 7, 1, 2],
"ct": [11, 4, 2, 11, 12],
"result": "valid"
},
{
"tcId": 2579,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [3, 3, 1, 3, 13],
"ct": [6, 15, 3, 8, 5],
"result": "valid"
},
{
"tcId": 2580,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [6, 4, 13, 3, 11],
"ct": [0, 11, 13, 6, 15],
"result": "valid"
},
{
"tcId": 2581,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [1, 5, 0, 14, 4],
"ct": [12, 5, 12, 5, 14],
"result": "valid"
},
{
"tcId": 2582,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [1, 2, 11, 9, 3],
"ct": [4, 2, 15, 3, 3],
"result": "valid"
},
{
"tcId": 2583,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [5, 0, 9, 2, 9],
"ct": [13, 12, 13, 0, 15],
"result": "valid"
},
{
"tcId": 2584,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [2, 4, 1, 8, 15],
"ct": [13, 2, 15, 4, 4],
"result": "valid"
},
{
"tcId": 2585,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [1, 3, 6, 13, 4],
"ct": [0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2586,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [10, 3, 8, 8, 15],
"ct": [15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2587,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [9, 7, 1, 10, 3],
"ct": [8, 0, 8, 0, 0],
"result": "valid"
},
{
"tcId": 2588,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [1, 5, 8, 12, 6],
"ct": [7, 15, 7, 15, 15],
"result": "valid"
},
{
"tcId": 2589,
"comment": "y = 0 and (y + a) % radix**2 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "03f986e458420a22f63a5ec0b1",
"msg": [0, 7, 3, 14, 5],
"ct": [2, 10, 2, 0, 13],
"result": "valid"
},
{
"tcId": 2590,
"comment": "y = 0 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "03f986e458420a22f63a5ec0b1",
"msg": [2, 8, 2, 15, 1],
"ct": [1, 14, 14, 6, 1],
"result": "valid"
},
{
"tcId": 2591,
"comment": "y = 0 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "03f986e458420a22f63a5ec0b1",
"msg": [4, 0, 1, 5, 15],
"ct": [12, 9, 12, 12, 15],
"result": "valid"
},
{
"tcId": 2592,
"comment": "y = 0 and (y + a) % radix**2 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "03f986e458420a22f63a5ec0b1",
"msg": [10, 6, 12, 3, 0],
"ct": [6, 6, 10, 15, 12],
"result": "valid"
},
{
"tcId": 2593,
"comment": "y is maximal and (y + a) % radix**2 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "00812dc827d4986b7c5b747a67",
"msg": [10, 9, 15, 15, 3],
"ct": [11, 0, 11, 5, 5],
"result": "valid"
},
{
"tcId": 2594,
"comment": "y is maximal and (y + a) % radix**2 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "00812dc827d4986b7c5b747a67",
"msg": [3, 3, 4, 0, 0],
"ct": [4, 3, 3, 8, 8],
"result": "valid"
},
{
"tcId": 2595,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "00812dc827d4986b7c5b747a67",
"msg": [3, 13, 5, 0, 2],
"ct": [2, 5, 3, 15, 2],
"result": "valid"
},
{
"tcId": 2596,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "00812dc827d4986b7c5b747a67",
"msg": [0, 3, 6, 1, 9],
"ct": [1, 10, 6, 4, 3],
"result": "valid"
},
{
"tcId": 2597,
"comment": "y is edge case for modular reduction and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "af9027b0cbf606adda131b6b66",
"msg": [6, 15, 8, 12, 7],
"ct": [11, 2, 11, 1, 9],
"result": "valid"
},
{
"tcId": 2598,
"comment": "y is edge case for modular reduction and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "af9027b0cbf606adda131b6b66",
"msg": [6, 9, 14, 0, 7],
"ct": [12, 4, 8, 5, 10],
"result": "valid"
},
{
"tcId": 2599,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "af9027b0cbf606adda131b6b66",
"msg": [4, 3, 10, 3, 8],
"ct": [1, 15, 14, 3, 15],
"result": "valid"
},
{
"tcId": 2600,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "af9027b0cbf606adda131b6b66",
"msg": [15, 9, 5, 3, 3],
"ct": [14, 6, 7, 15, 13],
"result": "valid"
},
{
"tcId": 2601,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "af9027b0cbf606adda131b6b66",
"msg": [1, 8, 15, 8, 11],
"ct": [10, 3, 14, 13, 1],
"result": "valid"
},
{
"tcId": 2602,
"comment": "y is edge case for modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "af9027b0cbf606adda131b6b66",
"msg": [6, 1, 4, 4, 5],
"ct": [7, 6, 15, 12, 4],
"result": "valid"
},
{
"tcId": 2603,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "bc084d62539fbace948673b1eb",
"msg": [11, 13, 5, 10, 12],
"ct": [15, 13, 1, 13, 3],
"result": "valid"
},
{
"tcId": 2604,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "bc084d62539fbace948673b1eb",
"msg": [0, 0, 12, 3, 12],
"ct": [7, 9, 7, 11, 0],
"result": "valid"
},
{
"tcId": 2605,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "bc084d62539fbace948673b1eb",
"msg": [4, 8, 7, 13, 0],
"ct": [6, 13, 11, 8, 2],
"result": "valid"
},
{
"tcId": 2606,
"comment": "y is maximal after modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "bc084d62539fbace948673b1eb",
"msg": [9, 6, 4, 5, 12],
"ct": [3, 10, 10, 11, 11],
"result": "valid"
},
{
"tcId": 2607,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870",
"tweak": "b69e51a606729a69",
"msg": [-1, 13, 9, 12, 8],
"ct": [4, 13, 3, 1, 0],
"result": "invalid"
},
{
"tcId": 2608,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870",
"tweak": "b69e51a606729a69",
"msg": [4, -1, 9, 12, 8],
"ct": [2, 11, 14, 0, 11],
"result": "invalid"
},
{
"tcId": 2609,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870",
"tweak": "b69e51a606729a69",
"msg": [4, 13, 9, 12, -1],
"ct": [9, 13, 3, 2, 10],
"result": "invalid"
},
{
"tcId": 2610,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "69f21504b9fab11d15b2ac201fefc271add76a2904daeb6b241bb650906591c7",
"tweak": "528ebf511aff92fd",
"msg": [16, 0, 15, 15, 15],
"ct": [1, 0, 10, 15, 4],
"result": "invalid"
},
{
"tcId": 2611,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "69f21504b9fab11d15b2ac201fefc271add76a2904daeb6b241bb650906591c7",
"tweak": "528ebf511aff92fd",
"msg": [9, 16, 15, 15, 15],
"ct": [4, 1, 14, 13, 11],
"result": "invalid"
},
{
"tcId": 2612,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "69f21504b9fab11d15b2ac201fefc271add76a2904daeb6b241bb650906591c7",
"tweak": "528ebf511aff92fd",
"msg": [9, 0, 15, 15, 16],
"ct": [13, 8, 12, 8, 14],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 6,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2613,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "d82810eea883aa693dafbad9520a23919e6d5eadef78b28226daca2af64a68e5",
"tweak": "44bbec52bad40a55",
"msg": [1, 1, 11, 1, 3, 4],
"ct": [14, 6, 9, 13, 14, 7],
"result": "valid"
},
{
"tcId": 2614,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [0, 0, 0, 0, 0, 0],
"ct": [15, 10, 2, 2, 11, 8],
"result": "valid"
},
{
"tcId": 2615,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [15, 15, 15, 15, 15, 15],
"ct": [3, 6, 15, 15, 7, 6],
"result": "valid"
},
{
"tcId": 2616,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [8, 0, 0, 8, 0, 0],
"ct": [13, 4, 15, 11, 9, 11],
"result": "valid"
},
{
"tcId": 2617,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [7, 15, 15, 7, 15, 15],
"ct": [2, 9, 11, 11, 13, 4],
"result": "valid"
},
{
"tcId": 2618,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [5, 4, 8, 7, 4, 2],
"ct": [9, 4, 14, 0, 15, 15],
"result": "valid"
},
{
"tcId": 2619,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [9, 8, 7, 1, 0, 4],
"ct": [7, 3, 14, 10, 6, 4],
"result": "valid"
},
{
"tcId": 2620,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [2, 7, 0, 8, 12, 9],
"ct": [4, 0, 14, 2, 10, 13],
"result": "valid"
},
{
"tcId": 2621,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [14, 5, 14, 8, 9, 11],
"ct": [9, 15, 2, 8, 0, 8],
"result": "valid"
},
{
"tcId": 2622,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [0, 11, 2, 0, 4, 9],
"ct": [14, 9, 5, 6, 6, 6],
"result": "valid"
},
{
"tcId": 2623,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [13, 0, 6, 5, 1, 0],
"ct": [10, 3, 0, 0, 9, 7],
"result": "valid"
},
{
"tcId": 2624,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [15, 8, 2, 7, 12, 10],
"ct": [2, 4, 7, 12, 7, 9],
"result": "valid"
},
{
"tcId": 2625,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [0, 2, 3, 14, 2, 7],
"ct": [0, 5, 11, 8, 4, 3],
"result": "valid"
},
{
"tcId": 2626,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [9, 13, 11, 9, 11, 13],
"ct": [0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2627,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [15, 13, 10, 3, 12, 13],
"ct": [15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2628,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [4, 7, 15, 7, 1, 14],
"ct": [8, 0, 0, 8, 0, 0],
"result": "valid"
},
{
"tcId": 2629,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [0, 5, 3, 11, 5, 10],
"ct": [7, 15, 15, 7, 15, 15],
"result": "valid"
},
{
"tcId": 2630,
"comment": "y = 0 and (y + a) % radix**3 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "77bb8c751da66b7477ae872def",
"msg": [0, 3, 11, 13, 11, 7],
"ct": [14, 0, 10, 1, 12, 2],
"result": "valid"
},
{
"tcId": 2631,
"comment": "y = 0 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "77bb8c751da66b7477ae872def",
"msg": [3, 9, 8, 6, 3, 7],
"ct": [6, 9, 8, 15, 0, 11],
"result": "valid"
},
{
"tcId": 2632,
"comment": "y = 0 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "77bb8c751da66b7477ae872def",
"msg": [1, 10, 2, 10, 12, 0],
"ct": [7, 15, 14, 1, 0, 4],
"result": "valid"
},
{
"tcId": 2633,
"comment": "y = 0 and (y + a) % radix**3 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "77bb8c751da66b7477ae872def",
"msg": [12, 12, 15, 11, 1, 0],
"ct": [6, 5, 15, 9, 14, 13],
"result": "valid"
},
{
"tcId": 2634,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "4f8403fd413014168de9d18bd9",
"msg": [5, 14, 13, 0, 7, 15],
"ct": [2, 6, 3, 6, 6, 14],
"result": "valid"
},
{
"tcId": 2635,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "4f8403fd413014168de9d18bd9",
"msg": [8, 8, 14, 9, 10, 15],
"ct": [5, 7, 4, 12, 1, 5],
"result": "valid"
},
{
"tcId": 2636,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "4f8403fd413014168de9d18bd9",
"msg": [0, 14, 11, 8, 13, 2],
"ct": [10, 6, 6, 3, 7, 14],
"result": "valid"
},
{
"tcId": 2637,
"comment": "y = 1 and (y + a) % radix**3 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "4f8403fd413014168de9d18bd9",
"msg": [3, 3, 6, 5, 0, 0],
"ct": [15, 6, 3, 5, 7, 3],
"result": "valid"
},
{
"tcId": 2638,
"comment": "y = 1 and (y + a) % radix**3 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "4f8403fd413014168de9d18bd9",
"msg": [3, 3, 0, 5, 11, 4],
"ct": [9, 0, 6, 2, 10, 6],
"result": "valid"
},
{
"tcId": 2639,
"comment": "y is maximal and (y + a) % radix**3 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "68646c322dc98736108690b81d",
"msg": [7, 12, 4, 6, 13, 15],
"ct": [6, 5, 3, 4, 3, 10],
"result": "valid"
},
{
"tcId": 2640,
"comment": "y is maximal and (y + a) % radix**3 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "68646c322dc98736108690b81d",
"msg": [12, 8, 8, 2, 13, 14],
"ct": [2, 1, 13, 4, 3, 0],
"result": "valid"
},
{
"tcId": 2641,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "68646c322dc98736108690b81d",
"msg": [2, 6, 14, 4, 3, 1],
"ct": [9, 6, 4, 8, 0, 12],
"result": "valid"
},
{
"tcId": 2642,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "68646c322dc98736108690b81d",
"msg": [12, 13, 3, 1, 5, 1],
"ct": [6, 4, 0, 15, 10, 13],
"result": "valid"
},
{
"tcId": 2643,
"comment": "y is edge case for modular reduction and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "6abfc07204afe480c75aceb3ea",
"msg": [1, 1, 10, 0, 0, 0],
"ct": [5, 4, 8, 8, 13, 9],
"result": "valid"
},
{
"tcId": 2644,
"comment": "y is edge case for modular reduction and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "6abfc07204afe480c75aceb3ea",
"msg": [7, 7, 10, 0, 0, 1],
"ct": [0, 1, 11, 10, 4, 4],
"result": "valid"
},
{
"tcId": 2645,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "6abfc07204afe480c75aceb3ea",
"msg": [5, 11, 12, 0, 0, 15],
"ct": [0, 8, 13, 4, 8, 5],
"result": "valid"
},
{
"tcId": 2646,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "6abfc07204afe480c75aceb3ea",
"msg": [3, 15, 7, 0, 1, 0],
"ct": [2, 12, 14, 7, 14, 11],
"result": "valid"
},
{
"tcId": 2647,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "6abfc07204afe480c75aceb3ea",
"msg": [14, 0, 8, 8, 0, 0],
"ct": [14, 15, 15, 7, 14, 12],
"result": "valid"
},
{
"tcId": 2648,
"comment": "y is edge case for modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "6abfc07204afe480c75aceb3ea",
"msg": [7, 6, 7, 15, 15, 15],
"ct": [15, 10, 12, 9, 4, 10],
"result": "valid"
},
{
"tcId": 2649,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "6fcd64ba8fe84abb84ce5d7915",
"msg": [5, 7, 1, 1, 4, 14],
"ct": [2, 10, 12, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2650,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "6fcd64ba8fe84abb84ce5d7915",
"msg": [13, 5, 2, 8, 4, 12],
"ct": [2, 10, 12, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2651,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "6fcd64ba8fe84abb84ce5d7915",
"msg": [12, 14, 5, 5, 15, 8],
"ct": [2, 10, 12, 7, 15, 15],
"result": "valid"
},
{
"tcId": 2652,
"comment": "y is maximal after modular reduction and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "6fcd64ba8fe84abb84ce5d7915",
"msg": [14, 12, 12, 9, 1, 2],
"ct": [2, 10, 12, 15, 15, 14],
"result": "valid"
},
{
"tcId": 2653,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215",
"tweak": "bf692e602f57a277",
"msg": [-1, 15, 6, 10, 5, 11],
"ct": [9, 1, 13, 4, 15, 1],
"result": "invalid"
},
{
"tcId": 2654,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215",
"tweak": "bf692e602f57a277",
"msg": [10, 15, -1, 10, 5, 11],
"ct": [14, 9, 5, 8, 7, 4],
"result": "invalid"
},
{
"tcId": 2655,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215",
"tweak": "bf692e602f57a277",
"msg": [10, 15, 6, 10, 5, -1],
"ct": [6, 4, 12, 7, 5, 3],
"result": "invalid"
},
{
"tcId": 2656,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "130cbb1d60948bc871176ccaaa57dbda6e21d5ea0e5c97557baf2cf524b96bf6",
"tweak": "7601b0148c5854ed",
"msg": [16, 7, 5, 13, 10, 9],
"ct": [11, 11, 9, 1, 8, 0],
"result": "invalid"
},
{
"tcId": 2657,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "130cbb1d60948bc871176ccaaa57dbda6e21d5ea0e5c97557baf2cf524b96bf6",
"tweak": "7601b0148c5854ed",
"msg": [0, 7, 16, 13, 10, 9],
"ct": [6, 14, 11, 12, 8, 1],
"result": "invalid"
},
{
"tcId": 2658,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "130cbb1d60948bc871176ccaaa57dbda6e21d5ea0e5c97557baf2cf524b96bf6",
"tweak": "7601b0148c5854ed",
"msg": [0, 7, 5, 13, 10, 16],
"ct": [14, 11, 12, 9, 4, 9],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 7,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2659,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "647b69567516a585377f3fc9a8129c255431b0b5ab6792f9aa3fd646f3146b13",
"tweak": "39774b45a4fdd85b",
"msg": [1, 14, 11, 10, 13, 11, 2],
"ct": [3, 1, 11, 12, 3, 13, 13],
"result": "valid"
},
{
"tcId": 2660,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [0, 0, 0, 0, 0, 0, 0],
"ct": [7, 11, 4, 5, 0, 1, 14],
"result": "valid"
},
{
"tcId": 2661,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [15, 15, 15, 15, 15, 15, 15],
"ct": [3, 10, 12, 10, 6, 9, 1],
"result": "valid"
},
{
"tcId": 2662,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [8, 0, 0, 8, 0, 0, 0],
"ct": [6, 9, 3, 1, 4, 15, 9],
"result": "valid"
},
{
"tcId": 2663,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [7, 15, 15, 7, 15, 15, 15],
"ct": [2, 5, 2, 14, 2, 5, 2],
"result": "valid"
},
{
"tcId": 2664,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [11, 3, 7, 15, 11, 15, 1],
"ct": [10, 5, 9, 11, 1, 10, 5],
"result": "valid"
},
{
"tcId": 2665,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [2, 15, 4, 10, 10, 9, 13],
"ct": [15, 7, 14, 6, 14, 1, 5],
"result": "valid"
},
{
"tcId": 2666,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [13, 9, 7, 11, 15, 13, 15],
"ct": [12, 13, 11, 3, 15, 13, 4],
"result": "valid"
},
{
"tcId": 2667,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [5, 2, 1, 2, 14, 9, 3],
"ct": [14, 10, 2, 1, 0, 13, 10],
"result": "valid"
},
{
"tcId": 2668,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [2, 4, 7, 13, 7, 13, 4],
"ct": [6, 0, 14, 9, 5, 10, 10],
"result": "valid"
},
{
"tcId": 2669,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [3, 15, 2, 11, 10, 13, 13],
"ct": [11, 11, 14, 10, 6, 10, 2],
"result": "valid"
},
{
"tcId": 2670,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [0, 13, 8, 6, 7, 10, 13],
"ct": [7, 7, 1, 12, 14, 15, 15],
"result": "valid"
},
{
"tcId": 2671,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [10, 15, 14, 2, 6, 15, 12],
"ct": [1, 0, 4, 11, 1, 5, 13],
"result": "valid"
},
{
"tcId": 2672,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [5, 4, 4, 7, 15, 12, 4],
"ct": [0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2673,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [3, 10, 11, 3, 10, 13, 10],
"ct": [15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2674,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [5, 12, 0, 4, 6, 3, 1],
"ct": [8, 0, 0, 8, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2675,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [6, 13, 3, 2, 11, 7, 13],
"ct": [7, 15, 15, 7, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2676,
"comment": "y = 0 and (y + a) % radix**3 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "088fa048b1a9765ea352487bbc",
"msg": [0, 0, 0, 2, 0, 3, 6],
"ct": [14, 11, 1, 5, 10, 2, 2],
"result": "valid"
},
{
"tcId": 2677,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "088fa048b1a9765ea352487bbc",
"msg": [0, 0, 1, 2, 0, 3, 6],
"ct": [14, 0, 15, 0, 3, 13, 6],
"result": "valid"
},
{
"tcId": 2678,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "088fa048b1a9765ea352487bbc",
"msg": [8, 0, 0, 2, 0, 3, 6],
"ct": [7, 5, 13, 14, 13, 6, 12],
"result": "valid"
},
{
"tcId": 2679,
"comment": "y = 0 and (y + a) % radix**3 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "088fa048b1a9765ea352487bbc",
"msg": [15, 15, 15, 2, 0, 3, 6],
"ct": [4, 14, 13, 14, 0, 0, 7],
"result": "valid"
},
{
"tcId": 2680,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "4c02723a89918ada8ea77a372d",
"msg": [11, 9, 1, 1, 2, 0, 3],
"ct": [7, 1, 2, 4, 7, 12, 10],
"result": "valid"
},
{
"tcId": 2681,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "4c02723a89918ada8ea77a372d",
"msg": [10, 10, 8, 0, 6, 2, 3],
"ct": [12, 3, 7, 14, 12, 5, 15],
"result": "valid"
},
{
"tcId": 2682,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "4c02723a89918ada8ea77a372d",
"msg": [6, 10, 9, 14, 10, 0, 6],
"ct": [15, 2, 6, 8, 14, 6, 9],
"result": "valid"
},
{
"tcId": 2683,
"comment": "y = 1 and (y + a) % radix**3 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "4c02723a89918ada8ea77a372d",
"msg": [0, 0, 4, 15, 9, 10, 2],
"ct": [3, 5, 8, 4, 13, 15, 2],
"result": "valid"
},
{
"tcId": 2684,
"comment": "y = 1 and (y + a) % radix**3 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "4c02723a89918ada8ea77a372d",
"msg": [9, 4, 8, 9, 7, 5, 0],
"ct": [14, 12, 7, 0, 7, 7, 10],
"result": "valid"
},
{
"tcId": 2685,
"comment": "y is maximal and (y + a) % radix**3 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "373ba3d2a5966d0db1b89d46a7",
"msg": [14, 4, 10, 10, 6, 8, 4],
"ct": [3, 12, 14, 2, 5, 2, 10],
"result": "valid"
},
{
"tcId": 2686,
"comment": "y is maximal and (y + a) % radix**3 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "373ba3d2a5966d0db1b89d46a7",
"msg": [10, 4, 6, 13, 14, 15, 14],
"ct": [3, 2, 15, 0, 7, 1, 5],
"result": "valid"
},
{
"tcId": 2687,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "373ba3d2a5966d0db1b89d46a7",
"msg": [3, 6, 14, 13, 7, 9, 0],
"ct": [15, 13, 0, 2, 4, 8, 6],
"result": "valid"
},
{
"tcId": 2688,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "373ba3d2a5966d0db1b89d46a7",
"msg": [11, 5, 10, 8, 11, 12, 7],
"ct": [5, 11, 7, 3, 8, 6, 4],
"result": "valid"
},
{
"tcId": 2689,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "1f40c2ccd250ade78cab211045",
"msg": [0, 0, 0, 2, 11, 9, 11],
"ct": [7, 1, 4, 7, 14, 3, 15],
"result": "valid"
},
{
"tcId": 2690,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "1f40c2ccd250ade78cab211045",
"msg": [0, 0, 1, 2, 11, 9, 11],
"ct": [6, 2, 14, 13, 14, 15, 2],
"result": "valid"
},
{
"tcId": 2691,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "1f40c2ccd250ade78cab211045",
"msg": [0, 0, 15, 2, 11, 9, 11],
"ct": [6, 15, 8, 12, 11, 10, 4],
"result": "valid"
},
{
"tcId": 2692,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "1f40c2ccd250ade78cab211045",
"msg": [0, 1, 0, 2, 11, 9, 11],
"ct": [1, 7, 3, 2, 4, 10, 0],
"result": "valid"
},
{
"tcId": 2693,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "1f40c2ccd250ade78cab211045",
"msg": [8, 0, 0, 2, 11, 9, 11],
"ct": [14, 4, 12, 14, 2, 6, 10],
"result": "valid"
},
{
"tcId": 2694,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "1f40c2ccd250ade78cab211045",
"msg": [15, 15, 15, 2, 11, 9, 11],
"ct": [4, 8, 12, 1, 5, 0, 11],
"result": "valid"
},
{
"tcId": 2695,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "ca97479d240b6a314162f07190",
"msg": [10, 13, 12, 13, 6, 12, 14],
"ct": [1, 2, 14, 3, 2, 9, 12],
"result": "valid"
},
{
"tcId": 2696,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "ca97479d240b6a314162f07190",
"msg": [0, 8, 1, 9, 10, 3, 9],
"ct": [6, 15, 5, 10, 0, 5, 2],
"result": "valid"
},
{
"tcId": 2697,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "ca97479d240b6a314162f07190",
"msg": [6, 1, 6, 14, 9, 3, 7],
"ct": [6, 0, 5, 3, 0, 4, 13],
"result": "valid"
},
{
"tcId": 2698,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "ca97479d240b6a314162f07190",
"msg": [14, 1, 9, 14, 13, 10, 12],
"ct": [14, 5, 0, 10, 12, 11, 14],
"result": "valid"
},
{
"tcId": 2699,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac",
"tweak": "c5df6cad17b46d67",
"msg": [-1, 15, 2, 13, 7, 1, 6],
"ct": [15, 13, 13, 7, 2, 10, 3],
"result": "invalid"
},
{
"tcId": 2700,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac",
"tweak": "c5df6cad17b46d67",
"msg": [11, 15, -1, 13, 7, 1, 6],
"ct": [0, 7, 11, 14, 2, 6, 13],
"result": "invalid"
},
{
"tcId": 2701,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac",
"tweak": "c5df6cad17b46d67",
"msg": [11, 15, 2, 13, 7, 1, -1],
"ct": [12, 2, 15, 6, 11, 9, 8],
"result": "invalid"
},
{
"tcId": 2702,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "18f247add9c62b7b52cef7c3a2ed45553427f4259bd0230938036653baf94e12",
"tweak": "e938a5a740a3b65c",
"msg": [16, 1, 2, 14, 15, 1, 0],
"ct": [12, 15, 3, 2, 4, 1, 7],
"result": "invalid"
},
{
"tcId": 2703,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "18f247add9c62b7b52cef7c3a2ed45553427f4259bd0230938036653baf94e12",
"tweak": "e938a5a740a3b65c",
"msg": [9, 1, 16, 14, 15, 1, 0],
"ct": [15, 8, 3, 1, 14, 5, 9],
"result": "invalid"
},
{
"tcId": 2704,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "18f247add9c62b7b52cef7c3a2ed45553427f4259bd0230938036653baf94e12",
"tweak": "e938a5a740a3b65c",
"msg": [9, 1, 2, 14, 15, 1, 16],
"ct": [11, 6, 13, 9, 9, 6, 1],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 8,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2705,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "066c6a83fd826a5fa7f3b4025bb9c833befa12044d3fbed87280a4c7a0435b03",
"tweak": "80650ae5bc5e1bb1",
"msg": [7, 6, 10, 12, 1, 3, 5, 14],
"ct": [11, 9, 12, 5, 12, 6, 0, 10],
"result": "valid"
},
{
"tcId": 2706,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [0, 0, 0, 0, 0, 0, 0, 0],
"ct": [14, 5, 10, 7, 7, 1, 11, 13],
"result": "valid"
},
{
"tcId": 2707,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [15, 15, 15, 15, 15, 15, 15, 15],
"ct": [9, 0, 15, 6, 12, 7, 3, 14],
"result": "valid"
},
{
"tcId": 2708,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [8, 0, 0, 0, 8, 0, 0, 0],
"ct": [1, 4, 9, 11, 12, 10, 6, 3],
"result": "valid"
},
{
"tcId": 2709,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [7, 15, 15, 15, 7, 15, 15, 15],
"ct": [2, 8, 9, 14, 11, 3, 8, 12],
"result": "valid"
},
{
"tcId": 2710,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [4, 0, 6, 7, 15, 6, 2, 4],
"ct": [4, 9, 8, 13, 5, 15, 15, 13],
"result": "valid"
},
{
"tcId": 2711,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [6, 7, 1, 12, 10, 15, 2, 8],
"ct": [1, 2, 7, 5, 2, 1, 9, 6],
"result": "valid"
},
{
"tcId": 2712,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [13, 12, 11, 5, 14, 8, 11, 12],
"ct": [11, 4, 6, 12, 12, 6, 12, 1],
"result": "valid"
},
{
"tcId": 2713,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [2, 13, 15, 2, 4, 11, 8, 12],
"ct": [12, 12, 11, 12, 9, 0, 3, 15],
"result": "valid"
},
{
"tcId": 2714,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [3, 4, 10, 5, 6, 11, 7, 7],
"ct": [11, 8, 15, 3, 5, 0, 3, 8],
"result": "valid"
},
{
"tcId": 2715,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [14, 1, 15, 8, 5, 6, 2, 0],
"ct": [5, 8, 1, 2, 1, 2, 15, 10],
"result": "valid"
},
{
"tcId": 2716,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [13, 9, 11, 13, 7, 2, 8, 9],
"ct": [11, 5, 15, 8, 10, 8, 4, 10],
"result": "valid"
},
{
"tcId": 2717,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [3, 14, 7, 14, 6, 4, 1, 3],
"ct": [12, 8, 10, 10, 13, 13, 7, 0],
"result": "valid"
},
{
"tcId": 2718,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [15, 10, 1, 8, 11, 7, 7, 15],
"ct": [0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2719,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [2, 6, 3, 5, 10, 4, 14, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2720,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [5, 2, 11, 2, 10, 6, 6, 11],
"ct": [8, 0, 0, 0, 8, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2721,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [0, 10, 3, 0, 4, 14, 9, 13],
"ct": [7, 15, 15, 15, 7, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2722,
"comment": "y = 0 and (y + a) % radix**4 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "290d3c50cd654262cb0ed3b529",
"msg": [13, 1, 6, 3, 3, 5, 13, 0],
"ct": [1, 15, 15, 4, 0, 5, 4, 11],
"result": "valid"
},
{
"tcId": 2723,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "290d3c50cd654262cb0ed3b529",
"msg": [2, 4, 11, 1, 11, 0, 3, 15],
"ct": [10, 3, 2, 11, 15, 0, 0, 4],
"result": "valid"
},
{
"tcId": 2724,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "290d3c50cd654262cb0ed3b529",
"msg": [13, 1, 1, 8, 8, 5, 7, 2],
"ct": [7, 13, 13, 13, 11, 15, 0, 9],
"result": "valid"
},
{
"tcId": 2725,
"comment": "y = 0 and (y + a) % radix**4 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "290d3c50cd654262cb0ed3b529",
"msg": [1, 3, 10, 13, 0, 3, 6, 15],
"ct": [0, 0, 15, 12, 12, 14, 7, 4],
"result": "valid"
},
{
"tcId": 2726,
"comment": "y = 1 and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "47ddd019cc5d08378c2ed09b34",
"msg": [1, 8, 2, 3, 12, 8, 9, 12],
"ct": [13, 2, 8, 10, 2, 10, 8, 14],
"result": "valid"
},
{
"tcId": 2727,
"comment": "y = 1 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "47ddd019cc5d08378c2ed09b34",
"msg": [2, 2, 14, 11, 7, 13, 6, 6],
"ct": [11, 5, 2, 4, 5, 7, 1, 4],
"result": "valid"
},
{
"tcId": 2728,
"comment": "y = 1 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "47ddd019cc5d08378c2ed09b34",
"msg": [11, 1, 2, 3, 12, 12, 1, 2],
"ct": [0, 15, 4, 13, 0, 11, 0, 9],
"result": "valid"
},
{
"tcId": 2729,
"comment": "y = 1 and (y + a) % radix**4 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "47ddd019cc5d08378c2ed09b34",
"msg": [5, 14, 8, 5, 13, 3, 10, 15],
"ct": [15, 14, 13, 0, 12, 5, 15, 10],
"result": "valid"
},
{
"tcId": 2730,
"comment": "y = 1 and (y + a) % radix**4 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "47ddd019cc5d08378c2ed09b34",
"msg": [1, 3, 3, 15, 4, 3, 7, 13],
"ct": [11, 2, 2, 10, 4, 2, 0, 9],
"result": "valid"
},
{
"tcId": 2731,
"comment": "y is maximal and (y + a) % radix**4 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "c19827ca86d927dac947c5a1c0",
"msg": [0, 8, 4, 5, 8, 3, 4, 8],
"ct": [15, 15, 15, 15, 6, 13, 6, 0],
"result": "valid"
},
{
"tcId": 2732,
"comment": "y is maximal and (y + a) % radix**4 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "c19827ca86d927dac947c5a1c0",
"msg": [9, 15, 9, 0, 14, 1, 11, 15],
"ct": [0, 0, 0, 0, 12, 10, 0, 5],
"result": "valid"
},
{
"tcId": 2733,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "c19827ca86d927dac947c5a1c0",
"msg": [10, 11, 7, 7, 11, 4, 7, 10],
"ct": [7, 15, 15, 15, 12, 5, 7, 7],
"result": "valid"
},
{
"tcId": 2734,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "c19827ca86d927dac947c5a1c0",
"msg": [2, 6, 10, 3, 6, 1, 9, 4],
"ct": [15, 15, 15, 14, 11, 9, 13, 2],
"result": "valid"
},
{
"tcId": 2735,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "b70d830fcbd5873f94f7c12594",
"msg": [13, 11, 7, 5, 4, 8, 3, 6],
"ct": [3, 12, 13, 12, 10, 12, 4, 11],
"result": "valid"
},
{
"tcId": 2736,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "b70d830fcbd5873f94f7c12594",
"msg": [11, 14, 10, 7, 8, 8, 7, 9],
"ct": [0, 10, 4, 6, 9, 0, 6, 14],
"result": "valid"
},
{
"tcId": 2737,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "b70d830fcbd5873f94f7c12594",
"msg": [15, 4, 4, 10, 8, 15, 2, 9],
"ct": [15, 14, 6, 8, 10, 14, 7, 3],
"result": "valid"
},
{
"tcId": 2738,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "b70d830fcbd5873f94f7c12594",
"msg": [8, 3, 0, 3, 15, 2, 1, 14],
"ct": [12, 14, 13, 12, 0, 9, 12, 5],
"result": "valid"
},
{
"tcId": 2739,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "b70d830fcbd5873f94f7c12594",
"msg": [10, 3, 5, 9, 13, 4, 3, 8],
"ct": [11, 12, 11, 12, 5, 3, 11, 3],
"result": "valid"
},
{
"tcId": 2740,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "b70d830fcbd5873f94f7c12594",
"msg": [2, 3, 2, 7, 2, 12, 7, 10],
"ct": [5, 1, 15, 6, 5, 8, 9, 10],
"result": "valid"
},
{
"tcId": 2741,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "cadf49c1e51aa06f9bbb92079b",
"msg": [1, 4, 4, 15, 9, 14, 5, 0],
"ct": [8, 4, 13, 9, 12, 10, 14, 6],
"result": "valid"
},
{
"tcId": 2742,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "cadf49c1e51aa06f9bbb92079b",
"msg": [0, 2, 10, 6, 2, 13, 1, 14],
"ct": [6, 10, 1, 1, 9, 7, 9, 10],
"result": "valid"
},
{
"tcId": 2743,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "cadf49c1e51aa06f9bbb92079b",
"msg": [14, 0, 2, 10, 0, 7, 7, 13],
"ct": [15, 2, 1, 2, 13, 3, 11, 3],
"result": "valid"
},
{
"tcId": 2744,
"comment": "y is maximal after modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "cadf49c1e51aa06f9bbb92079b",
"msg": [15, 9, 4, 11, 5, 1, 10, 12],
"ct": [12, 6, 8, 9, 8, 15, 12, 6],
"result": "valid"
},
{
"tcId": 2745,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882",
"tweak": "55d9bf63cd98d552",
"msg": [-1, 9, 0, 3, 4, 14, 13, 11],
"ct": [8, 11, 5, 6, 9, 5, 14, 13],
"result": "invalid"
},
{
"tcId": 2746,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882",
"tweak": "55d9bf63cd98d552",
"msg": [5, 9, -1, 3, 4, 14, 13, 11],
"ct": [5, 0, 9, 0, 6, 9, 8, 13],
"result": "invalid"
},
{
"tcId": 2747,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882",
"tweak": "55d9bf63cd98d552",
"msg": [5, 9, 0, 3, 4, 14, 13, -1],
"ct": [11, 10, 14, 12, 4, 14, 1, 4],
"result": "invalid"
},
{
"tcId": 2748,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "afccb82e489e439bfd892232b7b09040a3628fd8a8f7c7939327e61f71a42822",
"tweak": "6e14ebe5d716ff4b",
"msg": [16, 9, 8, 13, 9, 0, 5, 1],
"ct": [11, 0, 9, 7, 0, 0, 4, 13],
"result": "invalid"
},
{
"tcId": 2749,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "afccb82e489e439bfd892232b7b09040a3628fd8a8f7c7939327e61f71a42822",
"tweak": "6e14ebe5d716ff4b",
"msg": [8, 9, 16, 13, 9, 0, 5, 1],
"ct": [15, 12, 7, 2, 5, 3, 10, 6],
"result": "invalid"
},
{
"tcId": 2750,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "afccb82e489e439bfd892232b7b09040a3628fd8a8f7c7939327e61f71a42822",
"tweak": "6e14ebe5d716ff4b",
"msg": [8, 9, 8, 13, 9, 0, 5, 16],
"ct": [8, 15, 8, 5, 9, 6, 0, 14],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 9,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2751,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "f44f1e998316e5fe6f5c6f8d89919428d692d931130409c41ba4955dfc4c8c14",
"tweak": "387c0277bb97fa8e",
"msg": [7, 13, 12, 10, 10, 2, 7, 2, 4],
"ct": [7, 4, 5, 8, 14, 9, 10, 11, 9],
"result": "valid"
},
{
"tcId": 2752,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 5, 8, 6, 6, 12, 10, 7, 1],
"result": "valid"
},
{
"tcId": 2753,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [4, 13, 1, 11, 14, 1, 10, 13, 11],
"result": "valid"
},
{
"tcId": 2754,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [8, 0, 0, 0, 8, 0, 0, 0, 0],
"ct": [5, 3, 12, 7, 6, 3, 3, 15, 1],
"result": "valid"
},
{
"tcId": 2755,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [7, 15, 15, 15, 7, 15, 15, 15, 15],
"ct": [11, 3, 5, 3, 4, 2, 14, 1, 11],
"result": "valid"
},
{
"tcId": 2756,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [8, 8, 13, 8, 8, 5, 10, 13, 10],
"ct": [10, 1, 0, 11, 6, 0, 5, 4, 1],
"result": "valid"
},
{
"tcId": 2757,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [5, 4, 14, 13, 5, 6, 12, 11, 8],
"ct": [0, 10, 15, 15, 10, 1, 6, 4, 8],
"result": "valid"
},
{
"tcId": 2758,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [15, 11, 6, 9, 10, 14, 15, 14, 14],
"ct": [2, 5, 9, 6, 14, 12, 6, 13, 9],
"result": "valid"
},
{
"tcId": 2759,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [15, 3, 0, 7, 9, 1, 3, 8, 0],
"ct": [3, 11, 15, 12, 0, 13, 3, 14, 11],
"result": "valid"
},
{
"tcId": 2760,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [0, 2, 8, 12, 6, 1, 4, 6, 10],
"ct": [12, 0, 9, 8, 12, 8, 13, 5, 1],
"result": "valid"
},
{
"tcId": 2761,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [0, 7, 5, 1, 3, 5, 5, 15, 11],
"ct": [3, 5, 3, 7, 4, 1, 9, 14, 5],
"result": "valid"
},
{
"tcId": 2762,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [10, 9, 10, 12, 6, 5, 15, 11, 0],
"ct": [5, 13, 4, 10, 11, 11, 12, 0, 10],
"result": "valid"
},
{
"tcId": 2763,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [11, 15, 8, 0, 7, 6, 10, 12, 0],
"ct": [8, 13, 10, 12, 12, 11, 0, 1, 11],
"result": "valid"
},
{
"tcId": 2764,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [14, 1, 14, 7, 12, 6, 8, 7, 4],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2765,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [14, 6, 4, 0, 8, 14, 7, 7, 11],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2766,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [10, 14, 2, 9, 12, 8, 1, 1, 9],
"ct": [8, 0, 0, 0, 8, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2767,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [5, 11, 0, 0, 0, 1, 2, 15, 9],
"ct": [7, 15, 15, 15, 7, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2768,
"comment": "y = 0 and (y + a) % radix**4 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "9e2d4a5c9cb73412101ab103",
"msg": [1, 6, 3, 1, 14, 12, 1, 1, 8],
"ct": [0, 0, 0, 0, 0, 8, 15, 10, 5],
"result": "valid"
},
{
"tcId": 2769,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "9e2d4a5c9cb73412101ab103",
"msg": [10, 5, 6, 7, 3, 5, 6, 13, 3],
"ct": [0, 0, 0, 1, 13, 12, 7, 1, 0],
"result": "valid"
},
{
"tcId": 2770,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "9e2d4a5c9cb73412101ab103",
"msg": [10, 10, 0, 8, 7, 2, 13, 3, 14],
"ct": [8, 0, 0, 0, 7, 12, 13, 1, 15],
"result": "valid"
},
{
"tcId": 2771,
"comment": "y = 0 and (y + a) % radix**4 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "9e2d4a5c9cb73412101ab103",
"msg": [3, 11, 8, 2, 4, 4, 3, 7, 10],
"ct": [15, 15, 15, 15, 12, 15, 15, 6, 5],
"result": "valid"
},
{
"tcId": 2772,
"comment": "y = 1 and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "1a2bea99b499aaa04d3f45fe",
"msg": [15, 11, 6, 12, 7, 10, 13, 4, 6],
"ct": [10, 9, 11, 1, 5, 7, 13, 15, 5],
"result": "valid"
},
{
"tcId": 2773,
"comment": "y = 1 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "1a2bea99b499aaa04d3f45fe",
"msg": [8, 1, 9, 13, 13, 7, 2, 3, 12],
"ct": [5, 7, 11, 7, 6, 4, 6, 0, 12],
"result": "valid"
},
{
"tcId": 2774,
"comment": "y = 1 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "1a2bea99b499aaa04d3f45fe",
"msg": [11, 12, 12, 12, 6, 0, 2, 0, 15],
"ct": [8, 13, 0, 7, 2, 7, 2, 13, 15],
"result": "valid"
},
{
"tcId": 2775,
"comment": "y = 1 and (y + a) % radix**5 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "1a2bea99b499aaa04d3f45fe",
"msg": [1, 9, 14, 1, 15, 0, 13, 1, 1],
"ct": [3, 15, 3, 0, 11, 13, 3, 6, 7],
"result": "valid"
},
{
"tcId": 2776,
"comment": "y = 1 and (y + a) % radix**5 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "1a2bea99b499aaa04d3f45fe",
"msg": [10, 1, 1, 10, 6, 2, 11, 13, 4],
"ct": [9, 12, 2, 15, 4, 5, 15, 12, 10],
"result": "valid"
},
{
"tcId": 2777,
"comment": "y is maximal and (y + a) % radix**4 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "aa27e885611c697bb394cd1f",
"msg": [6, 14, 2, 4, 3, 1, 1, 7, 6],
"ct": [15, 5, 5, 3, 4, 8, 13, 1, 5],
"result": "valid"
},
{
"tcId": 2778,
"comment": "y is maximal and (y + a) % radix**4 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "aa27e885611c697bb394cd1f",
"msg": [5, 7, 4, 5, 11, 13, 5, 11, 0],
"ct": [0, 10, 12, 15, 15, 4, 13, 8, 3],
"result": "valid"
},
{
"tcId": 2779,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "aa27e885611c697bb394cd1f",
"msg": [4, 10, 14, 12, 2, 15, 0, 8, 12],
"ct": [9, 12, 10, 1, 8, 2, 11, 10, 6],
"result": "valid"
},
{
"tcId": 2780,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "aa27e885611c697bb394cd1f",
"msg": [8, 9, 8, 5, 9, 4, 12, 1, 13],
"ct": [9, 15, 2, 11, 7, 9, 7, 7, 5],
"result": "valid"
},
{
"tcId": 2781,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "ad416b34c387631df2720d53",
"msg": [14, 9, 0, 14, 3, 10, 5, 8, 8],
"ct": [14, 9, 1, 13, 1, 3, 5, 8, 15],
"result": "valid"
},
{
"tcId": 2782,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "ad416b34c387631df2720d53",
"msg": [13, 4, 6, 2, 0, 7, 5, 0, 8],
"ct": [3, 12, 11, 12, 9, 5, 6, 10, 11],
"result": "valid"
},
{
"tcId": 2783,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "ad416b34c387631df2720d53",
"msg": [6, 8, 4, 5, 0, 7, 1, 3, 12],
"ct": [15, 8, 1, 5, 3, 11, 11, 12, 15],
"result": "valid"
},
{
"tcId": 2784,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31",
"tweak": "ad416b34c387631df2720d53",
"msg": [14, 3, 14, 14, 14, 13, 2, 12, 10],
"ct": [9, 5, 14, 6, 7, 2, 14, 4, 11],
"result": "valid"
},
{
"tcId": 2785,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0",
"tweak": "5aa849326a17e15a",
"msg": [-1, 14, 3, 0, 1, 12, 4, 1, 8],
"ct": [15, 0, 2, 5, 4, 12, 1, 15, 14],
"result": "invalid"
},
{
"tcId": 2786,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0",
"tweak": "5aa849326a17e15a",
"msg": [9, 14, 3, -1, 1, 12, 4, 1, 8],
"ct": [3, 15, 14, 15, 13, 2, 13, 1, 3],
"result": "invalid"
},
{
"tcId": 2787,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0",
"tweak": "5aa849326a17e15a",
"msg": [9, 14, 3, 0, 1, 12, 4, 1, -1],
"ct": [6, 15, 12, 10, 15, 4, 1, 15, 0],
"result": "invalid"
},
{
"tcId": 2788,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "546135ca3b74bf3c8e5ccf8aaf471e560f8be9470e82e187ee26d18d920545c4",
"tweak": "14bc2e939dd89bc9",
"msg": [16, 10, 0, 11, 15, 1, 14, 0, 4],
"ct": [1, 9, 6, 14, 11, 2, 6, 3, 0],
"result": "invalid"
},
{
"tcId": 2789,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "546135ca3b74bf3c8e5ccf8aaf471e560f8be9470e82e187ee26d18d920545c4",
"tweak": "14bc2e939dd89bc9",
"msg": [10, 10, 0, 16, 15, 1, 14, 0, 4],
"ct": [14, 14, 7, 6, 13, 14, 15, 14, 9],
"result": "invalid"
},
{
"tcId": 2790,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "546135ca3b74bf3c8e5ccf8aaf471e560f8be9470e82e187ee26d18d920545c4",
"tweak": "14bc2e939dd89bc9",
"msg": [10, 10, 0, 11, 15, 1, 14, 0, 16],
"ct": [13, 10, 5, 1, 1, 0, 5, 10, 9],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 10,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2791,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "267c361cd190db6be369183a3b1a71601103f958cd6b791112928244c9402939",
"tweak": "d00249da9e347109",
"msg": [4, 2, 5, 5, 1, 10, 15, 9, 8, 5],
"ct": [7, 14, 7, 0, 10, 3, 14, 3, 4, 15],
"result": "valid"
},
{
"tcId": 2792,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [5, 4, 13, 7, 14, 2, 12, 11, 10, 10],
"result": "valid"
},
{
"tcId": 2793,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [14, 12, 0, 2, 11, 12, 2, 12, 14, 4],
"result": "valid"
},
{
"tcId": 2794,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [8, 0, 0, 0, 0, 8, 0, 0, 0, 0],
"ct": [4, 1, 10, 12, 15, 0, 13, 12, 5, 10],
"result": "valid"
},
{
"tcId": 2795,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [7, 15, 15, 15, 15, 7, 15, 15, 15, 15],
"ct": [11, 8, 9, 7, 10, 6, 0, 0, 15, 11],
"result": "valid"
},
{
"tcId": 2796,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [10, 12, 13, 11, 0, 13, 4, 2, 9, 2],
"ct": [15, 13, 2, 14, 13, 3, 15, 5, 8, 12],
"result": "valid"
},
{
"tcId": 2797,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [2, 13, 8, 9, 10, 2, 13, 5, 6, 9],
"ct": [6, 8, 4, 10, 0, 2, 7, 6, 2, 13],
"result": "valid"
},
{
"tcId": 2798,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [2, 9, 12, 15, 10, 8, 4, 1, 5, 7],
"ct": [15, 1, 9, 10, 13, 4, 15, 14, 12, 0],
"result": "valid"
},
{
"tcId": 2799,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [14, 7, 7, 15, 7, 7, 8, 8, 1, 7],
"ct": [6, 2, 4, 0, 5, 7, 3, 11, 7, 7],
"result": "valid"
},
{
"tcId": 2800,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [5, 2, 5, 15, 1, 1, 0, 14, 0, 13],
"ct": [3, 10, 11, 5, 11, 6, 5, 7, 12, 15],
"result": "valid"
},
{
"tcId": 2801,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [6, 0, 7, 11, 3, 9, 11, 13, 3, 12],
"ct": [15, 6, 0, 10, 15, 14, 4, 11, 14, 1],
"result": "valid"
},
{
"tcId": 2802,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [1, 0, 14, 13, 9, 1, 0, 11, 7, 15],
"ct": [8, 12, 15, 5, 15, 2, 9, 0, 11, 13],
"result": "valid"
},
{
"tcId": 2803,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [1, 7, 6, 13, 13, 13, 10, 9, 11, 3],
"ct": [12, 5, 12, 11, 6, 3, 12, 12, 5, 0],
"result": "valid"
},
{
"tcId": 2804,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [14, 11, 4, 13, 12, 6, 2, 2, 6, 9],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2805,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [12, 7, 2, 10, 9, 11, 8, 3, 11, 15],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2806,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [8, 1, 12, 14, 13, 4, 10, 9, 13, 10],
"ct": [8, 0, 0, 0, 0, 8, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2807,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [5, 6, 14, 2, 13, 5, 1, 4, 15, 0],
"ct": [7, 15, 15, 15, 15, 7, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2808,
"comment": "y = 0 and (y + a) % radix**5 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "c2a65f6d04f26cd8f1c00496",
"msg": [0, 0, 0, 0, 0, 9, 11, 0, 12, 15],
"ct": [15, 1, 2, 1, 13, 5, 8, 2, 6, 6],
"result": "valid"
},
{
"tcId": 2809,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "c2a65f6d04f26cd8f1c00496",
"msg": [0, 0, 0, 0, 1, 9, 11, 0, 12, 15],
"ct": [7, 13, 2, 15, 2, 3, 12, 3, 2, 13],
"result": "valid"
},
{
"tcId": 2810,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "c2a65f6d04f26cd8f1c00496",
"msg": [8, 0, 0, 0, 0, 9, 11, 0, 12, 15],
"ct": [14, 8, 6, 14, 7, 10, 9, 2, 1, 5],
"result": "valid"
},
{
"tcId": 2811,
"comment": "y = 0 and (y + a) % radix**5 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "c2a65f6d04f26cd8f1c00496",
"msg": [15, 15, 15, 15, 15, 9, 11, 0, 12, 15],
"ct": [2, 2, 2, 11, 9, 13, 13, 5, 4, 9],
"result": "valid"
},
{
"tcId": 2812,
"comment": "y = 1 and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "ade69caf4793f443de9e5fa1",
"msg": [1, 10, 8, 13, 15, 0, 0, 0, 0, 0],
"ct": [6, 2, 12, 14, 11, 3, 13, 9, 12, 10],
"result": "valid"
},
{
"tcId": 2813,
"comment": "y = 1 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "ade69caf4793f443de9e5fa1",
"msg": [9, 1, 14, 14, 10, 0, 0, 0, 0, 1],
"ct": [12, 12, 14, 14, 9, 2, 7, 15, 3, 4],
"result": "valid"
},
{
"tcId": 2814,
"comment": "y = 1 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "ade69caf4793f443de9e5fa1",
"msg": [11, 11, 14, 10, 15, 8, 0, 0, 0, 0],
"ct": [0, 4, 10, 3, 3, 14, 15, 7, 11, 10],
"result": "valid"
},
{
"tcId": 2815,
"comment": "y = 1 and (y + a) % radix**5 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "ade69caf4793f443de9e5fa1",
"msg": [6, 6, 8, 15, 3, 15, 15, 15, 15, 14],
"ct": [13, 13, 14, 4, 4, 14, 6, 8, 8, 8],
"result": "valid"
},
{
"tcId": 2816,
"comment": "y = 1 and (y + a) % radix**5 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "ade69caf4793f443de9e5fa1",
"msg": [3, 7, 12, 5, 8, 15, 15, 15, 15, 15],
"ct": [9, 15, 4, 0, 12, 15, 10, 9, 9, 6],
"result": "valid"
},
{
"tcId": 2817,
"comment": "y is maximal and (y + a) % radix**5 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "2ce165a9016599581781e1bb",
"msg": [10, 14, 7, 12, 10, 6, 6, 8, 9, 15],
"ct": [0, 4, 14, 13, 11, 6, 11, 2, 6, 8],
"result": "valid"
},
{
"tcId": 2818,
"comment": "y is maximal and (y + a) % radix**5 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "2ce165a9016599581781e1bb",
"msg": [3, 1, 15, 1, 2, 9, 4, 4, 3, 6],
"ct": [9, 3, 6, 2, 11, 11, 0, 14, 13, 10],
"result": "valid"
},
{
"tcId": 2819,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "2ce165a9016599581781e1bb",
"msg": [13, 5, 2, 10, 12, 8, 13, 8, 1, 9],
"ct": [5, 12, 15, 1, 14, 3, 8, 3, 15, 4],
"result": "valid"
},
{
"tcId": 2820,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "2ce165a9016599581781e1bb",
"msg": [10, 2, 15, 11, 11, 15, 5, 1, 7, 5],
"ct": [10, 14, 6, 5, 2, 1, 3, 7, 15, 7],
"result": "valid"
},
{
"tcId": 2821,
"comment": "y is edge case for modular reduction and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "2decf24550d9cf05863f4833",
"msg": [13, 4, 0, 7, 6, 7, 1, 0, 13, 5],
"ct": [0, 15, 8, 11, 3, 15, 15, 15, 15, 0],
"result": "valid"
},
{
"tcId": 2822,
"comment": "y is edge case for modular reduction and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "2decf24550d9cf05863f4833",
"msg": [4, 12, 6, 11, 12, 11, 4, 5, 12, 14],
"ct": [0, 15, 8, 11, 3, 15, 15, 15, 15, 1],
"result": "valid"
},
{
"tcId": 2823,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "2decf24550d9cf05863f4833",
"msg": [10, 11, 10, 6, 8, 1, 3, 5, 15, 13],
"ct": [0, 15, 8, 11, 3, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2824,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "2decf24550d9cf05863f4833",
"msg": [12, 1, 3, 2, 6, 12, 2, 15, 4, 1],
"ct": [0, 15, 8, 11, 3, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2825,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "2decf24550d9cf05863f4833",
"msg": [6, 15, 11, 7, 7, 11, 12, 5, 1, 15],
"ct": [0, 15, 8, 11, 3, 7, 15, 15, 15, 0],
"result": "valid"
},
{
"tcId": 2826,
"comment": "y is edge case for modular reduction and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "2decf24550d9cf05863f4833",
"msg": [14, 7, 12, 11, 10, 8, 7, 0, 12, 10],
"ct": [0, 15, 8, 11, 3, 15, 15, 15, 14, 15],
"result": "valid"
},
{
"tcId": 2827,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "e62f2a5986042f5c7ec9e630",
"msg": [4, 9, 9, 10, 14, 3, 1, 3, 8, 14],
"ct": [12, 4, 10, 7, 6, 10, 3, 10, 5, 2],
"result": "valid"
},
{
"tcId": 2828,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "e62f2a5986042f5c7ec9e630",
"msg": [0, 8, 13, 12, 9, 5, 3, 6, 8, 2],
"ct": [12, 9, 4, 0, 7, 13, 4, 15, 11, 15],
"result": "valid"
},
{
"tcId": 2829,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "e62f2a5986042f5c7ec9e630",
"msg": [11, 1, 7, 3, 5, 2, 14, 4, 3, 6],
"ct": [13, 9, 10, 1, 1, 15, 8, 6, 7, 15],
"result": "valid"
},
{
"tcId": 2830,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "e62f2a5986042f5c7ec9e630",
"msg": [1, 0, 0, 14, 7, 6, 13, 5, 8, 12],
"ct": [9, 15, 12, 0, 10, 11, 10, 5, 5, 14],
"result": "valid"
},
{
"tcId": 2831,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8",
"tweak": "aac963be9bb06d9c",
"msg": [-1, 6, 4, 0, 7, 15, 13, 3, 6, 8],
"ct": [12, 10, 7, 3, 13, 0, 9, 13, 6, 8],
"result": "invalid"
},
{
"tcId": 2832,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8",
"tweak": "aac963be9bb06d9c",
"msg": [8, 6, 4, -1, 7, 15, 13, 3, 6, 8],
"ct": [3, 3, 9, 2, 7, 12, 9, 0, 13, 14],
"result": "invalid"
},
{
"tcId": 2833,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8",
"tweak": "aac963be9bb06d9c",
"msg": [8, 6, 4, 0, 7, 15, 13, 3, 6, -1],
"ct": [0, 14, 11, 10, 15, 5, 11, 14, 7, 12],
"result": "invalid"
},
{
"tcId": 2834,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "92ffffc995c4d4096e21da55683e3eb80510ef95d842c0bda69bdfa9fedd6f64",
"tweak": "cab6441b3ba67475",
"msg": [16, 0, 2, 11, 1, 9, 13, 15, 4, 7],
"ct": [10, 13, 8, 4, 13, 3, 15, 13, 15, 8],
"result": "invalid"
},
{
"tcId": 2835,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "92ffffc995c4d4096e21da55683e3eb80510ef95d842c0bda69bdfa9fedd6f64",
"tweak": "cab6441b3ba67475",
"msg": [13, 0, 2, 16, 1, 9, 13, 15, 4, 7],
"ct": [8, 15, 2, 10, 6, 14, 1, 14, 7, 7],
"result": "invalid"
},
{
"tcId": 2836,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "92ffffc995c4d4096e21da55683e3eb80510ef95d842c0bda69bdfa9fedd6f64",
"tweak": "cab6441b3ba67475",
"msg": [13, 0, 2, 11, 1, 9, 13, 15, 4, 16],
"ct": [0, 13, 13, 4, 7, 13, 0, 1, 5, 10],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 11,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2837,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "a40786c69f8a487744536af3e952b5e4c3c848cf21a994e28fa555d8d1ac9beb",
"tweak": "8782789b84c8fa4a",
"msg": [7, 14, 12, 14, 7, 4, 9, 6, 5, 5, 8],
"ct": [8, 10, 8, 8, 10, 9, 15, 15, 9, 3, 3],
"result": "valid"
},
{
"tcId": 2838,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [14, 2, 4, 12, 8, 0, 10, 10, 3, 14, 13],
"result": "valid"
},
{
"tcId": 2839,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [0, 9, 10, 2, 4, 3, 11, 8, 5, 4, 12],
"result": "valid"
},
{
"tcId": 2840,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [8, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0],
"ct": [1, 2, 5, 12, 1, 0, 12, 10, 1, 14, 5],
"result": "valid"
},
{
"tcId": 2841,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [7, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15],
"ct": [12, 4, 12, 1, 0, 6, 15, 7, 8, 11, 7],
"result": "valid"
},
{
"tcId": 2842,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [9, 12, 13, 0, 9, 8, 14, 12, 14, 2, 1],
"ct": [0, 9, 11, 8, 13, 10, 1, 9, 5, 2, 1],
"result": "valid"
},
{
"tcId": 2843,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [4, 1, 11, 0, 10, 7, 14, 2, 9, 14, 15],
"ct": [9, 4, 4, 1, 11, 2, 9, 11, 11, 13, 15],
"result": "valid"
},
{
"tcId": 2844,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [12, 11, 3, 5, 5, 0, 9, 14, 13, 15, 13],
"ct": [8, 0, 11, 10, 9, 9, 10, 8, 7, 15, 6],
"result": "valid"
},
{
"tcId": 2845,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [8, 1, 0, 7, 6, 1, 7, 0, 4, 5, 13],
"ct": [9, 1, 9, 10, 9, 0, 3, 10, 13, 7, 6],
"result": "valid"
},
{
"tcId": 2846,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [12, 5, 2, 14, 7, 13, 12, 12, 8, 2, 12],
"ct": [5, 7, 15, 5, 6, 13, 4, 15, 11, 1, 13],
"result": "valid"
},
{
"tcId": 2847,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [14, 12, 4, 15, 4, 10, 3, 13, 10, 11, 10],
"ct": [2, 15, 4, 7, 4, 13, 9, 10, 8, 14, 12],
"result": "valid"
},
{
"tcId": 2848,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [4, 9, 5, 15, 12, 11, 1, 8, 15, 4, 3],
"ct": [13, 13, 0, 13, 3, 7, 1, 6, 4, 2, 15],
"result": "valid"
},
{
"tcId": 2849,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [1, 3, 11, 0, 12, 11, 9, 10, 13, 3, 13],
"ct": [10, 2, 14, 0, 13, 3, 8, 2, 14, 15, 5],
"result": "valid"
},
{
"tcId": 2850,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [14, 15, 12, 10, 6, 14, 12, 4, 9, 2, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2851,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [13, 0, 4, 0, 11, 3, 3, 0, 5, 4, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2852,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [11, 4, 1, 14, 1, 5, 12, 8, 11, 9, 0],
"ct": [8, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2853,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [11, 13, 2, 8, 8, 4, 7, 0, 4, 15, 2],
"ct": [7, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2854,
"comment": "y = 0 and (y + a) % radix**5 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "f5438791c4c8adeb9e895945",
"msg": [11, 13, 8, 7, 9, 9, 7, 2, 10, 6, 10],
"ct": [15, 1, 15, 4, 4, 6, 8, 13, 6, 12, 9],
"result": "valid"
},
{
"tcId": 2855,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "f5438791c4c8adeb9e895945",
"msg": [13, 1, 13, 5, 14, 0, 13, 3, 8, 2, 9],
"ct": [1, 14, 7, 5, 13, 14, 6, 6, 6, 9, 14],
"result": "valid"
},
{
"tcId": 2856,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "f5438791c4c8adeb9e895945",
"msg": [1, 10, 9, 12, 13, 5, 0, 4, 3, 10, 13],
"ct": [1, 4, 11, 14, 11, 13, 1, 14, 1, 0, 8],
"result": "valid"
},
{
"tcId": 2857,
"comment": "y = 0 and (y + a) % radix**5 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "f5438791c4c8adeb9e895945",
"msg": [15, 8, 4, 15, 7, 7, 4, 5, 2, 2, 1],
"ct": [2, 8, 12, 3, 3, 11, 3, 10, 4, 2, 2],
"result": "valid"
},
{
"tcId": 2858,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "76ec43e384c6697699c76a6c",
"msg": [0, 0, 0, 0, 0, 6, 12, 1, 5, 13, 14],
"ct": [7, 4, 0, 2, 7, 2, 3, 7, 14, 1, 10],
"result": "valid"
},
{
"tcId": 2859,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "76ec43e384c6697699c76a6c",
"msg": [0, 0, 0, 0, 1, 6, 12, 1, 5, 13, 14],
"ct": [5, 12, 2, 3, 9, 5, 2, 14, 7, 8, 8],
"result": "valid"
},
{
"tcId": 2860,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "76ec43e384c6697699c76a6c",
"msg": [8, 0, 0, 0, 0, 6, 12, 1, 5, 13, 14],
"ct": [1, 15, 11, 0, 4, 10, 0, 0, 15, 11, 4],
"result": "valid"
},
{
"tcId": 2861,
"comment": "y = 1 and (y + a) % radix**5 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "76ec43e384c6697699c76a6c",
"msg": [15, 15, 15, 15, 14, 6, 12, 1, 5, 13, 14],
"ct": [14, 5, 8, 11, 4, 10, 15, 10, 6, 11, 1],
"result": "valid"
},
{
"tcId": 2862,
"comment": "y = 1 and (y + a) % radix**5 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "76ec43e384c6697699c76a6c",
"msg": [15, 15, 15, 15, 15, 6, 12, 1, 5, 13, 14],
"ct": [0, 7, 12, 7, 10, 15, 8, 9, 11, 5, 3],
"result": "valid"
},
{
"tcId": 2863,
"comment": "y is maximal and (y + a) % radix**5 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "7ba4ae7918eb2d87fbc36d43",
"msg": [14, 5, 2, 6, 9, 9, 9, 3, 7, 14, 5],
"ct": [5, 6, 6, 6, 2, 0, 3, 3, 10, 14, 2],
"result": "valid"
},
{
"tcId": 2864,
"comment": "y is maximal and (y + a) % radix**5 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "7ba4ae7918eb2d87fbc36d43",
"msg": [7, 7, 11, 11, 4, 7, 15, 10, 5, 12, 3],
"ct": [6, 4, 5, 1, 13, 9, 1, 11, 11, 13, 14],
"result": "valid"
},
{
"tcId": 2865,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "7ba4ae7918eb2d87fbc36d43",
"msg": [1, 8, 15, 2, 2, 4, 12, 0, 14, 13, 14],
"ct": [13, 11, 13, 2, 4, 7, 14, 2, 13, 10, 10],
"result": "valid"
},
{
"tcId": 2866,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "7ba4ae7918eb2d87fbc36d43",
"msg": [14, 12, 1, 15, 4, 9, 15, 11, 8, 4, 1],
"ct": [15, 9, 13, 7, 12, 15, 10, 14, 1, 11, 4],
"result": "valid"
},
{
"tcId": 2867,
"comment": "y is edge case for modular reduction and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "4807bf36b92b07e6a2ef3077",
"msg": [14, 8, 14, 11, 11, 10, 6, 14, 0, 3, 4],
"ct": [11, 4, 3, 2, 13, 12, 8, 14, 9, 2, 13],
"result": "valid"
},
{
"tcId": 2868,
"comment": "y is edge case for modular reduction and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "4807bf36b92b07e6a2ef3077",
"msg": [2, 15, 1, 7, 1, 6, 5, 0, 12, 1, 5],
"ct": [5, 6, 15, 13, 7, 15, 12, 1, 4, 7, 6],
"result": "valid"
},
{
"tcId": 2869,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "4807bf36b92b07e6a2ef3077",
"msg": [10, 6, 9, 4, 8, 3, 9, 14, 13, 6, 9],
"ct": [6, 8, 8, 1, 0, 1, 3, 1, 11, 10, 6],
"result": "valid"
},
{
"tcId": 2870,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "4807bf36b92b07e6a2ef3077",
"msg": [3, 15, 5, 1, 12, 14, 1, 13, 13, 15, 12],
"ct": [3, 5, 14, 13, 3, 8, 5, 4, 12, 15, 13],
"result": "valid"
},
{
"tcId": 2871,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "4807bf36b92b07e6a2ef3077",
"msg": [7, 11, 3, 14, 2, 11, 14, 9, 9, 5, 10],
"ct": [6, 0, 2, 8, 13, 0, 1, 7, 8, 6, 15],
"result": "valid"
},
{
"tcId": 2872,
"comment": "y is edge case for modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "4807bf36b92b07e6a2ef3077",
"msg": [5, 8, 6, 9, 3, 4, 15, 12, 9, 15, 12],
"ct": [7, 4, 15, 1, 10, 11, 8, 15, 13, 0, 0],
"result": "valid"
},
{
"tcId": 2873,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "41186b52ddd192134000c15c",
"msg": [13, 14, 11, 3, 10, 11, 14, 15, 8, 9, 6],
"ct": [15, 15, 15, 15, 15, 5, 12, 3, 6, 8, 3],
"result": "valid"
},
{
"tcId": 2874,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "41186b52ddd192134000c15c",
"msg": [15, 9, 0, 6, 3, 7, 8, 8, 2, 0, 4],
"ct": [0, 0, 0, 0, 0, 10, 10, 15, 13, 13, 8],
"result": "valid"
},
{
"tcId": 2875,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "41186b52ddd192134000c15c",
"msg": [6, 12, 4, 4, 10, 1, 15, 0, 10, 9, 3],
"ct": [7, 15, 15, 15, 15, 8, 3, 14, 7, 14, 8],
"result": "valid"
},
{
"tcId": 2876,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "41186b52ddd192134000c15c",
"msg": [6, 12, 0, 4, 1, 2, 13, 2, 4, 13, 3],
"ct": [15, 15, 15, 15, 14, 13, 0, 4, 1, 1, 12],
"result": "valid"
},
{
"tcId": 2877,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab",
"tweak": "788f47262b8e7b97",
"msg": [-1, 8, 15, 0, 6, 0, 13, 14, 2, 6, 9],
"ct": [9, 8, 15, 15, 15, 3, 11, 2, 9, 2, 6],
"result": "invalid"
},
{
"tcId": 2878,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab",
"tweak": "788f47262b8e7b97",
"msg": [10, 8, 15, -1, 6, 0, 13, 14, 2, 6, 9],
"ct": [1, 12, 13, 2, 11, 15, 9, 6, 2, 15, 8],
"result": "invalid"
},
{
"tcId": 2879,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab",
"tweak": "788f47262b8e7b97",
"msg": [10, 8, 15, 0, 6, 0, 13, 14, 2, 6, -1],
"ct": [7, 13, 2, 12, 11, 8, 3, 4, 6, 6, 11],
"result": "invalid"
},
{
"tcId": 2880,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4979fc2623a3cd98dc8cde75387695175898c5f8b94ebfd2e9968921715d5471",
"tweak": "991d13d6095e5a66",
"msg": [16, 3, 1, 7, 6, 6, 11, 6, 6, 7, 7],
"ct": [14, 0, 10, 9, 13, 5, 9, 12, 1, 4, 3],
"result": "invalid"
},
{
"tcId": 2881,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4979fc2623a3cd98dc8cde75387695175898c5f8b94ebfd2e9968921715d5471",
"tweak": "991d13d6095e5a66",
"msg": [14, 3, 1, 16, 6, 6, 11, 6, 6, 7, 7],
"ct": [3, 4, 4, 9, 0, 1, 2, 6, 3, 14, 13],
"result": "invalid"
},
{
"tcId": 2882,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4979fc2623a3cd98dc8cde75387695175898c5f8b94ebfd2e9968921715d5471",
"tweak": "991d13d6095e5a66",
"msg": [14, 3, 1, 7, 6, 6, 11, 6, 6, 7, 16],
"ct": [1, 8, 9, 11, 6, 12, 14, 3, 4, 8, 11],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 12,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2883,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "2e94a84c78be80cd598366058d4f6cdf8095666dcac7a00ad832d9f33e20d13c",
"tweak": "415e0101a302aaa6",
"msg": [15, 4, 15, 9, 4, 4, 1, 7, 11, 2, 10, 13],
"ct": [1, 5, 12, 11, 6, 13, 14, 7, 9, 4, 14, 12],
"result": "valid"
},
{
"tcId": 2884,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [11, 1, 7, 12, 4, 9, 0, 6, 6, 2, 7, 7],
"result": "valid"
},
{
"tcId": 2885,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [1, 11, 11, 5, 3, 9, 9, 15, 4, 13, 1, 9],
"result": "valid"
},
{
"tcId": 2886,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [8, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0],
"ct": [4, 2, 11, 5, 3, 0, 3, 8, 1, 6, 1, 9],
"result": "valid"
},
{
"tcId": 2887,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [7, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15],
"ct": [3, 6, 4, 9, 4, 4, 10, 1, 9, 1, 4, 9],
"result": "valid"
},
{
"tcId": 2888,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [13, 13, 8, 13, 5, 5, 10, 5, 12, 8, 5, 8],
"ct": [11, 15, 14, 7, 14, 3, 12, 3, 5, 6, 15, 0],
"result": "valid"
},
{
"tcId": 2889,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [11, 8, 13, 8, 8, 11, 0, 13, 4, 0, 6, 3],
"ct": [10, 2, 10, 2, 5, 8, 0, 12, 9, 10, 9, 10],
"result": "valid"
},
{
"tcId": 2890,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [5, 15, 10, 5, 3, 9, 13, 13, 4, 0, 5, 14],
"ct": [14, 7, 8, 2, 6, 0, 13, 9, 7, 6, 13, 6],
"result": "valid"
},
{
"tcId": 2891,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [15, 5, 0, 11, 9, 12, 15, 14, 10, 12, 11, 15],
"ct": [3, 8, 5, 12, 12, 13, 0, 14, 2, 13, 5, 2],
"result": "valid"
},
{
"tcId": 2892,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [11, 10, 14, 1, 3, 12, 4, 13, 7, 3, 13, 14],
"ct": [7, 9, 15, 14, 9, 14, 9, 0, 12, 8, 6, 4],
"result": "valid"
},
{
"tcId": 2893,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [14, 7, 6, 13, 3, 14, 4, 6, 13, 1, 8, 4],
"ct": [1, 0, 5, 11, 9, 15, 3, 2, 10, 15, 11, 4],
"result": "valid"
},
{
"tcId": 2894,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [8, 2, 4, 12, 6, 4, 9, 3, 9, 7, 1, 8],
"ct": [6, 6, 12, 0, 8, 4, 6, 6, 9, 6, 3, 12],
"result": "valid"
},
{
"tcId": 2895,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [8, 9, 11, 15, 12, 12, 8, 7, 9, 5, 13, 9],
"ct": [3, 8, 4, 12, 6, 11, 1, 7, 15, 3, 15, 12],
"result": "valid"
},
{
"tcId": 2896,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [10, 1, 12, 10, 4, 11, 13, 1, 6, 9, 15, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2897,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [0, 7, 12, 2, 10, 8, 15, 15, 8, 6, 15, 7],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2898,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [1, 14, 9, 13, 10, 5, 2, 12, 12, 5, 14, 15],
"ct": [8, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2899,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [1, 1, 2, 0, 11, 13, 0, 0, 11, 11, 2, 0],
"ct": [7, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2900,
"comment": "y = 0 and (y + a) % radix**6 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "7a38caf1999464378666113d",
"msg": [12, 7, 13, 2, 14, 7, 14, 9, 7, 1, 14, 6],
"ct": [7, 14, 1, 7, 8, 3, 12, 4, 11, 15, 5, 5],
"result": "valid"
},
{
"tcId": 2901,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "7a38caf1999464378666113d",
"msg": [4, 14, 13, 4, 8, 13, 1, 7, 11, 12, 10, 13],
"ct": [13, 6, 12, 10, 11, 2, 15, 0, 2, 9, 13, 13],
"result": "valid"
},
{
"tcId": 2902,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "7a38caf1999464378666113d",
"msg": [0, 6, 11, 12, 12, 2, 1, 10, 13, 0, 12, 10],
"ct": [12, 10, 10, 15, 14, 14, 5, 8, 6, 1, 3, 8],
"result": "valid"
},
{
"tcId": 2903,
"comment": "y = 0 and (y + a) % radix**6 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "7a38caf1999464378666113d",
"msg": [8, 3, 4, 8, 10, 12, 11, 2, 12, 11, 10, 2],
"ct": [10, 11, 0, 4, 13, 7, 9, 15, 10, 0, 7, 10],
"result": "valid"
},
{
"tcId": 2904,
"comment": "y = 1 and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "c4b7c9fc3eff56cf59d09faa",
"msg": [2, 15, 7, 9, 8, 7, 3, 14, 15, 10, 4, 13],
"ct": [9, 7, 7, 10, 0, 15, 0, 7, 12, 1, 0, 2],
"result": "valid"
},
{
"tcId": 2905,
"comment": "y = 1 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "c4b7c9fc3eff56cf59d09faa",
"msg": [12, 15, 10, 7, 13, 2, 12, 7, 7, 11, 6, 7],
"ct": [1, 11, 9, 14, 11, 4, 7, 15, 10, 14, 2, 10],
"result": "valid"
},
{
"tcId": 2906,
"comment": "y = 1 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "c4b7c9fc3eff56cf59d09faa",
"msg": [0, 11, 3, 13, 6, 12, 7, 4, 10, 1, 1, 15],
"ct": [1, 8, 2, 3, 9, 1, 11, 13, 6, 5, 12, 6],
"result": "valid"
},
{
"tcId": 2907,
"comment": "y = 1 and (y + a) % radix**6 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "c4b7c9fc3eff56cf59d09faa",
"msg": [3, 3, 11, 13, 3, 10, 2, 1, 2, 0, 9, 2],
"ct": [6, 15, 14, 9, 13, 11, 11, 2, 14, 0, 3, 3],
"result": "valid"
},
{
"tcId": 2908,
"comment": "y = 1 and (y + a) % radix**6 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "c4b7c9fc3eff56cf59d09faa",
"msg": [6, 13, 9, 7, 1, 15, 0, 3, 2, 6, 1, 8],
"ct": [11, 11, 6, 2, 7, 4, 15, 13, 7, 6, 13, 8],
"result": "valid"
},
{
"tcId": 2909,
"comment": "y is maximal and (y + a) % radix**6 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "ce4e3c5ba5661c8a2f59165a",
"msg": [6, 8, 11, 4, 6, 1, 1, 12, 7, 2, 4, 0],
"ct": [5, 7, 15, 14, 5, 3, 13, 2, 4, 15, 0, 8],
"result": "valid"
},
{
"tcId": 2910,
"comment": "y is maximal and (y + a) % radix**6 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "ce4e3c5ba5661c8a2f59165a",
"msg": [7, 4, 14, 6, 14, 6, 4, 3, 14, 1, 10, 2],
"ct": [9, 15, 13, 11, 13, 13, 12, 0, 4, 2, 7, 15],
"result": "valid"
},
{
"tcId": 2911,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "ce4e3c5ba5661c8a2f59165a",
"msg": [6, 12, 4, 8, 5, 10, 15, 0, 10, 0, 6, 13],
"ct": [15, 2, 5, 14, 10, 9, 7, 11, 10, 7, 0, 2],
"result": "valid"
},
{
"tcId": 2912,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "ce4e3c5ba5661c8a2f59165a",
"msg": [14, 15, 9, 2, 6, 11, 9, 12, 6, 5, 9, 6],
"ct": [3, 7, 12, 13, 4, 11, 14, 8, 11, 0, 3, 3],
"result": "valid"
},
{
"tcId": 2913,
"comment": "y is edge case for modular reduction and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "cce36b0aad7ee0f947fc8a37",
"msg": [13, 10, 5, 13, 7, 8, 1, 8, 9, 6, 2, 5],
"ct": [2, 4, 10, 3, 10, 7, 11, 10, 8, 11, 4, 10],
"result": "valid"
},
{
"tcId": 2914,
"comment": "y is edge case for modular reduction and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "cce36b0aad7ee0f947fc8a37",
"msg": [11, 15, 0, 6, 11, 5, 1, 10, 5, 14, 13, 2],
"ct": [9, 3, 3, 7, 11, 1, 7, 7, 7, 13, 7, 7],
"result": "valid"
},
{
"tcId": 2915,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "cce36b0aad7ee0f947fc8a37",
"msg": [9, 4, 0, 15, 5, 2, 9, 6, 12, 3, 4, 13],
"ct": [14, 0, 4, 7, 13, 4, 1, 7, 7, 6, 0, 12],
"result": "valid"
},
{
"tcId": 2916,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "cce36b0aad7ee0f947fc8a37",
"msg": [12, 5, 15, 4, 14, 5, 3, 5, 10, 8, 12, 8],
"ct": [8, 10, 0, 6, 11, 4, 15, 1, 13, 6, 8, 10],
"result": "valid"
},
{
"tcId": 2917,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "cce36b0aad7ee0f947fc8a37",
"msg": [7, 7, 6, 9, 15, 8, 2, 3, 11, 10, 9, 5],
"ct": [0, 11, 8, 5, 1, 15, 5, 15, 3, 0, 10, 7],
"result": "valid"
},
{
"tcId": 2918,
"comment": "y is edge case for modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "cce36b0aad7ee0f947fc8a37",
"msg": [0, 2, 1, 11, 1, 2, 7, 11, 9, 10, 13, 14],
"ct": [6, 14, 14, 3, 2, 14, 15, 6, 8, 0, 14, 14],
"result": "valid"
},
{
"tcId": 2919,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "edb7a90f396a414250c010a9",
"msg": [14, 9, 1, 3, 13, 7, 4, 3, 14, 15, 2, 4],
"ct": [13, 10, 15, 0, 13, 9, 6, 2, 8, 13, 1, 7],
"result": "valid"
},
{
"tcId": 2920,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "edb7a90f396a414250c010a9",
"msg": [0, 9, 6, 13, 6, 10, 8, 10, 5, 7, 8, 5],
"ct": [4, 8, 6, 2, 9, 14, 0, 15, 12, 8, 12, 11],
"result": "valid"
},
{
"tcId": 2921,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "edb7a90f396a414250c010a9",
"msg": [8, 11, 3, 5, 0, 10, 2, 3, 4, 10, 8, 6],
"ct": [2, 5, 6, 11, 4, 1, 8, 0, 0, 7, 15, 4],
"result": "valid"
},
{
"tcId": 2922,
"comment": "y is maximal after modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "edb7a90f396a414250c010a9",
"msg": [1, 3, 9, 10, 2, 7, 9, 9, 3, 14, 3, 8],
"ct": [2, 9, 1, 12, 6, 4, 10, 1, 11, 8, 0, 15],
"result": "valid"
},
{
"tcId": 2923,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3",
"tweak": "17f2087530ca7e57",
"msg": [-1, 6, 13, 9, 15, 15, 12, 6, 5, 2, 15, 0],
"ct": [3, 7, 4, 13, 12, 12, 4, 7, 1, 3, 5, 13],
"result": "invalid"
},
{
"tcId": 2924,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3",
"tweak": "17f2087530ca7e57",
"msg": [13, 6, 13, 9, -1, 15, 12, 6, 5, 2, 15, 0],
"ct": [4, 12, 0, 0, 7, 1, 5, 1, 12, 3, 1, 7],
"result": "invalid"
},
{
"tcId": 2925,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3",
"tweak": "17f2087530ca7e57",
"msg": [13, 6, 13, 9, 15, 15, 12, 6, 5, 2, 15, -1],
"ct": [11, 13, 7, 4, 14, 1, 5, 7, 1, 0, 8, 9],
"result": "invalid"
},
{
"tcId": 2926,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b09b066a0176eb94cc011e208a2d557a3973b9eb35bb0432ade4378523c31da9",
"tweak": "c09ac7d3857212e4",
"msg": [16, 0, 3, 12, 6, 9, 0, 12, 9, 5, 13, 2],
"ct": [11, 4, 0, 11, 13, 2, 0, 6, 8, 10, 2, 1],
"result": "invalid"
},
{
"tcId": 2927,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b09b066a0176eb94cc011e208a2d557a3973b9eb35bb0432ade4378523c31da9",
"tweak": "c09ac7d3857212e4",
"msg": [15, 0, 3, 12, 16, 9, 0, 12, 9, 5, 13, 2],
"ct": [3, 13, 8, 5, 3, 6, 10, 8, 7, 6, 9, 12],
"result": "invalid"
},
{
"tcId": 2928,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b09b066a0176eb94cc011e208a2d557a3973b9eb35bb0432ade4378523c31da9",
"tweak": "c09ac7d3857212e4",
"msg": [15, 0, 3, 12, 6, 9, 0, 12, 9, 5, 13, 16],
"ct": [0, 12, 8, 8, 9, 3, 2, 6, 11, 10, 12, 4],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 13,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2929,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "82685c3a0cab8a3c5777c43196c7f9eb6d1cbc31f79de68bc23a066b6d9d2053",
"tweak": "3fd780e554341138",
"msg": [12, 12, 6, 4, 15, 3, 14, 4, 8, 14, 4, 15, 8],
"ct": [15, 7, 6, 5, 1, 5, 11, 13, 6, 4, 9, 12, 9],
"result": "valid"
},
{
"tcId": 2930,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 9, 6, 6, 10, 1, 14, 10, 12, 0, 2, 12, 10],
"result": "valid"
},
{
"tcId": 2931,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [14, 14, 14, 14, 5, 13, 6, 1, 10, 4, 10, 8, 14],
"result": "valid"
},
{
"tcId": 2932,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [8, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0],
"ct": [4, 2, 7, 10, 1, 11, 7, 2, 3, 13, 12, 10, 6],
"result": "valid"
},
{
"tcId": 2933,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [7, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15],
"ct": [6, 15, 9, 15, 14, 5, 1, 1, 9, 11, 7, 1, 12],
"result": "valid"
},
{
"tcId": 2934,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [9, 1, 12, 13, 11, 6, 5, 8, 0, 11, 7, 15, 4],
"ct": [3, 10, 1, 4, 14, 5, 12, 8, 9, 5, 12, 13, 2],
"result": "valid"
},
{
"tcId": 2935,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [9, 9, 3, 0, 11, 10, 13, 10, 6, 4, 11, 4, 4],
"ct": [5, 14, 5, 14, 15, 8, 3, 4, 1, 11, 7, 13, 0],
"result": "valid"
},
{
"tcId": 2936,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [1, 12, 15, 6, 4, 9, 3, 2, 13, 2, 3, 1, 14],
"ct": [5, 3, 0, 6, 9, 11, 5, 11, 12, 13, 3, 15, 10],
"result": "valid"
},
{
"tcId": 2937,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [14, 5, 15, 2, 1, 3, 8, 5, 11, 13, 6, 2, 1],
"ct": [15, 11, 6, 11, 15, 0, 10, 4, 3, 2, 13, 1, 12],
"result": "valid"
},
{
"tcId": 2938,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [9, 6, 2, 5, 0, 1, 8, 4, 14, 7, 14, 10, 15],
"ct": [10, 8, 0, 10, 0, 8, 13, 14, 7, 14, 7, 0, 6],
"result": "valid"
},
{
"tcId": 2939,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [12, 3, 11, 0, 12, 7, 9, 3, 8, 0, 8, 1, 13],
"ct": [5, 3, 10, 6, 11, 6, 5, 5, 1, 13, 14, 15, 14],
"result": "valid"
},
{
"tcId": 2940,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [14, 7, 0, 15, 8, 11, 12, 8, 12, 7, 9, 10, 5],
"ct": [15, 9, 11, 2, 8, 1, 13, 8, 3, 1, 6, 14, 14],
"result": "valid"
},
{
"tcId": 2941,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [12, 12, 11, 0, 3, 0, 15, 12, 6, 5, 12, 14, 3],
"ct": [2, 2, 3, 13, 11, 13, 12, 11, 1, 7, 6, 14, 15],
"result": "valid"
},
{
"tcId": 2942,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [3, 6, 13, 8, 12, 9, 2, 12, 5, 4, 6, 8, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2943,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [8, 15, 0, 10, 10, 10, 3, 8, 9, 3, 11, 13, 10],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2944,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [8, 2, 2, 4, 7, 9, 12, 6, 0, 14, 8, 2, 4],
"ct": [8, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2945,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [1, 15, 12, 12, 10, 11, 12, 14, 8, 12, 15, 14, 9],
"ct": [7, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2946,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "aa55a912bb94e21c74c075",
"msg": [0, 0, 0, 0, 0, 0, 9, 14, 4, 7, 0, 6, 15],
"ct": [12, 3, 8, 12, 15, 13, 14, 4, 7, 14, 7, 14, 3],
"result": "valid"
},
{
"tcId": 2947,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "aa55a912bb94e21c74c075",
"msg": [0, 0, 0, 0, 0, 1, 9, 14, 4, 7, 0, 6, 15],
"ct": [15, 11, 15, 7, 9, 12, 9, 12, 1, 6, 5, 12, 12],
"result": "valid"
},
{
"tcId": 2948,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "aa55a912bb94e21c74c075",
"msg": [8, 0, 0, 0, 0, 0, 9, 14, 4, 7, 0, 6, 15],
"ct": [11, 4, 4, 4, 5, 7, 12, 4, 12, 2, 0, 6, 11],
"result": "valid"
},
{
"tcId": 2949,
"comment": "y = 1 and (y + a) % radix**6 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "aa55a912bb94e21c74c075",
"msg": [15, 15, 15, 15, 15, 14, 9, 14, 4, 7, 0, 6, 15],
"ct": [3, 0, 9, 3, 9, 1, 8, 7, 5, 10, 15, 5, 4],
"result": "valid"
},
{
"tcId": 2950,
"comment": "y = 1 and (y + a) % radix**6 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "aa55a912bb94e21c74c075",
"msg": [15, 15, 15, 15, 15, 15, 9, 14, 4, 7, 0, 6, 15],
"ct": [15, 10, 14, 15, 4, 8, 0, 6, 13, 0, 3, 11, 11],
"result": "valid"
},
{
"tcId": 2951,
"comment": "y is maximal and (y + a) % radix**6 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "e4fd8d392a8febf473b774",
"msg": [0, 0, 0, 0, 0, 0, 2, 8, 10, 7, 7, 15, 6],
"ct": [11, 8, 5, 13, 14, 9, 11, 4, 6, 4, 4, 14, 1],
"result": "valid"
},
{
"tcId": 2952,
"comment": "y is maximal and (y + a) % radix**6 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "e4fd8d392a8febf473b774",
"msg": [0, 0, 0, 0, 0, 1, 2, 8, 10, 7, 7, 15, 6],
"ct": [14, 13, 13, 12, 13, 9, 5, 0, 10, 0, 4, 10, 14],
"result": "valid"
},
{
"tcId": 2953,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "e4fd8d392a8febf473b774",
"msg": [8, 0, 0, 0, 0, 0, 2, 8, 10, 7, 7, 15, 6],
"ct": [6, 12, 8, 10, 1, 0, 8, 10, 14, 9, 11, 3, 1],
"result": "valid"
},
{
"tcId": 2954,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "e4fd8d392a8febf473b774",
"msg": [15, 15, 15, 15, 15, 15, 2, 8, 10, 7, 7, 15, 6],
"ct": [12, 14, 3, 10, 3, 5, 2, 11, 5, 7, 0, 12, 1],
"result": "valid"
},
{
"tcId": 2955,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "b190e15a05c6f44b59e6ba",
"msg": [12, 13, 4, 13, 11, 3, 3, 5, 10, 2, 1, 11, 3],
"ct": [1, 0, 7, 0, 11, 8, 10, 7, 3, 13, 10, 4, 13],
"result": "valid"
},
{
"tcId": 2956,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "b190e15a05c6f44b59e6ba",
"msg": [0, 3, 3, 2, 10, 1, 2, 14, 15, 7, 0, 12, 14],
"ct": [13, 4, 2, 8, 13, 11, 4, 7, 5, 3, 7, 5, 2],
"result": "valid"
},
{
"tcId": 2957,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "b190e15a05c6f44b59e6ba",
"msg": [6, 0, 6, 10, 5, 3, 1, 12, 2, 2, 13, 6, 5],
"ct": [11, 13, 10, 9, 0, 6, 13, 1, 0, 10, 5, 10, 10],
"result": "valid"
},
{
"tcId": 2958,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "b190e15a05c6f44b59e6ba",
"msg": [0, 1, 8, 1, 15, 6, 11, 2, 8, 8, 9, 13, 12],
"ct": [6, 6, 5, 12, 12, 7, 9, 15, 8, 10, 12, 12, 4],
"result": "valid"
},
{
"tcId": 2959,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "b190e15a05c6f44b59e6ba",
"msg": [12, 10, 4, 1, 8, 0, 1, 9, 9, 7, 1, 4, 13],
"ct": [12, 5, 10, 13, 1, 14, 3, 8, 14, 7, 6, 14, 15],
"result": "valid"
},
{
"tcId": 2960,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "b190e15a05c6f44b59e6ba",
"msg": [14, 8, 6, 11, 9, 15, 5, 14, 9, 11, 13, 6, 6],
"ct": [10, 12, 10, 0, 6, 5, 3, 9, 13, 7, 4, 15, 4],
"result": "valid"
},
{
"tcId": 2961,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "3acd75cb74054536c77a83",
"msg": [4, 2, 15, 10, 1, 15, 4, 6, 12, 10, 6, 6, 2],
"ct": [8, 11, 9, 8, 11, 12, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2962,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "3acd75cb74054536c77a83",
"msg": [8, 10, 0, 1, 5, 13, 1, 4, 3, 7, 2, 0, 8],
"ct": [8, 11, 9, 8, 11, 12, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2963,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "3acd75cb74054536c77a83",
"msg": [3, 15, 3, 7, 1, 8, 7, 4, 7, 9, 5, 14, 9],
"ct": [8, 11, 9, 8, 11, 12, 7, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2964,
"comment": "y is maximal after modular reduction and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "3acd75cb74054536c77a83",
"msg": [6, 8, 10, 14, 10, 15, 11, 4, 9, 14, 2, 10, 11],
"ct": [8, 11, 9, 8, 11, 12, 15, 15, 15, 15, 15, 15, 14],
"result": "valid"
},
{
"tcId": 2965,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002",
"tweak": "f39c64c847f175d6",
"msg": [-1, 5, 9, 14, 0, 5, 6, 12, 3, 4, 9, 4, 9],
"ct": [2, 4, 13, 4, 9, 3, 9, 4, 15, 5, 2, 14, 0],
"result": "invalid"
},
{
"tcId": 2966,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002",
"tweak": "f39c64c847f175d6",
"msg": [14, 5, 9, 14, -1, 5, 6, 12, 3, 4, 9, 4, 9],
"ct": [13, 7, 6, 5, 6, 7, 12, 14, 15, 4, 8, 14, 12],
"result": "invalid"
},
{
"tcId": 2967,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002",
"tweak": "f39c64c847f175d6",
"msg": [14, 5, 9, 14, 0, 5, 6, 12, 3, 4, 9, 4, -1],
"ct": [0, 2, 15, 10, 14, 15, 11, 1, 6, 5, 11, 6, 3],
"result": "invalid"
},
{
"tcId": 2968,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4952d13fd11f408c8e8f652368ebef497774143e4510025d3cfc5fd60ec596e7",
"tweak": "643281e60c22a229",
"msg": [16, 13, 5, 14, 12, 7, 13, 11, 7, 0, 13, 9, 3],
"ct": [10, 14, 15, 15, 4, 9, 0, 4, 6, 5, 6, 15, 10],
"result": "invalid"
},
{
"tcId": 2969,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4952d13fd11f408c8e8f652368ebef497774143e4510025d3cfc5fd60ec596e7",
"tweak": "643281e60c22a229",
"msg": [12, 13, 5, 14, 16, 7, 13, 11, 7, 0, 13, 9, 3],
"ct": [8, 15, 0, 14, 0, 1, 9, 1, 1, 7, 5, 2, 6],
"result": "invalid"
},
{
"tcId": 2970,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4952d13fd11f408c8e8f652368ebef497774143e4510025d3cfc5fd60ec596e7",
"tweak": "643281e60c22a229",
"msg": [12, 13, 5, 14, 12, 7, 13, 11, 7, 0, 13, 9, 16],
"ct": [1, 4, 15, 12, 11, 3, 9, 5, 4, 4, 2, 14, 2],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 14,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2971,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "fdd21f2020d809a2930f3d6c0b2cc23e65e1240eb5e301531aecb8180808393b",
"tweak": "104403ed1d3acccc",
"msg": [11, 15, 15, 9, 3, 5, 11, 12, 10, 11, 14, 2, 6, 5],
"ct": [10, 4, 15, 3, 12, 1, 9, 13, 15, 15, 0, 3, 13, 13],
"result": "valid"
},
{
"tcId": 2972,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [12, 6, 8, 9, 2, 4, 5, 10, 9, 6, 10, 13, 8, 4],
"result": "valid"
},
{
"tcId": 2973,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [9, 8, 4, 4, 4, 2, 3, 7, 0, 3, 2, 11, 1, 11],
"result": "valid"
},
{
"tcId": 2974,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [8, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0],
"ct": [0, 8, 5, 14, 10, 0, 14, 1, 2, 8, 4, 8, 5, 5],
"result": "valid"
},
{
"tcId": 2975,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [7, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15],
"ct": [13, 13, 6, 9, 0, 0, 6, 8, 12, 7, 7, 13, 12, 2],
"result": "valid"
},
{
"tcId": 2976,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [7, 0, 11, 15, 4, 5, 5, 5, 7, 12, 10, 1, 10, 10],
"ct": [1, 8, 14, 6, 5, 2, 1, 0, 13, 15, 8, 1, 14, 13],
"result": "valid"
},
{
"tcId": 2977,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [9, 7, 5, 5, 12, 2, 10, 1, 5, 5, 11, 9, 8, 15],
"ct": [2, 0, 0, 10, 14, 12, 10, 5, 4, 3, 11, 12, 7, 14],
"result": "valid"
},
{
"tcId": 2978,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [1, 9, 15, 9, 1, 10, 13, 0, 6, 1, 13, 7, 15, 3],
"ct": [3, 7, 4, 14, 0, 14, 7, 1, 12, 2, 7, 3, 10, 14],
"result": "valid"
},
{
"tcId": 2979,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [8, 2, 3, 12, 2, 11, 1, 12, 15, 12, 8, 1, 12, 5],
"ct": [11, 5, 2, 7, 6, 15, 7, 13, 12, 10, 7, 12, 0, 13],
"result": "valid"
},
{
"tcId": 2980,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [4, 10, 14, 2, 4, 5, 3, 2, 1, 15, 15, 10, 0, 11],
"ct": [10, 3, 0, 4, 1, 0, 8, 11, 13, 6, 2, 10, 12, 12],
"result": "valid"
},
{
"tcId": 2981,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [9, 1, 7, 11, 3, 0, 15, 7, 4, 3, 8, 9, 13, 11],
"ct": [7, 9, 14, 3, 1, 9, 12, 7, 4, 7, 13, 13, 3, 0],
"result": "valid"
},
{
"tcId": 2982,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [1, 8, 4, 2, 9, 5, 9, 11, 9, 4, 12, 12, 1, 9],
"ct": [3, 3, 11, 4, 3, 1, 1, 3, 0, 15, 12, 10, 10, 11],
"result": "valid"
},
{
"tcId": 2983,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [4, 12, 0, 15, 1, 5, 3, 3, 3, 1, 2, 7, 8, 7],
"ct": [1, 2, 7, 13, 2, 5, 15, 5, 15, 10, 5, 13, 5, 0],
"result": "valid"
},
{
"tcId": 2984,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [11, 5, 6, 10, 11, 12, 6, 6, 10, 2, 4, 0, 9, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2985,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [2, 8, 5, 6, 14, 14, 15, 12, 2, 15, 14, 9, 13, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2986,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [10, 1, 1, 12, 3, 8, 5, 4, 3, 2, 7, 5, 14, 1],
"ct": [8, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2987,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [0, 4, 12, 13, 1, 10, 7, 12, 2, 14, 3, 15, 14, 3],
"ct": [7, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2988,
"comment": "y = 0 and (y + a) % radix**7 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "7631f717d359d31111cbf6",
"msg": [15, 1, 1, 2, 0, 8, 5, 1, 4, 1, 12, 6, 0, 10],
"ct": [15, 12, 7, 13, 7, 12, 9, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2989,
"comment": "y = 0 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "7631f717d359d31111cbf6",
"msg": [11, 4, 2, 11, 4, 1, 10, 2, 13, 1, 14, 1, 15, 6],
"ct": [15, 12, 7, 13, 7, 12, 9, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 2990,
"comment": "y = 0 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "7631f717d359d31111cbf6",
"msg": [2, 15, 13, 6, 0, 2, 5, 6, 13, 11, 2, 13, 12, 11],
"ct": [15, 12, 7, 13, 7, 12, 9, 8, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2991,
"comment": "y = 0 and (y + a) % radix**7 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "7631f717d359d31111cbf6",
"msg": [6, 10, 7, 1, 14, 15, 10, 13, 9, 4, 2, 7, 9, 13],
"ct": [15, 12, 7, 13, 7, 12, 9, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2992,
"comment": "y = 1 and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "0c62989a1649ea044b159b",
"msg": [0, 6, 8, 15, 9, 7, 2, 12, 13, 2, 1, 5, 0, 15],
"ct": [3, 10, 5, 8, 2, 11, 8, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 2993,
"comment": "y = 1 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "0c62989a1649ea044b159b",
"msg": [15, 6, 3, 6, 6, 8, 13, 10, 4, 11, 9, 13, 12, 11],
"ct": [3, 10, 5, 8, 2, 11, 8, 0, 0, 0, 0, 0, 0, 2],
"result": "valid"
},
{
"tcId": 2994,
"comment": "y = 1 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "0c62989a1649ea044b159b",
"msg": [15, 0, 14, 3, 12, 2, 15, 7, 2, 2, 9, 10, 3, 8],
"ct": [3, 10, 5, 8, 2, 11, 8, 8, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 2995,
"comment": "y = 1 and (y + a) % radix**7 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "0c62989a1649ea044b159b",
"msg": [2, 8, 13, 3, 3, 14, 12, 5, 12, 13, 10, 1, 10, 10],
"ct": [3, 10, 5, 8, 2, 11, 8, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 2996,
"comment": "y = 1 and (y + a) % radix**7 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "0c62989a1649ea044b159b",
"msg": [5, 3, 1, 5, 9, 9, 14, 12, 10, 11, 9, 3, 14, 8],
"ct": [3, 10, 5, 8, 2, 11, 8, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2997,
"comment": "y is maximal and (y + a) % radix**7 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "e791a0c493ba00cfb74665",
"msg": [8, 8, 9, 6, 14, 10, 8, 0, 0, 0, 0, 0, 0, 0],
"ct": [9, 6, 0, 4, 11, 9, 5, 4, 11, 14, 15, 6, 14, 13],
"result": "valid"
},
{
"tcId": 2998,
"comment": "y is maximal and (y + a) % radix**7 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "e791a0c493ba00cfb74665",
"msg": [9, 1, 2, 15, 15, 0, 5, 0, 0, 0, 0, 0, 0, 1],
"ct": [1, 4, 7, 6, 8, 2, 6, 4, 7, 2, 14, 10, 1, 5],
"result": "valid"
},
{
"tcId": 2999,
"comment": "y is maximal and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "e791a0c493ba00cfb74665",
"msg": [13, 11, 11, 9, 6, 4, 6, 8, 0, 0, 0, 0, 0, 0],
"ct": [9, 4, 10, 8, 14, 15, 6, 15, 11, 6, 5, 11, 8, 13],
"result": "valid"
},
{
"tcId": 3000,
"comment": "y is maximal and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "e791a0c493ba00cfb74665",
"msg": [8, 3, 9, 9, 10, 12, 1, 15, 15, 15, 15, 15, 15, 15],
"ct": [10, 2, 5, 1, 2, 11, 5, 12, 8, 3, 13, 4, 1, 4],
"result": "valid"
},
{
"tcId": 3001,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "9c26bc3aef83550e1df2ea",
"msg": [4, 1, 8, 5, 0, 12, 4, 12, 8, 1, 1, 7, 12, 15],
"ct": [4, 2, 10, 15, 8, 3, 3, 3, 4, 6, 11, 13, 3, 7],
"result": "valid"
},
{
"tcId": 3002,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "9c26bc3aef83550e1df2ea",
"msg": [3, 11, 13, 0, 5, 0, 11, 10, 13, 15, 1, 15, 14, 11],
"ct": [12, 2, 13, 10, 10, 7, 12, 15, 1, 6, 6, 7, 2, 15],
"result": "valid"
},
{
"tcId": 3003,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "9c26bc3aef83550e1df2ea",
"msg": [1, 3, 6, 13, 12, 2, 5, 12, 8, 9, 10, 0, 12, 11],
"ct": [13, 0, 8, 11, 0, 2, 7, 11, 0, 4, 11, 14, 13, 1],
"result": "valid"
},
{
"tcId": 3004,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "9c26bc3aef83550e1df2ea",
"msg": [13, 5, 11, 4, 6, 5, 8, 4, 11, 6, 14, 14, 7, 9],
"ct": [10, 14, 15, 3, 15, 15, 6, 1, 9, 6, 12, 14, 4, 5],
"result": "valid"
},
{
"tcId": 3005,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "9c26bc3aef83550e1df2ea",
"msg": [0, 1, 0, 15, 13, 10, 8, 3, 2, 14, 8, 14, 7, 4],
"ct": [5, 2, 14, 13, 8, 15, 3, 8, 8, 2, 3, 10, 1, 4],
"result": "valid"
},
{
"tcId": 3006,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "9c26bc3aef83550e1df2ea",
"msg": [9, 11, 12, 14, 15, 13, 10, 7, 12, 6, 0, 1, 4, 8],
"ct": [10, 15, 5, 8, 11, 1, 4, 12, 5, 0, 0, 6, 11, 14],
"result": "valid"
},
{
"tcId": 3007,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "aabcd9fae8c214517824d5",
"msg": [0, 12, 4, 4, 7, 10, 8, 14, 9, 7, 4, 3, 0, 12],
"ct": [0, 7, 15, 11, 10, 15, 13, 7, 11, 5, 14, 5, 9, 0],
"result": "valid"
},
{
"tcId": 3008,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "aabcd9fae8c214517824d5",
"msg": [3, 3, 8, 15, 12, 10, 2, 0, 9, 4, 13, 8, 10, 11],
"ct": [1, 15, 4, 12, 10, 7, 8, 0, 0, 8, 5, 5, 3, 2],
"result": "valid"
},
{
"tcId": 3009,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "aabcd9fae8c214517824d5",
"msg": [13, 1, 0, 12, 8, 5, 4, 10, 8, 7, 10, 10, 7, 4],
"ct": [10, 15, 10, 0, 6, 5, 8, 13, 5, 7, 4, 7, 7, 1],
"result": "valid"
},
{
"tcId": 3010,
"comment": "y is maximal after modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "aabcd9fae8c214517824d5",
"msg": [2, 14, 8, 14, 12, 2, 0, 7, 10, 0, 4, 2, 5, 15],
"ct": [15, 9, 11, 6, 11, 10, 14, 8, 2, 1, 8, 3, 10, 3],
"result": "valid"
},
{
"tcId": 3011,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235",
"tweak": "00f218eb912f6eeb",
"msg": [-1, 9, 12, 14, 8, 3, 1, 5, 5, 10, 15, 14, 14, 6],
"ct": [9, 14, 13, 5, 9, 14, 0, 7, 2, 12, 0, 3, 9, 8],
"result": "invalid"
},
{
"tcId": 3012,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235",
"tweak": "00f218eb912f6eeb",
"msg": [7, 9, 12, 14, -1, 3, 1, 5, 5, 10, 15, 14, 14, 6],
"ct": [15, 11, 10, 3, 13, 11, 5, 3, 3, 11, 1, 7, 14, 2],
"result": "invalid"
},
{
"tcId": 3013,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235",
"tweak": "00f218eb912f6eeb",
"msg": [7, 9, 12, 14, 8, 3, 1, 5, 5, 10, 15, 14, 14, -1],
"ct": [11, 7, 12, 15, 7, 3, 14, 10, 12, 10, 6, 15, 1, 14],
"result": "invalid"
},
{
"tcId": 3014,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "91f9c15e8803e0ddea78359573e9040b7a9934310c50a7a7ab8f9935ed2fdd55",
"tweak": "4bf6c534add1093d",
"msg": [16, 2, 5, 15, 8, 2, 8, 14, 4, 7, 15, 11, 2, 14],
"ct": [9, 7, 10, 9, 10, 8, 6, 1, 3, 0, 1, 10, 10, 9],
"result": "invalid"
},
{
"tcId": 3015,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "91f9c15e8803e0ddea78359573e9040b7a9934310c50a7a7ab8f9935ed2fdd55",
"tweak": "4bf6c534add1093d",
"msg": [2, 2, 5, 15, 16, 2, 8, 14, 4, 7, 15, 11, 2, 14],
"ct": [14, 3, 2, 13, 1, 14, 13, 6, 8, 11, 7, 4, 8, 1],
"result": "invalid"
},
{
"tcId": 3016,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "91f9c15e8803e0ddea78359573e9040b7a9934310c50a7a7ab8f9935ed2fdd55",
"tweak": "4bf6c534add1093d",
"msg": [2, 2, 5, 15, 8, 2, 8, 14, 4, 7, 15, 11, 2, 16],
"ct": [15, 13, 0, 15, 10, 0, 10, 1, 8, 9, 7, 11, 15, 12],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 15,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3017,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "2f9e5c52ea98009130c5c4302ab79c69e9b89a3871ef8b13d04e3cb3ab09d963",
"tweak": "c6eca51b923fbd6f",
"msg": [0, 12, 12, 9, 5, 5, 9, 15, 14, 7, 13, 10, 11, 0, 14],
"ct": [3, 4, 4, 12, 6, 0, 9, 14, 7, 15, 14, 8, 4, 13, 1],
"result": "valid"
},
{
"tcId": 3018,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [12, 10, 6, 1, 5, 13, 14, 3, 14, 7, 2, 10, 7, 14, 13],
"result": "valid"
},
{
"tcId": 3019,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [11, 0, 6, 13, 1, 0, 15, 9, 10, 7, 11, 4, 11, 15, 2],
"result": "valid"
},
{
"tcId": 3020,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [8, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 14, 6, 2, 3, 4, 14, 5, 10, 7, 4, 9, 12, 11, 4],
"result": "valid"
},
{
"tcId": 3021,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [7, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15],
"ct": [12, 9, 9, 0, 2, 4, 10, 9, 0, 15, 7, 0, 7, 5, 11],
"result": "valid"
},
{
"tcId": 3022,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [10, 15, 13, 8, 15, 1, 12, 14, 4, 4, 7, 1, 13, 6, 8],
"ct": [14, 13, 11, 4, 5, 0, 3, 11, 1, 10, 13, 4, 14, 4, 10],
"result": "valid"
},
{
"tcId": 3023,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [13, 9, 3, 6, 8, 9, 5, 14, 0, 13, 0, 7, 10, 0, 11],
"ct": [14, 12, 8, 10, 3, 10, 3, 3, 11, 10, 1, 1, 5, 2, 11],
"result": "valid"
},
{
"tcId": 3024,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [14, 11, 9, 9, 14, 5, 7, 5, 1, 14, 3, 13, 11, 9, 11],
"ct": [1, 9, 11, 12, 15, 1, 1, 9, 2, 13, 3, 2, 13, 9, 2],
"result": "valid"
},
{
"tcId": 3025,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [1, 5, 10, 12, 11, 14, 4, 14, 12, 13, 15, 8, 6, 4, 0],
"ct": [12, 2, 7, 0, 12, 12, 9, 15, 6, 0, 8, 13, 8, 4, 15],
"result": "valid"
},
{
"tcId": 3026,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [3, 2, 8, 6, 13, 4, 5, 5, 15, 13, 4, 14, 14, 14, 15],
"ct": [6, 0, 5, 5, 5, 7, 1, 3, 1, 11, 14, 6, 5, 0, 7],
"result": "valid"
},
{
"tcId": 3027,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [2, 7, 10, 0, 9, 7, 5, 9, 9, 2, 14, 2, 5, 6, 15],
"ct": [3, 10, 8, 14, 1, 8, 9, 15, 3, 12, 9, 15, 6, 5, 14],
"result": "valid"
},
{
"tcId": 3028,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [4, 14, 6, 15, 4, 8, 1, 11, 13, 2, 5, 11, 7, 8, 4],
"ct": [4, 2, 1, 4, 4, 14, 2, 7, 6, 5, 14, 9, 8, 9, 2],
"result": "valid"
},
{
"tcId": 3029,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [9, 5, 4, 3, 1, 3, 13, 3, 10, 1, 11, 7, 6, 10, 3],
"ct": [14, 11, 8, 13, 6, 8, 5, 2, 13, 11, 9, 4, 1, 15, 12],
"result": "valid"
},
{
"tcId": 3030,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [10, 5, 6, 14, 10, 14, 10, 8, 6, 3, 0, 14, 9, 13, 4],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3031,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [7, 5, 7, 3, 8, 4, 6, 6, 15, 7, 4, 7, 3, 14, 7],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3032,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [0, 3, 2, 15, 11, 6, 14, 1, 13, 12, 11, 15, 15, 10, 7],
"ct": [8, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3033,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [11, 13, 2, 11, 8, 15, 6, 2, 4, 8, 9, 13, 0, 4, 11],
"ct": [7, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3034,
"comment": "y = 0 and (y + a) % radix**7 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "0560956ec0328e2c7d3675",
"msg": [13, 2, 8, 11, 4, 3, 8, 2, 12, 12, 11, 13, 13, 9, 14],
"ct": [0, 0, 0, 0, 0, 0, 0, 10, 14, 15, 1, 11, 11, 6, 14],
"result": "valid"
},
{
"tcId": 3035,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "0560956ec0328e2c7d3675",
"msg": [6, 2, 0, 12, 3, 3, 3, 14, 0, 12, 5, 4, 5, 14, 4],
"ct": [0, 0, 0, 0, 0, 0, 1, 3, 7, 14, 4, 0, 3, 10, 8],
"result": "valid"
},
{
"tcId": 3036,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "0560956ec0328e2c7d3675",
"msg": [1, 1, 5, 7, 8, 4, 13, 8, 15, 4, 12, 12, 8, 1, 6],
"ct": [8, 0, 0, 0, 0, 0, 0, 10, 2, 14, 15, 10, 1, 12, 13],
"result": "valid"
},
{
"tcId": 3037,
"comment": "y = 0 and (y + a) % radix**7 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "0560956ec0328e2c7d3675",
"msg": [13, 12, 7, 0, 1, 15, 6, 4, 13, 4, 12, 7, 12, 15, 1],
"ct": [15, 15, 15, 15, 15, 15, 15, 13, 10, 9, 1, 8, 4, 6, 1],
"result": "valid"
},
{
"tcId": 3038,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "7d1969775bdcaa1169aa96",
"msg": [5, 15, 3, 11, 12, 0, 5, 9, 4, 6, 3, 3, 12, 6, 0],
"ct": [0, 0, 0, 0, 0, 0, 1, 4, 7, 1, 8, 12, 12, 15, 0],
"result": "valid"
},
{
"tcId": 3039,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "7d1969775bdcaa1169aa96",
"msg": [5, 14, 10, 15, 13, 10, 15, 4, 12, 13, 6, 14, 13, 8, 15],
"ct": [0, 0, 0, 0, 0, 0, 2, 0, 12, 6, 10, 3, 12, 14, 8],
"result": "valid"
},
{
"tcId": 3040,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "7d1969775bdcaa1169aa96",
"msg": [4, 5, 1, 9, 11, 2, 13, 2, 9, 9, 12, 15, 14, 8, 13],
"ct": [8, 0, 0, 0, 0, 0, 1, 12, 12, 10, 12, 6, 11, 8, 10],
"result": "valid"
},
{
"tcId": 3041,
"comment": "y = 1 and (y + a) % radix**7 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "7d1969775bdcaa1169aa96",
"msg": [8, 15, 8, 2, 0, 1, 8, 13, 6, 15, 7, 12, 10, 10, 10],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 4, 2, 8, 3, 10, 8, 4],
"result": "valid"
},
{
"tcId": 3042,
"comment": "y = 1 and (y + a) % radix**7 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "7d1969775bdcaa1169aa96",
"msg": [12, 6, 4, 5, 0, 5, 1, 11, 7, 11, 15, 8, 6, 11, 3],
"ct": [0, 0, 0, 0, 0, 0, 0, 12, 1, 15, 10, 5, 9, 13, 4],
"result": "valid"
},
{
"tcId": 3043,
"comment": "y is maximal and (y + a) % radix**7 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "f4f6aae53cc04868ae1139",
"msg": [3, 11, 10, 12, 14, 12, 0, 1, 11, 2, 2, 9, 6, 14, 1],
"ct": [15, 10, 10, 12, 3, 8, 15, 8, 8, 4, 6, 9, 3, 12, 9],
"result": "valid"
},
{
"tcId": 3044,
"comment": "y is maximal and (y + a) % radix**7 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "f4f6aae53cc04868ae1139",
"msg": [10, 9, 1, 13, 10, 14, 14, 1, 8, 2, 5, 7, 2, 8, 6],
"ct": [7, 1, 11, 5, 2, 14, 7, 10, 4, 7, 10, 8, 13, 15, 3],
"result": "valid"
},
{
"tcId": 3045,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "f4f6aae53cc04868ae1139",
"msg": [11, 4, 8, 5, 11, 10, 5, 0, 5, 0, 13, 11, 10, 5, 1],
"ct": [10, 15, 3, 14, 6, 4, 0, 6, 2, 2, 3, 0, 13, 9, 2],
"result": "valid"
},
{
"tcId": 3046,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "f4f6aae53cc04868ae1139",
"msg": [0, 14, 15, 9, 11, 15, 7, 9, 12, 11, 9, 6, 13, 12, 10],
"ct": [6, 5, 9, 1, 14, 12, 0, 5, 3, 4, 1, 13, 7, 13, 4],
"result": "valid"
},
{
"tcId": 3047,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "a73c6c802a57b8255d4179",
"msg": [1, 13, 11, 15, 11, 10, 15, 3, 12, 9, 4, 5, 1, 13, 1],
"ct": [8, 15, 15, 14, 6, 9, 2, 7, 13, 11, 6, 5, 14, 0, 4],
"result": "valid"
},
{
"tcId": 3048,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "a73c6c802a57b8255d4179",
"msg": [0, 9, 9, 14, 7, 8, 1, 5, 6, 7, 6, 2, 1, 12, 1],
"ct": [6, 1, 13, 3, 5, 13, 5, 10, 10, 10, 2, 1, 3, 0, 15],
"result": "valid"
},
{
"tcId": 3049,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "a73c6c802a57b8255d4179",
"msg": [14, 14, 6, 15, 11, 14, 12, 2, 8, 14, 15, 12, 13, 10, 12],
"ct": [9, 5, 3, 13, 10, 2, 7, 9, 11, 9, 9, 8, 5, 7, 0],
"result": "valid"
},
{
"tcId": 3050,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "a73c6c802a57b8255d4179",
"msg": [0, 5, 3, 1, 12, 11, 3, 3, 15, 13, 11, 0, 0, 7, 10],
"ct": [1, 12, 5, 13, 6, 3, 15, 5, 12, 14, 11, 8, 14, 11, 13],
"result": "valid"
},
{
"tcId": 3051,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "a73c6c802a57b8255d4179",
"msg": [7, 5, 1, 15, 6, 8, 1, 5, 9, 8, 14, 1, 8, 15, 1],
"ct": [2, 3, 2, 14, 7, 10, 4, 0, 13, 5, 8, 6, 3, 8, 6],
"result": "valid"
},
{
"tcId": 3052,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "a73c6c802a57b8255d4179",
"msg": [11, 4, 2, 9, 9, 8, 14, 6, 12, 10, 7, 3, 11, 11, 14],
"ct": [9, 11, 7, 1, 4, 0, 14, 13, 2, 9, 10, 1, 1, 9, 15],
"result": "valid"
},
{
"tcId": 3053,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "52ee8dc77ea6394bad1b9c",
"msg": [15, 13, 3, 1, 5, 1, 9, 8, 15, 9, 10, 11, 3, 12, 6],
"ct": [9, 11, 2, 9, 6, 9, 3, 2, 15, 0, 2, 11, 2, 15, 4],
"result": "valid"
},
{
"tcId": 3054,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "52ee8dc77ea6394bad1b9c",
"msg": [3, 10, 10, 7, 1, 8, 10, 0, 5, 0, 6, 12, 7, 13, 4],
"ct": [5, 6, 3, 11, 2, 7, 7, 1, 3, 14, 13, 8, 8, 2, 3],
"result": "valid"
},
{
"tcId": 3055,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "52ee8dc77ea6394bad1b9c",
"msg": [14, 0, 13, 7, 10, 11, 8, 12, 9, 14, 6, 6, 13, 7, 4],
"ct": [15, 6, 9, 0, 15, 3, 6, 10, 14, 1, 0, 4, 9, 8, 6],
"result": "valid"
},
{
"tcId": 3056,
"comment": "y is maximal after modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "52ee8dc77ea6394bad1b9c",
"msg": [14, 15, 3, 12, 14, 10, 4, 3, 12, 7, 6, 10, 10, 6, 10],
"ct": [7, 3, 11, 5, 15, 10, 8, 7, 2, 12, 7, 9, 10, 7, 4],
"result": "valid"
},
{
"tcId": 3057,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440",
"tweak": "351b957ffa7ac601",
"msg": [-1, 8, 8, 10, 14, 11, 9, 10, 0, 11, 4, 14, 2, 14, 8],
"ct": [2, 0, 4, 11, 9, 7, 6, 1, 7, 0, 10, 15, 14, 14, 12],
"result": "invalid"
},
{
"tcId": 3058,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440",
"tweak": "351b957ffa7ac601",
"msg": [7, 8, 8, 10, 14, -1, 9, 10, 0, 11, 4, 14, 2, 14, 8],
"ct": [13, 14, 1, 8, 5, 5, 1, 8, 5, 0, 12, 2, 11, 1, 3],
"result": "invalid"
},
{
"tcId": 3059,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440",
"tweak": "351b957ffa7ac601",
"msg": [7, 8, 8, 10, 14, 11, 9, 10, 0, 11, 4, 14, 2, 14, -1],
"ct": [0, 4, 12, 14, 7, 4, 13, 6, 0, 5, 2, 7, 6, 6, 10],
"result": "invalid"
},
{
"tcId": 3060,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f8e2f1d14cb392e04ea6627b05bc9d5e0d76111bb32b0374d6e91c84ecc5caea",
"tweak": "e273b0712bf146bb",
"msg": [16, 14, 10, 12, 8, 5, 6, 7, 11, 6, 2, 8, 1, 0, 14],
"ct": [9, 15, 5, 9, 6, 10, 3, 0, 3, 5, 10, 14, 12, 5, 9],
"result": "invalid"
},
{
"tcId": 3061,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f8e2f1d14cb392e04ea6627b05bc9d5e0d76111bb32b0374d6e91c84ecc5caea",
"tweak": "e273b0712bf146bb",
"msg": [3, 14, 10, 12, 8, 16, 6, 7, 11, 6, 2, 8, 1, 0, 14],
"ct": [2, 5, 3, 7, 0, 3, 12, 13, 12, 11, 13, 9, 9, 9, 9],
"result": "invalid"
},
{
"tcId": 3062,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f8e2f1d14cb392e04ea6627b05bc9d5e0d76111bb32b0374d6e91c84ecc5caea",
"tweak": "e273b0712bf146bb",
"msg": [3, 14, 10, 12, 8, 5, 6, 7, 11, 6, 2, 8, 1, 0, 16],
"ct": [15, 2, 2, 1, 14, 11, 12, 8, 0, 14, 10, 12, 1, 1, 14],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 16,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3063,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "505aa98819809ef63b9a368a1e8bc2e922da45b03ce02d9a7966b15006dba2d5",
"tweak": "5b54b73e6af6a275",
"msg": [14, 2, 13, 6, 9, 15, 9, 5, 14, 8, 11, 4, 4, 5, 15, 14],
"ct": [7, 12, 14, 13, 1, 7, 2, 15, 8, 0, 3, 12, 1, 11, 11, 15],
"result": "valid"
},
{
"tcId": 3064,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [13, 5, 10, 11, 12, 5, 9, 4, 8, 5, 10, 8, 0, 8, 13, 3],
"result": "valid"
},
{
"tcId": 3065,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [14, 4, 9, 12, 1, 6, 11, 12, 11, 0, 8, 5, 10, 10, 10, 11],
"result": "valid"
},
{
"tcId": 3066,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 14, 9, 9, 6, 3, 6, 2, 2, 4, 10, 0, 14, 1, 14, 2],
"result": "valid"
},
{
"tcId": 3067,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15],
"ct": [12, 1, 4, 6, 15, 11, 7, 0, 9, 4, 2, 1, 6, 4, 1, 9],
"result": "valid"
},
{
"tcId": 3068,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [14, 5, 11, 0, 0, 6, 9, 6, 0, 6, 6, 10, 6, 12, 5, 10],
"ct": [1, 2, 12, 12, 4, 14, 12, 1, 0, 8, 15, 11, 5, 2, 4, 7],
"result": "valid"
},
{
"tcId": 3069,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [0, 8, 15, 1, 11, 1, 12, 14, 1, 4, 1, 15, 5, 12, 0, 1],
"ct": [11, 8, 12, 10, 9, 2, 9, 6, 9, 0, 5, 11, 15, 12, 12, 9],
"result": "valid"
},
{
"tcId": 3070,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [10, 2, 11, 4, 8, 12, 5, 12, 9, 15, 10, 8, 12, 4, 7, 11],
"ct": [6, 3, 9, 3, 15, 10, 2, 9, 5, 6, 3, 2, 14, 15, 3, 4],
"result": "valid"
},
{
"tcId": 3071,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [2, 7, 11, 1, 6, 1, 7, 10, 1, 6, 4, 14, 8, 11, 4, 15],
"ct": [6, 2, 13, 1, 7, 6, 14, 13, 3, 5, 0, 2, 5, 13, 6, 12],
"result": "valid"
},
{
"tcId": 3072,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [1, 14, 13, 5, 7, 12, 10, 14, 6, 5, 0, 6, 3, 12, 6, 5],
"ct": [15, 9, 13, 3, 0, 9, 12, 14, 12, 1, 0, 11, 10, 13, 10, 4],
"result": "valid"
},
{
"tcId": 3073,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [11, 3, 1, 4, 12, 10, 6, 14, 8, 12, 5, 10, 2, 3, 7, 2],
"ct": [1, 8, 3, 11, 2, 10, 2, 2, 4, 15, 5, 14, 12, 7, 11, 13],
"result": "valid"
},
{
"tcId": 3074,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [6, 6, 9, 1, 1, 9, 9, 6, 5, 9, 7, 3, 14, 0, 0, 5],
"ct": [14, 13, 8, 6, 14, 2, 3, 9, 6, 8, 11, 14, 7, 8, 11, 9],
"result": "valid"
},
{
"tcId": 3075,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [13, 6, 5, 6, 4, 11, 2, 11, 15, 1, 9, 9, 3, 3, 12, 12],
"ct": [7, 14, 7, 1, 15, 9, 3, 4, 15, 11, 1, 7, 3, 13, 12, 14],
"result": "valid"
},
{
"tcId": 3076,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [3, 13, 0, 0, 15, 4, 12, 12, 6, 1, 8, 12, 6, 13, 7, 6],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3077,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [13, 6, 12, 6, 0, 10, 4, 3, 4, 2, 0, 5, 15, 7, 14, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3078,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [3, 8, 13, 8, 7, 1, 7, 8, 11, 0, 8, 4, 10, 0, 11, 7],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3079,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [3, 0, 9, 7, 13, 11, 7, 11, 8, 15, 9, 13, 4, 4, 14, 6],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3080,
"comment": "y = 0 and (y + a) % radix**8 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "f86a77f6e34eff8801f104",
"msg": [11, 13, 13, 5, 5, 10, 1, 3, 9, 5, 6, 12, 11, 10, 10, 3],
"ct": [3, 8, 10, 2, 7, 1, 6, 4, 6, 13, 2, 9, 1, 13, 10, 11],
"result": "valid"
},
{
"tcId": 3081,
"comment": "y = 0 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "f86a77f6e34eff8801f104",
"msg": [4, 12, 8, 14, 6, 4, 12, 12, 13, 15, 7, 8, 11, 5, 2, 10],
"ct": [0, 8, 8, 15, 3, 4, 10, 11, 2, 8, 15, 5, 0, 8, 11, 4],
"result": "valid"
},
{
"tcId": 3082,
"comment": "y = 0 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "f86a77f6e34eff8801f104",
"msg": [12, 7, 11, 14, 14, 15, 12, 7, 1, 14, 10, 6, 2, 4, 8, 13],
"ct": [15, 9, 15, 14, 3, 8, 6, 5, 1, 14, 14, 11, 4, 7, 10, 9],
"result": "valid"
},
{
"tcId": 3083,
"comment": "y = 0 and (y + a) % radix**8 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "f86a77f6e34eff8801f104",
"msg": [8, 1, 11, 0, 8, 12, 15, 2, 2, 4, 14, 9, 0, 10, 14, 8],
"ct": [1, 0, 6, 0, 10, 4, 4, 9, 14, 14, 2, 0, 2, 0, 1, 10],
"result": "valid"
},
{
"tcId": 3084,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "ce88056ef0ac2b3cafdba2",
"msg": [4, 2, 12, 14, 4, 5, 3, 14, 10, 11, 14, 4, 1, 7, 6, 6],
"ct": [10, 11, 7, 8, 8, 12, 9, 12, 14, 13, 4, 12, 8, 4, 9, 4],
"result": "valid"
},
{
"tcId": 3085,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "ce88056ef0ac2b3cafdba2",
"msg": [2, 10, 13, 10, 2, 5, 11, 6, 6, 15, 13, 10, 7, 1, 7, 8],
"ct": [12, 6, 14, 3, 15, 11, 1, 15, 12, 12, 6, 9, 7, 14, 11, 3],
"result": "valid"
},
{
"tcId": 3086,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "ce88056ef0ac2b3cafdba2",
"msg": [11, 4, 9, 9, 10, 8, 5, 2, 8, 6, 3, 6, 1, 4, 9, 4],
"ct": [12, 0, 15, 9, 13, 1, 9, 12, 0, 12, 4, 9, 10, 0, 10, 4],
"result": "valid"
},
{
"tcId": 3087,
"comment": "y = 1 and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "ce88056ef0ac2b3cafdba2",
"msg": [5, 13, 9, 15, 13, 13, 5, 1, 5, 2, 12, 10, 12, 9, 6, 8],
"ct": [13, 13, 0, 5, 4, 10, 15, 6, 10, 13, 0, 3, 5, 14, 15, 3],
"result": "valid"
},
{
"tcId": 3088,
"comment": "y = 1 and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "ce88056ef0ac2b3cafdba2",
"msg": [14, 7, 11, 15, 9, 4, 5, 9, 8, 8, 9, 4, 0, 13, 7, 6],
"ct": [12, 3, 0, 13, 8, 5, 10, 10, 7, 8, 9, 4, 5, 1, 2, 10],
"result": "valid"
},
{
"tcId": 3089,
"comment": "y is maximal and (y + a) % radix**8 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "4064b3fecc6c63d10d1606",
"msg": [3, 9, 12, 14, 0, 8, 11, 14, 5, 6, 10, 8, 12, 1, 1, 3],
"ct": [15, 7, 2, 3, 3, 15, 3, 5, 14, 7, 11, 13, 2, 0, 14, 12],
"result": "valid"
},
{
"tcId": 3090,
"comment": "y is maximal and (y + a) % radix**8 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "4064b3fecc6c63d10d1606",
"msg": [1, 1, 13, 3, 4, 7, 4, 1, 2, 4, 4, 11, 2, 4, 11, 8],
"ct": [8, 0, 13, 5, 2, 3, 12, 8, 1, 9, 5, 4, 14, 0, 6, 4],
"result": "valid"
},
{
"tcId": 3091,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "4064b3fecc6c63d10d1606",
"msg": [13, 11, 10, 4, 4, 14, 13, 0, 14, 15, 11, 3, 6, 13, 0, 9],
"ct": [10, 11, 9, 1, 11, 4, 7, 9, 15, 11, 2, 8, 11, 15, 14, 11],
"result": "valid"
},
{
"tcId": 3092,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "4064b3fecc6c63d10d1606",
"msg": [2, 0, 1, 5, 10, 12, 12, 0, 10, 12, 11, 15, 5, 7, 7, 10],
"ct": [10, 0, 6, 15, 11, 0, 14, 13, 2, 8, 1, 15, 3, 4, 5, 0],
"result": "valid"
},
{
"tcId": 3093,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "16c02b4101ddcf1e25f2a3",
"msg": [5, 9, 15, 11, 4, 12, 2, 5, 2, 6, 6, 12, 13, 0, 1, 5],
"ct": [14, 10, 11, 8, 10, 0, 11, 14, 2, 14, 2, 14, 1, 4, 3, 7],
"result": "valid"
},
{
"tcId": 3094,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "16c02b4101ddcf1e25f2a3",
"msg": [9, 6, 12, 14, 12, 10, 5, 1, 9, 11, 2, 15, 4, 10, 0, 12],
"ct": [8, 3, 3, 6, 11, 4, 5, 8, 3, 15, 10, 13, 11, 13, 3, 12],
"result": "valid"
},
{
"tcId": 3095,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "16c02b4101ddcf1e25f2a3",
"msg": [4, 0, 0, 5, 13, 12, 10, 15, 9, 4, 1, 2, 15, 8, 1, 8],
"ct": [14, 15, 0, 1, 0, 10, 6, 9, 10, 9, 4, 14, 8, 5, 3, 14],
"result": "valid"
},
{
"tcId": 3096,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "16c02b4101ddcf1e25f2a3",
"msg": [5, 12, 14, 6, 15, 13, 11, 12, 7, 4, 7, 3, 3, 9, 5, 10],
"ct": [5, 3, 10, 3, 11, 4, 9, 6, 1, 0, 9, 9, 11, 7, 12, 0],
"result": "valid"
},
{
"tcId": 3097,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "16c02b4101ddcf1e25f2a3",
"msg": [12, 11, 14, 4, 7, 6, 0, 7, 6, 12, 8, 1, 13, 8, 1, 13],
"ct": [2, 2, 3, 3, 12, 12, 9, 10, 1, 15, 13, 6, 6, 3, 11, 11],
"result": "valid"
},
{
"tcId": 3098,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "16c02b4101ddcf1e25f2a3",
"msg": [14, 8, 2, 9, 11, 8, 2, 15, 14, 12, 2, 10, 7, 14, 4, 9],
"ct": [2, 13, 7, 0, 7, 10, 10, 1, 4, 0, 4, 0, 11, 1, 5, 5],
"result": "valid"
},
{
"tcId": 3099,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "03cf8959ea9c4f5a073917",
"msg": [5, 6, 5, 12, 13, 2, 12, 0, 14, 4, 12, 10, 7, 1, 15, 6],
"ct": [0, 12, 2, 6, 0, 1, 12, 9, 12, 7, 13, 0, 2, 7, 2, 15],
"result": "valid"
},
{
"tcId": 3100,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "03cf8959ea9c4f5a073917",
"msg": [13, 11, 8, 12, 14, 4, 5, 15, 4, 6, 1, 15, 1, 4, 4, 14],
"ct": [8, 12, 4, 1, 1, 5, 3, 5, 4, 3, 12, 0, 1, 3, 14, 6],
"result": "valid"
},
{
"tcId": 3101,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "03cf8959ea9c4f5a073917",
"msg": [6, 13, 4, 6, 6, 3, 2, 11, 11, 9, 6, 5, 6, 15, 10, 11],
"ct": [12, 10, 5, 1, 14, 3, 3, 5, 6, 9, 4, 9, 13, 0, 5, 9],
"result": "valid"
},
{
"tcId": 3102,
"comment": "y is maximal after modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "03cf8959ea9c4f5a073917",
"msg": [2, 4, 14, 11, 11, 10, 1, 11, 7, 2, 0, 5, 12, 2, 3, 2],
"ct": [7, 3, 13, 2, 0, 3, 5, 8, 14, 2, 11, 15, 4, 6, 2, 8],
"result": "valid"
},
{
"tcId": 3103,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7",
"tweak": "a48cfeaa6646b0c5",
"msg": [-1, 6, 13, 10, 7, 2, 12, 1, 10, 10, 13, 4, 2, 2, 15, 11],
"ct": [2, 8, 14, 1, 6, 7, 6, 2, 11, 9, 6, 1, 15, 7, 14, 7],
"result": "invalid"
},
{
"tcId": 3104,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7",
"tweak": "a48cfeaa6646b0c5",
"msg": [11, 6, 13, 10, 7, -1, 12, 1, 10, 10, 13, 4, 2, 2, 15, 11],
"ct": [15, 13, 5, 2, 10, 2, 14, 9, 3, 15, 10, 15, 0, 11, 4, 14],
"result": "invalid"
},
{
"tcId": 3105,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7",
"tweak": "a48cfeaa6646b0c5",
"msg": [11, 6, 13, 10, 7, 2, 12, 1, 10, 10, 13, 4, 2, 2, 15, -1],
"ct": [13, 0, 7, 13, 2, 1, 8, 12, 8, 7, 7, 9, 4, 1, 12, 6],
"result": "invalid"
},
{
"tcId": 3106,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8926b8e4032ba768f99e845896a370917694737b1e79146462efb8133fd8c6bd",
"tweak": "0e7f7ecdfe6dce73",
"msg": [16, 10, 12, 15, 6, 9, 13, 1, 14, 4, 12, 6, 14, 11, 7, 14],
"ct": [4, 15, 5, 9, 7, 0, 12, 1, 10, 11, 12, 1, 9, 2, 9, 13],
"result": "invalid"
},
{
"tcId": 3107,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8926b8e4032ba768f99e845896a370917694737b1e79146462efb8133fd8c6bd",
"tweak": "0e7f7ecdfe6dce73",
"msg": [9, 10, 12, 15, 6, 16, 13, 1, 14, 4, 12, 6, 14, 11, 7, 14],
"ct": [12, 2, 1, 10, 5, 14, 4, 9, 11, 10, 5, 7, 10, 3, 11, 0],
"result": "invalid"
},
{
"tcId": 3108,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8926b8e4032ba768f99e845896a370917694737b1e79146462efb8133fd8c6bd",
"tweak": "0e7f7ecdfe6dce73",
"msg": [9, 10, 12, 15, 6, 9, 13, 1, 14, 4, 12, 6, 14, 11, 7, 16],
"ct": [0, 1, 7, 3, 4, 11, 1, 0, 4, 2, 0, 11, 4, 14, 11, 0],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 17,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3109,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "abd43681541e9a9233091509ee06c648b45a34c0ddc73f39d804bcaf7bf31a0e",
"tweak": "011400c2b81f3e50",
"msg": [0, 10, 1, 2, 13, 15, 0, 5, 15, 7, 5, 2, 7, 3, 9, 11, 5],
"ct": [11, 11, 7, 13, 1, 5, 3, 0, 9, 4, 3, 6, 9, 7, 5, 6, 4],
"result": "valid"
},
{
"tcId": 3110,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [14, 15, 5, 11, 10, 7, 1, 5, 10, 14, 8, 10, 2, 15, 8, 7, 2],
"result": "valid"
},
{
"tcId": 3111,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [10, 0, 14, 11, 11, 9, 13, 13, 12, 8, 12, 5, 13, 14, 10, 1, 2],
"result": "valid"
},
{
"tcId": 3112,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 12, 14, 13, 11, 12, 14, 4, 3, 12, 11, 6, 4, 5, 5, 4, 10],
"result": "valid"
},
{
"tcId": 3113,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [15, 5, 11, 6, 2, 9, 13, 13, 7, 12, 13, 4, 3, 13, 12, 14, 15],
"result": "valid"
},
{
"tcId": 3114,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [2, 15, 2, 5, 8, 14, 4, 6, 1, 7, 15, 3, 4, 11, 6, 5, 12],
"ct": [0, 14, 3, 4, 8, 11, 3, 11, 9, 2, 14, 10, 11, 2, 7, 6, 13],
"result": "valid"
},
{
"tcId": 3115,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [13, 1, 11, 15, 8, 4, 9, 10, 1, 11, 2, 2, 13, 11, 9, 13, 12],
"ct": [10, 15, 7, 9, 0, 4, 10, 13, 15, 14, 3, 8, 13, 8, 14, 10, 14],
"result": "valid"
},
{
"tcId": 3116,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [14, 0, 10, 9, 14, 3, 5, 7, 12, 12, 5, 0, 2, 2, 0, 10, 4],
"ct": [2, 0, 14, 0, 10, 10, 4, 10, 5, 0, 2, 0, 5, 4, 14, 9, 13],
"result": "valid"
},
{
"tcId": 3117,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [1, 10, 11, 0, 15, 9, 4, 14, 15, 4, 5, 11, 10, 14, 14, 12, 0],
"ct": [0, 10, 1, 2, 10, 8, 15, 15, 6, 8, 2, 11, 8, 8, 10, 10, 12],
"result": "valid"
},
{
"tcId": 3118,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [0, 1, 9, 6, 3, 14, 4, 13, 10, 8, 10, 12, 10, 10, 9, 11, 8],
"ct": [9, 7, 7, 10, 14, 8, 10, 14, 1, 8, 8, 8, 8, 7, 14, 4, 7],
"result": "valid"
},
{
"tcId": 3119,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [5, 8, 2, 11, 6, 9, 3, 15, 15, 14, 2, 12, 14, 2, 11, 13, 11],
"ct": [0, 1, 15, 9, 9, 0, 7, 7, 15, 8, 5, 12, 15, 14, 5, 11, 6],
"result": "valid"
},
{
"tcId": 3120,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [6, 5, 6, 15, 4, 9, 9, 12, 6, 15, 3, 6, 5, 10, 2, 2, 0],
"ct": [10, 2, 13, 5, 3, 1, 3, 5, 8, 0, 15, 15, 0, 11, 9, 13, 7],
"result": "valid"
},
{
"tcId": 3121,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [7, 12, 1, 1, 4, 14, 2, 12, 2, 1, 9, 4, 14, 4, 13, 6, 13],
"ct": [13, 0, 12, 15, 7, 2, 13, 13, 9, 12, 10, 7, 13, 2, 5, 3, 4],
"result": "valid"
},
{
"tcId": 3122,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [9, 0, 13, 9, 8, 3, 13, 15, 6, 6, 14, 3, 11, 11, 15, 12, 4],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3123,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [15, 9, 0, 7, 13, 14, 15, 7, 0, 15, 13, 12, 5, 6, 11, 9, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3124,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [6, 15, 12, 15, 12, 9, 7, 15, 15, 2, 8, 5, 4, 15, 6, 11, 9],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3125,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [0, 3, 1, 6, 12, 1, 9, 5, 12, 2, 15, 11, 3, 10, 4, 7, 4],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3126,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "ad04f346078c365e03ea",
"msg": [12, 7, 9, 9, 0, 5, 0, 13, 14, 10, 4, 9, 4, 4, 12, 14, 0],
"ct": [0, 0, 0, 0, 0, 0, 0, 1, 8, 8, 3, 13, 9, 11, 3, 13, 14],
"result": "valid"
},
{
"tcId": 3127,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "ad04f346078c365e03ea",
"msg": [12, 5, 4, 8, 11, 15, 7, 13, 14, 12, 0, 9, 12, 0, 1, 0, 0],
"ct": [0, 0, 0, 0, 0, 0, 0, 2, 4, 4, 7, 4, 9, 9, 13, 0, 9],
"result": "valid"
},
{
"tcId": 3128,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "ad04f346078c365e03ea",
"msg": [14, 15, 1, 11, 6, 12, 3, 12, 1, 6, 3, 8, 3, 5, 7, 10, 0],
"ct": [8, 0, 0, 0, 0, 0, 0, 1, 15, 11, 14, 10, 6, 15, 10, 3, 6],
"result": "valid"
},
{
"tcId": 3129,
"comment": "y = 1 and (y + a) % radix**8 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "ad04f346078c365e03ea",
"msg": [12, 10, 11, 13, 14, 10, 11, 13, 13, 5, 1, 15, 6, 5, 4, 14, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 13, 7, 7, 14, 5, 7, 15, 14, 15],
"result": "valid"
},
{
"tcId": 3130,
"comment": "y = 1 and (y + a) % radix**8 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "ad04f346078c365e03ea",
"msg": [3, 15, 11, 11, 7, 4, 11, 2, 8, 12, 3, 12, 8, 10, 10, 2, 15],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 13, 11, 5, 0, 11, 14, 7, 13, 4],
"result": "valid"
},
{
"tcId": 3131,
"comment": "y is maximal and (y + a) % radix**8 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "d48655bc87abe08bebaf",
"msg": [15, 2, 13, 11, 15, 3, 12, 2, 1, 12, 0, 1, 10, 8, 9, 9, 11],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 9, 6, 13, 8, 6, 10, 9, 12, 8],
"result": "valid"
},
{
"tcId": 3132,
"comment": "y is maximal and (y + a) % radix**8 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "d48655bc87abe08bebaf",
"msg": [15, 8, 3, 1, 14, 4, 2, 8, 9, 0, 13, 3, 9, 3, 10, 7, 1],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 4, 14, 12, 7, 15, 3, 0, 9, 6],
"result": "valid"
},
{
"tcId": 3133,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "d48655bc87abe08bebaf",
"msg": [9, 8, 3, 3, 9, 4, 10, 0, 9, 3, 7, 8, 7, 2, 2, 2, 6],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 11, 1, 11, 13, 3, 9, 13, 10, 5],
"result": "valid"
},
{
"tcId": 3134,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "d48655bc87abe08bebaf",
"msg": [10, 14, 3, 9, 14, 10, 9, 9, 8, 0, 1, 7, 0, 14, 5, 10, 5],
"ct": [15, 15, 15, 15, 15, 15, 15, 14, 8, 3, 8, 0, 0, 1, 12, 6, 1],
"result": "valid"
},
{
"tcId": 3135,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "98114b9b9261cf9f4b95",
"msg": [5, 9, 14, 10, 12, 6, 8, 9, 4, 1, 11, 10, 1, 1, 6, 1, 10],
"ct": [15, 15, 15, 15, 15, 15, 15, 0, 14, 3, 11, 10, 14, 7, 1, 11, 9],
"result": "valid"
},
{
"tcId": 3136,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "98114b9b9261cf9f4b95",
"msg": [4, 3, 11, 2, 11, 13, 7, 7, 2, 0, 4, 5, 6, 15, 15, 11, 10],
"ct": [15, 15, 15, 15, 15, 15, 15, 1, 8, 13, 15, 13, 4, 11, 15, 8, 8],
"result": "valid"
},
{
"tcId": 3137,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "98114b9b9261cf9f4b95",
"msg": [15, 3, 13, 14, 0, 0, 10, 1, 10, 7, 13, 8, 12, 2, 3, 4, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 6, 3, 5, 7, 14, 4, 13, 5],
"result": "valid"
},
{
"tcId": 3138,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "98114b9b9261cf9f4b95",
"msg": [9, 15, 4, 11, 7, 6, 5, 0, 2, 7, 14, 14, 3, 2, 5, 9, 9],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 9, 8, 11, 1, 13, 6, 4, 11, 14],
"result": "valid"
},
{
"tcId": 3139,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "98114b9b9261cf9f4b95",
"msg": [15, 0, 14, 8, 1, 10, 0, 1, 13, 15, 5, 5, 3, 12, 3, 14, 3],
"ct": [7, 15, 15, 15, 15, 15, 15, 0, 3, 1, 9, 15, 3, 1, 9, 14, 0],
"result": "valid"
},
{
"tcId": 3140,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "98114b9b9261cf9f4b95",
"msg": [13, 5, 1, 4, 10, 8, 15, 11, 11, 3, 4, 10, 5, 7, 11, 1, 14],
"ct": [15, 15, 15, 15, 15, 15, 14, 15, 4, 9, 4, 10, 0, 2, 6, 6, 12],
"result": "valid"
},
{
"tcId": 3141,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "e0b7cb2cd3d3eb806df5",
"msg": [12, 0, 9, 4, 4, 9, 10, 7, 6, 15, 12, 14, 2, 3, 9, 2, 0],
"ct": [6, 10, 11, 15, 5, 2, 10, 2, 4, 3, 10, 4, 0, 8, 9, 9, 8],
"result": "valid"
},
{
"tcId": 3142,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "e0b7cb2cd3d3eb806df5",
"msg": [12, 8, 6, 3, 6, 12, 9, 0, 13, 14, 1, 5, 15, 7, 5, 4, 3],
"ct": [3, 5, 9, 14, 3, 3, 7, 13, 13, 15, 4, 13, 8, 10, 4, 9, 5],
"result": "valid"
},
{
"tcId": 3143,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "e0b7cb2cd3d3eb806df5",
"msg": [15, 13, 14, 3, 4, 5, 6, 11, 5, 5, 10, 13, 1, 1, 13, 2, 3],
"ct": [8, 0, 10, 4, 5, 15, 8, 3, 15, 0, 7, 3, 13, 14, 15, 3, 3],
"result": "valid"
},
{
"tcId": 3144,
"comment": "y is maximal after modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "e0b7cb2cd3d3eb806df5",
"msg": [3, 5, 7, 11, 3, 12, 8, 5, 2, 2, 8, 3, 6, 14, 8, 8, 8],
"ct": [14, 4, 14, 8, 12, 5, 9, 12, 7, 4, 6, 5, 9, 4, 3, 2, 3],
"result": "valid"
},
{
"tcId": 3145,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc",
"tweak": "6460d80894ab337d",
"msg": [-1, 9, 14, 0, 9, 4, 1, 4, 15, 12, 7, 9, 2, 9, 13, 8, 4],
"ct": [14, 0, 6, 5, 10, 14, 15, 11, 1, 10, 14, 8, 10, 9, 7, 5, 0],
"result": "invalid"
},
{
"tcId": 3146,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc",
"tweak": "6460d80894ab337d",
"msg": [3, 9, 14, 0, 9, -1, 1, 4, 15, 12, 7, 9, 2, 9, 13, 8, 4],
"ct": [1, 14, 2, 5, 9, 3, 3, 11, 2, 9, 2, 12, 6, 7, 11, 6, 8],
"result": "invalid"
},
{
"tcId": 3147,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc",
"tweak": "6460d80894ab337d",
"msg": [3, 9, 14, 0, 9, 4, 1, 4, 15, 12, 7, 9, 2, 9, 13, 8, -1],
"ct": [14, 7, 7, 2, 5, 3, 4, 11, 12, 8, 3, 7, 13, 8, 15, 6, 8],
"result": "invalid"
},
{
"tcId": 3148,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6f810a7fd9c1adc1a9f6f3269146bbae74bbf919df6556ddedd6e1ee47c44362",
"tweak": "699ec28d8b1f9a47",
"msg": [16, 13, 7, 3, 8, 11, 10, 1, 4, 5, 9, 10, 7, 2, 6, 15, 0],
"ct": [13, 3, 0, 4, 5, 0, 12, 0, 4, 9, 11, 8, 2, 14, 13, 11, 3],
"result": "invalid"
},
{
"tcId": 3149,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6f810a7fd9c1adc1a9f6f3269146bbae74bbf919df6556ddedd6e1ee47c44362",
"tweak": "699ec28d8b1f9a47",
"msg": [8, 13, 7, 3, 8, 16, 10, 1, 4, 5, 9, 10, 7, 2, 6, 15, 0],
"ct": [6, 7, 7, 0, 4, 14, 2, 0, 6, 5, 10, 12, 13, 15, 11, 1, 9],
"result": "invalid"
},
{
"tcId": 3150,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6f810a7fd9c1adc1a9f6f3269146bbae74bbf919df6556ddedd6e1ee47c44362",
"tweak": "699ec28d8b1f9a47",
"msg": [8, 13, 7, 3, 8, 11, 10, 1, 4, 5, 9, 10, 7, 2, 6, 15, 16],
"ct": [8, 4, 10, 6, 6, 14, 13, 10, 10, 2, 10, 1, 13, 10, 11, 0, 15],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 18,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3151,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "be748dab0203d19a98eb126a8ed6fcbd99aeea49f1cff7512529f201bf0eff67",
"tweak": "4977c3ee944e48cb",
"msg": [5, 1, 11, 7, 4, 2, 11, 5, 8, 4, 8, 1, 6, 0, 11, 9, 11, 4],
"ct": [15, 1, 1, 11, 12, 8, 4, 6, 15, 14, 12, 12, 12, 8, 13, 2, 14, 10],
"result": "valid"
},
{
"tcId": 3152,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 5, 14, 1, 9, 6, 14, 11, 9, 14, 2, 10, 6, 0, 0, 1, 0, 9],
"result": "valid"
},
{
"tcId": 3153,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [10, 6, 13, 13, 13, 7, 11, 13, 11, 4, 4, 11, 11, 2, 10, 15, 6, 9],
"result": "valid"
},
{
"tcId": 3154,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 10, 9, 4, 0, 1, 9, 13, 7, 11, 12, 15, 13, 15, 0, 15, 3, 2],
"result": "valid"
},
{
"tcId": 3155,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [7, 0, 1, 2, 9, 6, 1, 6, 12, 15, 11, 13, 8, 11, 12, 8, 12, 4],
"result": "valid"
},
{
"tcId": 3156,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [10, 7, 13, 6, 3, 6, 9, 3, 4, 0, 9, 9, 13, 8, 15, 7, 7, 0],
"ct": [9, 14, 4, 12, 10, 8, 0, 7, 8, 4, 5, 11, 14, 1, 7, 5, 12, 4],
"result": "valid"
},
{
"tcId": 3157,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [14, 9, 5, 2, 12, 6, 14, 2, 8, 8, 12, 11, 8, 10, 1, 9, 10, 0],
"ct": [10, 15, 9, 15, 1, 11, 7, 5, 15, 15, 3, 4, 12, 14, 0, 4, 0, 12],
"result": "valid"
},
{
"tcId": 3158,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [9, 14, 11, 4, 6, 3, 0, 12, 13, 7, 15, 8, 14, 2, 13, 1, 8, 14],
"ct": [4, 1, 1, 14, 11, 0, 11, 7, 8, 7, 2, 5, 14, 4, 4, 5, 11, 2],
"result": "valid"
},
{
"tcId": 3159,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [6, 15, 3, 4, 15, 10, 15, 12, 14, 5, 13, 3, 15, 12, 1, 11, 15, 14],
"ct": [15, 11, 7, 15, 0, 14, 15, 4, 7, 11, 12, 11, 2, 1, 8, 13, 10, 8],
"result": "valid"
},
{
"tcId": 3160,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [7, 1, 13, 7, 5, 9, 10, 11, 11, 12, 11, 11, 14, 4, 1, 3, 1, 14],
"ct": [0, 6, 3, 14, 0, 6, 0, 6, 14, 14, 0, 7, 7, 8, 11, 11, 0, 7],
"result": "valid"
},
{
"tcId": 3161,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [2, 2, 1, 8, 4, 8, 5, 7, 2, 2, 14, 15, 11, 9, 6, 5, 2, 5],
"ct": [14, 2, 11, 11, 11, 9, 15, 4, 14, 13, 8, 15, 13, 1, 7, 13, 3, 12],
"result": "valid"
},
{
"tcId": 3162,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [7, 6, 12, 1, 7, 14, 12, 9, 4, 6, 15, 10, 9, 12, 13, 6, 15, 7],
"ct": [6, 8, 2, 10, 6, 3, 5, 7, 3, 5, 13, 8, 5, 7, 1, 15, 5, 6],
"result": "valid"
},
{
"tcId": 3163,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [12, 2, 14, 4, 9, 15, 10, 11, 9, 11, 15, 9, 2, 2, 11, 8, 4, 3],
"ct": [4, 8, 15, 13, 5, 12, 13, 10, 14, 10, 13, 13, 14, 10, 11, 5, 6, 2],
"result": "valid"
},
{
"tcId": 3164,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [0, 6, 10, 14, 9, 13, 12, 6, 2, 13, 13, 1, 5, 7, 1, 3, 6, 2],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3165,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [15, 1, 13, 4, 0, 7, 9, 1, 11, 3, 15, 8, 15, 14, 2, 15, 6, 1],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3166,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [15, 5, 12, 1, 10, 9, 11, 5, 12, 9, 15, 6, 2, 14, 5, 5, 9, 8],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3167,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [4, 3, 0, 1, 13, 14, 1, 12, 6, 9, 11, 1, 12, 7, 1, 3, 11, 8],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3168,
"comment": "y = 0 and (y + a) % radix**9 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "db2a87bae8eda2c019ce",
"msg": [6, 12, 10, 14, 10, 10, 11, 15, 4, 12, 0, 0, 3, 3, 6, 5, 10, 6],
"ct": [0, 4, 8, 5, 13, 0, 8, 1, 13, 5, 5, 6, 12, 9, 14, 5, 10, 2],
"result": "valid"
},
{
"tcId": 3169,
"comment": "y = 0 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "db2a87bae8eda2c019ce",
"msg": [10, 9, 8, 9, 8, 14, 4, 6, 11, 4, 9, 1, 0, 4, 0, 12, 7, 12],
"ct": [13, 1, 9, 2, 1, 13, 4, 9, 3, 6, 0, 13, 13, 13, 9, 2, 15, 4],
"result": "valid"
},
{
"tcId": 3170,
"comment": "y = 0 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "db2a87bae8eda2c019ce",
"msg": [10, 3, 8, 12, 13, 2, 8, 11, 8, 2, 3, 15, 0, 13, 8, 7, 2, 15],
"ct": [4, 8, 7, 11, 1, 15, 10, 5, 8, 13, 2, 14, 2, 7, 2, 1, 2, 8],
"result": "valid"
},
{
"tcId": 3171,
"comment": "y = 0 and (y + a) % radix**9 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "db2a87bae8eda2c019ce",
"msg": [8, 9, 8, 0, 13, 14, 4, 11, 6, 0, 13, 3, 1, 5, 12, 7, 5, 2],
"ct": [3, 11, 10, 10, 5, 14, 4, 7, 13, 9, 10, 15, 6, 14, 2, 12, 6, 5],
"result": "valid"
},
{
"tcId": 3172,
"comment": "y = 1 and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "68487810d4eecf520931",
"msg": [0, 9, 11, 1, 15, 15, 6, 9, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 11, 1, 5, 1, 1, 3, 14, 11, 12, 5, 10, 5, 14, 12, 0, 8, 12],
"result": "valid"
},
{
"tcId": 3173,
"comment": "y = 1 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "68487810d4eecf520931",
"msg": [10, 13, 7, 15, 9, 4, 11, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [13, 4, 4, 13, 14, 6, 0, 7, 2, 2, 3, 3, 5, 1, 15, 1, 3, 8],
"result": "valid"
},
{
"tcId": 3174,
"comment": "y = 1 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "68487810d4eecf520931",
"msg": [14, 12, 12, 8, 5, 0, 10, 11, 13, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 2, 13, 6, 2, 6, 14, 8, 4, 11, 5, 0, 5, 3, 5, 1, 6, 11],
"result": "valid"
},
{
"tcId": 3175,
"comment": "y = 1 and (y + a) % radix**9 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "68487810d4eecf520931",
"msg": [13, 13, 11, 2, 13, 2, 8, 4, 5, 15, 15, 15, 15, 15, 15, 15, 15, 14],
"ct": [14, 15, 8, 15, 11, 12, 8, 14, 5, 9, 0, 7, 2, 4, 12, 9, 15, 11],
"result": "valid"
},
{
"tcId": 3176,
"comment": "y = 1 and (y + a) % radix**9 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "68487810d4eecf520931",
"msg": [15, 4, 13, 8, 0, 14, 7, 14, 5, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [13, 14, 8, 12, 3, 8, 4, 11, 15, 7, 2, 5, 1, 8, 9, 7, 8, 8],
"result": "valid"
},
{
"tcId": 3177,
"comment": "y is maximal and (y + a) % radix**9 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "a27dda1600e8471f1fdc",
"msg": [0, 13, 4, 2, 12, 1, 12, 2, 1, 0, 12, 14, 3, 13, 13, 5, 6, 8],
"ct": [9, 13, 2, 5, 4, 3, 4, 5, 10, 3, 3, 12, 2, 7, 4, 14, 4, 9],
"result": "valid"
},
{
"tcId": 3178,
"comment": "y is maximal and (y + a) % radix**9 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "a27dda1600e8471f1fdc",
"msg": [7, 7, 15, 7, 15, 10, 3, 15, 13, 4, 15, 1, 13, 1, 15, 2, 13, 7],
"ct": [14, 0, 6, 8, 3, 4, 0, 11, 2, 11, 6, 15, 3, 7, 7, 3, 5, 0],
"result": "valid"
},
{
"tcId": 3179,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "a27dda1600e8471f1fdc",
"msg": [14, 1, 0, 0, 11, 9, 6, 11, 3, 3, 8, 9, 13, 15, 5, 7, 10, 6],
"ct": [12, 1, 14, 11, 2, 3, 8, 5, 4, 0, 1, 11, 2, 8, 12, 14, 13, 3],
"result": "valid"
},
{
"tcId": 3180,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "a27dda1600e8471f1fdc",
"msg": [4, 5, 13, 8, 14, 9, 10, 7, 14, 9, 13, 0, 13, 14, 2, 9, 2, 0],
"ct": [14, 5, 1, 9, 12, 8, 9, 12, 12, 4, 12, 9, 13, 14, 9, 12, 6, 1],
"result": "valid"
},
{
"tcId": 3181,
"comment": "y is edge case for modular reduction and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "723b11fed56a9a4ab791",
"msg": [3, 15, 12, 8, 9, 11, 4, 8, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [11, 15, 15, 5, 10, 11, 12, 10, 5, 11, 6, 8, 0, 3, 9, 1, 3, 11],
"result": "valid"
},
{
"tcId": 3182,
"comment": "y is edge case for modular reduction and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "723b11fed56a9a4ab791",
"msg": [0, 14, 12, 1, 14, 13, 4, 3, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [12, 1, 5, 4, 10, 11, 9, 5, 7, 3, 6, 15, 14, 12, 8, 6, 7, 0],
"result": "valid"
},
{
"tcId": 3183,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "723b11fed56a9a4ab791",
"msg": [6, 13, 8, 4, 0, 7, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15],
"ct": [7, 6, 8, 2, 10, 15, 4, 1, 0, 6, 1, 8, 3, 3, 14, 10, 13, 10],
"result": "valid"
},
{
"tcId": 3184,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "723b11fed56a9a4ab791",
"msg": [2, 11, 1, 1, 13, 13, 4, 5, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0],
"ct": [0, 5, 14, 13, 14, 12, 1, 14, 11, 14, 4, 5, 2, 10, 0, 14, 1, 13],
"result": "valid"
},
{
"tcId": 3185,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "723b11fed56a9a4ab791",
"msg": [14, 13, 5, 12, 7, 4, 8, 14, 9, 8, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 5, 3, 13, 1, 13, 14, 2, 9, 15, 15, 1, 2, 8, 13, 0, 10, 7],
"result": "valid"
},
{
"tcId": 3186,
"comment": "y is edge case for modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "723b11fed56a9a4ab791",
"msg": [6, 13, 14, 5, 9, 12, 4, 15, 11, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [7, 7, 11, 6, 8, 13, 1, 10, 13, 5, 15, 11, 13, 7, 3, 6, 11, 5],
"result": "valid"
},
{
"tcId": 3187,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "b3fd50753ca19b9d1b49",
"msg": [12, 6, 10, 4, 0, 6, 14, 9, 15, 14, 15, 12, 8, 7, 7, 6, 2, 14],
"ct": [9, 0, 1, 4, 12, 4, 15, 12, 9, 4, 8, 9, 2, 10, 5, 8, 7, 1],
"result": "valid"
},
{
"tcId": 3188,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "b3fd50753ca19b9d1b49",
"msg": [6, 0, 12, 4, 7, 13, 7, 0, 15, 1, 11, 0, 15, 12, 12, 11, 6, 3],
"ct": [1, 10, 15, 1, 11, 11, 10, 0, 12, 8, 12, 10, 3, 14, 1, 2, 11, 8],
"result": "valid"
},
{
"tcId": 3189,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "b3fd50753ca19b9d1b49",
"msg": [4, 13, 1, 9, 6, 13, 15, 8, 2, 2, 12, 2, 9, 9, 0, 6, 7, 11],
"ct": [9, 15, 7, 15, 3, 4, 7, 10, 7, 4, 13, 11, 1, 10, 15, 8, 11, 15],
"result": "valid"
},
{
"tcId": 3190,
"comment": "y is maximal after modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "b3fd50753ca19b9d1b49",
"msg": [12, 15, 5, 10, 4, 2, 9, 5, 9, 10, 10, 7, 8, 1, 13, 11, 9, 7],
"ct": [14, 15, 13, 15, 9, 3, 1, 2, 0, 14, 8, 1, 11, 1, 9, 6, 11, 2],
"result": "valid"
},
{
"tcId": 3191,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2",
"tweak": "ff61916e9620be47",
"msg": [-1, 15, 3, 4, 13, 8, 5, 15, 9, 7, 1, 2, 10, 9, 14, 15, 3, 14],
"ct": [15, 10, 4, 15, 0, 13, 7, 8, 12, 15, 15, 11, 0, 4, 4, 8, 1, 3],
"result": "invalid"
},
{
"tcId": 3192,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2",
"tweak": "ff61916e9620be47",
"msg": [8, 15, 3, 4, 13, 8, -1, 15, 9, 7, 1, 2, 10, 9, 14, 15, 3, 14],
"ct": [8, 1, 7, 2, 7, 4, 15, 5, 14, 3, 6, 13, 8, 14, 2, 6, 15, 13],
"result": "invalid"
},
{
"tcId": 3193,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2",
"tweak": "ff61916e9620be47",
"msg": [8, 15, 3, 4, 13, 8, 5, 15, 9, 7, 1, 2, 10, 9, 14, 15, 3, -1],
"ct": [5, 12, 7, 3, 3, 9, 2, 3, 3, 3, 5, 1, 4, 2, 9, 13, 5, 0],
"result": "invalid"
},
{
"tcId": 3194,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3c87d0a3776172869bdd6c6460b6b39a65b7cdd4b56b4b3ca7747b8d16571a99",
"tweak": "730353eaae82e0aa",
"msg": [16, 5, 2, 5, 5, 4, 4, 3, 8, 1, 5, 8, 10, 9, 9, 5, 1, 11],
"ct": [10, 4, 10, 14, 3, 15, 6, 15, 0, 14, 3, 12, 7, 6, 3, 14, 2, 11],
"result": "invalid"
},
{
"tcId": 3195,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3c87d0a3776172869bdd6c6460b6b39a65b7cdd4b56b4b3ca7747b8d16571a99",
"tweak": "730353eaae82e0aa",
"msg": [12, 5, 2, 5, 5, 4, 16, 3, 8, 1, 5, 8, 10, 9, 9, 5, 1, 11],
"ct": [1, 6, 9, 3, 11, 11, 12, 8, 8, 8, 5, 13, 9, 10, 6, 6, 8, 0],
"result": "invalid"
},
{
"tcId": 3196,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3c87d0a3776172869bdd6c6460b6b39a65b7cdd4b56b4b3ca7747b8d16571a99",
"tweak": "730353eaae82e0aa",
"msg": [12, 5, 2, 5, 5, 4, 4, 3, 8, 1, 5, 8, 10, 9, 9, 5, 1, 16],
"ct": [11, 10, 7, 14, 8, 4, 8, 5, 12, 9, 1, 8, 3, 11, 3, 4, 15, 15],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 19,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3197,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "1ba9f170be79c755e07202291871538a2c1b47600b59ec264c04d27f61cd3c28",
"tweak": "c8655169a0f80a05",
"msg": [5, 13, 10, 5, 11, 15, 8, 1, 10, 10, 7, 3, 5, 4, 3, 10, 3, 13, 7],
"ct": [3, 4, 10, 13, 7, 14, 1, 9, 9, 5, 14, 0, 13, 5, 3, 2, 4, 11, 11],
"result": "valid"
},
{
"tcId": 3198,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [9, 7, 5, 6, 9, 8, 13, 13, 10, 0, 5, 15, 7, 7, 1, 1, 11, 1, 11],
"result": "valid"
},
{
"tcId": 3199,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [11, 13, 0, 0, 4, 11, 8, 3, 12, 1, 8, 2, 15, 7, 15, 5, 11, 8, 5],
"result": "valid"
},
{
"tcId": 3200,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 10, 4, 5, 0, 0, 11, 7, 13, 13, 6, 0, 12, 1, 0, 0, 4, 14, 8],
"result": "valid"
},
{
"tcId": 3201,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [0, 8, 12, 7, 4, 11, 0, 9, 9, 11, 4, 12, 13, 7, 6, 7, 10, 13, 4],
"result": "valid"
},
{
"tcId": 3202,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [12, 5, 0, 2, 15, 3, 9, 1, 3, 1, 6, 2, 15, 12, 14, 3, 15, 8, 13],
"ct": [14, 7, 7, 1, 2, 12, 14, 5, 1, 8, 10, 6, 5, 1, 12, 6, 8, 13, 13],
"result": "valid"
},
{
"tcId": 3203,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [14, 0, 10, 7, 9, 14, 11, 8, 5, 8, 4, 2, 13, 13, 6, 8, 8, 14, 14],
"ct": [13, 3, 7, 13, 10, 3, 12, 12, 7, 15, 6, 1, 3, 9, 6, 5, 12, 0, 1],
"result": "valid"
},
{
"tcId": 3204,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [7, 12, 0, 14, 8, 6, 0, 7, 4, 14, 12, 13, 7, 9, 12, 1, 9, 10, 0],
"ct": [15, 5, 12, 4, 12, 10, 8, 14, 13, 6, 12, 12, 9, 13, 2, 7, 15, 7, 9],
"result": "valid"
},
{
"tcId": 3205,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [12, 2, 12, 11, 10, 10, 12, 13, 7, 0, 8, 14, 14, 9, 10, 5, 15, 1, 9],
"ct": [15, 6, 9, 8, 1, 6, 7, 14, 1, 3, 6, 15, 8, 12, 10, 1, 7, 9, 15],
"result": "valid"
},
{
"tcId": 3206,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [13, 0, 10, 6, 7, 10, 0, 7, 0, 1, 10, 7, 13, 14, 10, 3, 14, 3, 4],
"ct": [0, 10, 4, 8, 11, 0, 2, 3, 14, 8, 7, 12, 9, 9, 15, 0, 2, 2, 9],
"result": "valid"
},
{
"tcId": 3207,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [6, 12, 14, 4, 10, 8, 7, 9, 0, 15, 13, 15, 12, 9, 2, 15, 7, 13, 0],
"ct": [9, 3, 15, 8, 3, 12, 10, 10, 0, 2, 4, 1, 0, 3, 8, 12, 6, 10, 11],
"result": "valid"
},
{
"tcId": 3208,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [6, 10, 1, 5, 5, 0, 10, 4, 4, 13, 1, 2, 14, 2, 7, 0, 2, 12, 12],
"ct": [0, 11, 15, 1, 11, 11, 8, 11, 11, 8, 1, 15, 2, 7, 3, 7, 4, 2, 10],
"result": "valid"
},
{
"tcId": 3209,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [0, 5, 12, 10, 2, 3, 11, 12, 8, 9, 14, 9, 5, 2, 9, 9, 4, 11, 3],
"ct": [2, 1, 13, 12, 7, 7, 9, 0, 10, 14, 2, 2, 13, 1, 3, 4, 15, 1, 13],
"result": "valid"
},
{
"tcId": 3210,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [0, 4, 3, 0, 9, 1, 10, 5, 11, 9, 2, 0, 12, 10, 13, 7, 6, 6, 9],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3211,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [10, 2, 5, 9, 2, 7, 11, 8, 10, 5, 15, 7, 5, 11, 6, 6, 14, 2, 0],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3212,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [4, 9, 2, 2, 14, 0, 6, 14, 1, 7, 11, 6, 11, 14, 5, 8, 8, 8, 5],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3213,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [2, 13, 11, 15, 12, 13, 0, 1, 9, 3, 10, 1, 15, 14, 10, 7, 1, 15, 11],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3214,
"comment": "y = 0 and (y + a) % radix**10 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "79f77abaae3d10522947",
"msg": [1, 9, 13, 2, 12, 3, 13, 14, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [9, 4, 8, 12, 5, 7, 12, 9, 15, 7, 3, 13, 8, 10, 6, 3, 15, 1, 6],
"result": "valid"
},
{
"tcId": 3215,
"comment": "y = 0 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "79f77abaae3d10522947",
"msg": [12, 6, 11, 2, 15, 2, 3, 13, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [6, 4, 8, 0, 9, 11, 3, 7, 11, 2, 13, 1, 5, 14, 14, 13, 12, 7, 0],
"result": "valid"
},
{
"tcId": 3216,
"comment": "y = 0 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "79f77abaae3d10522947",
"msg": [1, 4, 3, 0, 12, 6, 13, 14, 1, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 14, 9, 6, 11, 0, 6, 7, 5, 10, 15, 4, 8, 5, 6, 14, 10, 0, 1],
"result": "valid"
},
{
"tcId": 3217,
"comment": "y = 0 and (y + a) % radix**10 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "79f77abaae3d10522947",
"msg": [6, 3, 2, 2, 7, 2, 14, 2, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [12, 1, 10, 5, 13, 9, 5, 8, 13, 7, 7, 5, 8, 14, 13, 8, 5, 1, 1],
"result": "valid"
},
{
"tcId": 3218,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "84767406279e6bf50f5b",
"msg": [6, 12, 10, 6, 10, 13, 3, 3, 12, 13, 1, 8, 10, 11, 3, 15, 9, 8, 11],
"ct": [6, 2, 13, 10, 3, 6, 3, 13, 1, 1, 15, 6, 4, 12, 2, 2, 13, 3, 15],
"result": "valid"
},
{
"tcId": 3219,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "84767406279e6bf50f5b",
"msg": [10, 4, 5, 13, 0, 6, 13, 9, 13, 3, 12, 12, 6, 1, 0, 3, 11, 9, 13],
"ct": [2, 5, 2, 14, 9, 2, 4, 15, 12, 8, 2, 13, 6, 13, 9, 10, 5, 7, 8],
"result": "valid"
},
{
"tcId": 3220,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "84767406279e6bf50f5b",
"msg": [13, 7, 3, 3, 9, 0, 4, 12, 13, 9, 1, 4, 10, 5, 7, 4, 9, 14, 0],
"ct": [6, 4, 6, 13, 2, 0, 2, 7, 9, 1, 8, 0, 0, 14, 10, 3, 6, 9, 3],
"result": "valid"
},
{
"tcId": 3221,
"comment": "y = 1 and (y + a) % radix**9 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "84767406279e6bf50f5b",
"msg": [10, 14, 11, 14, 3, 12, 8, 7, 14, 0, 13, 12, 12, 1, 11, 14, 2, 4, 8],
"ct": [9, 10, 9, 13, 3, 12, 9, 6, 10, 14, 0, 3, 3, 3, 14, 0, 15, 14, 2],
"result": "valid"
},
{
"tcId": 3222,
"comment": "y = 1 and (y + a) % radix**9 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "84767406279e6bf50f5b",
"msg": [14, 2, 11, 10, 12, 12, 8, 6, 12, 13, 4, 6, 4, 4, 2, 14, 12, 8, 7],
"ct": [5, 6, 5, 1, 5, 5, 14, 7, 5, 5, 15, 7, 15, 2, 7, 3, 13, 3, 12],
"result": "valid"
},
{
"tcId": 3223,
"comment": "y is maximal and (y + a) % radix**9 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "2d648fb55eaa219882db",
"msg": [11, 10, 11, 2, 11, 10, 3, 12, 7, 1, 12, 12, 7, 0, 15, 2, 3, 15, 12],
"ct": [3, 5, 11, 14, 3, 6, 3, 8, 6, 1, 2, 15, 5, 15, 8, 14, 15, 14, 7],
"result": "valid"
},
{
"tcId": 3224,
"comment": "y is maximal and (y + a) % radix**9 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "2d648fb55eaa219882db",
"msg": [10, 12, 10, 15, 2, 10, 10, 11, 6, 15, 1, 0, 12, 4, 5, 13, 3, 8, 6],
"ct": [14, 8, 4, 13, 11, 13, 12, 4, 6, 1, 4, 7, 13, 12, 9, 4, 14, 10, 4],
"result": "valid"
},
{
"tcId": 3225,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "2d648fb55eaa219882db",
"msg": [8, 10, 5, 14, 9, 0, 10, 0, 11, 13, 5, 12, 10, 9, 1, 14, 10, 0, 9],
"ct": [8, 14, 10, 5, 12, 1, 4, 12, 11, 3, 15, 6, 0, 2, 0, 13, 12, 12, 13],
"result": "valid"
},
{
"tcId": 3226,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "2d648fb55eaa219882db",
"msg": [7, 1, 4, 6, 9, 11, 13, 1, 15, 10, 5, 3, 7, 6, 9, 14, 13, 6, 10],
"ct": [14, 3, 1, 11, 4, 5, 6, 11, 8, 1, 6, 9, 7, 11, 8, 1, 3, 8, 1],
"result": "valid"
},
{
"tcId": 3227,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "f1af371651d4c98c22cd",
"msg": [6, 7, 5, 11, 9, 5, 5, 15, 5, 14, 12, 7, 1, 7, 5, 6, 6, 15, 2],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 0, 9, 7, 12, 6, 13, 2, 7, 11, 11, 10],
"result": "valid"
},
{
"tcId": 3228,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "f1af371651d4c98c22cd",
"msg": [12, 14, 11, 1, 15, 5, 15, 5, 4, 1, 13, 11, 8, 15, 15, 7, 5, 4, 15],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 1, 8, 6, 7, 10, 0, 14, 8, 14, 10, 5],
"result": "valid"
},
{
"tcId": 3229,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "f1af371651d4c98c22cd",
"msg": [10, 1, 3, 11, 15, 1, 4, 1, 3, 2, 6, 7, 3, 2, 0, 2, 4, 6, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 5, 13, 2, 3, 11, 1, 5, 5],
"result": "valid"
},
{
"tcId": 3230,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "f1af371651d4c98c22cd",
"msg": [7, 2, 5, 8, 12, 15, 11, 4, 4, 10, 3, 10, 12, 1, 14, 14, 8, 1, 6],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 13, 13, 3, 9, 6, 6, 3, 3, 1],
"result": "valid"
},
{
"tcId": 3231,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "f1af371651d4c98c22cd",
"msg": [5, 11, 10, 7, 7, 7, 6, 15, 6, 9, 6, 4, 7, 13, 10, 8, 2, 14, 5],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 0, 1, 1, 4, 10, 4, 11, 13, 12, 9, 9],
"result": "valid"
},
{
"tcId": 3232,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "f1af371651d4c98c22cd",
"msg": [5, 11, 10, 14, 10, 4, 14, 4, 5, 0, 9, 3, 4, 4, 11, 14, 11, 13, 4],
"ct": [15, 15, 15, 15, 15, 15, 15, 14, 15, 2, 2, 2, 14, 7, 6, 14, 2, 3, 12],
"result": "valid"
},
{
"tcId": 3233,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "d0bfdbdbd85492834a30",
"msg": [6, 15, 0, 15, 1, 12, 0, 14, 11, 4, 1, 3, 11, 2, 3, 5, 4, 14, 7],
"ct": [11, 12, 6, 0, 15, 3, 9, 1, 11, 13, 10, 8, 0, 12, 8, 11, 1, 3, 5],
"result": "valid"
},
{
"tcId": 3234,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "d0bfdbdbd85492834a30",
"msg": [11, 1, 15, 12, 7, 2, 6, 11, 11, 15, 15, 2, 14, 5, 13, 3, 7, 12, 13],
"ct": [15, 14, 1, 14, 5, 10, 1, 3, 0, 1, 2, 6, 14, 6, 8, 10, 8, 15, 4],
"result": "valid"
},
{
"tcId": 3235,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "d0bfdbdbd85492834a30",
"msg": [15, 3, 9, 1, 14, 2, 14, 7, 15, 2, 0, 8, 3, 7, 8, 13, 5, 4, 7],
"ct": [15, 6, 8, 11, 15, 0, 10, 6, 14, 6, 0, 11, 4, 2, 6, 0, 9, 1, 3],
"result": "valid"
},
{
"tcId": 3236,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "d0bfdbdbd85492834a30",
"msg": [2, 15, 7, 7, 11, 4, 2, 5, 11, 11, 13, 2, 5, 1, 3, 11, 5, 10, 9],
"ct": [5, 15, 9, 15, 6, 15, 5, 7, 1, 2, 15, 8, 12, 14, 3, 5, 2, 4, 7],
"result": "valid"
},
{
"tcId": 3237,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0",
"tweak": "9561fc88a8ee3dda",
"msg": [-1, 8, 9, 0, 1, 8, 0, 10, 11, 4, 4, 3, 10, 9, 5, 3, 5, 7, 14],
"ct": [3, 9, 0, 3, 5, 0, 4, 4, 8, 12, 2, 13, 5, 7, 10, 2, 7, 7, 7],
"result": "invalid"
},
{
"tcId": 3238,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0",
"tweak": "9561fc88a8ee3dda",
"msg": [11, 8, 9, 0, 1, 8, -1, 10, 11, 4, 4, 3, 10, 9, 5, 3, 5, 7, 14],
"ct": [7, 8, 2, 11, 2, 11, 9, 4, 5, 12, 0, 10, 1, 3, 6, 7, 10, 0, 6],
"result": "invalid"
},
{
"tcId": 3239,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0",
"tweak": "9561fc88a8ee3dda",
"msg": [11, 8, 9, 0, 1, 8, 0, 10, 11, 4, 4, 3, 10, 9, 5, 3, 5, 7, -1],
"ct": [0, 15, 15, 7, 5, 6, 9, 12, 10, 13, 13, 11, 10, 4, 8, 6, 5, 15, 9],
"result": "invalid"
},
{
"tcId": 3240,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8ed8b42933cfbd4e1aa2417bf956544587339b712080bb35874785b00553ae4b",
"tweak": "ce5bc1415dbff658",
"msg": [16, 2, 5, 0, 4, 0, 0, 9, 10, 2, 14, 4, 2, 0, 15, 11, 3, 6, 10],
"ct": [5, 12, 12, 2, 15, 13, 9, 13, 5, 7, 0, 10, 2, 8, 14, 1, 7, 15, 6],
"result": "invalid"
},
{
"tcId": 3241,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8ed8b42933cfbd4e1aa2417bf956544587339b712080bb35874785b00553ae4b",
"tweak": "ce5bc1415dbff658",
"msg": [2, 2, 5, 0, 4, 0, 16, 9, 10, 2, 14, 4, 2, 0, 15, 11, 3, 6, 10],
"ct": [8, 7, 2, 3, 15, 7, 6, 10, 1, 14, 2, 2, 10, 12, 5, 14, 4, 2, 6],
"result": "invalid"
},
{
"tcId": 3242,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8ed8b42933cfbd4e1aa2417bf956544587339b712080bb35874785b00553ae4b",
"tweak": "ce5bc1415dbff658",
"msg": [2, 2, 5, 0, 4, 0, 0, 9, 10, 2, 14, 4, 2, 0, 15, 11, 3, 6, 16],
"ct": [14, 14, 4, 15, 14, 10, 11, 12, 15, 8, 1, 11, 12, 11, 11, 10, 5, 7, 14],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 20,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3243,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "4c4c444584b22485ca88c6afcdbb7beb70c7271f1dece986e93f8c26dceedde2",
"tweak": "be2f2b3534bdde03",
"msg": [15, 9, 2, 10, 8, 2, 10, 7, 9, 5, 13, 7, 4, 13, 7, 9, 9, 10, 3, 9],
"ct": [4, 0, 10, 10, 15, 10, 3, 14, 13, 9, 12, 7, 11, 5, 12, 15, 11, 8, 15, 7],
"result": "valid"
},
{
"tcId": 3244,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [7, 14, 10, 13, 14, 8, 1, 12, 8, 1, 4, 9, 2, 2, 5, 15, 6, 10, 6, 8],
"result": "valid"
},
{
"tcId": 3245,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [3, 11, 10, 10, 10, 12, 2, 8, 10, 13, 12, 1, 10, 15, 0, 15, 7, 8, 9, 2],
"result": "valid"
},
{
"tcId": 3246,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 0, 9, 1, 2, 14, 11, 3, 13, 13, 13, 12, 9, 8, 2, 1, 9, 10, 15, 12],
"result": "valid"
},
{
"tcId": 3247,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [6, 6, 1, 9, 15, 11, 0, 4, 0, 13, 3, 6, 0, 2, 8, 12, 5, 0, 7, 8],
"result": "valid"
},
{
"tcId": 3248,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [6, 13, 2, 3, 6, 3, 4, 3, 14, 5, 8, 7, 9, 6, 9, 1, 8, 12, 9, 14],
"ct": [12, 12, 2, 1, 4, 13, 11, 11, 3, 6, 14, 3, 4, 2, 2, 5, 2, 3, 7, 6],
"result": "valid"
},
{
"tcId": 3249,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [2, 14, 3, 7, 5, 11, 8, 5, 12, 1, 0, 2, 0, 12, 15, 15, 8, 14, 3, 6],
"ct": [7, 12, 0, 7, 13, 3, 4, 7, 0, 6, 4, 11, 15, 6, 1, 12, 3, 9, 10, 9],
"result": "valid"
},
{
"tcId": 3250,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [6, 0, 4, 4, 14, 7, 1, 14, 13, 11, 12, 9, 13, 5, 4, 13, 1, 9, 2, 12],
"ct": [7, 1, 4, 6, 11, 13, 7, 1, 10, 2, 13, 4, 9, 14, 9, 10, 11, 3, 5, 10],
"result": "valid"
},
{
"tcId": 3251,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [14, 10, 0, 4, 14, 0, 5, 15, 12, 14, 3, 3, 5, 14, 14, 3, 5, 14, 9, 11],
"ct": [0, 1, 8, 6, 14, 2, 12, 4, 15, 0, 8, 0, 5, 2, 9, 9, 1, 7, 9, 7],
"result": "valid"
},
{
"tcId": 3252,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [13, 14, 11, 13, 10, 15, 4, 12, 3, 12, 8, 12, 5, 12, 14, 2, 14, 0, 1, 7],
"ct": [14, 11, 8, 1, 14, 13, 13, 7, 1, 11, 2, 3, 15, 6, 10, 9, 11, 2, 15, 8],
"result": "valid"
},
{
"tcId": 3253,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [1, 8, 11, 10, 7, 12, 11, 7, 6, 15, 2, 0, 3, 9, 13, 10, 4, 2, 6, 1],
"ct": [8, 15, 3, 5, 2, 13, 4, 5, 13, 9, 6, 9, 7, 9, 8, 0, 2, 5, 11, 3],
"result": "valid"
},
{
"tcId": 3254,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [5, 13, 3, 4, 14, 3, 15, 10, 3, 6, 10, 3, 3, 5, 15, 9, 9, 0, 1, 0],
"ct": [8, 2, 11, 6, 4, 8, 15, 3, 9, 4, 1, 10, 13, 13, 11, 12, 4, 13, 5, 1],
"result": "valid"
},
{
"tcId": 3255,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [3, 13, 13, 1, 14, 10, 13, 1, 13, 0, 11, 12, 13, 8, 10, 7, 11, 5, 13, 1],
"ct": [1, 4, 3, 6, 9, 1, 0, 5, 1, 0, 12, 1, 7, 5, 15, 6, 12, 4, 8, 13],
"result": "valid"
},
{
"tcId": 3256,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [11, 2, 4, 5, 11, 8, 14, 0, 5, 1, 3, 2, 14, 14, 15, 11, 2, 2, 4, 0],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3257,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [9, 8, 8, 7, 12, 12, 3, 15, 9, 1, 8, 14, 15, 5, 11, 6, 3, 0, 3, 8],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3258,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [8, 13, 5, 4, 12, 13, 3, 6, 6, 12, 7, 8, 2, 6, 0, 15, 13, 0, 15, 8],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3259,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [9, 0, 9, 9, 0, 12, 12, 1, 9, 7, 0, 12, 12, 9, 14, 8, 9, 6, 13, 3],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3260,
"comment": "y = 0 and (y + a) % radix**10 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "df2f8546496d0d670ab1",
"msg": [8, 2, 12, 2, 8, 13, 15, 7, 8, 9, 7, 5, 9, 1, 7, 4, 4, 7, 8, 0],
"ct": [0, 10, 11, 1, 6, 6, 1, 11, 2, 1, 7, 13, 10, 5, 3, 1, 3, 6, 12, 8],
"result": "valid"
},
{
"tcId": 3261,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "df2f8546496d0d670ab1",
"msg": [6, 3, 5, 1, 13, 12, 10, 14, 6, 10, 6, 14, 13, 11, 11, 11, 4, 10, 8, 2],
"ct": [15, 14, 14, 12, 11, 7, 5, 9, 1, 3, 3, 10, 5, 4, 5, 13, 5, 7, 8, 7],
"result": "valid"
},
{
"tcId": 3262,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "df2f8546496d0d670ab1",
"msg": [0, 5, 7, 10, 5, 3, 4, 14, 14, 9, 7, 1, 3, 9, 14, 12, 9, 0, 5, 2],
"ct": [5, 7, 7, 4, 5, 3, 11, 2, 3, 1, 9, 8, 14, 3, 11, 14, 12, 3, 0, 9],
"result": "valid"
},
{
"tcId": 3263,
"comment": "y = 0 and (y + a) % radix**10 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "df2f8546496d0d670ab1",
"msg": [4, 12, 0, 13, 2, 1, 14, 1, 11, 6, 0, 6, 3, 9, 3, 5, 11, 0, 11, 10],
"ct": [2, 4, 0, 10, 8, 3, 14, 13, 14, 6, 2, 15, 2, 10, 4, 14, 9, 12, 9, 2],
"result": "valid"
},
{
"tcId": 3264,
"comment": "y = 1 and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "3b7351bc09598238d1a0",
"msg": [5, 10, 2, 8, 2, 4, 11, 7, 3, 5, 1, 3, 1, 5, 13, 9, 5, 8, 1, 12],
"ct": [13, 8, 15, 10, 9, 4, 15, 6, 0, 10, 2, 7, 4, 9, 5, 2, 2, 2, 2, 6],
"result": "valid"
},
{
"tcId": 3265,
"comment": "y = 1 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "3b7351bc09598238d1a0",
"msg": [12, 5, 14, 7, 11, 12, 10, 7, 6, 13, 2, 8, 12, 10, 4, 9, 13, 9, 0, 11],
"ct": [2, 5, 14, 1, 3, 13, 11, 1, 8, 3, 12, 11, 4, 5, 12, 8, 5, 11, 4, 2],
"result": "valid"
},
{
"tcId": 3266,
"comment": "y = 1 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "3b7351bc09598238d1a0",
"msg": [6, 2, 12, 1, 0, 5, 13, 2, 4, 13, 12, 1, 15, 5, 10, 0, 12, 6, 2, 6],
"ct": [0, 7, 5, 0, 2, 7, 11, 8, 8, 2, 7, 4, 6, 11, 12, 14, 2, 14, 13, 6],
"result": "valid"
},
{
"tcId": 3267,
"comment": "y = 1 and (y + a) % radix**10 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "3b7351bc09598238d1a0",
"msg": [2, 10, 14, 0, 15, 10, 4, 3, 4, 5, 14, 11, 11, 5, 14, 6, 2, 13, 11, 8],
"ct": [6, 2, 15, 11, 9, 9, 14, 13, 7, 0, 8, 13, 4, 8, 0, 14, 9, 13, 10, 4],
"result": "valid"
},
{
"tcId": 3268,
"comment": "y = 1 and (y + a) % radix**10 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "3b7351bc09598238d1a0",
"msg": [1, 3, 0, 5, 8, 7, 15, 3, 3, 13, 1, 4, 3, 4, 10, 8, 0, 1, 9, 12],
"ct": [11, 7, 15, 2, 13, 2, 8, 14, 14, 10, 4, 4, 2, 11, 13, 10, 11, 8, 8, 13],
"result": "valid"
},
{
"tcId": 3269,
"comment": "y is maximal and (y + a) % radix**10 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "036e746b9788cd2c35a6",
"msg": [6, 8, 3, 7, 5, 3, 5, 1, 4, 6, 10, 10, 14, 5, 10, 5, 14, 14, 6, 15],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 12, 4, 8, 15, 1, 3, 8, 12, 9, 12],
"result": "valid"
},
{
"tcId": 3270,
"comment": "y is maximal and (y + a) % radix**10 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "036e746b9788cd2c35a6",
"msg": [13, 13, 0, 11, 3, 7, 9, 11, 5, 10, 12, 8, 11, 3, 10, 4, 10, 7, 10, 1],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 8, 15, 0, 2, 12, 6, 8, 2],
"result": "valid"
},
{
"tcId": 3271,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "036e746b9788cd2c35a6",
"msg": [11, 12, 8, 7, 5, 0, 3, 6, 12, 11, 14, 10, 2, 7, 5, 10, 13, 8, 1, 7],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 3, 7, 4, 2, 0, 15, 0, 14, 15],
"result": "valid"
},
{
"tcId": 3272,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "036e746b9788cd2c35a6",
"msg": [8, 3, 12, 6, 10, 12, 6, 10, 13, 4, 9, 0, 7, 3, 2, 9, 12, 1, 11, 2],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 8, 4, 9, 14, 11, 2, 0, 0, 11, 4],
"result": "valid"
},
{
"tcId": 3273,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "ca4ffd88366f717ab1c0",
"msg": [3, 2, 3, 14, 5, 5, 14, 12, 8, 12, 14, 7, 6, 1, 9, 8, 9, 15, 14, 8],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 7, 10, 8, 8, 4, 12, 9, 3, 8, 15],
"result": "valid"
},
{
"tcId": 3274,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "ca4ffd88366f717ab1c0",
"msg": [2, 12, 15, 13, 0, 3, 6, 7, 10, 14, 1, 15, 4, 13, 12, 12, 11, 8, 2, 7],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 6, 9, 4, 6, 3, 4, 4, 11, 1, 12],
"result": "valid"
},
{
"tcId": 3275,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "ca4ffd88366f717ab1c0",
"msg": [10, 8, 10, 7, 12, 8, 2, 9, 5, 6, 11, 8, 13, 10, 1, 6, 1, 7, 0, 1],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 4, 13, 5, 2, 15, 8, 2, 9, 12, 6],
"result": "valid"
},
{
"tcId": 3276,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "ca4ffd88366f717ab1c0",
"msg": [13, 10, 2, 4, 2, 7, 13, 7, 13, 14, 13, 11, 8, 14, 10, 5, 7, 4, 7, 15],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 1, 8, 8, 11, 1, 9, 2, 4, 0],
"result": "valid"
},
{
"tcId": 3277,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "ca4ffd88366f717ab1c0",
"msg": [11, 1, 5, 5, 9, 4, 5, 4, 9, 2, 8, 3, 2, 9, 3, 9, 14, 8, 5, 3],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 0, 7, 3, 4, 14, 1, 15, 8, 3, 14, 15],
"result": "valid"
},
{
"tcId": 3278,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "ca4ffd88366f717ab1c0",
"msg": [4, 15, 6, 12, 12, 13, 12, 13, 8, 2, 10, 1, 9, 4, 8, 9, 4, 4, 14, 15],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 14, 15, 15, 15, 0, 13, 10, 11, 2, 3, 8, 4],
"result": "valid"
},
{
"tcId": 3279,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "e597d8b3c885e73c8a11",
"msg": [10, 4, 11, 8, 7, 4, 2, 8, 7, 11, 9, 8, 2, 11, 2, 4, 12, 5, 14, 11],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 4, 4, 1, 4, 6, 2, 5, 11, 8, 14],
"result": "valid"
},
{
"tcId": 3280,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "e597d8b3c885e73c8a11",
"msg": [9, 12, 14, 15, 11, 3, 14, 3, 2, 5, 7, 14, 15, 1, 12, 7, 4, 1, 12, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 4, 14, 11, 2, 8, 1, 14, 15, 15],
"result": "valid"
},
{
"tcId": 3281,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "e597d8b3c885e73c8a11",
"msg": [9, 4, 2, 1, 1, 13, 10, 13, 1, 1, 13, 4, 1, 5, 6, 5, 13, 8, 9, 9],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 12, 10, 12, 13, 7, 0, 8, 15, 0, 8],
"result": "valid"
},
{
"tcId": 3282,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "e597d8b3c885e73c8a11",
"msg": [10, 7, 2, 7, 0, 11, 15, 13, 12, 12, 15, 5, 11, 15, 7, 2, 6, 7, 8, 6],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 2, 5, 15, 1, 2, 0, 9, 1, 5, 15],
"result": "valid"
},
{
"tcId": 3283,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28",
"tweak": "daa46c7bc98cf1f4",
"msg": [-1, 5, 14, 7, 9, 12, 5, 2, 3, 10, 7, 2, 14, 0, 13, 15, 0, 15, 15, 9],
"ct": [11, 10, 2, 1, 14, 4, 10, 14, 5, 13, 0, 11, 10, 14, 13, 5, 1, 5, 0, 1],
"result": "invalid"
},
{
"tcId": 3284,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28",
"tweak": "daa46c7bc98cf1f4",
"msg": [11, 5, 14, 7, 9, 12, -1, 2, 3, 10, 7, 2, 14, 0, 13, 15, 0, 15, 15, 9],
"ct": [13, 10, 5, 1, 10, 6, 3, 1, 7, 1, 9, 7, 14, 4, 15, 7, 8, 5, 3, 8],
"result": "invalid"
},
{
"tcId": 3285,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28",
"tweak": "daa46c7bc98cf1f4",
"msg": [11, 5, 14, 7, 9, 12, 5, 2, 3, 10, 7, 2, 14, 0, 13, 15, 0, 15, 15, -1],
"ct": [10, 14, 13, 12, 10, 11, 14, 0, 11, 4, 0, 15, 14, 14, 1, 0, 11, 8, 6, 13],
"result": "invalid"
},
{
"tcId": 3286,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9786136bca862da2bb52186beb84d4a17fedd25e1e2e0df4541b58bdbfb553a2",
"tweak": "4a0b8c7c788e074d",
"msg": [16, 1, 15, 13, 1, 9, 4, 15, 8, 9, 9, 10, 9, 8, 8, 7, 15, 15, 2, 3],
"ct": [6, 15, 3, 3, 4, 10, 2, 4, 5, 13, 3, 12, 6, 1, 12, 4, 12, 0, 14, 5],
"result": "invalid"
},
{
"tcId": 3287,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9786136bca862da2bb52186beb84d4a17fedd25e1e2e0df4541b58bdbfb553a2",
"tweak": "4a0b8c7c788e074d",
"msg": [4, 1, 15, 13, 1, 9, 16, 15, 8, 9, 9, 10, 9, 8, 8, 7, 15, 15, 2, 3],
"ct": [14, 11, 15, 4, 13, 14, 1, 2, 1, 5, 5, 9, 0, 1, 15, 10, 9, 4, 7, 4],
"result": "invalid"
},
{
"tcId": 3288,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9786136bca862da2bb52186beb84d4a17fedd25e1e2e0df4541b58bdbfb553a2",
"tweak": "4a0b8c7c788e074d",
"msg": [4, 1, 15, 13, 1, 9, 4, 15, 8, 9, 9, 10, 9, 8, 8, 7, 15, 15, 2, 16],
"ct": [6, 12, 7, 5, 2, 15, 3, 8, 11, 3, 14, 6, 6, 2, 7, 8, 12, 3, 8, 2],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 21,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3289,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "dda27ee12a33f1e1d641185aa62d77f8788cb29adf7c1d869e5476e04cf8d6a2",
"tweak": "a07df02be247e7f9",
"msg": [8, 1, 10, 11, 2, 7, 14, 11, 6, 15, 0, 8, 11, 2, 15, 3, 6, 9, 14, 4, 6],
"ct": [0, 13, 10, 10, 12, 7, 1, 6, 12, 0, 5, 1, 6, 13, 8, 3, 10, 6, 0, 1, 15],
"result": "valid"
},
{
"tcId": 3290,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 6, 2, 11, 8, 9, 10, 7, 1, 12, 11, 10, 1, 12, 7, 9, 1, 15, 5, 13, 3],
"result": "valid"
},
{
"tcId": 3291,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [6, 4, 15, 7, 15, 2, 7, 1, 9, 2, 8, 0, 15, 2, 15, 5, 8, 1, 12, 4, 1],
"result": "valid"
},
{
"tcId": 3292,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [5, 4, 10, 14, 5, 7, 6, 15, 12, 1, 14, 2, 3, 9, 3, 15, 10, 2, 12, 12, 1],
"result": "valid"
},
{
"tcId": 3293,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [4, 4, 12, 13, 9, 1, 4, 0, 15, 0, 6, 7, 14, 4, 14, 8, 13, 13, 15, 15, 9],
"result": "valid"
},
{
"tcId": 3294,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [9, 6, 15, 0, 4, 10, 2, 15, 10, 13, 3, 5, 9, 13, 0, 4, 4, 10, 8, 2, 13],
"ct": [5, 11, 3, 11, 6, 5, 8, 12, 15, 14, 4, 1, 13, 1, 2, 3, 15, 11, 14, 0, 1],
"result": "valid"
},
{
"tcId": 3295,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [2, 5, 15, 15, 12, 9, 5, 6, 0, 6, 5, 3, 2, 15, 15, 8, 11, 6, 5, 12, 15],
"ct": [1, 5, 4, 12, 15, 13, 14, 14, 11, 14, 13, 15, 12, 2, 15, 2, 9, 8, 1, 5, 13],
"result": "valid"
},
{
"tcId": 3296,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [8, 5, 14, 2, 5, 8, 3, 6, 3, 9, 12, 10, 15, 10, 8, 10, 15, 0, 7, 3, 6],
"ct": [8, 12, 13, 10, 6, 10, 0, 10, 14, 3, 8, 10, 7, 4, 3, 11, 13, 12, 4, 4, 9],
"result": "valid"
},
{
"tcId": 3297,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [8, 9, 1, 8, 10, 10, 0, 8, 10, 4, 12, 4, 4, 14, 2, 2, 3, 14, 2, 4, 11],
"ct": [5, 8, 9, 1, 15, 0, 12, 1, 7, 15, 1, 13, 5, 13, 11, 8, 9, 7, 6, 5, 0],
"result": "valid"
},
{
"tcId": 3298,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [9, 13, 12, 11, 3, 1, 0, 1, 9, 10, 1, 2, 2, 5, 10, 9, 8, 4, 12, 5, 4],
"ct": [4, 8, 11, 13, 10, 2, 13, 9, 14, 9, 0, 11, 13, 3, 7, 15, 3, 5, 6, 7, 5],
"result": "valid"
},
{
"tcId": 3299,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [1, 2, 14, 1, 6, 2, 13, 9, 6, 8, 8, 13, 8, 2, 9, 6, 14, 1, 2, 0, 11],
"ct": [14, 10, 12, 0, 5, 8, 8, 9, 14, 7, 14, 15, 4, 11, 14, 13, 11, 1, 4, 6, 7],
"result": "valid"
},
{
"tcId": 3300,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [12, 13, 2, 11, 11, 9, 7, 2, 1, 6, 9, 5, 13, 6, 11, 5, 0, 2, 5, 2, 8],
"ct": [15, 0, 14, 1, 1, 2, 0, 9, 8, 7, 15, 6, 6, 8, 10, 9, 12, 1, 10, 2, 6],
"result": "valid"
},
{
"tcId": 3301,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [1, 10, 8, 15, 6, 15, 0, 13, 7, 4, 7, 12, 8, 7, 6, 1, 8, 9, 15, 13, 4],
"ct": [4, 14, 14, 3, 10, 15, 5, 1, 13, 5, 9, 6, 15, 15, 0, 6, 11, 14, 14, 6, 7],
"result": "valid"
},
{
"tcId": 3302,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [11, 7, 9, 7, 3, 15, 2, 0, 0, 7, 15, 2, 11, 13, 10, 13, 3, 9, 2, 15, 6],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3303,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [7, 5, 4, 2, 1, 14, 2, 10, 7, 13, 6, 9, 4, 5, 8, 7, 9, 8, 13, 0, 15],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3304,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [4, 4, 0, 9, 7, 4, 10, 13, 10, 7, 12, 13, 11, 12, 12, 5, 13, 10, 11, 8, 11],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3305,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [3, 6, 9, 3, 9, 0, 3, 7, 13, 10, 0, 7, 9, 3, 13, 12, 6, 3, 8, 3, 7],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3306,
"comment": "y = 0 and (y + a) % radix**11 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "ea73f5aaf7ea5a6612",
"msg": [6, 13, 10, 9, 3, 1, 13, 14, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [12, 13, 8, 5, 14, 11, 14, 15, 8, 0, 3, 13, 2, 13, 15, 4, 4, 10, 10, 6, 15],
"result": "valid"
},
{
"tcId": 3307,
"comment": "y = 0 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "ea73f5aaf7ea5a6612",
"msg": [4, 4, 0, 15, 0, 7, 6, 10, 4, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [10, 0, 6, 5, 1, 13, 7, 10, 13, 7, 7, 7, 14, 10, 2, 11, 1, 0, 12, 9, 13],
"result": "valid"
},
{
"tcId": 3308,
"comment": "y = 0 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "ea73f5aaf7ea5a6612",
"msg": [9, 5, 11, 7, 6, 7, 6, 12, 5, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [9, 9, 7, 1, 0, 11, 1, 15, 4, 4, 10, 8, 0, 1, 4, 11, 3, 15, 1, 14, 3],
"result": "valid"
},
{
"tcId": 3309,
"comment": "y = 0 and (y + a) % radix**11 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "ea73f5aaf7ea5a6612",
"msg": [7, 4, 15, 0, 5, 15, 9, 3, 13, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [0, 14, 3, 2, 8, 12, 13, 9, 11, 14, 13, 3, 9, 4, 0, 2, 3, 15, 1, 1, 10],
"result": "valid"
},
{
"tcId": 3310,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "508bd44ff878272f09",
"msg": [11, 15, 3, 13, 13, 11, 1, 8, 13, 4, 4, 12, 0, 7, 1, 14, 14, 11, 3, 9, 8],
"ct": [10, 5, 4, 4, 4, 4, 0, 1, 6, 2, 8, 2, 9, 13, 1, 9, 0, 6, 0, 6, 10],
"result": "valid"
},
{
"tcId": 3311,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "508bd44ff878272f09",
"msg": [8, 1, 7, 13, 9, 4, 10, 13, 13, 4, 7, 11, 1, 13, 7, 1, 10, 8, 7, 1, 6],
"ct": [7, 1, 1, 12, 13, 12, 15, 13, 0, 15, 0, 10, 12, 8, 0, 15, 15, 10, 11, 13, 9],
"result": "valid"
},
{
"tcId": 3312,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "508bd44ff878272f09",
"msg": [14, 5, 1, 3, 14, 6, 11, 14, 2, 2, 2, 3, 1, 12, 13, 12, 13, 12, 7, 5, 12],
"ct": [10, 14, 1, 15, 7, 15, 12, 2, 2, 15, 14, 4, 5, 2, 14, 14, 12, 15, 5, 8, 4],
"result": "valid"
},
{
"tcId": 3313,
"comment": "y = 1 and (y + a) % radix**10 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "508bd44ff878272f09",
"msg": [0, 3, 11, 6, 13, 11, 15, 4, 3, 12, 14, 12, 15, 8, 9, 14, 2, 12, 0, 12, 3],
"ct": [3, 10, 15, 10, 12, 6, 4, 6, 0, 9, 6, 8, 9, 11, 0, 1, 15, 11, 6, 5, 10],
"result": "valid"
},
{
"tcId": 3314,
"comment": "y = 1 and (y + a) % radix**10 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "508bd44ff878272f09",
"msg": [5, 9, 8, 14, 11, 15, 4, 12, 13, 7, 10, 6, 12, 5, 15, 3, 14, 2, 3, 6, 9],
"ct": [13, 12, 13, 1, 6, 7, 13, 5, 9, 13, 4, 10, 10, 15, 5, 0, 5, 5, 11, 9, 3],
"result": "valid"
},
{
"tcId": 3315,
"comment": "y is maximal and (y + a) % radix**10 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "77d40bb9a6fcd150a4",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 3, 7, 4, 8, 6, 6, 15, 12, 7, 15],
"ct": [11, 0, 5, 6, 11, 3, 4, 3, 5, 1, 7, 7, 15, 6, 5, 9, 15, 0, 15, 1, 12],
"result": "valid"
},
{
"tcId": 3316,
"comment": "y is maximal and (y + a) % radix**10 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "77d40bb9a6fcd150a4",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4, 3, 7, 4, 8, 6, 6, 15, 12, 7, 15],
"ct": [8, 14, 8, 6, 6, 15, 1, 14, 6, 4, 8, 3, 3, 14, 9, 12, 1, 15, 12, 3, 2],
"result": "valid"
},
{
"tcId": 3317,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "77d40bb9a6fcd150a4",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 3, 7, 4, 8, 6, 6, 15, 12, 7, 15],
"ct": [1, 8, 13, 4, 0, 6, 14, 2, 3, 1, 0, 8, 12, 0, 13, 11, 10, 11, 14, 12, 2],
"result": "valid"
},
{
"tcId": 3318,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "77d40bb9a6fcd150a4",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 4, 3, 7, 4, 8, 6, 6, 15, 12, 7, 15],
"ct": [3, 9, 3, 2, 5, 14, 10, 11, 2, 8, 8, 8, 5, 1, 14, 7, 15, 4, 1, 5, 3],
"result": "valid"
},
{
"tcId": 3319,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "4b7af55ae5b94d134b",
"msg": [14, 7, 7, 0, 4, 10, 2, 10, 0, 13, 2, 10, 5, 13, 2, 4, 14, 9, 1, 4, 5],
"ct": [2, 10, 8, 5, 8, 12, 3, 6, 12, 15, 9, 11, 6, 7, 13, 5, 3, 8, 12, 10, 0],
"result": "valid"
},
{
"tcId": 3320,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "4b7af55ae5b94d134b",
"msg": [8, 2, 8, 7, 10, 1, 12, 9, 14, 13, 6, 2, 3, 3, 2, 1, 11, 14, 9, 2, 14],
"ct": [9, 3, 13, 7, 15, 14, 8, 13, 4, 5, 0, 9, 0, 2, 12, 10, 11, 11, 3, 10, 15],
"result": "valid"
},
{
"tcId": 3321,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "4b7af55ae5b94d134b",
"msg": [0, 1, 6, 14, 12, 11, 4, 9, 9, 11, 11, 3, 10, 4, 2, 7, 3, 12, 9, 1, 9],
"ct": [6, 3, 11, 8, 1, 8, 14, 4, 1, 5, 8, 8, 6, 6, 15, 14, 3, 15, 10, 6, 12],
"result": "valid"
},
{
"tcId": 3322,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "4b7af55ae5b94d134b",
"msg": [11, 8, 2, 11, 2, 6, 11, 10, 12, 0, 14, 4, 14, 4, 12, 4, 11, 2, 9, 13, 12],
"ct": [0, 7, 1, 15, 9, 5, 9, 0, 4, 6, 7, 3, 4, 3, 10, 4, 5, 4, 6, 7, 10],
"result": "valid"
},
{
"tcId": 3323,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d",
"tweak": "5b8af4b3a1f2cd3c",
"msg": [-1, 10, 9, 2, 11, 11, 12, 10, 8, 11, 4, 10, 2, 12, 12, 1, 14, 13, 7, 15, 0],
"ct": [15, 7, 4, 1, 6, 12, 5, 9, 3, 13, 8, 14, 5, 3, 14, 12, 11, 4, 8, 11, 2],
"result": "invalid"
},
{
"tcId": 3324,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d",
"tweak": "5b8af4b3a1f2cd3c",
"msg": [8, 10, 9, 2, 11, 11, 12, -1, 8, 11, 4, 10, 2, 12, 12, 1, 14, 13, 7, 15, 0],
"ct": [0, 13, 8, 10, 11, 7, 14, 2, 15, 15, 12, 10, 10, 13, 0, 6, 13, 6, 3, 5, 11],
"result": "invalid"
},
{
"tcId": 3325,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d",
"tweak": "5b8af4b3a1f2cd3c",
"msg": [8, 10, 9, 2, 11, 11, 12, 10, 8, 11, 4, 10, 2, 12, 12, 1, 14, 13, 7, 15, -1],
"ct": [1, 11, 9, 10, 9, 10, 6, 5, 6, 10, 6, 14, 0, 8, 0, 10, 7, 8, 12, 7, 4],
"result": "invalid"
},
{
"tcId": 3326,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a067f0c4488c9741be5d4be5f34623134c69e579eb361c0b4246aab942ed5886",
"tweak": "9dd8930d5f37dd71",
"msg": [16, 14, 8, 9, 9, 3, 6, 6, 1, 13, 11, 1, 8, 1, 12, 11, 11, 10, 9, 11, 15],
"ct": [15, 2, 10, 3, 5, 6, 12, 8, 1, 11, 6, 7, 6, 1, 7, 5, 14, 15, 10, 9, 12],
"result": "invalid"
},
{
"tcId": 3327,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a067f0c4488c9741be5d4be5f34623134c69e579eb361c0b4246aab942ed5886",
"tweak": "9dd8930d5f37dd71",
"msg": [10, 14, 8, 9, 9, 3, 6, 16, 1, 13, 11, 1, 8, 1, 12, 11, 11, 10, 9, 11, 15],
"ct": [8, 9, 7, 9, 6, 10, 8, 0, 14, 0, 12, 2, 0, 3, 5, 12, 15, 13, 5, 2, 5],
"result": "invalid"
},
{
"tcId": 3328,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a067f0c4488c9741be5d4be5f34623134c69e579eb361c0b4246aab942ed5886",
"tweak": "9dd8930d5f37dd71",
"msg": [10, 14, 8, 9, 9, 3, 6, 6, 1, 13, 11, 1, 8, 1, 12, 11, 11, 10, 9, 11, 16],
"ct": [1, 12, 15, 3, 3, 3, 15, 3, 9, 9, 2, 3, 6, 4, 7, 4, 1, 7, 15, 8, 9],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 22,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3329,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "e4d7316dc8f207a390bb0975ae78c2a506361b7a3c762dc970dff471d015a634",
"tweak": "457e89bd400af1ab",
"msg": [14, 7, 0, 2, 6, 0, 8, 14, 14, 12, 7, 8, 15, 7, 12, 5, 10, 0, 0, 14, 4, 15],
"ct": [13, 4, 11, 8, 14, 1, 5, 15, 14, 15, 3, 12, 13, 11, 0, 8, 1, 7, 7, 6, 15, 12],
"result": "valid"
},
{
"tcId": 3330,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 7, 1, 15, 7, 1, 11, 6, 2, 14, 10, 5, 3, 5, 3, 2, 4, 8, 6, 0, 5, 1],
"result": "valid"
},
{
"tcId": 3331,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [4, 2, 11, 12, 7, 13, 3, 0, 6, 11, 0, 0, 13, 9, 5, 0, 5, 6, 11, 6, 3, 15],
"result": "valid"
},
{
"tcId": 3332,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [7, 8, 11, 0, 14, 7, 2, 0, 3, 11, 1, 3, 10, 9, 12, 10, 15, 9, 0, 14, 13, 9],
"result": "valid"
},
{
"tcId": 3333,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [1, 2, 10, 12, 5, 1, 11, 3, 0, 4, 12, 9, 2, 15, 6, 1, 2, 11, 11, 7, 8, 1],
"result": "valid"
},
{
"tcId": 3334,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [13, 4, 1, 14, 13, 10, 13, 14, 11, 14, 7, 5, 6, 5, 5, 1, 1, 12, 1, 5, 2, 5],
"ct": [11, 11, 14, 14, 2, 12, 15, 0, 10, 10, 12, 12, 11, 9, 4, 4, 6, 2, 5, 0, 8, 2],
"result": "valid"
},
{
"tcId": 3335,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [15, 11, 9, 5, 9, 15, 10, 0, 12, 4, 1, 12, 12, 10, 7, 0, 10, 7, 3, 9, 1, 4],
"ct": [4, 15, 3, 13, 7, 10, 15, 8, 5, 13, 2, 4, 8, 0, 3, 11, 2, 13, 5, 13, 2, 0],
"result": "valid"
},
{
"tcId": 3336,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [12, 5, 5, 10, 6, 11, 1, 12, 10, 7, 10, 2, 4, 8, 14, 8, 10, 14, 7, 10, 5, 12],
"ct": [4, 10, 10, 4, 1, 2, 6, 8, 5, 0, 8, 15, 5, 10, 14, 1, 4, 2, 12, 6, 2, 8],
"result": "valid"
},
{
"tcId": 3337,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [1, 10, 7, 15, 12, 5, 2, 11, 12, 6, 15, 5, 3, 3, 10, 2, 9, 12, 1, 9, 1, 5],
"ct": [13, 12, 4, 13, 8, 8, 13, 12, 1, 1, 14, 11, 12, 3, 9, 9, 4, 1, 7, 12, 5, 2],
"result": "valid"
},
{
"tcId": 3338,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [9, 2, 9, 10, 0, 15, 0, 10, 12, 12, 2, 6, 4, 11, 11, 14, 7, 4, 6, 10, 3, 15],
"ct": [0, 15, 1, 2, 1, 5, 0, 12, 0, 4, 5, 4, 7, 14, 14, 4, 12, 8, 11, 10, 11, 3],
"result": "valid"
},
{
"tcId": 3339,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [14, 5, 13, 10, 3, 15, 11, 14, 6, 15, 2, 11, 7, 13, 0, 13, 2, 0, 14, 15, 10, 11],
"ct": [6, 14, 11, 8, 9, 0, 11, 2, 9, 13, 12, 12, 4, 0, 15, 12, 2, 1, 0, 5, 15, 8],
"result": "valid"
},
{
"tcId": 3340,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [0, 10, 13, 14, 1, 8, 14, 12, 13, 2, 12, 13, 9, 14, 2, 15, 2, 4, 12, 0, 12, 8],
"ct": [2, 10, 6, 12, 2, 9, 10, 8, 4, 6, 9, 11, 5, 6, 1, 15, 6, 6, 12, 13, 7, 7],
"result": "valid"
},
{
"tcId": 3341,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [6, 3, 0, 5, 10, 3, 2, 8, 13, 15, 15, 15, 3, 8, 6, 1, 1, 10, 5, 14, 7, 0],
"ct": [3, 12, 9, 1, 14, 2, 10, 14, 8, 2, 4, 1, 14, 8, 5, 14, 15, 13, 1, 0, 7, 6],
"result": "valid"
},
{
"tcId": 3342,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [14, 6, 7, 11, 4, 14, 7, 11, 12, 0, 10, 10, 15, 2, 14, 10, 4, 13, 14, 9, 9, 8],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3343,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [1, 7, 1, 14, 10, 11, 1, 9, 9, 4, 3, 1, 10, 2, 3, 7, 6, 0, 5, 2, 8, 4],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3344,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [15, 10, 4, 3, 6, 4, 4, 7, 4, 1, 12, 0, 6, 10, 8, 4, 10, 0, 14, 1, 15, 2],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3345,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [12, 14, 2, 10, 5, 8, 1, 15, 9, 12, 2, 10, 1, 3, 11, 6, 13, 5, 11, 7, 13, 4],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3346,
"comment": "y = 0 and (y + a) % radix**11 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "6b28af3320a771e036",
"msg": [13, 10, 2, 15, 9, 11, 4, 9, 4, 9, 11, 7, 1, 5, 4, 4, 1, 11, 8, 9, 13, 6],
"ct": [11, 9, 2, 2, 5, 10, 2, 4, 9, 1, 2, 8, 10, 2, 8, 9, 12, 8, 6, 6, 14, 6],
"result": "valid"
},
{
"tcId": 3347,
"comment": "y = 0 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "6b28af3320a771e036",
"msg": [8, 0, 14, 15, 11, 10, 14, 1, 5, 6, 5, 10, 4, 13, 7, 7, 14, 5, 4, 3, 2, 12],
"ct": [10, 2, 11, 3, 12, 7, 15, 14, 9, 1, 6, 11, 6, 11, 3, 7, 6, 11, 1, 1, 7, 9],
"result": "valid"
},
{
"tcId": 3348,
"comment": "y = 0 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "6b28af3320a771e036",
"msg": [9, 8, 13, 6, 13, 9, 7, 6, 10, 5, 13, 8, 14, 0, 13, 4, 7, 4, 2, 14, 4, 10],
"ct": [13, 4, 12, 3, 15, 10, 2, 7, 5, 1, 13, 0, 0, 11, 6, 1, 11, 7, 12, 13, 12, 13],
"result": "valid"
},
{
"tcId": 3349,
"comment": "y = 0 and (y + a) % radix**11 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "6b28af3320a771e036",
"msg": [9, 2, 14, 1, 7, 14, 5, 13, 12, 10, 11, 4, 2, 7, 10, 13, 1, 1, 15, 12, 3, 0],
"ct": [13, 7, 13, 6, 0, 9, 11, 0, 15, 7, 8, 13, 15, 6, 11, 15, 12, 8, 5, 8, 8, 1],
"result": "valid"
},
{
"tcId": 3350,
"comment": "y = 1 and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "36c79518785afdd4d8",
"msg": [8, 1, 10, 9, 10, 4, 6, 9, 8, 11, 10, 6, 4, 6, 9, 2, 0, 9, 0, 12, 15, 4],
"ct": [8, 8, 4, 8, 0, 4, 7, 0, 10, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 3351,
"comment": "y = 1 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "36c79518785afdd4d8",
"msg": [14, 11, 3, 15, 14, 0, 4, 7, 5, 8, 9, 7, 13, 4, 5, 1, 5, 0, 3, 14, 11, 5],
"ct": [8, 8, 4, 8, 0, 4, 7, 0, 10, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2],
"result": "valid"
},
{
"tcId": 3352,
"comment": "y = 1 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "36c79518785afdd4d8",
"msg": [15, 7, 14, 9, 2, 15, 1, 10, 12, 3, 3, 14, 3, 11, 5, 0, 9, 3, 0, 12, 7, 7],
"ct": [8, 8, 4, 8, 0, 4, 7, 0, 10, 7, 1, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 3353,
"comment": "y = 1 and (y + a) % radix**11 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "36c79518785afdd4d8",
"msg": [9, 5, 1, 13, 9, 6, 15, 7, 14, 9, 14, 9, 0, 8, 9, 8, 12, 3, 9, 11, 1, 14],
"ct": [8, 8, 4, 8, 0, 4, 7, 0, 10, 7, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3354,
"comment": "y = 1 and (y + a) % radix**11 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "36c79518785afdd4d8",
"msg": [11, 14, 7, 10, 2, 7, 13, 8, 1, 15, 9, 1, 12, 13, 3, 2, 0, 13, 10, 5, 6, 10],
"ct": [8, 8, 4, 8, 0, 4, 7, 0, 10, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3355,
"comment": "y is maximal and (y + a) % radix**11 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "770fa88bf5b8bab68e",
"msg": [12, 5, 10, 13, 11, 5, 6, 15, 3, 4, 8, 11, 3, 15, 1, 4, 8, 4, 15, 5, 4, 14],
"ct": [5, 2, 0, 15, 11, 11, 7, 5, 1, 2, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3356,
"comment": "y is maximal and (y + a) % radix**11 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "770fa88bf5b8bab68e",
"msg": [8, 7, 14, 1, 12, 15, 11, 9, 15, 10, 15, 11, 11, 6, 7, 8, 11, 2, 9, 10, 15, 10],
"ct": [5, 2, 0, 15, 11, 11, 7, 5, 1, 2, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3357,
"comment": "y is maximal and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "770fa88bf5b8bab68e",
"msg": [0, 3, 3, 1, 5, 0, 1, 10, 0, 11, 15, 4, 5, 11, 8, 9, 1, 0, 4, 8, 10, 12],
"ct": [5, 2, 0, 15, 11, 11, 7, 5, 1, 2, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3358,
"comment": "y is maximal and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "770fa88bf5b8bab68e",
"msg": [8, 11, 5, 3, 1, 0, 1, 15, 1, 6, 4, 8, 2, 1, 15, 3, 0, 6, 5, 1, 14, 14],
"ct": [5, 2, 0, 15, 11, 11, 7, 5, 1, 2, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14],
"result": "valid"
},
{
"tcId": 3359,
"comment": "y is edge case for modular reduction and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "167d0a4ee88eb43c9a",
"msg": [7, 1, 9, 1, 0, 2, 5, 2, 3, 4, 4, 3, 0, 9, 14, 9, 10, 12, 4, 10, 9, 0],
"ct": [10, 1, 6, 5, 2, 9, 8, 5, 9, 3, 10, 14, 1, 4, 0, 6, 7, 10, 10, 1, 1, 4],
"result": "valid"
},
{
"tcId": 3360,
"comment": "y is edge case for modular reduction and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "167d0a4ee88eb43c9a",
"msg": [10, 13, 2, 14, 6, 7, 0, 8, 7, 2, 15, 9, 13, 7, 14, 9, 7, 3, 15, 13, 12, 14],
"ct": [2, 0, 3, 0, 2, 11, 4, 0, 13, 0, 2, 4, 4, 2, 7, 1, 11, 4, 0, 4, 5, 15],
"result": "valid"
},
{
"tcId": 3361,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "167d0a4ee88eb43c9a",
"msg": [11, 9, 8, 3, 3, 1, 11, 7, 3, 12, 11, 15, 6, 1, 3, 0, 4, 10, 3, 5, 8, 3],
"ct": [12, 10, 7, 15, 6, 14, 7, 9, 11, 5, 7, 14, 6, 6, 0, 11, 3, 6, 7, 5, 7, 10],
"result": "valid"
},
{
"tcId": 3362,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "167d0a4ee88eb43c9a",
"msg": [11, 10, 6, 9, 6, 7, 1, 5, 0, 14, 14, 8, 15, 5, 15, 13, 12, 15, 10, 6, 2, 7],
"ct": [9, 2, 5, 6, 1, 1, 6, 4, 13, 13, 12, 5, 4, 9, 14, 8, 5, 15, 2, 12, 10, 14],
"result": "valid"
},
{
"tcId": 3363,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "167d0a4ee88eb43c9a",
"msg": [8, 5, 5, 10, 4, 11, 15, 7, 13, 5, 2, 5, 7, 4, 2, 2, 5, 8, 7, 14, 1, 2],
"ct": [0, 1, 2, 14, 4, 0, 8, 5, 8, 10, 11, 2, 7, 10, 9, 1, 13, 9, 14, 9, 5, 0],
"result": "valid"
},
{
"tcId": 3364,
"comment": "y is edge case for modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "167d0a4ee88eb43c9a",
"msg": [3, 7, 15, 15, 1, 12, 5, 2, 3, 11, 1, 7, 5, 11, 7, 12, 4, 6, 3, 11, 0, 6],
"ct": [13, 7, 10, 7, 14, 15, 14, 15, 6, 10, 15, 9, 15, 11, 7, 7, 3, 15, 10, 9, 10, 11],
"result": "valid"
},
{
"tcId": 3365,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "9c3366b65246c2d4a4",
"msg": [7, 4, 5, 14, 3, 1, 15, 6, 4, 8, 8, 9, 3, 1, 11, 7, 15, 2, 1, 1, 15, 5],
"ct": [12, 1, 10, 8, 8, 2, 11, 4, 6, 3, 12, 9, 4, 10, 7, 12, 5, 1, 7, 5, 0, 7],
"result": "valid"
},
{
"tcId": 3366,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "9c3366b65246c2d4a4",
"msg": [9, 1, 3, 11, 3, 2, 8, 3, 10, 12, 13, 1, 8, 14, 8, 9, 5, 12, 2, 9, 4, 10],
"ct": [12, 8, 6, 0, 12, 10, 0, 8, 0, 6, 13, 8, 7, 1, 7, 15, 14, 11, 4, 14, 0, 3],
"result": "valid"
},
{
"tcId": 3367,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "9c3366b65246c2d4a4",
"msg": [12, 7, 14, 6, 2, 9, 15, 8, 11, 11, 1, 8, 6, 9, 11, 11, 15, 4, 5, 15, 13, 1],
"ct": [9, 9, 1, 4, 11, 1, 14, 14, 1, 12, 6, 9, 14, 14, 4, 12, 13, 4, 14, 8, 3, 0],
"result": "valid"
},
{
"tcId": 3368,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "9c3366b65246c2d4a4",
"msg": [0, 6, 12, 14, 2, 12, 10, 9, 14, 1, 6, 10, 1, 2, 8, 2, 8, 11, 12, 10, 7, 8],
"ct": [0, 12, 11, 3, 8, 13, 1, 2, 6, 6, 10, 8, 14, 14, 2, 0, 2, 6, 9, 14, 10, 6],
"result": "valid"
},
{
"tcId": 3369,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dda15131a435c537838bfa170584af230656e50a6a5ed6cfc1cc16594dbd7c24",
"tweak": "be1bdc9a75492a3d",
"msg": [-1, 3, 0, 13, 12, 4, 5, 3, 2, 1, 4, 13, 7, 3, 13, 8, 7, 8, 13, 6, 15, 5],
"ct": [10, 8, 15, 11, 9, 12, 7, 0, 15, 5, 14, 15, 5, 11, 4, 9, 5, 11, 9, 3, 8, 9],
"result": "invalid"
},
{
"tcId": 3370,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dda15131a435c537838bfa170584af230656e50a6a5ed6cfc1cc16594dbd7c24",
"tweak": "be1bdc9a75492a3d",
"msg": [6, 3, 0, 13, 12, 4, 5, -1, 2, 1, 4, 13, 7, 3, 13, 8, 7, 8, 13, 6, 15, 5],
"ct": [4, 3, 3, 9, 8, 12, 6, 12, 9, 6, 2, 6, 8, 3, 4, 15, 4, 12, 11, 0, 5, 13],
"result": "invalid"
},
{
"tcId": 3371,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dda15131a435c537838bfa170584af230656e50a6a5ed6cfc1cc16594dbd7c24",
"tweak": "be1bdc9a75492a3d",
"msg": [6, 3, 0, 13, 12, 4, 5, 3, 2, 1, 4, 13, 7, 3, 13, 8, 7, 8, 13, 6, 15, -1],
"ct": [3, 14, 11, 9, 14, 10, 9, 11, 10, 3, 0, 4, 9, 13, 10, 7, 7, 0, 2, 7, 7, 15],
"result": "invalid"
},
{
"tcId": 3372,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f9446982ce6f192c413d29da11f8ef193eb976a373ee80cad64fa06cda7c7af1",
"tweak": "fd26f8c1a1e1ded1",
"msg": [16, 7, 5, 8, 10, 5, 14, 8, 10, 13, 9, 1, 2, 4, 14, 12, 1, 4, 14, 7, 3, 13],
"ct": [1, 4, 1, 4, 0, 1, 14, 8, 5, 15, 8, 3, 10, 10, 5, 2, 12, 10, 7, 12, 7, 5],
"result": "invalid"
},
{
"tcId": 3373,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f9446982ce6f192c413d29da11f8ef193eb976a373ee80cad64fa06cda7c7af1",
"tweak": "fd26f8c1a1e1ded1",
"msg": [7, 7, 5, 8, 10, 5, 14, 16, 10, 13, 9, 1, 2, 4, 14, 12, 1, 4, 14, 7, 3, 13],
"ct": [12, 1, 5, 9, 9, 11, 12, 4, 12, 9, 11, 0, 1, 3, 15, 11, 10, 13, 6, 10, 0, 14],
"result": "invalid"
},
{
"tcId": 3374,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f9446982ce6f192c413d29da11f8ef193eb976a373ee80cad64fa06cda7c7af1",
"tweak": "fd26f8c1a1e1ded1",
"msg": [7, 7, 5, 8, 10, 5, 14, 8, 10, 13, 9, 1, 2, 4, 14, 12, 1, 4, 14, 7, 3, 16],
"ct": [13, 13, 12, 13, 10, 7, 13, 10, 5, 0, 7, 5, 5, 5, 0, 14, 15, 8, 2, 9, 8, 6],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 23,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3375,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "0d3ce9853bb4fc12233e5c394be7fa40a52f13ce1a348b3ebf7656fb5dd4357b",
"tweak": "bf83b0337f56f7bf",
"msg": [8, 1, 1, 8, 1, 4, 12, 13, 1, 13, 13, 6, 13, 12, 14, 3, 1, 0, 15, 13, 2, 8, 6],
"ct": [15, 2, 0, 0, 13, 11, 3, 0, 3, 13, 8, 4, 11, 12, 0, 9, 10, 5, 13, 9, 15, 8, 13],
"result": "valid"
},
{
"tcId": 3376,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [6, 10, 9, 4, 10, 8, 4, 4, 7, 8, 11, 8, 3, 15, 0, 1, 6, 12, 4, 0, 7, 10, 3],
"result": "valid"
},
{
"tcId": 3377,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [13, 11, 3, 7, 12, 5, 14, 6, 0, 1, 4, 14, 13, 1, 7, 7, 12, 8, 1, 6, 11, 2, 1],
"result": "valid"
},
{
"tcId": 3378,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [7, 1, 5, 14, 10, 5, 6, 10, 14, 13, 7, 11, 9, 0, 11, 12, 8, 13, 6, 6, 2, 12, 13],
"result": "valid"
},
{
"tcId": 3379,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [14, 13, 9, 11, 12, 11, 10, 0, 13, 9, 12, 12, 10, 8, 8, 4, 8, 3, 13, 4, 8, 10, 2],
"result": "valid"
},
{
"tcId": 3380,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [14, 11, 5, 4, 9, 4, 2, 8, 0, 11, 15, 5, 4, 1, 5, 1, 13, 15, 8, 13, 6, 2, 3],
"ct": [4, 7, 1, 4, 8, 15, 4, 13, 3, 5, 0, 7, 1, 0, 2, 12, 10, 8, 12, 13, 13, 14, 4],
"result": "valid"
},
{
"tcId": 3381,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [6, 12, 14, 7, 5, 7, 8, 0, 6, 8, 13, 10, 11, 15, 4, 2, 15, 12, 1, 3, 5, 0, 3],
"ct": [10, 7, 5, 6, 10, 0, 6, 7, 11, 4, 5, 9, 7, 9, 13, 3, 4, 12, 12, 8, 11, 1, 12],
"result": "valid"
},
{
"tcId": 3382,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [1, 11, 15, 12, 15, 15, 14, 14, 10, 7, 0, 0, 7, 4, 3, 11, 13, 6, 6, 12, 12, 14, 0],
"ct": [11, 14, 8, 1, 2, 2, 12, 2, 14, 11, 11, 9, 11, 10, 3, 1, 3, 1, 7, 2, 2, 10, 5],
"result": "valid"
},
{
"tcId": 3383,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [2, 9, 7, 4, 2, 11, 4, 2, 0, 7, 3, 14, 1, 5, 9, 10, 8, 3, 0, 4, 13, 8, 2],
"ct": [13, 3, 14, 7, 13, 2, 6, 11, 1, 1, 8, 15, 2, 7, 12, 7, 3, 3, 0, 14, 7, 12, 3],
"result": "valid"
},
{
"tcId": 3384,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [8, 12, 15, 13, 9, 9, 10, 14, 10, 0, 7, 3, 6, 10, 10, 11, 10, 3, 7, 5, 10, 9, 2],
"ct": [14, 14, 11, 10, 10, 13, 11, 11, 6, 7, 0, 15, 15, 2, 8, 12, 12, 9, 6, 14, 6, 0, 12],
"result": "valid"
},
{
"tcId": 3385,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [15, 14, 12, 1, 9, 14, 13, 4, 3, 4, 7, 6, 7, 10, 7, 15, 5, 13, 5, 10, 15, 8, 10],
"ct": [3, 13, 0, 2, 9, 14, 2, 14, 1, 0, 3, 7, 15, 0, 9, 3, 10, 4, 5, 7, 5, 14, 1],
"result": "valid"
},
{
"tcId": 3386,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [12, 4, 2, 2, 3, 9, 8, 8, 5, 11, 0, 8, 9, 14, 0, 6, 10, 14, 2, 10, 14, 9, 14],
"ct": [2, 3, 5, 13, 10, 9, 1, 10, 1, 3, 7, 15, 11, 14, 12, 1, 1, 12, 7, 9, 3, 3, 8],
"result": "valid"
},
{
"tcId": 3387,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [11, 2, 1, 7, 4, 1, 8, 2, 9, 3, 9, 13, 6, 8, 8, 3, 8, 14, 1, 15, 1, 11, 13],
"ct": [10, 5, 9, 5, 1, 12, 3, 3, 9, 3, 2, 12, 1, 11, 2, 5, 11, 13, 11, 1, 13, 7, 13],
"result": "valid"
},
{
"tcId": 3388,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [15, 2, 5, 9, 10, 10, 13, 3, 5, 0, 11, 10, 6, 15, 1, 3, 9, 1, 8, 7, 15, 9, 7],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3389,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [0, 8, 13, 3, 15, 9, 3, 8, 12, 12, 13, 15, 15, 4, 12, 11, 1, 15, 7, 5, 3, 5, 4],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3390,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [10, 3, 0, 2, 11, 4, 1, 4, 14, 3, 6, 1, 14, 14, 2, 5, 7, 9, 14, 10, 6, 10, 5],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3391,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [8, 8, 0, 10, 1, 2, 4, 11, 5, 9, 14, 10, 14, 10, 5, 11, 1, 10, 14, 6, 3, 3, 13],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3392,
"comment": "y = 0 and (y + a) % radix**11 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "0d588d7b895aa7df88",
"msg": [5, 9, 10, 8, 14, 6, 9, 0, 15, 8, 9, 3, 4, 2, 15, 6, 14, 15, 12, 9, 13, 3, 8],
"ct": [15, 13, 4, 7, 7, 9, 1, 11, 9, 12, 5, 5, 4, 10, 0, 11, 4, 3, 13, 2, 7, 13, 12],
"result": "valid"
},
{
"tcId": 3393,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "0d588d7b895aa7df88",
"msg": [1, 15, 6, 8, 12, 6, 6, 10, 15, 15, 3, 7, 8, 5, 6, 6, 11, 2, 0, 0, 5, 10, 9],
"ct": [8, 5, 12, 7, 12, 1, 15, 2, 10, 13, 8, 15, 9, 11, 2, 6, 11, 5, 7, 6, 0, 2, 6],
"result": "valid"
},
{
"tcId": 3394,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "0d588d7b895aa7df88",
"msg": [14, 12, 3, 2, 11, 4, 13, 12, 9, 10, 2, 12, 9, 9, 9, 8, 12, 10, 7, 5, 5, 12, 9],
"ct": [12, 3, 10, 6, 2, 12, 8, 5, 12, 14, 12, 1, 4, 14, 15, 11, 0, 15, 2, 15, 15, 3, 8],
"result": "valid"
},
{
"tcId": 3395,
"comment": "y = 0 and (y + a) % radix**11 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "0d588d7b895aa7df88",
"msg": [11, 8, 10, 9, 6, 14, 6, 6, 2, 11, 11, 3, 12, 9, 14, 15, 7, 8, 11, 14, 12, 2, 14],
"ct": [3, 8, 11, 10, 3, 3, 3, 9, 12, 8, 1, 9, 14, 4, 14, 3, 4, 1, 5, 2, 14, 10, 0],
"result": "valid"
},
{
"tcId": 3396,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "a5fe9d550e3b17ff5d",
"msg": [1, 14, 12, 14, 13, 13, 5, 3, 11, 15, 10, 9, 10, 6, 0, 8, 15, 5, 14, 6, 10, 15, 1],
"ct": [0, 14, 10, 11, 1, 3, 1, 10, 1, 11, 0, 14, 1, 0, 7, 12, 14, 2, 2, 0, 13, 3, 0],
"result": "valid"
},
{
"tcId": 3397,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "a5fe9d550e3b17ff5d",
"msg": [2, 8, 10, 0, 10, 7, 14, 8, 13, 4, 1, 5, 6, 7, 8, 3, 15, 5, 1, 10, 10, 0, 4],
"ct": [2, 12, 9, 3, 4, 1, 1, 8, 13, 7, 15, 5, 1, 5, 7, 9, 4, 3, 1, 10, 14, 5, 4],
"result": "valid"
},
{
"tcId": 3398,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "a5fe9d550e3b17ff5d",
"msg": [2, 15, 0, 5, 11, 14, 15, 15, 11, 15, 15, 10, 5, 6, 1, 1, 8, 6, 11, 12, 4, 7, 3],
"ct": [0, 13, 8, 4, 4, 2, 8, 5, 3, 1, 7, 4, 0, 14, 13, 5, 0, 12, 5, 12, 2, 9, 13],
"result": "valid"
},
{
"tcId": 3399,
"comment": "y = 1 and (y + a) % radix**11 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "a5fe9d550e3b17ff5d",
"msg": [6, 7, 0, 4, 14, 5, 4, 11, 13, 13, 2, 7, 1, 8, 13, 5, 11, 8, 15, 13, 2, 2, 2],
"ct": [7, 11, 5, 11, 4, 1, 6, 9, 14, 13, 1, 14, 6, 1, 2, 15, 10, 14, 5, 8, 2, 0, 13],
"result": "valid"
},
{
"tcId": 3400,
"comment": "y = 1 and (y + a) % radix**11 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "a5fe9d550e3b17ff5d",
"msg": [0, 6, 2, 12, 12, 8, 10, 8, 6, 15, 8, 15, 2, 1, 5, 3, 6, 4, 14, 3, 15, 5, 13],
"ct": [11, 5, 11, 13, 0, 12, 13, 10, 2, 10, 8, 9, 10, 10, 9, 3, 4, 1, 0, 0, 5, 15, 13],
"result": "valid"
},
{
"tcId": 3401,
"comment": "y is maximal and (y + a) % radix**11 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "ba5784df6da31a347e",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 4, 5, 0, 3, 9, 13, 13, 12, 14, 2, 13],
"ct": [13, 2, 8, 3, 4, 7, 2, 12, 7, 11, 12, 12, 11, 3, 0, 11, 11, 10, 15, 6, 10, 5, 2],
"result": "valid"
},
{
"tcId": 3402,
"comment": "y is maximal and (y + a) % radix**11 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "ba5784df6da31a347e",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 8, 4, 5, 0, 3, 9, 13, 13, 12, 14, 2, 13],
"ct": [14, 12, 12, 9, 13, 12, 12, 3, 13, 0, 8, 6, 12, 15, 5, 11, 4, 5, 6, 4, 7, 15, 4],
"result": "valid"
},
{
"tcId": 3403,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "ba5784df6da31a347e",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 4, 5, 0, 3, 9, 13, 13, 12, 14, 2, 13],
"ct": [1, 15, 13, 0, 12, 0, 10, 6, 4, 8, 3, 1, 5, 11, 15, 7, 11, 14, 0, 10, 13, 6, 3],
"result": "valid"
},
{
"tcId": 3404,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "ba5784df6da31a347e",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 8, 4, 5, 0, 3, 9, 13, 13, 12, 14, 2, 13],
"ct": [8, 15, 9, 3, 0, 14, 3, 14, 10, 14, 6, 14, 7, 11, 8, 10, 15, 15, 9, 3, 7, 8, 10],
"result": "valid"
},
{
"tcId": 3405,
"comment": "y is edge case for modular reduction and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "290757c59fb20adbdc",
"msg": [9, 0, 5, 10, 2, 14, 15, 8, 4, 11, 3, 8, 0, 4, 6, 14, 14, 3, 1, 2, 7, 6, 9],
"ct": [6, 1, 12, 0, 0, 2, 10, 12, 6, 13, 7, 1, 1, 11, 8, 13, 9, 13, 2, 15, 3, 7, 12],
"result": "valid"
},
{
"tcId": 3406,
"comment": "y is edge case for modular reduction and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "290757c59fb20adbdc",
"msg": [3, 4, 12, 5, 4, 4, 5, 8, 1, 6, 2, 7, 0, 12, 1, 4, 10, 3, 8, 7, 3, 4, 13],
"ct": [5, 14, 12, 15, 3, 8, 7, 11, 2, 6, 12, 12, 5, 8, 0, 1, 3, 1, 12, 6, 0, 1, 11],
"result": "valid"
},
{
"tcId": 3407,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "290757c59fb20adbdc",
"msg": [12, 9, 12, 11, 0, 4, 5, 15, 13, 15, 4, 12, 13, 8, 3, 14, 12, 10, 0, 12, 9, 6, 8],
"ct": [8, 5, 0, 9, 0, 5, 15, 2, 4, 3, 13, 6, 10, 0, 14, 14, 5, 3, 5, 6, 14, 3, 11],
"result": "valid"
},
{
"tcId": 3408,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "290757c59fb20adbdc",
"msg": [5, 10, 11, 3, 9, 14, 15, 0, 4, 8, 12, 3, 7, 1, 3, 11, 5, 0, 13, 8, 5, 0, 9],
"ct": [8, 12, 4, 14, 5, 12, 4, 10, 5, 13, 10, 10, 8, 14, 12, 11, 5, 0, 14, 5, 6, 0, 1],
"result": "valid"
},
{
"tcId": 3409,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "290757c59fb20adbdc",
"msg": [14, 4, 13, 15, 4, 12, 11, 8, 12, 7, 0, 6, 15, 8, 5, 5, 8, 11, 2, 12, 12, 6, 13],
"ct": [5, 10, 15, 5, 1, 13, 2, 3, 3, 8, 4, 3, 2, 1, 8, 4, 4, 11, 13, 1, 4, 0, 9],
"result": "valid"
},
{
"tcId": 3410,
"comment": "y is edge case for modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "290757c59fb20adbdc",
"msg": [0, 9, 14, 4, 3, 10, 5, 4, 4, 3, 6, 0, 0, 1, 12, 4, 7, 14, 9, 1, 15, 6, 3],
"ct": [11, 5, 14, 3, 13, 2, 9, 1, 3, 7, 5, 3, 4, 15, 8, 11, 4, 2, 5, 0, 8, 6, 9],
"result": "valid"
},
{
"tcId": 3411,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "c811c8e935df219511",
"msg": [8, 7, 3, 7, 0, 7, 4, 6, 8, 4, 14, 5, 6, 5, 7, 10, 4, 11, 13, 14, 0, 2, 11],
"ct": [4, 3, 4, 5, 12, 15, 15, 7, 15, 5, 2, 13, 3, 3, 1, 1, 13, 11, 15, 6, 9, 4, 1],
"result": "valid"
},
{
"tcId": 3412,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "c811c8e935df219511",
"msg": [8, 8, 3, 4, 2, 14, 11, 1, 10, 9, 6, 0, 2, 13, 3, 13, 3, 11, 0, 8, 0, 15, 13],
"ct": [8, 14, 7, 13, 7, 0, 2, 13, 4, 12, 5, 13, 11, 13, 1, 11, 5, 14, 10, 8, 9, 4, 3],
"result": "valid"
},
{
"tcId": 3413,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "c811c8e935df219511",
"msg": [14, 5, 7, 3, 1, 14, 10, 12, 9, 5, 15, 13, 0, 9, 3, 1, 4, 3, 0, 1, 8, 6, 3],
"ct": [10, 1, 9, 9, 7, 2, 2, 15, 14, 6, 10, 9, 3, 7, 5, 14, 7, 7, 8, 6, 3, 7, 6],
"result": "valid"
},
{
"tcId": 3414,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "c811c8e935df219511",
"msg": [9, 5, 15, 0, 4, 5, 7, 8, 13, 4, 5, 11, 15, 15, 12, 11, 5, 5, 7, 14, 9, 13, 6],
"ct": [4, 10, 1, 5, 7, 5, 2, 4, 15, 9, 14, 2, 10, 13, 8, 6, 15, 5, 0, 13, 12, 11, 8],
"result": "valid"
},
{
"tcId": 3415,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ad4918b57782cbf6a641d6f9531d57ba353eb7a615eb36b449c0b076fe1693f6",
"tweak": "247c466d8f9108e2",
"msg": [-1, 8, 12, 15, 2, 13, 4, 6, 1, 12, 0, 7, 11, 3, 10, 10, 6, 2, 4, 8, 3, 15, 15],
"ct": [0, 13, 11, 3, 10, 3, 8, 14, 9, 15, 2, 7, 0, 8, 6, 14, 10, 8, 7, 6, 10, 4, 4],
"result": "invalid"
},
{
"tcId": 3416,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ad4918b57782cbf6a641d6f9531d57ba353eb7a615eb36b449c0b076fe1693f6",
"tweak": "247c466d8f9108e2",
"msg": [2, 8, 12, 15, 2, 13, 4, -1, 1, 12, 0, 7, 11, 3, 10, 10, 6, 2, 4, 8, 3, 15, 15],
"ct": [7, 0, 9, 9, 14, 15, 5, 2, 8, 8, 2, 13, 2, 0, 0, 6, 12, 12, 12, 3, 8, 14, 10],
"result": "invalid"
},
{
"tcId": 3417,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ad4918b57782cbf6a641d6f9531d57ba353eb7a615eb36b449c0b076fe1693f6",
"tweak": "247c466d8f9108e2",
"msg": [2, 8, 12, 15, 2, 13, 4, 6, 1, 12, 0, 7, 11, 3, 10, 10, 6, 2, 4, 8, 3, 15, -1],
"ct": [1, 9, 8, 15, 1, 11, 6, 5, 15, 11, 13, 5, 10, 3, 8, 11, 0, 10, 6, 15, 11, 4, 7],
"result": "invalid"
},
{
"tcId": 3418,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1b8ace35cecd4408496c15453406c38156d4b82164346a5dda6f8cd96896502c",
"tweak": "c08b23112291b3db",
"msg": [16, 4, 5, 8, 4, 0, 15, 12, 9, 0, 3, 8, 6, 2, 7, 9, 7, 9, 6, 6, 10, 4, 11],
"ct": [13, 10, 4, 9, 2, 4, 8, 12, 0, 6, 12, 1, 9, 2, 0, 15, 10, 9, 2, 7, 3, 8, 0],
"result": "invalid"
},
{
"tcId": 3419,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1b8ace35cecd4408496c15453406c38156d4b82164346a5dda6f8cd96896502c",
"tweak": "c08b23112291b3db",
"msg": [15, 4, 5, 8, 4, 0, 15, 16, 9, 0, 3, 8, 6, 2, 7, 9, 7, 9, 6, 6, 10, 4, 11],
"ct": [5, 2, 2, 6, 5, 11, 14, 12, 14, 0, 1, 6, 15, 4, 1, 2, 11, 8, 4, 13, 15, 13, 3],
"result": "invalid"
},
{
"tcId": 3420,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1b8ace35cecd4408496c15453406c38156d4b82164346a5dda6f8cd96896502c",
"tweak": "c08b23112291b3db",
"msg": [15, 4, 5, 8, 4, 0, 15, 12, 9, 0, 3, 8, 6, 2, 7, 9, 7, 9, 6, 6, 10, 4, 16],
"ct": [11, 5, 9, 5, 3, 11, 5, 8, 12, 4, 12, 6, 15, 8, 1, 14, 0, 14, 10, 10, 15, 9, 3],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 24,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3421,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "6dd6f146d834e25b75f7cde4071293e1cb4ed6be6f3e93a1338f21699c844fef",
"tweak": "a043702fce39a1ce",
"msg": [6, 0, 11, 12, 14, 5, 7, 7, 6, 10, 0, 5, 9, 4, 14, 15, 10, 12, 6, 14, 14, 6, 6, 10],
"ct": [11, 1, 15, 4, 1, 12, 6, 9, 12, 14, 10, 7, 7, 8, 6, 5, 10, 6, 8, 12, 4, 5, 4, 13],
"result": "valid"
},
{
"tcId": 3422,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [13, 2, 6, 9, 4, 6, 3, 12, 5, 13, 5, 8, 10, 7, 9, 2, 0, 8, 0, 5, 15, 12, 0, 1],
"result": "valid"
},
{
"tcId": 3423,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [0, 14, 6, 9, 7, 6, 10, 5, 14, 15, 11, 6, 13, 8, 7, 12, 8, 12, 0, 10, 12, 10, 8, 2],
"result": "valid"
},
{
"tcId": 3424,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [5, 9, 2, 10, 3, 8, 5, 0, 9, 7, 2, 9, 12, 1, 11, 2, 3, 4, 11, 4, 12, 6, 3, 9],
"result": "valid"
},
{
"tcId": 3425,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [7, 15, 8, 7, 3, 0, 6, 6, 7, 0, 12, 7, 3, 10, 3, 15, 5, 15, 4, 1, 4, 4, 10, 5],
"result": "valid"
},
{
"tcId": 3426,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [11, 2, 5, 11, 4, 7, 0, 0, 2, 5, 8, 3, 15, 2, 12, 3, 4, 0, 3, 8, 5, 5, 15, 7],
"ct": [4, 6, 11, 1, 4, 10, 12, 0, 1, 8, 8, 10, 2, 9, 9, 13, 6, 8, 0, 3, 14, 0, 14, 5],
"result": "valid"
},
{
"tcId": 3427,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [1, 3, 15, 5, 15, 9, 15, 4, 12, 10, 6, 13, 8, 3, 15, 1, 0, 12, 0, 7, 15, 0, 1, 6],
"ct": [4, 7, 15, 13, 3, 14, 6, 12, 7, 9, 3, 7, 13, 14, 14, 8, 13, 1, 8, 6, 0, 8, 0, 14],
"result": "valid"
},
{
"tcId": 3428,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [15, 4, 10, 13, 9, 7, 14, 14, 9, 13, 15, 13, 6, 3, 3, 1, 15, 10, 3, 9, 3, 11, 13, 9],
"ct": [15, 4, 8, 9, 11, 3, 0, 13, 4, 9, 7, 2, 0, 3, 4, 10, 12, 7, 3, 0, 10, 10, 12, 14],
"result": "valid"
},
{
"tcId": 3429,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [3, 11, 7, 1, 10, 14, 1, 5, 13, 2, 2, 8, 8, 10, 15, 12, 10, 4, 4, 8, 9, 13, 5, 5],
"ct": [12, 9, 1, 2, 11, 9, 8, 11, 0, 6, 10, 3, 1, 13, 0, 1, 5, 10, 12, 2, 3, 11, 11, 4],
"result": "valid"
},
{
"tcId": 3430,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [0, 14, 10, 4, 6, 15, 9, 4, 9, 14, 15, 2, 3, 6, 13, 4, 8, 4, 2, 6, 15, 0, 12, 10],
"ct": [1, 8, 7, 7, 13, 13, 2, 6, 8, 1, 4, 4, 12, 14, 10, 12, 15, 6, 3, 6, 12, 5, 3, 3],
"result": "valid"
},
{
"tcId": 3431,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [4, 1, 6, 1, 6, 9, 8, 11, 7, 15, 7, 8, 11, 14, 9, 15, 15, 8, 7, 9, 7, 5, 13, 12],
"ct": [10, 6, 10, 14, 2, 8, 13, 0, 13, 10, 15, 8, 12, 8, 5, 8, 4, 2, 5, 4, 3, 6, 1, 11],
"result": "valid"
},
{
"tcId": 3432,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [5, 13, 10, 7, 7, 4, 8, 6, 15, 2, 7, 8, 12, 6, 6, 6, 7, 11, 9, 5, 11, 9, 8, 13],
"ct": [15, 5, 11, 14, 4, 8, 0, 3, 2, 12, 15, 11, 2, 3, 0, 9, 4, 5, 4, 2, 14, 10, 15, 11],
"result": "valid"
},
{
"tcId": 3433,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [13, 5, 13, 0, 3, 7, 0, 13, 9, 7, 0, 14, 0, 13, 1, 14, 8, 2, 2, 15, 2, 8, 5, 4],
"ct": [4, 5, 15, 15, 12, 2, 13, 1, 0, 14, 11, 11, 3, 0, 9, 10, 8, 10, 12, 13, 1, 3, 13, 7],
"result": "valid"
},
{
"tcId": 3434,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [1, 3, 3, 8, 9, 6, 4, 2, 6, 3, 11, 12, 5, 15, 15, 8, 15, 9, 3, 15, 15, 6, 2, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3435,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [3, 3, 7, 2, 2, 3, 5, 12, 2, 7, 6, 11, 12, 0, 14, 9, 15, 11, 9, 10, 7, 5, 1, 13],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3436,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [5, 4, 3, 6, 13, 5, 7, 8, 3, 11, 5, 14, 12, 13, 11, 6, 1, 1, 7, 8, 5, 2, 14, 6],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3437,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [15, 4, 14, 5, 2, 7, 3, 12, 0, 3, 10, 7, 7, 12, 8, 9, 0, 10, 15, 3, 2, 9, 14, 5],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3438,
"comment": "y = 0 and (y + a) % radix**12 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "460d4d90962e32eae6",
"msg": [0, 5, 2, 14, 14, 10, 1, 8, 0, 15, 15, 8, 6, 7, 8, 4, 2, 14, 6, 14, 5, 0, 7, 6],
"ct": [10, 2, 4, 12, 14, 5, 8, 14, 6, 14, 8, 1, 10, 2, 4, 11, 11, 9, 5, 0, 14, 4, 14, 1],
"result": "valid"
},
{
"tcId": 3439,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "460d4d90962e32eae6",
"msg": [14, 7, 13, 8, 10, 8, 12, 2, 14, 12, 3, 4, 13, 13, 0, 8, 4, 0, 2, 11, 9, 8, 14, 9],
"ct": [7, 4, 11, 1, 14, 0, 14, 2, 11, 14, 13, 3, 0, 0, 2, 5, 2, 5, 14, 10, 15, 10, 9, 0],
"result": "valid"
},
{
"tcId": 3440,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "460d4d90962e32eae6",
"msg": [14, 4, 15, 6, 11, 10, 6, 11, 2, 8, 7, 14, 0, 11, 14, 9, 3, 4, 11, 13, 14, 7, 0, 6],
"ct": [10, 9, 3, 9, 2, 10, 0, 8, 5, 12, 12, 2, 8, 15, 6, 7, 11, 10, 10, 15, 12, 5, 12, 5],
"result": "valid"
},
{
"tcId": 3441,
"comment": "y = 0 and (y + a) % radix**12 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "460d4d90962e32eae6",
"msg": [6, 4, 3, 3, 3, 7, 6, 13, 0, 11, 9, 5, 0, 0, 7, 11, 13, 13, 8, 12, 5, 4, 5, 15],
"ct": [0, 2, 7, 3, 6, 9, 6, 5, 4, 10, 5, 3, 12, 9, 9, 4, 11, 10, 11, 6, 2, 9, 14, 7],
"result": "valid"
},
{
"tcId": 3442,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "6a1d812159fdb48108",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 15, 15, 10, 6, 12, 0, 13, 13, 12, 9, 1],
"ct": [9, 6, 15, 14, 12, 13, 6, 11, 2, 7, 6, 2, 14, 11, 8, 5, 4, 1, 6, 6, 13, 3, 3, 6],
"result": "valid"
},
{
"tcId": 3443,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "6a1d812159fdb48108",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 15, 15, 10, 6, 12, 0, 13, 13, 12, 9, 1],
"ct": [6, 3, 4, 5, 2, 9, 11, 13, 0, 8, 9, 11, 1, 15, 11, 4, 0, 11, 3, 3, 3, 3, 1, 4],
"result": "valid"
},
{
"tcId": 3444,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "6a1d812159fdb48108",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 15, 15, 10, 6, 12, 0, 13, 13, 12, 9, 1],
"ct": [9, 6, 10, 6, 11, 13, 10, 1, 5, 5, 9, 1, 14, 7, 9, 3, 6, 7, 11, 2, 0, 15, 8, 13],
"result": "valid"
},
{
"tcId": 3445,
"comment": "y = 1 and (y + a) % radix**12 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "6a1d812159fdb48108",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 2, 15, 15, 10, 6, 12, 0, 13, 13, 12, 9, 1],
"ct": [3, 5, 3, 11, 4, 9, 11, 10, 13, 13, 2, 3, 4, 12, 3, 12, 11, 7, 1, 2, 8, 3, 13, 4],
"result": "valid"
},
{
"tcId": 3446,
"comment": "y = 1 and (y + a) % radix**12 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "6a1d812159fdb48108",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 2, 15, 15, 10, 6, 12, 0, 13, 13, 12, 9, 1],
"ct": [13, 8, 6, 5, 12, 0, 0, 12, 1, 10, 11, 14, 3, 6, 14, 6, 2, 7, 13, 4, 4, 5, 5, 9],
"result": "valid"
},
{
"tcId": 3447,
"comment": "y is maximal and (y + a) % radix**12 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "6ce7f65e2e2f87c44e",
"msg": [14, 5, 0, 10, 6, 13, 0, 5, 14, 1, 13, 11, 11, 15, 11, 4, 6, 14, 5, 5, 9, 4, 14, 15],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 12, 7, 0, 3, 5, 6, 9, 13, 7, 2, 3, 15],
"result": "valid"
},
{
"tcId": 3448,
"comment": "y is maximal and (y + a) % radix**12 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "6ce7f65e2e2f87c44e",
"msg": [12, 8, 14, 12, 3, 1, 3, 2, 14, 15, 13, 10, 4, 14, 13, 10, 14, 6, 14, 3, 14, 13, 7, 8],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 6, 10, 5, 10, 2, 15, 7, 7, 12, 1, 3],
"result": "valid"
},
{
"tcId": 3449,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "6ce7f65e2e2f87c44e",
"msg": [2, 1, 8, 15, 11, 15, 5, 10, 0, 4, 6, 7, 3, 1, 4, 6, 7, 13, 6, 5, 2, 3, 6, 12],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 11, 2, 7, 9, 1, 13, 10, 11, 9, 8, 14],
"result": "valid"
},
{
"tcId": 3450,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "6ce7f65e2e2f87c44e",
"msg": [5, 0, 6, 14, 0, 5, 6, 8, 7, 12, 6, 4, 7, 2, 10, 7, 15, 4, 14, 10, 6, 13, 10, 6],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 8, 7, 10, 2, 9, 4, 13, 4, 13, 3, 8, 13],
"result": "valid"
},
{
"tcId": 3451,
"comment": "y is edge case for modular reduction and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "daf89efbf29bd87809",
"msg": [7, 10, 14, 1, 3, 7, 0, 10, 5, 0, 2, 8, 1, 9, 13, 7, 3, 11, 12, 3, 15, 15, 9, 5],
"ct": [9, 10, 1, 8, 9, 4, 6, 15, 11, 8, 2, 4, 2, 3, 11, 8, 5, 13, 14, 4, 13, 11, 4, 14],
"result": "valid"
},
{
"tcId": 3452,
"comment": "y is edge case for modular reduction and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "daf89efbf29bd87809",
"msg": [15, 6, 1, 13, 9, 10, 13, 13, 15, 10, 11, 12, 11, 10, 2, 5, 10, 1, 13, 7, 9, 15, 14, 15],
"ct": [15, 7, 14, 13, 15, 7, 5, 6, 10, 8, 12, 1, 5, 7, 2, 8, 4, 12, 9, 14, 15, 10, 11, 10],
"result": "valid"
},
{
"tcId": 3453,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "daf89efbf29bd87809",
"msg": [12, 3, 6, 5, 8, 15, 7, 8, 10, 15, 11, 4, 15, 14, 5, 0, 3, 6, 8, 8, 12, 11, 8, 6],
"ct": [14, 14, 4, 0, 3, 11, 13, 15, 3, 14, 10, 1, 8, 3, 10, 4, 6, 13, 4, 12, 6, 12, 3, 9],
"result": "valid"
},
{
"tcId": 3454,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "daf89efbf29bd87809",
"msg": [1, 15, 5, 11, 14, 4, 15, 4, 8, 6, 12, 14, 13, 4, 15, 6, 7, 2, 11, 6, 0, 9, 8, 2],
"ct": [2, 2, 11, 1, 13, 8, 14, 1, 12, 12, 7, 7, 5, 11, 9, 11, 15, 8, 15, 6, 0, 15, 10, 1],
"result": "valid"
},
{
"tcId": 3455,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "daf89efbf29bd87809",
"msg": [5, 11, 1, 1, 1, 0, 13, 2, 14, 9, 0, 10, 1, 1, 1, 9, 15, 6, 13, 10, 15, 8, 7, 12],
"ct": [0, 2, 2, 15, 12, 8, 7, 0, 1, 12, 11, 7, 15, 2, 0, 4, 2, 1, 1, 5, 10, 7, 6, 6],
"result": "valid"
},
{
"tcId": 3456,
"comment": "y is edge case for modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "daf89efbf29bd87809",
"msg": [5, 4, 1, 10, 7, 4, 3, 4, 11, 10, 9, 3, 14, 8, 3, 10, 4, 12, 13, 2, 3, 3, 11, 0],
"ct": [11, 5, 6, 2, 1, 0, 9, 9, 13, 9, 11, 10, 13, 4, 4, 2, 6, 0, 0, 2, 10, 3, 5, 2],
"result": "valid"
},
{
"tcId": 3457,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "6ae5f96fab3f3b43cf",
"msg": [12, 2, 9, 8, 12, 13, 1, 14, 11, 11, 15, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 7, 11, 4, 5, 2, 8, 15, 4, 6, 11, 13, 11, 4, 13, 4, 0, 14, 13, 15, 1, 11, 5, 14],
"result": "valid"
},
{
"tcId": 3458,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "6ae5f96fab3f3b43cf",
"msg": [3, 13, 1, 15, 10, 12, 10, 9, 4, 10, 7, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [14, 13, 15, 1, 6, 14, 14, 8, 4, 4, 1, 4, 0, 6, 9, 0, 1, 3, 15, 3, 3, 7, 2, 10],
"result": "valid"
},
{
"tcId": 3459,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "6ae5f96fab3f3b43cf",
"msg": [6, 11, 0, 9, 8, 15, 8, 12, 12, 5, 13, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 1, 5, 1, 12, 15, 6, 12, 4, 1, 10, 4, 15, 3, 0, 13, 13, 10, 11, 3, 14, 13, 4, 14],
"result": "valid"
},
{
"tcId": 3460,
"comment": "y is maximal after modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "6ae5f96fab3f3b43cf",
"msg": [11, 14, 12, 6, 4, 1, 14, 10, 3, 12, 11, 4, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [12, 2, 5, 0, 7, 11, 4, 14, 15, 2, 2, 2, 12, 1, 9, 3, 7, 6, 13, 7, 13, 14, 11, 1],
"result": "valid"
},
{
"tcId": 3461,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f9c16b469c7b8f158194d619cc5aab9b6cc05020040e50f0e15d20bda3e70b74",
"tweak": "b1fb20f69cda04bb",
"msg": [-1, 10, 7, 8, 14, 15, 0, 15, 9, 15, 6, 1, 6, 8, 10, 13, 11, 4, 11, 7, 10, 3, 14, 7],
"ct": [1, 12, 10, 12, 12, 9, 7, 4, 2, 1, 15, 15, 6, 7, 9, 10, 7, 3, 12, 7, 15, 6, 2, 5],
"result": "invalid"
},
{
"tcId": 3462,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f9c16b469c7b8f158194d619cc5aab9b6cc05020040e50f0e15d20bda3e70b74",
"tweak": "b1fb20f69cda04bb",
"msg": [11, 10, 7, 8, 14, 15, 0, 15, -1, 15, 6, 1, 6, 8, 10, 13, 11, 4, 11, 7, 10, 3, 14, 7],
"ct": [1, 10, 10, 3, 2, 13, 3, 11, 5, 6, 10, 5, 1, 15, 0, 0, 12, 12, 9, 1, 3, 3, 10, 0],
"result": "invalid"
},
{
"tcId": 3463,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f9c16b469c7b8f158194d619cc5aab9b6cc05020040e50f0e15d20bda3e70b74",
"tweak": "b1fb20f69cda04bb",
"msg": [11, 10, 7, 8, 14, 15, 0, 15, 9, 15, 6, 1, 6, 8, 10, 13, 11, 4, 11, 7, 10, 3, 14, -1],
"ct": [1, 15, 3, 5, 5, 7, 0, 0, 12, 10, 12, 4, 3, 2, 13, 6, 3, 11, 14, 14, 10, 3, 15, 5],
"result": "invalid"
},
{
"tcId": 3464,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0b98b84df63e51fed90b5073cccabf4ab2b4ed0362e92634a8eaf2677d3a23fb",
"tweak": "4c7e369d819673d7",
"msg": [16, 15, 7, 5, 3, 0, 7, 11, 0, 2, 12, 8, 0, 7, 10, 6, 6, 14, 5, 14, 6, 0, 13, 2],
"ct": [5, 5, 9, 3, 4, 9, 4, 1, 4, 14, 5, 14, 5, 5, 15, 2, 6, 11, 11, 12, 0, 3, 8, 4],
"result": "invalid"
},
{
"tcId": 3465,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0b98b84df63e51fed90b5073cccabf4ab2b4ed0362e92634a8eaf2677d3a23fb",
"tweak": "4c7e369d819673d7",
"msg": [9, 15, 7, 5, 3, 0, 7, 11, 16, 2, 12, 8, 0, 7, 10, 6, 6, 14, 5, 14, 6, 0, 13, 2],
"ct": [9, 2, 2, 2, 2, 2, 0, 9, 8, 13, 11, 5, 8, 15, 6, 10, 1, 12, 9, 8, 12, 1, 12, 6],
"result": "invalid"
},
{
"tcId": 3466,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0b98b84df63e51fed90b5073cccabf4ab2b4ed0362e92634a8eaf2677d3a23fb",
"tweak": "4c7e369d819673d7",
"msg": [9, 15, 7, 5, 3, 0, 7, 11, 0, 2, 12, 8, 0, 7, 10, 6, 6, 14, 5, 14, 6, 0, 13, 16],
"ct": [12, 6, 12, 9, 5, 7, 7, 3, 5, 12, 11, 9, 2, 13, 9, 2, 1, 5, 7, 0, 14, 2, 14, 7],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 25,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3467,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "e0325d51f62ed182ca91eb839e255cae9917f657cb90ac5c9f891c4ecbfb44ba",
"tweak": "6a15097e7edd42a0",
"msg": [5, 7, 6, 0, 0, 6, 7, 10, 8, 11, 8, 10, 13, 4, 8, 4, 7, 9, 1, 14, 5, 5, 15, 6, 6],
"ct": [14, 12, 7, 5, 6, 2, 8, 7, 14, 10, 9, 14, 10, 2, 7, 7, 6, 0, 5, 4, 6, 0, 7, 13, 1],
"result": "valid"
},
{
"tcId": 3468,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 15, 4, 2, 13, 9, 7, 12, 7, 14, 12, 5, 15, 8, 11, 14, 9, 12, 9, 8, 14, 7, 4, 5, 14],
"result": "valid"
},
{
"tcId": 3469,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [8, 8, 4, 5, 9, 11, 10, 1, 13, 9, 6, 14, 14, 8, 15, 11, 0, 8, 14, 2, 6, 2, 13, 6, 5],
"result": "valid"
},
{
"tcId": 3470,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [6, 14, 5, 4, 8, 13, 10, 10, 3, 3, 3, 3, 3, 2, 1, 8, 4, 7, 9, 15, 6, 4, 2, 11, 7],
"result": "valid"
},
{
"tcId": 3471,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [11, 8, 0, 14, 4, 5, 10, 10, 13, 4, 12, 10, 12, 14, 1, 3, 14, 5, 0, 12, 8, 14, 7, 7, 1],
"result": "valid"
},
{
"tcId": 3472,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [3, 3, 3, 7, 5, 1, 8, 3, 0, 7, 4, 3, 6, 1, 12, 6, 2, 7, 10, 2, 3, 1, 0, 11, 7],
"ct": [3, 13, 4, 7, 12, 13, 1, 9, 7, 10, 6, 2, 12, 9, 6, 2, 0, 12, 6, 4, 13, 4, 13, 7, 13],
"result": "valid"
},
{
"tcId": 3473,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [0, 3, 7, 5, 1, 4, 11, 12, 0, 14, 9, 7, 5, 10, 1, 10, 8, 10, 2, 10, 8, 13, 12, 4, 14],
"ct": [4, 7, 9, 12, 5, 14, 14, 11, 13, 2, 6, 8, 11, 4, 9, 3, 4, 12, 12, 14, 4, 9, 7, 9, 12],
"result": "valid"
},
{
"tcId": 3474,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [13, 7, 7, 15, 6, 9, 15, 1, 5, 7, 9, 11, 6, 10, 9, 7, 0, 3, 9, 4, 5, 13, 10, 4, 4],
"ct": [12, 6, 12, 14, 1, 5, 11, 7, 3, 1, 7, 11, 13, 9, 4, 7, 1, 3, 4, 8, 10, 13, 3, 15, 0],
"result": "valid"
},
{
"tcId": 3475,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [9, 14, 8, 5, 14, 1, 10, 5, 15, 10, 3, 7, 10, 9, 14, 7, 7, 1, 11, 15, 4, 15, 13, 15, 0],
"ct": [14, 3, 13, 15, 8, 5, 6, 7, 4, 1, 1, 9, 15, 3, 8, 6, 11, 8, 15, 2, 14, 15, 2, 2, 5],
"result": "valid"
},
{
"tcId": 3476,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [1, 5, 4, 8, 13, 14, 1, 1, 14, 4, 2, 0, 9, 6, 1, 7, 5, 12, 15, 9, 3, 1, 7, 6, 15],
"ct": [1, 8, 0, 8, 10, 8, 2, 4, 6, 0, 11, 11, 7, 13, 15, 1, 14, 1, 6, 4, 4, 6, 6, 1, 13],
"result": "valid"
},
{
"tcId": 3477,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [10, 7, 11, 2, 4, 6, 14, 0, 1, 2, 6, 10, 6, 12, 12, 3, 11, 3, 6, 13, 1, 1, 15, 10, 12],
"ct": [1, 2, 1, 15, 11, 1, 10, 15, 15, 12, 1, 15, 13, 9, 3, 11, 7, 5, 0, 8, 1, 10, 6, 15, 1],
"result": "valid"
},
{
"tcId": 3478,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [7, 10, 0, 7, 7, 2, 12, 0, 13, 12, 15, 14, 12, 1, 2, 6, 13, 7, 1, 10, 14, 1, 10, 2, 12],
"ct": [8, 9, 14, 5, 7, 8, 9, 7, 9, 5, 14, 11, 10, 8, 6, 11, 6, 0, 1, 6, 5, 6, 5, 3, 0],
"result": "valid"
},
{
"tcId": 3479,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [2, 3, 2, 0, 9, 7, 9, 14, 0, 4, 15, 9, 3, 11, 4, 4, 14, 12, 9, 12, 15, 11, 14, 7, 0],
"ct": [0, 11, 3, 12, 8, 12, 3, 13, 0, 5, 0, 9, 0, 12, 6, 3, 7, 14, 11, 7, 6, 3, 3, 4, 5],
"result": "valid"
},
{
"tcId": 3480,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [4, 14, 1, 1, 5, 12, 11, 12, 8, 4, 14, 13, 2, 15, 3, 6, 15, 3, 0, 9, 1, 10, 2, 13, 15],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3481,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [11, 7, 8, 6, 9, 6, 15, 8, 14, 5, 8, 12, 13, 14, 9, 1, 0, 12, 1, 1, 9, 7, 12, 0, 5],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3482,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [2, 3, 8, 13, 13, 2, 6, 12, 13, 10, 5, 15, 8, 4, 2, 6, 9, 12, 8, 9, 14, 7, 6, 8, 12],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3483,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [6, 11, 15, 1, 5, 8, 10, 9, 13, 0, 8, 15, 1, 15, 1, 8, 14, 11, 3, 14, 12, 3, 6, 12, 5],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3484,
"comment": "y = 0 and (y + a) % radix**12 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "eecca309294b48fd",
"msg": [13, 2, 9, 2, 3, 3, 13, 7, 4, 10, 2, 3, 8, 11, 3, 14, 3, 15, 12, 10, 6, 12, 10, 10, 8],
"ct": [12, 0, 12, 15, 0, 9, 7, 3, 1, 12, 0, 5, 1, 15, 12, 10, 1, 7, 1, 0, 9, 10, 11, 11, 2],
"result": "valid"
},
{
"tcId": 3485,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "eecca309294b48fd",
"msg": [14, 2, 8, 8, 13, 2, 7, 4, 2, 1, 15, 2, 8, 1, 3, 14, 15, 3, 2, 11, 4, 4, 5, 5, 10],
"ct": [9, 3, 15, 3, 9, 11, 7, 0, 15, 1, 7, 15, 13, 15, 7, 1, 1, 13, 0, 6, 0, 1, 6, 1, 5],
"result": "valid"
},
{
"tcId": 3486,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "eecca309294b48fd",
"msg": [2, 2, 8, 0, 2, 7, 4, 8, 3, 3, 12, 7, 0, 10, 4, 1, 15, 5, 5, 15, 5, 10, 13, 0, 2],
"ct": [6, 12, 7, 14, 12, 13, 2, 15, 1, 0, 11, 0, 9, 15, 4, 1, 12, 9, 8, 13, 8, 15, 12, 2, 0],
"result": "valid"
},
{
"tcId": 3487,
"comment": "y = 0 and (y + a) % radix**12 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "eecca309294b48fd",
"msg": [3, 7, 7, 9, 7, 12, 3, 11, 10, 15, 2, 9, 1, 14, 1, 7, 0, 10, 2, 1, 6, 3, 11, 9, 14],
"ct": [13, 14, 7, 15, 0, 11, 1, 5, 3, 14, 14, 15, 8, 4, 10, 14, 12, 10, 8, 7, 7, 14, 1, 12, 13],
"result": "valid"
},
{
"tcId": 3488,
"comment": "y is maximal and (y + a) % radix**12 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "f3af8873b6775b1e",
"msg": [10, 5, 7, 11, 14, 0, 14, 0, 12, 12, 8, 12, 5, 10, 5, 12, 15, 11, 12, 12, 7, 2, 11, 8, 4],
"ct": [9, 10, 3, 10, 2, 5, 2, 3, 2, 6, 8, 10, 7, 1, 10, 15, 7, 1, 12, 12, 11, 1, 2, 15, 8],
"result": "valid"
},
{
"tcId": 3489,
"comment": "y is maximal and (y + a) % radix**12 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "f3af8873b6775b1e",
"msg": [15, 13, 13, 12, 15, 12, 12, 0, 0, 6, 10, 9, 12, 14, 6, 8, 15, 12, 14, 4, 0, 10, 6, 0, 8],
"ct": [13, 1, 11, 13, 4, 12, 8, 1, 4, 1, 14, 15, 5, 14, 3, 10, 0, 13, 15, 4, 3, 11, 8, 1, 4],
"result": "valid"
},
{
"tcId": 3490,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "f3af8873b6775b1e",
"msg": [9, 11, 12, 7, 2, 9, 8, 12, 15, 7, 11, 10, 4, 4, 2, 15, 9, 14, 11, 10, 8, 3, 13, 0, 9],
"ct": [13, 0, 1, 4, 6, 9, 7, 0, 7, 10, 5, 11, 4, 6, 5, 10, 13, 6, 15, 7, 13, 12, 11, 10, 3],
"result": "valid"
},
{
"tcId": 3491,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "f3af8873b6775b1e",
"msg": [6, 5, 5, 7, 7, 15, 9, 3, 2, 6, 0, 7, 8, 8, 15, 9, 7, 1, 7, 3, 1, 15, 10, 1, 14],
"ct": [3, 14, 7, 10, 0, 15, 4, 10, 3, 15, 7, 10, 7, 10, 4, 11, 8, 9, 0, 14, 3, 5, 15, 7, 11],
"result": "valid"
},
{
"tcId": 3492,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "bea436c0a5745f04",
"msg": [4, 9, 3, 1, 13, 15, 0, 8, 5, 7, 13, 8, 15, 3, 11, 1, 9, 1, 6, 13, 0, 0, 8, 7, 15],
"ct": [8, 13, 7, 1, 10, 15, 1, 4, 13, 1, 8, 14, 6, 11, 15, 10, 5, 3, 5, 4, 6, 2, 8, 4, 12],
"result": "valid"
},
{
"tcId": 3493,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "bea436c0a5745f04",
"msg": [14, 2, 10, 14, 10, 14, 4, 8, 1, 3, 13, 8, 13, 12, 2, 5, 5, 12, 15, 5, 10, 1, 4, 1, 10],
"ct": [9, 7, 0, 14, 15, 13, 3, 7, 4, 1, 14, 12, 4, 12, 9, 10, 13, 2, 3, 2, 9, 9, 5, 13, 13],
"result": "valid"
},
{
"tcId": 3494,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "bea436c0a5745f04",
"msg": [1, 12, 7, 2, 6, 12, 12, 5, 8, 12, 0, 13, 9, 12, 7, 6, 4, 8, 11, 1, 2, 0, 8, 5, 3],
"ct": [2, 5, 8, 1, 1, 9, 6, 6, 9, 5, 12, 7, 9, 3, 13, 15, 13, 6, 7, 5, 6, 0, 11, 3, 8],
"result": "valid"
},
{
"tcId": 3495,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "bea436c0a5745f04",
"msg": [10, 8, 10, 14, 14, 4, 3, 0, 13, 9, 12, 10, 12, 2, 12, 6, 13, 14, 10, 10, 3, 3, 5, 1, 2],
"ct": [13, 3, 0, 8, 3, 4, 2, 3, 9, 6, 0, 4, 12, 2, 2, 5, 9, 12, 2, 2, 11, 3, 15, 11, 2],
"result": "valid"
},
{
"tcId": 3496,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "bea436c0a5745f04",
"msg": [3, 0, 8, 0, 6, 3, 13, 2, 11, 11, 4, 14, 6, 7, 10, 15, 5, 3, 8, 14, 8, 4, 11, 3, 9],
"ct": [15, 9, 0, 9, 4, 12, 8, 7, 1, 8, 5, 0, 0, 2, 11, 11, 0, 3, 13, 8, 7, 13, 11, 15, 15],
"result": "valid"
},
{
"tcId": 3497,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "bea436c0a5745f04",
"msg": [11, 13, 8, 9, 1, 1, 2, 0, 2, 7, 6, 10, 0, 9, 7, 2, 14, 7, 0, 7, 12, 14, 1, 11, 2],
"ct": [14, 0, 12, 6, 3, 10, 2, 13, 14, 8, 2, 7, 6, 14, 10, 8, 10, 6, 8, 9, 3, 4, 15, 6, 5],
"result": "valid"
},
{
"tcId": 3498,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1ff630b00e63e5aac0dcd64e41af744c7c686b300a98117cc40e432d87de5a76",
"tweak": "1403a297b3d5581a",
"msg": [-1, 14, 2, 2, 3, 0, 13, 2, 6, 3, 10, 3, 7, 15, 4, 15, 12, 2, 11, 15, 4, 11, 6, 8, 13],
"ct": [8, 8, 6, 6, 11, 9, 2, 13, 11, 11, 7, 13, 0, 8, 11, 12, 14, 10, 1, 12, 5, 0, 15, 2, 4],
"result": "invalid"
},
{
"tcId": 3499,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1ff630b00e63e5aac0dcd64e41af744c7c686b300a98117cc40e432d87de5a76",
"tweak": "1403a297b3d5581a",
"msg": [6, 14, 2, 2, 3, 0, 13, 2, -1, 3, 10, 3, 7, 15, 4, 15, 12, 2, 11, 15, 4, 11, 6, 8, 13],
"ct": [2, 5, 10, 4, 13, 10, 4, 1, 2, 2, 3, 8, 9, 5, 10, 11, 4, 8, 12, 3, 2, 8, 15, 11, 15],
"result": "invalid"
},
{
"tcId": 3500,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1ff630b00e63e5aac0dcd64e41af744c7c686b300a98117cc40e432d87de5a76",
"tweak": "1403a297b3d5581a",
"msg": [6, 14, 2, 2, 3, 0, 13, 2, 6, 3, 10, 3, 7, 15, 4, 15, 12, 2, 11, 15, 4, 11, 6, 8, -1],
"ct": [0, 8, 2, 2, 4, 9, 2, 15, 6, 8, 13, 15, 15, 8, 3, 15, 13, 9, 15, 4, 0, 6, 8, 0, 14],
"result": "invalid"
},
{
"tcId": 3501,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "14830d33208d06b9091b8efe4895245b12d039b1a3835127c57ea9a5882f73b4",
"tweak": "f9b8c3f53566f3c1",
"msg": [16, 15, 2, 8, 12, 9, 6, 13, 12, 4, 12, 4, 2, 6, 1, 0, 2, 9, 11, 12, 14, 14, 12, 1, 1],
"ct": [7, 3, 14, 11, 8, 8, 1, 12, 6, 14, 3, 5, 9, 7, 13, 7, 11, 9, 14, 0, 15, 2, 4, 6, 2],
"result": "invalid"
},
{
"tcId": 3502,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "14830d33208d06b9091b8efe4895245b12d039b1a3835127c57ea9a5882f73b4",
"tweak": "f9b8c3f53566f3c1",
"msg": [7, 15, 2, 8, 12, 9, 6, 13, 16, 4, 12, 4, 2, 6, 1, 0, 2, 9, 11, 12, 14, 14, 12, 1, 1],
"ct": [2, 14, 7, 13, 13, 3, 1, 8, 2, 14, 0, 1, 7, 0, 12, 10, 2, 8, 8, 4, 1, 12, 4, 12, 5],
"result": "invalid"
},
{
"tcId": 3503,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "14830d33208d06b9091b8efe4895245b12d039b1a3835127c57ea9a5882f73b4",
"tweak": "f9b8c3f53566f3c1",
"msg": [7, 15, 2, 8, 12, 9, 6, 13, 12, 4, 12, 4, 2, 6, 1, 0, 2, 9, 11, 12, 14, 14, 12, 1, 16],
"ct": [12, 6, 4, 10, 12, 0, 9, 4, 10, 15, 3, 7, 3, 8, 5, 5, 13, 5, 4, 14, 7, 4, 11, 8, 11],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 26,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3504,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "219dd3d491cb992c6c8c4d4292b5ee76784b4b383fc415b654f09d600248858b",
"tweak": "6434003b257c6b31",
"msg": [3, 8, 9, 8, 14, 8, 11, 9, 4, 15, 15, 5, 8, 3, 0, 0, 8, 2, 14, 14, 1, 1, 0, 15, 4, 12],
"ct": [7, 7, 9, 4, 15, 4, 11, 0, 2, 11, 15, 15, 14, 5, 4, 9, 2, 15, 3, 12, 9, 14, 10, 0, 0, 2],
"result": "valid"
},
{
"tcId": 3505,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [7, 10, 9, 5, 12, 4, 11, 5, 1, 1, 9, 11, 6, 14, 14, 11, 15, 0, 13, 15, 11, 5, 13, 8, 0, 7],
"result": "valid"
},
{
"tcId": 3506,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [2, 9, 8, 9, 9, 14, 14, 15, 15, 3, 7, 2, 9, 2, 14, 15, 6, 9, 13, 9, 4, 0, 7, 13, 7, 2],
"result": "valid"
},
{
"tcId": 3507,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 1, 4, 2, 12, 14, 4, 14, 13, 15, 6, 5, 5, 1, 13, 2, 14, 0, 15, 6, 1, 13, 10, 15, 4, 12],
"result": "valid"
},
{
"tcId": 3508,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [3, 7, 15, 0, 7, 7, 9, 2, 12, 7, 5, 9, 3, 4, 7, 7, 6, 11, 6, 0, 4, 3, 13, 5, 1, 13],
"result": "valid"
},
{
"tcId": 3509,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [6, 11, 11, 2, 8, 2, 13, 10, 12, 14, 14, 3, 14, 11, 3, 6, 2, 11, 8, 2, 13, 14, 4, 10, 12, 1],
"ct": [10, 12, 8, 11, 4, 1, 13, 15, 2, 14, 13, 9, 13, 15, 9, 4, 10, 0, 5, 9, 10, 5, 10, 15, 8, 8],
"result": "valid"
},
{
"tcId": 3510,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [9, 4, 1, 9, 5, 12, 13, 0, 14, 13, 15, 6, 0, 7, 6, 8, 1, 12, 15, 0, 12, 6, 14, 11, 15, 3],
"ct": [11, 11, 15, 10, 14, 5, 9, 10, 14, 1, 6, 10, 13, 6, 15, 8, 12, 1, 9, 7, 3, 12, 9, 14, 5, 10],
"result": "valid"
},
{
"tcId": 3511,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [14, 7, 8, 9, 12, 13, 12, 7, 11, 3, 9, 2, 14, 6, 15, 11, 2, 8, 4, 9, 2, 10, 11, 5, 13, 4],
"ct": [4, 6, 12, 1, 14, 3, 4, 1, 9, 5, 14, 1, 4, 15, 5, 7, 3, 8, 5, 12, 8, 1, 0, 15, 13, 14],
"result": "valid"
},
{
"tcId": 3512,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [15, 2, 7, 1, 0, 4, 10, 6, 10, 10, 9, 7, 15, 7, 3, 7, 2, 11, 8, 0, 14, 3, 9, 7, 11, 4],
"ct": [3, 5, 14, 13, 2, 14, 0, 4, 6, 13, 11, 15, 6, 11, 3, 1, 1, 14, 10, 13, 6, 13, 12, 11, 10, 4],
"result": "valid"
},
{
"tcId": 3513,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [12, 15, 12, 2, 2, 7, 6, 5, 1, 12, 14, 2, 10, 8, 5, 9, 8, 8, 7, 8, 10, 8, 0, 5, 12, 5],
"ct": [12, 4, 10, 15, 0, 4, 13, 1, 7, 3, 12, 15, 9, 11, 11, 1, 11, 15, 4, 3, 13, 8, 6, 13, 2, 2],
"result": "valid"
},
{
"tcId": 3514,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [2, 5, 3, 3, 13, 10, 13, 11, 7, 14, 5, 14, 13, 4, 0, 0, 14, 7, 12, 8, 5, 2, 2, 8, 7, 7],
"ct": [4, 10, 7, 1, 6, 14, 4, 6, 8, 8, 0, 2, 11, 9, 7, 12, 4, 7, 7, 12, 1, 12, 1, 9, 0, 4],
"result": "valid"
},
{
"tcId": 3515,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [6, 3, 2, 11, 10, 15, 4, 6, 9, 0, 7, 12, 9, 6, 15, 0, 15, 13, 0, 15, 7, 13, 3, 3, 13, 7],
"ct": [7, 10, 10, 4, 2, 13, 6, 2, 6, 6, 11, 0, 4, 9, 1, 0, 4, 13, 12, 15, 8, 11, 5, 14, 6, 6],
"result": "valid"
},
{
"tcId": 3516,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [0, 6, 14, 6, 15, 12, 11, 6, 13, 9, 6, 8, 8, 12, 4, 13, 15, 4, 11, 1, 0, 5, 15, 3, 10, 14],
"ct": [3, 1, 9, 12, 3, 4, 2, 6, 2, 10, 15, 0, 6, 6, 3, 1, 6, 8, 10, 11, 12, 3, 8, 9, 10, 2],
"result": "valid"
},
{
"tcId": 3517,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [1, 4, 0, 2, 11, 11, 9, 7, 5, 15, 13, 14, 1, 14, 10, 10, 7, 4, 15, 8, 6, 5, 6, 6, 14, 15],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3518,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [2, 2, 8, 2, 12, 5, 12, 13, 7, 12, 12, 13, 0, 1, 1, 10, 1, 3, 10, 9, 6, 0, 1, 7, 10, 7],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3519,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [7, 9, 14, 10, 13, 15, 0, 7, 10, 7, 2, 9, 1, 4, 9, 4, 4, 10, 14, 15, 2, 0, 14, 15, 4, 9],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3520,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3",
"tweak": "b7c5aa8e8b8b4247",
"msg": [14, 6, 13, 12, 12, 3, 7, 9, 2, 3, 6, 8, 7, 3, 4, 14, 13, 3, 4, 1, 13, 15, 2, 4, 13, 7],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3521,
"comment": "y = 0 and (y + a) % radix**13 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "cad7e171021fd6f6",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 14, 7, 9, 1, 12, 8, 8, 14, 3, 1],
"ct": [15, 0, 1, 5, 4, 3, 0, 2, 14, 2, 1, 10, 5, 1, 8, 0, 8, 6, 4, 7, 2, 0, 5, 11, 15, 15],
"result": "valid"
},
{
"tcId": 3522,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "cad7e171021fd6f6",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 7, 2, 14, 7, 9, 1, 12, 8, 8, 14, 3, 1],
"ct": [6, 13, 11, 13, 14, 7, 3, 6, 10, 13, 3, 11, 8, 12, 5, 10, 5, 4, 6, 4, 3, 9, 6, 3, 4, 7],
"result": "valid"
},
{
"tcId": 3523,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "cad7e171021fd6f6",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 2, 14, 7, 9, 1, 12, 8, 8, 14, 3, 1],
"ct": [0, 11, 11, 6, 7, 12, 1, 0, 12, 13, 15, 7, 7, 2, 10, 6, 11, 1, 13, 12, 1, 2, 13, 15, 14, 2],
"result": "valid"
},
{
"tcId": 3524,
"comment": "y = 0 and (y + a) % radix**13 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "cad7e171021fd6f6",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 7, 2, 14, 7, 9, 1, 12, 8, 8, 14, 3, 1],
"ct": [6, 8, 5, 10, 9, 10, 4, 6, 12, 7, 9, 0, 12, 15, 10, 14, 8, 6, 10, 11, 7, 14, 11, 10, 12, 0],
"result": "valid"
},
{
"tcId": 3525,
"comment": "y = 1 and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "1ec5e69b87ae879d",
"msg": [14, 6, 14, 9, 7, 7, 10, 6, 8, 3, 0, 6, 14, 14, 1, 14, 3, 12, 1, 5, 13, 6, 4, 0, 12, 15],
"ct": [9, 15, 10, 1, 3, 9, 6, 11, 11, 15, 4, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 3526,
"comment": "y = 1 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "1ec5e69b87ae879d",
"msg": [1, 10, 13, 2, 9, 2, 5, 4, 3, 5, 0, 9, 7, 9, 14, 6, 11, 13, 1, 6, 8, 8, 1, 8, 9, 9],
"ct": [9, 15, 10, 1, 3, 9, 6, 11, 11, 15, 4, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2],
"result": "valid"
},
{
"tcId": 3527,
"comment": "y = 1 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "1ec5e69b87ae879d",
"msg": [7, 7, 9, 3, 10, 12, 2, 14, 2, 13, 13, 1, 3, 5, 8, 7, 0, 14, 14, 5, 3, 13, 6, 13, 0, 12],
"ct": [9, 15, 10, 1, 3, 9, 6, 11, 11, 15, 4, 13, 13, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 3528,
"comment": "y = 1 and (y + a) % radix**13 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "1ec5e69b87ae879d",
"msg": [10, 11, 14, 7, 8, 5, 8, 13, 5, 7, 9, 11, 11, 15, 8, 15, 3, 15, 12, 12, 1, 4, 6, 12, 1, 1],
"ct": [9, 15, 10, 1, 3, 9, 6, 11, 11, 15, 4, 13, 13, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3529,
"comment": "y = 1 and (y + a) % radix**13 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "1ec5e69b87ae879d",
"msg": [13, 11, 13, 0, 6, 3, 4, 7, 11, 10, 12, 8, 9, 10, 13, 14, 6, 10, 3, 2, 14, 1, 10, 7, 6, 4],
"ct": [9, 15, 10, 1, 3, 9, 6, 11, 11, 15, 4, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3530,
"comment": "y is maximal and (y + a) % radix**13 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "002adb6ff366db1b",
"msg": [6, 1, 3, 0, 10, 11, 5, 15, 9, 7, 7, 7, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 4, 7, 5, 3, 7, 10, 7, 9, 1, 1, 3, 6, 7, 10, 11, 1, 14, 12, 3, 9, 14, 5, 15, 7, 14],
"result": "valid"
},
{
"tcId": 3531,
"comment": "y is maximal and (y + a) % radix**13 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "002adb6ff366db1b",
"msg": [10, 4, 10, 11, 9, 3, 9, 4, 15, 0, 7, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [15, 5, 3, 4, 8, 4, 15, 10, 9, 5, 6, 9, 11, 14, 8, 2, 10, 14, 14, 4, 0, 11, 10, 14, 3, 11],
"result": "valid"
},
{
"tcId": 3532,
"comment": "y is maximal and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "002adb6ff366db1b",
"msg": [8, 3, 2, 6, 15, 6, 8, 12, 12, 14, 15, 10, 11, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [6, 15, 9, 15, 10, 7, 13, 7, 14, 10, 11, 5, 6, 1, 1, 15, 12, 0, 14, 15, 4, 13, 0, 3, 11, 14],
"result": "valid"
},
{
"tcId": 3533,
"comment": "y is maximal and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "002adb6ff366db1b",
"msg": [2, 7, 9, 9, 5, 8, 13, 9, 8, 0, 13, 6, 5, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [6, 9, 11, 1, 11, 7, 5, 1, 14, 1, 4, 10, 7, 14, 15, 15, 4, 13, 15, 1, 8, 2, 9, 0, 4, 12],
"result": "valid"
},
{
"tcId": 3534,
"comment": "y is edge case for modular reduction and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "204425a0585771c9",
"msg": [2, 7, 3, 15, 1, 5, 8, 0, 5, 6, 10, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 6, 10, 14, 13, 15, 13, 5, 0, 2, 7, 1, 1, 10, 7, 8, 3, 5, 11, 4, 8, 10, 6, 12, 0, 9],
"result": "valid"
},
{
"tcId": 3535,
"comment": "y is edge case for modular reduction and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "204425a0585771c9",
"msg": [15, 4, 1, 9, 1, 0, 12, 10, 13, 12, 1, 15, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [7, 0, 11, 8, 5, 1, 9, 8, 5, 10, 8, 2, 0, 0, 5, 14, 10, 8, 3, 15, 1, 6, 5, 15, 9, 5],
"result": "valid"
},
{
"tcId": 3536,
"comment": "y is edge case for modular reduction and (y + a) % radix**13 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "204425a0585771c9",
"msg": [5, 5, 9, 8, 6, 7, 4, 7, 4, 15, 4, 9, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15],
"ct": [7, 0, 5, 14, 3, 2, 15, 5, 12, 11, 14, 13, 13, 5, 1, 6, 13, 15, 3, 8, 0, 13, 3, 14, 12, 12],
"result": "valid"
},
{
"tcId": 3537,
"comment": "y is edge case for modular reduction and (y + a) % radix**13 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "204425a0585771c9",
"msg": [6, 0, 0, 4, 8, 1, 10, 9, 5, 13, 6, 4, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0],
"ct": [7, 3, 0, 6, 10, 12, 0, 5, 13, 5, 13, 4, 1, 1, 11, 14, 14, 14, 10, 13, 11, 5, 3, 2, 1, 11],
"result": "valid"
},
{
"tcId": 3538,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "204425a0585771c9",
"msg": [9, 5, 6, 13, 8, 14, 9, 7, 3, 4, 12, 10, 6, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [5, 2, 6, 10, 4, 2, 15, 2, 8, 1, 5, 11, 12, 11, 10, 9, 12, 10, 3, 0, 8, 8, 9, 15, 2, 7],
"result": "valid"
},
{
"tcId": 3539,
"comment": "y is edge case for modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "204425a0585771c9",
"msg": [11, 7, 3, 5, 15, 8, 1, 13, 1, 8, 13, 4, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [11, 11, 14, 15, 4, 13, 10, 14, 15, 9, 8, 11, 1, 1, 0, 13, 3, 14, 1, 13, 5, 0, 4, 10, 15, 14],
"result": "valid"
},
{
"tcId": 3540,
"comment": "y is maximal after modular reduction and (y + a) % radix**13 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "0715ae544df05ef2",
"msg": [14, 5, 8, 5, 6, 7, 15, 9, 7, 0, 11, 9, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 4, 14, 10, 14, 9, 3, 1, 5, 6, 2, 15, 9, 9, 5, 0, 2, 1, 5, 11, 10, 6, 0, 15, 1, 0],
"result": "valid"
},
{
"tcId": 3541,
"comment": "y is maximal after modular reduction and (y + a) % radix**13 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "0715ae544df05ef2",
"msg": [7, 9, 2, 11, 5, 4, 2, 5, 13, 8, 13, 10, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [7, 6, 7, 15, 6, 14, 11, 6, 0, 1, 14, 15, 9, 15, 6, 11, 5, 2, 0, 15, 0, 3, 2, 1, 7, 10],
"result": "valid"
},
{
"tcId": 3542,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "0715ae544df05ef2",
"msg": [9, 14, 7, 15, 8, 5, 2, 0, 9, 1, 11, 13, 2, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [0, 6, 8, 4, 3, 10, 14, 14, 8, 10, 1, 0, 15, 11, 5, 2, 10, 7, 9, 7, 14, 11, 1, 13, 12, 13],
"result": "valid"
},
{
"tcId": 3543,
"comment": "y is maximal after modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4",
"tweak": "0715ae544df05ef2",
"msg": [13, 7, 7, 7, 6, 7, 6, 0, 9, 11, 14, 6, 12, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [7, 0, 13, 2, 15, 13, 2, 7, 4, 9, 0, 9, 13, 11, 2, 10, 6, 6, 8, 4, 0, 13, 8, 13, 9, 12],
"result": "valid"
},
{
"tcId": 3544,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4e20c7773ccc3092b9dbcefc47028815793d233307d50aed60a94076ad6e4d08",
"tweak": "3813c38b3aa52d66",
"msg": [-1, 4, 7, 4, 11, 14, 10, 2, 5, 15, 7, 14, 6, 14, 13, 10, 4, 13, 8, 14, 15, 1, 0, 8, 11, 5],
"ct": [9, 7, 7, 9, 14, 13, 2, 13, 6, 7, 4, 1, 0, 8, 10, 2, 14, 0, 0, 7, 9, 3, 14, 2, 9, 15],
"result": "invalid"
},
{
"tcId": 3545,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4e20c7773ccc3092b9dbcefc47028815793d233307d50aed60a94076ad6e4d08",
"tweak": "3813c38b3aa52d66",
"msg": [0, 4, 7, 4, 11, 14, 10, 2, -1, 15, 7, 14, 6, 14, 13, 10, 4, 13, 8, 14, 15, 1, 0, 8, 11, 5],
"ct": [7, 14, 7, 14, 6, 0, 14, 5, 0, 12, 14, 1, 6, 13, 9, 15, 4, 2, 5, 3, 7, 5, 15, 6, 12, 5],
"result": "invalid"
},
{
"tcId": 3546,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4e20c7773ccc3092b9dbcefc47028815793d233307d50aed60a94076ad6e4d08",
"tweak": "3813c38b3aa52d66",
"msg": [0, 4, 7, 4, 11, 14, 10, 2, 5, 15, 7, 14, 6, 14, 13, 10, 4, 13, 8, 14, 15, 1, 0, 8, 11, -1],
"ct": [13, 10, 15, 13, 6, 9, 2, 5, 15, 11, 14, 2, 15, 3, 3, 9, 10, 8, 11, 12, 15, 11, 13, 11, 6, 6],
"result": "invalid"
},
{
"tcId": 3547,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9dc015b2685a4ecca061f02252021bf2ce34210cb562b38669847764583f1fd6",
"tweak": "ad5ed25a33c12da4",
"msg": [16, 12, 2, 0, 8, 7, 12, 14, 4, 3, 7, 1, 5, 11, 1, 4, 12, 14, 15, 10, 12, 2, 3, 8, 11, 3],
"ct": [7, 3, 5, 14, 6, 11, 9, 10, 10, 11, 12, 10, 8, 9, 2, 11, 8, 12, 8, 9, 7, 12, 6, 1, 11, 5],
"result": "invalid"
},
{
"tcId": 3548,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9dc015b2685a4ecca061f02252021bf2ce34210cb562b38669847764583f1fd6",
"tweak": "ad5ed25a33c12da4",
"msg": [4, 12, 2, 0, 8, 7, 12, 14, 16, 3, 7, 1, 5, 11, 1, 4, 12, 14, 15, 10, 12, 2, 3, 8, 11, 3],
"ct": [2, 13, 1, 8, 9, 0, 13, 9, 12, 5, 0, 0, 14, 14, 6, 10, 11, 3, 5, 11, 9, 13, 0, 0, 1, 8],
"result": "invalid"
},
{
"tcId": 3549,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9dc015b2685a4ecca061f02252021bf2ce34210cb562b38669847764583f1fd6",
"tweak": "ad5ed25a33c12da4",
"msg": [4, 12, 2, 0, 8, 7, 12, 14, 4, 3, 7, 1, 5, 11, 1, 4, 12, 14, 15, 10, 12, 2, 3, 8, 11, 16],
"ct": [12, 0, 13, 6, 4, 12, 5, 9, 9, 10, 7, 7, 6, 3, 6, 13, 12, 12, 7, 9, 9, 7, 0, 9, 5, 2],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 27,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3550,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "89dcb7b56207898e6bbf9275e00e68d7f08eee8ef17be1a0359b5f15a4c7f476",
"tweak": "2146a4ee0ca89f28",
"msg": [2, 1, 3, 8, 0, 0, 9, 10, 14, 8, 1, 4, 9, 1, 2, 15, 3, 9, 4, 3, 9, 15, 9, 9, 5, 14, 3],
"ct": [1, 8, 0, 1, 8, 8, 5, 13, 3, 7, 12, 3, 0, 10, 13, 0, 2, 15, 5, 7, 11, 0, 6, 4, 8, 4, 3],
"result": "valid"
},
{
"tcId": 3551,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 1, 9, 15, 2, 15, 7, 9, 5, 1, 5, 13, 2, 1, 7, 2, 15, 14, 3, 11, 12, 10, 10, 6, 12, 9, 15],
"result": "valid"
},
{
"tcId": 3552,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [8, 2, 2, 3, 2, 14, 0, 14, 8, 1, 2, 9, 10, 1, 13, 1, 11, 9, 0, 9, 0, 5, 10, 11, 5, 13, 2],
"result": "valid"
},
{
"tcId": 3553,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 14, 14, 9, 7, 8, 8, 8, 7, 6, 8, 15, 0, 0, 2, 13, 7, 0, 8, 7, 7, 2, 6, 2, 14, 9, 8],
"result": "valid"
},
{
"tcId": 3554,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [11, 13, 4, 5, 14, 9, 13, 12, 2, 5, 10, 10, 9, 1, 9, 5, 11, 12, 6, 15, 0, 8, 4, 7, 6, 15, 13],
"result": "valid"
},
{
"tcId": 3555,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [1, 14, 5, 6, 9, 12, 4, 0, 9, 13, 4, 3, 13, 13, 6, 12, 15, 8, 15, 13, 9, 0, 11, 10, 8, 15, 3],
"ct": [6, 13, 1, 7, 15, 6, 3, 15, 9, 3, 15, 0, 9, 14, 15, 5, 6, 3, 9, 1, 12, 6, 2, 0, 4, 5, 7],
"result": "valid"
},
{
"tcId": 3556,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [12, 6, 7, 4, 10, 7, 10, 0, 2, 8, 14, 3, 6, 11, 11, 14, 7, 6, 13, 11, 11, 14, 6, 10, 5, 7, 5],
"ct": [2, 0, 1, 6, 3, 3, 5, 15, 13, 8, 1, 11, 6, 4, 12, 14, 11, 13, 12, 0, 10, 3, 14, 6, 1, 4, 4],
"result": "valid"
},
{
"tcId": 3557,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [8, 14, 8, 10, 7, 2, 14, 7, 1, 8, 13, 3, 9, 12, 6, 4, 15, 14, 14, 4, 3, 10, 10, 6, 13, 12, 11],
"ct": [5, 11, 7, 4, 6, 1, 4, 9, 7, 10, 0, 4, 11, 7, 7, 4, 6, 13, 14, 15, 12, 8, 14, 13, 12, 13, 1],
"result": "valid"
},
{
"tcId": 3558,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [7, 5, 1, 9, 8, 3, 4, 14, 2, 2, 0, 4, 13, 15, 14, 0, 15, 14, 2, 9, 3, 6, 6, 3, 2, 13, 3],
"ct": [6, 11, 6, 6, 3, 0, 5, 3, 1, 0, 0, 4, 1, 13, 6, 13, 10, 4, 12, 9, 8, 5, 10, 10, 4, 15, 4],
"result": "valid"
},
{
"tcId": 3559,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [12, 14, 11, 10, 15, 13, 6, 5, 5, 13, 4, 5, 9, 8, 0, 3, 15, 12, 0, 4, 5, 3, 9, 11, 10, 11, 8],
"ct": [1, 5, 14, 15, 6, 8, 6, 8, 1, 11, 15, 12, 7, 2, 13, 7, 0, 14, 6, 0, 2, 7, 10, 1, 10, 5, 13],
"result": "valid"
},
{
"tcId": 3560,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [9, 9, 10, 8, 8, 3, 0, 4, 11, 1, 14, 14, 2, 12, 15, 13, 7, 9, 2, 9, 12, 4, 9, 12, 0, 0, 14],
"ct": [3, 7, 7, 2, 3, 13, 5, 10, 11, 5, 5, 15, 12, 12, 6, 14, 11, 2, 1, 14, 7, 1, 12, 3, 14, 7, 8],
"result": "valid"
},
{
"tcId": 3561,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [1, 0, 3, 15, 7, 4, 8, 0, 2, 3, 14, 6, 12, 5, 8, 6, 2, 2, 6, 14, 6, 2, 2, 8, 7, 9, 2],
"ct": [10, 4, 15, 9, 6, 7, 10, 5, 15, 9, 13, 3, 9, 11, 10, 14, 6, 9, 11, 0, 14, 2, 0, 5, 1, 8, 2],
"result": "valid"
},
{
"tcId": 3562,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [6, 9, 1, 5, 14, 2, 9, 7, 9, 9, 5, 1, 0, 9, 15, 2, 15, 15, 1, 3, 0, 5, 1, 1, 6, 6, 1],
"ct": [0, 14, 14, 6, 6, 3, 9, 9, 11, 8, 15, 6, 0, 4, 5, 15, 10, 11, 9, 4, 13, 9, 9, 4, 13, 7, 11],
"result": "valid"
},
{
"tcId": 3563,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [3, 4, 3, 7, 12, 14, 3, 5, 12, 14, 6, 12, 1, 10, 0, 10, 13, 13, 5, 5, 12, 0, 5, 4, 10, 3, 0],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3564,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [4, 4, 14, 15, 5, 9, 15, 11, 14, 4, 8, 2, 11, 0, 11, 12, 12, 9, 5, 14, 11, 1, 1, 4, 14, 4, 12],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3565,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [11, 11, 15, 5, 9, 0, 12, 4, 13, 9, 0, 5, 9, 11, 1, 8, 0, 0, 4, 2, 9, 15, 1, 12, 9, 4, 12],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3566,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f",
"tweak": "76302e315ce5c23a",
"msg": [15, 9, 8, 10, 0, 13, 11, 7, 8, 14, 7, 4, 7, 7, 11, 1, 13, 11, 5, 1, 14, 2, 5, 5, 0, 3, 13],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3567,
"comment": "y = 0 and (y + a) % radix**13 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "dbd525a1492837da",
"msg": [7, 8, 2, 11, 13, 12, 2, 4, 11, 8, 4, 4, 9, 5, 11, 13, 6, 1, 0, 9, 9, 3, 3, 4, 7, 10, 14],
"ct": [6, 6, 12, 0, 2, 8, 2, 3, 15, 3, 6, 0, 3, 6, 4, 1, 3, 1, 5, 5, 7, 3, 14, 11, 10, 14, 6],
"result": "valid"
},
{
"tcId": 3568,
"comment": "y = 0 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "dbd525a1492837da",
"msg": [15, 6, 0, 5, 5, 9, 12, 13, 6, 6, 11, 13, 12, 15, 2, 11, 13, 15, 0, 7, 4, 12, 0, 8, 12, 2, 7],
"ct": [15, 12, 4, 0, 15, 13, 9, 11, 5, 7, 0, 9, 6, 14, 3, 3, 2, 10, 9, 7, 9, 0, 12, 13, 5, 6, 11],
"result": "valid"
},
{
"tcId": 3569,
"comment": "y = 0 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "dbd525a1492837da",
"msg": [7, 2, 6, 10, 5, 14, 1, 11, 14, 11, 13, 6, 2, 6, 14, 7, 2, 11, 0, 11, 10, 9, 7, 10, 2, 15, 15],
"ct": [9, 9, 6, 11, 9, 7, 14, 3, 2, 15, 15, 4, 12, 6, 7, 14, 10, 11, 2, 5, 6, 10, 5, 14, 7, 2, 5],
"result": "valid"
},
{
"tcId": 3570,
"comment": "y = 0 and (y + a) % radix**13 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "dbd525a1492837da",
"msg": [4, 7, 1, 5, 11, 15, 15, 3, 9, 9, 8, 6, 10, 1, 2, 8, 13, 12, 1, 14, 11, 6, 9, 2, 10, 9, 1],
"ct": [15, 6, 14, 0, 6, 15, 13, 15, 11, 0, 0, 11, 4, 14, 5, 0, 7, 14, 1, 12, 3, 13, 9, 8, 10, 15, 1],
"result": "valid"
},
{
"tcId": 3571,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "1c5b25438ab968a3",
"msg": [4, 1, 0, 3, 0, 15, 3, 13, 10, 12, 5, 7, 0, 12, 12, 14, 14, 1, 7, 13, 5, 3, 5, 6, 11, 14, 10],
"ct": [15, 15, 1, 11, 11, 4, 5, 0, 15, 1, 11, 2, 13, 3, 1, 9, 8, 13, 6, 12, 10, 12, 13, 12, 6, 12, 14],
"result": "valid"
},
{
"tcId": 3572,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "1c5b25438ab968a3",
"msg": [14, 4, 3, 2, 13, 2, 11, 10, 7, 7, 8, 4, 10, 7, 10, 14, 9, 13, 3, 4, 13, 2, 3, 6, 15, 14, 0],
"ct": [8, 3, 0, 12, 4, 6, 5, 8, 8, 5, 12, 15, 13, 11, 2, 15, 12, 0, 15, 15, 14, 13, 13, 5, 10, 11, 6],
"result": "valid"
},
{
"tcId": 3573,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "1c5b25438ab968a3",
"msg": [2, 9, 15, 11, 11, 10, 3, 9, 0, 10, 5, 2, 4, 10, 15, 9, 10, 11, 9, 8, 10, 5, 5, 4, 11, 10, 7],
"ct": [6, 8, 2, 15, 11, 1, 9, 15, 11, 9, 6, 11, 14, 10, 10, 14, 14, 6, 6, 14, 7, 10, 3, 11, 14, 7, 15],
"result": "valid"
},
{
"tcId": 3574,
"comment": "y = 1 and (y + a) % radix**13 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "1c5b25438ab968a3",
"msg": [4, 2, 15, 8, 3, 13, 9, 13, 8, 11, 4, 0, 9, 6, 12, 3, 9, 9, 9, 9, 2, 7, 11, 10, 4, 9, 8],
"ct": [11, 9, 15, 5, 4, 14, 3, 14, 2, 10, 9, 4, 11, 7, 0, 4, 1, 11, 12, 10, 11, 11, 10, 2, 12, 11, 14],
"result": "valid"
},
{
"tcId": 3575,
"comment": "y = 1 and (y + a) % radix**13 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "1c5b25438ab968a3",
"msg": [3, 13, 12, 2, 8, 9, 10, 13, 8, 2, 7, 6, 9, 12, 11, 1, 8, 7, 0, 7, 14, 3, 10, 4, 2, 10, 4],
"ct": [1, 3, 8, 15, 11, 2, 10, 0, 11, 8, 3, 3, 13, 5, 5, 7, 10, 3, 6, 13, 1, 8, 15, 14, 10, 2, 12],
"result": "valid"
},
{
"tcId": 3576,
"comment": "y is maximal and (y + a) % radix**13 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "760b1f53e1c49fd3",
"msg": [12, 14, 3, 7, 0, 0, 1, 10, 3, 10, 10, 4, 1, 3, 1, 7, 13, 10, 6, 7, 14, 12, 4, 3, 2, 2, 12],
"ct": [14, 4, 9, 1, 13, 9, 9, 10, 0, 10, 15, 14, 10, 10, 10, 12, 9, 10, 1, 14, 3, 2, 4, 15, 10, 9, 14],
"result": "valid"
},
{
"tcId": 3577,
"comment": "y is maximal and (y + a) % radix**13 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "760b1f53e1c49fd3",
"msg": [1, 4, 6, 1, 14, 8, 2, 0, 15, 6, 3, 5, 15, 8, 8, 0, 10, 8, 2, 8, 13, 9, 2, 14, 3, 14, 5],
"ct": [3, 15, 6, 4, 0, 7, 8, 8, 8, 10, 7, 2, 3, 10, 3, 9, 2, 1, 14, 5, 13, 15, 3, 8, 3, 15, 5],
"result": "valid"
},
{
"tcId": 3578,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "760b1f53e1c49fd3",
"msg": [0, 11, 12, 15, 1, 8, 1, 15, 11, 11, 14, 0, 1, 6, 4, 12, 3, 12, 2, 0, 0, 5, 3, 14, 15, 12, 9],
"ct": [6, 1, 8, 8, 5, 11, 5, 2, 11, 0, 9, 7, 1, 13, 15, 15, 3, 0, 0, 1, 6, 3, 7, 4, 1, 14, 6],
"result": "valid"
},
{
"tcId": 3579,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "760b1f53e1c49fd3",
"msg": [12, 6, 5, 15, 4, 1, 6, 1, 15, 1, 6, 2, 3, 5, 10, 2, 5, 7, 10, 13, 5, 14, 9, 7, 1, 0, 12],
"ct": [9, 7, 1, 0, 14, 7, 11, 0, 7, 8, 4, 6, 1, 5, 7, 11, 3, 10, 6, 8, 6, 14, 12, 14, 15, 15, 10],
"result": "valid"
},
{
"tcId": 3580,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "d2edb70448a63af7",
"msg": [6, 0, 13, 2, 8, 9, 5, 4, 0, 12, 12, 7, 2, 8, 12, 14, 3, 2, 14, 4, 13, 8, 12, 4, 10, 9, 8],
"ct": [7, 4, 7, 12, 1, 14, 3, 15, 7, 11, 3, 12, 7, 8, 4, 6, 3, 0, 10, 15, 9, 2, 2, 11, 13, 8, 12],
"result": "valid"
},
{
"tcId": 3581,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "d2edb70448a63af7",
"msg": [10, 12, 7, 7, 4, 5, 4, 10, 6, 14, 4, 15, 1, 4, 9, 0, 12, 12, 0, 6, 10, 8, 13, 15, 9, 14, 3],
"ct": [7, 2, 9, 4, 14, 8, 13, 15, 7, 0, 15, 3, 1, 10, 9, 11, 3, 5, 4, 9, 14, 13, 10, 1, 5, 1, 12],
"result": "valid"
},
{
"tcId": 3582,
"comment": "y is edge case for modular reduction and (y + a) % radix**13 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "d2edb70448a63af7",
"msg": [6, 14, 0, 12, 9, 3, 8, 6, 0, 15, 7, 3, 2, 1, 6, 13, 9, 2, 0, 4, 5, 13, 0, 7, 9, 1, 12],
"ct": [4, 14, 10, 0, 9, 2, 5, 6, 14, 6, 10, 15, 15, 15, 13, 13, 11, 10, 15, 8, 7, 12, 1, 10, 9, 7, 1],
"result": "valid"
},
{
"tcId": 3583,
"comment": "y is edge case for modular reduction and (y + a) % radix**13 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "d2edb70448a63af7",
"msg": [2, 0, 2, 4, 0, 8, 8, 10, 6, 11, 8, 14, 8, 6, 2, 3, 6, 1, 3, 2, 0, 1, 1, 10, 10, 8, 5],
"ct": [0, 7, 9, 2, 2, 6, 11, 10, 11, 15, 13, 4, 1, 3, 10, 8, 3, 8, 1, 8, 2, 9, 6, 11, 7, 11, 2],
"result": "valid"
},
{
"tcId": 3584,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "d2edb70448a63af7",
"msg": [3, 7, 5, 7, 1, 3, 4, 0, 1, 13, 2, 2, 0, 7, 13, 1, 1, 4, 3, 11, 15, 4, 10, 15, 1, 10, 8],
"ct": [14, 7, 3, 3, 13, 11, 9, 6, 15, 10, 0, 2, 9, 14, 5, 15, 6, 10, 5, 1, 14, 10, 5, 15, 6, 7, 9],
"result": "valid"
},
{
"tcId": 3585,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "d2edb70448a63af7",
"msg": [11, 8, 4, 9, 1, 11, 12, 10, 3, 6, 15, 2, 14, 7, 0, 13, 14, 13, 2, 1, 11, 4, 11, 2, 11, 15, 7],
"ct": [5, 9, 10, 5, 12, 0, 11, 9, 0, 14, 3, 13, 7, 0, 15, 1, 9, 6, 12, 3, 15, 10, 15, 15, 12, 15, 15],
"result": "valid"
},
{
"tcId": 3586,
"comment": "y is maximal after modular reduction and (y + a) % radix**13 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "760b0208b7cbd774",
"msg": [3, 9, 3, 10, 6, 8, 7, 3, 11, 0, 15, 8, 1, 14, 6, 13, 4, 8, 9, 11, 14, 9, 3, 15, 10, 12, 13],
"ct": [5, 7, 5, 7, 10, 0, 0, 11, 15, 7, 1, 11, 1, 4, 3, 14, 5, 11, 9, 14, 11, 4, 7, 0, 15, 1, 11],
"result": "valid"
},
{
"tcId": 3587,
"comment": "y is maximal after modular reduction and (y + a) % radix**13 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "760b0208b7cbd774",
"msg": [5, 8, 15, 5, 14, 7, 3, 4, 15, 2, 3, 8, 14, 13, 1, 9, 0, 9, 7, 9, 7, 12, 0, 1, 6, 12, 6],
"ct": [5, 9, 15, 10, 15, 5, 15, 11, 11, 0, 10, 1, 4, 15, 1, 12, 10, 6, 14, 12, 1, 14, 2, 0, 10, 9, 12],
"result": "valid"
},
{
"tcId": 3588,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "760b0208b7cbd774",
"msg": [14, 3, 3, 10, 11, 4, 5, 15, 8, 12, 12, 13, 6, 7, 12, 15, 8, 1, 6, 6, 14, 3, 11, 9, 4, 11, 9],
"ct": [0, 12, 4, 15, 12, 3, 0, 7, 5, 11, 7, 7, 11, 14, 7, 7, 8, 15, 10, 0, 0, 7, 7, 15, 9, 8, 10],
"result": "valid"
},
{
"tcId": 3589,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee",
"tweak": "760b0208b7cbd774",
"msg": [8, 3, 0, 8, 1, 7, 1, 8, 7, 9, 13, 2, 3, 12, 11, 8, 4, 11, 3, 3, 10, 7, 1, 5, 5, 8, 15],
"ct": [2, 1, 10, 12, 12, 4, 12, 8, 12, 8, 6, 3, 6, 15, 12, 6, 14, 14, 7, 6, 12, 8, 9, 8, 15, 3, 2],
"result": "valid"
},
{
"tcId": 3590,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9b946298b977b4050b37673200e2ad402de9e9dba331bf6eae1408dac9c9e7bd",
"tweak": "dc322e70fc62bb84",
"msg": [-1, 11, 12, 10, 10, 6, 11, 5, 5, 9, 11, 7, 15, 10, 7, 15, 12, 6, 2, 15, 10, 5, 12, 4, 15, 12, 0],
"ct": [3, 15, 1, 11, 6, 15, 10, 12, 4, 9, 3, 3, 4, 6, 5, 12, 8, 10, 13, 1, 14, 14, 3, 14, 5, 5, 12],
"result": "invalid"
},
{
"tcId": 3591,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9b946298b977b4050b37673200e2ad402de9e9dba331bf6eae1408dac9c9e7bd",
"tweak": "dc322e70fc62bb84",
"msg": [11, 11, 12, 10, 10, 6, 11, 5, 5, -1, 11, 7, 15, 10, 7, 15, 12, 6, 2, 15, 10, 5, 12, 4, 15, 12, 0],
"ct": [4, 15, 2, 4, 4, 6, 0, 12, 1, 15, 2, 7, 12, 6, 2, 7, 12, 0, 8, 9, 12, 7, 6, 9, 1, 13, 8],
"result": "invalid"
},
{
"tcId": 3592,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9b946298b977b4050b37673200e2ad402de9e9dba331bf6eae1408dac9c9e7bd",
"tweak": "dc322e70fc62bb84",
"msg": [11, 11, 12, 10, 10, 6, 11, 5, 5, 9, 11, 7, 15, 10, 7, 15, 12, 6, 2, 15, 10, 5, 12, 4, 15, 12, -1],
"ct": [2, 13, 0, 9, 3, 12, 6, 11, 14, 2, 10, 6, 14, 10, 10, 8, 9, 12, 13, 15, 11, 9, 14, 11, 5, 8, 2],
"result": "invalid"
},
{
"tcId": 3593,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f6e163de0838d04e54c657e8a0026bf9a5f987878d8c91d6ba1924c09c783027",
"tweak": "ec40d760862e84ab",
"msg": [16, 8, 6, 7, 9, 2, 15, 12, 8, 12, 12, 7, 13, 1, 4, 8, 15, 9, 6, 1, 15, 6, 9, 14, 2, 7, 2],
"ct": [1, 2, 9, 11, 6, 12, 3, 1, 0, 3, 4, 0, 5, 6, 5, 1, 11, 13, 3, 2, 12, 1, 3, 10, 2, 3, 1],
"result": "invalid"
},
{
"tcId": 3594,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f6e163de0838d04e54c657e8a0026bf9a5f987878d8c91d6ba1924c09c783027",
"tweak": "ec40d760862e84ab",
"msg": [10, 8, 6, 7, 9, 2, 15, 12, 8, 16, 12, 7, 13, 1, 4, 8, 15, 9, 6, 1, 15, 6, 9, 14, 2, 7, 2],
"ct": [0, 1, 7, 0, 0, 0, 6, 3, 15, 11, 4, 12, 8, 15, 5, 14, 2, 0, 4, 11, 5, 1, 1, 4, 9, 5, 10],
"result": "invalid"
},
{
"tcId": 3595,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f6e163de0838d04e54c657e8a0026bf9a5f987878d8c91d6ba1924c09c783027",
"tweak": "ec40d760862e84ab",
"msg": [10, 8, 6, 7, 9, 2, 15, 12, 8, 12, 12, 7, 13, 1, 4, 8, 15, 9, 6, 1, 15, 6, 9, 14, 2, 7, 16],
"ct": [7, 6, 4, 2, 8, 8, 5, 15, 15, 11, 0, 1, 1, 8, 13, 15, 5, 10, 10, 9, 2, 10, 15, 13, 9, 8, 2],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 28,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3596,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "56b5a4449c4eab69ba4deb8094c02b97de3992b606485185334642bf8626dcee",
"tweak": "46ab2623206bced3",
"msg": [4, 4, 6, 6, 3, 6, 8, 2, 7, 2, 9, 5, 8, 2, 13, 11, 9, 6, 2, 14, 15, 15, 6, 4, 2, 1, 8, 6],
"ct": [12, 0, 4, 14, 13, 14, 0, 1, 5, 7, 3, 3, 0, 12, 11, 0, 0, 15, 5, 6, 14, 12, 8, 2, 0, 10, 7, 3],
"result": "valid"
},
{
"tcId": 3597,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [14, 3, 4, 10, 15, 5, 4, 14, 12, 10, 4, 13, 8, 5, 4, 12, 7, 2, 11, 11, 1, 12, 9, 15, 14, 15, 7, 5],
"result": "valid"
},
{
"tcId": 3598,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [9, 11, 14, 5, 15, 12, 13, 8, 7, 5, 6, 8, 1, 9, 4, 13, 5, 3, 15, 1, 8, 14, 2, 13, 6, 7, 8, 1],
"result": "valid"
},
{
"tcId": 3599,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [11, 3, 10, 14, 4, 8, 10, 9, 13, 7, 7, 2, 11, 4, 15, 14, 5, 10, 8, 13, 3, 7, 2, 13, 4, 7, 11, 0],
"result": "valid"
},
{
"tcId": 3600,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [1, 6, 0, 10, 4, 3, 11, 7, 9, 9, 7, 7, 8, 10, 0, 4, 13, 12, 7, 0, 15, 5, 7, 3, 11, 11, 12, 14],
"result": "valid"
},
{
"tcId": 3601,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [1, 0, 1, 1, 4, 5, 2, 12, 15, 9, 13, 10, 0, 7, 0, 3, 4, 4, 14, 4, 14, 7, 6, 14, 1, 6, 3, 8],
"ct": [0, 2, 1, 8, 11, 12, 2, 4, 15, 5, 15, 1, 13, 1, 9, 14, 8, 8, 13, 4, 11, 2, 3, 4, 14, 0, 0, 2],
"result": "valid"
},
{
"tcId": 3602,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [5, 6, 8, 11, 0, 7, 1, 6, 11, 5, 8, 6, 10, 5, 8, 12, 1, 13, 14, 13, 15, 7, 1, 11, 6, 7, 12, 15],
"ct": [2, 6, 5, 13, 13, 11, 4, 3, 12, 4, 3, 2, 2, 7, 1, 8, 8, 9, 2, 8, 2, 3, 2, 10, 8, 6, 5, 9],
"result": "valid"
},
{
"tcId": 3603,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [14, 9, 0, 14, 4, 1, 14, 3, 14, 11, 14, 5, 1, 4, 4, 5, 15, 0, 14, 5, 9, 8, 5, 11, 2, 9, 7, 4],
"ct": [3, 12, 2, 0, 5, 7, 4, 11, 12, 10, 1, 13, 15, 15, 5, 7, 8, 1, 2, 12, 7, 7, 6, 8, 5, 7, 12, 11],
"result": "valid"
},
{
"tcId": 3604,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [1, 14, 9, 2, 1, 5, 2, 11, 12, 4, 1, 10, 8, 7, 13, 15, 6, 3, 7, 14, 0, 8, 12, 10, 8, 4, 4, 9],
"ct": [13, 11, 9, 13, 15, 11, 0, 6, 9, 6, 2, 15, 6, 8, 8, 7, 11, 15, 13, 9, 4, 11, 13, 13, 15, 12, 15, 6],
"result": "valid"
},
{
"tcId": 3605,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [9, 15, 2, 12, 1, 6, 10, 13, 3, 11, 6, 13, 0, 5, 10, 13, 11, 8, 0, 2, 7, 1, 3, 9, 3, 15, 15, 15],
"ct": [0, 11, 6, 0, 10, 15, 2, 1, 12, 14, 5, 5, 15, 3, 9, 13, 5, 11, 6, 6, 10, 15, 13, 15, 15, 5, 4, 15],
"result": "valid"
},
{
"tcId": 3606,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [4, 2, 6, 14, 12, 1, 11, 8, 13, 1, 14, 5, 4, 14, 10, 12, 9, 11, 15, 1, 15, 1, 8, 13, 0, 2, 7, 11],
"ct": [3, 13, 11, 1, 5, 15, 10, 2, 8, 4, 0, 8, 11, 2, 0, 10, 13, 4, 4, 4, 13, 10, 4, 0, 1, 14, 11, 13],
"result": "valid"
},
{
"tcId": 3607,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [10, 12, 7, 8, 14, 10, 2, 8, 5, 7, 13, 2, 2, 2, 13, 8, 4, 14, 9, 10, 1, 5, 1, 7, 6, 5, 9, 12],
"ct": [10, 4, 14, 15, 13, 11, 5, 9, 10, 10, 10, 1, 6, 9, 15, 9, 11, 10, 10, 6, 15, 3, 11, 3, 2, 7, 10, 4],
"result": "valid"
},
{
"tcId": 3608,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [4, 9, 13, 8, 15, 11, 1, 0, 10, 5, 3, 6, 1, 14, 9, 11, 13, 11, 13, 11, 13, 15, 11, 10, 7, 11, 15, 9],
"ct": [7, 1, 12, 6, 6, 11, 10, 2, 5, 14, 9, 10, 8, 10, 1, 8, 1, 12, 3, 6, 10, 10, 2, 9, 4, 12, 5, 11],
"result": "valid"
},
{
"tcId": 3609,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [7, 11, 8, 5, 9, 14, 4, 5, 10, 8, 9, 0, 6, 9, 6, 8, 4, 5, 6, 0, 14, 6, 8, 11, 12, 10, 0, 15],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3610,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [12, 7, 10, 7, 6, 12, 12, 8, 8, 0, 12, 14, 5, 5, 1, 0, 11, 2, 12, 7, 14, 7, 13, 5, 6, 10, 13, 0],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3611,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [11, 15, 6, 13, 0, 11, 0, 1, 10, 4, 0, 3, 0, 3, 12, 5, 1, 14, 11, 0, 8, 3, 11, 7, 0, 4, 6, 7],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3612,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d",
"tweak": "e1f2159f67fd7fe3",
"msg": [6, 8, 13, 0, 11, 4, 7, 9, 0, 11, 9, 12, 4, 10, 3, 5, 3, 4, 7, 9, 8, 7, 7, 4, 7, 11, 11, 4],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3613,
"comment": "y = 0 and (y + a) % radix**14 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "7099ea448fe94f8e",
"msg": [14, 0, 4, 1, 9, 9, 9, 11, 4, 3, 7, 2, 12, 11, 12, 6, 5, 0, 8, 8, 4, 13, 6, 14, 1, 6, 3, 4],
"ct": [6, 6, 0, 14, 0, 14, 5, 14, 13, 7, 10, 1, 11, 14, 6, 2, 3, 12, 10, 12, 6, 2, 10, 15, 15, 4, 13, 4],
"result": "valid"
},
{
"tcId": 3614,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "7099ea448fe94f8e",
"msg": [14, 2, 13, 4, 10, 13, 6, 1, 2, 14, 1, 9, 9, 0, 4, 9, 3, 3, 2, 15, 11, 1, 0, 4, 2, 6, 10, 1],
"ct": [0, 11, 15, 0, 5, 6, 7, 8, 4, 13, 15, 14, 11, 3, 6, 5, 7, 4, 2, 13, 8, 0, 5, 10, 10, 14, 11, 12],
"result": "valid"
},
{
"tcId": 3615,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "7099ea448fe94f8e",
"msg": [5, 13, 7, 2, 8, 15, 4, 4, 4, 2, 1, 1, 8, 13, 7, 14, 12, 10, 12, 3, 3, 1, 8, 7, 2, 10, 8, 2],
"ct": [10, 15, 10, 14, 10, 7, 12, 0, 9, 5, 5, 4, 3, 14, 3, 0, 3, 7, 6, 12, 7, 6, 15, 15, 2, 14, 2, 4],
"result": "valid"
},
{
"tcId": 3616,
"comment": "y = 0 and (y + a) % radix**14 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "7099ea448fe94f8e",
"msg": [3, 0, 9, 15, 7, 1, 4, 0, 11, 3, 5, 15, 11, 2, 4, 14, 0, 7, 6, 11, 15, 1, 5, 6, 13, 2, 6, 12],
"ct": [11, 10, 6, 8, 2, 1, 7, 11, 5, 9, 1, 6, 4, 4, 0, 3, 2, 4, 5, 4, 4, 6, 9, 1, 8, 11, 11, 7],
"result": "valid"
},
{
"tcId": 3617,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "e2e9c3177425ec6c",
"msg": [13, 3, 14, 14, 5, 3, 10, 13, 6, 14, 12, 4, 4, 1, 9, 0, 2, 1, 6, 4, 11, 8, 2, 7, 7, 13, 9, 2],
"ct": [6, 13, 6, 7, 15, 14, 15, 10, 13, 14, 5, 3, 10, 12, 8, 12, 6, 2, 6, 9, 11, 4, 8, 10, 12, 12, 6, 4],
"result": "valid"
},
{
"tcId": 3618,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "e2e9c3177425ec6c",
"msg": [8, 3, 14, 11, 14, 9, 6, 14, 13, 12, 15, 6, 14, 15, 3, 7, 6, 2, 3, 2, 2, 8, 5, 7, 0, 12, 7, 2],
"ct": [10, 4, 9, 14, 5, 4, 4, 10, 13, 7, 13, 10, 4, 5, 13, 7, 3, 0, 11, 11, 2, 6, 2, 5, 7, 2, 14, 3],
"result": "valid"
},
{
"tcId": 3619,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "e2e9c3177425ec6c",
"msg": [14, 15, 14, 14, 12, 15, 13, 9, 5, 1, 0, 1, 13, 0, 0, 0, 1, 12, 12, 12, 9, 2, 4, 2, 14, 1, 14, 0],
"ct": [6, 7, 14, 10, 13, 8, 7, 0, 5, 2, 6, 7, 14, 2, 12, 4, 12, 4, 11, 11, 3, 9, 10, 0, 12, 8, 13, 0],
"result": "valid"
},
{
"tcId": 3620,
"comment": "y = 1 and (y + a) % radix**14 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "e2e9c3177425ec6c",
"msg": [12, 8, 12, 11, 5, 1, 14, 0, 5, 3, 6, 12, 15, 8, 0, 12, 2, 5, 5, 3, 7, 13, 8, 5, 2, 12, 12, 13],
"ct": [4, 7, 10, 1, 4, 4, 3, 1, 4, 0, 14, 5, 5, 1, 14, 5, 9, 6, 6, 2, 12, 7, 10, 2, 13, 10, 6, 10],
"result": "valid"
},
{
"tcId": 3621,
"comment": "y = 1 and (y + a) % radix**14 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "e2e9c3177425ec6c",
"msg": [11, 8, 14, 0, 5, 15, 9, 9, 14, 5, 0, 14, 10, 11, 10, 7, 5, 6, 11, 13, 9, 9, 14, 5, 8, 4, 6, 8],
"ct": [13, 2, 12, 10, 2, 1, 12, 8, 4, 9, 2, 13, 7, 8, 5, 14, 15, 4, 7, 2, 15, 7, 8, 11, 3, 13, 0, 15],
"result": "valid"
},
{
"tcId": 3622,
"comment": "y is maximal and (y + a) % radix**14 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "05cbe9a15e6a52bf",
"msg": [8, 0, 5, 5, 15, 13, 2, 2, 9, 3, 7, 7, 7, 8, 15, 4, 14, 0, 0, 6, 15, 4, 14, 8, 2, 15, 13, 9],
"ct": [14, 2, 3, 12, 0, 5, 9, 15, 2, 15, 12, 8, 7, 10, 12, 15, 9, 6, 13, 0, 3, 12, 3, 14, 5, 10, 6, 15],
"result": "valid"
},
{
"tcId": 3623,
"comment": "y is maximal and (y + a) % radix**14 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "05cbe9a15e6a52bf",
"msg": [13, 4, 7, 12, 12, 1, 11, 6, 8, 6, 6, 0, 2, 3, 2, 4, 11, 7, 12, 5, 13, 7, 7, 11, 15, 11, 6, 12],
"ct": [1, 11, 14, 12, 7, 12, 0, 6, 2, 6, 8, 8, 13, 5, 0, 6, 15, 7, 6, 10, 14, 3, 4, 15, 1, 10, 1, 0],
"result": "valid"
},
{
"tcId": 3624,
"comment": "y is maximal and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "05cbe9a15e6a52bf",
"msg": [4, 10, 11, 4, 14, 12, 3, 0, 15, 9, 3, 9, 12, 6, 6, 4, 0, 2, 4, 1, 4, 6, 11, 1, 1, 1, 8, 6],
"ct": [9, 7, 9, 15, 11, 13, 8, 11, 7, 14, 4, 15, 4, 4, 7, 3, 3, 11, 7, 8, 2, 14, 7, 6, 2, 8, 0, 0],
"result": "valid"
},
{
"tcId": 3625,
"comment": "y is maximal and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "05cbe9a15e6a52bf",
"msg": [9, 6, 7, 1, 15, 11, 4, 0, 1, 7, 8, 15, 10, 5, 8, 14, 15, 2, 4, 8, 8, 8, 12, 8, 14, 15, 5, 7],
"ct": [2, 4, 9, 5, 8, 13, 5, 14, 12, 5, 1, 5, 14, 10, 4, 11, 4, 10, 5, 3, 13, 9, 14, 5, 12, 13, 2, 11],
"result": "valid"
},
{
"tcId": 3626,
"comment": "y is edge case for modular reduction and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "6f5020b194640cba",
"msg": [8, 6, 8, 3, 9, 9, 14, 14, 10, 6, 3, 10, 9, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [7, 7, 5, 10, 11, 7, 5, 13, 6, 0, 11, 2, 14, 15, 13, 12, 4, 1, 1, 3, 5, 6, 12, 7, 5, 10, 9, 9],
"result": "valid"
},
{
"tcId": 3627,
"comment": "y is edge case for modular reduction and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "6f5020b194640cba",
"msg": [4, 13, 11, 10, 9, 12, 11, 11, 15, 8, 2, 5, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [15, 8, 10, 1, 0, 5, 15, 14, 7, 0, 10, 8, 6, 7, 4, 14, 7, 3, 9, 14, 6, 7, 4, 15, 10, 13, 3, 5],
"result": "valid"
},
{
"tcId": 3628,
"comment": "y is edge case for modular reduction and (y + a) % radix**14 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "6f5020b194640cba",
"msg": [13, 14, 14, 14, 1, 11, 11, 7, 2, 0, 4, 10, 3, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15],
"ct": [13, 15, 4, 2, 15, 2, 1, 15, 7, 5, 4, 2, 13, 10, 9, 0, 11, 1, 8, 6, 0, 12, 5, 15, 10, 10, 12, 15],
"result": "valid"
},
{
"tcId": 3629,
"comment": "y is edge case for modular reduction and (y + a) % radix**14 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "6f5020b194640cba",
"msg": [3, 15, 4, 0, 5, 3, 0, 12, 14, 4, 9, 13, 5, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0],
"ct": [6, 14, 15, 2, 13, 14, 4, 13, 6, 1, 0, 12, 5, 6, 3, 12, 2, 11, 11, 3, 13, 10, 13, 8, 14, 5, 3, 5],
"result": "valid"
},
{
"tcId": 3630,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "6f5020b194640cba",
"msg": [2, 12, 12, 10, 3, 12, 4, 14, 15, 4, 6, 7, 8, 15, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 10, 1, 0, 5, 9, 0, 6, 0, 9, 8, 4, 13, 14, 15, 12, 9, 13, 6, 2, 5, 10, 5, 7, 6, 0, 10, 6],
"result": "valid"
},
{
"tcId": 3631,
"comment": "y is edge case for modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "6f5020b194640cba",
"msg": [6, 2, 14, 9, 7, 12, 6, 1, 12, 13, 4, 0, 12, 5, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [13, 2, 14, 11, 13, 0, 2, 9, 11, 9, 12, 1, 8, 14, 2, 3, 14, 1, 14, 8, 9, 15, 13, 6, 8, 3, 6, 12],
"result": "valid"
},
{
"tcId": 3632,
"comment": "y is maximal after modular reduction and (y + a) % radix**14 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "5b70db80c937ffd6",
"msg": [4, 8, 0, 11, 3, 13, 12, 15, 15, 8, 14, 3, 5, 8, 9, 2, 15, 1, 6, 8, 6, 7, 2, 2, 4, 10, 12, 7],
"ct": [8, 7, 15, 1, 3, 3, 3, 3, 14, 5, 12, 2, 6, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3633,
"comment": "y is maximal after modular reduction and (y + a) % radix**14 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "5b70db80c937ffd6",
"msg": [11, 10, 10, 5, 15, 14, 7, 4, 5, 11, 1, 10, 15, 15, 5, 4, 4, 4, 5, 12, 2, 9, 12, 10, 6, 12, 9, 1],
"ct": [8, 7, 15, 1, 3, 3, 3, 3, 14, 5, 12, 2, 6, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3634,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "5b70db80c937ffd6",
"msg": [5, 9, 14, 14, 12, 3, 0, 4, 5, 2, 13, 13, 10, 1, 10, 4, 2, 10, 11, 5, 14, 14, 14, 3, 13, 9, 13, 0],
"ct": [8, 7, 15, 1, 3, 3, 3, 3, 14, 5, 12, 2, 6, 14, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3635,
"comment": "y is maximal after modular reduction and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5",
"tweak": "5b70db80c937ffd6",
"msg": [10, 7, 4, 12, 12, 1, 4, 14, 1, 13, 15, 12, 12, 15, 11, 14, 6, 11, 3, 3, 14, 15, 7, 3, 11, 15, 15, 15],
"ct": [8, 7, 15, 1, 3, 3, 3, 3, 14, 5, 12, 2, 6, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14],
"result": "valid"
},
{
"tcId": 3636,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ed3e9975a3a47849fa07b01b86f0e97cd8e1d0d598d42c3dc97c54d1533c5c0c",
"tweak": "b13204960f43ff7e",
"msg": [-1, 4, 0, 0, 3, 9, 10, 9, 2, 13, 7, 2, 5, 15, 2, 15, 5, 11, 10, 2, 8, 4, 3, 1, 10, 0, 3, 6],
"ct": [0, 11, 14, 5, 1, 6, 7, 14, 3, 4, 10, 3, 6, 11, 1, 2, 14, 4, 3, 1, 13, 8, 5, 12, 15, 5, 6, 12],
"result": "invalid"
},
{
"tcId": 3637,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ed3e9975a3a47849fa07b01b86f0e97cd8e1d0d598d42c3dc97c54d1533c5c0c",
"tweak": "b13204960f43ff7e",
"msg": [13, 4, 0, 0, 3, 9, 10, 9, 2, -1, 7, 2, 5, 15, 2, 15, 5, 11, 10, 2, 8, 4, 3, 1, 10, 0, 3, 6],
"ct": [0, 7, 15, 4, 13, 12, 2, 6, 9, 10, 5, 2, 2, 1, 8, 13, 0, 1, 0, 5, 6, 4, 10, 2, 0, 5, 13, 6],
"result": "invalid"
},
{
"tcId": 3638,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ed3e9975a3a47849fa07b01b86f0e97cd8e1d0d598d42c3dc97c54d1533c5c0c",
"tweak": "b13204960f43ff7e",
"msg": [13, 4, 0, 0, 3, 9, 10, 9, 2, 13, 7, 2, 5, 15, 2, 15, 5, 11, 10, 2, 8, 4, 3, 1, 10, 0, 3, -1],
"ct": [4, 12, 11, 3, 2, 8, 7, 6, 4, 0, 3, 15, 3, 9, 8, 6, 13, 11, 3, 12, 2, 11, 14, 15, 0, 12, 3, 0],
"result": "invalid"
},
{
"tcId": 3639,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5af7dbbe3a748ca3eb06beb4729725ecb971da43a83a70f665da0279ab035d98",
"tweak": "004d948ab3a19860",
"msg": [16, 0, 0, 5, 7, 2, 12, 11, 15, 15, 13, 8, 4, 4, 3, 13, 7, 5, 12, 13, 11, 15, 2, 6, 7, 7, 12, 11],
"ct": [11, 10, 3, 8, 11, 11, 10, 12, 10, 3, 2, 6, 7, 14, 3, 2, 0, 5, 4, 0, 6, 0, 4, 7, 12, 10, 1, 13],
"result": "invalid"
},
{
"tcId": 3640,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5af7dbbe3a748ca3eb06beb4729725ecb971da43a83a70f665da0279ab035d98",
"tweak": "004d948ab3a19860",
"msg": [13, 0, 0, 5, 7, 2, 12, 11, 15, 16, 13, 8, 4, 4, 3, 13, 7, 5, 12, 13, 11, 15, 2, 6, 7, 7, 12, 11],
"ct": [7, 2, 13, 12, 15, 1, 14, 1, 15, 2, 15, 2, 15, 9, 8, 15, 7, 3, 15, 8, 6, 15, 10, 12, 8, 5, 5, 6],
"result": "invalid"
},
{
"tcId": 3641,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5af7dbbe3a748ca3eb06beb4729725ecb971da43a83a70f665da0279ab035d98",
"tweak": "004d948ab3a19860",
"msg": [13, 0, 0, 5, 7, 2, 12, 11, 15, 15, 13, 8, 4, 4, 3, 13, 7, 5, 12, 13, 11, 15, 2, 6, 7, 7, 12, 16],
"ct": [0, 7, 0, 3, 12, 12, 5, 8, 9, 13, 9, 1, 15, 11, 0, 3, 3, 14, 3, 13, 3, 8, 12, 0, 8, 14, 7, 15],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 29,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3642,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "289b50c9fef3028eebb6d8121536042e818bcf1ce7829d123daf3704c95a803d",
"tweak": "6fc54bb5ade03038",
"msg": [10, 10, 5, 6, 12, 5, 14, 13, 13, 10, 4, 1, 8, 5, 12, 10, 8, 6, 5, 3, 15, 5, 0, 8, 15, 11, 0, 15, 9],
"ct": [5, 8, 2, 15, 13, 10, 11, 4, 0, 11, 3, 11, 9, 10, 11, 12, 0, 10, 2, 9, 12, 2, 11, 4, 15, 1, 0, 10, 7],
"result": "valid"
},
{
"tcId": 3643,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 9, 4, 7, 3, 1, 10, 15, 1, 7, 9, 5, 2, 4, 10, 3, 9, 14, 15, 1, 15, 13, 7, 13, 1, 10, 3, 9, 13],
"result": "valid"
},
{
"tcId": 3644,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [4, 6, 13, 7, 2, 1, 12, 0, 6, 14, 1, 7, 10, 8, 6, 10, 6, 0, 4, 14, 12, 14, 6, 13, 3, 8, 3, 12, 9],
"result": "valid"
},
{
"tcId": 3645,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [0, 15, 6, 11, 1, 15, 11, 0, 9, 15, 1, 12, 8, 10, 7, 10, 1, 11, 14, 11, 13, 11, 1, 6, 12, 2, 1, 1, 4],
"result": "valid"
},
{
"tcId": 3646,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [7, 8, 2, 13, 6, 4, 15, 14, 6, 1, 5, 11, 15, 15, 1, 1, 4, 7, 10, 10, 8, 11, 12, 11, 4, 11, 14, 7, 13],
"result": "valid"
},
{
"tcId": 3647,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [2, 13, 15, 1, 6, 0, 13, 10, 1, 2, 4, 0, 8, 12, 14, 7, 9, 4, 7, 5, 13, 7, 8, 15, 5, 14, 0, 10, 9],
"ct": [4, 11, 12, 12, 6, 14, 2, 2, 6, 1, 15, 10, 14, 12, 4, 11, 4, 14, 5, 2, 2, 12, 11, 8, 9, 4, 11, 8, 5],
"result": "valid"
},
{
"tcId": 3648,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [4, 2, 12, 11, 9, 6, 9, 13, 12, 2, 3, 3, 12, 1, 12, 15, 1, 14, 8, 15, 13, 8, 11, 11, 9, 0, 8, 15, 9],
"ct": [14, 15, 9, 12, 11, 12, 4, 10, 6, 11, 2, 8, 9, 3, 7, 15, 11, 2, 4, 14, 3, 10, 8, 9, 12, 3, 8, 4, 15],
"result": "valid"
},
{
"tcId": 3649,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [13, 8, 1, 11, 15, 11, 6, 10, 0, 11, 5, 9, 3, 5, 5, 12, 9, 13, 15, 5, 15, 6, 13, 13, 10, 8, 14, 0, 0],
"ct": [8, 3, 12, 9, 0, 2, 14, 13, 13, 5, 11, 1, 3, 2, 4, 3, 0, 6, 11, 0, 4, 6, 10, 0, 1, 15, 5, 14, 2],
"result": "valid"
},
{
"tcId": 3650,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [12, 11, 11, 13, 6, 2, 0, 3, 9, 10, 1, 10, 15, 0, 2, 10, 0, 1, 15, 14, 6, 11, 0, 5, 4, 13, 5, 0, 0],
"ct": [2, 15, 8, 14, 8, 13, 11, 2, 0, 4, 13, 3, 14, 4, 15, 2, 13, 13, 14, 14, 5, 14, 5, 7, 4, 11, 8, 10, 14],
"result": "valid"
},
{
"tcId": 3651,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [11, 1, 9, 8, 8, 1, 6, 3, 13, 14, 1, 13, 13, 11, 1, 12, 2, 15, 13, 4, 12, 12, 11, 8, 11, 9, 11, 9, 15],
"ct": [9, 6, 0, 15, 11, 3, 6, 7, 3, 9, 13, 4, 4, 12, 12, 3, 4, 14, 8, 12, 5, 0, 10, 6, 8, 4, 12, 1, 11],
"result": "valid"
},
{
"tcId": 3652,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [10, 4, 2, 6, 4, 1, 0, 4, 5, 10, 12, 1, 8, 8, 0, 10, 9, 4, 6, 2, 15, 8, 11, 8, 12, 7, 11, 7, 11],
"ct": [7, 4, 10, 0, 12, 7, 12, 13, 15, 6, 4, 3, 11, 9, 4, 15, 14, 11, 8, 9, 4, 4, 12, 14, 14, 0, 10, 9, 0],
"result": "valid"
},
{
"tcId": 3653,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [15, 2, 9, 5, 2, 13, 9, 12, 0, 13, 10, 8, 3, 10, 1, 0, 6, 8, 12, 4, 15, 3, 2, 9, 8, 7, 2, 13, 8],
"ct": [12, 6, 14, 9, 14, 0, 6, 7, 4, 3, 5, 9, 8, 0, 9, 15, 9, 0, 12, 4, 12, 4, 9, 1, 10, 5, 3, 12, 0],
"result": "valid"
},
{
"tcId": 3654,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [11, 7, 10, 5, 15, 13, 2, 1, 3, 2, 14, 0, 13, 3, 4, 1, 2, 3, 14, 15, 0, 0, 1, 13, 9, 15, 12, 10, 6],
"ct": [8, 0, 11, 6, 13, 12, 15, 15, 10, 12, 0, 12, 12, 8, 6, 6, 2, 11, 7, 12, 8, 3, 13, 12, 2, 8, 10, 9, 2],
"result": "valid"
},
{
"tcId": 3655,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [4, 0, 9, 8, 5, 1, 13, 15, 15, 3, 0, 10, 2, 2, 8, 2, 7, 3, 12, 5, 10, 13, 6, 13, 5, 1, 3, 12, 5],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3656,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [14, 2, 4, 5, 1, 2, 3, 10, 9, 6, 3, 13, 0, 11, 10, 8, 12, 6, 9, 6, 12, 0, 6, 10, 2, 12, 5, 2, 9],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3657,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [13, 5, 7, 14, 6, 0, 15, 11, 0, 7, 13, 2, 2, 4, 1, 7, 12, 13, 12, 11, 6, 9, 13, 12, 1, 5, 10, 1, 5],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3658,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87",
"tweak": "58c8f94626a8add3",
"msg": [8, 14, 3, 1, 7, 8, 13, 10, 15, 5, 3, 14, 4, 4, 6, 11, 3, 11, 3, 3, 9, 7, 2, 10, 4, 3, 9, 2, 13],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3659,
"comment": "y = 0 and (y + a) % radix**14 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "76c6b8ab1e61bc",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 12, 7, 10, 6, 0, 10, 14, 2, 0, 5, 4, 6, 13, 10],
"ct": [11, 1, 0, 1, 14, 2, 0, 1, 1, 9, 4, 9, 12, 4, 15, 12, 15, 1, 8, 3, 1, 14, 5, 5, 14, 13, 8, 5, 5],
"result": "valid"
},
{
"tcId": 3660,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "76c6b8ab1e61bc",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4, 12, 7, 10, 6, 0, 10, 14, 2, 0, 5, 4, 6, 13, 10],
"ct": [14, 14, 5, 13, 4, 11, 11, 14, 9, 7, 5, 7, 0, 7, 9, 7, 2, 12, 1, 10, 11, 3, 12, 9, 0, 4, 1, 8, 10],
"result": "valid"
},
{
"tcId": 3661,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "76c6b8ab1e61bc",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 12, 7, 10, 6, 0, 10, 14, 2, 0, 5, 4, 6, 13, 10],
"ct": [11, 7, 7, 4, 2, 12, 12, 7, 5, 7, 1, 11, 6, 10, 8, 6, 0, 3, 1, 8, 2, 7, 3, 3, 7, 6, 4, 8, 3],
"result": "valid"
},
{
"tcId": 3662,
"comment": "y = 0 and (y + a) % radix**14 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "76c6b8ab1e61bc",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 4, 12, 7, 10, 6, 0, 10, 14, 2, 0, 5, 4, 6, 13, 10],
"ct": [10, 2, 15, 15, 11, 14, 7, 2, 13, 15, 0, 15, 6, 4, 8, 5, 2, 2, 4, 12, 8, 9, 14, 7, 0, 8, 8, 11, 8],
"result": "valid"
},
{
"tcId": 3663,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "5c6247432f4591",
"msg": [12, 13, 8, 0, 13, 6, 1, 8, 4, 12, 3, 11, 0, 12, 11, 8, 11, 9, 3, 7, 2, 14, 12, 15, 9, 3, 8, 4, 1],
"ct": [0, 0, 7, 12, 8, 7, 12, 0, 7, 11, 12, 7, 0, 4, 7, 10, 0, 12, 14, 13, 6, 0, 11, 15, 4, 7, 12, 5, 6],
"result": "valid"
},
{
"tcId": 3664,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "5c6247432f4591",
"msg": [14, 4, 8, 14, 8, 11, 1, 15, 0, 15, 5, 7, 11, 1, 12, 0, 2, 2, 1, 14, 13, 10, 13, 12, 6, 1, 0, 13, 15],
"ct": [8, 10, 1, 11, 2, 12, 10, 9, 2, 9, 1, 2, 2, 5, 4, 10, 9, 1, 7, 9, 5, 1, 14, 6, 5, 15, 0, 15, 11],
"result": "valid"
},
{
"tcId": 3665,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "5c6247432f4591",
"msg": [2, 3, 10, 0, 13, 15, 10, 2, 12, 0, 2, 10, 8, 0, 3, 6, 8, 12, 14, 15, 10, 11, 6, 0, 4, 15, 5, 14, 3],
"ct": [13, 1, 8, 5, 12, 13, 8, 3, 10, 3, 5, 3, 6, 11, 2, 14, 6, 1, 3, 0, 0, 9, 4, 12, 10, 3, 14, 11, 0],
"result": "valid"
},
{
"tcId": 3666,
"comment": "y = 1 and (y + a) % radix**14 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "5c6247432f4591",
"msg": [12, 10, 3, 2, 14, 0, 0, 1, 14, 0, 2, 10, 15, 9, 0, 15, 7, 3, 0, 4, 3, 9, 14, 11, 3, 0, 12, 0, 5],
"ct": [1, 4, 9, 7, 13, 12, 14, 6, 2, 10, 1, 0, 3, 0, 15, 0, 14, 8, 8, 5, 9, 12, 3, 4, 4, 13, 6, 8, 9],
"result": "valid"
},
{
"tcId": 3667,
"comment": "y = 1 and (y + a) % radix**14 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "5c6247432f4591",
"msg": [3, 4, 12, 12, 8, 14, 10, 10, 2, 9, 15, 0, 1, 1, 2, 12, 3, 4, 15, 9, 10, 5, 14, 13, 6, 15, 1, 4, 14],
"ct": [13, 4, 2, 12, 8, 5, 15, 10, 9, 5, 7, 5, 6, 1, 0, 4, 0, 6, 12, 5, 10, 0, 5, 6, 0, 11, 2, 4, 9],
"result": "valid"
},
{
"tcId": 3668,
"comment": "y is maximal and (y + a) % radix**14 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "dfee143b23376f",
"msg": [13, 6, 2, 12, 9, 12, 3, 6, 4, 9, 8, 7, 8, 5, 10, 14, 13, 4, 0, 3, 6, 13, 14, 10, 10, 6, 1, 7, 11],
"ct": [6, 15, 12, 5, 9, 0, 15, 10, 6, 4, 8, 4, 10, 5, 13, 0, 15, 15, 3, 6, 1, 3, 0, 13, 1, 9, 8, 4, 9],
"result": "valid"
},
{
"tcId": 3669,
"comment": "y is maximal and (y + a) % radix**14 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "dfee143b23376f",
"msg": [7, 15, 6, 1, 4, 13, 2, 8, 8, 11, 15, 6, 14, 11, 4, 9, 0, 6, 9, 1, 11, 3, 10, 13, 10, 7, 13, 9, 1],
"ct": [2, 5, 2, 9, 10, 14, 13, 4, 15, 5, 15, 8, 13, 10, 2, 11, 3, 11, 15, 14, 9, 2, 0, 6, 5, 15, 15, 10, 1],
"result": "valid"
},
{
"tcId": 3670,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "dfee143b23376f",
"msg": [0, 5, 1, 2, 8, 1, 7, 7, 5, 15, 5, 10, 0, 8, 10, 0, 9, 12, 1, 0, 8, 0, 0, 13, 5, 6, 11, 3, 3],
"ct": [4, 8, 14, 13, 7, 13, 10, 13, 5, 6, 4, 8, 7, 4, 15, 14, 14, 0, 11, 7, 8, 4, 8, 15, 10, 14, 11, 11, 8],
"result": "valid"
},
{
"tcId": 3671,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "dfee143b23376f",
"msg": [6, 7, 9, 14, 8, 14, 10, 6, 7, 15, 3, 4, 7, 12, 5, 0, 3, 8, 0, 15, 7, 8, 2, 11, 2, 11, 14, 15, 9],
"ct": [5, 0, 2, 15, 14, 11, 6, 6, 14, 6, 3, 9, 0, 7, 0, 13, 4, 2, 5, 11, 0, 14, 0, 6, 7, 6, 11, 10, 12],
"result": "valid"
},
{
"tcId": 3672,
"comment": "y is edge case for modular reduction and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "9019c8e35c38a7",
"msg": [10, 9, 15, 10, 3, 2, 4, 7, 10, 11, 14, 1, 14, 14, 14, 14, 6, 6, 12, 6, 13, 8, 4, 4, 7, 6, 15, 1, 10],
"ct": [7, 15, 8, 10, 11, 3, 2, 8, 10, 10, 6, 3, 3, 15, 3, 1, 3, 4, 12, 3, 12, 1, 10, 6, 13, 13, 7, 6, 0],
"result": "valid"
},
{
"tcId": 3673,
"comment": "y is edge case for modular reduction and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "9019c8e35c38a7",
"msg": [3, 15, 1, 10, 11, 9, 11, 12, 3, 1, 2, 14, 6, 6, 9, 13, 4, 9, 4, 9, 5, 12, 12, 9, 3, 5, 7, 6, 6],
"ct": [10, 9, 13, 13, 8, 13, 11, 15, 9, 1, 10, 5, 9, 9, 6, 10, 15, 0, 0, 9, 13, 10, 3, 7, 14, 8, 14, 14, 8],
"result": "valid"
},
{
"tcId": 3674,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "9019c8e35c38a7",
"msg": [9, 0, 5, 10, 13, 11, 8, 5, 9, 8, 14, 5, 11, 0, 7, 9, 14, 10, 0, 14, 13, 9, 7, 4, 14, 6, 5, 1, 1],
"ct": [15, 15, 13, 1, 15, 14, 15, 9, 12, 7, 15, 2, 5, 11, 5, 15, 14, 11, 2, 4, 0, 3, 15, 3, 2, 1, 5, 13, 2],
"result": "valid"
},
{
"tcId": 3675,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "9019c8e35c38a7",
"msg": [3, 2, 5, 15, 9, 1, 9, 1, 2, 11, 10, 6, 15, 13, 15, 8, 6, 7, 0, 14, 1, 0, 5, 0, 10, 10, 2, 2, 9],
"ct": [14, 9, 6, 6, 15, 10, 13, 7, 8, 14, 6, 4, 4, 1, 10, 11, 11, 12, 9, 7, 2, 12, 4, 9, 1, 6, 10, 2, 7],
"result": "valid"
},
{
"tcId": 3676,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "9019c8e35c38a7",
"msg": [3, 13, 8, 5, 14, 8, 3, 8, 15, 3, 1, 11, 9, 3, 13, 6, 3, 7, 2, 3, 3, 12, 3, 1, 6, 4, 8, 9, 7],
"ct": [11, 3, 0, 12, 11, 0, 5, 13, 13, 14, 8, 8, 5, 9, 6, 8, 12, 2, 5, 6, 7, 3, 13, 5, 3, 13, 1, 9, 14],
"result": "valid"
},
{
"tcId": 3677,
"comment": "y is edge case for modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "9019c8e35c38a7",
"msg": [0, 5, 4, 13, 14, 10, 4, 8, 12, 1, 14, 12, 7, 13, 15, 2, 15, 3, 7, 0, 15, 1, 1, 8, 10, 7, 9, 2, 5],
"ct": [3, 10, 7, 14, 2, 3, 11, 7, 2, 0, 9, 6, 1, 6, 15, 11, 10, 10, 15, 6, 6, 8, 5, 12, 11, 9, 9, 10, 9],
"result": "valid"
},
{
"tcId": 3678,
"comment": "y is maximal after modular reduction and (y + a) % radix**14 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "9e247513130e78",
"msg": [11, 0, 0, 4, 6, 4, 15, 14, 0, 6, 11, 15, 9, 3, 13, 2, 2, 10, 9, 15, 10, 1, 5, 1, 0, 6, 2, 6, 9],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 2, 6, 14, 13, 5, 10, 13, 4, 3, 7, 14, 13, 0, 10, 8],
"result": "valid"
},
{
"tcId": 3679,
"comment": "y is maximal after modular reduction and (y + a) % radix**14 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "9e247513130e78",
"msg": [4, 7, 14, 14, 14, 2, 13, 6, 13, 9, 5, 2, 5, 4, 11, 6, 12, 15, 8, 5, 15, 2, 15, 13, 13, 4, 8, 10, 15],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 3, 12, 9, 8, 12, 3, 2, 4, 11, 14, 10, 12],
"result": "valid"
},
{
"tcId": 3680,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "9e247513130e78",
"msg": [12, 6, 12, 1, 7, 13, 5, 10, 13, 1, 10, 10, 0, 9, 6, 13, 15, 11, 0, 14, 15, 1, 13, 7, 6, 0, 8, 8, 8],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 6, 11, 10, 8, 8, 10, 14, 13, 1, 0, 1, 12, 2, 14],
"result": "valid"
},
{
"tcId": 3681,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf",
"tweak": "9e247513130e78",
"msg": [8, 3, 13, 13, 14, 5, 10, 9, 7, 2, 10, 0, 13, 3, 0, 13, 1, 11, 9, 10, 10, 15, 0, 7, 4, 5, 6, 7, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 11, 10, 0, 12, 9, 13, 10, 7, 14, 14, 13, 12, 14, 10, 4],
"result": "valid"
},
{
"tcId": 3682,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "cf89ffe324a05bde06bc7914ae473f821e5c77fc9e0aa23648683c9575f18632",
"tweak": "a002a1a91f317bdd",
"msg": [-1, 13, 8, 12, 2, 9, 3, 10, 5, 0, 12, 8, 10, 13, 8, 3, 1, 7, 2, 4, 13, 0, 11, 5, 13, 12, 1, 1, 7],
"ct": [10, 14, 13, 12, 4, 8, 10, 5, 14, 3, 1, 0, 0, 13, 13, 13, 12, 10, 1, 3, 3, 2, 3, 6, 1, 14, 14, 0, 4],
"result": "invalid"
},
{
"tcId": 3683,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "cf89ffe324a05bde06bc7914ae473f821e5c77fc9e0aa23648683c9575f18632",
"tweak": "a002a1a91f317bdd",
"msg": [0, 13, 8, 12, 2, 9, 3, 10, 5, -1, 12, 8, 10, 13, 8, 3, 1, 7, 2, 4, 13, 0, 11, 5, 13, 12, 1, 1, 7],
"ct": [3, 15, 6, 8, 13, 9, 9, 4, 12, 5, 8, 3, 8, 14, 7, 3, 9, 14, 0, 14, 15, 9, 8, 13, 12, 8, 6, 1, 10],
"result": "invalid"
},
{
"tcId": 3684,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "cf89ffe324a05bde06bc7914ae473f821e5c77fc9e0aa23648683c9575f18632",
"tweak": "a002a1a91f317bdd",
"msg": [0, 13, 8, 12, 2, 9, 3, 10, 5, 0, 12, 8, 10, 13, 8, 3, 1, 7, 2, 4, 13, 0, 11, 5, 13, 12, 1, 1, -1],
"ct": [7, 9, 6, 9, 9, 10, 13, 12, 7, 4, 8, 15, 7, 12, 12, 3, 0, 3, 1, 1, 8, 3, 3, 2, 14, 10, 2, 11, 0],
"result": "invalid"
},
{
"tcId": 3685,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e8cd3ad001abe548d7e6b056f544993bdad85a06f81fa1a7c16c47f2208d4b05",
"tweak": "ef3b21144e5db6be",
"msg": [16, 14, 12, 10, 4, 2, 2, 15, 4, 13, 11, 15, 13, 4, 12, 13, 3, 11, 8, 9, 7, 13, 7, 3, 0, 3, 13, 2, 3],
"ct": [0, 13, 11, 7, 9, 2, 6, 6, 15, 10, 9, 3, 13, 15, 13, 7, 2, 9, 14, 3, 7, 11, 4, 14, 5, 8, 10, 12, 8],
"result": "invalid"
},
{
"tcId": 3686,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e8cd3ad001abe548d7e6b056f544993bdad85a06f81fa1a7c16c47f2208d4b05",
"tweak": "ef3b21144e5db6be",
"msg": [4, 14, 12, 10, 4, 2, 2, 15, 4, 16, 11, 15, 13, 4, 12, 13, 3, 11, 8, 9, 7, 13, 7, 3, 0, 3, 13, 2, 3],
"ct": [6, 4, 1, 3, 5, 1, 4, 14, 9, 15, 14, 7, 0, 1, 14, 8, 1, 14, 7, 11, 2, 5, 9, 3, 15, 2, 5, 5, 8],
"result": "invalid"
},
{
"tcId": 3687,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e8cd3ad001abe548d7e6b056f544993bdad85a06f81fa1a7c16c47f2208d4b05",
"tweak": "ef3b21144e5db6be",
"msg": [4, 14, 12, 10, 4, 2, 2, 15, 4, 13, 11, 15, 13, 4, 12, 13, 3, 11, 8, 9, 7, 13, 7, 3, 0, 3, 13, 2, 16],
"ct": [12, 6, 10, 3, 6, 2, 12, 5, 4, 2, 13, 2, 6, 12, 7, 2, 6, 0, 15, 11, 1, 2, 13, 4, 11, 7, 10, 12, 12],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 30,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3688,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "73fb9509d5105cc23dc27665da2603ae368bb7472ee6faba1f50369cd283944e",
"tweak": "5cbf2c8926102868",
"msg": [15, 6, 10, 3, 6, 1, 10, 2, 12, 4, 9, 6, 2, 3, 4, 10, 10, 8, 3, 7, 7, 13, 3, 6, 0, 12, 10, 8, 1, 14],
"ct": [8, 10, 7, 7, 9, 11, 11, 2, 3, 6, 1, 4, 3, 13, 0, 4, 11, 5, 6, 6, 1, 13, 3, 15, 14, 8, 6, 8, 7, 0],
"result": "valid"
},
{
"tcId": 3689,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 3, 8, 9, 10, 13, 11, 7, 15, 9, 0, 7, 5, 12, 2, 8, 15, 3, 1, 15, 7, 10, 15, 12, 13, 7, 0, 9, 10, 1],
"result": "valid"
},
{
"tcId": 3690,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [13, 11, 11, 13, 15, 5, 11, 6, 8, 3, 1, 4, 13, 2, 9, 8, 0, 13, 13, 0, 2, 6, 8, 2, 13, 1, 11, 3, 11, 3],
"result": "valid"
},
{
"tcId": 3691,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 3, 4, 14, 12, 0, 4, 1, 1, 4, 7, 11, 3, 6, 8, 5, 10, 8, 7, 1, 1, 11, 12, 15, 12, 9, 6, 14, 6, 7],
"result": "valid"
},
{
"tcId": 3692,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [15, 1, 4, 13, 7, 3, 3, 1, 0, 9, 10, 8, 13, 7, 9, 9, 7, 9, 13, 11, 8, 3, 3, 2, 8, 2, 1, 13, 12, 0],
"result": "valid"
},
{
"tcId": 3693,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [8, 0, 9, 8, 4, 1, 3, 0, 6, 13, 10, 11, 11, 0, 13, 0, 5, 13, 4, 6, 12, 2, 4, 3, 7, 9, 8, 6, 15, 15],
"ct": [5, 9, 12, 15, 6, 9, 2, 0, 11, 6, 7, 13, 6, 2, 0, 13, 10, 7, 3, 11, 4, 14, 7, 9, 3, 1, 11, 1, 4, 9],
"result": "valid"
},
{
"tcId": 3694,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [10, 15, 15, 12, 1, 1, 6, 13, 11, 6, 12, 13, 13, 11, 6, 3, 11, 15, 14, 12, 7, 12, 14, 7, 1, 5, 12, 7, 10, 14],
"ct": [5, 9, 5, 11, 0, 6, 9, 8, 7, 3, 10, 11, 3, 1, 4, 7, 3, 5, 10, 1, 11, 1, 12, 11, 14, 4, 12, 6, 4, 15],
"result": "valid"
},
{
"tcId": 3695,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [0, 2, 4, 3, 11, 5, 4, 9, 8, 11, 6, 2, 1, 6, 10, 14, 5, 9, 14, 5, 8, 7, 3, 0, 8, 6, 15, 4, 10, 8],
"ct": [4, 2, 6, 15, 6, 9, 2, 15, 3, 9, 1, 15, 11, 11, 10, 1, 5, 15, 14, 5, 6, 5, 0, 3, 6, 10, 2, 7, 11, 10],
"result": "valid"
},
{
"tcId": 3696,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [4, 2, 14, 15, 5, 1, 11, 14, 8, 8, 3, 0, 10, 9, 12, 12, 13, 11, 11, 12, 5, 5, 1, 4, 11, 9, 10, 10, 15, 4],
"ct": [4, 2, 12, 15, 1, 12, 6, 1, 12, 14, 10, 9, 8, 10, 4, 9, 13, 11, 2, 4, 12, 9, 10, 9, 0, 3, 0, 12, 7, 9],
"result": "valid"
},
{
"tcId": 3697,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [13, 4, 5, 4, 3, 13, 4, 14, 4, 14, 3, 0, 11, 3, 11, 7, 1, 5, 6, 2, 9, 12, 2, 4, 0, 15, 15, 14, 8, 4],
"ct": [6, 1, 5, 8, 6, 4, 8, 14, 12, 3, 8, 8, 13, 8, 3, 14, 15, 10, 7, 7, 14, 2, 0, 6, 2, 6, 4, 7, 0, 1],
"result": "valid"
},
{
"tcId": 3698,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [9, 13, 4, 10, 5, 0, 8, 11, 1, 4, 11, 0, 7, 6, 10, 15, 8, 15, 8, 3, 10, 0, 2, 11, 8, 4, 4, 9, 1, 1],
"ct": [12, 11, 5, 10, 1, 9, 5, 7, 4, 12, 13, 0, 10, 0, 11, 12, 7, 0, 4, 3, 11, 4, 8, 1, 12, 9, 0, 9, 0, 13],
"result": "valid"
},
{
"tcId": 3699,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [15, 12, 2, 5, 0, 6, 4, 7, 6, 9, 14, 11, 5, 11, 10, 6, 9, 13, 8, 7, 14, 5, 13, 4, 2, 5, 9, 13, 8, 0],
"ct": [12, 11, 5, 3, 7, 5, 11, 6, 7, 0, 4, 11, 11, 14, 5, 1, 10, 6, 5, 7, 3, 15, 4, 13, 7, 12, 1, 4, 6, 10],
"result": "valid"
},
{
"tcId": 3700,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [7, 0, 4, 7, 13, 6, 15, 7, 7, 14, 5, 1, 4, 11, 3, 5, 8, 1, 0, 9, 0, 9, 14, 5, 2, 6, 12, 14, 3, 3],
"ct": [7, 11, 3, 10, 15, 5, 1, 14, 2, 11, 14, 5, 10, 9, 11, 8, 10, 3, 13, 4, 6, 2, 12, 9, 1, 10, 13, 11, 10, 10],
"result": "valid"
},
{
"tcId": 3701,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [4, 11, 3, 6, 13, 1, 13, 10, 3, 7, 4, 10, 14, 9, 13, 4, 9, 6, 9, 0, 15, 13, 9, 6, 9, 10, 1, 10, 3, 1],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3702,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [9, 12, 8, 7, 0, 12, 3, 11, 15, 1, 15, 3, 3, 14, 11, 7, 12, 9, 1, 15, 7, 6, 8, 5, 14, 5, 10, 5, 8, 14],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3703,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [6, 14, 14, 2, 3, 0, 13, 6, 1, 10, 15, 13, 3, 0, 3, 15, 15, 1, 0, 12, 15, 2, 0, 1, 11, 12, 7, 14, 13, 4],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3704,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94",
"tweak": "9d223bc842da12e8",
"msg": [1, 8, 7, 2, 1, 5, 1, 12, 1, 3, 12, 9, 1, 0, 4, 3, 5, 11, 5, 6, 2, 11, 14, 8, 3, 0, 1, 6, 7, 9],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3705,
"comment": "y = 0 and (y + a) % radix**15 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "b32cde47a53a09",
"msg": [1, 6, 10, 7, 9, 1, 10, 15, 1, 9, 14, 7, 6, 11, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 13, 12, 14, 13, 10, 5, 5, 6, 12, 14, 4, 4, 13, 14, 13, 9, 10, 1, 8, 9, 2, 10, 9, 8, 6, 15, 11, 0, 8],
"result": "valid"
},
{
"tcId": 3706,
"comment": "y = 0 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "b32cde47a53a09",
"msg": [0, 4, 11, 9, 9, 6, 13, 5, 7, 7, 12, 8, 13, 12, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [5, 6, 5, 6, 5, 2, 3, 9, 14, 4, 5, 10, 13, 12, 6, 3, 14, 2, 8, 0, 10, 14, 14, 6, 14, 7, 6, 1, 9, 12],
"result": "valid"
},
{
"tcId": 3707,
"comment": "y = 0 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "b32cde47a53a09",
"msg": [13, 12, 5, 12, 12, 13, 7, 4, 5, 11, 3, 11, 2, 6, 3, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 3, 8, 4, 6, 2, 13, 13, 13, 10, 5, 3, 7, 3, 2, 3, 6, 9, 8, 12, 8, 9, 10, 15, 1, 4, 14, 11, 8, 14],
"result": "valid"
},
{
"tcId": 3708,
"comment": "y = 0 and (y + a) % radix**15 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "b32cde47a53a09",
"msg": [12, 5, 3, 12, 1, 12, 4, 5, 13, 11, 15, 5, 1, 4, 8, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [4, 1, 10, 6, 9, 8, 11, 2, 8, 3, 15, 1, 6, 4, 11, 10, 3, 15, 10, 15, 12, 0, 1, 10, 13, 11, 12, 2, 0, 15],
"result": "valid"
},
{
"tcId": 3709,
"comment": "y = 1 and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "4ae5bc7130973e",
"msg": [8, 7, 12, 3, 2, 1, 8, 3, 11, 13, 1, 15, 1, 15, 8, 10, 0, 9, 7, 4, 13, 15, 1, 5, 2, 9, 8, 1, 14, 3],
"ct": [15, 6, 14, 9, 0, 8, 0, 5, 14, 3, 14, 0, 8, 1, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 3710,
"comment": "y = 1 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "4ae5bc7130973e",
"msg": [3, 7, 0, 2, 7, 10, 8, 8, 5, 12, 12, 8, 10, 1, 12, 5, 7, 14, 11, 11, 0, 9, 3, 8, 8, 8, 9, 3, 11, 5],
"ct": [15, 6, 14, 9, 0, 8, 0, 5, 14, 3, 14, 0, 8, 1, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2],
"result": "valid"
},
{
"tcId": 3711,
"comment": "y = 1 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "4ae5bc7130973e",
"msg": [1, 7, 14, 15, 0, 8, 7, 9, 12, 9, 10, 1, 12, 9, 1, 11, 14, 0, 14, 11, 13, 5, 7, 6, 10, 14, 12, 2, 4, 3],
"ct": [15, 6, 14, 9, 0, 8, 0, 5, 14, 3, 14, 0, 8, 1, 9, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 3712,
"comment": "y = 1 and (y + a) % radix**15 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "4ae5bc7130973e",
"msg": [14, 13, 1, 10, 13, 0, 10, 8, 7, 2, 2, 6, 14, 3, 7, 2, 0, 14, 2, 2, 5, 5, 12, 3, 5, 0, 14, 10, 0, 2],
"ct": [15, 6, 14, 9, 0, 8, 0, 5, 14, 3, 14, 0, 8, 1, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3713,
"comment": "y = 1 and (y + a) % radix**15 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "4ae5bc7130973e",
"msg": [6, 7, 1, 3, 12, 9, 7, 10, 10, 1, 2, 9, 6, 5, 1, 3, 5, 7, 12, 0, 12, 9, 3, 10, 9, 12, 1, 11, 5, 7],
"ct": [15, 6, 14, 9, 0, 8, 0, 5, 14, 3, 14, 0, 8, 1, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3714,
"comment": "y is maximal and (y + a) % radix**15 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "cb2e46027b61d9",
"msg": [6, 4, 15, 14, 1, 9, 8, 12, 10, 6, 9, 0, 13, 3, 0, 2, 5, 13, 14, 14, 11, 3, 7, 7, 13, 2, 7, 10, 3, 14],
"ct": [14, 9, 15, 13, 5, 5, 5, 5, 5, 5, 13, 13, 8, 10, 15, 14, 1, 14, 14, 13, 10, 9, 11, 14, 12, 6, 3, 11, 0, 13],
"result": "valid"
},
{
"tcId": 3715,
"comment": "y is maximal and (y + a) % radix**15 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "cb2e46027b61d9",
"msg": [12, 14, 8, 0, 10, 14, 5, 11, 5, 14, 15, 5, 0, 13, 14, 3, 2, 1, 6, 2, 14, 3, 1, 2, 3, 1, 0, 4, 10, 14],
"ct": [11, 3, 5, 1, 12, 0, 13, 4, 1, 4, 3, 7, 14, 8, 11, 2, 11, 12, 6, 7, 3, 5, 13, 8, 11, 11, 15, 4, 0, 9],
"result": "valid"
},
{
"tcId": 3716,
"comment": "y is maximal and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "cb2e46027b61d9",
"msg": [10, 0, 12, 0, 4, 7, 1, 14, 9, 13, 0, 9, 5, 2, 3, 10, 2, 3, 11, 12, 3, 7, 12, 15, 12, 7, 3, 15, 2, 7],
"ct": [5, 5, 14, 0, 13, 12, 11, 13, 8, 1, 3, 8, 7, 9, 4, 10, 10, 3, 6, 10, 10, 3, 7, 4, 8, 8, 1, 1, 5, 11],
"result": "valid"
},
{
"tcId": 3717,
"comment": "y is maximal and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "cb2e46027b61d9",
"msg": [14, 15, 13, 11, 11, 14, 1, 14, 11, 6, 13, 6, 13, 4, 0, 2, 0, 10, 9, 9, 3, 0, 9, 3, 3, 5, 15, 4, 8, 6],
"ct": [3, 15, 13, 13, 1, 11, 7, 3, 0, 2, 6, 6, 4, 0, 7, 10, 3, 6, 14, 6, 2, 5, 11, 12, 11, 13, 12, 7, 14, 11],
"result": "valid"
},
{
"tcId": 3718,
"comment": "y is edge case for modular reduction and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "8955f3394f86f0",
"msg": [3, 6, 8, 2, 0, 12, 0, 14, 14, 11, 10, 14, 10, 4, 8, 12, 3, 2, 2, 0, 2, 6, 12, 6, 10, 12, 5, 3, 5, 7],
"ct": [0, 0, 9, 6, 15, 12, 1, 3, 15, 3, 3, 7, 6, 12, 15, 0, 8, 8, 11, 13, 5, 3, 4, 4, 9, 1, 9, 14, 2, 12],
"result": "valid"
},
{
"tcId": 3719,
"comment": "y is edge case for modular reduction and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "8955f3394f86f0",
"msg": [15, 14, 8, 14, 4, 2, 1, 8, 2, 1, 6, 12, 15, 6, 14, 13, 6, 1, 8, 6, 8, 12, 1, 12, 5, 13, 8, 5, 9, 8],
"ct": [9, 2, 10, 12, 7, 9, 13, 13, 1, 5, 5, 8, 11, 9, 11, 2, 10, 9, 7, 14, 10, 2, 7, 7, 14, 0, 6, 10, 1, 3],
"result": "valid"
},
{
"tcId": 3720,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "8955f3394f86f0",
"msg": [14, 1, 0, 8, 11, 15, 12, 4, 6, 8, 4, 6, 4, 14, 1, 5, 15, 0, 5, 10, 2, 2, 15, 9, 10, 8, 14, 1, 15, 0],
"ct": [11, 9, 12, 12, 13, 4, 12, 9, 9, 14, 6, 10, 12, 6, 7, 3, 9, 11, 11, 14, 1, 7, 14, 7, 7, 3, 7, 15, 15, 6],
"result": "valid"
},
{
"tcId": 3721,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "8955f3394f86f0",
"msg": [7, 8, 5, 13, 1, 10, 4, 12, 2, 6, 6, 9, 5, 5, 11, 4, 7, 4, 15, 8, 11, 11, 1, 0, 11, 13, 4, 5, 4, 10],
"ct": [6, 10, 2, 12, 5, 12, 9, 2, 12, 0, 13, 3, 3, 10, 11, 0, 15, 2, 14, 9, 13, 10, 4, 14, 0, 4, 15, 2, 8, 2],
"result": "valid"
},
{
"tcId": 3722,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "8955f3394f86f0",
"msg": [11, 10, 9, 9, 15, 11, 5, 0, 4, 3, 14, 10, 8, 3, 15, 10, 3, 6, 8, 4, 4, 8, 13, 15, 5, 6, 10, 6, 7, 9],
"ct": [15, 0, 4, 9, 2, 8, 8, 13, 14, 4, 7, 12, 15, 8, 0, 2, 6, 10, 6, 2, 6, 12, 0, 12, 7, 9, 10, 15, 11, 4],
"result": "valid"
},
{
"tcId": 3723,
"comment": "y is edge case for modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "8955f3394f86f0",
"msg": [10, 7, 3, 9, 12, 15, 10, 15, 13, 8, 4, 12, 14, 1, 6, 13, 7, 2, 3, 14, 13, 8, 14, 14, 5, 9, 3, 0, 11, 14],
"ct": [14, 8, 7, 11, 15, 10, 14, 1, 15, 0, 12, 1, 14, 9, 0, 14, 13, 8, 15, 15, 11, 15, 11, 10, 13, 13, 14, 5, 2, 4],
"result": "valid"
},
{
"tcId": 3724,
"comment": "y is maximal after modular reduction and (y + a) % radix**15 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "f7446e81ec4d40",
"msg": [5, 11, 3, 1, 9, 3, 11, 1, 2, 0, 0, 13, 13, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [9, 14, 3, 4, 1, 14, 9, 11, 15, 8, 6, 10, 15, 7, 13, 15, 15, 8, 2, 4, 1, 13, 1, 2, 2, 2, 12, 6, 15, 11],
"result": "valid"
},
{
"tcId": 3725,
"comment": "y is maximal after modular reduction and (y + a) % radix**15 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "f7446e81ec4d40",
"msg": [8, 9, 2, 5, 0, 0, 4, 11, 14, 5, 4, 6, 4, 9, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [0, 2, 13, 8, 4, 14, 1, 2, 3, 10, 10, 10, 5, 15, 6, 14, 5, 8, 2, 7, 3, 3, 2, 8, 6, 6, 11, 7, 2, 15],
"result": "valid"
},
{
"tcId": 3726,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "f7446e81ec4d40",
"msg": [4, 10, 1, 5, 5, 12, 13, 13, 1, 7, 10, 4, 0, 9, 13, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [6, 15, 4, 7, 12, 0, 6, 9, 11, 10, 7, 1, 2, 0, 4, 2, 5, 4, 10, 4, 11, 2, 1, 14, 6, 10, 14, 14, 1, 10],
"result": "valid"
},
{
"tcId": 3727,
"comment": "y is maximal after modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c",
"tweak": "f7446e81ec4d40",
"msg": [11, 13, 4, 14, 14, 1, 3, 4, 8, 4, 3, 10, 5, 4, 5, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [9, 0, 1, 13, 12, 15, 4, 11, 9, 5, 1, 10, 0, 5, 13, 11, 11, 8, 3, 14, 0, 7, 4, 1, 15, 9, 5, 10, 0, 4],
"result": "valid"
},
{
"tcId": 3728,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2636627e1c78dfb92c27842710f80d2d5ca9d94f8f2779d30bba090c3d15a7bd",
"tweak": "ba34c35d64cc88f4",
"msg": [-1, 12, 13, 12, 2, 9, 3, 15, 2, 9, 15, 15, 13, 3, 13, 10, 13, 7, 12, 11, 12, 1, 2, 9, 1, 10, 13, 12, 13, 13],
"ct": [15, 5, 9, 3, 4, 8, 11, 9, 4, 1, 15, 3, 5, 3, 12, 14, 3, 4, 2, 15, 12, 2, 13, 2, 9, 15, 8, 6, 15, 2],
"result": "invalid"
},
{
"tcId": 3729,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2636627e1c78dfb92c27842710f80d2d5ca9d94f8f2779d30bba090c3d15a7bd",
"tweak": "ba34c35d64cc88f4",
"msg": [0, 12, 13, 12, 2, 9, 3, 15, 2, 9, -1, 15, 13, 3, 13, 10, 13, 7, 12, 11, 12, 1, 2, 9, 1, 10, 13, 12, 13, 13],
"ct": [0, 1, 8, 10, 13, 4, 15, 2, 12, 2, 9, 15, 15, 4, 12, 6, 4, 10, 6, 14, 0, 1, 9, 6, 9, 14, 6, 6, 13, 14],
"result": "invalid"
},
{
"tcId": 3730,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2636627e1c78dfb92c27842710f80d2d5ca9d94f8f2779d30bba090c3d15a7bd",
"tweak": "ba34c35d64cc88f4",
"msg": [0, 12, 13, 12, 2, 9, 3, 15, 2, 9, 15, 15, 13, 3, 13, 10, 13, 7, 12, 11, 12, 1, 2, 9, 1, 10, 13, 12, 13, -1],
"ct": [2, 14, 12, 4, 2, 0, 8, 1, 6, 1, 9, 15, 10, 11, 7, 6, 3, 8, 13, 6, 2, 10, 0, 13, 11, 3, 5, 0, 7, 5],
"result": "invalid"
},
{
"tcId": 3731,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9d499449facef0a9d0293fb951e67aab9c675c71d2b1a1f08a36c0cb5cafb95c",
"tweak": "b1f182935fb5e06c",
"msg": [16, 2, 4, 9, 6, 13, 5, 5, 12, 14, 13, 14, 6, 10, 13, 11, 0, 12, 10, 15, 5, 0, 0, 9, 5, 10, 4, 14, 3, 7],
"ct": [5, 12, 11, 13, 15, 6, 4, 10, 2, 12, 6, 6, 13, 11, 14, 4, 6, 15, 10, 8, 6, 12, 4, 14, 6, 13, 7, 15, 7, 6],
"result": "invalid"
},
{
"tcId": 3732,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9d499449facef0a9d0293fb951e67aab9c675c71d2b1a1f08a36c0cb5cafb95c",
"tweak": "b1f182935fb5e06c",
"msg": [1, 2, 4, 9, 6, 13, 5, 5, 12, 14, 16, 14, 6, 10, 13, 11, 0, 12, 10, 15, 5, 0, 0, 9, 5, 10, 4, 14, 3, 7],
"ct": [8, 15, 6, 7, 7, 4, 9, 12, 7, 4, 10, 10, 4, 3, 14, 4, 10, 1, 0, 12, 4, 7, 0, 13, 15, 12, 2, 2, 3, 0],
"result": "invalid"
},
{
"tcId": 3733,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9d499449facef0a9d0293fb951e67aab9c675c71d2b1a1f08a36c0cb5cafb95c",
"tweak": "b1f182935fb5e06c",
"msg": [1, 2, 4, 9, 6, 13, 5, 5, 12, 14, 13, 14, 6, 10, 13, 11, 0, 12, 10, 15, 5, 0, 0, 9, 5, 10, 4, 14, 3, 16],
"ct": [13, 13, 1, 4, 3, 1, 0, 15, 2, 6, 2, 11, 12, 6, 9, 7, 13, 2, 12, 10, 11, 9, 14, 9, 3, 3, 14, 0, 9, 15],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 31,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3734,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "c469e6908749a713e6ef407c557cea98515c3e931222e22d13b85ea1f6071231",
"tweak": "47b8d0890cbc7d4d",
"msg": [1, 15, 0, 8, 4, 13, 12, 15, 5, 12, 11, 5, 0, 14, 11, 10, 3, 11, 2, 10, 5, 15, 8, 2, 14, 6, 7, 4, 0, 3, 7],
"ct": [0, 6, 9, 14, 8, 1, 0, 7, 9, 9, 6, 4, 1, 15, 10, 2, 15, 10, 2, 10, 8, 10, 9, 6, 2, 0, 12, 7, 7, 15, 14],
"result": "valid"
},
{
"tcId": 3735,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 3, 6, 1, 15, 12, 13, 12, 9, 15, 10, 12, 2, 6, 10, 10, 13, 10, 7, 3, 1, 5, 4, 4, 7, 12, 0, 11, 15, 14, 12],
"result": "valid"
},
{
"tcId": 3736,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [2, 11, 11, 3, 15, 5, 8, 5, 2, 2, 2, 13, 3, 1, 10, 6, 7, 14, 6, 4, 2, 5, 6, 15, 10, 12, 6, 5, 6, 12, 2],
"result": "valid"
},
{
"tcId": 3737,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 5, 5, 4, 6, 5, 0, 14, 11, 12, 8, 13, 2, 6, 15, 5, 2, 5, 10, 0, 0, 4, 1, 10, 8, 8, 7, 15, 0, 2, 10],
"result": "valid"
},
{
"tcId": 3738,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [10, 12, 13, 14, 13, 11, 14, 10, 1, 0, 12, 13, 3, 12, 3, 10, 6, 7, 6, 3, 8, 15, 10, 14, 2, 10, 9, 4, 8, 3, 15],
"result": "valid"
},
{
"tcId": 3739,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [8, 3, 3, 3, 3, 9, 1, 13, 4, 2, 8, 5, 10, 10, 9, 2, 0, 7, 11, 9, 6, 4, 10, 14, 4, 9, 8, 6, 4, 14, 7],
"ct": [4, 10, 14, 1, 11, 4, 15, 8, 7, 0, 11, 4, 7, 7, 7, 8, 6, 6, 3, 12, 0, 3, 9, 4, 7, 1, 0, 14, 12, 14, 6],
"result": "valid"
},
{
"tcId": 3740,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [8, 3, 8, 1, 1, 12, 1, 8, 6, 11, 13, 3, 0, 6, 0, 7, 8, 0, 1, 5, 1, 7, 2, 11, 5, 11, 8, 14, 7, 12, 6],
"ct": [6, 12, 12, 4, 3, 0, 13, 7, 12, 11, 7, 12, 0, 11, 12, 0, 12, 2, 6, 9, 12, 3, 13, 7, 9, 12, 9, 10, 5, 11, 10],
"result": "valid"
},
{
"tcId": 3741,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [15, 7, 2, 12, 1, 15, 14, 6, 1, 6, 13, 3, 8, 14, 10, 9, 8, 2, 2, 9, 6, 5, 11, 7, 7, 11, 9, 7, 1, 3, 14],
"ct": [3, 14, 1, 3, 4, 7, 1, 10, 0, 12, 14, 1, 13, 15, 4, 6, 12, 15, 0, 4, 10, 9, 8, 5, 14, 9, 0, 11, 15, 2, 1],
"result": "valid"
},
{
"tcId": 3742,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [11, 1, 4, 10, 6, 0, 4, 7, 10, 9, 10, 12, 9, 3, 11, 5, 0, 7, 2, 12, 14, 8, 3, 7, 13, 8, 15, 15, 13, 5, 14],
"ct": [4, 11, 10, 0, 12, 6, 2, 7, 0, 6, 2, 2, 7, 14, 8, 9, 10, 3, 6, 0, 11, 15, 12, 11, 14, 8, 2, 15, 15, 8, 13],
"result": "valid"
},
{
"tcId": 3743,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [4, 9, 2, 12, 11, 7, 4, 15, 5, 3, 3, 14, 10, 11, 13, 13, 9, 13, 5, 13, 1, 3, 6, 8, 3, 4, 7, 1, 11, 2, 8],
"ct": [13, 7, 3, 10, 6, 6, 1, 3, 7, 10, 4, 3, 10, 13, 14, 5, 12, 13, 2, 8, 11, 8, 14, 14, 14, 3, 14, 5, 3, 1, 5],
"result": "valid"
},
{
"tcId": 3744,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [5, 2, 11, 5, 9, 7, 10, 12, 13, 11, 8, 10, 5, 10, 5, 14, 1, 2, 13, 12, 11, 7, 0, 5, 4, 10, 3, 14, 3, 6, 13],
"ct": [9, 11, 12, 3, 9, 15, 11, 1, 3, 3, 13, 14, 6, 10, 1, 15, 4, 13, 5, 13, 14, 11, 14, 13, 9, 8, 8, 15, 5, 8, 4],
"result": "valid"
},
{
"tcId": 3745,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [5, 15, 15, 1, 11, 5, 7, 10, 11, 3, 15, 11, 11, 11, 3, 1, 13, 6, 3, 14, 5, 6, 10, 12, 11, 15, 7, 10, 8, 0, 1],
"ct": [5, 4, 9, 13, 4, 6, 4, 14, 7, 13, 3, 4, 2, 12, 4, 0, 12, 9, 6, 9, 7, 11, 1, 1, 8, 8, 6, 5, 5, 4, 4],
"result": "valid"
},
{
"tcId": 3746,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [11, 5, 5, 0, 2, 9, 3, 2, 8, 1, 8, 10, 9, 6, 14, 14, 7, 4, 9, 10, 6, 2, 9, 2, 13, 11, 3, 14, 9, 8, 0],
"ct": [10, 13, 4, 13, 3, 0, 8, 0, 4, 9, 1, 4, 10, 4, 9, 4, 9, 11, 3, 12, 10, 0, 1, 14, 10, 12, 6, 9, 0, 14, 9],
"result": "valid"
},
{
"tcId": 3747,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [5, 15, 11, 14, 1, 0, 3, 7, 2, 13, 5, 8, 10, 9, 14, 15, 7, 2, 8, 3, 1, 11, 1, 11, 10, 1, 4, 3, 0, 13, 7],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3748,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [4, 0, 13, 1, 11, 15, 7, 1, 1, 0, 8, 3, 2, 3, 1, 4, 8, 6, 13, 14, 3, 11, 2, 10, 12, 4, 11, 7, 9, 8, 1],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3749,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [2, 10, 7, 4, 12, 15, 12, 9, 0, 7, 14, 1, 5, 15, 2, 0, 0, 8, 15, 13, 10, 7, 3, 4, 2, 6, 5, 0, 11, 3, 7],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3750,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a",
"tweak": "529e8848ec296604",
"msg": [13, 8, 5, 15, 11, 11, 12, 13, 7, 1, 8, 0, 2, 5, 14, 0, 5, 6, 8, 12, 13, 15, 10, 12, 6, 3, 9, 11, 12, 11, 11],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3751,
"comment": "y = 0 and (y + a) % radix**16 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "05995b27aaf730",
"msg": [7, 2, 15, 12, 8, 12, 0, 15, 4, 15, 11, 12, 14, 4, 3, 0, 15, 3, 3, 13, 13, 15, 3, 13, 3, 9, 0, 9, 15, 4, 5],
"ct": [9, 13, 13, 15, 12, 14, 4, 5, 9, 1, 5, 13, 3, 12, 12, 6, 8, 11, 3, 3, 14, 8, 14, 13, 5, 11, 6, 5, 0, 7, 1],
"result": "valid"
},
{
"tcId": 3752,
"comment": "y = 0 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "05995b27aaf730",
"msg": [15, 4, 13, 9, 8, 11, 8, 12, 9, 13, 2, 11, 10, 8, 3, 9, 3, 9, 6, 1, 14, 5, 5, 14, 7, 13, 4, 14, 8, 0, 0],
"ct": [10, 10, 12, 2, 15, 4, 14, 14, 6, 0, 0, 8, 4, 14, 13, 5, 3, 4, 1, 14, 3, 4, 13, 1, 1, 0, 12, 3, 6, 15, 1],
"result": "valid"
},
{
"tcId": 3753,
"comment": "y = 0 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "05995b27aaf730",
"msg": [2, 11, 1, 10, 3, 9, 7, 1, 10, 6, 12, 1, 4, 15, 6, 8, 14, 7, 4, 13, 5, 15, 8, 10, 6, 12, 3, 7, 7, 4, 13],
"ct": [8, 8, 9, 6, 15, 9, 14, 7, 0, 2, 1, 14, 14, 2, 13, 1, 1, 7, 4, 4, 8, 15, 3, 2, 14, 3, 3, 14, 2, 11, 9],
"result": "valid"
},
{
"tcId": 3754,
"comment": "y = 0 and (y + a) % radix**16 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "05995b27aaf730",
"msg": [10, 9, 11, 7, 5, 0, 10, 3, 0, 5, 5, 11, 15, 4, 2, 11, 9, 14, 5, 1, 5, 4, 8, 9, 9, 13, 6, 4, 3, 12, 8],
"ct": [13, 14, 9, 5, 14, 5, 5, 15, 10, 15, 11, 4, 5, 9, 13, 15, 7, 9, 13, 2, 5, 1, 12, 5, 4, 11, 6, 6, 3, 7, 1],
"result": "valid"
},
{
"tcId": 3755,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "1e2eb3c9f8a6c9",
"msg": [0, 1, 12, 8, 9, 2, 12, 0, 8, 15, 4, 7, 10, 11, 0, 3, 15, 0, 13, 7, 0, 10, 1, 6, 0, 8, 6, 1, 12, 12, 2],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 8, 1, 5, 4, 4, 10, 10, 4, 9, 0, 3, 8, 2, 6, 7, 4],
"result": "valid"
},
{
"tcId": 3756,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "1e2eb3c9f8a6c9",
"msg": [1, 0, 11, 15, 3, 10, 6, 7, 8, 12, 1, 2, 0, 9, 9, 4, 4, 12, 6, 6, 15, 1, 7, 5, 8, 10, 12, 2, 0, 2, 4],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 11, 13, 14, 7, 3, 3, 3, 4, 1, 3, 6, 12, 10, 15, 9],
"result": "valid"
},
{
"tcId": 3757,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "1e2eb3c9f8a6c9",
"msg": [9, 6, 14, 13, 2, 0, 13, 3, 10, 6, 0, 13, 2, 6, 7, 0, 15, 1, 7, 4, 1, 8, 6, 2, 8, 14, 10, 8, 8, 6, 9],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 6, 1, 9, 5, 8, 13, 10, 5, 7, 12, 6, 8, 12, 1, 11, 7],
"result": "valid"
},
{
"tcId": 3758,
"comment": "y = 1 and (y + a) % radix**15 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "1e2eb3c9f8a6c9",
"msg": [14, 4, 10, 3, 3, 15, 2, 6, 9, 12, 7, 0, 10, 7, 13, 1, 13, 15, 6, 6, 14, 1, 15, 10, 8, 9, 3, 12, 5, 10, 3],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 12, 12, 10, 15, 3, 0, 5, 4, 8, 7, 5, 12, 6, 2, 14, 2],
"result": "valid"
},
{
"tcId": 3759,
"comment": "y = 1 and (y + a) % radix**15 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "1e2eb3c9f8a6c9",
"msg": [8, 14, 14, 10, 1, 3, 15, 5, 9, 13, 12, 6, 8, 5, 13, 14, 7, 15, 7, 2, 12, 4, 2, 7, 14, 1, 0, 2, 15, 5, 7],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 10, 6, 1, 10, 2, 2, 8, 12, 2, 8, 1, 7, 14, 5, 9],
"result": "valid"
},
{
"tcId": 3760,
"comment": "y is maximal and (y + a) % radix**15 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "33c7043d5a4507",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 2, 13, 7, 4, 5, 4, 14, 14, 9, 10, 7, 12, 8, 5, 0],
"ct": [4, 13, 6, 5, 2, 0, 13, 13, 2, 14, 10, 13, 15, 6, 8, 0, 0, 0, 10, 11, 2, 6, 8, 0, 13, 10, 7, 7, 10, 6, 10],
"result": "valid"
},
{
"tcId": 3761,
"comment": "y is maximal and (y + a) % radix**15 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "33c7043d5a4507",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 13, 2, 13, 7, 4, 5, 4, 14, 14, 9, 10, 7, 12, 8, 5, 0],
"ct": [0, 12, 1, 12, 3, 11, 8, 15, 11, 8, 0, 3, 0, 8, 9, 2, 3, 2, 6, 1, 11, 11, 12, 13, 1, 14, 15, 11, 6, 13, 10],
"result": "valid"
},
{
"tcId": 3762,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "33c7043d5a4507",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 2, 13, 7, 4, 5, 4, 14, 14, 9, 10, 7, 12, 8, 5, 0],
"ct": [9, 1, 13, 13, 5, 5, 9, 3, 9, 8, 3, 0, 5, 13, 11, 2, 15, 0, 0, 6, 13, 14, 5, 1, 13, 4, 11, 3, 9, 6, 12],
"result": "valid"
},
{
"tcId": 3763,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "33c7043d5a4507",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 2, 13, 7, 4, 5, 4, 14, 14, 9, 10, 7, 12, 8, 5, 0],
"ct": [10, 13, 8, 2, 3, 14, 13, 10, 9, 3, 9, 5, 6, 10, 0, 10, 1, 11, 3, 1, 12, 8, 4, 15, 1, 4, 1, 13, 6, 8, 8],
"result": "valid"
},
{
"tcId": 3764,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "1c50da501fde72",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 9, 11, 8, 4, 5, 1, 8, 5, 9, 5, 11, 4, 9, 8, 15],
"ct": [3, 15, 13, 0, 10, 2, 10, 5, 7, 8, 7, 8, 11, 11, 14, 9, 2, 12, 13, 11, 13, 12, 1, 3, 5, 14, 5, 15, 12, 5, 1],
"result": "valid"
},
{
"tcId": 3765,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "1c50da501fde72",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 10, 9, 11, 8, 4, 5, 1, 8, 5, 9, 5, 11, 4, 9, 8, 15],
"ct": [0, 14, 6, 9, 4, 4, 13, 14, 12, 8, 8, 4, 12, 8, 3, 7, 15, 9, 9, 5, 2, 11, 9, 4, 11, 10, 13, 13, 13, 12, 7],
"result": "valid"
},
{
"tcId": 3766,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "1c50da501fde72",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 10, 9, 11, 8, 4, 5, 1, 8, 5, 9, 5, 11, 4, 9, 8, 15],
"ct": [9, 15, 8, 1, 14, 7, 8, 6, 11, 9, 11, 10, 8, 7, 12, 13, 0, 13, 5, 0, 5, 7, 2, 4, 5, 5, 12, 0, 10, 13, 6],
"result": "valid"
},
{
"tcId": 3767,
"comment": "y is edge case for modular reduction and (y + a) % radix**15 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "1c50da501fde72",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 10, 9, 11, 8, 4, 5, 1, 8, 5, 9, 5, 11, 4, 9, 8, 15],
"ct": [8, 15, 3, 9, 13, 4, 8, 3, 15, 6, 7, 5, 10, 12, 12, 2, 15, 4, 9, 2, 9, 9, 14, 2, 15, 10, 2, 4, 15, 6, 7],
"result": "valid"
},
{
"tcId": 3768,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "1c50da501fde72",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 9, 11, 8, 4, 5, 1, 8, 5, 9, 5, 11, 4, 9, 8, 15],
"ct": [11, 9, 9, 8, 11, 12, 1, 13, 3, 14, 11, 11, 7, 15, 7, 0, 0, 1, 14, 0, 11, 7, 9, 2, 14, 8, 14, 12, 2, 2, 14],
"result": "valid"
},
{
"tcId": 3769,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "1c50da501fde72",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 10, 9, 11, 8, 4, 5, 1, 8, 5, 9, 5, 11, 4, 9, 8, 15],
"ct": [2, 10, 4, 12, 10, 8, 9, 9, 15, 6, 2, 8, 5, 3, 12, 8, 3, 1, 5, 14, 13, 7, 4, 5, 10, 2, 5, 15, 6, 2, 1],
"result": "valid"
},
{
"tcId": 3770,
"comment": "y is maximal after modular reduction and (y + a) % radix**15 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "feed7b0f482292",
"msg": [12, 13, 4, 5, 13, 4, 4, 13, 5, 9, 7, 9, 2, 3, 11, 10, 3, 12, 9, 15, 15, 11, 9, 14, 0, 8, 10, 13, 4, 11, 13],
"ct": [8, 5, 7, 6, 12, 2, 7, 13, 8, 8, 0, 0, 2, 8, 1, 11, 9, 9, 14, 10, 5, 6, 14, 9, 5, 2, 9, 3, 8, 2, 5],
"result": "valid"
},
{
"tcId": 3771,
"comment": "y is maximal after modular reduction and (y + a) % radix**15 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "feed7b0f482292",
"msg": [6, 0, 7, 13, 7, 7, 13, 7, 0, 8, 13, 7, 7, 4, 14, 15, 8, 3, 4, 3, 2, 5, 3, 13, 15, 3, 9, 11, 5, 15, 3],
"ct": [2, 11, 1, 11, 12, 12, 10, 6, 13, 3, 9, 5, 10, 10, 9, 15, 12, 0, 3, 6, 12, 1, 6, 5, 7, 6, 9, 0, 13, 2, 3],
"result": "valid"
},
{
"tcId": 3772,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "feed7b0f482292",
"msg": [1, 7, 12, 2, 1, 10, 1, 11, 0, 3, 10, 10, 5, 5, 4, 8, 4, 0, 5, 9, 4, 6, 12, 13, 7, 0, 5, 8, 11, 15, 0],
"ct": [14, 11, 5, 5, 2, 7, 2, 5, 15, 7, 12, 12, 2, 1, 5, 2, 14, 7, 10, 2, 15, 15, 14, 7, 5, 12, 14, 14, 7, 0, 2],
"result": "valid"
},
{
"tcId": 3773,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff",
"tweak": "feed7b0f482292",
"msg": [9, 0, 8, 2, 12, 13, 13, 10, 9, 3, 7, 9, 11, 8, 8, 1, 8, 8, 13, 15, 15, 13, 11, 11, 14, 1, 12, 11, 8, 10, 6],
"ct": [9, 9, 0, 15, 6, 8, 6, 1, 2, 8, 3, 8, 13, 10, 5, 0, 7, 0, 7, 1, 12, 7, 7, 11, 10, 8, 12, 10, 9, 9, 0],
"result": "valid"
},
{
"tcId": 3774,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7330d70f17145b820f8d65741904fe739d6c907df68c7db12bb1f328808a3ba5",
"tweak": "82d8b9e68151ec61",
"msg": [-1, 9, 0, 11, 10, 11, 14, 7, 11, 1, 6, 1, 13, 15, 11, 15, 4, 13, 3, 7, 6, 9, 6, 6, 7, 12, 7, 3, 7, 13, 8],
"ct": [3, 12, 10, 1, 12, 12, 11, 8, 6, 9, 4, 14, 11, 8, 6, 13, 0, 10, 14, 4, 3, 10, 3, 4, 1, 7, 4, 9, 9, 13, 1],
"result": "invalid"
},
{
"tcId": 3775,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7330d70f17145b820f8d65741904fe739d6c907df68c7db12bb1f328808a3ba5",
"tweak": "82d8b9e68151ec61",
"msg": [10, 9, 0, 11, 10, 11, 14, 7, 11, 1, -1, 1, 13, 15, 11, 15, 4, 13, 3, 7, 6, 9, 6, 6, 7, 12, 7, 3, 7, 13, 8],
"ct": [5, 4, 9, 8, 4, 11, 9, 10, 3, 9, 9, 7, 1, 8, 6, 0, 13, 9, 12, 7, 4, 14, 14, 0, 5, 7, 13, 1, 2, 4, 13],
"result": "invalid"
},
{
"tcId": 3776,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7330d70f17145b820f8d65741904fe739d6c907df68c7db12bb1f328808a3ba5",
"tweak": "82d8b9e68151ec61",
"msg": [10, 9, 0, 11, 10, 11, 14, 7, 11, 1, 6, 1, 13, 15, 11, 15, 4, 13, 3, 7, 6, 9, 6, 6, 7, 12, 7, 3, 7, 13, -1],
"ct": [8, 1, 0, 0, 2, 14, 1, 11, 11, 13, 11, 4, 5, 10, 14, 5, 13, 14, 5, 15, 15, 6, 13, 12, 7, 7, 11, 1, 4, 8, 11],
"result": "invalid"
},
{
"tcId": 3777,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "12da4ff936c3623420803dc811b310a7ebb33d28e679b0168b80f17d229abace",
"tweak": "37841c3562b8f5d8",
"msg": [16, 1, 13, 7, 4, 8, 11, 5, 0, 12, 13, 5, 14, 9, 1, 14, 1, 6, 3, 3, 4, 10, 10, 13, 8, 7, 2, 11, 1, 14, 4],
"ct": [1, 6, 15, 11, 13, 6, 8, 14, 14, 8, 5, 2, 5, 2, 6, 4, 15, 15, 13, 8, 6, 0, 2, 2, 6, 2, 9, 1, 8, 11, 9],
"result": "invalid"
},
{
"tcId": 3778,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "12da4ff936c3623420803dc811b310a7ebb33d28e679b0168b80f17d229abace",
"tweak": "37841c3562b8f5d8",
"msg": [6, 1, 13, 7, 4, 8, 11, 5, 0, 12, 16, 5, 14, 9, 1, 14, 1, 6, 3, 3, 4, 10, 10, 13, 8, 7, 2, 11, 1, 14, 4],
"ct": [13, 1, 15, 5, 10, 13, 12, 12, 15, 10, 14, 15, 2, 3, 7, 9, 5, 11, 10, 12, 12, 8, 12, 11, 14, 2, 11, 12, 9, 4, 2],
"result": "invalid"
},
{
"tcId": 3779,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "12da4ff936c3623420803dc811b310a7ebb33d28e679b0168b80f17d229abace",
"tweak": "37841c3562b8f5d8",
"msg": [6, 1, 13, 7, 4, 8, 11, 5, 0, 12, 13, 5, 14, 9, 1, 14, 1, 6, 3, 3, 4, 10, 10, 13, 8, 7, 2, 11, 1, 14, 16],
"ct": [5, 12, 7, 15, 13, 15, 5, 8, 12, 5, 14, 8, 3, 10, 14, 9, 1, 2, 0, 14, 9, 6, 7, 6, 9, 5, 6, 11, 3, 15, 9],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 32,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3780,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "233e4fdee70bcc20235b6977ddfc05b0df66f5635d827c66e5a63cdb16a24938",
"tweak": "1b6819798da15c7a",
"msg": [15, 12, 6, 0, 1, 13, 11, 14, 4, 15, 4, 8, 15, 5, 15, 3, 10, 1, 10, 13, 13, 0, 2, 4, 1, 14, 1, 14, 15, 10, 1, 15],
"ct": [12, 3, 12, 0, 5, 2, 10, 12, 6, 0, 14, 0, 7, 11, 1, 10, 13, 1, 15, 0, 0, 0, 15, 6, 11, 5, 0, 2, 4, 12, 14, 2],
"result": "valid"
},
{
"tcId": 3781,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 6, 13, 15, 10, 3, 2, 8, 2, 12, 15, 1, 5, 11, 1, 9, 4, 7, 5, 12, 14, 6, 6, 6, 12, 5, 1, 6, 10, 0, 0, 6],
"result": "valid"
},
{
"tcId": 3782,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [13, 14, 8, 4, 14, 9, 14, 3, 14, 11, 6, 0, 7, 3, 4, 15, 1, 7, 4, 7, 13, 7, 7, 5, 8, 9, 4, 9, 0, 6, 14, 8],
"result": "valid"
},
{
"tcId": 3783,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 5, 12, 5, 12, 12, 15, 13, 1, 3, 0, 9, 3, 8, 10, 3, 10, 14, 8, 15, 14, 8, 9, 1, 15, 14, 2, 8, 0, 15, 12, 1],
"result": "valid"
},
{
"tcId": 3784,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"ct": [3, 13, 13, 0, 8, 1, 7, 14, 1, 8, 4, 7, 15, 11, 13, 8, 9, 1, 12, 10, 3, 7, 12, 11, 7, 15, 10, 11, 11, 11, 3, 14],
"result": "valid"
},
{
"tcId": 3785,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [12, 10, 13, 4, 6, 13, 12, 4, 12, 0, 10, 14, 13, 7, 13, 12, 2, 6, 12, 15, 3, 5, 14, 9, 14, 3, 1, 9, 4, 6, 15, 8],
"ct": [1, 14, 10, 5, 10, 14, 6, 4, 14, 9, 4, 5, 5, 14, 14, 1, 11, 0, 13, 2, 8, 12, 4, 5, 4, 0, 2, 1, 5, 4, 9, 2],
"result": "valid"
},
{
"tcId": 3786,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [4, 7, 10, 11, 6, 7, 11, 6, 7, 13, 7, 10, 6, 14, 1, 3, 3, 9, 14, 13, 10, 0, 4, 14, 7, 6, 7, 7, 10, 11, 1, 5],
"ct": [6, 8, 11, 9, 0, 2, 6, 0, 6, 5, 12, 3, 13, 1, 3, 12, 10, 7, 5, 8, 0, 10, 6, 4, 11, 1, 0, 10, 10, 13, 3, 5],
"result": "valid"
},
{
"tcId": 3787,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [15, 8, 14, 11, 9, 6, 0, 6, 5, 9, 10, 8, 15, 10, 4, 13, 7, 2, 0, 6, 3, 2, 0, 10, 3, 9, 10, 7, 4, 2, 7, 12],
"ct": [11, 8, 8, 5, 12, 4, 8, 15, 13, 1, 10, 0, 12, 8, 8, 1, 12, 10, 2, 12, 7, 9, 13, 15, 6, 8, 2, 2, 4, 5, 4, 12],
"result": "valid"
},
{
"tcId": 3788,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [13, 8, 0, 14, 6, 9, 5, 10, 0, 2, 6, 7, 6, 15, 3, 13, 1, 13, 10, 10, 6, 3, 8, 5, 11, 9, 13, 6, 8, 2, 3, 11],
"ct": [0, 12, 1, 11, 9, 7, 12, 9, 7, 15, 9, 13, 3, 8, 6, 4, 10, 0, 7, 7, 7, 5, 15, 1, 7, 8, 2, 6, 9, 2, 1, 5],
"result": "valid"
},
{
"tcId": 3789,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [3, 15, 12, 12, 4, 12, 6, 13, 13, 12, 2, 3, 14, 13, 3, 9, 1, 15, 7, 5, 6, 2, 0, 14, 5, 7, 4, 13, 6, 3, 15, 10],
"ct": [10, 11, 5, 11, 1, 0, 6, 11, 3, 4, 9, 0, 9, 3, 1, 13, 8, 2, 9, 7, 7, 5, 13, 3, 7, 2, 3, 11, 13, 15, 0, 0],
"result": "valid"
},
{
"tcId": 3790,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [1, 8, 2, 12, 5, 2, 3, 11, 8, 4, 15, 8, 10, 7, 12, 4, 10, 8, 14, 1, 2, 12, 12, 0, 15, 9, 14, 15, 6, 6, 5, 11],
"ct": [9, 7, 5, 7, 3, 8, 9, 6, 5, 2, 6, 5, 12, 1, 2, 1, 14, 9, 7, 6, 12, 11, 15, 3, 7, 4, 3, 15, 12, 7, 2, 13],
"result": "valid"
},
{
"tcId": 3791,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [8, 15, 12, 7, 4, 11, 8, 14, 2, 14, 3, 11, 3, 9, 11, 5, 11, 13, 13, 10, 13, 11, 5, 15, 14, 10, 12, 10, 12, 5, 3, 0],
"ct": [11, 4, 0, 11, 0, 2, 7, 3, 7, 4, 3, 6, 9, 9, 14, 14, 7, 5, 7, 4, 8, 2, 15, 5, 7, 1, 13, 8, 1, 2, 14, 9],
"result": "valid"
},
{
"tcId": 3792,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [13, 7, 5, 5, 14, 11, 3, 14, 2, 10, 11, 2, 12, 13, 2, 15, 8, 10, 15, 3, 2, 7, 15, 9, 8, 14, 14, 9, 9, 11, 13, 14],
"ct": [9, 7, 7, 1, 7, 3, 10, 14, 7, 2, 4, 3, 5, 13, 7, 8, 12, 2, 15, 0, 8, 1, 1, 5, 11, 10, 1, 15, 2, 1, 2, 9],
"result": "valid"
},
{
"tcId": 3793,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [11, 11, 13, 4, 9, 3, 10, 11, 14, 8, 8, 10, 7, 11, 3, 15, 12, 11, 2, 5, 0, 14, 11, 2, 13, 11, 7, 2, 1, 14, 5, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3794,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [15, 11, 10, 9, 7, 14, 7, 0, 10, 11, 5, 11, 8, 8, 3, 0, 15, 1, 7, 9, 14, 10, 2, 4, 15, 15, 8, 7, 0, 9, 1, 7],
"ct": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3795,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [3, 14, 1, 4, 9, 1, 8, 8, 2, 5, 11, 12, 13, 13, 0, 14, 5, 10, 15, 6, 14, 5, 15, 13, 0, 4, 0, 1, 13, 6, 9, 7],
"ct": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 3796,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259",
"tweak": "4279bdd729d2a73f",
"msg": [11, 6, 6, 4, 3, 1, 12, 4, 11, 10, 12, 2, 6, 1, 10, 2, 1, 6, 7, 11, 14, 10, 2, 11, 7, 9, 0, 11, 3, 7, 13, 7],
"ct": [7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
"result": "valid"
},
{
"tcId": 3797,
"comment": "y = 0 and (y + a) % radix**16 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "6d4fb50c1ca1e7",
"msg": [11, 13, 7, 5, 9, 3, 3, 2, 13, 7, 8, 9, 7, 1, 12, 10, 3, 1, 15, 14, 8, 5, 7, 1, 8, 2, 10, 10, 8, 4, 6, 9],
"ct": [2, 12, 2, 12, 11, 1, 3, 8, 14, 11, 5, 14, 9, 11, 1, 11, 2, 3, 0, 13, 1, 2, 14, 3, 7, 2, 9, 15, 8, 12, 9, 12],
"result": "valid"
},
{
"tcId": 3798,
"comment": "y = 0 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "6d4fb50c1ca1e7",
"msg": [4, 13, 11, 7, 4, 12, 1, 13, 4, 0, 11, 5, 5, 4, 5, 11, 9, 6, 13, 0, 9, 12, 9, 15, 7, 13, 9, 9, 15, 3, 8, 3],
"ct": [15, 11, 11, 15, 10, 14, 1, 0, 7, 7, 5, 5, 5, 14, 1, 2, 10, 7, 13, 9, 12, 12, 15, 10, 13, 1, 13, 14, 1, 11, 14, 7],
"result": "valid"
},
{
"tcId": 3799,
"comment": "y = 0 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "6d4fb50c1ca1e7",
"msg": [14, 1, 0, 3, 0, 15, 5, 1, 8, 15, 9, 6, 6, 7, 5, 4, 8, 3, 13, 10, 11, 12, 15, 2, 2, 11, 7, 7, 4, 2, 12, 13],
"ct": [1, 12, 6, 15, 6, 6, 5, 2, 11, 10, 6, 15, 8, 5, 13, 15, 13, 1, 12, 2, 3, 3, 4, 2, 4, 5, 9, 2, 9, 4, 5, 11],
"result": "valid"
},
{
"tcId": 3800,
"comment": "y = 0 and (y + a) % radix**16 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "6d4fb50c1ca1e7",
"msg": [12, 14, 9, 11, 4, 10, 1, 14, 10, 2, 5, 0, 11, 12, 9, 1, 9, 15, 7, 1, 4, 13, 0, 1, 6, 1, 12, 3, 0, 4, 2, 9],
"ct": [0, 12, 10, 8, 15, 2, 14, 2, 5, 3, 5, 3, 1, 8, 1, 1, 10, 1, 13, 7, 3, 0, 0, 12, 3, 0, 15, 13, 3, 13, 5, 8],
"result": "valid"
},
{
"tcId": 3801,
"comment": "y = 1 and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "ba2933775cd074",
"msg": [9, 7, 13, 0, 13, 1, 15, 15, 3, 3, 14, 3, 7, 5, 11, 0, 13, 11, 3, 9, 8, 5, 6, 11, 10, 8, 7, 5, 1, 3, 1, 7],
"ct": [8, 3, 1, 8, 11, 12, 4, 9, 5, 0, 14, 14, 12, 4, 5, 4, 5, 4, 3, 0, 11, 10, 7, 12, 8, 14, 4, 1, 13, 5, 6, 0],
"result": "valid"
},
{
"tcId": 3802,
"comment": "y = 1 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "ba2933775cd074",
"msg": [6, 8, 8, 10, 6, 8, 10, 11, 14, 9, 7, 0, 12, 14, 9, 10, 5, 7, 10, 3, 7, 2, 7, 14, 6, 7, 8, 9, 2, 15, 8, 15],
"ct": [12, 4, 6, 9, 9, 4, 12, 11, 8, 10, 6, 0, 12, 4, 15, 0, 6, 12, 13, 4, 11, 2, 9, 7, 6, 14, 0, 4, 9, 9, 2, 9],
"result": "valid"
},
{
"tcId": 3803,
"comment": "y = 1 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "ba2933775cd074",
"msg": [9, 7, 7, 8, 9, 15, 15, 13, 3, 9, 11, 8, 15, 10, 0, 9, 9, 1, 12, 3, 3, 13, 5, 10, 6, 14, 3, 2, 12, 7, 12, 15],
"ct": [14, 5, 9, 5, 2, 11, 4, 8, 15, 11, 14, 4, 12, 10, 9, 7, 15, 9, 10, 9, 1, 13, 5, 12, 6, 2, 9, 9, 0, 14, 3, 6],
"result": "valid"
},
{
"tcId": 3804,
"comment": "y = 1 and (y + a) % radix**16 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "ba2933775cd074",
"msg": [9, 12, 9, 11, 0, 6, 11, 15, 14, 1, 11, 13, 5, 13, 5, 4, 10, 7, 6, 15, 14, 15, 6, 2, 14, 8, 9, 15, 15, 7, 15, 13],
"ct": [15, 2, 9, 14, 5, 11, 15, 13, 3, 9, 8, 6, 14, 4, 12, 1, 5, 0, 0, 11, 11, 9, 12, 0, 3, 1, 2, 7, 3, 5, 11, 12],
"result": "valid"
},
{
"tcId": 3805,
"comment": "y = 1 and (y + a) % radix**16 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "ba2933775cd074",
"msg": [9, 0, 1, 4, 4, 7, 10, 9, 11, 15, 14, 4, 6, 7, 13, 15, 13, 8, 2, 1, 0, 2, 14, 3, 5, 11, 1, 6, 8, 10, 15, 11],
"ct": [14, 11, 4, 4, 0, 11, 15, 3, 5, 13, 0, 10, 15, 4, 10, 9, 2, 8, 13, 9, 9, 15, 9, 15, 14, 13, 13, 1, 10, 0, 7, 4],
"result": "valid"
},
{
"tcId": 3806,
"comment": "y is maximal and (y + a) % radix**16 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "1a7d247f69fe71",
"msg": [1, 10, 4, 9, 11, 9, 11, 9, 11, 10, 1, 0, 15, 9, 6, 11, 6, 7, 14, 8, 5, 1, 4, 14, 9, 11, 3, 11, 4, 8, 1, 14],
"ct": [13, 12, 11, 9, 4, 10, 1, 2, 0, 13, 8, 14, 8, 8, 12, 9, 5, 2, 13, 1, 6, 3, 2, 6, 6, 12, 15, 14, 15, 1, 11, 6],
"result": "valid"
},
{
"tcId": 3807,
"comment": "y is maximal and (y + a) % radix**16 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "1a7d247f69fe71",
"msg": [1, 14, 12, 14, 13, 2, 0, 7, 4, 2, 7, 2, 15, 13, 6, 5, 8, 3, 7, 5, 10, 12, 12, 9, 7, 10, 3, 9, 8, 15, 10, 12],
"ct": [14, 12, 4, 14, 4, 14, 5, 14, 8, 1, 10, 13, 7, 10, 3, 4, 13, 14, 4, 15, 6, 7, 14, 11, 6, 9, 3, 1, 15, 9, 12, 13],
"result": "valid"
},
{
"tcId": 3808,
"comment": "y is maximal and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "1a7d247f69fe71",
"msg": [12, 15, 4, 7, 2, 8, 13, 0, 1, 7, 9, 13, 11, 5, 2, 15, 9, 7, 10, 15, 11, 15, 3, 2, 0, 13, 9, 15, 15, 1, 13, 9],
"ct": [14, 6, 11, 5, 5, 2, 13, 15, 2, 6, 11, 4, 8, 2, 1, 8, 9, 4, 2, 4, 9, 12, 12, 0, 4, 6, 0, 4, 13, 0, 4, 0],
"result": "valid"
},
{
"tcId": 3809,
"comment": "y is maximal and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "1a7d247f69fe71",
"msg": [7, 0, 15, 10, 7, 15, 4, 9, 9, 5, 14, 14, 15, 13, 10, 8, 9, 15, 7, 4, 10, 5, 8, 10, 12, 12, 1, 0, 13, 8, 3, 11],
"ct": [5, 1, 11, 8, 14, 0, 2, 13, 1, 15, 2, 3, 4, 11, 15, 7, 12, 10, 7, 9, 7, 7, 4, 11, 4, 5, 5, 2, 10, 1, 6, 11],
"result": "valid"
},
{
"tcId": 3810,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "ba4379d713333d",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 2, 7, 15, 0, 13, 6, 2, 1, 8, 1, 5, 15, 5, 14],
"ct": [6, 3, 0, 11, 13, 12, 4, 6, 15, 8, 9, 7, 2, 3, 3, 15, 7, 8, 3, 6, 0, 10, 8, 14, 5, 9, 7, 12, 6, 13, 7, 6],
"result": "valid"
},
{
"tcId": 3811,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "ba4379d713333d",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 9, 10, 2, 7, 15, 0, 13, 6, 2, 1, 8, 1, 5, 15, 5, 14],
"ct": [10, 10, 7, 4, 4, 14, 11, 15, 14, 11, 7, 7, 7, 6, 5, 8, 1, 12, 11, 13, 7, 10, 5, 3, 10, 5, 14, 10, 3, 10, 0, 3],
"result": "valid"
},
{
"tcId": 3812,
"comment": "y is edge case for modular reduction and (y + a) % radix**16 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "ba4379d713333d",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 9, 10, 2, 7, 15, 0, 13, 6, 2, 1, 8, 1, 5, 15, 5, 14],
"ct": [7, 15, 2, 12, 9, 6, 13, 12, 5, 10, 3, 13, 11, 6, 15, 10, 3, 5, 14, 0, 9, 15, 2, 1, 7, 6, 12, 11, 11, 6, 14, 15],
"result": "valid"
},
{
"tcId": 3813,
"comment": "y is edge case for modular reduction and (y + a) % radix**16 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "ba4379d713333d",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 9, 10, 2, 7, 15, 0, 13, 6, 2, 1, 8, 1, 5, 15, 5, 14],
"ct": [5, 6, 6, 13, 2, 11, 0, 7, 10, 7, 14, 2, 13, 2, 5, 1, 10, 7, 14, 6, 13, 5, 2, 3, 14, 4, 1, 5, 14, 11, 13, 10],
"result": "valid"
},
{
"tcId": 3814,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "ba4379d713333d",
"msg": [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 2, 7, 15, 0, 13, 6, 2, 1, 8, 1, 5, 15, 5, 14],
"ct": [7, 13, 10, 13, 15, 6, 9, 6, 10, 2, 7, 11, 13, 9, 4, 11, 11, 3, 3, 11, 2, 12, 2, 11, 15, 0, 4, 11, 6, 15, 15, 9],
"result": "valid"
},
{
"tcId": 3815,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "ba4379d713333d",
"msg": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 10, 2, 7, 15, 0, 13, 6, 2, 1, 8, 1, 5, 15, 5, 14],
"ct": [9, 10, 3, 11, 13, 8, 6, 4, 7, 8, 3, 14, 0, 14, 0, 4, 1, 7, 12, 11, 11, 2, 3, 6, 11, 11, 12, 7, 10, 7, 8, 1],
"result": "valid"
},
{
"tcId": 3816,
"comment": "y is maximal after modular reduction and (y + a) % radix**16 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "65653186f3e81b",
"msg": [4, 8, 3, 14, 1, 10, 4, 2, 8, 12, 10, 14, 12, 12, 11, 10, 3, 10, 0, 8, 6, 5, 3, 6, 6, 14, 11, 2, 3, 11, 4, 5],
"ct": [1, 8, 1, 11, 9, 7, 4, 10, 12, 9, 0, 6, 13, 10, 15, 7, 15, 1, 10, 6, 11, 6, 6, 7, 13, 0, 1, 6, 8, 10, 8, 15],
"result": "valid"
},
{
"tcId": 3817,
"comment": "y is maximal after modular reduction and (y + a) % radix**16 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "65653186f3e81b",
"msg": [15, 5, 12, 0, 12, 4, 5, 3, 9, 6, 6, 13, 15, 2, 2, 7, 6, 8, 14, 10, 1, 4, 3, 3, 15, 15, 4, 13, 11, 15, 1, 4],
"ct": [1, 3, 13, 8, 15, 1, 2, 13, 5, 6, 15, 11, 11, 1, 4, 9, 9, 5, 15, 2, 0, 5, 4, 8, 1, 8, 11, 5, 5, 1, 7, 7],
"result": "valid"
},
{
"tcId": 3818,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "65653186f3e81b",
"msg": [5, 0, 1, 0, 13, 11, 5, 1, 2, 1, 9, 12, 8, 5, 7, 0, 10, 4, 9, 12, 3, 0, 10, 8, 4, 3, 9, 2, 12, 4, 2, 15],
"ct": [14, 1, 10, 2, 2, 10, 2, 13, 14, 2, 15, 11, 0, 15, 13, 8, 4, 12, 1, 1, 1, 6, 4, 2, 8, 9, 10, 13, 13, 15, 3, 15],
"result": "valid"
},
{
"tcId": 3819,
"comment": "y is maximal after modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c",
"tweak": "65653186f3e81b",
"msg": [10, 5, 6, 7, 5, 12, 8, 12, 14, 7, 10, 15, 4, 13, 11, 10, 6, 13, 13, 0, 2, 15, 5, 15, 14, 6, 11, 3, 11, 4, 7, 6],
"ct": [1, 13, 0, 15, 7, 12, 6, 2, 0, 12, 4, 15, 14, 7, 12, 3, 14, 9, 5, 4, 1, 9, 9, 15, 5, 14, 0, 11, 10, 9, 4, 0],
"result": "valid"
},
{
"tcId": 3820,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9358b34bc2b65d91c6f43c5006a3adb73cdb238ed7c073e1d51890ee9e4850fe",
"tweak": "a84fcd0ad195f474",
"msg": [-1, 0, 11, 6, 2, 12, 2, 15, 13, 14, 15, 11, 11, 6, 8, 3, 14, 0, 15, 7, 12, 0, 15, 10, 1, 4, 12, 0, 4, 11, 15, 2],
"ct": [6, 15, 6, 0, 10, 12, 0, 13, 1, 12, 13, 2, 11, 13, 0, 8, 11, 3, 13, 15, 15, 15, 6, 0, 3, 15, 7, 12, 10, 12, 8, 0],
"result": "invalid"
},
{
"tcId": 3821,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9358b34bc2b65d91c6f43c5006a3adb73cdb238ed7c073e1d51890ee9e4850fe",
"tweak": "a84fcd0ad195f474",
"msg": [9, 0, 11, 6, 2, 12, 2, 15, 13, 14, -1, 11, 11, 6, 8, 3, 14, 0, 15, 7, 12, 0, 15, 10, 1, 4, 12, 0, 4, 11, 15, 2],
"ct": [3, 8, 5, 14, 9, 0, 10, 1, 7, 0, 11, 1, 6, 10, 3, 6, 4, 11, 14, 0, 10, 6, 0, 3, 0, 9, 8, 1, 13, 3, 0, 11],
"result": "invalid"
},
{
"tcId": 3822,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9358b34bc2b65d91c6f43c5006a3adb73cdb238ed7c073e1d51890ee9e4850fe",
"tweak": "a84fcd0ad195f474",
"msg": [9, 0, 11, 6, 2, 12, 2, 15, 13, 14, 15, 11, 11, 6, 8, 3, 14, 0, 15, 7, 12, 0, 15, 10, 1, 4, 12, 0, 4, 11, 15, -1],
"ct": [8, 1, 13, 13, 2, 3, 10, 8, 13, 14, 6, 11, 5, 14, 2, 10, 9, 2, 0, 5, 7, 9, 2, 10, 7, 15, 9, 10, 6, 8, 1, 14],
"result": "invalid"
},
{
"tcId": 3823,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8c2e8b952867c705f33331269b4b156e6eab20265b34581772f88dcd65e16e0",
"tweak": "0674afe0283336c8",
"msg": [16, 7, 14, 6, 15, 13, 11, 1, 6, 14, 11, 7, 11, 5, 4, 5, 8, 2, 7, 5, 11, 15, 9, 0, 9, 8, 11, 10, 1, 3, 2, 5],
"ct": [4, 14, 7, 6, 0, 6, 7, 3, 4, 2, 13, 11, 12, 12, 6, 5, 13, 6, 9, 9, 14, 10, 1, 7, 10, 3, 10, 4, 1, 11, 6, 13],
"result": "invalid"
},
{
"tcId": 3824,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8c2e8b952867c705f33331269b4b156e6eab20265b34581772f88dcd65e16e0",
"tweak": "0674afe0283336c8",
"msg": [5, 7, 14, 6, 15, 13, 11, 1, 6, 14, 16, 7, 11, 5, 4, 5, 8, 2, 7, 5, 11, 15, 9, 0, 9, 8, 11, 10, 1, 3, 2, 5],
"ct": [12, 4, 11, 5, 1, 15, 14, 0, 9, 10, 3, 14, 8, 5, 6, 8, 11, 10, 6, 6, 2, 7, 9, 0, 6, 15, 3, 1, 12, 6, 3, 2],
"result": "invalid"
},
{
"tcId": 3825,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8c2e8b952867c705f33331269b4b156e6eab20265b34581772f88dcd65e16e0",
"tweak": "0674afe0283336c8",
"msg": [5, 7, 14, 6, 15, 13, 11, 1, 6, 14, 11, 7, 11, 5, 4, 5, 8, 2, 7, 5, 11, 15, 9, 0, 9, 8, 11, 10, 1, 3, 2, 16],
"ct": [4, 9, 11, 5, 10, 7, 11, 13, 3, 14, 4, 3, 12, 10, 3, 4, 10, 0, 5, 5, 15, 2, 5, 10, 13, 14, 8, 11, 0, 10, 15, 1],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 33,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3826,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "df76fc71b7d899068b43f16bc5858dbd",
"tweak": "8e55911ef156dfe2",
"msg": [15, 12, 8, 6, 5, 6, 5, 0, 9, 12, 1, 6, 13, 2, 2, 6, 12, 1, 12, 8, 14, 7, 7, 8, 8, 12, 2, 14, 3, 3, 12, 6, 9],
"ct": [14, 15, 10, 15, 5, 10, 10, 1, 5, 0, 14, 12, 1, 12, 15, 8, 12, 8, 15, 14, 10, 6, 2, 6, 15, 9, 6, 12, 15, 13, 2, 13, 13],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 40,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3827,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "ebac6d5741e58a3af7fd72a5db46b863",
"tweak": "fb13dc638ef728e5",
"msg": [0, 4, 4, 11, 14, 8, 9, 4, 4, 10, 14, 6, 1, 12, 1, 12, 5, 6, 13, 8, 14, 2, 10, 15, 0, 2, 11, 1, 6, 4, 5, 13, 1, 7, 1, 2, 4, 3, 13, 13],
"ct": [1, 12, 7, 8, 6, 15, 7, 6, 0, 2, 5, 3, 3, 8, 15, 3, 2, 1, 14, 0, 10, 7, 15, 11, 0, 9, 11, 14, 0, 3, 2, 5, 9, 5, 7, 7, 5, 11, 6, 0],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 48,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3828,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "b122a8953185d78aef9ca69a5b8309fb",
"tweak": "0acd7c7f71f36caf",
"msg": [8, 13, 13, 0, 0, 7, 7, 6, 12, 0, 11, 15, 13, 3, 7, 10, 8, 15, 5, 11, 3, 15, 7, 2, 10, 15, 6, 10, 11, 4, 12, 9, 14, 5, 0, 10, 12, 9, 3, 6, 8, 10, 15, 1, 2, 4, 11, 1],
"ct": [12, 1, 12, 10, 10, 15, 3, 8, 5, 5, 6, 7, 4, 0, 3, 11, 7, 5, 0, 3, 14, 10, 1, 10, 8, 15, 4, 13, 14, 2, 14, 8, 3, 3, 1, 15, 8, 8, 10, 0, 2, 5, 7, 12, 12, 3, 0, 0],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 49,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3829,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "6751213d1d6566b27655e74db9e1f864",
"tweak": "06fa9494a1f7d501",
"msg": [9, 9, 5, 1, 8, 5, 5, 7, 13, 9, 0, 13, 4, 9, 5, 12, 5, 2, 8, 9, 8, 6, 12, 5, 6, 11, 13, 1, 13, 6, 3, 8, 6, 7, 8, 6, 14, 12, 12, 7, 4, 5, 11, 6, 5, 8, 6, 5, 7],
"ct": [5, 3, 8, 7, 2, 7, 4, 13, 7, 12, 7, 5, 10, 13, 5, 3, 7, 10, 9, 0, 15, 13, 4, 2, 10, 0, 14, 5, 14, 1, 11, 3, 13, 14, 0, 1, 4, 5, 0, 7, 12, 11, 7, 13, 8, 8, 3, 4, 4],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 64,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3830,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "908bc4120a20f0043e43376761b2735e",
"tweak": "841888c5b9be1c84",
"msg": [13, 6, 7, 10, 11, 14, 2, 14, 14, 12, 6, 8, 6, 8, 4, 7, 8, 0, 8, 0, 15, 3, 3, 14, 6, 4, 9, 10, 2, 15, 3, 9, 4, 13, 9, 4, 10, 2, 12, 1, 15, 0, 13, 12, 6, 2, 7, 4, 13, 5, 3, 11, 0, 1, 14, 2, 3, 5, 10, 7, 1, 2, 9, 4],
"ct": [2, 9, 4, 1, 5, 9, 9, 13, 14, 6, 1, 7, 8, 6, 2, 13, 6, 8, 15, 11, 3, 1, 8, 12, 4, 14, 10, 4, 4, 11, 6, 0, 10, 14, 1, 6, 0, 10, 4, 2, 2, 0, 0, 11, 9, 8, 12, 7, 2, 7, 10, 12, 1, 4, 10, 13, 10, 0, 9, 12, 15, 9, 8, 11],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 65,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3831,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "c945c13570b5a262c58c6dac7480bbe0",
"tweak": "f1e07408b8c9feb7",
"msg": [7, 13, 6, 5, 5, 12, 14, 6, 15, 10, 0, 5, 4, 5, 11, 3, 11, 14, 2, 6, 7, 3, 1, 9, 6, 11, 15, 1, 15, 10, 14, 12, 2, 15, 6, 12, 10, 3, 14, 12, 11, 8, 9, 4, 12, 8, 3, 3, 13, 7, 12, 1, 6, 11, 5, 13, 12, 5, 5, 9, 0, 3, 6, 10, 12],
"ct": [4, 10, 10, 11, 1, 7, 1, 12, 2, 15, 14, 6, 0, 8, 3, 1, 2, 7, 15, 2, 10, 4, 1, 8, 4, 6, 13, 4, 8, 12, 1, 6, 2, 3, 12, 11, 0, 9, 8, 15, 3, 13, 12, 8, 1, 6, 10, 11, 12, 13, 13, 1, 6, 12, 13, 9, 10, 2, 15, 3, 10, 9, 4, 7, 8],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 80,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3832,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "f763833eb5dcad3df492092080b404b6",
"tweak": "46dc6b38a24f7002",
"msg": [15, 11, 15, 0, 13, 2, 8, 4, 12, 8, 13, 15, 6, 12, 15, 5, 11, 2, 1, 7, 4, 6, 10, 5, 10, 6, 4, 10, 6, 11, 13, 10, 0, 11, 13, 8, 11, 6, 3, 6, 7, 1, 12, 11, 9, 12, 4, 6, 0, 13, 10, 15, 3, 6, 5, 11, 7, 0, 6, 10, 9, 11, 0, 11, 5, 6, 9, 8, 13, 10, 9, 9, 1, 10, 3, 7, 13, 4, 13, 7],
"ct": [14, 2, 14, 13, 0, 6, 0, 4, 3, 7, 6, 12, 14, 0, 1, 4, 9, 10, 1, 8, 9, 2, 14, 8, 7, 13, 9, 15, 7, 5, 14, 0, 2, 1, 7, 3, 3, 6, 2, 10, 8, 8, 7, 1, 11, 11, 7, 4, 2, 11, 15, 11, 9, 0, 2, 13, 10, 11, 11, 0, 3, 12, 8, 2, 11, 9, 15, 14, 14, 2, 14, 4, 1, 3, 13, 12, 1, 8, 12, 7],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 81,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3833,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "dcaf5f2cc45949d99885ba01b3dc8100",
"tweak": "ff583462277212c3",
"msg": [8, 1, 9, 5, 13, 7, 13, 9, 4, 1, 1, 9, 15, 8, 6, 8, 15, 14, 6, 12, 6, 14, 1, 13, 3, 15, 15, 10, 12, 2, 11, 7, 3, 14, 9, 5, 12, 0, 11, 0, 5, 5, 3, 5, 2, 11, 14, 5, 12, 8, 13, 10, 12, 15, 15, 4, 14, 12, 12, 14, 2, 14, 14, 14, 8, 5, 14, 13, 0, 10, 6, 8, 11, 14, 12, 5, 14, 7, 8, 9, 10],
"ct": [1, 0, 4, 6, 6, 3, 7, 4, 7, 7, 8, 7, 12, 10, 4, 6, 14, 8, 9, 3, 1, 6, 4, 2, 3, 6, 13, 11, 3, 6, 6, 6, 0, 5, 6, 3, 4, 12, 5, 13, 14, 2, 9, 10, 0, 6, 2, 5, 3, 8, 10, 0, 10, 9, 14, 3, 5, 3, 10, 0, 13, 2, 8, 0, 9, 0, 3, 8, 8, 3, 10, 14, 7, 11, 4, 0, 5, 3, 0, 1, 2],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 96,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3834,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "012ead3764a8878e6b4c3e803725cc7d",
"tweak": "ff611a3af5a46c7d",
"msg": [10, 5, 6, 2, 3, 11, 6, 13, 0, 7, 9, 0, 7, 9, 2, 3, 14, 5, 11, 0, 8, 6, 5, 3, 9, 6, 3, 13, 9, 14, 15, 12, 15, 15, 12, 14, 12, 11, 4, 14, 15, 7, 5, 11, 1, 13, 2, 4, 0, 2, 10, 14, 0, 11, 10, 1, 5, 10, 2, 10, 2, 8, 15, 4, 3, 14, 2, 0, 7, 1, 5, 7, 4, 14, 9, 15, 1, 6, 3, 12, 3, 8, 4, 12, 3, 4, 10, 1, 8, 13, 14, 4, 9, 6, 0, 12],
"ct": [2, 12, 0, 8, 7, 6, 2, 15, 15, 12, 15, 0, 8, 3, 10, 4, 15, 10, 8, 3, 1, 15, 6, 1, 7, 1, 0, 2, 5, 4, 13, 3, 12, 15, 1, 14, 0, 9, 12, 5, 4, 6, 12, 2, 8, 8, 9, 9, 8, 2, 14, 2, 9, 11, 15, 4, 1, 9, 3, 9, 6, 11, 10, 13, 6, 14, 0, 6, 0, 14, 2, 1, 5, 9, 6, 2, 4, 14, 3, 9, 2, 8, 13, 10, 12, 14, 2, 12, 2, 14, 6, 2, 12, 11, 7, 6],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 97,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3835,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "89f429242e41f8e6f207ea6859c46abb",
"tweak": "7c07bf420f1b0eaf",
"msg": [3, 8, 7, 11, 9, 5, 10, 4, 11, 13, 8, 6, 10, 9, 4, 11, 4, 6, 12, 0, 0, 6, 2, 9, 2, 15, 12, 8, 2, 8, 1, 13, 3, 13, 8, 1, 4, 7, 4, 14, 2, 2, 11, 10, 15, 10, 11, 3, 8, 7, 8, 2, 11, 10, 6, 4, 9, 8, 3, 15, 7, 10, 8, 0, 12, 6, 11, 15, 8, 10, 11, 13, 9, 12, 3, 1, 9, 15, 1, 10, 15, 4, 9, 13, 6, 12, 14, 7, 14, 5, 6, 12, 11, 13, 5, 10, 1],
"ct": [12, 11, 13, 14, 6, 3, 3, 14, 2, 12, 13, 0, 14, 10, 14, 5, 6, 3, 1, 14, 3, 12, 15, 15, 4, 9, 2, 14, 7, 5, 6, 7, 9, 2, 8, 5, 14, 14, 2, 13, 7, 9, 11, 5, 0, 11, 3, 1, 1, 9, 14, 15, 3, 7, 1, 1, 5, 1, 4, 5, 4, 4, 0, 1, 11, 12, 12, 2, 14, 15, 7, 14, 6, 3, 8, 3, 12, 9, 9, 1, 10, 0, 10, 12, 6, 8, 6, 12, 3, 8, 8, 14, 13, 4, 7, 8, 15],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 112,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3836,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "147af353d1ab1fecd46f006652fa3f02",
"tweak": "be7da64ac4f04290",
"msg": [10, 8, 15, 4, 3, 3, 8, 12, 12, 6, 0, 12, 2, 11, 15, 15, 2, 10, 15, 14, 10, 4, 8, 15, 7, 15, 14, 13, 6, 8, 15, 15, 10, 3, 4, 12, 4, 12, 11, 4, 1, 9, 10, 12, 14, 2, 12, 11, 8, 4, 2, 10, 15, 3, 5, 6, 13, 13, 11, 1, 1, 1, 14, 5, 4, 1, 13, 3, 10, 7, 12, 9, 13, 11, 7, 3, 13, 1, 11, 7, 14, 1, 10, 2, 5, 13, 6, 4, 14, 1, 9, 10, 10, 6, 9, 5, 6, 15, 0, 3, 13, 7, 8, 4, 15, 13, 12, 11, 6, 8, 13, 14],
"ct": [14, 7, 5, 0, 15, 14, 9, 9, 2, 11, 5, 9, 1, 7, 3, 4, 2, 11, 13, 13, 6, 10, 15, 1, 9, 12, 6, 8, 8, 3, 10, 12, 13, 6, 12, 12, 4, 5, 9, 11, 5, 1, 9, 10, 6, 3, 3, 2, 13, 4, 3, 3, 13, 0, 1, 11, 5, 11, 7, 7, 10, 6, 14, 11, 3, 7, 1, 3, 4, 9, 0, 10, 11, 8, 14, 1, 9, 2, 1, 3, 2, 2, 9, 6, 13, 0, 8, 12, 8, 1, 1, 15, 12, 15, 3, 14, 12, 6, 12, 4, 4, 14, 13, 9, 4, 7, 5, 3, 3, 1, 12, 3],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 113,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3837,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "00e77aea9ae0b457d93722e0556d42b8",
"tweak": "6fa4c60427454040",
"msg": [1, 5, 10, 15, 11, 7, 10, 1, 2, 0, 3, 13, 15, 7, 14, 14, 2, 15, 0, 10, 4, 15, 12, 13, 13, 5, 10, 2, 3, 14, 6, 9, 9, 4, 0, 9, 10, 5, 0, 4, 4, 4, 12, 15, 4, 0, 8, 4, 14, 5, 0, 11, 14, 2, 3, 8, 10, 4, 1, 0, 7, 12, 15, 2, 8, 9, 0, 13, 9, 6, 15, 13, 8, 12, 9, 11, 4, 14, 15, 15, 7, 3, 6, 2, 11, 7, 0, 12, 3, 12, 0, 5, 5, 6, 8, 7, 0, 2, 5, 9, 13, 8, 4, 9, 12, 14, 1, 6, 14, 10, 5, 7, 1],
"ct": [14, 3, 7, 4, 9, 0, 3, 6, 12, 1, 4, 10, 3, 6, 15, 1, 7, 2, 9, 15, 9, 1, 0, 6, 5, 11, 2, 1, 9, 3, 14, 1, 6, 14, 9, 15, 1, 14, 5, 11, 11, 12, 2, 11, 9, 7, 5, 14, 15, 15, 9, 1, 6, 9, 8, 0, 9, 0, 4, 7, 13, 3, 4, 6, 8, 0, 8, 1, 14, 15, 2, 12, 15, 6, 15, 2, 8, 0, 15, 15, 9, 11, 4, 11, 12, 13, 4, 13, 1, 0, 9, 7, 5, 1, 11, 7, 13, 4, 5, 4, 0, 0, 11, 14, 6, 7, 2, 12, 8, 13, 0, 15, 5],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 128,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3838,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "6e2c702c4dd6ac18054df9905a2a6d63",
"tweak": "245070546cc82a65",
"msg": [8, 14, 10, 11, 2, 5, 7, 0, 12, 4, 11, 9, 2, 11, 15, 2, 13, 3, 6, 15, 9, 8, 14, 15, 4, 12, 9, 9, 12, 15, 6, 8, 8, 1, 0, 15, 0, 10, 11, 11, 14, 10, 14, 12, 5, 8, 12, 7, 7, 13, 14, 14, 10, 5, 0, 4, 5, 0, 10, 13, 15, 12, 6, 6, 2, 8, 10, 9, 14, 4, 15, 9, 9, 4, 9, 0, 12, 4, 1, 15, 12, 5, 7, 8, 4, 13, 15, 1, 5, 0, 5, 10, 4, 1, 7, 13, 12, 10, 7, 4, 11, 5, 0, 7, 4, 6, 15, 4, 6, 6, 12, 13, 7, 2, 14, 1, 15, 13, 1, 4, 13, 1, 12, 8, 15, 6, 7, 2],
"ct": [6, 0, 8, 11, 4, 7, 15, 11, 3, 12, 3, 0, 15, 7, 6, 14, 10, 10, 11, 5, 11, 9, 8, 2, 6, 14, 6, 5, 1, 14, 8, 5, 13, 12, 1, 14, 0, 2, 14, 11, 3, 12, 12, 2, 15, 8, 12, 8, 14, 4, 14, 5, 14, 12, 1, 5, 0, 12, 2, 14, 5, 6, 14, 15, 6, 14, 6, 13, 3, 11, 12, 4, 2, 7, 15, 7, 9, 14, 7, 15, 4, 1, 13, 8, 9, 2, 11, 7, 15, 14, 4, 15, 13, 4, 9, 12, 3, 8, 4, 3, 5, 7, 13, 0, 6, 0, 13, 1, 3, 3, 7, 14, 4, 15, 5, 3, 10, 0, 12, 4, 12, 12, 4, 15, 1, 11, 6, 5],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 260,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3839,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "39fd85d1a418270e382f927fa7d69afe",
"tweak": "3a0bb251adfea53c",
"msg": [14, 3, 6, 3, 11, 12, 13, 14, 6, 5, 15, 7, 5, 12, 15, 8, 3, 7, 11, 1, 4, 10, 2, 6, 2, 0, 10, 8, 10, 13, 10, 3, 1, 1, 12, 1, 9, 10, 3, 11, 8, 14, 7, 12, 14, 13, 8, 15, 10, 3, 3, 15, 11, 7, 13, 10, 11, 0, 5, 0, 9, 7, 0, 9, 13, 12, 15, 11, 12, 15, 13, 9, 14, 10, 6, 8, 6, 9, 4, 5, 15, 4, 8, 6, 9, 12, 5, 6, 13, 6, 6, 15, 11, 5, 10, 10, 10, 7, 3, 0, 4, 4, 8, 3, 13, 12, 2, 14, 6, 6, 3, 13, 11, 7, 1, 15, 15, 5, 14, 3, 15, 1, 15, 13, 2, 13, 3, 15, 13, 3, 10, 11, 11, 0, 5, 6, 13, 9, 0, 5, 14, 4, 14, 12, 10, 10, 2, 13, 12, 11, 0, 10, 5, 10, 6, 11, 11, 11, 7, 4, 9, 2, 7, 14, 15, 3, 3, 9, 15, 1, 3, 4, 14, 6, 1, 4, 9, 13, 0, 4, 13, 1, 9, 8, 7, 5, 5, 0, 2, 9, 8, 3, 0, 2, 9, 7, 8, 3, 13, 7, 12, 14, 4, 11, 3, 12, 13, 2, 12, 14, 1, 13, 4, 12, 6, 15, 10, 8, 3, 11, 8, 0, 11, 1, 11, 10, 11, 15, 15, 13, 13, 9, 1, 8, 14, 6, 15, 8, 8, 5, 12, 2, 9, 0, 9, 12, 6, 3, 12, 9, 0, 5, 2, 15, 5, 14, 8, 6, 4, 1],
"ct": [9, 2, 12, 7, 12, 7, 15, 8, 0, 8, 10, 0, 6, 2, 6, 7, 1, 5, 4, 3, 8, 4, 8, 14, 5, 10, 6, 8, 1, 1, 10, 3, 12, 11, 3, 1, 5, 0, 4, 3, 14, 5, 11, 4, 1, 4, 2, 6, 13, 11, 8, 5, 10, 13, 3, 4, 15, 8, 2, 10, 15, 0, 6, 1, 3, 13, 6, 2, 3, 3, 10, 0, 11, 10, 13, 11, 2, 13, 12, 11, 12, 4, 11, 14, 6, 10, 5, 3, 1, 0, 11, 5, 13, 2, 5, 13, 12, 5, 15, 11, 1, 0, 1, 6, 0, 0, 10, 4, 9, 9, 13, 2, 8, 2, 0, 5, 8, 15, 14, 15, 4, 1, 2, 13, 0, 4, 7, 8, 10, 10, 4, 8, 9, 10, 4, 11, 0, 9, 2, 6, 1, 6, 12, 10, 4, 14, 0, 13, 1, 5, 11, 13, 9, 14, 2, 14, 10, 11, 14, 4, 9, 0, 10, 9, 15, 4, 0, 7, 0, 3, 15, 6, 3, 9, 6, 15, 3, 12, 15, 5, 12, 1, 10, 13, 3, 4, 2, 9, 12, 15, 13, 3, 9, 4, 13, 9, 0, 15, 7, 10, 0, 6, 8, 6, 5, 3, 4, 6, 7, 9, 2, 14, 10, 6, 10, 11, 9, 10, 7, 8, 11, 6, 4, 7, 2, 10, 4, 3, 15, 9, 10, 15, 6, 3, 8, 4, 10, 7, 0, 10, 11, 12, 3, 7, 5, 9, 11, 11, 8, 14, 8, 4, 13, 12, 2, 4, 6, 9, 1, 11],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 33,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3840,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "c873cf24452bb6d1ac26d53a77387c345eb0d8567f49d5ea",
"tweak": "b46136fc98b7e9f8",
"msg": [9, 1, 4, 5, 14, 12, 12, 10, 0, 15, 7, 12, 10, 11, 4, 11, 1, 2, 3, 15, 1, 6, 2, 10, 6, 1, 9, 14, 11, 12, 15, 10, 9],
"ct": [9, 12, 4, 13, 7, 15, 4, 2, 15, 12, 0, 14, 2, 3, 11, 12, 0, 15, 8, 3, 12, 8, 15, 1, 4, 0, 3, 9, 5, 11, 0, 10, 3],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 40,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3841,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "874c932451575931e99c482805c40441d978af9c68bd82af",
"tweak": "f4a660ef48089bb0",
"msg": [12, 0, 12, 6, 7, 5, 3, 6, 11, 15, 13, 6, 7, 14, 6, 0, 2, 13, 14, 9, 13, 10, 14, 9, 2, 12, 4, 3, 5, 1, 5, 9, 3, 11, 2, 4, 6, 7, 11, 11],
"ct": [2, 14, 0, 11, 3, 0, 12, 9, 15, 14, 6, 7, 0, 3, 11, 0, 3, 2, 4, 2, 8, 14, 4, 1, 1, 1, 4, 11, 1, 8, 3, 1, 2, 8, 2, 9, 0, 7, 0, 11],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 48,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3842,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "f0a4bbd84f16dad36be4373b711070c4124c18bcdfab8c2a",
"tweak": "6142f782175ce964",
"msg": [5, 15, 5, 9, 15, 5, 6, 14, 15, 13, 1, 4, 3, 11, 11, 5, 11, 10, 6, 14, 11, 15, 7, 0, 13, 2, 5, 12, 2, 1, 1, 15, 7, 15, 11, 4, 7, 12, 12, 12, 10, 15, 9, 14, 15, 8, 7, 14],
"ct": [3, 6, 2, 2, 8, 9, 1, 7, 5, 1, 3, 0, 1, 6, 13, 15, 2, 1, 8, 5, 4, 6, 13, 8, 1, 13, 3, 11, 9, 12, 13, 6, 14, 6, 12, 2, 5, 14, 8, 3, 1, 4, 4, 10, 8, 5, 15, 13],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 49,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3843,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "65ef34b1d89420481ba84d3bfc848142fd8b8605643463ad",
"tweak": "9b2b3168b04da219",
"msg": [12, 7, 15, 10, 11, 6, 2, 2, 11, 2, 3, 0, 15, 2, 3, 7, 8, 1, 7, 10, 7, 5, 7, 14, 5, 6, 5, 15, 4, 6, 14, 1, 6, 7, 14, 14, 0, 9, 14, 10, 13, 11, 14, 12, 12, 12, 4, 7, 7],
"ct": [8, 15, 13, 5, 9, 7, 4, 12, 2, 4, 6, 8, 4, 8, 8, 1, 4, 7, 15, 12, 12, 10, 8, 10, 10, 15, 2, 7, 5, 15, 12, 12, 15, 5, 14, 3, 12, 4, 8, 9, 6, 15, 3, 11, 1, 12, 11, 5, 10],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 64,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3844,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "e4c130f163d45035558190d51f439765679a202370a0ce7f",
"tweak": "d99a093ac4bd3488",
"msg": [13, 13, 2, 4, 6, 10, 14, 6, 14, 3, 12, 0, 6, 3, 5, 8, 8, 8, 13, 10, 12, 1, 4, 13, 8, 7, 12, 2, 3, 15, 2, 1, 11, 7, 8, 15, 0, 6, 5, 5, 6, 3, 2, 8, 8, 0, 11, 13, 9, 2, 11, 9, 10, 9, 1, 12, 12, 8, 9, 11, 1, 9, 3, 4],
"ct": [12, 15, 14, 7, 8, 9, 15, 3, 2, 9, 2, 7, 15, 0, 0, 14, 14, 9, 8, 1, 13, 6, 9, 13, 15, 2, 14, 0, 1, 7, 11, 9, 0, 15, 0, 10, 10, 1, 9, 7, 1, 6, 11, 15, 7, 2, 2, 4, 12, 6, 12, 8, 9, 14, 15, 13, 1, 11, 13, 6, 8, 0, 9, 11],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 65,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3845,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "8b8eaed962db0042a7016dcf4324721463c3dc2b02621e2f",
"tweak": "9e87e82de847d792",
"msg": [2, 13, 5, 10, 0, 14, 4, 0, 7, 3, 6, 9, 7, 3, 3, 14, 8, 8, 4, 3, 0, 6, 4, 8, 7, 8, 14, 10, 10, 0, 1, 8, 3, 14, 0, 0, 10, 4, 11, 14, 4, 10, 4, 13, 4, 15, 15, 6, 2, 3, 9, 13, 1, 15, 15, 9, 7, 13, 14, 6, 2, 4, 9, 11, 8],
"ct": [13, 15, 15, 7, 1, 6, 8, 2, 8, 12, 2, 8, 2, 11, 12, 2, 2, 7, 0, 9, 11, 12, 12, 12, 13, 10, 8, 5, 6, 8, 8, 3, 7, 2, 4, 9, 5, 14, 15, 5, 10, 4, 9, 11, 0, 5, 0, 9, 10, 6, 2, 13, 6, 11, 11, 13, 3, 1, 0, 1, 9, 12, 8, 2, 4],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 80,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3846,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "c3290a053478ca018533e702e2d0bf805933488260457c79",
"tweak": "c814a8fb2641f8ef",
"msg": [10, 1, 15, 3, 2, 3, 4, 3, 15, 12, 3, 11, 13, 1, 3, 9, 14, 2, 9, 8, 11, 2, 14, 9, 2, 12, 4, 10, 9, 8, 5, 10, 9, 1, 0, 3, 12, 13, 4, 7, 2, 15, 5, 9, 1, 9, 4, 13, 0, 12, 15, 13, 14, 2, 11, 9, 2, 13, 1, 4, 0, 8, 0, 2, 13, 10, 9, 8, 11, 8, 12, 9, 9, 15, 10, 2, 11, 10, 2, 0],
"ct": [11, 5, 2, 0, 13, 12, 15, 7, 14, 5, 10, 11, 3, 14, 4, 6, 10, 15, 3, 10, 4, 4, 11, 0, 6, 15, 3, 11, 4, 1, 15, 3, 13, 13, 7, 9, 11, 15, 9, 14, 9, 15, 10, 11, 3, 6, 14, 10, 10, 2, 15, 11, 6, 12, 2, 4, 13, 7, 15, 15, 12, 11, 15, 12, 15, 3, 4, 11, 0, 0, 13, 3, 9, 12, 6, 6, 8, 11, 0, 0],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 81,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3847,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "54e76107f9a1dfdc177496350f0ad46c0ab229e1e504157c",
"tweak": "17de988e050a41d1",
"msg": [11, 2, 7, 7, 15, 4, 1, 14, 0, 12, 15, 9, 1, 2, 2, 6, 10, 5, 13, 6, 13, 2, 7, 0, 4, 15, 13, 10, 1, 5, 5, 12, 8, 5, 11, 7, 8, 6, 12, 0, 13, 3, 12, 1, 2, 14, 6, 9, 5, 2, 1, 15, 10, 4, 0, 3, 5, 1, 14, 0, 3, 4, 13, 11, 2, 6, 1, 1, 1, 12, 2, 7, 12, 6, 11, 8, 8, 6, 1, 7, 4],
"ct": [9, 9, 15, 7, 11, 7, 6, 8, 5, 5, 14, 5, 5, 3, 13, 12, 8, 7, 2, 12, 9, 6, 0, 7, 0, 14, 5, 9, 8, 9, 3, 4, 0, 10, 9, 7, 1, 1, 11, 1, 7, 4, 7, 13, 6, 6, 0, 8, 13, 0, 9, 0, 7, 6, 7, 6, 8, 6, 11, 3, 13, 3, 14, 7, 3, 4, 3, 2, 1, 15, 14, 5, 6, 13, 2, 3, 10, 8, 10, 6, 12],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 96,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3848,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "1fb3e00f0941b7d4669efd59238976850efe2dd40e1de4a7",
"tweak": "0c69258434f811b0",
"msg": [10, 2, 4, 3, 1, 9, 12, 6, 7, 13, 11, 7, 14, 11, 3, 10, 4, 9, 9, 5, 15, 14, 4, 1, 4, 7, 3, 11, 13, 14, 4, 14, 9, 2, 7, 6, 13, 12, 13, 2, 13, 2, 9, 9, 6, 5, 10, 6, 6, 12, 8, 11, 7, 1, 2, 2, 10, 14, 1, 7, 0, 0, 2, 0, 11, 7, 4, 7, 15, 6, 13, 7, 13, 0, 3, 6, 9, 6, 5, 6, 6, 8, 12, 10, 14, 13, 6, 0, 13, 12, 10, 4, 15, 0, 2, 9],
"ct": [6, 15, 8, 9, 6, 8, 1, 3, 12, 1, 9, 0, 2, 13, 2, 1, 9, 13, 8, 3, 13, 13, 3, 5, 1, 14, 0, 7, 6, 15, 11, 8, 15, 12, 14, 11, 6, 8, 2, 4, 4, 5, 14, 0, 4, 1, 9, 11, 13, 9, 11, 6, 3, 5, 12, 8, 10, 13, 7, 11, 12, 1, 1, 6, 3, 12, 12, 5, 3, 10, 13, 1, 1, 3, 10, 4, 6, 8, 14, 2, 4, 14, 9, 6, 15, 15, 10, 4, 6, 14, 8, 2, 6, 4, 6, 15],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 97,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3849,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "b905157d17f4a51aee1b95d2fc92a54d4480c56eb5335109",
"tweak": "d5895d0c83fb093c",
"msg": [11, 2, 13, 12, 2, 7, 15, 6, 3, 2, 9, 4, 4, 1, 0, 1, 12, 7, 10, 2, 4, 1, 0, 5, 6, 15, 8, 0, 8, 4, 12, 14, 11, 11, 1, 4, 14, 4, 4, 3, 1, 3, 15, 10, 6, 15, 13, 13, 11, 5, 0, 4, 11, 15, 15, 7, 7, 4, 5, 11, 7, 1, 2, 15, 10, 5, 4, 2, 10, 9, 10, 15, 14, 4, 2, 6, 11, 2, 14, 10, 6, 12, 10, 9, 14, 7, 0, 1, 8, 5, 14, 4, 0, 4, 5, 9, 6],
"ct": [3, 13, 15, 2, 4, 3, 3, 14, 3, 0, 8, 7, 13, 11, 5, 6, 2, 3, 7, 12, 8, 5, 7, 4, 12, 14, 11, 12, 1, 9, 14, 12, 3, 5, 0, 13, 12, 9, 13, 5, 15, 0, 3, 7, 0, 6, 15, 13, 10, 3, 12, 4, 9, 12, 3, 6, 9, 4, 9, 15, 10, 15, 12, 15, 3, 3, 15, 14, 4, 8, 5, 10, 11, 2, 9, 9, 4, 7, 1, 8, 3, 10, 9, 12, 11, 3, 5, 11, 0, 3, 14, 13, 5, 3, 9, 1, 11],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 112,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3850,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "31467e7def864c39cf088efcaf323912076afe629ab5d1c7",
"tweak": "873b588942cbd9f0",
"msg": [13, 10, 5, 11, 3, 10, 13, 11, 15, 13, 13, 9, 5, 9, 11, 4, 10, 7, 0, 2, 3, 4, 8, 15, 1, 1, 14, 2, 14, 9, 14, 1, 12, 13, 0, 13, 2, 2, 15, 1, 15, 13, 3, 8, 14, 10, 2, 15, 3, 0, 3, 5, 3, 6, 15, 7, 5, 1, 15, 11, 0, 12, 7, 14, 3, 14, 6, 12, 2, 10, 7, 14, 1, 5, 10, 14, 5, 8, 13, 6, 13, 7, 9, 11, 13, 8, 6, 14, 8, 13, 14, 15, 7, 6, 13, 4, 6, 0, 14, 13, 0, 12, 1, 4, 9, 4, 4, 7, 8, 7, 2, 12],
"ct": [12, 10, 11, 3, 11, 3, 9, 7, 6, 14, 9, 7, 13, 11, 1, 0, 12, 6, 5, 0, 2, 8, 10, 5, 3, 9, 11, 9, 10, 12, 7, 8, 12, 3, 5, 8, 6, 13, 13, 8, 8, 13, 1, 9, 13, 14, 6, 7, 10, 5, 4, 0, 10, 2, 11, 1, 6, 3, 15, 8, 1, 4, 9, 8, 6, 6, 14, 14, 6, 14, 3, 5, 3, 5, 8, 9, 5, 12, 10, 11, 0, 3, 6, 12, 10, 10, 1, 1, 2, 2, 12, 8, 4, 8, 11, 8, 1, 15, 2, 5, 9, 8, 1, 4, 11, 2, 5, 0, 7, 4, 1, 5],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 113,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3851,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "ca5bfac17310c32811ef1abb7d52e74cbf1ade6ccfaf6f85",
"tweak": "600e7cd0883ce674",
"msg": [13, 0, 7, 1, 7, 8, 3, 4, 8, 6, 12, 10, 4, 13, 13, 9, 8, 10, 14, 15, 14, 12, 1, 7, 6, 9, 11, 4, 11, 3, 5, 13, 4, 7, 4, 1, 3, 12, 2, 2, 11, 15, 7, 13, 1, 0, 0, 6, 3, 0, 6, 6, 14, 15, 4, 13, 2, 12, 9, 2, 5, 9, 8, 7, 11, 3, 12, 2, 13, 3, 3, 12, 12, 1, 3, 14, 11, 13, 4, 4, 15, 9, 5, 10, 14, 6, 4, 5, 7, 2, 9, 4, 13, 2, 13, 9, 6, 0, 3, 15, 12, 6, 13, 13, 4, 15, 4, 13, 8, 2, 10, 6, 1],
"ct": [11, 15, 3, 0, 7, 2, 2, 2, 3, 12, 3, 6, 3, 11, 2, 14, 6, 9, 12, 13, 13, 15, 12, 11, 7, 14, 14, 7, 5, 4, 5, 12, 3, 8, 7, 8, 15, 13, 8, 2, 3, 14, 2, 1, 2, 14, 11, 5, 5, 4, 4, 1, 13, 1, 13, 12, 0, 8, 14, 12, 5, 11, 6, 13, 2, 0, 9, 13, 4, 0, 11, 0, 8, 5, 10, 9, 8, 7, 10, 11, 2, 4, 3, 10, 5, 5, 13, 5, 6, 3, 12, 0, 2, 14, 13, 8, 6, 9, 6, 15, 0, 5, 8, 3, 3, 2, 2, 0, 2, 11, 11, 1, 4],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 128,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3852,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "f38798eb8567d4a7f70c50782361b5a6261d07e43c8b54ca",
"tweak": "36c24b7c62ee3538",
"msg": [12, 7, 2, 11, 1, 4, 9, 12, 13, 9, 8, 8, 12, 10, 0, 9, 11, 8, 11, 4, 11, 3, 12, 13, 14, 14, 3, 8, 6, 10, 9, 10, 13, 15, 3, 0, 12, 13, 0, 3, 8, 14, 10, 15, 2, 5, 11, 14, 0, 11, 1, 8, 6, 10, 8, 12, 4, 9, 9, 14, 5, 4, 4, 1, 12, 6, 14, 5, 7, 15, 4, 2, 6, 9, 12, 9, 4, 15, 14, 9, 14, 4, 1, 9, 2, 12, 7, 13, 4, 0, 12, 7, 12, 8, 10, 15, 6, 12, 2, 2, 5, 0, 7, 7, 6, 7, 0, 0, 13, 0, 2, 11, 13, 9, 7, 3, 2, 4, 15, 11, 3, 11, 3, 14, 15, 3, 1, 14],
"ct": [2, 8, 1, 3, 14, 3, 10, 2, 11, 4, 10, 3, 3, 15, 13, 11, 9, 5, 7, 10, 7, 8, 15, 12, 5, 11, 14, 0, 8, 14, 5, 3, 14, 6, 10, 12, 8, 8, 14, 8, 13, 0, 3, 13, 11, 15, 10, 10, 14, 4, 1, 14, 7, 12, 4, 6, 8, 4, 4, 4, 1, 1, 11, 1, 3, 5, 6, 0, 7, 3, 10, 4, 1, 0, 12, 3, 7, 6, 3, 3, 10, 11, 3, 13, 6, 0, 6, 15, 14, 9, 4, 10, 15, 10, 12, 12, 15, 12, 1, 9, 8, 10, 4, 0, 7, 2, 3, 1, 14, 13, 14, 12, 10, 8, 2, 2, 6, 14, 13, 9, 2, 8, 7, 8, 9, 13, 7, 11],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 260,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3853,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "ddf845415ef282ad312951d506329229d34582b869cec20f",
"tweak": "fa3a2a07855bde0b",
"msg": [0, 2, 12, 13, 10, 7, 13, 8, 13, 15, 11, 15, 15, 11, 2, 6, 13, 10, 8, 11, 15, 2, 4, 4, 1, 9, 15, 7, 0, 2, 2, 7, 4, 4, 0, 9, 1, 3, 11, 15, 5, 7, 10, 9, 12, 15, 10, 6, 6, 4, 10, 14, 12, 9, 11, 15, 1, 7, 3, 15, 7, 2, 4, 7, 14, 5, 7, 7, 11, 0, 10, 15, 12, 12, 0, 3, 3, 13, 13, 6, 3, 4, 0, 15, 9, 14, 5, 4, 6, 3, 1, 9, 5, 6, 3, 7, 15, 13, 5, 15, 15, 2, 8, 12, 1, 13, 11, 7, 5, 13, 13, 3, 12, 0, 13, 12, 7, 15, 4, 3, 15, 10, 14, 2, 2, 5, 8, 0, 11, 14, 10, 6, 5, 5, 3, 9, 10, 15, 9, 9, 6, 14, 12, 5, 12, 13, 4, 6, 11, 7, 10, 7, 0, 9, 8, 0, 1, 14, 0, 7, 1, 12, 5, 11, 5, 5, 2, 7, 6, 10, 11, 14, 10, 7, 6, 11, 7, 9, 7, 9, 5, 14, 8, 13, 5, 9, 9, 7, 13, 15, 0, 2, 2, 11, 12, 12, 7, 15, 12, 6, 2, 2, 2, 4, 9, 8, 9, 3, 0, 7, 11, 3, 7, 10, 12, 15, 13, 4, 14, 9, 0, 7, 7, 2, 8, 4, 9, 2, 12, 0, 1, 3, 6, 5, 15, 2, 8, 6, 14, 8, 10, 14, 4, 9, 8, 9, 9, 8, 9, 1, 2, 1, 1, 14, 11, 9, 7, 15, 13, 3],
"ct": [9, 4, 13, 3, 15, 8, 3, 6, 0, 15, 9, 1, 10, 10, 11, 11, 8, 7, 1, 12, 0, 10, 1, 1, 14, 10, 8, 11, 1, 9, 11, 6, 0, 15, 8, 12, 6, 6, 0, 0, 13, 11, 4, 7, 10, 9, 5, 13, 7, 13, 8, 9, 2, 3, 10, 10, 3, 7, 8, 12, 8, 6, 2, 0, 14, 10, 7, 12, 4, 12, 11, 1, 1, 10, 7, 15, 14, 15, 8, 3, 0, 6, 11, 7, 14, 13, 3, 4, 13, 4, 4, 12, 14, 1, 1, 9, 6, 14, 6, 3, 13, 14, 1, 7, 5, 12, 8, 2, 9, 13, 15, 9, 2, 9, 8, 7, 0, 13, 12, 4, 10, 11, 6, 3, 2, 10, 3, 9, 14, 5, 6, 4, 4, 9, 1, 11, 12, 3, 8, 1, 5, 1, 1, 13, 11, 9, 0, 14, 8, 14, 0, 11, 15, 13, 7, 7, 10, 7, 10, 2, 12, 5, 2, 2, 4, 0, 2, 0, 11, 6, 8, 14, 7, 2, 11, 1, 11, 7, 14, 13, 4, 0, 2, 2, 3, 8, 12, 10, 6, 14, 11, 1, 4, 10, 4, 13, 7, 2, 14, 2, 10, 3, 5, 2, 3, 3, 9, 1, 1, 11, 4, 12, 8, 11, 8, 5, 15, 6, 13, 3, 2, 1, 13, 1, 11, 15, 13, 7, 12, 14, 2, 10, 8, 0, 11, 15, 1, 6, 4, 9, 13, 8, 3, 10, 13, 14, 11, 15, 13, 1, 3, 5, 7, 6, 10, 10, 5, 0, 6, 6],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 33,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3854,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "ff5595a976430f9c424459d7206cfa55562f5f2328f12e31232499fb1e7c49b4",
"tweak": "2d1ad468fddd0754",
"msg": [5, 8, 4, 8, 11, 7, 8, 15, 8, 6, 3, 1, 9, 11, 10, 8, 5, 4, 3, 3, 14, 5, 13, 13, 8, 13, 4, 12, 7, 8, 0, 13, 6],
"ct": [15, 13, 13, 12, 8, 10, 14, 15, 7, 9, 12, 2, 10, 3, 12, 8, 5, 14, 5, 15, 13, 2, 0, 15, 14, 0, 12, 5, 0, 5, 3, 6, 12],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 40,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3855,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "44d6353fd4623666bb7617a2235ebe645e1685dc11e084d7408c75042d94c06c",
"tweak": "e0b69ccb91ebb7a3",
"msg": [15, 13, 2, 5, 10, 10, 14, 2, 7, 5, 9, 0, 10, 2, 14, 15, 3, 4, 11, 5, 10, 9, 6, 4, 6, 14, 9, 0, 9, 2, 9, 7, 13, 12, 11, 8, 5, 2, 9, 14],
"ct": [11, 7, 5, 3, 0, 4, 5, 0, 3, 4, 5, 11, 10, 2, 15, 0, 11, 7, 1, 10, 4, 6, 4, 10, 5, 4, 3, 1, 0, 10, 4, 0, 10, 14, 4, 9, 0, 0, 7, 1],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 48,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3856,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "9a5e26267dd78bbdea69154e593bea02777e9638b8d5b074f2ea690ab8992a4c",
"tweak": "6dc4c5a01eba799d",
"msg": [10, 1, 12, 14, 9, 2, 4, 6, 7, 13, 15, 5, 1, 15, 2, 7, 8, 11, 0, 14, 2, 11, 5, 8, 15, 5, 8, 6, 15, 7, 2, 6, 6, 13, 2, 0, 8, 3, 4, 6, 9, 15, 2, 7, 1, 2, 6, 14],
"ct": [11, 13, 2, 1, 13, 7, 12, 12, 6, 10, 4, 5, 1, 6, 8, 13, 7, 5, 2, 14, 1, 8, 1, 15, 13, 1, 5, 13, 9, 7, 8, 5, 4, 15, 6, 2, 14, 0, 9, 10, 7, 7, 15, 15, 1, 13, 1, 8],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 49,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3857,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "6a63c0ec794a508540f5c63d051a5896850a05a6369b402740a4d48c9a3efddb",
"tweak": "44f02092cfa81cc3",
"msg": [3, 7, 14, 5, 14, 6, 9, 11, 1, 7, 6, 6, 15, 7, 12, 0, 4, 7, 4, 5, 10, 4, 15, 9, 1, 8, 1, 15, 10, 13, 1, 0, 0, 9, 3, 14, 7, 9, 14, 7, 13, 0, 1, 3, 7, 11, 15, 0, 8],
"ct": [15, 3, 5, 3, 13, 11, 8, 1, 13, 3, 13, 4, 6, 14, 3, 4, 13, 0, 8, 4, 0, 4, 10, 11, 7, 10, 7, 7, 4, 12, 14, 15, 13, 11, 3, 4, 6, 10, 1, 5, 4, 4, 1, 9, 3, 8, 10, 5, 12],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 64,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3858,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "2f18635c07eefa940f9f24050f44a9ef0a635c87a70897eaceeeeef15fefe1f8",
"tweak": "4ccb9dd3441d2cfb",
"msg": [15, 7, 14, 7, 11, 1, 1, 12, 6, 6, 9, 8, 3, 3, 7, 1, 4, 14, 3, 8, 14, 4, 9, 7, 10, 2, 15, 14, 11, 6, 3, 12, 7, 14, 5, 2, 9, 13, 6, 9, 9, 0, 6, 13, 5, 4, 2, 9, 3, 1, 5, 5, 0, 2, 9, 2, 7, 2, 7, 7, 6, 1, 15, 12],
"ct": [5, 5, 9, 4, 0, 13, 8, 2, 10, 2, 14, 2, 15, 6, 11, 14, 6, 3, 7, 14, 5, 9, 7, 11, 1, 0, 14, 6, 15, 8, 0, 6, 7, 2, 7, 6, 12, 15, 8, 12, 3, 2, 14, 15, 7, 12, 2, 6, 12, 12, 1, 2, 2, 11, 8, 7, 6, 5, 9, 0, 12, 5, 2, 2],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 65,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3859,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "81ff5cc5ffed8bba24714f6ea45c939632398d901a35289e7293f9abb65aa7d8",
"tweak": "ecd9bd3638d8cee2",
"msg": [7, 15, 8, 6, 14, 15, 13, 8, 1, 9, 7, 10, 2, 1, 15, 0, 15, 3, 3, 3, 6, 11, 13, 2, 3, 13, 14, 4, 15, 2, 6, 10, 3, 4, 14, 1, 2, 7, 13, 15, 4, 9, 15, 6, 3, 0, 11, 2, 10, 14, 3, 10, 13, 6, 13, 9, 1, 0, 6, 5, 5, 6, 1, 1, 15],
"ct": [9, 4, 2, 10, 5, 8, 4, 15, 4, 3, 1, 12, 9, 4, 8, 6, 7, 14, 2, 2, 15, 13, 3, 14, 11, 5, 10, 6, 2, 15, 2, 14, 12, 11, 11, 13, 4, 7, 11, 6, 1, 12, 11, 1, 13, 2, 11, 13, 12, 12, 10, 15, 9, 15, 10, 1, 7, 14, 9, 4, 5, 8, 1, 12, 2],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 80,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3860,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "4c21f21cf45f61eea701cdae4a3e06a74cd18fd63eec698b49b3a21f4e1c3bf9",
"tweak": "0ec0a2520507286d",
"msg": [6, 12, 0, 10, 8, 0, 3, 15, 1, 11, 13, 4, 11, 10, 11, 15, 4, 8, 14, 11, 3, 4, 5, 2, 3, 2, 6, 7, 15, 12, 0, 13, 10, 5, 9, 9, 10, 1, 8, 12, 4, 6, 7, 1, 3, 5, 1, 14, 4, 1, 8, 6, 12, 3, 13, 15, 7, 15, 3, 6, 3, 7, 3, 3, 8, 11, 2, 15, 15, 7, 12, 4, 14, 4, 12, 12, 13, 3, 8, 4],
"ct": [1, 12, 1, 4, 3, 0, 13, 10, 8, 0, 13, 4, 2, 12, 15, 3, 0, 10, 3, 15, 4, 0, 0, 13, 14, 2, 1, 14, 5, 7, 7, 7, 5, 3, 3, 12, 7, 0, 12, 12, 3, 14, 12, 13, 1, 7, 12, 15, 2, 4, 14, 2, 15, 5, 14, 6, 13, 15, 7, 4, 13, 12, 8, 0, 6, 10, 14, 8, 3, 14, 8, 13, 7, 9, 3, 5, 8, 10, 7, 4],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 81,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3861,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "34e2f9c6b7e915db5c91185a72816618f6ab09ea827f0f825976403f9a3c7c88",
"tweak": "23446a292f21b6ad",
"msg": [6, 12, 0, 2, 7, 4, 14, 8, 9, 3, 10, 5, 2, 12, 9, 10, 15, 15, 9, 6, 15, 2, 2, 15, 10, 5, 10, 11, 6, 0, 2, 4, 2, 0, 14, 13, 12, 3, 14, 5, 1, 5, 5, 2, 0, 12, 10, 6, 6, 5, 1, 5, 5, 9, 5, 4, 6, 6, 12, 14, 0, 4, 5, 8, 3, 8, 11, 3, 14, 15, 6, 0, 13, 1, 13, 14, 0, 10, 2, 2, 8],
"ct": [2, 12, 7, 4, 12, 5, 7, 13, 4, 11, 6, 12, 11, 15, 0, 13, 9, 10, 5, 5, 7, 3, 3, 15, 14, 14, 1, 10, 3, 5, 3, 0, 9, 1, 0, 12, 14, 5, 9, 14, 2, 14, 11, 8, 3, 4, 14, 0, 8, 6, 7, 0, 6, 3, 10, 3, 6, 15, 14, 9, 6, 11, 11, 15, 0, 15, 0, 12, 1, 6, 3, 3, 15, 1, 13, 15, 8, 2, 11, 4, 11],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 96,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3862,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "7d9ee70015895ae677129171c6371a3234c894309efa3b79deb146fef2d76125",
"tweak": "a3a3e2481f402162",
"msg": [15, 8, 9, 3, 5, 12, 4, 10, 14, 11, 1, 1, 1, 3, 13, 13, 7, 12, 9, 0, 10, 7, 5, 8, 9, 0, 12, 8, 12, 4, 10, 11, 9, 9, 13, 10, 11, 0, 2, 0, 0, 15, 0, 1, 8, 6, 6, 6, 1, 9, 0, 4, 8, 5, 6, 8, 13, 1, 8, 1, 9, 12, 13, 2, 15, 4, 4, 15, 11, 2, 12, 11, 6, 7, 2, 5, 10, 12, 14, 14, 1, 13, 3, 9, 0, 1, 5, 13, 9, 4, 4, 7, 7, 13, 9, 6],
"ct": [6, 2, 5, 7, 8, 12, 6, 1, 0, 5, 14, 5, 7, 10, 3, 6, 9, 11, 6, 12, 12, 6, 7, 14, 8, 10, 6, 14, 8, 5, 2, 14, 1, 8, 14, 9, 12, 11, 3, 3, 11, 8, 3, 8, 0, 2, 15, 14, 3, 15, 4, 5, 6, 8, 3, 12, 6, 1, 9, 10, 2, 6, 0, 0, 7, 3, 4, 15, 6, 2, 4, 2, 0, 13, 3, 3, 15, 7, 10, 13, 11, 11, 14, 12, 1, 12, 0, 7, 2, 11, 15, 13, 0, 5, 12, 6],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 97,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3863,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "373f3b9d1964df142507ddee9fa1b33babcf781c9b0289e3f3eaa4cab28a5cb2",
"tweak": "8348ea2ce51ecf67",
"msg": [3, 12, 0, 6, 15, 7, 14, 14, 13, 15, 1, 13, 9, 1, 1, 9, 14, 6, 6, 6, 3, 11, 11, 10, 11, 0, 13, 4, 6, 5, 9, 12, 1, 15, 4, 2, 14, 5, 14, 11, 12, 1, 14, 9, 14, 10, 14, 7, 11, 2, 11, 10, 0, 13, 11, 15, 9, 5, 4, 6, 4, 7, 15, 10, 0, 1, 10, 0, 5, 0, 4, 12, 12, 1, 13, 5, 8, 8, 7, 14, 7, 3, 9, 1, 4, 9, 15, 5, 1, 10, 4, 15, 11, 13, 9, 3, 9],
"ct": [8, 5, 15, 13, 13, 0, 15, 12, 2, 7, 8, 1, 8, 4, 4, 8, 4, 4, 13, 2, 13, 9, 5, 2, 7, 2, 15, 3, 7, 2, 1, 11, 3, 15, 3, 12, 15, 2, 7, 8, 0, 4, 4, 14, 6, 12, 3, 1, 7, 6, 3, 8, 7, 5, 2, 10, 10, 13, 12, 2, 9, 12, 1, 1, 12, 14, 15, 15, 1, 1, 2, 5, 8, 7, 7, 6, 14, 12, 3, 2, 8, 8, 14, 0, 3, 11, 13, 6, 9, 7, 14, 4, 4, 7, 0, 3, 2],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 112,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3864,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "c574991eb82f017e015164d4292d4e0cbd9ec50c81c8536cf9f9c2f366a74b14",
"tweak": "ebf848a124a5fad4",
"msg": [15, 15, 0, 3, 2, 11, 10, 3, 15, 8, 6, 9, 14, 8, 0, 10, 4, 7, 8, 9, 14, 12, 5, 0, 0, 13, 2, 5, 13, 13, 11, 12, 2, 15, 3, 15, 5, 8, 1, 15, 14, 11, 11, 2, 15, 5, 0, 6, 1, 3, 5, 3, 3, 11, 7, 0, 5, 9, 9, 12, 10, 2, 1, 1, 4, 5, 1, 6, 9, 2, 11, 1, 5, 9, 1, 13, 10, 8, 4, 0, 15, 9, 9, 13, 7, 3, 15, 14, 5, 3, 14, 0, 2, 10, 13, 4, 14, 14, 5, 11, 3, 7, 4, 13, 1, 1, 0, 8, 0, 3, 11, 12],
"ct": [4, 1, 5, 14, 9, 4, 0, 12, 14, 10, 9, 2, 13, 0, 7, 12, 7, 4, 9, 13, 14, 14, 9, 15, 2, 11, 15, 9, 1, 7, 3, 3, 10, 14, 0, 10, 6, 13, 0, 6, 11, 15, 7, 13, 4, 9, 0, 3, 11, 15, 10, 12, 4, 11, 7, 15, 10, 12, 6, 8, 12, 14, 0, 0, 12, 15, 8, 0, 8, 7, 0, 8, 13, 4, 14, 1, 8, 4, 3, 1, 6, 9, 15, 8, 12, 9, 2, 11, 8, 15, 10, 9, 13, 8, 1, 10, 12, 15, 14, 0, 8, 2, 3, 8, 0, 9, 9, 0, 6, 8, 1, 14],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 113,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3865,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "e3548d703a1b5afc2ca01af69e2c86e81ae6b546ee84f964cddc3d4727a041d5",
"tweak": "e5d58877f584b8ec",
"msg": [14, 5, 13, 6, 9, 7, 13, 1, 2, 5, 5, 7, 14, 14, 1, 11, 4, 5, 11, 1, 7, 1, 2, 7, 3, 14, 4, 8, 10, 8, 13, 15, 10, 12, 9, 7, 5, 2, 8, 1, 9, 9, 10, 14, 13, 5, 7, 15, 0, 0, 4, 13, 12, 9, 9, 1, 5, 4, 6, 12, 10, 12, 14, 5, 2, 7, 12, 6, 6, 10, 2, 0, 15, 10, 4, 3, 14, 9, 11, 12, 4, 0, 7, 15, 14, 4, 8, 10, 2, 1, 11, 12, 7, 5, 14, 6, 0, 12, 4, 9, 10, 12, 4, 10, 8, 0, 12, 0, 1, 12, 11, 10, 13],
"ct": [1, 14, 9, 0, 13, 4, 10, 5, 7, 5, 14, 13, 3, 5, 8, 15, 1, 4, 12, 13, 4, 6, 2, 6, 14, 1, 9, 10, 2, 7, 8, 9, 4, 4, 9, 2, 11, 2, 5, 10, 2, 9, 0, 9, 9, 7, 11, 2, 15, 3, 2, 9, 0, 2, 11, 9, 1, 5, 12, 0, 8, 0, 9, 7, 10, 6, 2, 2, 13, 1, 2, 14, 9, 8, 12, 13, 0, 6, 11, 2, 7, 0, 4, 15, 6, 13, 8, 3, 3, 13, 11, 6, 2, 2, 9, 1, 13, 15, 12, 13, 1, 13, 4, 12, 8, 14, 4, 10, 13, 4, 13, 15, 6],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 128,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3866,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "0a04c284ea0028d71c986b4e547c0e03cc8969ac81ec89dacf67df23bf72d461",
"tweak": "fdb7b6eda7cdb93c",
"msg": [10, 13, 14, 10, 4, 8, 11, 13, 1, 6, 3, 11, 2, 1, 0, 9, 14, 13, 7, 10, 0, 1, 9, 7, 3, 15, 4, 3, 8, 2, 7, 11, 12, 1, 12, 6, 14, 13, 3, 5, 6, 3, 13, 15, 1, 13, 6, 14, 2, 15, 12, 2, 9, 13, 3, 5, 15, 11, 15, 6, 2, 6, 6, 15, 6, 7, 9, 13, 10, 4, 0, 14, 6, 0, 15, 4, 2, 9, 9, 15, 7, 14, 2, 13, 10, 1, 8, 12, 0, 2, 7, 2, 1, 11, 2, 5, 3, 6, 2, 8, 2, 8, 13, 11, 4, 3, 3, 2, 13, 8, 15, 0, 6, 1, 4, 15, 2, 2, 7, 5, 13, 10, 6, 5, 6, 14, 14, 6],
"ct": [0, 4, 3, 4, 3, 2, 5, 8, 5, 9, 15, 11, 5, 7, 7, 10, 3, 3, 7, 15, 6, 12, 10, 14, 15, 6, 2, 0, 9, 1, 8, 7, 6, 14, 15, 7, 15, 10, 15, 2, 0, 4, 1, 9, 0, 2, 6, 8, 11, 10, 7, 0, 3, 15, 11, 4, 9, 6, 13, 14, 1, 3, 5, 2, 2, 8, 14, 13, 6, 5, 0, 3, 11, 0, 14, 7, 3, 9, 7, 13, 0, 6, 7, 12, 15, 10, 15, 3, 14, 15, 5, 15, 12, 0, 0, 5, 7, 7, 1, 11, 15, 0, 5, 9, 2, 11, 5, 6, 10, 11, 2, 7, 13, 13, 15, 14, 15, 7, 4, 3, 3, 2, 15, 10, 2, 10, 10, 9],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 260,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3867,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "e3009a081a300a5d2c99b076d69e8479ab2e040342b7558d4fb8c6cf978e809f",
"tweak": "ae2aa7fbd0c4542d",
"msg": [8, 10, 4, 12, 14, 13, 0, 15, 5, 1, 1, 15, 7, 0, 8, 14, 2, 10, 8, 7, 2, 5, 4, 9, 13, 8, 2, 12, 1, 11, 3, 7, 13, 9, 1, 12, 6, 12, 3, 4, 2, 5, 0, 13, 14, 9, 1, 15, 3, 3, 8, 10, 11, 8, 10, 5, 12, 4, 1, 10, 4, 5, 13, 8, 9, 3, 15, 0, 15, 13, 7, 15, 1, 10, 3, 0, 15, 7, 14, 3, 9, 3, 5, 14, 14, 12, 10, 8, 8, 0, 15, 1, 6, 12, 9, 9, 9, 4, 13, 3, 2, 14, 2, 4, 14, 1, 14, 4, 2, 10, 5, 4, 7, 6, 5, 14, 12, 14, 3, 5, 15, 6, 5, 9, 14, 12, 5, 5, 13, 8, 11, 15, 1, 8, 7, 4, 0, 4, 11, 11, 13, 8, 7, 11, 0, 15, 13, 1, 13, 13, 9, 9, 15, 15, 8, 5, 14, 3, 0, 10, 1, 5, 14, 2, 7, 1, 14, 6, 9, 14, 12, 4, 8, 11, 7, 14, 10, 9, 1, 14, 10, 13, 0, 14, 4, 15, 3, 7, 3, 12, 10, 0, 12, 14, 2, 8, 0, 0, 7, 14, 3, 4, 10, 13, 2, 13, 8, 2, 10, 14, 14, 3, 15, 2, 10, 14, 14, 10, 9, 4, 6, 14, 9, 10, 7, 6, 8, 13, 8, 5, 10, 15, 9, 12, 15, 1, 12, 8, 7, 15, 4, 1, 7, 0, 13, 11, 1, 13, 14, 2, 5, 4, 8, 13, 2, 10, 0, 2, 13, 2],
"ct": [9, 0, 2, 12, 2, 4, 2, 12, 11, 3, 6, 8, 4, 9, 0, 1, 10, 4, 13, 11, 14, 3, 9, 10, 6, 15, 3, 7, 15, 1, 0, 14, 11, 10, 15, 2, 7, 7, 3, 7, 13, 1, 10, 13, 8, 2, 12, 12, 9, 8, 5, 14, 3, 8, 0, 9, 9, 3, 15, 10, 8, 6, 10, 6, 6, 14, 12, 1, 3, 10, 3, 2, 3, 8, 8, 10, 5, 5, 4, 12, 13, 10, 10, 0, 14, 5, 6, 13, 11, 1, 6, 14, 0, 14, 8, 3, 15, 8, 1, 1, 5, 4, 7, 1, 4, 15, 2, 10, 13, 9, 13, 8, 7, 0, 8, 7, 10, 11, 10, 11, 0, 15, 4, 4, 12, 10, 4, 5, 12, 8, 12, 13, 0, 10, 0, 5, 5, 6, 9, 11, 14, 11, 2, 11, 8, 10, 5, 7, 4, 15, 13, 1, 13, 14, 5, 13, 0, 6, 0, 10, 6, 7, 2, 7, 2, 11, 14, 14, 12, 14, 5, 0, 13, 11, 11, 13, 3, 1, 1, 10, 10, 6, 8, 12, 12, 5, 0, 5, 5, 8, 9, 15, 12, 6, 3, 0, 7, 10, 3, 6, 1, 7, 5, 3, 9, 0, 13, 11, 6, 4, 3, 8, 3, 6, 7, 9, 4, 11, 15, 8, 12, 2, 14, 5, 1, 7, 10, 12, 6, 1, 14, 10, 12, 11, 8, 5, 14, 8, 7, 2, 6, 10, 12, 15, 14, 12, 9, 6, 4, 4, 11, 10, 7, 3, 9, 0, 14, 13, 4, 15],
"result": "valid"
}
]
},
{
"keySize": 0,
"msgSize": 5,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3868,
"comment": "invalid key size",
"flags": [
"InvalidKeySize"
],
"key": "",
"tweak": "6faef86e0a8d7b1d",
"msg": [13, 3, 14, 14, 9],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 8,
"msgSize": 5,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3869,
"comment": "invalid key size",
"flags": [
"InvalidKeySize"
],
"key": "76",
"tweak": "8f3ba4d492a6c9b5",
"msg": [10, 13, 4, 3, 2],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 64,
"msgSize": 5,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3870,
"comment": "invalid key size",
"flags": [
"InvalidKeySize"
],
"key": "7b4c96937f30a593",
"tweak": "89b79a7c84b98460",
"msg": [2, 1, 0, 0, 14],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 160,
"msgSize": 5,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3871,
"comment": "invalid key size",
"flags": [
"InvalidKeySize"
],
"key": "d14fcacaee5aba68832d355df9d209ff21dd152d",
"tweak": "11eb243635a3959d",
"msg": [5, 13, 15, 5, 5],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 320,
"msgSize": 5,
"radix": 16,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 3872,
"comment": "invalid key size",
"flags": [
"InvalidKeySize"
],
"key": "dbc4dd565bb39916ab02419bb2932656fde3512d9cff43f52960751aeb1f64b4211fe2507cb0c0a2",
"tweak": "91d2f3855092bdb0",
"msg": [8, 10, 5, 12, 12],
"ct": [],
"result": "invalid"
}
]
}
]
}