{
"algorithm": "AES-FF1",
"numberOfTests": 2868,
"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": 32,
"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": 32,
"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": 32,
"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": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 4,
"comment": "Invalid message size",
"flags": [
"InvalidMessageSize"
],
"key": "e9e279f5fad3e7fd7922e838cf07da528ddcc5387f6145bf",
"tweak": "a25989a2e4360bae",
"msg": [19],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 0,
"radix": 32,
"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": 32,
"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": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 7,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "ad65778960d778c614e2673dee073acb",
"tweak": "4505f45a8fa30b90",
"msg": [1, 31],
"ct": [31, 22],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 3,
"radix": 32,
"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": [7, 23, 28],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 2,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 9,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "911c9e0a87977587050ebb48f4f9e199fde8472781ecaf7a",
"tweak": "cf98ea96ef005bc6",
"msg": [1, 26],
"ct": [10, 22],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 3,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 10,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "3c453964f4e42587db3a6de5de00673ede7e17672a4deb84",
"tweak": "fe6290783f11946c",
"msg": [15, 24, 7],
"ct": [26, 31, 5],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 2,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 11,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "d05ae6e3819e2dcdd218be7c62465e8f1474f1fec8e79a1a3f7b88040d0f4160",
"tweak": "823988f1ffb8ce23",
"msg": [13, 29],
"ct": [6, 20],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 3,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 12,
"comment": "small message size",
"flags": [
"SmallMessageSize"
],
"key": "1399758fa1ebf7cfda5f601c643443adaea4f4f8c19fc8772c5d5e3cc0cc6955",
"tweak": "8c5a263a91b7cb4f",
"msg": [5, 15, 4],
"ct": [19, 5, 6],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 4,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 13,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "5dd5899794ff9b5007b4481aaa97f882",
"tweak": "742f7f8b2ab0dc48",
"msg": [3, 31, 18, 22],
"ct": [14, 12, 8, 15],
"result": "valid"
},
{
"tcId": 14,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [0, 0, 0, 0],
"ct": [16, 27, 28, 13],
"result": "valid"
},
{
"tcId": 15,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [31, 31, 31, 31],
"ct": [16, 20, 15, 15],
"result": "valid"
},
{
"tcId": 16,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [16, 0, 16, 0],
"ct": [1, 12, 16, 11],
"result": "valid"
},
{
"tcId": 17,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [15, 31, 15, 31],
"ct": [16, 14, 12, 26],
"result": "valid"
},
{
"tcId": 18,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [27, 23, 24, 24],
"ct": [3, 13, 28, 8],
"result": "valid"
},
{
"tcId": 19,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [28, 14, 17, 24],
"ct": [25, 26, 2, 17],
"result": "valid"
},
{
"tcId": 20,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [15, 3, 13, 6],
"ct": [5, 30, 5, 27],
"result": "valid"
},
{
"tcId": 21,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [17, 24, 10, 18],
"ct": [16, 25, 7, 15],
"result": "valid"
},
{
"tcId": 22,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [18, 21, 12, 5],
"ct": [26, 23, 4, 16],
"result": "valid"
},
{
"tcId": 23,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [19, 10, 16, 2],
"ct": [10, 28, 11, 0],
"result": "valid"
},
{
"tcId": 24,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [29, 29, 24, 27],
"ct": [1, 15, 5, 25],
"result": "valid"
},
{
"tcId": 25,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [19, 10, 15, 13],
"ct": [22, 15, 7, 15],
"result": "valid"
},
{
"tcId": 26,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [0, 16, 15, 5],
"ct": [0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 27,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [5, 20, 19, 21],
"ct": [31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 28,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [22, 25, 24, 7],
"ct": [16, 0, 16, 0],
"result": "valid"
},
{
"tcId": 29,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "16e4e676552c2fef6f1942adef4c440a",
"tweak": "aba4ba6db9422dc4",
"msg": [23, 1, 24, 21],
"ct": [15, 31, 15, 31],
"result": "valid"
},
{
"tcId": 30,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "0b1a495502be595e2dd2d0dd35",
"msg": [29, 17, 22, 11],
"ct": [19, 6, 16, 14],
"result": "valid"
},
{
"tcId": 31,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "0b1a495502be595e2dd2d0dd35",
"msg": [3, 17, 31, 2],
"ct": [26, 3, 7, 12],
"result": "valid"
},
{
"tcId": 32,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "0b1a495502be595e2dd2d0dd35",
"msg": [27, 29, 10, 14],
"ct": [20, 27, 15, 4],
"result": "valid"
},
{
"tcId": 33,
"comment": "y = 1 and (y + a) % radix**2 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "0b1a495502be595e2dd2d0dd35",
"msg": [23, 27, 11, 28],
"ct": [4, 13, 29, 5],
"result": "valid"
},
{
"tcId": 34,
"comment": "y = 1 and (y + a) % radix**2 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "0b1a495502be595e2dd2d0dd35",
"msg": [25, 10, 14, 23],
"ct": [5, 7, 13, 1],
"result": "valid"
},
{
"tcId": 35,
"comment": "y is edge case for modular reduction and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "492299ebf06853b6f34a50fa5d",
"msg": [3, 13, 24, 1],
"ct": [14, 21, 12, 2],
"result": "valid"
},
{
"tcId": 36,
"comment": "y is edge case for modular reduction and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "492299ebf06853b6f34a50fa5d",
"msg": [6, 26, 10, 6],
"ct": [8, 24, 11, 8],
"result": "valid"
},
{
"tcId": 37,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "492299ebf06853b6f34a50fa5d",
"msg": [13, 14, 11, 30],
"ct": [11, 13, 15, 17],
"result": "valid"
},
{
"tcId": 38,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "492299ebf06853b6f34a50fa5d",
"msg": [3, 3, 21, 10],
"ct": [21, 16, 5, 3],
"result": "valid"
},
{
"tcId": 39,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "492299ebf06853b6f34a50fa5d",
"msg": [8, 7, 23, 3],
"ct": [19, 9, 15, 15],
"result": "valid"
},
{
"tcId": 40,
"comment": "y is edge case for modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "492299ebf06853b6f34a50fa5d",
"msg": [2, 25, 13, 24],
"ct": [14, 9, 25, 17],
"result": "valid"
},
{
"tcId": 41,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "770fad23275198b6d2395d3273",
"msg": [19, 24, 6, 13],
"ct": [22, 21, 2, 23],
"result": "valid"
},
{
"tcId": 42,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "770fad23275198b6d2395d3273",
"msg": [28, 21, 25, 23],
"ct": [16, 4, 26, 8],
"result": "valid"
},
{
"tcId": 43,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "770fad23275198b6d2395d3273",
"msg": [20, 18, 1, 12],
"ct": [13, 13, 9, 31],
"result": "valid"
},
{
"tcId": 44,
"comment": "y is maximal after modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "a88f0018e583ed7310f3f5336e592a25",
"tweak": "770fad23275198b6d2395d3273",
"msg": [4, 6, 3, 0],
"ct": [29, 29, 28, 7],
"result": "valid"
},
{
"tcId": 45,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8a74f1cae832ef8d58c26b49157c187b",
"tweak": "d7b8bdae53aba381",
"msg": [-1, 12, 11, 24],
"ct": [17, 8, 7, 13],
"result": "invalid"
},
{
"tcId": 46,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8a74f1cae832ef8d58c26b49157c187b",
"tweak": "d7b8bdae53aba381",
"msg": [4, -1, 11, 24],
"ct": [28, 28, 13, 28],
"result": "invalid"
},
{
"tcId": 47,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8a74f1cae832ef8d58c26b49157c187b",
"tweak": "d7b8bdae53aba381",
"msg": [4, 12, 11, -1],
"ct": [23, 5, 11, 0],
"result": "invalid"
},
{
"tcId": 48,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ec708b273a7f4b48ce3f1fdce2d0be94",
"tweak": "ab4287d00006ea8c",
"msg": [32, 26, 28, 10],
"ct": [27, 9, 27, 17],
"result": "invalid"
},
{
"tcId": 49,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ec708b273a7f4b48ce3f1fdce2d0be94",
"tweak": "ab4287d00006ea8c",
"msg": [7, 32, 28, 10],
"ct": [19, 20, 3, 4],
"result": "invalid"
},
{
"tcId": 50,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ec708b273a7f4b48ce3f1fdce2d0be94",
"tweak": "ab4287d00006ea8c",
"msg": [7, 26, 28, 32],
"ct": [11, 5, 23, 18],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 5,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 51,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "0319599d6c7ca301230ec2b06c681097",
"tweak": "125fd8f86c787e2d",
"msg": [0, 9, 19, 9, 2],
"ct": [0, 14, 19, 23, 14],
"result": "valid"
},
{
"tcId": 52,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [0, 0, 0, 0, 0],
"ct": [25, 15, 27, 12, 0],
"result": "valid"
},
{
"tcId": 53,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [31, 31, 31, 31, 31],
"ct": [11, 23, 6, 26, 17],
"result": "valid"
},
{
"tcId": 54,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [16, 0, 16, 0, 0],
"ct": [1, 4, 3, 9, 20],
"result": "valid"
},
{
"tcId": 55,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [15, 31, 15, 31, 31],
"ct": [30, 17, 7, 9, 28],
"result": "valid"
},
{
"tcId": 56,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [16, 16, 3, 14, 7],
"ct": [1, 17, 23, 21, 5],
"result": "valid"
},
{
"tcId": 57,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [21, 29, 5, 11, 28],
"ct": [3, 27, 9, 12, 13],
"result": "valid"
},
{
"tcId": 58,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [18, 31, 16, 10, 21],
"ct": [23, 26, 15, 31, 17],
"result": "valid"
},
{
"tcId": 59,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [10, 19, 6, 17, 3],
"ct": [11, 3, 15, 10, 19],
"result": "valid"
},
{
"tcId": 60,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [10, 6, 31, 18, 16],
"ct": [16, 29, 14, 6, 12],
"result": "valid"
},
{
"tcId": 61,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [31, 7, 6, 17, 31],
"ct": [31, 8, 16, 1, 6],
"result": "valid"
},
{
"tcId": 62,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [11, 2, 13, 15, 29],
"ct": [19, 21, 7, 30, 29],
"result": "valid"
},
{
"tcId": 63,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [11, 27, 18, 21, 10],
"ct": [8, 16, 6, 13, 8],
"result": "valid"
},
{
"tcId": 64,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [23, 15, 3, 11, 30],
"ct": [0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 65,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [14, 24, 23, 10, 26],
"ct": [31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 66,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [14, 8, 24, 18, 31],
"ct": [16, 0, 16, 0, 0],
"result": "valid"
},
{
"tcId": 67,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ed3d0c6668748336d74abc8a161dea33",
"tweak": "61a3e1c030481108",
"msg": [22, 22, 29, 15, 2],
"ct": [15, 31, 15, 31, 31],
"result": "valid"
},
{
"tcId": 68,
"comment": "y = 0 and (y + a) % radix**2 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "6c0208a407908c52965caa76cd",
"msg": [9, 6, 19, 30, 13],
"ct": [0, 0, 23, 23, 19],
"result": "valid"
},
{
"tcId": 69,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "6c0208a407908c52965caa76cd",
"msg": [25, 21, 28, 8, 26],
"ct": [0, 1, 29, 31, 20],
"result": "valid"
},
{
"tcId": 70,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "6c0208a407908c52965caa76cd",
"msg": [21, 30, 7, 31, 0],
"ct": [16, 0, 11, 2, 6],
"result": "valid"
},
{
"tcId": 71,
"comment": "y = 0 and (y + a) % radix**2 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "6c0208a407908c52965caa76cd",
"msg": [25, 14, 16, 11, 15],
"ct": [31, 31, 26, 8, 8],
"result": "valid"
},
{
"tcId": 72,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "3ef9c58e7e9c16eed02fc8dd06",
"msg": [23, 14, 3, 30, 30],
"ct": [3, 28, 20, 28, 5],
"result": "valid"
},
{
"tcId": 73,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "3ef9c58e7e9c16eed02fc8dd06",
"msg": [18, 26, 19, 3, 17],
"ct": [6, 24, 14, 21, 19],
"result": "valid"
},
{
"tcId": 74,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "3ef9c58e7e9c16eed02fc8dd06",
"msg": [6, 24, 9, 25, 30],
"ct": [0, 21, 16, 19, 24],
"result": "valid"
},
{
"tcId": 75,
"comment": "y = 1 and (y + a) % radix**2 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "3ef9c58e7e9c16eed02fc8dd06",
"msg": [12, 21, 21, 2, 22],
"ct": [25, 1, 25, 3, 23],
"result": "valid"
},
{
"tcId": 76,
"comment": "y = 1 and (y + a) % radix**2 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "3ef9c58e7e9c16eed02fc8dd06",
"msg": [18, 29, 16, 4, 19],
"ct": [4, 27, 5, 5, 30],
"result": "valid"
},
{
"tcId": 77,
"comment": "y is maximal and (y + a) % radix**2 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "c670341626f72241b2f74d92ca",
"msg": [23, 5, 15, 30, 10],
"ct": [0, 2, 9, 26, 19],
"result": "valid"
},
{
"tcId": 78,
"comment": "y is maximal and (y + a) % radix**2 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "c670341626f72241b2f74d92ca",
"msg": [17, 31, 4, 15, 1],
"ct": [3, 23, 27, 0, 3],
"result": "valid"
},
{
"tcId": 79,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "c670341626f72241b2f74d92ca",
"msg": [30, 23, 10, 9, 11],
"ct": [31, 23, 26, 18, 21],
"result": "valid"
},
{
"tcId": 80,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "c670341626f72241b2f74d92ca",
"msg": [19, 16, 22, 31, 8],
"ct": [6, 7, 29, 18, 6],
"result": "valid"
},
{
"tcId": 81,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "d2946e285ba718e9a55871bc7b",
"msg": [20, 23, 25, 29, 13],
"ct": [19, 24, 10, 17, 6],
"result": "valid"
},
{
"tcId": 82,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "d2946e285ba718e9a55871bc7b",
"msg": [15, 17, 0, 2, 18],
"ct": [4, 27, 17, 22, 22],
"result": "valid"
},
{
"tcId": 83,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "d2946e285ba718e9a55871bc7b",
"msg": [7, 15, 11, 4, 4],
"ct": [7, 1, 24, 14, 17],
"result": "valid"
},
{
"tcId": 84,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "d2946e285ba718e9a55871bc7b",
"msg": [7, 8, 19, 19, 10],
"ct": [18, 27, 20, 6, 10],
"result": "valid"
},
{
"tcId": 85,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "d2946e285ba718e9a55871bc7b",
"msg": [14, 0, 4, 10, 6],
"ct": [11, 27, 29, 23, 30],
"result": "valid"
},
{
"tcId": 86,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "d2946e285ba718e9a55871bc7b",
"msg": [14, 29, 30, 3, 8],
"ct": [0, 10, 25, 16, 30],
"result": "valid"
},
{
"tcId": 87,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "d31fc918313589f413a911f559",
"msg": [0, 0, 19, 19, 0],
"ct": [6, 1, 12, 18, 28],
"result": "valid"
},
{
"tcId": 88,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "d31fc918313589f413a911f559",
"msg": [0, 1, 19, 19, 0],
"ct": [26, 9, 7, 22, 1],
"result": "valid"
},
{
"tcId": 89,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "d31fc918313589f413a911f559",
"msg": [16, 0, 19, 19, 0],
"ct": [27, 27, 3, 17, 17],
"result": "valid"
},
{
"tcId": 90,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2dcc7a48fa759e58062f64099e2654fb",
"tweak": "d31fc918313589f413a911f559",
"msg": [31, 31, 19, 19, 0],
"ct": [17, 12, 29, 31, 19],
"result": "valid"
},
{
"tcId": 91,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8d8a7cd63e6554b77d0345f3d799bfad",
"tweak": "ea7fef1b2f555ad8",
"msg": [-1, 25, 22, 1, 19],
"ct": [15, 18, 8, 12, 14],
"result": "invalid"
},
{
"tcId": 92,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8d8a7cd63e6554b77d0345f3d799bfad",
"tweak": "ea7fef1b2f555ad8",
"msg": [4, -1, 22, 1, 19],
"ct": [19, 11, 9, 25, 5],
"result": "invalid"
},
{
"tcId": 93,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8d8a7cd63e6554b77d0345f3d799bfad",
"tweak": "ea7fef1b2f555ad8",
"msg": [4, 25, 22, 1, -1],
"ct": [15, 7, 5, 31, 14],
"result": "invalid"
},
{
"tcId": 94,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d9661015b6a08549fe72e83da279e8cc",
"tweak": "c8517c169b1534bb",
"msg": [32, 30, 29, 7, 25],
"ct": [23, 23, 12, 12, 19],
"result": "invalid"
},
{
"tcId": 95,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d9661015b6a08549fe72e83da279e8cc",
"tweak": "c8517c169b1534bb",
"msg": [7, 32, 29, 7, 25],
"ct": [30, 7, 24, 26, 1],
"result": "invalid"
},
{
"tcId": 96,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d9661015b6a08549fe72e83da279e8cc",
"tweak": "c8517c169b1534bb",
"msg": [7, 30, 29, 7, 32],
"ct": [7, 2, 8, 26, 23],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 6,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 97,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "474bbf2aff5c252419c49a07d50e2bdf",
"tweak": "d64296c362368a3d",
"msg": [7, 4, 18, 23, 10, 1],
"ct": [19, 9, 19, 26, 26, 11],
"result": "valid"
},
{
"tcId": 98,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [0, 0, 0, 0, 0, 0],
"ct": [18, 2, 18, 5, 30, 9],
"result": "valid"
},
{
"tcId": 99,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [31, 31, 31, 31, 31, 31],
"ct": [10, 28, 23, 20, 1, 3],
"result": "valid"
},
{
"tcId": 100,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [16, 0, 0, 16, 0, 0],
"ct": [22, 21, 1, 18, 16, 17],
"result": "valid"
},
{
"tcId": 101,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [15, 31, 31, 15, 31, 31],
"ct": [0, 19, 8, 10, 15, 5],
"result": "valid"
},
{
"tcId": 102,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [10, 16, 17, 11, 19, 31],
"ct": [23, 31, 20, 6, 1, 10],
"result": "valid"
},
{
"tcId": 103,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [28, 4, 14, 21, 19, 19],
"ct": [6, 15, 0, 27, 2, 1],
"result": "valid"
},
{
"tcId": 104,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [29, 28, 26, 15, 19, 22],
"ct": [10, 2, 25, 20, 3, 28],
"result": "valid"
},
{
"tcId": 105,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [1, 4, 6, 16, 1, 20],
"ct": [3, 30, 19, 29, 14, 29],
"result": "valid"
},
{
"tcId": 106,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [20, 14, 6, 8, 6, 27],
"ct": [0, 28, 21, 17, 7, 1],
"result": "valid"
},
{
"tcId": 107,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [14, 6, 23, 2, 27, 4],
"ct": [4, 24, 5, 20, 28, 12],
"result": "valid"
},
{
"tcId": 108,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [15, 1, 17, 5, 8, 8],
"ct": [15, 29, 26, 30, 7, 12],
"result": "valid"
},
{
"tcId": 109,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [20, 8, 21, 13, 6, 13],
"ct": [14, 30, 9, 25, 3, 21],
"result": "valid"
},
{
"tcId": 110,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [8, 7, 8, 19, 13, 9],
"ct": [0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 111,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [2, 1, 3, 8, 6, 8],
"ct": [31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 112,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [4, 28, 4, 6, 26, 19],
"ct": [16, 0, 0, 16, 0, 0],
"result": "valid"
},
{
"tcId": 113,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "26dbd1998c3a046ac3ff11937079c034",
"tweak": "5e551c3daad7e5fa",
"msg": [12, 19, 10, 20, 15, 13],
"ct": [15, 31, 31, 15, 31, 31],
"result": "valid"
},
{
"tcId": 114,
"comment": "y = 0 and (y + a) % radix**3 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "4cb1eafdb7a22e17a5a5eb5fc9",
"msg": [0, 0, 0, 13, 9, 4],
"ct": [15, 0, 16, 29, 24, 17],
"result": "valid"
},
{
"tcId": 115,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "4cb1eafdb7a22e17a5a5eb5fc9",
"msg": [0, 0, 1, 13, 9, 4],
"ct": [19, 20, 16, 27, 1, 1],
"result": "valid"
},
{
"tcId": 116,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "4cb1eafdb7a22e17a5a5eb5fc9",
"msg": [16, 0, 0, 13, 9, 4],
"ct": [15, 20, 8, 3, 11, 28],
"result": "valid"
},
{
"tcId": 117,
"comment": "y = 0 and (y + a) % radix**3 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "4cb1eafdb7a22e17a5a5eb5fc9",
"msg": [31, 31, 31, 13, 9, 4],
"ct": [26, 1, 5, 22, 25, 30],
"result": "valid"
},
{
"tcId": 118,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "97fa69619c16a5d81e989682e3",
"msg": [11, 26, 13, 16, 25, 31],
"ct": [0, 0, 1, 26, 6, 11],
"result": "valid"
},
{
"tcId": 119,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "97fa69619c16a5d81e989682e3",
"msg": [3, 23, 7, 7, 5, 15],
"ct": [0, 0, 2, 0, 7, 29],
"result": "valid"
},
{
"tcId": 120,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "97fa69619c16a5d81e989682e3",
"msg": [24, 16, 20, 12, 5, 1],
"ct": [16, 0, 1, 8, 9, 17],
"result": "valid"
},
{
"tcId": 121,
"comment": "y = 1 and (y + a) % radix**3 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "97fa69619c16a5d81e989682e3",
"msg": [10, 9, 21, 23, 22, 4],
"ct": [31, 31, 31, 30, 10, 12],
"result": "valid"
},
{
"tcId": 122,
"comment": "y = 1 and (y + a) % radix**3 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "97fa69619c16a5d81e989682e3",
"msg": [31, 17, 9, 16, 27, 22],
"ct": [0, 0, 0, 26, 16, 3],
"result": "valid"
},
{
"tcId": 123,
"comment": "y is maximal and (y + a) % radix**3 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "a9ec554f6021d0d1fd10ea0a09",
"msg": [29, 25, 4, 14, 21, 13],
"ct": [31, 26, 1, 19, 24, 13],
"result": "valid"
},
{
"tcId": 124,
"comment": "y is maximal and (y + a) % radix**3 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "a9ec554f6021d0d1fd10ea0a09",
"msg": [22, 23, 9, 3, 10, 20],
"ct": [5, 27, 16, 29, 18, 18],
"result": "valid"
},
{
"tcId": 125,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "a9ec554f6021d0d1fd10ea0a09",
"msg": [16, 27, 3, 13, 19, 0],
"ct": [30, 16, 23, 15, 13, 5],
"result": "valid"
},
{
"tcId": 126,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "a9ec554f6021d0d1fd10ea0a09",
"msg": [16, 12, 23, 24, 12, 4],
"ct": [28, 3, 16, 23, 31, 0],
"result": "valid"
},
{
"tcId": 127,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "4fc109949c9b9fc3ceeff7ef3f",
"msg": [2, 24, 10, 25, 21, 31],
"ct": [31, 31, 0, 5, 12, 9],
"result": "valid"
},
{
"tcId": 128,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "4fc109949c9b9fc3ceeff7ef3f",
"msg": [28, 29, 27, 22, 15, 26],
"ct": [31, 31, 1, 9, 5, 4],
"result": "valid"
},
{
"tcId": 129,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "4fc109949c9b9fc3ceeff7ef3f",
"msg": [13, 10, 21, 17, 4, 30],
"ct": [31, 31, 31, 30, 17, 12],
"result": "valid"
},
{
"tcId": 130,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "4fc109949c9b9fc3ceeff7ef3f",
"msg": [20, 0, 12, 9, 4, 26],
"ct": [0, 0, 0, 10, 20, 27],
"result": "valid"
},
{
"tcId": 131,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "4fc109949c9b9fc3ceeff7ef3f",
"msg": [27, 13, 31, 21, 26, 7],
"ct": [15, 31, 0, 29, 8, 19],
"result": "valid"
},
{
"tcId": 132,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "4fc109949c9b9fc3ceeff7ef3f",
"msg": [27, 22, 15, 20, 10, 27],
"ct": [31, 30, 31, 15, 31, 25],
"result": "valid"
},
{
"tcId": 133,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "97fa7a6a8d7d5229e0205e74ee",
"msg": [12, 7, 3, 10, 14, 16],
"ct": [14, 0, 21, 10, 2, 17],
"result": "valid"
},
{
"tcId": 134,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "97fa7a6a8d7d5229e0205e74ee",
"msg": [25, 29, 29, 11, 12, 18],
"ct": [6, 4, 4, 15, 10, 8],
"result": "valid"
},
{
"tcId": 135,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "97fa7a6a8d7d5229e0205e74ee",
"msg": [2, 22, 10, 19, 14, 21],
"ct": [9, 18, 23, 7, 1, 24],
"result": "valid"
},
{
"tcId": 136,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6a24278db37f29768c4263256ffbd956",
"tweak": "97fa7a6a8d7d5229e0205e74ee",
"msg": [1, 29, 31, 12, 29, 1],
"ct": [4, 25, 17, 21, 8, 18],
"result": "valid"
},
{
"tcId": 137,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ed4561abc903a9e722ddb8aa94cc662d",
"tweak": "975f6d7701e004f7",
"msg": [-1, 18, 4, 12, 15, 1],
"ct": [16, 10, 16, 3, 11, 16],
"result": "invalid"
},
{
"tcId": 138,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ed4561abc903a9e722ddb8aa94cc662d",
"tweak": "975f6d7701e004f7",
"msg": [0, 18, -1, 12, 15, 1],
"ct": [11, 26, 14, 10, 5, 29],
"result": "invalid"
},
{
"tcId": 139,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ed4561abc903a9e722ddb8aa94cc662d",
"tweak": "975f6d7701e004f7",
"msg": [0, 18, 4, 12, 15, -1],
"ct": [14, 25, 1, 17, 22, 28],
"result": "invalid"
},
{
"tcId": 140,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9c9a6bb4c005fd578a59e60bfa1bdcee",
"tweak": "e56a524556ddc899",
"msg": [32, 30, 24, 19, 28, 20],
"ct": [4, 6, 25, 26, 13, 14],
"result": "invalid"
},
{
"tcId": 141,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9c9a6bb4c005fd578a59e60bfa1bdcee",
"tweak": "e56a524556ddc899",
"msg": [19, 30, 32, 19, 28, 20],
"ct": [15, 31, 30, 12, 27, 20],
"result": "invalid"
},
{
"tcId": 142,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9c9a6bb4c005fd578a59e60bfa1bdcee",
"tweak": "e56a524556ddc899",
"msg": [19, 30, 24, 19, 28, 32],
"ct": [28, 22, 22, 25, 28, 31],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 7,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 143,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "20b2c30d44c72c32a4564541332f45c3",
"tweak": "3de9de4b8736f463",
"msg": [17, 27, 22, 22, 5, 8, 18],
"ct": [3, 26, 10, 31, 4, 3, 24],
"result": "valid"
},
{
"tcId": 144,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [0, 0, 0, 0, 0, 0, 0],
"ct": [11, 12, 9, 13, 7, 6, 3],
"result": "valid"
},
{
"tcId": 145,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [31, 31, 31, 31, 31, 31, 31],
"ct": [5, 27, 17, 27, 1, 20, 0],
"result": "valid"
},
{
"tcId": 146,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [16, 0, 0, 16, 0, 0, 0],
"ct": [8, 1, 28, 17, 11, 11, 16],
"result": "valid"
},
{
"tcId": 147,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [15, 31, 31, 15, 31, 31, 31],
"ct": [20, 20, 11, 19, 11, 22, 27],
"result": "valid"
},
{
"tcId": 148,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [25, 8, 21, 2, 10, 26, 15],
"ct": [7, 27, 17, 0, 3, 1, 16],
"result": "valid"
},
{
"tcId": 149,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [16, 22, 17, 22, 31, 23, 25],
"ct": [19, 19, 5, 17, 6, 13, 3],
"result": "valid"
},
{
"tcId": 150,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [20, 0, 6, 18, 15, 14, 3],
"ct": [0, 20, 8, 16, 31, 22, 16],
"result": "valid"
},
{
"tcId": 151,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [15, 12, 30, 29, 23, 6, 29],
"ct": [5, 21, 15, 20, 0, 8, 15],
"result": "valid"
},
{
"tcId": 152,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [28, 20, 25, 0, 19, 24, 16],
"ct": [17, 25, 21, 29, 27, 22, 31],
"result": "valid"
},
{
"tcId": 153,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [26, 1, 18, 15, 9, 0, 26],
"ct": [14, 25, 13, 4, 22, 6, 26],
"result": "valid"
},
{
"tcId": 154,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [20, 12, 31, 11, 28, 26, 20],
"ct": [10, 23, 22, 20, 28, 29, 31],
"result": "valid"
},
{
"tcId": 155,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [25, 2, 28, 19, 22, 24, 30],
"ct": [7, 29, 13, 1, 6, 14, 8],
"result": "valid"
},
{
"tcId": 156,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [11, 30, 15, 2, 8, 21, 14],
"ct": [0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 157,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [25, 11, 16, 21, 13, 16, 26],
"ct": [31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 158,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [27, 8, 1, 20, 1, 2, 6],
"ct": [16, 0, 0, 16, 0, 0, 0],
"result": "valid"
},
{
"tcId": 159,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "53b43d40c44c62982d5123e5716d25db",
"tweak": "c34af5583d26dacc",
"msg": [20, 26, 7, 12, 30, 2, 17],
"ct": [15, 31, 31, 15, 31, 31, 31],
"result": "valid"
},
{
"tcId": 160,
"comment": "y = 0 and (y + a) % radix**3 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "2159faee8f7e03237a1bcb3a",
"msg": [17, 11, 28, 28, 7, 19, 9],
"ct": [0, 0, 0, 16, 4, 14, 16],
"result": "valid"
},
{
"tcId": 161,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "2159faee8f7e03237a1bcb3a",
"msg": [11, 30, 5, 18, 17, 9, 24],
"ct": [0, 0, 1, 7, 18, 18, 17],
"result": "valid"
},
{
"tcId": 162,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "2159faee8f7e03237a1bcb3a",
"msg": [23, 13, 4, 0, 12, 1, 16],
"ct": [16, 0, 0, 18, 28, 28, 5],
"result": "valid"
},
{
"tcId": 163,
"comment": "y = 0 and (y + a) % radix**3 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "2159faee8f7e03237a1bcb3a",
"msg": [28, 29, 14, 10, 12, 10, 5],
"ct": [31, 31, 31, 9, 19, 20, 4],
"result": "valid"
},
{
"tcId": 164,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "2d3d3b00a269b3d776ca1ace",
"msg": [0, 0, 0, 8, 5, 3, 27],
"ct": [19, 6, 22, 3, 21, 25, 23],
"result": "valid"
},
{
"tcId": 165,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "2d3d3b00a269b3d776ca1ace",
"msg": [0, 0, 1, 8, 5, 3, 27],
"ct": [5, 30, 20, 4, 22, 28, 10],
"result": "valid"
},
{
"tcId": 166,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "2d3d3b00a269b3d776ca1ace",
"msg": [16, 0, 0, 8, 5, 3, 27],
"ct": [1, 8, 9, 30, 25, 26, 19],
"result": "valid"
},
{
"tcId": 167,
"comment": "y = 1 and (y + a) % radix**3 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "2d3d3b00a269b3d776ca1ace",
"msg": [31, 31, 30, 8, 5, 3, 27],
"ct": [28, 29, 13, 29, 14, 0, 0],
"result": "valid"
},
{
"tcId": 168,
"comment": "y = 1 and (y + a) % radix**3 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "2d3d3b00a269b3d776ca1ace",
"msg": [31, 31, 31, 8, 5, 3, 27],
"ct": [11, 9, 25, 12, 5, 8, 25],
"result": "valid"
},
{
"tcId": 169,
"comment": "y is maximal and (y + a) % radix**3 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "9be87f53b322df33d3b58889",
"msg": [14, 23, 21, 6, 4, 15, 3],
"ct": [31, 31, 31, 1, 29, 12, 1],
"result": "valid"
},
{
"tcId": 170,
"comment": "y is maximal and (y + a) % radix**3 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "9be87f53b322df33d3b58889",
"msg": [6, 25, 27, 1, 14, 15, 30],
"ct": [0, 0, 0, 2, 27, 21, 11],
"result": "valid"
},
{
"tcId": 171,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "9be87f53b322df33d3b58889",
"msg": [6, 0, 14, 7, 31, 12, 0],
"ct": [15, 31, 31, 13, 19, 12, 31],
"result": "valid"
},
{
"tcId": 172,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "9be87f53b322df33d3b58889",
"msg": [26, 30, 11, 24, 31, 16, 10],
"ct": [31, 31, 30, 8, 10, 8, 24],
"result": "valid"
},
{
"tcId": 173,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "0472004746df5b1bf8755f30",
"msg": [0, 0, 0, 4, 24, 2, 23],
"ct": [0, 27, 3, 26, 4, 13, 2],
"result": "valid"
},
{
"tcId": 174,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "0472004746df5b1bf8755f30",
"msg": [0, 0, 1, 4, 24, 2, 23],
"ct": [25, 23, 29, 13, 18, 2, 11],
"result": "valid"
},
{
"tcId": 175,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "0472004746df5b1bf8755f30",
"msg": [0, 0, 31, 4, 24, 2, 23],
"ct": [12, 10, 5, 29, 21, 23, 25],
"result": "valid"
},
{
"tcId": 176,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "0472004746df5b1bf8755f30",
"msg": [0, 1, 0, 4, 24, 2, 23],
"ct": [23, 19, 18, 15, 1, 22, 19],
"result": "valid"
},
{
"tcId": 177,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "0472004746df5b1bf8755f30",
"msg": [16, 0, 0, 4, 24, 2, 23],
"ct": [24, 17, 0, 7, 21, 28, 27],
"result": "valid"
},
{
"tcId": 178,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "0472004746df5b1bf8755f30",
"msg": [31, 31, 31, 4, 24, 2, 23],
"ct": [29, 3, 21, 23, 1, 29, 2],
"result": "valid"
},
{
"tcId": 179,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "5815c2698eb3948ff7cb5c54",
"msg": [0, 0, 0, 26, 19, 24, 31],
"ct": [9, 23, 31, 18, 9, 26, 7],
"result": "valid"
},
{
"tcId": 180,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "5815c2698eb3948ff7cb5c54",
"msg": [0, 0, 1, 26, 19, 24, 31],
"ct": [28, 26, 1, 18, 15, 25, 27],
"result": "valid"
},
{
"tcId": 181,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "5815c2698eb3948ff7cb5c54",
"msg": [16, 0, 0, 26, 19, 24, 31],
"ct": [3, 5, 18, 18, 6, 29, 27],
"result": "valid"
},
{
"tcId": 182,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "ad837c09903b33e60eecfa1d04308e32",
"tweak": "5815c2698eb3948ff7cb5c54",
"msg": [31, 31, 31, 26, 19, 24, 31],
"ct": [8, 0, 0, 13, 28, 3, 25],
"result": "valid"
},
{
"tcId": 183,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ea35a8f24783be82abd93cc74e4944cb",
"tweak": "a704f808982bb10f",
"msg": [-1, 10, 17, 29, 13, 18, 4],
"ct": [9, 3, 19, 1, 0, 22, 24],
"result": "invalid"
},
{
"tcId": 184,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ea35a8f24783be82abd93cc74e4944cb",
"tweak": "a704f808982bb10f",
"msg": [26, 10, -1, 29, 13, 18, 4],
"ct": [6, 8, 14, 13, 27, 7, 25],
"result": "invalid"
},
{
"tcId": 185,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ea35a8f24783be82abd93cc74e4944cb",
"tweak": "a704f808982bb10f",
"msg": [26, 10, 17, 29, 13, 18, -1],
"ct": [30, 20, 4, 0, 16, 31, 26],
"result": "invalid"
},
{
"tcId": 186,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8d52668225ea12e680df928edff72b7b",
"tweak": "0a5902682964a1aa",
"msg": [32, 2, 6, 5, 21, 13, 15],
"ct": [31, 23, 28, 14, 4, 0, 18],
"result": "invalid"
},
{
"tcId": 187,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8d52668225ea12e680df928edff72b7b",
"tweak": "0a5902682964a1aa",
"msg": [26, 2, 32, 5, 21, 13, 15],
"ct": [4, 0, 2, 26, 31, 25, 28],
"result": "invalid"
},
{
"tcId": 188,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8d52668225ea12e680df928edff72b7b",
"tweak": "0a5902682964a1aa",
"msg": [26, 2, 6, 5, 21, 13, 32],
"ct": [31, 2, 22, 13, 4, 8, 27],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 8,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 189,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "60d83b209822c0d9b7033dca86444fa1",
"tweak": "23ef05b155a108c4",
"msg": [1, 26, 13, 21, 14, 26, 8, 23],
"ct": [9, 22, 20, 22, 5, 19, 4, 27],
"result": "valid"
},
{
"tcId": 190,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [0, 0, 0, 0, 0, 0, 0, 0],
"ct": [25, 30, 5, 19, 31, 12, 22, 1],
"result": "valid"
},
{
"tcId": 191,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [31, 31, 31, 31, 31, 31, 31, 31],
"ct": [1, 29, 18, 1, 31, 9, 1, 19],
"result": "valid"
},
{
"tcId": 192,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [16, 0, 0, 0, 16, 0, 0, 0],
"ct": [29, 11, 27, 30, 8, 28, 21, 19],
"result": "valid"
},
{
"tcId": 193,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [15, 31, 31, 31, 15, 31, 31, 31],
"ct": [19, 5, 5, 9, 15, 10, 27, 28],
"result": "valid"
},
{
"tcId": 194,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [26, 28, 29, 0, 28, 13, 2, 5],
"ct": [12, 22, 6, 7, 4, 24, 21, 28],
"result": "valid"
},
{
"tcId": 195,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [1, 31, 2, 22, 21, 31, 12, 0],
"ct": [8, 20, 26, 14, 2, 17, 5, 28],
"result": "valid"
},
{
"tcId": 196,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [2, 10, 4, 27, 24, 4, 11, 23],
"ct": [25, 28, 9, 11, 4, 15, 8, 9],
"result": "valid"
},
{
"tcId": 197,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [22, 22, 8, 28, 13, 20, 17, 8],
"ct": [18, 7, 9, 5, 30, 8, 14, 19],
"result": "valid"
},
{
"tcId": 198,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [9, 14, 1, 12, 12, 3, 3, 19],
"ct": [8, 19, 23, 5, 25, 20, 25, 7],
"result": "valid"
},
{
"tcId": 199,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [31, 18, 7, 4, 29, 2, 19, 21],
"ct": [16, 30, 24, 11, 18, 15, 0, 16],
"result": "valid"
},
{
"tcId": 200,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [15, 16, 4, 31, 5, 11, 30, 3],
"ct": [18, 4, 26, 6, 27, 8, 20, 9],
"result": "valid"
},
{
"tcId": 201,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [8, 31, 8, 16, 23, 23, 30, 22],
"ct": [31, 6, 11, 2, 16, 5, 27, 16],
"result": "valid"
},
{
"tcId": 202,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [2, 29, 23, 26, 14, 6, 9, 5],
"ct": [0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 203,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [23, 26, 4, 1, 16, 27, 24, 14],
"ct": [31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 204,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [22, 3, 11, 30, 9, 14, 4, 19],
"ct": [16, 0, 0, 0, 16, 0, 0, 0],
"result": "valid"
},
{
"tcId": 205,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3bfee9ab1eadaa8cff5b05281fcb0140",
"tweak": "2024d5e34b3ba6a0",
"msg": [13, 6, 0, 27, 22, 9, 25, 16],
"ct": [15, 31, 31, 31, 15, 31, 31, 31],
"result": "valid"
},
{
"tcId": 206,
"comment": "y = 0 and (y + a) % radix**4 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "ed55decef10feac24c7eb947",
"msg": [12, 7, 15, 30, 31, 12, 28, 29],
"ct": [4, 26, 21, 31, 26, 22, 4, 7],
"result": "valid"
},
{
"tcId": 207,
"comment": "y = 0 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "ed55decef10feac24c7eb947",
"msg": [1, 10, 15, 31, 31, 19, 30, 28],
"ct": [20, 15, 8, 17, 9, 2, 18, 6],
"result": "valid"
},
{
"tcId": 208,
"comment": "y = 0 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "ed55decef10feac24c7eb947",
"msg": [12, 23, 1, 14, 31, 18, 0, 10],
"ct": [31, 23, 10, 0, 6, 9, 5, 25],
"result": "valid"
},
{
"tcId": 209,
"comment": "y = 0 and (y + a) % radix**4 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "ed55decef10feac24c7eb947",
"msg": [29, 20, 31, 4, 1, 30, 11, 10],
"ct": [16, 25, 11, 20, 27, 20, 6, 19],
"result": "valid"
},
{
"tcId": 210,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "6df45a5aeaf9db18f53e6446",
"msg": [0, 0, 0, 0, 11, 25, 13, 5],
"ct": [5, 10, 16, 17, 10, 14, 21, 30],
"result": "valid"
},
{
"tcId": 211,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "6df45a5aeaf9db18f53e6446",
"msg": [0, 0, 0, 1, 11, 25, 13, 5],
"ct": [15, 30, 15, 19, 7, 8, 14, 5],
"result": "valid"
},
{
"tcId": 212,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "6df45a5aeaf9db18f53e6446",
"msg": [16, 0, 0, 0, 11, 25, 13, 5],
"ct": [10, 8, 9, 25, 4, 4, 29, 12],
"result": "valid"
},
{
"tcId": 213,
"comment": "y = 1 and (y + a) % radix**4 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "6df45a5aeaf9db18f53e6446",
"msg": [31, 31, 31, 30, 11, 25, 13, 5],
"ct": [23, 24, 29, 0, 15, 28, 29, 1],
"result": "valid"
},
{
"tcId": 214,
"comment": "y = 1 and (y + a) % radix**4 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "6df45a5aeaf9db18f53e6446",
"msg": [31, 31, 31, 31, 11, 25, 13, 5],
"ct": [25, 10, 17, 28, 22, 0, 23, 24],
"result": "valid"
},
{
"tcId": 215,
"comment": "y is maximal and (y + a) % radix**4 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "85aa724ba3746d33739f50bc",
"msg": [25, 4, 0, 26, 16, 27, 3, 21],
"ct": [24, 16, 6, 2, 14, 30, 9, 31],
"result": "valid"
},
{
"tcId": 216,
"comment": "y is maximal and (y + a) % radix**4 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "85aa724ba3746d33739f50bc",
"msg": [16, 23, 2, 23, 24, 17, 21, 13],
"ct": [24, 0, 1, 2, 22, 11, 12, 17],
"result": "valid"
},
{
"tcId": 217,
"comment": "y is maximal and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "85aa724ba3746d33739f50bc",
"msg": [15, 2, 19, 6, 25, 11, 31, 18],
"ct": [25, 7, 2, 5, 2, 30, 15, 23],
"result": "valid"
},
{
"tcId": 218,
"comment": "y is maximal and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "85aa724ba3746d33739f50bc",
"msg": [11, 26, 1, 15, 17, 6, 7, 6],
"ct": [15, 16, 1, 10, 20, 6, 15, 2],
"result": "valid"
},
{
"tcId": 219,
"comment": "y is edge case for modular reduction and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "1aa2b53bc5e862545a52254d",
"msg": [28, 5, 27, 17, 8, 8, 11, 30],
"ct": [27, 15, 3, 15, 23, 9, 3, 30],
"result": "valid"
},
{
"tcId": 220,
"comment": "y is edge case for modular reduction and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "1aa2b53bc5e862545a52254d",
"msg": [5, 0, 13, 31, 23, 14, 26, 6],
"ct": [15, 28, 12, 31, 23, 16, 25, 2],
"result": "valid"
},
{
"tcId": 221,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "1aa2b53bc5e862545a52254d",
"msg": [14, 8, 25, 24, 1, 6, 11, 5],
"ct": [12, 26, 22, 5, 24, 13, 17, 26],
"result": "valid"
},
{
"tcId": 222,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "1aa2b53bc5e862545a52254d",
"msg": [12, 22, 0, 16, 5, 7, 1, 19],
"ct": [22, 7, 20, 14, 29, 10, 28, 24],
"result": "valid"
},
{
"tcId": 223,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "1aa2b53bc5e862545a52254d",
"msg": [4, 29, 14, 6, 21, 12, 6, 12],
"ct": [26, 26, 0, 2, 1, 26, 28, 21],
"result": "valid"
},
{
"tcId": 224,
"comment": "y is edge case for modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "1aa2b53bc5e862545a52254d",
"msg": [0, 27, 23, 21, 15, 20, 9, 31],
"ct": [19, 31, 31, 4, 8, 14, 31, 12],
"result": "valid"
},
{
"tcId": 225,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "e62b80da278129ce3cac7635",
"msg": [28, 14, 23, 11, 25, 1, 27, 26],
"ct": [18, 23, 13, 28, 28, 29, 23, 23],
"result": "valid"
},
{
"tcId": 226,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "e62b80da278129ce3cac7635",
"msg": [31, 12, 14, 10, 8, 16, 2, 4],
"ct": [31, 15, 31, 2, 17, 31, 8, 27],
"result": "valid"
},
{
"tcId": 227,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "e62b80da278129ce3cac7635",
"msg": [16, 10, 28, 30, 14, 29, 9, 28],
"ct": [20, 17, 17, 17, 22, 5, 22, 4],
"result": "valid"
},
{
"tcId": 228,
"comment": "y is maximal after modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "475b7573760904fa57ad2cb88ea52f32",
"tweak": "e62b80da278129ce3cac7635",
"msg": [14, 21, 31, 15, 12, 25, 15, 23],
"ct": [6, 29, 21, 26, 19, 24, 24, 7],
"result": "valid"
},
{
"tcId": 229,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ebc261665fab01ae2bfe156e54de3006",
"tweak": "5080dd547abdeddd",
"msg": [-1, 1, 15, 14, 21, 31, 22, 29],
"ct": [30, 29, 17, 16, 17, 0, 16, 20],
"result": "invalid"
},
{
"tcId": 230,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ebc261665fab01ae2bfe156e54de3006",
"tweak": "5080dd547abdeddd",
"msg": [24, 1, -1, 14, 21, 31, 22, 29],
"ct": [21, 25, 6, 22, 14, 18, 11, 21],
"result": "invalid"
},
{
"tcId": 231,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ebc261665fab01ae2bfe156e54de3006",
"tweak": "5080dd547abdeddd",
"msg": [24, 1, 15, 14, 21, 31, 22, -1],
"ct": [2, 17, 28, 9, 6, 10, 12, 14],
"result": "invalid"
},
{
"tcId": 232,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "672ac68e85d7f434a17d17af4573216c",
"tweak": "a22625a564fc6e16",
"msg": [32, 9, 15, 24, 27, 26, 19, 23],
"ct": [5, 7, 20, 3, 31, 11, 2, 19],
"result": "invalid"
},
{
"tcId": 233,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "672ac68e85d7f434a17d17af4573216c",
"tweak": "a22625a564fc6e16",
"msg": [12, 9, 32, 24, 27, 26, 19, 23],
"ct": [25, 8, 7, 1, 31, 1, 27, 4],
"result": "invalid"
},
{
"tcId": 234,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "672ac68e85d7f434a17d17af4573216c",
"tweak": "a22625a564fc6e16",
"msg": [12, 9, 15, 24, 27, 26, 19, 32],
"ct": [18, 8, 17, 2, 4, 29, 25, 21],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 9,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 235,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "2215b9528000f5f306fcdfe2969c6785",
"tweak": "0539d85c7b076285",
"msg": [15, 29, 24, 26, 6, 4, 11, 7, 26],
"ct": [2, 24, 29, 16, 29, 0, 0, 21, 24],
"result": "valid"
},
{
"tcId": 236,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [28, 23, 13, 13, 13, 12, 5, 24, 12],
"result": "valid"
},
{
"tcId": 237,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [3, 28, 18, 5, 16, 26, 10, 29, 22],
"result": "valid"
},
{
"tcId": 238,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [16, 0, 0, 0, 16, 0, 0, 0, 0],
"ct": [7, 7, 9, 11, 16, 6, 16, 25, 13],
"result": "valid"
},
{
"tcId": 239,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [15, 31, 31, 31, 15, 31, 31, 31, 31],
"ct": [16, 26, 9, 16, 17, 31, 16, 10, 24],
"result": "valid"
},
{
"tcId": 240,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [0, 0, 18, 5, 19, 4, 7, 3, 3],
"ct": [1, 20, 1, 1, 4, 29, 16, 0, 4],
"result": "valid"
},
{
"tcId": 241,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [28, 0, 13, 18, 19, 3, 28, 18, 22],
"ct": [9, 28, 30, 16, 31, 23, 15, 13, 1],
"result": "valid"
},
{
"tcId": 242,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [30, 7, 18, 30, 17, 7, 0, 9, 26],
"ct": [30, 0, 29, 7, 18, 16, 18, 12, 1],
"result": "valid"
},
{
"tcId": 243,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [21, 19, 15, 14, 0, 0, 29, 7, 12],
"ct": [10, 26, 30, 27, 0, 18, 20, 2, 16],
"result": "valid"
},
{
"tcId": 244,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [20, 4, 29, 7, 12, 19, 18, 30, 5],
"ct": [30, 25, 13, 0, 2, 25, 16, 9, 23],
"result": "valid"
},
{
"tcId": 245,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [13, 24, 19, 13, 2, 17, 25, 3, 17],
"ct": [21, 4, 12, 27, 5, 27, 24, 8, 21],
"result": "valid"
},
{
"tcId": 246,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [6, 25, 29, 3, 19, 25, 17, 12, 11],
"ct": [21, 8, 7, 3, 19, 15, 8, 21, 23],
"result": "valid"
},
{
"tcId": 247,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [29, 26, 23, 6, 18, 4, 9, 16, 9],
"ct": [28, 8, 17, 24, 28, 0, 23, 18, 26],
"result": "valid"
},
{
"tcId": 248,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [24, 2, 16, 28, 23, 0, 13, 31, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 249,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [7, 9, 14, 27, 8, 0, 14, 7, 13],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 250,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [5, 2, 28, 18, 29, 4, 12, 9, 25],
"ct": [16, 0, 0, 0, 16, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 251,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4c00ade3e32b12866bb56e736e18eaf4",
"tweak": "3f0bf1e88240178e",
"msg": [30, 24, 25, 11, 28, 23, 7, 28, 22],
"ct": [15, 31, 31, 31, 15, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 252,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "ffd1210aa39547d2b9561f",
"msg": [4, 12, 29, 28, 17, 27, 24, 3, 25],
"ct": [0, 0, 0, 1, 12, 22, 1, 8, 4],
"result": "valid"
},
{
"tcId": 253,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "ffd1210aa39547d2b9561f",
"msg": [18, 16, 12, 1, 29, 7, 28, 25, 3],
"ct": [0, 0, 0, 2, 10, 5, 22, 11, 1],
"result": "valid"
},
{
"tcId": 254,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "ffd1210aa39547d2b9561f",
"msg": [26, 16, 12, 18, 16, 14, 29, 18, 13],
"ct": [16, 0, 0, 1, 20, 28, 21, 12, 20],
"result": "valid"
},
{
"tcId": 255,
"comment": "y = 1 and (y + a) % radix**4 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "ffd1210aa39547d2b9561f",
"msg": [30, 16, 31, 23, 14, 11, 15, 17, 23],
"ct": [31, 31, 31, 31, 24, 5, 14, 5, 20],
"result": "valid"
},
{
"tcId": 256,
"comment": "y = 1 and (y + a) % radix**4 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "ffd1210aa39547d2b9561f",
"msg": [17, 10, 15, 2, 14, 0, 4, 5, 16],
"ct": [0, 0, 0, 0, 19, 3, 18, 21, 6],
"result": "valid"
},
{
"tcId": 257,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "ecda610b044ca9db1f3042",
"msg": [18, 18, 21, 29, 11, 4, 19, 28, 11],
"ct": [25, 7, 28, 20, 23, 2, 7, 2, 24],
"result": "valid"
},
{
"tcId": 258,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "ecda610b044ca9db1f3042",
"msg": [26, 21, 4, 31, 24, 7, 20, 1, 11],
"ct": [20, 7, 14, 25, 13, 20, 25, 24, 14],
"result": "valid"
},
{
"tcId": 259,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "ecda610b044ca9db1f3042",
"msg": [27, 22, 11, 19, 29, 16, 3, 24, 11],
"ct": [27, 0, 16, 8, 30, 18, 6, 23, 29],
"result": "valid"
},
{
"tcId": 260,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "ecda610b044ca9db1f3042",
"msg": [20, 19, 31, 4, 24, 9, 14, 23, 10],
"ct": [8, 1, 21, 12, 24, 31, 15, 11, 24],
"result": "valid"
},
{
"tcId": 261,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "ecda610b044ca9db1f3042",
"msg": [0, 3, 17, 19, 15, 0, 13, 15, 13],
"ct": [6, 7, 12, 31, 30, 19, 4, 4, 9],
"result": "valid"
},
{
"tcId": 262,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "36e6ec14d7abaf2fa03904af42244b5f",
"tweak": "ecda610b044ca9db1f3042",
"msg": [0, 13, 13, 3, 13, 29, 12, 1, 24],
"ct": [22, 28, 22, 18, 2, 4, 26, 8, 30],
"result": "valid"
},
{
"tcId": 263,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7fd4e71784e95a3dd0b41315a67131d2",
"tweak": "47d48ea4716ab8df",
"msg": [-1, 3, 25, 22, 19, 27, 19, 9, 25],
"ct": [28, 1, 15, 13, 2, 5, 30, 29, 17],
"result": "invalid"
},
{
"tcId": 264,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7fd4e71784e95a3dd0b41315a67131d2",
"tweak": "47d48ea4716ab8df",
"msg": [22, 3, 25, -1, 19, 27, 19, 9, 25],
"ct": [29, 22, 9, 14, 16, 16, 24, 5, 19],
"result": "invalid"
},
{
"tcId": 265,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7fd4e71784e95a3dd0b41315a67131d2",
"tweak": "47d48ea4716ab8df",
"msg": [22, 3, 25, 22, 19, 27, 19, 9, -1],
"ct": [15, 1, 2, 29, 26, 5, 8, 1, 3],
"result": "invalid"
},
{
"tcId": 266,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "09cdc15c0a4ce577e6177399e3257c7b",
"tweak": "a7f011795cb24ee1",
"msg": [32, 9, 14, 5, 24, 14, 30, 20, 11],
"ct": [2, 9, 26, 17, 6, 29, 20, 29, 23],
"result": "invalid"
},
{
"tcId": 267,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "09cdc15c0a4ce577e6177399e3257c7b",
"tweak": "a7f011795cb24ee1",
"msg": [21, 9, 14, 32, 24, 14, 30, 20, 11],
"ct": [31, 5, 30, 19, 8, 5, 3, 25, 12],
"result": "invalid"
},
{
"tcId": 268,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "09cdc15c0a4ce577e6177399e3257c7b",
"tweak": "a7f011795cb24ee1",
"msg": [21, 9, 14, 5, 24, 14, 30, 20, 32],
"ct": [20, 20, 30, 25, 29, 4, 0, 18, 22],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 10,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 269,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "5474525ca99fb5da2babdbd45c727d16",
"tweak": "f2cb4d9ba04b81f8",
"msg": [29, 24, 16, 12, 20, 29, 8, 0, 2, 22],
"ct": [11, 4, 24, 21, 31, 7, 12, 10, 28, 4],
"result": "valid"
},
{
"tcId": 270,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [24, 15, 26, 14, 22, 7, 25, 3, 4, 4],
"result": "valid"
},
{
"tcId": 271,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [1, 20, 2, 18, 12, 29, 11, 21, 13, 15],
"result": "valid"
},
{
"tcId": 272,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [16, 0, 0, 0, 0, 16, 0, 0, 0, 0],
"ct": [11, 21, 12, 19, 13, 5, 14, 17, 9, 13],
"result": "valid"
},
{
"tcId": 273,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [15, 31, 31, 31, 31, 15, 31, 31, 31, 31],
"ct": [29, 0, 14, 1, 6, 19, 3, 17, 11, 15],
"result": "valid"
},
{
"tcId": 274,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [26, 6, 7, 4, 25, 9, 29, 18, 2, 30],
"ct": [1, 0, 13, 23, 8, 18, 8, 4, 8, 29],
"result": "valid"
},
{
"tcId": 275,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [19, 21, 6, 5, 6, 25, 25, 0, 8, 15],
"ct": [21, 19, 13, 0, 19, 11, 29, 0, 5, 1],
"result": "valid"
},
{
"tcId": 276,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [9, 18, 21, 22, 22, 14, 23, 5, 5, 14],
"ct": [17, 27, 31, 30, 22, 3, 10, 0, 9, 18],
"result": "valid"
},
{
"tcId": 277,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [9, 11, 21, 20, 29, 28, 15, 11, 0, 9],
"ct": [29, 8, 20, 9, 13, 10, 25, 31, 25, 20],
"result": "valid"
},
{
"tcId": 278,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [17, 14, 1, 16, 23, 20, 12, 27, 1, 24],
"ct": [13, 28, 25, 10, 13, 11, 19, 7, 15, 7],
"result": "valid"
},
{
"tcId": 279,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [28, 9, 4, 11, 3, 27, 29, 16, 24, 22],
"ct": [9, 20, 19, 15, 20, 3, 18, 30, 26, 4],
"result": "valid"
},
{
"tcId": 280,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [4, 0, 21, 9, 19, 26, 14, 21, 3, 29],
"ct": [11, 4, 16, 2, 19, 14, 8, 14, 0, 3],
"result": "valid"
},
{
"tcId": 281,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [15, 22, 13, 8, 14, 12, 17, 0, 5, 28],
"ct": [17, 1, 20, 15, 22, 23, 14, 9, 7, 16],
"result": "valid"
},
{
"tcId": 282,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [5, 10, 22, 4, 9, 2, 5, 23, 5, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 283,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [17, 21, 6, 11, 24, 23, 20, 0, 15, 8],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 284,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [6, 25, 20, 19, 25, 15, 12, 13, 17, 25],
"ct": [16, 0, 0, 0, 0, 16, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 285,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3e7ffa3f410e329464ad1d205799b3d5",
"tweak": "0d5a58b58855ef5a",
"msg": [0, 31, 24, 8, 17, 13, 20, 26, 18, 4],
"ct": [15, 31, 31, 31, 31, 15, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 286,
"comment": "y = 0 and (y + a) % radix**5 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "560186b4313b1b65091222",
"msg": [6, 3, 28, 18, 6, 5, 15, 6, 7, 25],
"ct": [10, 27, 9, 13, 16, 14, 25, 22, 0, 18],
"result": "valid"
},
{
"tcId": 287,
"comment": "y = 0 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "560186b4313b1b65091222",
"msg": [0, 4, 19, 9, 5, 17, 29, 11, 0, 28],
"ct": [5, 30, 6, 16, 25, 14, 22, 15, 19, 6],
"result": "valid"
},
{
"tcId": 288,
"comment": "y = 0 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "560186b4313b1b65091222",
"msg": [14, 13, 14, 3, 6, 24, 13, 20, 11, 22],
"ct": [31, 7, 4, 3, 2, 17, 8, 8, 16, 26],
"result": "valid"
},
{
"tcId": 289,
"comment": "y = 0 and (y + a) % radix**5 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "560186b4313b1b65091222",
"msg": [20, 7, 19, 15, 18, 0, 20, 25, 13, 5],
"ct": [28, 2, 9, 4, 0, 20, 23, 12, 21, 23],
"result": "valid"
},
{
"tcId": 290,
"comment": "y = 1 and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "334756c8f669e463b94e34",
"msg": [28, 14, 24, 14, 5, 26, 9, 16, 5, 14],
"ct": [0, 2, 29, 9, 20, 14, 20, 30, 11, 29],
"result": "valid"
},
{
"tcId": 291,
"comment": "y = 1 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "334756c8f669e463b94e34",
"msg": [26, 1, 12, 8, 8, 29, 2, 14, 28, 5],
"ct": [19, 23, 10, 23, 4, 3, 1, 23, 16, 26],
"result": "valid"
},
{
"tcId": 292,
"comment": "y = 1 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "334756c8f669e463b94e34",
"msg": [2, 23, 0, 3, 18, 4, 2, 27, 20, 25],
"ct": [0, 21, 18, 17, 13, 6, 25, 9, 7, 1],
"result": "valid"
},
{
"tcId": 293,
"comment": "y = 1 and (y + a) % radix**5 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "334756c8f669e463b94e34",
"msg": [25, 1, 26, 31, 10, 2, 28, 10, 27, 29],
"ct": [7, 6, 23, 10, 31, 8, 1, 29, 17, 26],
"result": "valid"
},
{
"tcId": 294,
"comment": "y = 1 and (y + a) % radix**5 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "334756c8f669e463b94e34",
"msg": [20, 16, 11, 25, 5, 22, 20, 17, 18, 18],
"ct": [7, 13, 13, 3, 6, 9, 3, 27, 7, 15],
"result": "valid"
},
{
"tcId": 295,
"comment": "y is edge case for modular reduction and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "3cfe7483845b5e5723f5b5",
"msg": [25, 30, 2, 21, 21, 0, 0, 0, 0, 0],
"ct": [6, 22, 12, 5, 5, 18, 28, 22, 2, 16],
"result": "valid"
},
{
"tcId": 296,
"comment": "y is edge case for modular reduction and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "3cfe7483845b5e5723f5b5",
"msg": [5, 15, 8, 10, 4, 0, 0, 0, 0, 1],
"ct": [16, 23, 29, 9, 24, 9, 11, 9, 22, 31],
"result": "valid"
},
{
"tcId": 297,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "3cfe7483845b5e5723f5b5",
"msg": [5, 13, 13, 29, 28, 0, 0, 0, 0, 31],
"ct": [18, 9, 10, 15, 0, 22, 28, 3, 13, 6],
"result": "valid"
},
{
"tcId": 298,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "3cfe7483845b5e5723f5b5",
"msg": [19, 16, 14, 14, 18, 0, 0, 0, 1, 0],
"ct": [11, 1, 15, 1, 19, 17, 2, 2, 28, 4],
"result": "valid"
},
{
"tcId": 299,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "3cfe7483845b5e5723f5b5",
"msg": [24, 29, 0, 23, 30, 16, 0, 0, 0, 0],
"ct": [20, 4, 8, 28, 21, 9, 20, 3, 24, 3],
"result": "valid"
},
{
"tcId": 300,
"comment": "y is edge case for modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "7b64450714b0a262376044de6e260f0a",
"tweak": "3cfe7483845b5e5723f5b5",
"msg": [31, 18, 11, 0, 16, 31, 31, 31, 31, 31],
"ct": [16, 20, 2, 16, 10, 9, 24, 24, 18, 5],
"result": "valid"
},
{
"tcId": 301,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c2153daac19904cf16ea81dbc73a58dc",
"tweak": "38b7196a238d3892",
"msg": [-1, 26, 9, 9, 15, 17, 23, 19, 23, 0],
"ct": [0, 16, 1, 12, 6, 22, 27, 23, 4, 5],
"result": "invalid"
},
{
"tcId": 302,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c2153daac19904cf16ea81dbc73a58dc",
"tweak": "38b7196a238d3892",
"msg": [27, 26, 9, -1, 15, 17, 23, 19, 23, 0],
"ct": [14, 27, 2, 4, 3, 12, 16, 14, 16, 16],
"result": "invalid"
},
{
"tcId": 303,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c2153daac19904cf16ea81dbc73a58dc",
"tweak": "38b7196a238d3892",
"msg": [27, 26, 9, 9, 15, 17, 23, 19, 23, -1],
"ct": [5, 0, 5, 2, 16, 23, 19, 13, 17, 3],
"result": "invalid"
},
{
"tcId": 304,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "66e79940e040e0c89ff962426f4f3384",
"tweak": "102f66ecf2e54fe1",
"msg": [32, 26, 0, 16, 23, 20, 6, 13, 12, 0],
"ct": [23, 15, 27, 26, 13, 22, 16, 10, 23, 13],
"result": "invalid"
},
{
"tcId": 305,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "66e79940e040e0c89ff962426f4f3384",
"tweak": "102f66ecf2e54fe1",
"msg": [13, 26, 0, 32, 23, 20, 6, 13, 12, 0],
"ct": [14, 9, 17, 31, 12, 27, 29, 23, 12, 27],
"result": "invalid"
},
{
"tcId": 306,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "66e79940e040e0c89ff962426f4f3384",
"tweak": "102f66ecf2e54fe1",
"msg": [13, 26, 0, 16, 23, 20, 6, 13, 12, 32],
"ct": [29, 18, 31, 13, 9, 1, 5, 9, 16, 4],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 11,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 307,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "63396f38c44f0c2d97468c4804b5d022",
"tweak": "73068af95fd924fc",
"msg": [2, 11, 26, 27, 31, 7, 24, 10, 30, 25, 6],
"ct": [1, 9, 13, 21, 7, 22, 26, 10, 23, 23, 19],
"result": "valid"
},
{
"tcId": 308,
"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": [11, 21, 0, 19, 3, 19, 2, 11, 30, 8, 1],
"result": "valid"
},
{
"tcId": 309,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [14, 7, 16, 23, 0, 31, 5, 19, 16, 1, 21],
"result": "valid"
},
{
"tcId": 310,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [16, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0],
"ct": [14, 9, 22, 6, 30, 18, 10, 8, 25, 7, 6],
"result": "valid"
},
{
"tcId": 311,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [15, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31],
"ct": [1, 25, 13, 28, 9, 27, 14, 16, 2, 12, 7],
"result": "valid"
},
{
"tcId": 312,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [7, 20, 16, 3, 2, 25, 31, 29, 10, 7, 29],
"ct": [23, 5, 19, 13, 7, 1, 26, 31, 20, 16, 21],
"result": "valid"
},
{
"tcId": 313,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [12, 15, 21, 6, 23, 8, 10, 25, 24, 30, 15],
"ct": [22, 27, 28, 9, 6, 0, 26, 31, 11, 20, 23],
"result": "valid"
},
{
"tcId": 314,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [24, 18, 8, 16, 11, 16, 18, 28, 25, 14, 17],
"ct": [25, 19, 21, 8, 15, 16, 30, 7, 0, 7, 1],
"result": "valid"
},
{
"tcId": 315,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [1, 27, 29, 6, 27, 29, 2, 20, 12, 31, 23],
"ct": [8, 26, 16, 6, 28, 28, 8, 20, 13, 19, 8],
"result": "valid"
},
{
"tcId": 316,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [28, 19, 9, 9, 30, 6, 19, 17, 30, 29, 11],
"ct": [5, 24, 4, 10, 0, 4, 10, 24, 16, 25, 9],
"result": "valid"
},
{
"tcId": 317,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [2, 18, 17, 1, 24, 21, 22, 15, 31, 24, 6],
"ct": [10, 20, 23, 6, 10, 31, 30, 11, 29, 16, 22],
"result": "valid"
},
{
"tcId": 318,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [15, 4, 9, 27, 1, 12, 11, 18, 17, 31, 4],
"ct": [17, 9, 5, 25, 26, 18, 0, 27, 12, 19, 26],
"result": "valid"
},
{
"tcId": 319,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [24, 0, 22, 20, 0, 31, 31, 8, 27, 28, 16],
"ct": [16, 20, 18, 17, 2, 6, 21, 2, 31, 1, 18],
"result": "valid"
},
{
"tcId": 320,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [26, 25, 28, 0, 6, 25, 19, 7, 29, 8, 14],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 321,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [6, 4, 25, 28, 9, 12, 26, 13, 15, 29, 3],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 322,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [7, 10, 31, 7, 17, 1, 15, 25, 12, 19, 21],
"ct": [16, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 323,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd69e5d5444781e0645ba24b2a32dee8",
"tweak": "e1310d099e8e72c6",
"msg": [22, 9, 1, 7, 16, 10, 4, 24, 14, 17, 17],
"ct": [15, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 324,
"comment": "y = 0 and (y + a) % radix**5 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "fc5aa304ade619d11a392d",
"msg": [13, 10, 8, 10, 6, 13, 19, 28, 3, 21, 21],
"ct": [29, 31, 16, 21, 18, 31, 8, 20, 28, 11, 2],
"result": "valid"
},
{
"tcId": 325,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "fc5aa304ade619d11a392d",
"msg": [23, 1, 31, 2, 9, 19, 26, 3, 31, 19, 8],
"ct": [14, 6, 24, 8, 15, 16, 23, 21, 20, 5, 10],
"result": "valid"
},
{
"tcId": 326,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "fc5aa304ade619d11a392d",
"msg": [19, 23, 24, 9, 7, 18, 7, 7, 15, 29, 22],
"ct": [10, 13, 28, 7, 5, 24, 11, 6, 14, 18, 9],
"result": "valid"
},
{
"tcId": 327,
"comment": "y = 0 and (y + a) % radix**5 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "fc5aa304ade619d11a392d",
"msg": [16, 25, 24, 29, 11, 27, 10, 17, 29, 5, 29],
"ct": [23, 0, 13, 7, 30, 25, 21, 18, 1, 29, 24],
"result": "valid"
},
{
"tcId": 328,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "25749a787e1a65363026d9",
"msg": [29, 15, 3, 4, 9, 1, 16, 7, 3, 21, 0],
"ct": [16, 2, 30, 26, 10, 23, 2, 15, 28, 24, 4],
"result": "valid"
},
{
"tcId": 329,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "25749a787e1a65363026d9",
"msg": [26, 10, 16, 31, 20, 6, 9, 8, 30, 18, 21],
"ct": [19, 20, 5, 20, 29, 16, 1, 17, 12, 29, 29],
"result": "valid"
},
{
"tcId": 330,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "25749a787e1a65363026d9",
"msg": [17, 30, 27, 17, 6, 17, 16, 16, 30, 10, 13],
"ct": [14, 5, 11, 12, 8, 29, 1, 3, 3, 2, 26],
"result": "valid"
},
{
"tcId": 331,
"comment": "y = 1 and (y + a) % radix**5 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "25749a787e1a65363026d9",
"msg": [1, 15, 12, 3, 15, 14, 6, 1, 28, 27, 31],
"ct": [3, 5, 14, 0, 2, 17, 11, 26, 12, 23, 18],
"result": "valid"
},
{
"tcId": 332,
"comment": "y = 1 and (y + a) % radix**5 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "25749a787e1a65363026d9",
"msg": [10, 6, 9, 8, 17, 13, 29, 3, 19, 26, 2],
"ct": [31, 3, 0, 2, 14, 0, 18, 17, 15, 21, 27],
"result": "valid"
},
{
"tcId": 333,
"comment": "y is maximal and (y + a) % radix**5 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "1bc8a76d45a2b3a163b538",
"msg": [13, 7, 19, 14, 15, 3, 31, 5, 3, 29, 12],
"ct": [31, 31, 31, 31, 31, 3, 0, 27, 16, 16, 15],
"result": "valid"
},
{
"tcId": 334,
"comment": "y is maximal and (y + a) % radix**5 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "1bc8a76d45a2b3a163b538",
"msg": [4, 0, 27, 5, 20, 15, 1, 2, 7, 24, 18],
"ct": [0, 0, 0, 0, 0, 16, 18, 28, 27, 28, 2],
"result": "valid"
},
{
"tcId": 335,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "1bc8a76d45a2b3a163b538",
"msg": [7, 22, 22, 23, 9, 6, 14, 28, 29, 12, 1],
"ct": [15, 31, 31, 31, 31, 20, 30, 4, 28, 4, 10],
"result": "valid"
},
{
"tcId": 336,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "1bc8a76d45a2b3a163b538",
"msg": [8, 4, 3, 30, 25, 28, 21, 9, 1, 14, 3],
"ct": [31, 31, 31, 31, 30, 6, 13, 8, 15, 24, 18],
"result": "valid"
},
{
"tcId": 337,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "1674fba02ac8f95c8ccc98",
"msg": [24, 20, 27, 22, 2, 17, 29, 29, 6, 25, 22],
"ct": [0, 13, 2, 20, 21, 3, 0, 22, 19, 5, 27],
"result": "valid"
},
{
"tcId": 338,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "1674fba02ac8f95c8ccc98",
"msg": [31, 30, 20, 23, 21, 3, 19, 10, 14, 2, 31],
"ct": [16, 21, 10, 18, 21, 29, 13, 17, 17, 29, 31],
"result": "valid"
},
{
"tcId": 339,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "1674fba02ac8f95c8ccc98",
"msg": [22, 14, 23, 24, 4, 0, 27, 1, 27, 13, 2],
"ct": [10, 20, 4, 10, 13, 18, 30, 14, 12, 21, 14],
"result": "valid"
},
{
"tcId": 340,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "1674fba02ac8f95c8ccc98",
"msg": [17, 5, 7, 9, 16, 11, 23, 19, 12, 12, 3],
"ct": [22, 15, 9, 7, 5, 7, 11, 14, 14, 18, 11],
"result": "valid"
},
{
"tcId": 341,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "1674fba02ac8f95c8ccc98",
"msg": [24, 24, 25, 9, 19, 31, 28, 29, 10, 17, 12],
"ct": [0, 30, 25, 28, 13, 23, 28, 5, 24, 6, 22],
"result": "valid"
},
{
"tcId": 342,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "1674fba02ac8f95c8ccc98",
"msg": [14, 31, 12, 10, 23, 11, 4, 27, 5, 0, 20],
"ct": [31, 30, 23, 26, 13, 8, 3, 5, 1, 10, 4],
"result": "valid"
},
{
"tcId": 343,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "2ddaf6b2fa94a4dc739e0d",
"msg": [21, 7, 1, 30, 31, 6, 17, 12, 18, 8, 19],
"ct": [18, 2, 28, 24, 9, 26, 25, 25, 22, 9, 3],
"result": "valid"
},
{
"tcId": 344,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "2ddaf6b2fa94a4dc739e0d",
"msg": [29, 29, 25, 17, 30, 16, 29, 21, 31, 27, 1],
"ct": [0, 31, 13, 4, 23, 3, 25, 18, 15, 13, 30],
"result": "valid"
},
{
"tcId": 345,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "2ddaf6b2fa94a4dc739e0d",
"msg": [20, 17, 3, 16, 26, 22, 17, 26, 1, 9, 23],
"ct": [12, 11, 25, 13, 14, 11, 5, 10, 27, 19, 28],
"result": "valid"
},
{
"tcId": 346,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "6c6ec910e1fcdff2f0df935de10d0560",
"tweak": "2ddaf6b2fa94a4dc739e0d",
"msg": [16, 7, 11, 6, 11, 3, 2, 5, 5, 26, 2],
"ct": [30, 17, 16, 7, 17, 5, 24, 9, 17, 13, 20],
"result": "valid"
},
{
"tcId": 347,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0b55b77a1d06778b795b541037eabb26",
"tweak": "3e26f18ba99add01",
"msg": [-1, 10, 24, 9, 0, 14, 1, 20, 5, 12, 11],
"ct": [25, 2, 26, 16, 7, 26, 9, 12, 12, 4, 16],
"result": "invalid"
},
{
"tcId": 348,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0b55b77a1d06778b795b541037eabb26",
"tweak": "3e26f18ba99add01",
"msg": [30, 10, 24, -1, 0, 14, 1, 20, 5, 12, 11],
"ct": [20, 13, 2, 24, 19, 25, 18, 3, 21, 3, 5],
"result": "invalid"
},
{
"tcId": 349,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0b55b77a1d06778b795b541037eabb26",
"tweak": "3e26f18ba99add01",
"msg": [30, 10, 24, 9, 0, 14, 1, 20, 5, 12, -1],
"ct": [13, 28, 30, 4, 5, 31, 11, 14, 28, 2, 31],
"result": "invalid"
},
{
"tcId": 350,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2faf4481c971440341b268fcf125b655",
"tweak": "795eb0a22eb3f831",
"msg": [32, 24, 24, 14, 31, 11, 5, 15, 1, 18, 31],
"ct": [15, 28, 17, 31, 5, 29, 11, 29, 3, 9, 25],
"result": "invalid"
},
{
"tcId": 351,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2faf4481c971440341b268fcf125b655",
"tweak": "795eb0a22eb3f831",
"msg": [25, 24, 24, 32, 31, 11, 5, 15, 1, 18, 31],
"ct": [2, 17, 9, 29, 31, 11, 23, 11, 14, 3, 22],
"result": "invalid"
},
{
"tcId": 352,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2faf4481c971440341b268fcf125b655",
"tweak": "795eb0a22eb3f831",
"msg": [25, 24, 24, 14, 31, 11, 5, 15, 1, 18, 32],
"ct": [21, 11, 0, 3, 25, 25, 21, 24, 26, 21, 4],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 12,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 353,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "ddc31fc7751a2bf5c8d2d815035622e8",
"tweak": "0e10628c19795c4e",
"msg": [19, 5, 23, 25, 11, 13, 30, 6, 15, 7, 24, 31],
"ct": [11, 11, 9, 3, 3, 11, 17, 10, 6, 12, 13, 25],
"result": "valid"
},
{
"tcId": 354,
"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": [26, 16, 10, 12, 0, 3, 17, 30, 25, 7, 22, 17],
"result": "valid"
},
{
"tcId": 355,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [28, 15, 2, 18, 25, 21, 19, 5, 19, 4, 14, 17],
"result": "valid"
},
{
"tcId": 356,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [16, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0],
"ct": [7, 27, 17, 4, 14, 14, 4, 1, 20, 2, 10, 1],
"result": "valid"
},
{
"tcId": 357,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [15, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31],
"ct": [1, 8, 21, 11, 3, 14, 1, 31, 30, 3, 28, 8],
"result": "valid"
},
{
"tcId": 358,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [7, 27, 5, 2, 4, 1, 12, 26, 20, 23, 26, 5],
"ct": [23, 24, 31, 9, 11, 17, 19, 14, 19, 14, 24, 30],
"result": "valid"
},
{
"tcId": 359,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [19, 17, 9, 15, 10, 26, 15, 19, 27, 18, 21, 24],
"ct": [29, 29, 9, 13, 2, 31, 1, 10, 18, 4, 8, 12],
"result": "valid"
},
{
"tcId": 360,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [4, 0, 1, 11, 11, 28, 20, 24, 12, 28, 23, 29],
"ct": [20, 0, 16, 14, 30, 22, 30, 16, 31, 25, 19, 24],
"result": "valid"
},
{
"tcId": 361,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [21, 15, 18, 0, 16, 3, 7, 22, 29, 18, 3, 16],
"ct": [12, 27, 11, 17, 6, 13, 27, 14, 17, 28, 5, 24],
"result": "valid"
},
{
"tcId": 362,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [8, 26, 18, 13, 9, 29, 22, 26, 10, 5, 20, 21],
"ct": [3, 19, 25, 14, 8, 23, 7, 4, 13, 29, 25, 28],
"result": "valid"
},
{
"tcId": 363,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [10, 11, 1, 29, 21, 4, 28, 5, 1, 24, 29, 9],
"ct": [22, 1, 26, 1, 5, 9, 3, 12, 0, 23, 21, 2],
"result": "valid"
},
{
"tcId": 364,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [28, 11, 14, 10, 4, 5, 15, 27, 15, 19, 16, 28],
"ct": [8, 18, 23, 12, 22, 8, 22, 9, 15, 13, 26, 20],
"result": "valid"
},
{
"tcId": 365,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [30, 17, 15, 18, 30, 2, 29, 16, 8, 30, 3, 13],
"ct": [2, 23, 0, 12, 1, 23, 30, 5, 5, 26, 4, 29],
"result": "valid"
},
{
"tcId": 366,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [28, 7, 1, 22, 1, 10, 7, 1, 3, 29, 26, 25],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 367,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [22, 7, 0, 12, 31, 6, 24, 23, 24, 13, 22, 27],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 368,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [2, 24, 14, 10, 24, 26, 12, 28, 29, 27, 31, 4],
"ct": [16, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 369,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d954ee3f3fabdcd92a2ad30b675ef74d",
"tweak": "bb3a5b86df3e19bc",
"msg": [28, 25, 7, 13, 17, 11, 27, 23, 17, 13, 13, 12],
"ct": [15, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 370,
"comment": "y = 0 and (y + a) % radix**6 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "5817c2cca0c58699db24ed",
"msg": [2, 5, 2, 10, 7, 24, 22, 15, 15, 16, 3, 27],
"ct": [5, 25, 3, 19, 4, 9, 24, 26, 13, 3, 13, 7],
"result": "valid"
},
{
"tcId": 371,
"comment": "y = 0 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "5817c2cca0c58699db24ed",
"msg": [18, 15, 11, 15, 16, 12, 5, 12, 26, 20, 8, 2],
"ct": [23, 28, 18, 14, 17, 15, 21, 25, 8, 21, 11, 14],
"result": "valid"
},
{
"tcId": 372,
"comment": "y = 0 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "5817c2cca0c58699db24ed",
"msg": [14, 26, 31, 2, 10, 21, 18, 13, 30, 29, 3, 15],
"ct": [20, 14, 26, 28, 21, 23, 30, 30, 27, 6, 30, 9],
"result": "valid"
},
{
"tcId": 373,
"comment": "y = 0 and (y + a) % radix**6 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "5817c2cca0c58699db24ed",
"msg": [26, 7, 5, 2, 20, 20, 5, 1, 5, 18, 8, 15],
"ct": [6, 0, 13, 10, 8, 13, 16, 19, 27, 25, 7, 16],
"result": "valid"
},
{
"tcId": 374,
"comment": "y = 1 and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "3046d34434c6e634dc3f65",
"msg": [28, 28, 28, 30, 16, 8, 27, 9, 20, 16, 12, 18],
"ct": [8, 0, 24, 7, 29, 31, 13, 17, 14, 4, 7, 12],
"result": "valid"
},
{
"tcId": 375,
"comment": "y = 1 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "3046d34434c6e634dc3f65",
"msg": [27, 0, 9, 16, 13, 28, 5, 6, 0, 31, 12, 2],
"ct": [12, 23, 26, 19, 10, 27, 23, 5, 31, 22, 28, 21],
"result": "valid"
},
{
"tcId": 376,
"comment": "y = 1 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "3046d34434c6e634dc3f65",
"msg": [22, 13, 7, 6, 24, 18, 8, 13, 23, 12, 2, 28],
"ct": [22, 15, 1, 0, 31, 6, 24, 12, 1, 9, 20, 2],
"result": "valid"
},
{
"tcId": 377,
"comment": "y = 1 and (y + a) % radix**6 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "3046d34434c6e634dc3f65",
"msg": [19, 26, 26, 7, 2, 15, 20, 10, 15, 23, 2, 5],
"ct": [10, 8, 25, 18, 18, 7, 22, 14, 26, 22, 23, 1],
"result": "valid"
},
{
"tcId": 378,
"comment": "y = 1 and (y + a) % radix**6 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "3046d34434c6e634dc3f65",
"msg": [3, 19, 26, 1, 4, 11, 16, 0, 11, 21, 12, 28],
"ct": [10, 17, 13, 25, 9, 20, 3, 19, 5, 23, 1, 24],
"result": "valid"
},
{
"tcId": 379,
"comment": "y is maximal and (y + a) % radix**6 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "a5f3789ede8a0e6b11f35e",
"msg": [20, 7, 1, 29, 12, 0, 25, 28, 29, 20, 31, 11],
"ct": [31, 31, 31, 31, 31, 31, 10, 23, 26, 18, 31, 28],
"result": "valid"
},
{
"tcId": 380,
"comment": "y is maximal and (y + a) % radix**6 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "a5f3789ede8a0e6b11f35e",
"msg": [25, 30, 2, 19, 1, 28, 26, 5, 1, 24, 12, 0],
"ct": [0, 0, 0, 0, 0, 0, 1, 10, 10, 8, 17, 2],
"result": "valid"
},
{
"tcId": 381,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "a5f3789ede8a0e6b11f35e",
"msg": [5, 6, 9, 4, 29, 8, 27, 24, 22, 20, 31, 29],
"ct": [15, 31, 31, 31, 31, 31, 5, 1, 13, 30, 19, 2],
"result": "valid"
},
{
"tcId": 382,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "a5f3789ede8a0e6b11f35e",
"msg": [15, 29, 9, 11, 7, 0, 12, 13, 9, 3, 24, 22],
"ct": [31, 31, 31, 31, 31, 30, 7, 6, 4, 27, 20, 14],
"result": "valid"
},
{
"tcId": 383,
"comment": "y is edge case for modular reduction and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "a5c850f3935f25bc7c6e96",
"msg": [6, 21, 15, 9, 31, 10, 19, 13, 19, 24, 19, 25],
"ct": [13, 10, 31, 23, 0, 31, 20, 26, 17, 7, 2, 9],
"result": "valid"
},
{
"tcId": 384,
"comment": "y is edge case for modular reduction and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "a5c850f3935f25bc7c6e96",
"msg": [5, 2, 12, 22, 29, 5, 22, 13, 10, 15, 3, 17],
"ct": [31, 11, 2, 19, 5, 0, 2, 28, 6, 30, 6, 25],
"result": "valid"
},
{
"tcId": 385,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "a5c850f3935f25bc7c6e96",
"msg": [17, 16, 21, 22, 22, 23, 10, 14, 4, 23, 9, 3],
"ct": [31, 4, 0, 15, 31, 8, 4, 19, 20, 15, 0, 11],
"result": "valid"
},
{
"tcId": 386,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "a5c850f3935f25bc7c6e96",
"msg": [8, 30, 14, 30, 11, 30, 30, 1, 9, 3, 11, 19],
"ct": [24, 24, 19, 23, 9, 18, 29, 9, 25, 19, 7, 9],
"result": "valid"
},
{
"tcId": 387,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "a5c850f3935f25bc7c6e96",
"msg": [9, 12, 0, 21, 0, 7, 26, 5, 13, 17, 30, 27],
"ct": [3, 6, 19, 13, 10, 27, 8, 18, 12, 24, 0, 27],
"result": "valid"
},
{
"tcId": 388,
"comment": "y is edge case for modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "a5c850f3935f25bc7c6e96",
"msg": [31, 23, 1, 12, 4, 14, 3, 3, 0, 14, 16, 22],
"ct": [21, 8, 21, 25, 20, 10, 3, 1, 15, 17, 14, 19],
"result": "valid"
},
{
"tcId": 389,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "b32438f381f9cbb2da4368",
"msg": [14, 19, 25, 12, 7, 29, 0, 0, 0, 0, 0, 0],
"ct": [15, 24, 27, 17, 7, 30, 3, 5, 24, 26, 23, 18],
"result": "valid"
},
{
"tcId": 390,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "b32438f381f9cbb2da4368",
"msg": [2, 16, 16, 4, 0, 18, 0, 0, 0, 0, 0, 1],
"ct": [14, 7, 27, 21, 14, 29, 10, 25, 20, 21, 3, 8],
"result": "valid"
},
{
"tcId": 391,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "b32438f381f9cbb2da4368",
"msg": [16, 11, 14, 15, 1, 24, 16, 0, 0, 0, 0, 0],
"ct": [27, 15, 12, 31, 17, 17, 27, 17, 9, 31, 22, 18],
"result": "valid"
},
{
"tcId": 392,
"comment": "y is maximal after modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "a3e590e923e5c47a216ec271e9da8180",
"tweak": "b32438f381f9cbb2da4368",
"msg": [21, 3, 27, 26, 10, 31, 31, 31, 31, 31, 31, 31],
"ct": [26, 23, 1, 23, 25, 2, 14, 0, 12, 31, 5, 31],
"result": "valid"
},
{
"tcId": 393,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dbac185fba36fe7028184de1a577dbaa",
"tweak": "6ba28735b4acc0ff",
"msg": [-1, 4, 5, 12, 5, 5, 22, 31, 22, 9, 5, 27],
"ct": [30, 24, 22, 12, 13, 30, 10, 31, 0, 4, 5, 25],
"result": "invalid"
},
{
"tcId": 394,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dbac185fba36fe7028184de1a577dbaa",
"tweak": "6ba28735b4acc0ff",
"msg": [10, 4, 5, 12, -1, 5, 22, 31, 22, 9, 5, 27],
"ct": [16, 27, 29, 11, 18, 26, 21, 20, 15, 4, 11, 7],
"result": "invalid"
},
{
"tcId": 395,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dbac185fba36fe7028184de1a577dbaa",
"tweak": "6ba28735b4acc0ff",
"msg": [10, 4, 5, 12, 5, 5, 22, 31, 22, 9, 5, -1],
"ct": [22, 1, 19, 17, 7, 5, 21, 28, 14, 27, 3, 4],
"result": "invalid"
},
{
"tcId": 396,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "045cfbfbaff9061ab8e489912a3b0a7f",
"tweak": "60d28fa4e9a8d81b",
"msg": [32, 17, 21, 24, 15, 4, 25, 15, 31, 27, 23, 9],
"ct": [8, 23, 0, 10, 6, 28, 13, 25, 20, 13, 20, 18],
"result": "invalid"
},
{
"tcId": 397,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "045cfbfbaff9061ab8e489912a3b0a7f",
"tweak": "60d28fa4e9a8d81b",
"msg": [21, 17, 21, 24, 32, 4, 25, 15, 31, 27, 23, 9],
"ct": [28, 25, 9, 17, 5, 6, 12, 28, 0, 8, 17, 5],
"result": "invalid"
},
{
"tcId": 398,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "045cfbfbaff9061ab8e489912a3b0a7f",
"tweak": "60d28fa4e9a8d81b",
"msg": [21, 17, 21, 24, 15, 4, 25, 15, 31, 27, 23, 32],
"ct": [27, 12, 11, 12, 2, 29, 1, 21, 6, 17, 28, 2],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 13,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 399,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "d5e6c882f005525ce577f704ef6b525d",
"tweak": "7ce1a7a4e6508c83",
"msg": [21, 12, 13, 1, 13, 20, 31, 10, 18, 10, 31, 24, 21],
"ct": [20, 25, 10, 19, 6, 16, 11, 14, 8, 24, 27, 9, 27],
"result": "valid"
},
{
"tcId": 400,
"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": [27, 23, 7, 15, 15, 25, 14, 27, 3, 27, 1, 4, 25],
"result": "valid"
},
{
"tcId": 401,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [26, 21, 19, 13, 1, 19, 23, 0, 24, 20, 31, 0, 28],
"result": "valid"
},
{
"tcId": 402,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [16, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0],
"ct": [19, 19, 2, 0, 27, 6, 17, 4, 29, 11, 26, 15, 17],
"result": "valid"
},
{
"tcId": 403,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [15, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31],
"ct": [0, 21, 29, 29, 23, 7, 16, 12, 0, 9, 23, 3, 20],
"result": "valid"
},
{
"tcId": 404,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [16, 25, 10, 18, 30, 21, 19, 31, 21, 3, 24, 6, 28],
"ct": [10, 26, 20, 16, 30, 13, 1, 14, 2, 4, 31, 30, 20],
"result": "valid"
},
{
"tcId": 405,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [0, 22, 30, 19, 25, 11, 4, 15, 9, 22, 9, 20, 2],
"ct": [26, 28, 23, 7, 29, 0, 21, 21, 21, 16, 30, 11, 19],
"result": "valid"
},
{
"tcId": 406,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [7, 22, 18, 29, 26, 29, 21, 25, 19, 26, 8, 0, 14],
"ct": [17, 19, 16, 12, 27, 31, 29, 9, 22, 24, 22, 11, 31],
"result": "valid"
},
{
"tcId": 407,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [17, 12, 27, 27, 28, 21, 10, 26, 28, 2, 1, 15, 18],
"ct": [0, 25, 4, 28, 15, 28, 17, 2, 21, 12, 12, 2, 5],
"result": "valid"
},
{
"tcId": 408,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [22, 25, 14, 28, 31, 16, 6, 16, 26, 12, 15, 14, 30],
"ct": [27, 2, 1, 23, 18, 12, 18, 0, 17, 20, 4, 30, 31],
"result": "valid"
},
{
"tcId": 409,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [10, 8, 23, 3, 19, 27, 4, 30, 28, 20, 28, 1, 24],
"ct": [28, 20, 5, 8, 29, 5, 4, 21, 11, 25, 22, 23, 14],
"result": "valid"
},
{
"tcId": 410,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [29, 10, 16, 10, 2, 19, 16, 26, 16, 11, 30, 16, 23],
"ct": [3, 22, 3, 12, 4, 4, 6, 1, 16, 12, 0, 14, 18],
"result": "valid"
},
{
"tcId": 411,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [1, 12, 21, 16, 21, 29, 9, 6, 11, 11, 16, 0, 2],
"ct": [30, 26, 19, 16, 14, 29, 26, 13, 8, 0, 8, 6, 2],
"result": "valid"
},
{
"tcId": 412,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [15, 8, 6, 5, 4, 14, 5, 20, 26, 24, 21, 23, 4],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 413,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [6, 17, 24, 7, 12, 15, 14, 24, 5, 16, 7, 21, 16],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 414,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [2, 5, 14, 9, 20, 8, 14, 7, 2, 22, 16, 9, 11],
"ct": [16, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 415,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb7ca258d353deb4a4f52b08290ab6a1",
"tweak": "a211ccbb8d59238e",
"msg": [8, 22, 3, 22, 9, 31, 22, 16, 20, 18, 25, 24, 18],
"ct": [15, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 416,
"comment": "y = 0 and (y + a) % radix**6 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "f2edaaee51f576c86c5e",
"msg": [2, 8, 9, 2, 20, 11, 24, 3, 7, 30, 31, 21, 30],
"ct": [9, 8, 10, 21, 15, 4, 7, 13, 21, 15, 29, 6, 27],
"result": "valid"
},
{
"tcId": 417,
"comment": "y = 0 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "f2edaaee51f576c86c5e",
"msg": [2, 14, 2, 5, 22, 15, 29, 31, 11, 21, 28, 2, 18],
"ct": [22, 9, 6, 31, 23, 10, 3, 19, 18, 10, 24, 20, 3],
"result": "valid"
},
{
"tcId": 418,
"comment": "y = 0 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "f2edaaee51f576c86c5e",
"msg": [14, 4, 28, 20, 21, 5, 0, 16, 6, 5, 24, 8, 11],
"ct": [1, 27, 22, 20, 19, 28, 17, 5, 0, 21, 1, 25, 9],
"result": "valid"
},
{
"tcId": 419,
"comment": "y = 0 and (y + a) % radix**6 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "f2edaaee51f576c86c5e",
"msg": [0, 25, 21, 12, 0, 15, 26, 30, 10, 12, 3, 30, 23],
"ct": [23, 0, 27, 10, 14, 14, 14, 20, 19, 29, 7, 11, 1],
"result": "valid"
},
{
"tcId": 420,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "2f7d941e1651dbca7b13",
"msg": [13, 30, 4, 0, 2, 2, 13, 13, 23, 10, 15, 14, 17],
"ct": [28, 2, 10, 24, 25, 9, 21, 13, 6, 30, 31, 9, 31],
"result": "valid"
},
{
"tcId": 421,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "2f7d941e1651dbca7b13",
"msg": [12, 10, 9, 16, 29, 0, 18, 21, 12, 30, 21, 10, 3],
"ct": [15, 6, 19, 4, 15, 1, 5, 19, 15, 4, 22, 3, 13],
"result": "valid"
},
{
"tcId": 422,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "2f7d941e1651dbca7b13",
"msg": [4, 9, 31, 27, 16, 28, 7, 23, 9, 6, 21, 4, 4],
"ct": [31, 2, 26, 11, 27, 8, 0, 13, 19, 12, 28, 23, 17],
"result": "valid"
},
{
"tcId": 423,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "2f7d941e1651dbca7b13",
"msg": [22, 10, 11, 4, 22, 25, 30, 4, 17, 30, 28, 4, 26],
"ct": [12, 0, 27, 6, 21, 8, 29, 7, 12, 5, 16, 17, 13],
"result": "valid"
},
{
"tcId": 424,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "2f7d941e1651dbca7b13",
"msg": [6, 17, 5, 15, 21, 31, 2, 4, 29, 9, 16, 8, 3],
"ct": [3, 0, 26, 30, 12, 30, 29, 20, 30, 10, 11, 17, 21],
"result": "valid"
},
{
"tcId": 425,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "2f7d941e1651dbca7b13",
"msg": [11, 5, 16, 4, 8, 2, 16, 28, 19, 0, 8, 12, 13],
"ct": [28, 27, 10, 19, 16, 17, 2, 21, 31, 9, 15, 17, 10],
"result": "valid"
},
{
"tcId": 426,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "58fca2e1083a79ebc5c6",
"msg": [0, 22, 28, 14, 18, 18, 16, 14, 26, 20, 23, 20, 4],
"ct": [20, 18, 16, 1, 14, 2, 19, 31, 0, 4, 17, 5, 23],
"result": "valid"
},
{
"tcId": 427,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "58fca2e1083a79ebc5c6",
"msg": [11, 17, 11, 25, 25, 31, 13, 5, 19, 11, 30, 6, 6],
"ct": [11, 23, 8, 12, 25, 29, 10, 12, 23, 6, 5, 11, 28],
"result": "valid"
},
{
"tcId": 428,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "58fca2e1083a79ebc5c6",
"msg": [13, 29, 7, 13, 11, 21, 6, 18, 4, 0, 12, 23, 14],
"ct": [29, 8, 27, 0, 13, 8, 21, 1, 23, 10, 20, 3, 20],
"result": "valid"
},
{
"tcId": 429,
"comment": "y is maximal after modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "002d4f865568a9c32a7edeb2b39d73d7",
"tweak": "58fca2e1083a79ebc5c6",
"msg": [21, 0, 30, 21, 2, 18, 30, 13, 4, 2, 15, 10, 29],
"ct": [15, 20, 10, 29, 2, 14, 23, 1, 20, 20, 2, 3, 1],
"result": "valid"
},
{
"tcId": 430,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b8d9b3c80209587bbe3c0f7125eed049",
"tweak": "522499e28e9e7712",
"msg": [-1, 6, 25, 14, 3, 22, 15, 27, 10, 18, 26, 27, 5],
"ct": [2, 21, 15, 5, 0, 4, 14, 16, 25, 1, 26, 29, 13],
"result": "invalid"
},
{
"tcId": 431,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b8d9b3c80209587bbe3c0f7125eed049",
"tweak": "522499e28e9e7712",
"msg": [19, 6, 25, 14, -1, 22, 15, 27, 10, 18, 26, 27, 5],
"ct": [27, 29, 16, 28, 25, 31, 19, 24, 12, 2, 4, 28, 11],
"result": "invalid"
},
{
"tcId": 432,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b8d9b3c80209587bbe3c0f7125eed049",
"tweak": "522499e28e9e7712",
"msg": [19, 6, 25, 14, 3, 22, 15, 27, 10, 18, 26, 27, -1],
"ct": [16, 8, 15, 21, 2, 4, 2, 21, 13, 3, 30, 27, 24],
"result": "invalid"
},
{
"tcId": 433,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "962fe9983b16ebb1ea50118f9dc25117",
"tweak": "7b52369705ddfff1",
"msg": [32, 19, 2, 11, 2, 24, 21, 26, 3, 9, 10, 7, 21],
"ct": [19, 10, 21, 14, 31, 29, 18, 15, 31, 22, 23, 16, 10],
"result": "invalid"
},
{
"tcId": 434,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "962fe9983b16ebb1ea50118f9dc25117",
"tweak": "7b52369705ddfff1",
"msg": [8, 19, 2, 11, 32, 24, 21, 26, 3, 9, 10, 7, 21],
"ct": [13, 24, 19, 29, 16, 8, 11, 8, 2, 27, 12, 30, 22],
"result": "invalid"
},
{
"tcId": 435,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "962fe9983b16ebb1ea50118f9dc25117",
"tweak": "7b52369705ddfff1",
"msg": [8, 19, 2, 11, 2, 24, 21, 26, 3, 9, 10, 7, 32],
"ct": [14, 14, 18, 20, 3, 24, 18, 15, 27, 20, 17, 14, 30],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 14,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 436,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "7a1122636a4417351c97156308d4f6aa",
"tweak": "a9508e64d1ab8e34",
"msg": [6, 6, 3, 17, 11, 14, 8, 24, 12, 27, 25, 10, 6, 12],
"ct": [5, 19, 22, 29, 27, 25, 16, 1, 21, 22, 27, 4, 27, 15],
"result": "valid"
},
{
"tcId": 437,
"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": [1, 31, 28, 13, 2, 0, 26, 0, 31, 26, 24, 31, 2, 15],
"result": "valid"
},
{
"tcId": 438,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [1, 24, 12, 24, 19, 7, 14, 30, 16, 2, 14, 5, 24, 20],
"result": "valid"
},
{
"tcId": 439,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [16, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0],
"ct": [28, 12, 1, 4, 30, 25, 24, 31, 10, 15, 26, 29, 16, 28],
"result": "valid"
},
{
"tcId": 440,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [15, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31],
"ct": [12, 17, 0, 24, 4, 16, 24, 9, 23, 8, 21, 26, 11, 15],
"result": "valid"
},
{
"tcId": 441,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [9, 31, 21, 21, 24, 26, 18, 29, 24, 13, 3, 2, 5, 26],
"ct": [22, 26, 25, 3, 23, 26, 17, 19, 4, 31, 30, 1, 31, 27],
"result": "valid"
},
{
"tcId": 442,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [31, 26, 8, 1, 6, 14, 28, 12, 4, 9, 9, 31, 13, 23],
"ct": [23, 2, 13, 24, 23, 31, 0, 7, 28, 17, 7, 4, 6, 30],
"result": "valid"
},
{
"tcId": 443,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [10, 31, 8, 28, 3, 29, 16, 29, 18, 4, 11, 15, 31, 30],
"ct": [31, 7, 19, 15, 13, 17, 18, 0, 14, 5, 0, 27, 24, 11],
"result": "valid"
},
{
"tcId": 444,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [22, 22, 15, 6, 30, 19, 31, 29, 23, 27, 16, 6, 25, 20],
"ct": [21, 21, 1, 20, 5, 10, 19, 8, 6, 25, 24, 30, 5, 26],
"result": "valid"
},
{
"tcId": 445,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [21, 14, 16, 5, 21, 8, 22, 17, 28, 0, 17, 13, 5, 1],
"ct": [20, 13, 31, 30, 24, 5, 12, 29, 22, 24, 24, 25, 25, 12],
"result": "valid"
},
{
"tcId": 446,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [26, 22, 31, 14, 26, 23, 27, 20, 6, 25, 1, 12, 18, 24],
"ct": [24, 1, 16, 0, 0, 19, 9, 27, 5, 17, 15, 6, 1, 28],
"result": "valid"
},
{
"tcId": 447,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [30, 15, 14, 12, 14, 4, 17, 3, 18, 3, 27, 28, 12, 3],
"ct": [7, 22, 7, 2, 23, 23, 6, 16, 14, 7, 2, 15, 12, 2],
"result": "valid"
},
{
"tcId": 448,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [0, 26, 15, 26, 11, 15, 24, 25, 2, 6, 7, 25, 0, 29],
"ct": [2, 26, 9, 6, 31, 11, 6, 24, 9, 22, 1, 24, 30, 17],
"result": "valid"
},
{
"tcId": 449,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [19, 4, 15, 23, 16, 23, 18, 5, 13, 0, 14, 11, 1, 15],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 450,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [2, 30, 20, 29, 3, 22, 1, 14, 5, 14, 2, 9, 4, 28],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 451,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [0, 11, 21, 31, 15, 19, 19, 6, 17, 16, 20, 2, 0, 0],
"ct": [16, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 452,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8a9c22148e4fed1fc918f33eba1f06cc",
"tweak": "c37a26d7ade80ea1",
"msg": [25, 28, 18, 17, 2, 12, 5, 18, 9, 16, 0, 7, 26, 9],
"ct": [15, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 453,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "666f7b01e538fb266e2d",
"msg": [1, 11, 0, 29, 2, 15, 9, 3, 6, 3, 19, 30, 13, 18],
"ct": [29, 26, 17, 10, 12, 7, 16, 20, 26, 4, 11, 21, 8, 17],
"result": "valid"
},
{
"tcId": 454,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "666f7b01e538fb266e2d",
"msg": [21, 11, 23, 25, 1, 25, 20, 25, 31, 12, 14, 6, 29, 31],
"ct": [31, 25, 7, 7, 8, 8, 1, 5, 11, 1, 28, 12, 6, 20],
"result": "valid"
},
{
"tcId": 455,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "666f7b01e538fb266e2d",
"msg": [29, 6, 12, 11, 14, 22, 3, 6, 12, 22, 28, 1, 2, 4],
"ct": [21, 25, 19, 3, 31, 17, 7, 19, 6, 0, 6, 18, 0, 9],
"result": "valid"
},
{
"tcId": 456,
"comment": "y = 1 and (y + a) % radix**7 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "666f7b01e538fb266e2d",
"msg": [29, 21, 19, 22, 20, 14, 16, 7, 10, 7, 5, 12, 12, 14],
"ct": [31, 21, 14, 13, 9, 16, 12, 23, 26, 18, 6, 6, 2, 2],
"result": "valid"
},
{
"tcId": 457,
"comment": "y = 1 and (y + a) % radix**7 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "666f7b01e538fb266e2d",
"msg": [16, 20, 28, 3, 8, 23, 17, 12, 17, 18, 23, 9, 2, 5],
"ct": [28, 14, 30, 12, 14, 31, 15, 28, 23, 12, 30, 22, 28, 7],
"result": "valid"
},
{
"tcId": 458,
"comment": "y is maximal and (y + a) % radix**7 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "d1b37f6d1f88d5e450d5",
"msg": [11, 30, 15, 18, 30, 13, 11, 19, 20, 20, 22, 26, 27, 2],
"ct": [2, 14, 29, 9, 7, 31, 30, 23, 14, 3, 4, 24, 0, 29],
"result": "valid"
},
{
"tcId": 459,
"comment": "y is maximal and (y + a) % radix**7 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "d1b37f6d1f88d5e450d5",
"msg": [31, 8, 21, 1, 17, 24, 26, 10, 28, 21, 24, 5, 2, 22],
"ct": [20, 24, 5, 4, 4, 20, 20, 2, 30, 9, 27, 20, 4, 13],
"result": "valid"
},
{
"tcId": 460,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "d1b37f6d1f88d5e450d5",
"msg": [30, 27, 2, 9, 10, 30, 5, 18, 13, 14, 15, 14, 28, 26],
"ct": [18, 23, 7, 12, 13, 24, 17, 16, 26, 18, 4, 31, 6, 16],
"result": "valid"
},
{
"tcId": 461,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "d1b37f6d1f88d5e450d5",
"msg": [18, 18, 1, 9, 11, 9, 20, 10, 10, 29, 21, 0, 10, 23],
"ct": [6, 19, 22, 10, 29, 13, 10, 9, 29, 17, 30, 4, 1, 18],
"result": "valid"
},
{
"tcId": 462,
"comment": "y is edge case for modular reduction and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "550094c6c934a4a23e2c",
"msg": [22, 6, 14, 21, 9, 30, 12, 7, 5, 2, 18, 8, 16, 25],
"ct": [1, 1, 4, 13, 3, 13, 29, 31, 31, 31, 31, 31, 31, 0],
"result": "valid"
},
{
"tcId": 463,
"comment": "y is edge case for modular reduction and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "550094c6c934a4a23e2c",
"msg": [20, 1, 8, 24, 0, 6, 26, 3, 15, 29, 14, 18, 10, 24],
"ct": [1, 1, 4, 13, 3, 13, 29, 31, 31, 31, 31, 31, 31, 1],
"result": "valid"
},
{
"tcId": 464,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "550094c6c934a4a23e2c",
"msg": [25, 24, 8, 30, 21, 3, 10, 25, 18, 13, 6, 3, 21, 15],
"ct": [1, 1, 4, 13, 3, 13, 29, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 465,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "550094c6c934a4a23e2c",
"msg": [5, 21, 26, 5, 22, 10, 8, 12, 21, 4, 17, 27, 23, 27],
"ct": [1, 1, 4, 13, 3, 13, 29, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 466,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "550094c6c934a4a23e2c",
"msg": [6, 20, 7, 6, 22, 20, 31, 3, 12, 6, 1, 27, 7, 21],
"ct": [1, 1, 4, 13, 3, 13, 29, 15, 31, 31, 31, 31, 31, 0],
"result": "valid"
},
{
"tcId": 467,
"comment": "y is edge case for modular reduction and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "4dfedd6f97765da94b445cc712ea4e7f",
"tweak": "550094c6c934a4a23e2c",
"msg": [1, 10, 31, 12, 25, 6, 30, 21, 8, 30, 26, 16, 2, 18],
"ct": [1, 1, 4, 13, 3, 13, 29, 31, 31, 31, 31, 31, 30, 31],
"result": "valid"
},
{
"tcId": 468,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0",
"tweak": "0e5628b6bce472c6",
"msg": [-1, 12, 13, 6, 26, 23, 22, 31, 8, 15, 27, 28, 6, 3],
"ct": [31, 13, 21, 27, 7, 1, 1, 29, 31, 26, 17, 26, 12, 7],
"result": "invalid"
},
{
"tcId": 469,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0",
"tweak": "0e5628b6bce472c6",
"msg": [26, 12, 13, 6, -1, 23, 22, 31, 8, 15, 27, 28, 6, 3],
"ct": [31, 31, 31, 25, 17, 0, 17, 27, 3, 13, 9, 31, 16, 21],
"result": "invalid"
},
{
"tcId": 470,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0",
"tweak": "0e5628b6bce472c6",
"msg": [26, 12, 13, 6, 26, 23, 22, 31, 8, 15, 27, 28, 6, -1],
"ct": [28, 27, 6, 11, 7, 25, 0, 29, 9, 1, 25, 20, 10, 2],
"result": "invalid"
},
{
"tcId": 471,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e9216b56a6b5cce5d84e3b23d3df9434",
"tweak": "90dfe806501ba94c",
"msg": [32, 3, 11, 6, 17, 23, 4, 8, 20, 28, 23, 15, 12, 31],
"ct": [22, 1, 10, 10, 28, 12, 4, 28, 11, 19, 12, 12, 11, 14],
"result": "invalid"
},
{
"tcId": 472,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e9216b56a6b5cce5d84e3b23d3df9434",
"tweak": "90dfe806501ba94c",
"msg": [5, 3, 11, 6, 32, 23, 4, 8, 20, 28, 23, 15, 12, 31],
"ct": [25, 26, 8, 20, 5, 14, 10, 6, 14, 14, 27, 29, 13, 17],
"result": "invalid"
},
{
"tcId": 473,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e9216b56a6b5cce5d84e3b23d3df9434",
"tweak": "90dfe806501ba94c",
"msg": [5, 3, 11, 6, 17, 23, 4, 8, 20, 28, 23, 15, 12, 32],
"ct": [16, 20, 11, 5, 10, 9, 18, 0, 19, 7, 31, 23, 31, 29],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 15,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 474,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "7b0c5d430ef9383b04b2691ce3402a9a",
"tweak": "ec71532112064259",
"msg": [12, 5, 14, 30, 2, 12, 27, 4, 27, 2, 7, 17, 10, 26, 28],
"ct": [15, 14, 7, 21, 3, 7, 14, 30, 27, 18, 17, 3, 21, 8, 23],
"result": "valid"
},
{
"tcId": 475,
"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": [12, 15, 21, 4, 3, 21, 1, 8, 4, 20, 17, 7, 26, 22, 11],
"result": "valid"
},
{
"tcId": 476,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [8, 16, 13, 3, 15, 4, 24, 27, 27, 7, 15, 24, 0, 8, 19],
"result": "valid"
},
{
"tcId": 477,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [16, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0],
"ct": [27, 24, 12, 8, 25, 19, 28, 17, 29, 19, 26, 21, 29, 13, 8],
"result": "valid"
},
{
"tcId": 478,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [15, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31],
"ct": [27, 0, 26, 27, 16, 5, 20, 23, 2, 5, 9, 15, 29, 23, 4],
"result": "valid"
},
{
"tcId": 479,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [27, 14, 19, 9, 10, 1, 11, 28, 23, 23, 13, 22, 24, 18, 29],
"ct": [28, 5, 17, 30, 15, 1, 28, 21, 8, 20, 5, 19, 22, 15, 15],
"result": "valid"
},
{
"tcId": 480,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [14, 16, 11, 9, 13, 26, 14, 3, 13, 21, 10, 8, 24, 1, 0],
"ct": [4, 26, 25, 25, 14, 16, 31, 23, 9, 27, 29, 16, 11, 0, 10],
"result": "valid"
},
{
"tcId": 481,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [14, 21, 23, 21, 7, 3, 17, 13, 3, 28, 3, 17, 30, 3, 24],
"ct": [8, 31, 20, 24, 2, 1, 0, 2, 4, 17, 10, 27, 14, 24, 3],
"result": "valid"
},
{
"tcId": 482,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [16, 17, 26, 19, 12, 6, 4, 30, 21, 22, 17, 8, 15, 21, 9],
"ct": [1, 16, 15, 29, 21, 2, 14, 28, 14, 13, 8, 17, 29, 30, 19],
"result": "valid"
},
{
"tcId": 483,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [5, 29, 15, 5, 29, 27, 13, 11, 31, 6, 3, 15, 28, 2, 13],
"ct": [1, 18, 10, 31, 18, 29, 11, 20, 30, 0, 0, 17, 6, 22, 15],
"result": "valid"
},
{
"tcId": 484,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [12, 10, 27, 29, 1, 1, 29, 27, 2, 0, 0, 2, 12, 4, 19],
"ct": [27, 23, 19, 22, 18, 6, 12, 6, 6, 27, 9, 15, 16, 30, 5],
"result": "valid"
},
{
"tcId": 485,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [1, 31, 16, 22, 15, 15, 28, 5, 20, 19, 15, 7, 29, 17, 10],
"ct": [28, 25, 1, 5, 22, 23, 31, 20, 21, 11, 23, 18, 15, 13, 18],
"result": "valid"
},
{
"tcId": 486,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [28, 20, 6, 1, 19, 5, 13, 23, 16, 19, 4, 2, 31, 3, 31],
"ct": [29, 29, 25, 28, 27, 17, 15, 5, 10, 13, 0, 4, 20, 21, 13],
"result": "valid"
},
{
"tcId": 487,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [3, 12, 25, 28, 14, 23, 0, 1, 14, 12, 17, 3, 12, 27, 12],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 488,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [0, 11, 21, 20, 7, 19, 6, 5, 31, 12, 12, 19, 17, 2, 15],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 489,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [31, 21, 26, 0, 15, 27, 4, 13, 3, 29, 26, 13, 20, 0, 24],
"ct": [16, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 490,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bd2dc7f87af6e676fa6bf4e92c43f183",
"tweak": "71e1ede1a7e70a42",
"msg": [30, 28, 19, 18, 27, 28, 12, 0, 29, 14, 3, 27, 20, 29, 31],
"ct": [15, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 491,
"comment": "y = 0 and (y + a) % radix**7 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "7aef234545f65e9313e0",
"msg": [1, 26, 1, 21, 27, 26, 17, 31, 19, 7, 6, 31, 2, 18, 23],
"ct": [19, 13, 0, 29, 6, 23, 22, 16, 5, 22, 20, 23, 3, 17, 25],
"result": "valid"
},
{
"tcId": 492,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "7aef234545f65e9313e0",
"msg": [2, 4, 21, 11, 3, 2, 1, 19, 1, 28, 11, 9, 23, 21, 11],
"ct": [10, 27, 6, 5, 26, 17, 21, 31, 8, 15, 7, 11, 21, 12, 1],
"result": "valid"
},
{
"tcId": 493,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "7aef234545f65e9313e0",
"msg": [13, 19, 11, 21, 18, 1, 3, 15, 30, 3, 11, 14, 30, 14, 9],
"ct": [2, 2, 14, 27, 25, 5, 20, 29, 24, 18, 19, 22, 9, 10, 23],
"result": "valid"
},
{
"tcId": 494,
"comment": "y = 0 and (y + a) % radix**7 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "7aef234545f65e9313e0",
"msg": [3, 27, 3, 12, 30, 5, 26, 19, 29, 3, 26, 29, 23, 25, 15],
"ct": [19, 29, 16, 10, 9, 20, 30, 23, 13, 17, 27, 5, 12, 20, 15],
"result": "valid"
},
{
"tcId": 495,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "329edbb9e6c205f8bf71",
"msg": [1, 29, 7, 13, 9, 8, 27, 29, 5, 1, 20, 6, 10, 10, 11],
"ct": [0, 0, 0, 0, 0, 0, 1, 30, 1, 25, 14, 27, 7, 25, 1],
"result": "valid"
},
{
"tcId": 496,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "329edbb9e6c205f8bf71",
"msg": [31, 12, 28, 18, 24, 6, 10, 30, 6, 5, 8, 11, 16, 9, 14],
"ct": [0, 0, 0, 0, 0, 0, 2, 16, 30, 27, 8, 30, 0, 15, 24],
"result": "valid"
},
{
"tcId": 497,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "329edbb9e6c205f8bf71",
"msg": [28, 19, 12, 5, 9, 3, 29, 31, 19, 14, 13, 5, 18, 18, 18],
"ct": [16, 0, 0, 0, 0, 0, 1, 25, 2, 22, 24, 0, 11, 27, 2],
"result": "valid"
},
{
"tcId": 498,
"comment": "y = 1 and (y + a) % radix**7 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "329edbb9e6c205f8bf71",
"msg": [17, 23, 13, 19, 2, 1, 27, 31, 14, 21, 24, 22, 14, 20, 13],
"ct": [31, 31, 31, 31, 31, 31, 31, 7, 1, 29, 11, 19, 17, 27, 7],
"result": "valid"
},
{
"tcId": 499,
"comment": "y = 1 and (y + a) % radix**7 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "329edbb9e6c205f8bf71",
"msg": [28, 13, 8, 17, 18, 14, 0, 9, 25, 7, 4, 30, 19, 23, 22],
"ct": [0, 0, 0, 0, 0, 0, 0, 2, 29, 0, 16, 20, 10, 21, 1],
"result": "valid"
},
{
"tcId": 500,
"comment": "y is maximal and (y + a) % radix**7 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "f913918c774f3d9e8664",
"msg": [5, 29, 30, 23, 2, 0, 16, 14, 5, 26, 3, 0, 27, 27, 25],
"ct": [31, 31, 31, 31, 31, 31, 31, 12, 2, 23, 19, 27, 1, 20, 1],
"result": "valid"
},
{
"tcId": 501,
"comment": "y is maximal and (y + a) % radix**7 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "f913918c774f3d9e8664",
"msg": [9, 27, 2, 24, 0, 29, 2, 1, 1, 24, 0, 26, 15, 29, 23],
"ct": [0, 0, 0, 0, 0, 0, 0, 30, 29, 19, 6, 16, 1, 22, 9],
"result": "valid"
},
{
"tcId": 502,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "f913918c774f3d9e8664",
"msg": [15, 3, 9, 7, 5, 2, 6, 18, 6, 13, 28, 16, 1, 26, 20],
"ct": [15, 31, 31, 31, 31, 31, 31, 3, 1, 6, 21, 13, 6, 21, 31],
"result": "valid"
},
{
"tcId": 503,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "f913918c774f3d9e8664",
"msg": [3, 7, 7, 17, 13, 3, 30, 26, 13, 12, 6, 16, 5, 28, 28],
"ct": [31, 31, 31, 31, 31, 31, 30, 1, 3, 18, 7, 19, 25, 0, 30],
"result": "valid"
},
{
"tcId": 504,
"comment": "y is edge case for modular reduction and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "5c9bd8e4825688a67dc2",
"msg": [22, 17, 22, 25, 22, 19, 21, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [30, 26, 21, 28, 16, 21, 13, 1, 13, 10, 26, 3, 24, 2, 12],
"result": "valid"
},
{
"tcId": 505,
"comment": "y is edge case for modular reduction and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "5c9bd8e4825688a67dc2",
"msg": [2, 20, 8, 10, 11, 22, 10, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [13, 13, 1, 14, 31, 24, 12, 20, 23, 0, 29, 19, 25, 13, 10],
"result": "valid"
},
{
"tcId": 506,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "5c9bd8e4825688a67dc2",
"msg": [31, 18, 29, 17, 27, 11, 14, 0, 0, 0, 0, 0, 0, 0, 31],
"ct": [23, 6, 0, 8, 5, 5, 13, 24, 14, 23, 0, 21, 13, 2, 24],
"result": "valid"
},
{
"tcId": 507,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "5c9bd8e4825688a67dc2",
"msg": [12, 6, 28, 3, 0, 15, 25, 0, 0, 0, 0, 0, 0, 1, 0],
"ct": [27, 9, 23, 21, 19, 19, 31, 15, 28, 18, 31, 0, 17, 12, 28],
"result": "valid"
},
{
"tcId": 508,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "5c9bd8e4825688a67dc2",
"msg": [27, 10, 20, 27, 21, 3, 4, 16, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 2, 13, 2, 20, 8, 29, 21, 9, 14, 14, 30, 1, 17, 15],
"result": "valid"
},
{
"tcId": 509,
"comment": "y is edge case for modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "5c9bd8e4825688a67dc2",
"msg": [25, 13, 28, 8, 12, 26, 16, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [27, 15, 14, 25, 21, 25, 1, 26, 1, 4, 3, 0, 25, 31, 5],
"result": "valid"
},
{
"tcId": 510,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "2ea5fdea1b4b668ae229",
"msg": [0, 0, 0, 0, 0, 0, 0, 27, 0, 24, 1, 18, 10, 23, 4],
"ct": [13, 15, 10, 21, 20, 12, 26, 7, 2, 1, 4, 4, 8, 25, 13],
"result": "valid"
},
{
"tcId": 511,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "2ea5fdea1b4b668ae229",
"msg": [0, 0, 0, 0, 0, 0, 1, 27, 0, 24, 1, 18, 10, 23, 4],
"ct": [25, 7, 23, 1, 29, 23, 5, 20, 3, 29, 18, 27, 22, 19, 23],
"result": "valid"
},
{
"tcId": 512,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "2ea5fdea1b4b668ae229",
"msg": [16, 0, 0, 0, 0, 0, 0, 27, 0, 24, 1, 18, 10, 23, 4],
"ct": [5, 25, 5, 9, 5, 16, 18, 18, 19, 13, 25, 18, 14, 25, 19],
"result": "valid"
},
{
"tcId": 513,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4",
"tweak": "2ea5fdea1b4b668ae229",
"msg": [31, 31, 31, 31, 31, 31, 31, 27, 0, 24, 1, 18, 10, 23, 4],
"ct": [31, 16, 2, 19, 2, 0, 2, 16, 27, 15, 23, 12, 28, 28, 1],
"result": "valid"
},
{
"tcId": 514,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "18f316e92e027b0d4d068bb94f8dd864",
"tweak": "17d37026864474b3",
"msg": [-1, 23, 3, 22, 24, 10, 7, 10, 11, 12, 21, 26, 7, 7, 15],
"ct": [1, 20, 20, 28, 10, 27, 21, 7, 27, 30, 3, 28, 0, 28, 18],
"result": "invalid"
},
{
"tcId": 515,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "18f316e92e027b0d4d068bb94f8dd864",
"tweak": "17d37026864474b3",
"msg": [1, 23, 3, 22, 24, -1, 7, 10, 11, 12, 21, 26, 7, 7, 15],
"ct": [9, 11, 22, 12, 31, 29, 26, 6, 0, 31, 4, 24, 6, 20, 23],
"result": "invalid"
},
{
"tcId": 516,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "18f316e92e027b0d4d068bb94f8dd864",
"tweak": "17d37026864474b3",
"msg": [1, 23, 3, 22, 24, 10, 7, 10, 11, 12, 21, 26, 7, 7, -1],
"ct": [2, 13, 23, 18, 18, 30, 15, 15, 27, 13, 30, 16, 12, 4, 2],
"result": "invalid"
},
{
"tcId": 517,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4175f5b9d8b521720a6066803bd12e00",
"tweak": "d0f8f6486f19fb4e",
"msg": [32, 11, 20, 5, 17, 18, 30, 27, 28, 26, 6, 2, 0, 21, 23],
"ct": [30, 27, 0, 10, 17, 22, 23, 23, 3, 2, 14, 20, 18, 14, 15],
"result": "invalid"
},
{
"tcId": 518,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4175f5b9d8b521720a6066803bd12e00",
"tweak": "d0f8f6486f19fb4e",
"msg": [27, 11, 20, 5, 17, 32, 30, 27, 28, 26, 6, 2, 0, 21, 23],
"ct": [3, 6, 22, 30, 13, 12, 31, 26, 8, 7, 10, 1, 5, 5, 28],
"result": "invalid"
},
{
"tcId": 519,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4175f5b9d8b521720a6066803bd12e00",
"tweak": "d0f8f6486f19fb4e",
"msg": [27, 11, 20, 5, 17, 18, 30, 27, 28, 26, 6, 2, 0, 21, 32],
"ct": [19, 25, 30, 29, 27, 4, 1, 27, 9, 7, 7, 16, 25, 27, 12],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 16,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 520,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "48f0d03e41cc55c4b58f737b5acdea32",
"tweak": "30944debca89ca90",
"msg": [16, 4, 15, 30, 1, 17, 4, 1, 9, 22, 10, 1, 15, 5, 15, 24],
"ct": [31, 13, 22, 30, 28, 3, 25, 18, 17, 12, 11, 26, 5, 10, 16, 29],
"result": "valid"
},
{
"tcId": 521,
"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": [2, 21, 19, 4, 17, 1, 7, 26, 12, 29, 20, 19, 23, 25, 11, 14],
"result": "valid"
},
{
"tcId": 522,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [25, 29, 22, 16, 7, 17, 0, 14, 29, 8, 25, 7, 7, 4, 2, 7],
"result": "valid"
},
{
"tcId": 523,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0],
"ct": [25, 11, 0, 15, 21, 20, 5, 16, 24, 0, 6, 31, 28, 17, 5, 7],
"result": "valid"
},
{
"tcId": 524,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31],
"ct": [0, 20, 0, 12, 29, 1, 27, 15, 13, 4, 28, 17, 13, 14, 24, 16],
"result": "valid"
},
{
"tcId": 525,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [14, 15, 12, 9, 5, 23, 15, 0, 5, 24, 22, 8, 2, 6, 5, 3],
"ct": [22, 5, 19, 31, 1, 27, 9, 25, 15, 6, 14, 14, 20, 30, 16, 16],
"result": "valid"
},
{
"tcId": 526,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [24, 11, 8, 3, 0, 3, 15, 12, 7, 25, 11, 5, 5, 0, 27, 12],
"ct": [11, 7, 24, 4, 5, 23, 20, 10, 16, 29, 18, 1, 30, 14, 5, 26],
"result": "valid"
},
{
"tcId": 527,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [13, 16, 2, 0, 10, 30, 3, 24, 24, 12, 29, 24, 8, 20, 17, 20],
"ct": [12, 13, 3, 2, 12, 22, 6, 25, 1, 4, 26, 18, 9, 27, 26, 6],
"result": "valid"
},
{
"tcId": 528,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [31, 11, 2, 8, 25, 21, 7, 20, 11, 7, 12, 14, 4, 14, 22, 20],
"ct": [7, 24, 15, 12, 21, 11, 5, 11, 14, 7, 30, 27, 9, 6, 21, 20],
"result": "valid"
},
{
"tcId": 529,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [15, 20, 5, 15, 9, 16, 15, 23, 31, 26, 16, 26, 26, 5, 1, 0],
"ct": [10, 20, 27, 1, 26, 11, 31, 9, 3, 14, 11, 14, 31, 14, 6, 1],
"result": "valid"
},
{
"tcId": 530,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [24, 16, 17, 1, 10, 4, 27, 8, 12, 16, 10, 7, 2, 24, 11, 31],
"ct": [0, 29, 11, 14, 16, 22, 11, 30, 0, 28, 15, 7, 26, 10, 18, 11],
"result": "valid"
},
{
"tcId": 531,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [5, 13, 25, 1, 3, 4, 25, 24, 25, 9, 13, 31, 19, 0, 31, 5],
"ct": [31, 14, 6, 18, 13, 20, 4, 27, 17, 16, 8, 24, 6, 6, 6, 0],
"result": "valid"
},
{
"tcId": 532,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [4, 10, 2, 27, 3, 28, 7, 1, 20, 26, 29, 22, 9, 23, 31, 8],
"ct": [7, 13, 20, 15, 27, 9, 24, 7, 30, 29, 23, 5, 28, 5, 11, 1],
"result": "valid"
},
{
"tcId": 533,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [23, 23, 20, 10, 23, 0, 17, 0, 7, 8, 19, 13, 5, 2, 26, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 534,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [17, 20, 1, 17, 5, 2, 22, 25, 31, 10, 9, 23, 7, 28, 26, 11],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 535,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [25, 29, 25, 12, 1, 22, 12, 24, 12, 17, 25, 1, 10, 12, 27, 12],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 536,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "58a68a9bf81642540bcff165563af592",
"tweak": "a4a9513e222fab29",
"msg": [5, 11, 5, 11, 24, 27, 29, 27, 12, 25, 27, 18, 12, 6, 6, 4],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 537,
"comment": "y = 0 and (y + a) % radix**8 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "4308ddeb395477bc7660",
"msg": [2, 18, 22, 16, 21, 13, 17, 1, 23, 24, 16, 23, 1, 3, 22, 29],
"ct": [3, 1, 17, 18, 3, 28, 10, 29, 20, 6, 13, 1, 19, 21, 2, 31],
"result": "valid"
},
{
"tcId": 538,
"comment": "y = 0 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "4308ddeb395477bc7660",
"msg": [5, 10, 6, 8, 22, 19, 7, 20, 10, 0, 0, 23, 10, 21, 3, 10],
"ct": [27, 20, 11, 17, 8, 15, 29, 18, 22, 29, 20, 15, 3, 25, 20, 29],
"result": "valid"
},
{
"tcId": 539,
"comment": "y = 0 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "4308ddeb395477bc7660",
"msg": [23, 3, 9, 12, 3, 13, 2, 10, 22, 19, 4, 2, 22, 18, 17, 8],
"ct": [2, 5, 12, 27, 7, 3, 21, 23, 15, 24, 24, 21, 30, 18, 31, 17],
"result": "valid"
},
{
"tcId": 540,
"comment": "y = 0 and (y + a) % radix**8 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "4308ddeb395477bc7660",
"msg": [29, 25, 21, 9, 31, 13, 20, 31, 10, 23, 23, 27, 10, 30, 7, 17],
"ct": [6, 5, 7, 15, 28, 17, 4, 20, 27, 14, 3, 21, 11, 24, 12, 18],
"result": "valid"
},
{
"tcId": 541,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "3d8975d97355fe073e9d",
"msg": [11, 27, 21, 29, 18, 22, 13, 22, 15, 3, 31, 23, 13, 14, 1, 16],
"ct": [6, 12, 22, 24, 3, 15, 1, 9, 10, 3, 25, 3, 2, 31, 9, 6],
"result": "valid"
},
{
"tcId": 542,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "3d8975d97355fe073e9d",
"msg": [16, 7, 30, 7, 28, 8, 2, 4, 20, 31, 20, 7, 11, 11, 14, 22],
"ct": [15, 15, 7, 19, 0, 19, 29, 1, 29, 24, 11, 20, 4, 25, 0, 13],
"result": "valid"
},
{
"tcId": 543,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "3d8975d97355fe073e9d",
"msg": [31, 25, 12, 10, 8, 7, 20, 18, 17, 18, 6, 26, 14, 22, 8, 21],
"ct": [19, 6, 29, 12, 10, 27, 1, 8, 31, 5, 11, 13, 30, 16, 9, 2],
"result": "valid"
},
{
"tcId": 544,
"comment": "y = 1 and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "3d8975d97355fe073e9d",
"msg": [25, 16, 28, 5, 30, 14, 0, 28, 15, 10, 31, 18, 21, 0, 21, 16],
"ct": [8, 13, 12, 21, 23, 18, 13, 30, 19, 11, 2, 1, 21, 2, 4, 25],
"result": "valid"
},
{
"tcId": 545,
"comment": "y = 1 and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "3d8975d97355fe073e9d",
"msg": [18, 8, 14, 3, 5, 31, 18, 16, 26, 27, 14, 28, 30, 14, 10, 5],
"ct": [31, 3, 12, 27, 14, 6, 8, 11, 9, 23, 23, 4, 27, 18, 28, 8],
"result": "valid"
},
{
"tcId": 546,
"comment": "y is maximal and (y + a) % radix**8 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "2243d145c3a8ca09d458",
"msg": [11, 15, 0, 20, 19, 20, 20, 1, 26, 7, 3, 3, 27, 2, 25, 15],
"ct": [10, 7, 22, 1, 19, 26, 14, 5, 18, 21, 13, 11, 10, 5, 4, 2],
"result": "valid"
},
{
"tcId": 547,
"comment": "y is maximal and (y + a) % radix**8 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "2243d145c3a8ca09d458",
"msg": [27, 25, 1, 17, 0, 1, 23, 14, 12, 28, 17, 4, 21, 7, 16, 24],
"ct": [1, 23, 17, 15, 2, 24, 11, 1, 8, 16, 4, 7, 19, 19, 26, 25],
"result": "valid"
},
{
"tcId": 548,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "2243d145c3a8ca09d458",
"msg": [18, 2, 31, 21, 15, 31, 23, 7, 4, 24, 28, 29, 10, 9, 15, 16],
"ct": [25, 18, 14, 5, 7, 16, 18, 18, 2, 6, 16, 5, 27, 17, 1, 14],
"result": "valid"
},
{
"tcId": 549,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "2243d145c3a8ca09d458",
"msg": [2, 8, 29, 7, 4, 20, 22, 17, 22, 26, 31, 3, 12, 0, 5, 26],
"ct": [30, 13, 6, 29, 10, 8, 8, 13, 5, 26, 25, 3, 2, 0, 23, 3],
"result": "valid"
},
{
"tcId": 550,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "0e57a45af3244eb76ef5",
"msg": [27, 31, 0, 8, 31, 20, 5, 15, 17, 3, 29, 1, 10, 21, 16, 22],
"ct": [31, 31, 31, 31, 31, 31, 31, 0, 26, 6, 9, 19, 11, 16, 0, 28],
"result": "valid"
},
{
"tcId": 551,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "0e57a45af3244eb76ef5",
"msg": [20, 26, 1, 21, 27, 21, 6, 31, 19, 7, 22, 4, 0, 30, 0, 14],
"ct": [31, 31, 31, 31, 31, 31, 31, 1, 7, 13, 12, 23, 5, 18, 14, 11],
"result": "valid"
},
{
"tcId": 552,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "0e57a45af3244eb76ef5",
"msg": [21, 23, 13, 10, 30, 17, 31, 27, 30, 29, 20, 11, 14, 13, 17, 3],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 25, 27, 19, 17, 30, 23, 11, 18],
"result": "valid"
},
{
"tcId": 553,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "0e57a45af3244eb76ef5",
"msg": [5, 25, 25, 17, 20, 16, 17, 24, 23, 20, 13, 23, 4, 17, 28, 17],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 19, 11, 10, 30, 24, 26],
"result": "valid"
},
{
"tcId": 554,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "0e57a45af3244eb76ef5",
"msg": [14, 11, 12, 8, 24, 1, 13, 28, 9, 30, 24, 8, 14, 30, 27, 26],
"ct": [15, 31, 31, 31, 31, 31, 31, 0, 24, 9, 27, 15, 7, 9, 30, 6],
"result": "valid"
},
{
"tcId": 555,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "0e57a45af3244eb76ef5",
"msg": [14, 8, 20, 19, 3, 29, 3, 16, 6, 2, 1, 17, 7, 8, 3, 15],
"ct": [31, 31, 31, 31, 31, 31, 30, 31, 8, 16, 28, 3, 20, 22, 13, 15],
"result": "valid"
},
{
"tcId": 556,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "7c2453d72d7a3c947ec1",
"msg": [6, 31, 19, 18, 14, 17, 22, 24, 16, 31, 29, 7, 1, 17, 13, 22],
"ct": [18, 21, 15, 12, 7, 10, 26, 1, 22, 29, 12, 22, 15, 14, 14, 2],
"result": "valid"
},
{
"tcId": 557,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "7c2453d72d7a3c947ec1",
"msg": [15, 25, 10, 15, 23, 18, 3, 14, 10, 13, 20, 26, 25, 18, 28, 31],
"ct": [31, 12, 0, 21, 15, 4, 16, 28, 29, 16, 26, 1, 1, 29, 10, 30],
"result": "valid"
},
{
"tcId": 558,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "7c2453d72d7a3c947ec1",
"msg": [28, 5, 23, 29, 14, 24, 2, 13, 20, 1, 17, 6, 7, 0, 30, 27],
"ct": [19, 19, 21, 7, 22, 3, 21, 21, 7, 20, 11, 30, 30, 11, 6, 11],
"result": "valid"
},
{
"tcId": 559,
"comment": "y is maximal after modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "ce2295b38289779ad19a532cd6be845b",
"tweak": "7c2453d72d7a3c947ec1",
"msg": [23, 10, 26, 24, 0, 10, 15, 30, 26, 16, 4, 15, 28, 17, 30, 23],
"ct": [21, 0, 16, 29, 6, 11, 4, 7, 27, 18, 19, 27, 31, 9, 9, 3],
"result": "valid"
},
{
"tcId": 560,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c3a8f68c88eeea1a255db6a7e012ec22",
"tweak": "a841e8a1819dfb69",
"msg": [-1, 5, 20, 21, 9, 29, 6, 5, 7, 7, 27, 31, 21, 21, 2, 8],
"ct": [29, 8, 27, 11, 0, 20, 17, 6, 8, 17, 18, 26, 6, 18, 20, 17],
"result": "invalid"
},
{
"tcId": 561,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c3a8f68c88eeea1a255db6a7e012ec22",
"tweak": "a841e8a1819dfb69",
"msg": [28, 5, 20, 21, 9, -1, 6, 5, 7, 7, 27, 31, 21, 21, 2, 8],
"ct": [16, 25, 14, 8, 25, 13, 1, 4, 27, 4, 13, 5, 7, 2, 17, 19],
"result": "invalid"
},
{
"tcId": 562,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c3a8f68c88eeea1a255db6a7e012ec22",
"tweak": "a841e8a1819dfb69",
"msg": [28, 5, 20, 21, 9, 29, 6, 5, 7, 7, 27, 31, 21, 21, 2, -1],
"ct": [1, 13, 21, 11, 29, 30, 27, 12, 7, 21, 18, 6, 0, 26, 3, 14],
"result": "invalid"
},
{
"tcId": 563,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "13277a6dcfbe53b477f7d73c42ec6cf1",
"tweak": "3def405778efc5b6",
"msg": [32, 15, 31, 12, 29, 30, 8, 27, 4, 25, 1, 31, 12, 5, 20, 7],
"ct": [15, 10, 16, 16, 17, 0, 17, 27, 23, 13, 26, 18, 25, 28, 30, 28],
"result": "invalid"
},
{
"tcId": 564,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "13277a6dcfbe53b477f7d73c42ec6cf1",
"tweak": "3def405778efc5b6",
"msg": [4, 15, 31, 12, 29, 32, 8, 27, 4, 25, 1, 31, 12, 5, 20, 7],
"ct": [17, 13, 13, 7, 25, 24, 27, 9, 6, 19, 9, 21, 26, 9, 20, 6],
"result": "invalid"
},
{
"tcId": 565,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "13277a6dcfbe53b477f7d73c42ec6cf1",
"tweak": "3def405778efc5b6",
"msg": [4, 15, 31, 12, 29, 30, 8, 27, 4, 25, 1, 31, 12, 5, 20, 32],
"ct": [31, 3, 2, 18, 7, 9, 10, 19, 26, 13, 24, 22, 18, 13, 23, 5],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 17,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 566,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "22351a53774415942eb879b483eda9a2",
"tweak": "b4a5dce9958d53fc",
"msg": [17, 12, 16, 11, 18, 21, 23, 27, 17, 21, 25, 2, 24, 20, 15, 12, 26],
"ct": [31, 13, 18, 22, 15, 2, 13, 0, 21, 27, 1, 15, 9, 29, 15, 19, 11],
"result": "valid"
},
{
"tcId": 567,
"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": [14, 17, 1, 11, 13, 28, 0, 27, 17, 9, 31, 24, 0, 8, 25, 27, 18],
"result": "valid"
},
{
"tcId": 568,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [4, 30, 21, 8, 31, 26, 21, 31, 7, 27, 23, 2, 7, 26, 17, 17, 29],
"result": "valid"
},
{
"tcId": 569,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [20, 16, 17, 10, 23, 18, 16, 27, 29, 24, 3, 0, 21, 30, 18, 2, 14],
"result": "valid"
},
{
"tcId": 570,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [12, 7, 4, 19, 16, 29, 11, 10, 20, 8, 31, 29, 30, 20, 23, 19, 16],
"result": "valid"
},
{
"tcId": 571,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [24, 3, 12, 20, 29, 26, 4, 21, 28, 6, 10, 23, 14, 18, 9, 6, 7],
"ct": [26, 28, 5, 11, 9, 31, 6, 2, 21, 3, 26, 4, 6, 10, 1, 15, 31],
"result": "valid"
},
{
"tcId": 572,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [27, 18, 4, 22, 12, 8, 4, 26, 6, 5, 16, 21, 19, 23, 18, 5, 12],
"ct": [26, 15, 0, 29, 15, 27, 30, 7, 11, 2, 20, 3, 16, 6, 23, 0, 18],
"result": "valid"
},
{
"tcId": 573,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [14, 27, 2, 18, 16, 0, 4, 28, 30, 11, 2, 30, 8, 5, 14, 27, 12],
"ct": [12, 3, 19, 3, 24, 25, 24, 9, 25, 13, 27, 10, 24, 12, 27, 16, 29],
"result": "valid"
},
{
"tcId": 574,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [30, 10, 11, 13, 22, 20, 30, 13, 14, 22, 8, 8, 16, 3, 7, 11, 9],
"ct": [22, 14, 10, 13, 31, 12, 5, 2, 12, 14, 2, 24, 10, 13, 0, 29, 27],
"result": "valid"
},
{
"tcId": 575,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [10, 15, 6, 24, 10, 21, 24, 24, 3, 27, 6, 13, 14, 9, 16, 8, 17],
"ct": [0, 4, 23, 27, 15, 12, 26, 8, 6, 30, 7, 10, 18, 31, 16, 14, 0],
"result": "valid"
},
{
"tcId": 576,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [18, 31, 26, 4, 22, 27, 27, 1, 8, 15, 21, 1, 11, 5, 2, 0, 17],
"ct": [30, 28, 5, 10, 26, 26, 26, 7, 8, 18, 14, 11, 29, 30, 20, 20, 30],
"result": "valid"
},
{
"tcId": 577,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [7, 21, 0, 31, 16, 12, 2, 20, 28, 20, 20, 4, 3, 31, 2, 27, 6],
"ct": [18, 21, 27, 9, 22, 23, 18, 20, 3, 24, 5, 29, 28, 24, 9, 23, 17],
"result": "valid"
},
{
"tcId": 578,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [17, 7, 13, 17, 22, 22, 3, 13, 22, 31, 7, 24, 8, 14, 30, 28, 8],
"ct": [19, 26, 15, 6, 11, 23, 29, 31, 13, 19, 31, 5, 5, 24, 26, 25, 8],
"result": "valid"
},
{
"tcId": 579,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [21, 24, 26, 26, 13, 18, 10, 31, 2, 14, 12, 26, 5, 30, 8, 11, 31],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 580,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [29, 4, 27, 19, 9, 18, 16, 5, 10, 4, 29, 1, 11, 0, 21, 19, 9],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 581,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [26, 13, 14, 15, 30, 15, 2, 8, 0, 15, 29, 2, 3, 1, 9, 4, 26],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 582,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "586c34235df3fd6ed8995a643fd52d41",
"tweak": "c41f1671a352a8fb",
"msg": [12, 19, 6, 28, 7, 30, 17, 18, 23, 27, 30, 15, 11, 24, 0, 22, 12],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 583,
"comment": "y = 0 and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "477e20918dcca631ba",
"msg": [26, 8, 17, 12, 7, 22, 31, 24, 19, 8, 19, 13, 0, 17, 11, 12, 0],
"ct": [0, 1, 15, 19, 28, 31, 30, 20, 11, 8, 5, 22, 21, 16, 26, 4, 26],
"result": "valid"
},
{
"tcId": 584,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "477e20918dcca631ba",
"msg": [15, 4, 31, 17, 13, 12, 0, 14, 24, 31, 19, 29, 3, 30, 3, 5, 5],
"ct": [10, 6, 6, 12, 6, 0, 17, 19, 26, 24, 0, 13, 17, 19, 13, 7, 29],
"result": "valid"
},
{
"tcId": 585,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "477e20918dcca631ba",
"msg": [12, 17, 10, 5, 9, 20, 22, 9, 4, 20, 1, 12, 1, 23, 13, 30, 18],
"ct": [30, 30, 5, 8, 21, 8, 5, 2, 21, 3, 23, 16, 29, 0, 12, 20, 18],
"result": "valid"
},
{
"tcId": 586,
"comment": "y = 0 and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "477e20918dcca631ba",
"msg": [23, 27, 0, 30, 29, 25, 15, 24, 12, 10, 13, 5, 22, 18, 5, 4, 5],
"ct": [24, 0, 28, 12, 23, 28, 1, 13, 21, 16, 27, 12, 21, 14, 27, 12, 22],
"result": "valid"
},
{
"tcId": 587,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "e960a1b87de6788747",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 7, 23, 19, 8, 13, 27, 28, 5, 26],
"ct": [31, 12, 14, 17, 26, 19, 5, 31, 22, 29, 5, 3, 17, 13, 7, 29, 19],
"result": "valid"
},
{
"tcId": 588,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "e960a1b87de6788747",
"msg": [0, 0, 0, 0, 0, 0, 0, 1, 7, 23, 19, 8, 13, 27, 28, 5, 26],
"ct": [22, 6, 28, 11, 26, 14, 15, 20, 2, 25, 23, 13, 8, 10, 18, 13, 21],
"result": "valid"
},
{
"tcId": 589,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "e960a1b87de6788747",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 7, 23, 19, 8, 13, 27, 28, 5, 26],
"ct": [11, 7, 28, 16, 23, 26, 25, 28, 13, 11, 4, 0, 1, 26, 22, 16, 16],
"result": "valid"
},
{
"tcId": 590,
"comment": "y = 1 and (y + a) % radix**8 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "e960a1b87de6788747",
"msg": [31, 31, 31, 31, 31, 31, 31, 30, 7, 23, 19, 8, 13, 27, 28, 5, 26],
"ct": [5, 26, 2, 14, 13, 13, 7, 8, 7, 18, 14, 17, 7, 1, 5, 5, 12],
"result": "valid"
},
{
"tcId": 591,
"comment": "y = 1 and (y + a) % radix**8 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "e960a1b87de6788747",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 7, 23, 19, 8, 13, 27, 28, 5, 26],
"ct": [14, 17, 3, 5, 19, 11, 5, 25, 14, 23, 9, 9, 18, 24, 20, 11, 14],
"result": "valid"
},
{
"tcId": 592,
"comment": "y is maximal and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "81218a695988158276",
"msg": [22, 18, 15, 17, 6, 13, 6, 20, 18, 2, 16, 15, 6, 31, 3, 17, 0],
"ct": [2, 3, 14, 27, 26, 3, 25, 14, 3, 19, 19, 29, 26, 13, 26, 21, 6],
"result": "valid"
},
{
"tcId": 593,
"comment": "y is maximal and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "81218a695988158276",
"msg": [12, 20, 22, 8, 6, 18, 31, 7, 16, 15, 9, 23, 26, 30, 26, 23, 21],
"ct": [19, 16, 17, 19, 14, 6, 3, 18, 11, 20, 4, 20, 22, 20, 9, 19, 13],
"result": "valid"
},
{
"tcId": 594,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "81218a695988158276",
"msg": [6, 18, 31, 3, 11, 3, 3, 1, 18, 2, 11, 21, 23, 9, 31, 28, 20],
"ct": [15, 12, 24, 12, 20, 23, 11, 1, 12, 21, 11, 17, 26, 20, 25, 21, 29],
"result": "valid"
},
{
"tcId": 595,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "81218a695988158276",
"msg": [17, 16, 17, 23, 1, 22, 10, 28, 20, 22, 22, 17, 22, 28, 27, 29, 8],
"ct": [10, 28, 18, 16, 2, 24, 26, 21, 4, 24, 29, 19, 5, 1, 10, 11, 28],
"result": "valid"
},
{
"tcId": 596,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "ef5c786ff37bd7e162",
"msg": [9, 30, 26, 20, 7, 8, 11, 20, 30, 29, 27, 30, 29, 11, 27, 3, 3],
"ct": [5, 20, 12, 15, 10, 5, 4, 3, 7, 1, 18, 13, 6, 3, 25, 30, 9],
"result": "valid"
},
{
"tcId": 597,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "ef5c786ff37bd7e162",
"msg": [20, 6, 13, 23, 28, 18, 18, 28, 23, 1, 28, 2, 12, 7, 11, 25, 24],
"ct": [2, 18, 13, 21, 22, 19, 28, 8, 26, 28, 11, 24, 29, 14, 14, 24, 25],
"result": "valid"
},
{
"tcId": 598,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "ef5c786ff37bd7e162",
"msg": [15, 5, 19, 16, 0, 12, 23, 17, 5, 17, 22, 15, 24, 14, 1, 30, 7],
"ct": [30, 5, 7, 1, 20, 26, 9, 19, 14, 26, 19, 15, 11, 18, 2, 19, 10],
"result": "valid"
},
{
"tcId": 599,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "ef5c786ff37bd7e162",
"msg": [26, 10, 2, 15, 30, 7, 15, 19, 22, 13, 27, 12, 15, 27, 15, 0, 28],
"ct": [9, 2, 12, 17, 30, 26, 24, 17, 24, 29, 22, 23, 9, 8, 9, 5, 6],
"result": "valid"
},
{
"tcId": 600,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "ef5c786ff37bd7e162",
"msg": [14, 10, 6, 12, 27, 23, 29, 24, 28, 11, 7, 10, 28, 17, 19, 15, 7],
"ct": [25, 1, 20, 30, 9, 3, 7, 26, 0, 0, 4, 18, 4, 28, 22, 29, 3],
"result": "valid"
},
{
"tcId": 601,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "ef5c786ff37bd7e162",
"msg": [22, 6, 4, 11, 28, 20, 16, 29, 18, 4, 21, 21, 2, 7, 6, 28, 6],
"ct": [16, 18, 6, 15, 22, 29, 13, 27, 14, 15, 26, 25, 22, 13, 26, 10, 25],
"result": "valid"
},
{
"tcId": 602,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "d2eadadf47104aa6b4",
"msg": [14, 16, 4, 2, 13, 17, 28, 9, 8, 30, 31, 8, 23, 24, 6, 6, 5],
"ct": [5, 0, 14, 29, 12, 14, 1, 31, 20, 30, 4, 29, 12, 22, 13, 11, 9],
"result": "valid"
},
{
"tcId": 603,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "d2eadadf47104aa6b4",
"msg": [4, 17, 22, 20, 21, 31, 19, 13, 24, 18, 15, 5, 30, 16, 8, 8, 12],
"ct": [30, 31, 9, 20, 25, 25, 25, 23, 7, 28, 29, 26, 26, 0, 4, 23, 28],
"result": "valid"
},
{
"tcId": 604,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "d2eadadf47104aa6b4",
"msg": [19, 2, 26, 6, 5, 7, 13, 16, 29, 0, 5, 28, 20, 29, 14, 7, 27],
"ct": [20, 28, 5, 27, 19, 4, 12, 20, 5, 5, 18, 20, 4, 27, 17, 7, 9],
"result": "valid"
},
{
"tcId": 605,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "47b31cab4872b3dfea0ebed259ac5cb7",
"tweak": "d2eadadf47104aa6b4",
"msg": [22, 23, 2, 23, 1, 14, 15, 11, 10, 11, 18, 23, 31, 31, 2, 24, 29],
"ct": [24, 5, 2, 10, 26, 27, 26, 8, 24, 22, 29, 28, 0, 22, 20, 4, 6],
"result": "valid"
},
{
"tcId": 606,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2ec80962dad2bf783abd539d85a7c8d6",
"tweak": "1a36d2cb8088c664",
"msg": [-1, 22, 1, 12, 29, 17, 20, 18, 28, 11, 25, 4, 18, 13, 8, 9, 4],
"ct": [14, 6, 5, 26, 11, 7, 17, 16, 24, 3, 23, 30, 28, 30, 28, 14, 4],
"result": "invalid"
},
{
"tcId": 607,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2ec80962dad2bf783abd539d85a7c8d6",
"tweak": "1a36d2cb8088c664",
"msg": [21, 22, 1, 12, 29, -1, 20, 18, 28, 11, 25, 4, 18, 13, 8, 9, 4],
"ct": [19, 29, 5, 22, 27, 4, 1, 0, 24, 6, 1, 13, 3, 27, 0, 8, 7],
"result": "invalid"
},
{
"tcId": 608,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2ec80962dad2bf783abd539d85a7c8d6",
"tweak": "1a36d2cb8088c664",
"msg": [21, 22, 1, 12, 29, 17, 20, 18, 28, 11, 25, 4, 18, 13, 8, 9, -1],
"ct": [20, 23, 21, 14, 25, 6, 3, 17, 28, 1, 12, 19, 3, 8, 10, 28, 14],
"result": "invalid"
},
{
"tcId": 609,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "480bd0f34f9a16d2c1349ddabf619202",
"tweak": "ee0cc5ab890ae0ad",
"msg": [32, 20, 14, 27, 2, 20, 13, 12, 9, 24, 16, 9, 30, 29, 13, 20, 16],
"ct": [15, 31, 9, 17, 26, 24, 27, 13, 29, 22, 31, 10, 31, 26, 16, 2, 23],
"result": "invalid"
},
{
"tcId": 610,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "480bd0f34f9a16d2c1349ddabf619202",
"tweak": "ee0cc5ab890ae0ad",
"msg": [24, 20, 14, 27, 2, 32, 13, 12, 9, 24, 16, 9, 30, 29, 13, 20, 16],
"ct": [7, 22, 0, 21, 22, 1, 1, 24, 24, 2, 26, 2, 10, 27, 15, 29, 25],
"result": "invalid"
},
{
"tcId": 611,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "480bd0f34f9a16d2c1349ddabf619202",
"tweak": "ee0cc5ab890ae0ad",
"msg": [24, 20, 14, 27, 2, 20, 13, 12, 9, 24, 16, 9, 30, 29, 13, 20, 32],
"ct": [2, 30, 31, 5, 30, 6, 14, 24, 8, 7, 30, 0, 1, 9, 25, 27, 6],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 18,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 612,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "40dcd7ccae73e5e9bba5523fbab77a3c",
"tweak": "60ddd7c8df1437cf",
"msg": [3, 25, 16, 25, 21, 26, 8, 22, 2, 24, 2, 0, 5, 5, 7, 11, 13, 15],
"ct": [5, 17, 20, 3, 21, 9, 8, 3, 17, 21, 25, 18, 15, 26, 6, 20, 14, 8],
"result": "valid"
},
{
"tcId": 613,
"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": [14, 6, 10, 28, 4, 23, 10, 23, 20, 20, 23, 21, 13, 6, 9, 10, 14, 23],
"result": "valid"
},
{
"tcId": 614,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [8, 16, 19, 6, 17, 11, 27, 20, 8, 27, 23, 0, 3, 9, 9, 9, 30, 27],
"result": "valid"
},
{
"tcId": 615,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [21, 17, 10, 21, 1, 8, 15, 23, 29, 9, 23, 13, 30, 3, 8, 13, 6, 9],
"result": "valid"
},
{
"tcId": 616,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [6, 4, 5, 29, 31, 19, 10, 11, 19, 14, 7, 16, 2, 3, 14, 17, 29, 24],
"result": "valid"
},
{
"tcId": 617,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [0, 20, 26, 10, 24, 11, 2, 20, 21, 30, 17, 27, 22, 10, 0, 19, 11, 24],
"ct": [6, 28, 9, 15, 7, 23, 28, 22, 20, 25, 20, 1, 14, 29, 12, 24, 20, 12],
"result": "valid"
},
{
"tcId": 618,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [29, 14, 6, 7, 12, 6, 15, 20, 8, 19, 4, 30, 30, 8, 14, 21, 26, 6],
"ct": [10, 7, 18, 23, 3, 2, 1, 5, 15, 23, 30, 14, 18, 28, 5, 2, 27, 6],
"result": "valid"
},
{
"tcId": 619,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [25, 29, 29, 1, 0, 21, 17, 15, 20, 16, 6, 10, 23, 11, 25, 28, 7, 8],
"ct": [29, 9, 30, 22, 16, 20, 4, 26, 11, 6, 23, 31, 0, 24, 3, 18, 26, 20],
"result": "valid"
},
{
"tcId": 620,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [27, 22, 27, 14, 24, 1, 13, 26, 17, 12, 16, 24, 6, 10, 9, 31, 31, 15],
"ct": [24, 29, 17, 5, 0, 14, 29, 27, 30, 24, 1, 16, 26, 22, 8, 19, 7, 28],
"result": "valid"
},
{
"tcId": 621,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [5, 19, 12, 20, 17, 7, 17, 23, 0, 24, 20, 20, 12, 24, 8, 31, 15, 12],
"ct": [29, 16, 18, 9, 30, 11, 8, 21, 7, 13, 6, 8, 9, 21, 8, 21, 0, 24],
"result": "valid"
},
{
"tcId": 622,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [1, 30, 31, 11, 0, 26, 20, 11, 26, 20, 16, 28, 7, 17, 6, 22, 7, 3],
"ct": [18, 3, 11, 1, 23, 30, 26, 7, 24, 31, 28, 14, 26, 24, 20, 28, 15, 13],
"result": "valid"
},
{
"tcId": 623,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [0, 12, 4, 18, 2, 18, 21, 28, 19, 11, 24, 22, 13, 28, 8, 21, 4, 19],
"ct": [21, 11, 11, 0, 4, 26, 29, 30, 21, 18, 27, 8, 14, 22, 25, 18, 23, 27],
"result": "valid"
},
{
"tcId": 624,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [20, 8, 7, 27, 20, 11, 3, 18, 20, 5, 24, 0, 6, 28, 21, 16, 26, 19],
"ct": [30, 13, 16, 26, 29, 8, 22, 28, 12, 21, 18, 1, 0, 28, 30, 26, 17, 3],
"result": "valid"
},
{
"tcId": 625,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [10, 1, 24, 21, 19, 2, 14, 28, 15, 24, 28, 30, 2, 11, 15, 0, 16, 31],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 626,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [9, 29, 4, 19, 1, 31, 13, 17, 25, 29, 1, 30, 13, 25, 1, 18, 12, 2],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 627,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [28, 30, 10, 6, 29, 26, 25, 3, 7, 4, 8, 28, 26, 30, 25, 22, 9, 29],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 628,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fbe6a74c32f28d6fcb00598b1d6c531a",
"tweak": "308cfb8c6402c842",
"msg": [20, 2, 30, 2, 23, 31, 4, 22, 3, 24, 20, 22, 30, 21, 24, 25, 30, 18],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 629,
"comment": "y = 0 and (y + a) % radix**9 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "c7d172d36205c51338",
"msg": [21, 31, 3, 21, 26, 24, 10, 25, 21, 24, 15, 7, 5, 8, 6, 13, 6, 9],
"ct": [20, 12, 13, 29, 6, 7, 0, 18, 29, 17, 10, 8, 19, 21, 1, 9, 12, 26],
"result": "valid"
},
{
"tcId": 630,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "c7d172d36205c51338",
"msg": [28, 28, 29, 8, 6, 27, 23, 17, 7, 13, 28, 13, 21, 21, 3, 8, 25, 15],
"ct": [9, 16, 10, 23, 1, 9, 26, 21, 27, 2, 6, 30, 21, 12, 20, 23, 13, 25],
"result": "valid"
},
{
"tcId": 631,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "c7d172d36205c51338",
"msg": [14, 7, 6, 7, 14, 23, 29, 14, 0, 28, 24, 14, 16, 22, 14, 13, 24, 10],
"ct": [8, 17, 26, 29, 20, 15, 16, 5, 6, 9, 5, 9, 10, 17, 31, 23, 9, 19],
"result": "valid"
},
{
"tcId": 632,
"comment": "y = 0 and (y + a) % radix**9 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "c7d172d36205c51338",
"msg": [8, 14, 18, 3, 13, 27, 0, 24, 11, 31, 13, 12, 28, 12, 25, 22, 31, 26],
"ct": [22, 1, 1, 19, 25, 9, 2, 19, 15, 6, 0, 27, 19, 26, 25, 9, 29, 21],
"result": "valid"
},
{
"tcId": 633,
"comment": "y = 1 and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "ca26acbda16d877a3e",
"msg": [3, 4, 16, 21, 31, 21, 21, 8, 7, 31, 6, 25, 26, 22, 1, 20, 12, 11],
"ct": [4, 30, 13, 7, 26, 14, 23, 3, 18, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 634,
"comment": "y = 1 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "ca26acbda16d877a3e",
"msg": [25, 1, 23, 2, 20, 8, 16, 16, 10, 18, 24, 25, 20, 28, 11, 1, 10, 2],
"ct": [4, 30, 13, 7, 26, 14, 23, 3, 18, 0, 0, 0, 0, 0, 0, 0, 0, 2],
"result": "valid"
},
{
"tcId": 635,
"comment": "y = 1 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "ca26acbda16d877a3e",
"msg": [25, 2, 14, 16, 31, 23, 2, 2, 29, 10, 29, 12, 25, 10, 9, 21, 2, 22],
"ct": [4, 30, 13, 7, 26, 14, 23, 3, 18, 16, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 636,
"comment": "y = 1 and (y + a) % radix**9 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "ca26acbda16d877a3e",
"msg": [20, 11, 14, 18, 16, 3, 21, 2, 7, 3, 15, 6, 14, 24, 19, 1, 0, 26],
"ct": [4, 30, 13, 7, 26, 14, 23, 3, 18, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 637,
"comment": "y = 1 and (y + a) % radix**9 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "ca26acbda16d877a3e",
"msg": [2, 26, 2, 9, 25, 31, 9, 30, 14, 3, 4, 9, 3, 0, 19, 31, 22, 20],
"ct": [4, 30, 13, 7, 26, 14, 23, 3, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 638,
"comment": "y is maximal and (y + a) % radix**9 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "2ea2e4274d483f0d75",
"msg": [29, 30, 20, 0, 9, 12, 28, 11, 2, 22, 7, 23, 0, 27, 15, 13, 14, 18],
"ct": [30, 28, 10, 17, 22, 9, 2, 25, 0, 24, 27, 25, 22, 17, 6, 16, 8, 0],
"result": "valid"
},
{
"tcId": 639,
"comment": "y is maximal and (y + a) % radix**9 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "2ea2e4274d483f0d75",
"msg": [6, 9, 23, 22, 1, 29, 10, 20, 25, 7, 27, 17, 7, 21, 22, 23, 4, 29],
"ct": [14, 22, 16, 21, 13, 22, 9, 11, 30, 12, 5, 10, 24, 16, 28, 10, 5, 29],
"result": "valid"
},
{
"tcId": 640,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "2ea2e4274d483f0d75",
"msg": [11, 17, 31, 22, 20, 26, 1, 9, 4, 30, 22, 31, 4, 1, 14, 15, 31, 31],
"ct": [29, 23, 27, 5, 3, 10, 5, 24, 29, 2, 15, 29, 31, 23, 19, 13, 21, 15],
"result": "valid"
},
{
"tcId": 641,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "2ea2e4274d483f0d75",
"msg": [23, 5, 6, 11, 14, 1, 19, 14, 4, 23, 21, 22, 17, 25, 23, 18, 4, 1],
"ct": [30, 29, 28, 7, 8, 23, 31, 16, 12, 10, 6, 17, 3, 6, 13, 20, 1, 27],
"result": "valid"
},
{
"tcId": 642,
"comment": "y is edge case for modular reduction and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "81cbed0465832557bd",
"msg": [11, 30, 20, 19, 2, 15, 8, 1, 18, 4, 28, 1, 26, 19, 2, 28, 9, 24],
"ct": [8, 22, 13, 10, 13, 26, 6, 6, 23, 19, 10, 6, 2, 16, 8, 29, 30, 15],
"result": "valid"
},
{
"tcId": 643,
"comment": "y is edge case for modular reduction and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "81cbed0465832557bd",
"msg": [15, 3, 8, 13, 15, 22, 1, 14, 7, 13, 20, 30, 25, 18, 16, 5, 13, 26],
"ct": [24, 15, 21, 31, 1, 23, 20, 26, 30, 3, 6, 25, 27, 26, 15, 31, 13, 10],
"result": "valid"
},
{
"tcId": 644,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "81cbed0465832557bd",
"msg": [9, 27, 25, 0, 26, 23, 30, 9, 1, 2, 13, 27, 8, 2, 12, 4, 20, 30],
"ct": [28, 16, 31, 15, 6, 24, 16, 14, 4, 29, 16, 21, 28, 17, 31, 19, 30, 12],
"result": "valid"
},
{
"tcId": 645,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "81cbed0465832557bd",
"msg": [14, 18, 16, 25, 21, 2, 3, 23, 10, 24, 20, 1, 10, 19, 28, 27, 7, 23],
"ct": [25, 20, 21, 15, 13, 9, 13, 0, 14, 19, 7, 31, 1, 8, 26, 31, 8, 17],
"result": "valid"
},
{
"tcId": 646,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "81cbed0465832557bd",
"msg": [21, 1, 22, 18, 13, 2, 25, 20, 6, 7, 18, 19, 18, 23, 18, 15, 28, 4],
"ct": [31, 12, 25, 3, 20, 7, 12, 22, 26, 1, 17, 28, 13, 7, 21, 17, 28, 3],
"result": "valid"
},
{
"tcId": 647,
"comment": "y is edge case for modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "81cbed0465832557bd",
"msg": [30, 11, 6, 1, 11, 24, 14, 30, 14, 21, 30, 22, 24, 7, 13, 29, 1, 11],
"ct": [11, 2, 18, 3, 21, 28, 28, 4, 27, 20, 31, 29, 18, 15, 14, 8, 26, 5],
"result": "valid"
},
{
"tcId": 648,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "389d8a48c546218ae8",
"msg": [11, 21, 10, 3, 20, 19, 5, 20, 16, 29, 11, 23, 0, 15, 30, 14, 13, 22],
"ct": [17, 16, 31, 28, 26, 11, 6, 13, 20, 8, 17, 24, 9, 30, 22, 10, 22, 18],
"result": "valid"
},
{
"tcId": 649,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "389d8a48c546218ae8",
"msg": [10, 11, 4, 28, 7, 12, 7, 6, 11, 0, 24, 16, 20, 14, 10, 10, 29, 7],
"ct": [7, 10, 4, 2, 23, 8, 6, 3, 2, 8, 13, 2, 1, 31, 25, 11, 28, 3],
"result": "valid"
},
{
"tcId": 650,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "389d8a48c546218ae8",
"msg": [0, 5, 8, 31, 28, 25, 18, 9, 8, 12, 22, 11, 5, 7, 29, 4, 12, 24],
"ct": [20, 7, 7, 19, 30, 27, 26, 18, 5, 29, 4, 6, 19, 10, 21, 9, 20, 19],
"result": "valid"
},
{
"tcId": 651,
"comment": "y is maximal after modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "93f59a2f91ad3ca69e10b50b2ada2f7f",
"tweak": "389d8a48c546218ae8",
"msg": [5, 27, 5, 25, 15, 31, 11, 7, 5, 15, 23, 2, 27, 1, 28, 1, 3, 14],
"ct": [25, 14, 8, 9, 24, 16, 8, 16, 11, 30, 29, 30, 12, 10, 13, 7, 22, 1],
"result": "valid"
},
{
"tcId": 652,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8f3a40ed121d763ce94121d1a884ac4f",
"tweak": "5e37cf940f79d378",
"msg": [-1, 27, 17, 16, 30, 13, 8, 8, 30, 19, 29, 8, 8, 6, 9, 13, 23, 21],
"ct": [30, 12, 28, 21, 23, 29, 21, 22, 24, 13, 23, 27, 1, 5, 10, 13, 19, 30],
"result": "invalid"
},
{
"tcId": 653,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8f3a40ed121d763ce94121d1a884ac4f",
"tweak": "5e37cf940f79d378",
"msg": [19, 27, 17, 16, 30, 13, -1, 8, 30, 19, 29, 8, 8, 6, 9, 13, 23, 21],
"ct": [3, 5, 7, 20, 18, 12, 23, 25, 1, 18, 24, 4, 25, 9, 19, 24, 12, 9],
"result": "invalid"
},
{
"tcId": 654,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8f3a40ed121d763ce94121d1a884ac4f",
"tweak": "5e37cf940f79d378",
"msg": [19, 27, 17, 16, 30, 13, 8, 8, 30, 19, 29, 8, 8, 6, 9, 13, 23, -1],
"ct": [28, 30, 16, 20, 0, 16, 7, 20, 5, 12, 7, 15, 3, 1, 1, 6, 13, 24],
"result": "invalid"
},
{
"tcId": 655,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b7cb5c7a2a0ec341f49ce40e9e8fd48a",
"tweak": "8a7bed58ddbcd297",
"msg": [32, 19, 16, 31, 11, 6, 4, 17, 31, 28, 28, 30, 1, 20, 20, 11, 25, 29],
"ct": [0, 11, 0, 31, 14, 26, 17, 2, 3, 27, 17, 17, 31, 26, 17, 30, 12, 24],
"result": "invalid"
},
{
"tcId": 656,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b7cb5c7a2a0ec341f49ce40e9e8fd48a",
"tweak": "8a7bed58ddbcd297",
"msg": [22, 19, 16, 31, 11, 6, 32, 17, 31, 28, 28, 30, 1, 20, 20, 11, 25, 29],
"ct": [9, 5, 8, 0, 16, 0, 11, 10, 13, 26, 1, 22, 2, 31, 8, 7, 13, 14],
"result": "invalid"
},
{
"tcId": 657,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b7cb5c7a2a0ec341f49ce40e9e8fd48a",
"tweak": "8a7bed58ddbcd297",
"msg": [22, 19, 16, 31, 11, 6, 4, 17, 31, 28, 28, 30, 1, 20, 20, 11, 25, 32],
"ct": [9, 27, 7, 16, 26, 15, 30, 20, 0, 30, 12, 17, 17, 9, 18, 5, 9, 24],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 19,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 658,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "3591cc97af4a5d1492305f87269ee691",
"tweak": "13786144a50ef10a",
"msg": [28, 19, 13, 1, 25, 7, 29, 15, 25, 11, 10, 12, 16, 30, 20, 19, 10, 17, 10],
"ct": [23, 20, 17, 28, 21, 22, 16, 6, 25, 5, 10, 30, 26, 16, 27, 21, 22, 11, 15],
"result": "valid"
},
{
"tcId": 659,
"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": [2, 21, 11, 13, 27, 20, 25, 13, 20, 31, 25, 23, 29, 27, 8, 7, 10, 2, 11],
"result": "valid"
},
{
"tcId": 660,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [29, 5, 6, 31, 5, 15, 17, 26, 28, 23, 15, 8, 25, 9, 19, 28, 4, 21, 5],
"result": "valid"
},
{
"tcId": 661,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [29, 20, 5, 4, 26, 4, 20, 25, 11, 12, 7, 18, 8, 19, 2, 12, 19, 22, 24],
"result": "valid"
},
{
"tcId": 662,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [1, 31, 16, 14, 1, 12, 28, 28, 1, 4, 26, 29, 22, 17, 29, 0, 31, 27, 19],
"result": "valid"
},
{
"tcId": 663,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [25, 6, 10, 25, 5, 4, 6, 31, 14, 23, 18, 1, 6, 23, 10, 17, 1, 29, 16],
"ct": [4, 4, 6, 9, 19, 4, 6, 28, 7, 13, 24, 11, 26, 10, 3, 13, 19, 26, 24],
"result": "valid"
},
{
"tcId": 664,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [19, 9, 25, 20, 31, 7, 18, 15, 2, 5, 11, 20, 5, 6, 3, 1, 17, 17, 15],
"ct": [29, 0, 18, 29, 13, 31, 14, 11, 1, 31, 13, 1, 9, 24, 28, 9, 29, 28, 7],
"result": "valid"
},
{
"tcId": 665,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [18, 2, 21, 9, 14, 4, 9, 28, 12, 28, 26, 31, 19, 22, 9, 27, 26, 3, 21],
"ct": [2, 20, 13, 13, 15, 26, 12, 12, 12, 24, 22, 9, 9, 15, 10, 15, 4, 0, 5],
"result": "valid"
},
{
"tcId": 666,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [22, 22, 1, 9, 9, 23, 16, 0, 9, 7, 3, 13, 9, 11, 15, 29, 31, 28, 25],
"ct": [7, 19, 19, 8, 17, 0, 24, 16, 3, 15, 21, 4, 8, 10, 28, 17, 30, 26, 20],
"result": "valid"
},
{
"tcId": 667,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [11, 24, 5, 16, 15, 28, 12, 13, 10, 5, 8, 24, 21, 7, 4, 26, 30, 4, 2],
"ct": [31, 0, 10, 6, 15, 21, 24, 29, 6, 3, 14, 27, 14, 17, 17, 14, 23, 24, 1],
"result": "valid"
},
{
"tcId": 668,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [9, 19, 4, 14, 20, 28, 12, 25, 22, 22, 16, 24, 26, 8, 1, 14, 16, 25, 28],
"ct": [25, 5, 3, 31, 25, 9, 1, 26, 18, 22, 16, 31, 16, 2, 4, 2, 9, 16, 21],
"result": "valid"
},
{
"tcId": 669,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [24, 4, 10, 2, 11, 7, 25, 31, 5, 10, 17, 18, 18, 20, 10, 25, 29, 25, 20],
"ct": [26, 22, 13, 18, 2, 25, 9, 8, 22, 5, 26, 9, 2, 17, 30, 26, 21, 19, 9],
"result": "valid"
},
{
"tcId": 670,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [6, 24, 30, 26, 10, 12, 5, 22, 6, 22, 0, 20, 10, 31, 1, 25, 5, 26, 3],
"ct": [28, 13, 5, 7, 19, 12, 21, 24, 3, 27, 28, 3, 0, 30, 20, 18, 5, 6, 1],
"result": "valid"
},
{
"tcId": 671,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [21, 16, 16, 24, 27, 0, 26, 9, 25, 5, 14, 19, 24, 27, 16, 23, 25, 6, 6],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 672,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [12, 27, 27, 29, 29, 0, 16, 19, 14, 14, 25, 27, 2, 19, 9, 30, 21, 25, 14],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 673,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [11, 21, 9, 10, 5, 5, 15, 6, 11, 19, 28, 24, 29, 29, 12, 22, 12, 11, 14],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 674,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cd031dce5e1bca3a7e04c997ac13ef2d",
"tweak": "3d906a02e77bcc5c",
"msg": [22, 29, 31, 3, 31, 20, 2, 26, 13, 7, 22, 29, 16, 28, 0, 29, 18, 4, 27],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 675,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "5157dd4a5507b6cc",
"msg": [18, 1, 19, 26, 4, 4, 25, 17, 12, 4, 2, 16, 11, 17, 18, 3, 1, 14, 25],
"ct": [3, 14, 15, 26, 15, 2, 10, 8, 29, 8, 20, 26, 4, 21, 19, 30, 25, 30, 29],
"result": "valid"
},
{
"tcId": 676,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "5157dd4a5507b6cc",
"msg": [23, 0, 1, 18, 13, 8, 16, 20, 26, 2, 19, 3, 15, 22, 28, 6, 8, 5, 29],
"ct": [25, 10, 25, 29, 5, 0, 20, 2, 7, 10, 11, 24, 9, 13, 28, 5, 3, 4, 12],
"result": "valid"
},
{
"tcId": 677,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "5157dd4a5507b6cc",
"msg": [29, 30, 6, 19, 11, 23, 30, 30, 14, 30, 25, 20, 3, 0, 5, 26, 3, 23, 1],
"ct": [10, 10, 1, 23, 24, 6, 1, 0, 18, 12, 3, 25, 13, 17, 21, 12, 12, 1, 16],
"result": "valid"
},
{
"tcId": 678,
"comment": "y = 1 and (y + a) % radix**9 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "5157dd4a5507b6cc",
"msg": [30, 23, 26, 15, 24, 16, 8, 21, 24, 4, 1, 21, 5, 7, 12, 30, 18, 5, 17],
"ct": [25, 4, 4, 10, 23, 13, 16, 3, 24, 10, 25, 16, 23, 20, 27, 6, 12, 25, 19],
"result": "valid"
},
{
"tcId": 679,
"comment": "y = 1 and (y + a) % radix**9 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "5157dd4a5507b6cc",
"msg": [11, 29, 2, 4, 11, 30, 0, 25, 1, 5, 30, 15, 12, 7, 1, 19, 21, 27, 14],
"ct": [14, 6, 25, 1, 0, 3, 10, 10, 5, 15, 21, 3, 16, 28, 16, 22, 3, 9, 20],
"result": "valid"
},
{
"tcId": 680,
"comment": "y is edge case for modular reduction and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "02e1ee0a623bf947",
"msg": [23, 14, 0, 27, 12, 31, 9, 13, 26, 30, 23, 25, 23, 8, 2, 10, 31, 21, 20],
"ct": [18, 20, 17, 0, 25, 17, 12, 23, 22, 28, 15, 27, 24, 1, 17, 23, 24, 20, 4],
"result": "valid"
},
{
"tcId": 681,
"comment": "y is edge case for modular reduction and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "02e1ee0a623bf947",
"msg": [17, 20, 5, 31, 6, 17, 13, 3, 0, 31, 26, 16, 31, 24, 30, 23, 12, 27, 17],
"ct": [7, 3, 4, 25, 12, 4, 26, 21, 24, 13, 21, 14, 0, 7, 0, 24, 5, 2, 18],
"result": "valid"
},
{
"tcId": 682,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "02e1ee0a623bf947",
"msg": [31, 26, 30, 22, 11, 9, 14, 16, 27, 13, 21, 10, 2, 0, 26, 20, 30, 3, 4],
"ct": [11, 28, 22, 16, 31, 0, 25, 31, 22, 27, 30, 21, 22, 16, 5, 19, 30, 9, 29],
"result": "valid"
},
{
"tcId": 683,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "02e1ee0a623bf947",
"msg": [6, 18, 19, 2, 15, 23, 6, 11, 4, 8, 15, 13, 29, 2, 13, 28, 15, 5, 3],
"ct": [10, 4, 16, 19, 28, 14, 7, 13, 23, 18, 0, 11, 4, 29, 17, 15, 16, 3, 28],
"result": "valid"
},
{
"tcId": 684,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "02e1ee0a623bf947",
"msg": [12, 0, 6, 17, 7, 16, 4, 27, 7, 5, 26, 29, 26, 20, 27, 20, 5, 31, 14],
"ct": [4, 23, 28, 12, 1, 11, 8, 3, 13, 29, 18, 2, 29, 28, 17, 31, 7, 3, 30],
"result": "valid"
},
{
"tcId": 685,
"comment": "y is edge case for modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "02e1ee0a623bf947",
"msg": [24, 11, 18, 6, 5, 20, 1, 20, 20, 31, 30, 13, 1, 0, 10, 2, 13, 18, 11],
"ct": [12, 15, 6, 2, 19, 1, 15, 13, 3, 15, 27, 17, 16, 11, 23, 9, 7, 4, 2],
"result": "valid"
},
{
"tcId": 686,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "e8bf7aa5c5eba8fb",
"msg": [3, 18, 5, 1, 2, 1, 27, 26, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [18, 24, 28, 18, 6, 29, 31, 6, 5, 15, 11, 20, 3, 14, 26, 11, 13, 12, 26],
"result": "valid"
},
{
"tcId": 687,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "e8bf7aa5c5eba8fb",
"msg": [14, 28, 10, 13, 19, 13, 1, 1, 29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [21, 24, 10, 20, 18, 5, 24, 25, 0, 1, 26, 6, 8, 7, 8, 23, 13, 2, 27],
"result": "valid"
},
{
"tcId": 688,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "e8bf7aa5c5eba8fb",
"msg": [27, 11, 11, 22, 19, 14, 30, 3, 7, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [30, 12, 0, 11, 11, 21, 30, 8, 11, 26, 15, 30, 30, 21, 11, 0, 4, 3, 27],
"result": "valid"
},
{
"tcId": 689,
"comment": "y is maximal after modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "522debdfba3b6828bb97848da895884a",
"tweak": "e8bf7aa5c5eba8fb",
"msg": [8, 16, 30, 9, 29, 28, 5, 22, 29, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [15, 1, 11, 16, 5, 16, 26, 7, 10, 15, 1, 17, 14, 11, 0, 8, 8, 4, 20],
"result": "valid"
},
{
"tcId": 690,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1cf89329cac719e6c7544a9303e78801",
"tweak": "169faf154b10cac4",
"msg": [-1, 31, 30, 1, 12, 5, 24, 30, 25, 31, 1, 15, 7, 24, 27, 11, 30, 2, 11],
"ct": [9, 30, 14, 23, 1, 17, 27, 21, 24, 27, 5, 26, 19, 23, 14, 0, 0, 6, 28],
"result": "invalid"
},
{
"tcId": 691,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1cf89329cac719e6c7544a9303e78801",
"tweak": "169faf154b10cac4",
"msg": [2, 31, 30, 1, 12, 5, -1, 30, 25, 31, 1, 15, 7, 24, 27, 11, 30, 2, 11],
"ct": [2, 28, 6, 16, 24, 18, 15, 27, 20, 29, 5, 25, 31, 13, 16, 19, 5, 0, 25],
"result": "invalid"
},
{
"tcId": 692,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1cf89329cac719e6c7544a9303e78801",
"tweak": "169faf154b10cac4",
"msg": [2, 31, 30, 1, 12, 5, 24, 30, 25, 31, 1, 15, 7, 24, 27, 11, 30, 2, -1],
"ct": [24, 30, 26, 27, 19, 24, 23, 3, 8, 20, 0, 19, 3, 21, 18, 3, 11, 8, 2],
"result": "invalid"
},
{
"tcId": 693,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fa45ad4cb694fbf5094352a7196faee4",
"tweak": "69208fe63aad0b36",
"msg": [32, 25, 31, 12, 0, 2, 2, 1, 13, 21, 20, 1, 20, 21, 28, 9, 15, 11, 3],
"ct": [4, 24, 1, 8, 20, 12, 12, 18, 26, 19, 25, 29, 24, 19, 10, 4, 31, 1, 28],
"result": "invalid"
},
{
"tcId": 694,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fa45ad4cb694fbf5094352a7196faee4",
"tweak": "69208fe63aad0b36",
"msg": [20, 25, 31, 12, 0, 2, 32, 1, 13, 21, 20, 1, 20, 21, 28, 9, 15, 11, 3],
"ct": [22, 21, 0, 10, 28, 23, 16, 13, 27, 12, 18, 4, 10, 0, 6, 0, 29, 31, 27],
"result": "invalid"
},
{
"tcId": 695,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fa45ad4cb694fbf5094352a7196faee4",
"tweak": "69208fe63aad0b36",
"msg": [20, 25, 31, 12, 0, 2, 2, 1, 13, 21, 20, 1, 20, 21, 28, 9, 15, 11, 32],
"ct": [7, 7, 1, 27, 29, 1, 20, 20, 7, 25, 28, 21, 22, 13, 7, 25, 6, 30, 26],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 20,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 696,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "ccdf8f792a48fd841d49e060315b0c3d",
"tweak": "508c6ff22207dc5b",
"msg": [29, 17, 10, 24, 27, 16, 24, 1, 12, 31, 19, 13, 19, 20, 28, 27, 27, 26, 0, 29],
"ct": [26, 11, 10, 31, 10, 26, 13, 5, 1, 4, 6, 21, 12, 30, 13, 5, 3, 11, 31, 31],
"result": "valid"
},
{
"tcId": 697,
"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": [21, 0, 14, 25, 20, 4, 31, 10, 24, 26, 8, 16, 17, 21, 23, 27, 6, 11, 6, 20],
"result": "valid"
},
{
"tcId": 698,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [15, 2, 12, 11, 9, 13, 10, 11, 5, 26, 12, 14, 4, 18, 11, 24, 25, 24, 1, 12],
"result": "valid"
},
{
"tcId": 699,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [21, 5, 19, 20, 6, 21, 8, 0, 29, 9, 22, 0, 4, 13, 18, 3, 9, 30, 26, 12],
"result": "valid"
},
{
"tcId": 700,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [24, 6, 8, 14, 30, 1, 0, 29, 10, 1, 3, 15, 5, 28, 23, 28, 14, 3, 30, 31],
"result": "valid"
},
{
"tcId": 701,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [20, 26, 28, 22, 31, 15, 24, 13, 1, 30, 30, 3, 10, 2, 18, 11, 20, 12, 8, 7],
"ct": [5, 12, 23, 7, 13, 26, 2, 13, 17, 4, 20, 20, 26, 31, 29, 2, 3, 19, 29, 16],
"result": "valid"
},
{
"tcId": 702,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [10, 20, 23, 18, 28, 18, 1, 19, 19, 15, 12, 8, 20, 0, 15, 9, 4, 21, 6, 12],
"ct": [21, 24, 25, 17, 6, 27, 4, 13, 23, 29, 17, 25, 6, 28, 19, 1, 10, 26, 19, 28],
"result": "valid"
},
{
"tcId": 703,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [15, 4, 24, 10, 28, 1, 5, 20, 23, 30, 22, 19, 28, 12, 4, 7, 15, 20, 21, 16],
"ct": [21, 29, 18, 20, 12, 29, 30, 13, 26, 30, 29, 13, 28, 31, 0, 20, 3, 30, 15, 26],
"result": "valid"
},
{
"tcId": 704,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [1, 23, 5, 26, 27, 17, 17, 6, 16, 2, 9, 9, 6, 9, 17, 26, 14, 28, 28, 5],
"ct": [9, 25, 24, 12, 21, 13, 6, 1, 18, 22, 7, 13, 0, 17, 2, 12, 19, 24, 6, 28],
"result": "valid"
},
{
"tcId": 705,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [16, 19, 16, 0, 18, 13, 12, 1, 6, 5, 22, 18, 3, 30, 25, 25, 3, 7, 30, 28],
"ct": [30, 31, 27, 27, 31, 11, 0, 12, 22, 22, 26, 26, 27, 24, 7, 4, 9, 6, 27, 20],
"result": "valid"
},
{
"tcId": 706,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [30, 22, 29, 10, 1, 0, 11, 20, 19, 21, 18, 17, 14, 18, 29, 17, 18, 30, 26, 17],
"ct": [22, 25, 20, 11, 18, 7, 21, 7, 22, 30, 9, 12, 19, 0, 23, 23, 20, 3, 13, 15],
"result": "valid"
},
{
"tcId": 707,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [8, 20, 29, 21, 19, 28, 8, 20, 28, 30, 31, 14, 12, 10, 0, 10, 0, 13, 15, 0],
"ct": [26, 19, 8, 0, 23, 15, 22, 14, 11, 9, 5, 19, 6, 13, 17, 8, 2, 9, 22, 22],
"result": "valid"
},
{
"tcId": 708,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [7, 24, 10, 5, 31, 10, 13, 31, 22, 14, 29, 28, 31, 14, 0, 24, 26, 17, 20, 14],
"ct": [6, 19, 3, 28, 17, 20, 17, 4, 6, 21, 23, 6, 8, 7, 11, 3, 9, 24, 31, 6],
"result": "valid"
},
{
"tcId": 709,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [28, 19, 25, 16, 9, 1, 3, 25, 17, 27, 2, 13, 13, 27, 24, 23, 30, 8, 22, 19],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 710,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [17, 13, 6, 30, 3, 10, 15, 24, 24, 25, 25, 27, 22, 18, 15, 23, 31, 16, 1, 26],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 711,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [18, 21, 30, 23, 24, 10, 6, 13, 21, 0, 6, 1, 30, 0, 3, 17, 25, 27, 1, 19],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 712,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "e957b00cf440abed5e9a5d06cd5f5cdb",
"tweak": "f6fa77d46df38c3b",
"msg": [22, 18, 30, 8, 31, 22, 16, 19, 16, 4, 31, 5, 30, 0, 0, 4, 14, 0, 19, 24],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 713,
"comment": "y = 0 and (y + a) % radix**10 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "aca6a23b0461a482",
"msg": [9, 9, 30, 12, 11, 9, 30, 18, 25, 22, 4, 27, 3, 3, 3, 16, 1, 4, 0, 11],
"ct": [6, 31, 0, 6, 17, 18, 3, 14, 17, 18, 17, 12, 6, 7, 0, 7, 7, 18, 10, 15],
"result": "valid"
},
{
"tcId": 714,
"comment": "y = 0 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "aca6a23b0461a482",
"msg": [4, 21, 23, 31, 31, 31, 14, 1, 21, 13, 4, 31, 15, 22, 6, 1, 15, 2, 19, 17],
"ct": [16, 29, 26, 13, 2, 17, 31, 24, 18, 18, 28, 8, 22, 20, 2, 22, 15, 14, 24, 12],
"result": "valid"
},
{
"tcId": 715,
"comment": "y = 0 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "aca6a23b0461a482",
"msg": [9, 2, 7, 0, 27, 30, 3, 10, 31, 17, 2, 25, 22, 13, 12, 5, 29, 16, 30, 28],
"ct": [16, 25, 23, 16, 5, 14, 28, 13, 26, 19, 10, 21, 4, 10, 22, 4, 31, 2, 19, 23],
"result": "valid"
},
{
"tcId": 716,
"comment": "y = 0 and (y + a) % radix**10 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "aca6a23b0461a482",
"msg": [0, 13, 22, 19, 16, 13, 25, 1, 24, 1, 20, 18, 26, 3, 15, 14, 0, 8, 29, 26],
"ct": [9, 17, 20, 22, 19, 12, 11, 16, 17, 21, 25, 18, 17, 29, 23, 25, 15, 21, 25, 12],
"result": "valid"
},
{
"tcId": 717,
"comment": "y is maximal and (y + a) % radix**10 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "deb291b0b76a770a",
"msg": [11, 7, 26, 29, 13, 12, 28, 31, 15, 22, 16, 21, 25, 16, 16, 20, 22, 11, 5, 13],
"ct": [29, 13, 6, 30, 11, 28, 25, 22, 23, 28, 11, 13, 11, 23, 5, 0, 28, 23, 31, 26],
"result": "valid"
},
{
"tcId": 718,
"comment": "y is maximal and (y + a) % radix**10 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "deb291b0b76a770a",
"msg": [25, 29, 9, 13, 22, 11, 19, 18, 25, 15, 21, 19, 29, 10, 18, 22, 6, 17, 1, 14],
"ct": [27, 3, 25, 4, 14, 5, 14, 28, 24, 17, 16, 9, 5, 1, 28, 13, 10, 5, 27, 25],
"result": "valid"
},
{
"tcId": 719,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "deb291b0b76a770a",
"msg": [28, 15, 23, 23, 10, 28, 0, 18, 27, 30, 14, 23, 11, 5, 27, 26, 26, 18, 22, 22],
"ct": [21, 5, 1, 2, 12, 16, 25, 22, 7, 23, 20, 18, 20, 18, 24, 2, 14, 31, 2, 8],
"result": "valid"
},
{
"tcId": 720,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "deb291b0b76a770a",
"msg": [25, 23, 20, 2, 10, 29, 29, 28, 17, 6, 9, 8, 28, 16, 26, 31, 15, 31, 16, 13],
"ct": [4, 27, 24, 27, 11, 31, 20, 11, 13, 30, 0, 28, 19, 30, 17, 18, 2, 7, 30, 4],
"result": "valid"
},
{
"tcId": 721,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "fd14496fc1f91eab",
"msg": [15, 7, 25, 23, 5, 23, 7, 20, 19, 22, 11, 4, 4, 14, 2, 29, 4, 22, 9, 26],
"ct": [12, 29, 19, 1, 18, 13, 27, 1, 20, 20, 3, 10, 4, 30, 23, 4, 14, 24, 19, 18],
"result": "valid"
},
{
"tcId": 722,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "fd14496fc1f91eab",
"msg": [12, 18, 14, 17, 5, 27, 23, 9, 6, 5, 17, 26, 20, 15, 17, 8, 11, 23, 18, 19],
"ct": [24, 28, 23, 16, 12, 0, 2, 15, 0, 17, 10, 23, 26, 15, 20, 26, 21, 30, 10, 2],
"result": "valid"
},
{
"tcId": 723,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "fd14496fc1f91eab",
"msg": [30, 26, 24, 27, 5, 1, 14, 15, 2, 6, 15, 29, 3, 28, 3, 16, 26, 24, 27, 25],
"ct": [13, 1, 12, 8, 28, 17, 12, 12, 30, 30, 21, 9, 13, 7, 1, 16, 9, 17, 13, 25],
"result": "valid"
},
{
"tcId": 724,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "fd14496fc1f91eab",
"msg": [17, 27, 1, 15, 27, 30, 4, 27, 19, 21, 15, 31, 12, 8, 29, 16, 17, 8, 20, 17],
"ct": [15, 0, 0, 1, 14, 10, 15, 17, 6, 6, 9, 9, 30, 15, 10, 27, 17, 6, 2, 11],
"result": "valid"
},
{
"tcId": 725,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "fd14496fc1f91eab",
"msg": [25, 15, 5, 0, 4, 26, 28, 24, 7, 12, 13, 26, 26, 12, 26, 7, 24, 2, 17, 31],
"ct": [7, 27, 18, 26, 16, 9, 3, 12, 19, 3, 22, 21, 30, 27, 12, 5, 11, 31, 0, 30],
"result": "valid"
},
{
"tcId": 726,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3",
"tweak": "fd14496fc1f91eab",
"msg": [28, 30, 11, 19, 18, 13, 17, 17, 8, 23, 25, 19, 2, 12, 29, 26, 8, 23, 12, 28],
"ct": [16, 28, 17, 27, 19, 22, 20, 26, 5, 17, 19, 29, 5, 10, 2, 18, 19, 31, 25, 3],
"result": "valid"
},
{
"tcId": 727,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4e8c0fdab138c9df8d4a888e6c2df1dd",
"tweak": "76f494b34dbcd3bc",
"msg": [-1, 17, 4, 25, 30, 4, 28, 12, 4, 21, 25, 7, 9, 4, 11, 8, 12, 10, 14, 27],
"ct": [10, 9, 9, 3, 24, 4, 4, 10, 6, 8, 16, 8, 31, 6, 18, 25, 16, 8, 19, 5],
"result": "invalid"
},
{
"tcId": 728,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4e8c0fdab138c9df8d4a888e6c2df1dd",
"tweak": "76f494b34dbcd3bc",
"msg": [7, 17, 4, 25, 30, 4, -1, 12, 4, 21, 25, 7, 9, 4, 11, 8, 12, 10, 14, 27],
"ct": [4, 18, 16, 31, 7, 5, 16, 4, 25, 15, 29, 21, 11, 4, 26, 16, 11, 30, 12, 13],
"result": "invalid"
},
{
"tcId": 729,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4e8c0fdab138c9df8d4a888e6c2df1dd",
"tweak": "76f494b34dbcd3bc",
"msg": [7, 17, 4, 25, 30, 4, 28, 12, 4, 21, 25, 7, 9, 4, 11, 8, 12, 10, 14, -1],
"ct": [18, 29, 25, 6, 12, 14, 20, 23, 13, 12, 24, 18, 6, 10, 20, 12, 14, 11, 28, 28],
"result": "invalid"
},
{
"tcId": 730,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3753ce1de8190b30c81806920cd300d8",
"tweak": "cb360070e7e4a47d",
"msg": [32, 11, 31, 29, 17, 3, 5, 12, 17, 31, 0, 5, 21, 1, 20, 16, 5, 11, 8, 11],
"ct": [26, 25, 6, 17, 17, 10, 1, 31, 31, 18, 10, 29, 12, 11, 14, 25, 20, 9, 19, 23],
"result": "invalid"
},
{
"tcId": 731,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3753ce1de8190b30c81806920cd300d8",
"tweak": "cb360070e7e4a47d",
"msg": [8, 11, 31, 29, 17, 3, 32, 12, 17, 31, 0, 5, 21, 1, 20, 16, 5, 11, 8, 11],
"ct": [28, 30, 19, 6, 24, 24, 17, 0, 15, 22, 27, 26, 21, 25, 11, 3, 13, 14, 13, 11],
"result": "invalid"
},
{
"tcId": 732,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3753ce1de8190b30c81806920cd300d8",
"tweak": "cb360070e7e4a47d",
"msg": [8, 11, 31, 29, 17, 3, 5, 12, 17, 31, 0, 5, 21, 1, 20, 16, 5, 11, 8, 32],
"ct": [9, 18, 11, 20, 16, 17, 8, 15, 15, 22, 3, 18, 16, 7, 1, 24, 9, 27, 24, 17],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 21,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 733,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "c0e4c4a9b86c17e4efe9a12733e7aff4",
"tweak": "f71b48c8172125d4",
"msg": [0, 29, 27, 28, 20, 27, 2, 5, 30, 13, 10, 2, 20, 13, 28, 11, 10, 15, 16, 24, 4],
"ct": [24, 19, 17, 24, 22, 31, 28, 13, 9, 21, 30, 24, 10, 9, 13, 4, 12, 14, 11, 7, 2],
"result": "valid"
},
{
"tcId": 734,
"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": [12, 10, 18, 11, 29, 13, 8, 3, 1, 25, 25, 23, 14, 22, 22, 22, 1, 4, 1, 28, 27],
"result": "valid"
},
{
"tcId": 735,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [3, 4, 12, 17, 31, 7, 8, 29, 23, 17, 19, 30, 27, 12, 18, 8, 5, 16, 13, 0, 1],
"result": "valid"
},
{
"tcId": 736,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [5, 3, 12, 26, 21, 12, 5, 0, 7, 3, 11, 18, 14, 8, 6, 7, 6, 17, 6, 12, 6],
"result": "valid"
},
{
"tcId": 737,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [19, 14, 2, 1, 17, 24, 16, 21, 18, 28, 1, 8, 28, 24, 12, 22, 27, 27, 29, 7, 7],
"result": "valid"
},
{
"tcId": 738,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [8, 0, 18, 18, 15, 18, 13, 13, 10, 21, 13, 25, 7, 10, 2, 11, 29, 15, 18, 8, 9],
"ct": [15, 26, 28, 12, 25, 19, 11, 8, 1, 24, 27, 25, 19, 19, 4, 19, 23, 12, 25, 11, 25],
"result": "valid"
},
{
"tcId": 739,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [12, 23, 4, 23, 29, 24, 30, 28, 26, 3, 10, 15, 29, 22, 3, 27, 1, 24, 3, 12, 10],
"ct": [30, 29, 18, 30, 13, 28, 5, 14, 30, 18, 6, 17, 2, 8, 11, 8, 20, 6, 24, 14, 24],
"result": "valid"
},
{
"tcId": 740,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [27, 15, 31, 6, 7, 17, 13, 21, 28, 29, 25, 7, 30, 3, 22, 18, 20, 13, 15, 21, 5],
"ct": [3, 10, 27, 12, 18, 10, 15, 4, 19, 8, 16, 26, 12, 2, 21, 26, 23, 13, 18, 3, 4],
"result": "valid"
},
{
"tcId": 741,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [14, 18, 10, 1, 22, 23, 6, 12, 1, 15, 4, 8, 25, 8, 24, 2, 8, 2, 27, 10, 14],
"ct": [20, 19, 28, 27, 3, 20, 12, 14, 19, 20, 9, 22, 13, 26, 27, 12, 15, 2, 25, 31, 31],
"result": "valid"
},
{
"tcId": 742,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [8, 22, 14, 13, 12, 11, 10, 25, 30, 2, 5, 20, 29, 10, 16, 10, 26, 17, 3, 31, 10],
"ct": [22, 10, 18, 0, 30, 0, 23, 29, 9, 2, 9, 9, 30, 7, 31, 1, 17, 26, 11, 31, 4],
"result": "valid"
},
{
"tcId": 743,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [3, 25, 24, 26, 10, 5, 26, 0, 27, 25, 22, 1, 1, 30, 11, 1, 0, 13, 31, 16, 18],
"ct": [11, 29, 0, 17, 14, 24, 30, 30, 17, 15, 13, 25, 19, 3, 14, 14, 15, 25, 22, 7, 4],
"result": "valid"
},
{
"tcId": 744,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [0, 24, 16, 15, 10, 31, 26, 20, 18, 11, 11, 15, 16, 9, 22, 21, 0, 14, 1, 27, 19],
"ct": [17, 24, 21, 13, 18, 10, 24, 15, 19, 31, 8, 11, 16, 13, 21, 25, 14, 8, 5, 13, 13],
"result": "valid"
},
{
"tcId": 745,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [2, 7, 24, 16, 18, 13, 10, 21, 17, 20, 24, 7, 30, 7, 14, 8, 31, 27, 31, 31, 26],
"ct": [20, 29, 22, 16, 3, 30, 24, 22, 17, 25, 23, 0, 3, 19, 12, 23, 29, 11, 5, 23, 10],
"result": "valid"
},
{
"tcId": 746,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [31, 14, 3, 9, 13, 19, 11, 6, 9, 16, 21, 19, 11, 16, 29, 7, 8, 23, 9, 12, 7],
"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": 747,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [15, 19, 6, 9, 22, 23, 16, 23, 14, 14, 16, 9, 22, 21, 11, 29, 24, 29, 30, 17, 0],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 748,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [15, 1, 10, 17, 15, 2, 21, 30, 21, 15, 16, 13, 27, 5, 11, 26, 27, 2, 16, 29, 0],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 749,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "25d4448872edf13aa8be04f271b3568c",
"tweak": "e243d35dba4fcc44",
"msg": [0, 14, 2, 21, 8, 22, 11, 7, 8, 29, 2, 15, 11, 0, 1, 26, 29, 1, 17, 9, 31],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 750,
"comment": "y = 0 and (y + a) % radix**10 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "24743849568086a5",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 2, 9, 23, 26, 30, 13, 21, 23, 10, 20],
"ct": [17, 10, 27, 10, 21, 7, 29, 28, 18, 24, 5, 30, 27, 3, 13, 20, 8, 0, 9, 14, 10],
"result": "valid"
},
{
"tcId": 751,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "24743849568086a5",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 22, 2, 9, 23, 26, 30, 13, 21, 23, 10, 20],
"ct": [9, 20, 23, 4, 25, 8, 21, 31, 16, 19, 6, 5, 21, 16, 28, 11, 5, 12, 2, 6, 3],
"result": "valid"
},
{
"tcId": 752,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "24743849568086a5",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 2, 9, 23, 26, 30, 13, 21, 23, 10, 20],
"ct": [13, 21, 24, 30, 23, 18, 28, 0, 12, 19, 13, 10, 30, 31, 23, 13, 27, 2, 26, 7, 26],
"result": "valid"
},
{
"tcId": 753,
"comment": "y = 0 and (y + a) % radix**10 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "24743849568086a5",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 22, 2, 9, 23, 26, 30, 13, 21, 23, 10, 20],
"ct": [18, 30, 29, 24, 5, 21, 12, 23, 30, 6, 12, 29, 0, 1, 16, 28, 17, 1, 31, 7, 26],
"result": "valid"
},
{
"tcId": 754,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "41d3ef67f430168f",
"msg": [26, 29, 31, 9, 29, 23, 6, 11, 21, 5, 3, 6, 4, 20, 5, 4, 23, 25, 19, 3, 1],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 23, 27, 2, 18, 20, 25, 14, 26, 9, 0, 27],
"result": "valid"
},
{
"tcId": 755,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "41d3ef67f430168f",
"msg": [30, 12, 25, 24, 24, 24, 0, 26, 5, 0, 27, 2, 1, 22, 20, 22, 5, 30, 29, 26, 6],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 31, 16, 1, 29, 30, 26, 12, 23, 11, 4, 16],
"result": "valid"
},
{
"tcId": 756,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "41d3ef67f430168f",
"msg": [29, 15, 31, 8, 9, 21, 9, 22, 5, 23, 22, 1, 19, 0, 13, 0, 29, 12, 10, 20, 25],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 1, 30, 25, 31, 29, 23, 2, 26, 5, 21, 23, 5],
"result": "valid"
},
{
"tcId": 757,
"comment": "y = 1 and (y + a) % radix**10 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "41d3ef67f430168f",
"msg": [21, 23, 25, 15, 6, 22, 30, 18, 15, 15, 17, 30, 1, 14, 2, 24, 3, 10, 21, 20, 12],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 16, 12, 26, 25, 1, 20, 8, 5, 26, 22],
"result": "valid"
},
{
"tcId": 758,
"comment": "y = 1 and (y + a) % radix**10 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "41d3ef67f430168f",
"msg": [17, 24, 12, 10, 25, 1, 8, 7, 27, 10, 31, 20, 7, 24, 28, 0, 20, 13, 10, 16, 1],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 27, 24, 18, 8, 28, 9, 12, 2, 6, 0, 11],
"result": "valid"
},
{
"tcId": 759,
"comment": "y is maximal and (y + a) % radix**10 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "0409533ac936f98d",
"msg": [0, 8, 2, 17, 0, 3, 27, 25, 7, 25, 27, 13, 10, 27, 9, 31, 4, 24, 11, 12, 30],
"ct": [2, 2, 2, 22, 23, 20, 23, 6, 13, 3, 28, 31, 4, 11, 27, 9, 19, 5, 21, 12, 16],
"result": "valid"
},
{
"tcId": 760,
"comment": "y is maximal and (y + a) % radix**10 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "0409533ac936f98d",
"msg": [15, 18, 25, 0, 4, 21, 10, 13, 30, 10, 18, 28, 22, 10, 31, 15, 0, 7, 26, 13, 16],
"ct": [18, 24, 21, 2, 19, 7, 3, 10, 9, 7, 19, 9, 30, 10, 17, 9, 12, 24, 23, 31, 8],
"result": "valid"
},
{
"tcId": 761,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "0409533ac936f98d",
"msg": [15, 23, 11, 8, 12, 23, 4, 20, 28, 8, 10, 12, 17, 7, 24, 3, 24, 14, 9, 13, 2],
"ct": [6, 8, 7, 29, 22, 16, 12, 17, 0, 15, 21, 15, 27, 4, 26, 7, 2, 3, 10, 23, 0],
"result": "valid"
},
{
"tcId": 762,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "0409533ac936f98d",
"msg": [28, 13, 18, 27, 19, 12, 31, 3, 2, 23, 21, 19, 14, 3, 18, 9, 11, 19, 29, 11, 29],
"ct": [22, 31, 11, 22, 19, 24, 15, 31, 7, 20, 30, 27, 2, 17, 19, 19, 28, 15, 28, 11, 15],
"result": "valid"
},
{
"tcId": 763,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "63ff192825b3b92a",
"msg": [31, 12, 3, 26, 1, 4, 5, 24, 30, 9, 28, 12, 2, 29, 13, 4, 30, 27, 5, 0, 18],
"ct": [14, 6, 22, 12, 28, 18, 11, 3, 19, 2, 23, 28, 9, 6, 12, 7, 6, 18, 22, 13, 10],
"result": "valid"
},
{
"tcId": 764,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "63ff192825b3b92a",
"msg": [8, 12, 20, 11, 8, 8, 26, 28, 2, 28, 20, 29, 10, 4, 29, 14, 7, 9, 21, 24, 5],
"ct": [4, 24, 18, 17, 26, 1, 3, 8, 26, 13, 23, 18, 23, 22, 10, 17, 26, 3, 26, 10, 12],
"result": "valid"
},
{
"tcId": 765,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "63ff192825b3b92a",
"msg": [10, 20, 11, 2, 13, 21, 30, 31, 30, 10, 0, 10, 7, 7, 16, 31, 30, 28, 11, 14, 17],
"ct": [18, 14, 21, 9, 19, 6, 17, 18, 11, 31, 22, 18, 3, 30, 7, 16, 3, 14, 22, 20, 30],
"result": "valid"
},
{
"tcId": 766,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "63ff192825b3b92a",
"msg": [23, 28, 25, 2, 21, 30, 6, 27, 7, 27, 7, 23, 4, 14, 31, 28, 2, 21, 17, 21, 26],
"ct": [31, 23, 28, 21, 27, 13, 15, 3, 11, 12, 0, 2, 17, 19, 31, 6, 10, 25, 13, 25, 15],
"result": "valid"
},
{
"tcId": 767,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "63ff192825b3b92a",
"msg": [24, 11, 19, 15, 4, 22, 10, 28, 17, 21, 3, 24, 21, 12, 23, 9, 20, 31, 4, 12, 29],
"ct": [15, 28, 27, 22, 5, 4, 13, 11, 14, 15, 28, 4, 8, 6, 8, 3, 14, 21, 10, 27, 6],
"result": "valid"
},
{
"tcId": 768,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "63ff192825b3b92a",
"msg": [16, 12, 1, 19, 28, 18, 21, 4, 1, 11, 17, 0, 1, 19, 8, 27, 4, 12, 16, 1, 25],
"ct": [7, 9, 12, 21, 13, 10, 19, 13, 6, 15, 24, 12, 26, 7, 16, 13, 4, 4, 7, 25, 9],
"result": "valid"
},
{
"tcId": 769,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "58e7af18c92e49ec",
"msg": [31, 19, 8, 11, 9, 15, 2, 27, 20, 29, 8, 16, 1, 7, 13, 3, 9, 3, 1, 0, 6],
"ct": [28, 15, 17, 30, 23, 12, 2, 2, 2, 12, 3, 3, 6, 0, 5, 25, 1, 29, 27, 5, 4],
"result": "valid"
},
{
"tcId": 770,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "58e7af18c92e49ec",
"msg": [31, 26, 24, 5, 12, 17, 5, 5, 10, 26, 3, 23, 13, 5, 5, 12, 5, 31, 12, 20, 2],
"ct": [22, 12, 6, 21, 25, 13, 15, 0, 9, 8, 29, 4, 20, 5, 27, 8, 18, 16, 22, 1, 6],
"result": "valid"
},
{
"tcId": 771,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "58e7af18c92e49ec",
"msg": [23, 6, 9, 25, 0, 4, 10, 6, 23, 9, 12, 28, 4, 13, 19, 28, 3, 21, 5, 18, 4],
"ct": [9, 24, 15, 3, 21, 18, 21, 31, 20, 1, 30, 6, 26, 20, 28, 5, 23, 3, 29, 5, 8],
"result": "valid"
},
{
"tcId": 772,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "54897a7e63855142189bc30a692271dd",
"tweak": "58e7af18c92e49ec",
"msg": [4, 7, 19, 5, 17, 11, 19, 17, 0, 4, 2, 23, 26, 27, 19, 16, 4, 14, 3, 27, 30],
"ct": [9, 23, 23, 25, 11, 10, 5, 13, 3, 29, 10, 9, 27, 25, 25, 2, 21, 9, 22, 30, 24],
"result": "valid"
},
{
"tcId": 773,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fd90f1e9599e12563bf788a1a521d6ab",
"tweak": "d0a005b45247f038",
"msg": [-1, 6, 6, 30, 19, 31, 25, 31, 28, 27, 0, 19, 20, 17, 10, 13, 21, 20, 28, 3, 29],
"ct": [25, 16, 17, 11, 29, 23, 10, 15, 24, 11, 17, 3, 24, 23, 14, 27, 3, 3, 7, 27, 10],
"result": "invalid"
},
{
"tcId": 774,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fd90f1e9599e12563bf788a1a521d6ab",
"tweak": "d0a005b45247f038",
"msg": [5, 6, 6, 30, 19, 31, 25, -1, 28, 27, 0, 19, 20, 17, 10, 13, 21, 20, 28, 3, 29],
"ct": [20, 3, 0, 4, 13, 17, 15, 21, 27, 25, 0, 20, 5, 13, 6, 0, 3, 17, 8, 11, 25],
"result": "invalid"
},
{
"tcId": 775,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fd90f1e9599e12563bf788a1a521d6ab",
"tweak": "d0a005b45247f038",
"msg": [5, 6, 6, 30, 19, 31, 25, 31, 28, 27, 0, 19, 20, 17, 10, 13, 21, 20, 28, 3, -1],
"ct": [24, 27, 7, 25, 7, 15, 10, 31, 7, 25, 11, 21, 4, 17, 1, 9, 8, 22, 10, 21, 28],
"result": "invalid"
},
{
"tcId": 776,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b0a898a02c207118bf6a389abbd20a0e",
"tweak": "bde37fe366da0c1d",
"msg": [32, 0, 26, 8, 27, 4, 28, 19, 31, 24, 3, 12, 7, 8, 3, 30, 22, 25, 22, 19, 29],
"ct": [11, 16, 31, 29, 6, 28, 23, 5, 17, 15, 27, 15, 5, 13, 27, 8, 27, 4, 22, 25, 15],
"result": "invalid"
},
{
"tcId": 777,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b0a898a02c207118bf6a389abbd20a0e",
"tweak": "bde37fe366da0c1d",
"msg": [24, 0, 26, 8, 27, 4, 28, 32, 31, 24, 3, 12, 7, 8, 3, 30, 22, 25, 22, 19, 29],
"ct": [28, 21, 7, 27, 3, 0, 21, 23, 10, 25, 20, 17, 20, 1, 26, 1, 8, 1, 27, 10, 30],
"result": "invalid"
},
{
"tcId": 778,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b0a898a02c207118bf6a389abbd20a0e",
"tweak": "bde37fe366da0c1d",
"msg": [24, 0, 26, 8, 27, 4, 28, 19, 31, 24, 3, 12, 7, 8, 3, 30, 22, 25, 22, 19, 32],
"ct": [17, 18, 12, 12, 9, 16, 21, 22, 5, 31, 2, 28, 7, 11, 28, 13, 27, 10, 11, 8, 12],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 22,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 779,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "9ed2a54df9219a3d61b5f1758b73bda6",
"tweak": "5ecd852b587b8148",
"msg": [30, 1, 28, 11, 6, 16, 15, 27, 11, 3, 7, 20, 3, 17, 1, 1, 14, 31, 13, 6, 5, 1],
"ct": [25, 18, 8, 16, 9, 19, 3, 7, 15, 30, 26, 8, 12, 13, 26, 25, 18, 18, 21, 2, 15, 9],
"result": "valid"
},
{
"tcId": 780,
"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": [13, 15, 10, 1, 2, 17, 26, 4, 23, 16, 7, 29, 27, 7, 25, 3, 19, 31, 29, 14, 12, 0],
"result": "valid"
},
{
"tcId": 781,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [31, 20, 7, 1, 27, 28, 18, 14, 1, 2, 23, 15, 16, 2, 0, 15, 25, 21, 0, 9, 0, 31],
"result": "valid"
},
{
"tcId": 782,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [5, 0, 20, 31, 0, 10, 8, 25, 13, 14, 8, 30, 26, 9, 2, 16, 5, 18, 1, 3, 16, 4],
"result": "valid"
},
{
"tcId": 783,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [28, 15, 13, 8, 20, 7, 24, 16, 6, 6, 11, 3, 10, 24, 0, 4, 4, 1, 29, 4, 28, 30],
"result": "valid"
},
{
"tcId": 784,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [30, 23, 12, 25, 4, 16, 0, 28, 3, 5, 6, 4, 8, 13, 24, 18, 15, 27, 20, 26, 15, 8],
"ct": [18, 3, 6, 24, 19, 7, 9, 28, 4, 9, 21, 9, 2, 18, 28, 1, 7, 25, 26, 4, 4, 1],
"result": "valid"
},
{
"tcId": 785,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [7, 24, 24, 16, 19, 18, 6, 11, 21, 16, 22, 11, 20, 9, 8, 13, 22, 22, 6, 18, 27, 10],
"ct": [18, 16, 18, 24, 23, 29, 13, 6, 12, 17, 26, 8, 24, 0, 3, 18, 26, 26, 28, 23, 11, 17],
"result": "valid"
},
{
"tcId": 786,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [28, 22, 0, 25, 5, 18, 16, 22, 12, 8, 17, 7, 18, 30, 6, 24, 27, 22, 31, 6, 2, 23],
"ct": [26, 20, 24, 18, 30, 6, 12, 30, 1, 5, 15, 21, 20, 19, 0, 22, 5, 12, 2, 26, 7, 23],
"result": "valid"
},
{
"tcId": 787,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [2, 18, 27, 4, 20, 18, 0, 19, 18, 24, 25, 0, 20, 15, 30, 4, 16, 2, 13, 6, 12, 7],
"ct": [5, 18, 31, 11, 5, 15, 8, 10, 29, 12, 9, 31, 29, 26, 11, 29, 20, 4, 22, 16, 11, 10],
"result": "valid"
},
{
"tcId": 788,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [4, 23, 9, 13, 24, 8, 18, 25, 16, 26, 9, 1, 3, 8, 4, 28, 29, 16, 16, 19, 19, 8],
"ct": [21, 12, 24, 2, 18, 20, 0, 24, 6, 28, 8, 23, 1, 5, 15, 7, 7, 17, 10, 4, 19, 10],
"result": "valid"
},
{
"tcId": 789,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [5, 20, 9, 10, 10, 26, 26, 16, 9, 29, 0, 2, 27, 31, 2, 16, 25, 6, 22, 0, 6, 24],
"ct": [11, 6, 1, 23, 9, 30, 6, 23, 11, 26, 7, 2, 17, 19, 2, 30, 20, 29, 13, 24, 31, 7],
"result": "valid"
},
{
"tcId": 790,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [22, 23, 12, 23, 3, 1, 28, 16, 4, 13, 2, 28, 21, 29, 6, 29, 27, 14, 8, 17, 13, 31],
"ct": [30, 29, 11, 12, 5, 11, 18, 20, 5, 2, 9, 5, 23, 21, 5, 23, 1, 4, 1, 9, 2, 22],
"result": "valid"
},
{
"tcId": 791,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [12, 25, 11, 19, 15, 11, 6, 3, 16, 16, 15, 11, 10, 28, 28, 18, 26, 21, 0, 28, 17, 27],
"ct": [15, 22, 19, 4, 27, 3, 3, 24, 8, 23, 5, 30, 19, 1, 1, 19, 30, 17, 4, 1, 8, 8],
"result": "valid"
},
{
"tcId": 792,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [14, 1, 17, 26, 28, 2, 22, 1, 9, 15, 25, 9, 18, 12, 16, 27, 27, 25, 24, 5, 16, 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": 793,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [31, 7, 7, 31, 27, 24, 5, 22, 5, 17, 18, 20, 31, 15, 4, 26, 23, 20, 7, 1, 4, 24],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 794,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [30, 4, 24, 9, 19, 17, 6, 12, 13, 10, 30, 25, 20, 29, 1, 24, 9, 25, 9, 22, 20, 28],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 795,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "97ad828cba00ca3d4ee15115dc5845a7",
"tweak": "695c7692d9cebe71",
"msg": [27, 1, 8, 25, 21, 21, 11, 5, 30, 6, 13, 0, 22, 20, 21, 30, 14, 29, 18, 19, 8, 5],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 796,
"comment": "y = 0 and (y + a) % radix**11 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "a401d171f4119f32",
"msg": [29, 23, 19, 17, 21, 18, 15, 9, 20, 5, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [12, 30, 22, 26, 22, 22, 21, 11, 11, 22, 12, 21, 5, 2, 28, 0, 29, 10, 28, 0, 20, 18],
"result": "valid"
},
{
"tcId": 797,
"comment": "y = 0 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "a401d171f4119f32",
"msg": [12, 27, 6, 28, 25, 11, 26, 25, 0, 11, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [11, 0, 2, 17, 18, 2, 30, 9, 24, 2, 13, 8, 15, 21, 23, 4, 5, 15, 30, 0, 28, 10],
"result": "valid"
},
{
"tcId": 798,
"comment": "y = 0 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "a401d171f4119f32",
"msg": [25, 19, 25, 12, 25, 5, 19, 29, 4, 3, 23, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 5, 10, 30, 24, 31, 23, 6, 14, 1, 6, 23, 3, 3, 21, 10, 23, 14, 5, 18, 3, 13],
"result": "valid"
},
{
"tcId": 799,
"comment": "y = 0 and (y + a) % radix**11 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "a401d171f4119f32",
"msg": [30, 9, 5, 27, 3, 6, 30, 6, 13, 24, 20, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [27, 7, 2, 13, 3, 12, 31, 5, 23, 18, 16, 8, 26, 14, 12, 17, 25, 0, 31, 17, 12, 30],
"result": "valid"
},
{
"tcId": 800,
"comment": "y = 1 and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "316e18a27f04feab",
"msg": [6, 26, 27, 17, 14, 21, 30, 12, 27, 19, 7, 31, 8, 24, 24, 1, 28, 25, 31, 22, 6, 21],
"ct": [9, 13, 28, 10, 17, 28, 12, 16, 8, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 801,
"comment": "y = 1 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "316e18a27f04feab",
"msg": [1, 22, 18, 18, 2, 12, 13, 10, 24, 10, 15, 5, 19, 23, 31, 8, 21, 16, 10, 23, 7, 9],
"ct": [9, 13, 28, 10, 17, 28, 12, 16, 8, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2],
"result": "valid"
},
{
"tcId": 802,
"comment": "y = 1 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "316e18a27f04feab",
"msg": [4, 16, 28, 5, 8, 28, 9, 23, 2, 18, 2, 15, 25, 20, 23, 18, 7, 29, 21, 12, 19, 8],
"ct": [9, 13, 28, 10, 17, 28, 12, 16, 8, 0, 13, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 803,
"comment": "y = 1 and (y + a) % radix**11 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "316e18a27f04feab",
"msg": [3, 30, 29, 0, 3, 28, 10, 10, 5, 19, 6, 29, 6, 29, 6, 21, 21, 21, 22, 16, 16, 4],
"ct": [9, 13, 28, 10, 17, 28, 12, 16, 8, 0, 13, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 804,
"comment": "y = 1 and (y + a) % radix**11 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "316e18a27f04feab",
"msg": [31, 26, 4, 15, 19, 8, 4, 18, 6, 3, 25, 31, 8, 5, 7, 12, 16, 3, 21, 13, 6, 22],
"ct": [9, 13, 28, 10, 17, 28, 12, 16, 8, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 805,
"comment": "y is maximal and (y + a) % radix**11 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "d72a3a54f4ec4e0e",
"msg": [13, 29, 3, 7, 18, 6, 26, 11, 5, 6, 12, 26, 27, 1, 16, 27, 17, 16, 5, 12, 17, 12],
"ct": [28, 14, 24, 30, 16, 30, 27, 3, 8, 22, 26, 3, 7, 2, 23, 6, 27, 3, 14, 3, 17, 6],
"result": "valid"
},
{
"tcId": 806,
"comment": "y is maximal and (y + a) % radix**11 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "d72a3a54f4ec4e0e",
"msg": [8, 30, 17, 9, 22, 11, 29, 3, 26, 18, 23, 8, 30, 18, 9, 22, 30, 15, 24, 18, 26, 25],
"ct": [5, 2, 27, 1, 12, 10, 25, 19, 20, 1, 5, 30, 25, 21, 29, 8, 3, 29, 18, 26, 26, 20],
"result": "valid"
},
{
"tcId": 807,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "d72a3a54f4ec4e0e",
"msg": [15, 8, 27, 9, 31, 16, 25, 21, 21, 10, 8, 13, 3, 5, 10, 5, 30, 7, 5, 24, 6, 24],
"ct": [28, 1, 22, 18, 23, 26, 6, 23, 14, 17, 20, 16, 27, 13, 0, 2, 15, 7, 8, 13, 9, 23],
"result": "valid"
},
{
"tcId": 808,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "d72a3a54f4ec4e0e",
"msg": [10, 18, 27, 29, 4, 24, 19, 14, 24, 12, 5, 31, 2, 30, 13, 17, 18, 21, 29, 23, 7, 26],
"ct": [20, 23, 26, 22, 15, 17, 9, 20, 15, 29, 5, 10, 12, 28, 8, 5, 24, 28, 4, 9, 12, 2],
"result": "valid"
},
{
"tcId": 809,
"comment": "y is edge case for modular reduction and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "790cab2dd60cc461",
"msg": [20, 18, 16, 29, 27, 21, 7, 3, 27, 29, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [20, 9, 20, 28, 15, 9, 31, 20, 10, 19, 30, 24, 30, 28, 9, 14, 1, 25, 30, 18, 7, 20],
"result": "valid"
},
{
"tcId": 810,
"comment": "y is edge case for modular reduction and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "790cab2dd60cc461",
"msg": [8, 30, 24, 18, 19, 23, 10, 12, 29, 8, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [22, 10, 17, 1, 12, 2, 2, 8, 0, 21, 15, 11, 28, 31, 3, 18, 13, 26, 0, 11, 7, 24],
"result": "valid"
},
{
"tcId": 811,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "790cab2dd60cc461",
"msg": [19, 7, 4, 21, 21, 28, 15, 28, 14, 28, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31],
"ct": [14, 12, 22, 15, 27, 20, 2, 30, 9, 29, 11, 27, 18, 10, 0, 26, 28, 19, 13, 11, 4, 11],
"result": "valid"
},
{
"tcId": 812,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "790cab2dd60cc461",
"msg": [19, 18, 19, 6, 9, 31, 0, 0, 18, 11, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0],
"ct": [4, 2, 29, 7, 2, 11, 12, 22, 14, 0, 22, 21, 5, 19, 13, 27, 14, 14, 0, 3, 23, 20],
"result": "valid"
},
{
"tcId": 813,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "790cab2dd60cc461",
"msg": [22, 14, 0, 16, 21, 1, 2, 8, 21, 12, 25, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [30, 29, 17, 12, 24, 29, 24, 23, 22, 3, 20, 4, 6, 3, 22, 28, 18, 28, 15, 27, 5, 5],
"result": "valid"
},
{
"tcId": 814,
"comment": "y is edge case for modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "790cab2dd60cc461",
"msg": [18, 19, 25, 10, 19, 8, 18, 29, 20, 10, 25, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [4, 19, 23, 27, 18, 5, 7, 2, 31, 31, 28, 30, 18, 23, 13, 0, 21, 23, 19, 15, 15, 22],
"result": "valid"
},
{
"tcId": 815,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "a5096c818acb5d5e",
"msg": [2, 12, 21, 17, 10, 17, 11, 21, 18, 7, 12, 12, 26, 0, 17, 27, 30, 2, 17, 12, 14, 6],
"ct": [13, 19, 9, 21, 4, 22, 1, 14, 21, 29, 9, 19, 3, 10, 16, 17, 7, 3, 0, 14, 28, 15],
"result": "valid"
},
{
"tcId": 816,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "a5096c818acb5d5e",
"msg": [15, 8, 20, 23, 10, 19, 30, 6, 21, 4, 22, 11, 31, 31, 11, 10, 29, 16, 25, 22, 8, 23],
"ct": [31, 4, 14, 13, 28, 21, 0, 21, 14, 22, 19, 10, 31, 17, 11, 22, 6, 11, 3, 14, 0, 12],
"result": "valid"
},
{
"tcId": 817,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "a5096c818acb5d5e",
"msg": [10, 3, 3, 15, 29, 15, 7, 14, 27, 18, 8, 2, 3, 19, 0, 24, 12, 0, 26, 1, 0, 17],
"ct": [30, 16, 0, 25, 21, 8, 6, 6, 22, 13, 31, 3, 5, 7, 6, 14, 23, 2, 2, 25, 14, 24],
"result": "valid"
},
{
"tcId": 818,
"comment": "y is maximal after modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "42ace51e4cacf58876336222ae9b433e",
"tweak": "a5096c818acb5d5e",
"msg": [11, 20, 2, 19, 12, 20, 26, 29, 23, 10, 29, 1, 1, 14, 18, 22, 7, 16, 24, 3, 26, 1],
"ct": [2, 13, 23, 13, 11, 29, 3, 22, 26, 29, 14, 5, 18, 18, 3, 31, 15, 0, 30, 4, 16, 29],
"result": "valid"
},
{
"tcId": 819,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1a09b8fb562701a282ce28747f0b0a52",
"tweak": "ec1b2b9ede1b38ea",
"msg": [-1, 11, 20, 28, 12, 0, 2, 16, 9, 7, 20, 17, 20, 5, 27, 18, 14, 17, 7, 10, 21, 1],
"ct": [18, 17, 8, 1, 18, 10, 8, 5, 12, 2, 21, 11, 17, 22, 5, 17, 16, 15, 24, 2, 19, 4],
"result": "invalid"
},
{
"tcId": 820,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1a09b8fb562701a282ce28747f0b0a52",
"tweak": "ec1b2b9ede1b38ea",
"msg": [6, 11, 20, 28, 12, 0, 2, -1, 9, 7, 20, 17, 20, 5, 27, 18, 14, 17, 7, 10, 21, 1],
"ct": [2, 5, 22, 8, 19, 26, 6, 31, 21, 2, 6, 10, 31, 25, 17, 5, 27, 13, 26, 17, 28, 6],
"result": "invalid"
},
{
"tcId": 821,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1a09b8fb562701a282ce28747f0b0a52",
"tweak": "ec1b2b9ede1b38ea",
"msg": [6, 11, 20, 28, 12, 0, 2, 16, 9, 7, 20, 17, 20, 5, 27, 18, 14, 17, 7, 10, 21, -1],
"ct": [10, 15, 1, 21, 8, 9, 11, 8, 14, 10, 12, 29, 13, 0, 20, 30, 15, 19, 16, 9, 10, 13],
"result": "invalid"
},
{
"tcId": 822,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f712cd878b3e679d5423f15c8b4aa76f",
"tweak": "c3f33c5a0592cae5",
"msg": [32, 3, 21, 19, 26, 20, 22, 0, 8, 19, 21, 29, 29, 13, 19, 8, 3, 12, 0, 3, 13, 14],
"ct": [25, 7, 24, 30, 8, 22, 27, 1, 12, 7, 25, 0, 12, 1, 20, 8, 30, 1, 23, 26, 29, 16],
"result": "invalid"
},
{
"tcId": 823,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f712cd878b3e679d5423f15c8b4aa76f",
"tweak": "c3f33c5a0592cae5",
"msg": [6, 3, 21, 19, 26, 20, 22, 32, 8, 19, 21, 29, 29, 13, 19, 8, 3, 12, 0, 3, 13, 14],
"ct": [1, 4, 17, 5, 11, 26, 11, 0, 16, 2, 20, 20, 28, 0, 20, 19, 27, 3, 25, 10, 17, 11],
"result": "invalid"
},
{
"tcId": 824,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f712cd878b3e679d5423f15c8b4aa76f",
"tweak": "c3f33c5a0592cae5",
"msg": [6, 3, 21, 19, 26, 20, 22, 0, 8, 19, 21, 29, 29, 13, 19, 8, 3, 12, 0, 3, 13, 32],
"ct": [23, 20, 18, 3, 27, 7, 9, 7, 28, 23, 6, 3, 18, 28, 27, 13, 23, 31, 8, 1, 10, 25],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 23,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 825,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "b9259b7f8c36246e73802b650cec0f3a",
"tweak": "338104fb3b076bc4",
"msg": [5, 31, 6, 22, 16, 27, 29, 13, 22, 20, 18, 10, 17, 18, 6, 7, 8, 0, 0, 26, 18, 4, 6],
"ct": [25, 26, 4, 17, 7, 13, 10, 25, 10, 5, 6, 16, 1, 13, 12, 9, 0, 13, 12, 26, 23, 13, 25],
"result": "valid"
},
{
"tcId": 826,
"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": [29, 16, 12, 11, 9, 7, 18, 21, 4, 13, 23, 26, 20, 0, 29, 6, 24, 30, 26, 11, 0, 13, 1],
"result": "valid"
},
{
"tcId": 827,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [3, 13, 10, 24, 6, 28, 9, 31, 14, 2, 19, 28, 24, 19, 15, 11, 13, 24, 25, 9, 5, 14, 12],
"result": "valid"
},
{
"tcId": 828,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [16, 3, 7, 31, 25, 5, 24, 24, 7, 4, 11, 22, 10, 0, 22, 3, 22, 5, 0, 22, 3, 8, 5],
"result": "valid"
},
{
"tcId": 829,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [30, 2, 15, 3, 25, 4, 18, 6, 26, 13, 0, 18, 2, 16, 30, 25, 26, 27, 18, 15, 17, 18, 3],
"result": "valid"
},
{
"tcId": 830,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [5, 4, 13, 29, 6, 16, 20, 28, 17, 10, 22, 10, 20, 13, 7, 18, 18, 5, 7, 24, 8, 15, 18],
"ct": [19, 0, 12, 11, 20, 17, 29, 17, 14, 15, 18, 6, 5, 23, 2, 22, 19, 19, 0, 2, 24, 21, 3],
"result": "valid"
},
{
"tcId": 831,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [6, 16, 18, 5, 25, 7, 17, 8, 26, 2, 0, 22, 5, 27, 26, 29, 19, 2, 16, 27, 30, 19, 27],
"ct": [12, 21, 5, 10, 14, 11, 0, 11, 24, 11, 10, 16, 2, 9, 25, 28, 13, 12, 17, 22, 12, 10, 27],
"result": "valid"
},
{
"tcId": 832,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [3, 16, 24, 23, 8, 0, 12, 0, 3, 13, 26, 6, 11, 30, 24, 29, 29, 4, 8, 5, 16, 13, 1],
"ct": [26, 16, 1, 2, 5, 23, 6, 4, 17, 21, 8, 25, 4, 28, 22, 12, 15, 11, 0, 8, 17, 7, 10],
"result": "valid"
},
{
"tcId": 833,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [14, 31, 6, 9, 21, 8, 23, 25, 8, 9, 6, 3, 4, 26, 16, 27, 11, 27, 29, 9, 22, 27, 11],
"ct": [9, 26, 4, 0, 16, 16, 24, 27, 22, 15, 9, 26, 26, 6, 31, 0, 19, 14, 8, 27, 22, 22, 12],
"result": "valid"
},
{
"tcId": 834,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [18, 13, 29, 13, 1, 14, 28, 0, 28, 5, 2, 24, 31, 28, 0, 23, 22, 22, 23, 11, 1, 4, 11],
"ct": [15, 12, 30, 24, 19, 20, 3, 25, 25, 16, 12, 17, 3, 17, 24, 20, 30, 8, 16, 14, 30, 22, 8],
"result": "valid"
},
{
"tcId": 835,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [9, 22, 28, 11, 20, 9, 14, 18, 0, 26, 31, 23, 19, 13, 18, 0, 1, 2, 3, 30, 27, 3, 18],
"ct": [6, 19, 11, 29, 22, 8, 17, 8, 30, 23, 7, 14, 1, 17, 14, 0, 8, 16, 13, 7, 24, 2, 25],
"result": "valid"
},
{
"tcId": 836,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [15, 13, 8, 12, 31, 7, 7, 16, 6, 0, 17, 6, 30, 23, 19, 5, 15, 26, 20, 11, 13, 30, 10],
"ct": [5, 4, 22, 20, 25, 8, 24, 20, 24, 23, 23, 5, 31, 19, 8, 17, 19, 14, 26, 6, 8, 26, 6],
"result": "valid"
},
{
"tcId": 837,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [18, 31, 23, 25, 29, 21, 30, 11, 20, 27, 22, 11, 10, 9, 3, 10, 1, 8, 11, 8, 27, 19, 27],
"ct": [2, 7, 22, 19, 6, 12, 19, 7, 5, 7, 21, 2, 28, 10, 1, 6, 29, 20, 16, 0, 21, 20, 21],
"result": "valid"
},
{
"tcId": 838,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [10, 14, 22, 28, 7, 22, 1, 0, 16, 4, 15, 30, 19, 22, 22, 13, 8, 21, 27, 4, 24, 14, 17],
"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": 839,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [20, 8, 7, 31, 19, 31, 13, 2, 1, 7, 17, 8, 29, 18, 28, 10, 31, 21, 29, 25, 31, 19, 3],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 840,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [5, 15, 1, 17, 18, 26, 31, 18, 22, 25, 28, 3, 3, 12, 14, 1, 5, 2, 11, 25, 23, 21, 3],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 841,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54dc637b4efc6ee03d4bd532295d63b8",
"tweak": "cc32b4959acf967c",
"msg": [22, 29, 14, 20, 17, 21, 26, 10, 15, 12, 15, 0, 9, 10, 19, 22, 31, 21, 21, 10, 24, 17, 22],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 842,
"comment": "y = 0 and (y + a) % radix**11 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "18408bd00b5409",
"msg": [7, 20, 27, 1, 31, 0, 7, 20, 17, 4, 1, 1, 1, 1, 8, 28, 4, 20, 20, 17, 25, 18, 24],
"ct": [30, 21, 13, 1, 7, 7, 19, 28, 31, 10, 18, 17, 30, 14, 24, 29, 5, 15, 25, 1, 0, 30, 22],
"result": "valid"
},
{
"tcId": 843,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "18408bd00b5409",
"msg": [9, 0, 24, 23, 15, 18, 26, 22, 9, 9, 20, 6, 6, 20, 27, 5, 0, 29, 0, 11, 31, 3, 1],
"ct": [10, 25, 1, 22, 25, 2, 16, 11, 10, 22, 21, 16, 20, 30, 23, 26, 25, 21, 22, 29, 27, 1, 24],
"result": "valid"
},
{
"tcId": 844,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "18408bd00b5409",
"msg": [28, 1, 10, 8, 31, 22, 0, 20, 11, 28, 2, 26, 7, 14, 19, 26, 7, 24, 7, 23, 24, 27, 29],
"ct": [22, 8, 0, 5, 5, 19, 19, 8, 30, 13, 28, 2, 10, 14, 14, 18, 19, 23, 20, 3, 9, 10, 9],
"result": "valid"
},
{
"tcId": 845,
"comment": "y = 0 and (y + a) % radix**11 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "18408bd00b5409",
"msg": [9, 15, 25, 16, 13, 2, 15, 1, 9, 20, 14, 8, 20, 31, 2, 5, 8, 17, 29, 25, 8, 0, 20],
"ct": [3, 18, 15, 5, 11, 3, 8, 5, 3, 23, 18, 18, 22, 6, 18, 26, 20, 0, 4, 16, 0, 12, 27],
"result": "valid"
},
{
"tcId": 846,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "e8a10fc90f7682",
"msg": [24, 26, 10, 0, 9, 26, 30, 25, 18, 31, 8, 7, 9, 11, 16, 30, 8, 15, 5, 8, 22, 15, 5],
"ct": [28, 5, 22, 29, 2, 29, 8, 31, 13, 27, 22, 31, 10, 26, 9, 29, 19, 30, 9, 27, 30, 8, 19],
"result": "valid"
},
{
"tcId": 847,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "e8a10fc90f7682",
"msg": [7, 18, 1, 2, 4, 14, 29, 30, 9, 7, 23, 12, 30, 4, 6, 9, 11, 8, 26, 24, 16, 12, 0],
"ct": [26, 30, 0, 17, 4, 9, 14, 26, 4, 27, 2, 1, 27, 10, 15, 30, 0, 25, 22, 1, 5, 25, 19],
"result": "valid"
},
{
"tcId": 848,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "e8a10fc90f7682",
"msg": [6, 30, 1, 2, 16, 0, 20, 22, 2, 15, 16, 0, 17, 12, 17, 29, 22, 7, 27, 21, 5, 2, 3],
"ct": [8, 28, 10, 8, 18, 30, 1, 23, 23, 29, 11, 2, 21, 24, 26, 8, 20, 31, 28, 13, 9, 21, 4],
"result": "valid"
},
{
"tcId": 849,
"comment": "y = 1 and (y + a) % radix**11 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "e8a10fc90f7682",
"msg": [1, 0, 26, 26, 2, 25, 21, 21, 30, 1, 30, 6, 19, 26, 16, 10, 30, 12, 23, 8, 20, 1, 10],
"ct": [16, 30, 16, 9, 21, 3, 1, 24, 23, 22, 19, 13, 7, 2, 16, 2, 31, 13, 5, 1, 29, 25, 3],
"result": "valid"
},
{
"tcId": 850,
"comment": "y = 1 and (y + a) % radix**11 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "e8a10fc90f7682",
"msg": [2, 3, 2, 17, 17, 1, 20, 11, 2, 14, 14, 31, 12, 28, 17, 13, 10, 3, 10, 22, 0, 22, 1],
"ct": [1, 1, 5, 10, 20, 9, 22, 24, 4, 13, 29, 11, 27, 0, 26, 1, 4, 3, 21, 2, 28, 10, 20],
"result": "valid"
},
{
"tcId": 851,
"comment": "y is maximal and (y + a) % radix**11 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "f346b95d4268eb",
"msg": [22, 8, 22, 28, 4, 19, 1, 4, 23, 28, 1, 8, 21, 20, 25, 17, 27, 24, 28, 10, 14, 12, 21],
"ct": [19, 16, 16, 3, 5, 14, 25, 29, 6, 23, 17, 14, 26, 1, 23, 20, 26, 1, 9, 14, 18, 22, 13],
"result": "valid"
},
{
"tcId": 852,
"comment": "y is maximal and (y + a) % radix**11 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "f346b95d4268eb",
"msg": [27, 17, 31, 18, 30, 14, 13, 31, 31, 8, 10, 6, 10, 26, 25, 24, 8, 17, 20, 2, 11, 12, 22],
"ct": [5, 20, 20, 31, 25, 23, 29, 27, 8, 1, 30, 29, 21, 2, 23, 7, 18, 10, 21, 19, 23, 22, 6],
"result": "valid"
},
{
"tcId": 853,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "f346b95d4268eb",
"msg": [15, 14, 17, 18, 27, 28, 1, 23, 2, 22, 22, 24, 21, 3, 5, 0, 18, 31, 30, 15, 18, 28, 29],
"ct": [27, 8, 9, 26, 2, 0, 30, 4, 27, 31, 2, 30, 2, 9, 3, 31, 16, 3, 3, 26, 11, 30, 13],
"result": "valid"
},
{
"tcId": 854,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "f346b95d4268eb",
"msg": [4, 17, 20, 25, 2, 28, 17, 27, 15, 2, 26, 9, 27, 9, 3, 19, 30, 17, 29, 2, 29, 26, 16],
"ct": [30, 20, 30, 3, 21, 3, 9, 1, 4, 14, 8, 12, 12, 29, 28, 14, 21, 8, 31, 4, 30, 20, 5],
"result": "valid"
},
{
"tcId": 855,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "f9ca1420507f78",
"msg": [14, 7, 13, 2, 23, 21, 4, 0, 13, 19, 1, 31, 14, 4, 19, 17, 4, 12, 1, 0, 4, 28, 0],
"ct": [30, 14, 15, 2, 3, 19, 31, 7, 23, 3, 14, 3, 6, 30, 0, 15, 10, 15, 1, 4, 4, 16, 14],
"result": "valid"
},
{
"tcId": 856,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "f9ca1420507f78",
"msg": [11, 18, 21, 15, 30, 17, 27, 31, 19, 1, 0, 26, 10, 16, 15, 23, 4, 24, 13, 1, 15, 1, 7],
"ct": [26, 29, 30, 5, 27, 20, 11, 14, 22, 1, 11, 24, 20, 13, 14, 6, 12, 30, 18, 22, 26, 3, 8],
"result": "valid"
},
{
"tcId": 857,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "f9ca1420507f78",
"msg": [5, 30, 16, 4, 17, 6, 29, 13, 20, 31, 19, 14, 20, 16, 4, 3, 28, 31, 25, 18, 1, 7, 27],
"ct": [29, 27, 17, 27, 23, 23, 13, 19, 4, 1, 30, 15, 21, 4, 24, 13, 16, 13, 19, 18, 10, 27, 23],
"result": "valid"
},
{
"tcId": 858,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "f9ca1420507f78",
"msg": [19, 13, 10, 19, 11, 29, 21, 15, 7, 7, 4, 12, 1, 4, 17, 25, 6, 0, 23, 4, 4, 16, 24],
"ct": [7, 11, 27, 7, 29, 27, 29, 7, 28, 14, 11, 4, 17, 1, 1, 8, 20, 24, 5, 12, 2, 8, 14],
"result": "valid"
},
{
"tcId": 859,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "f9ca1420507f78",
"msg": [25, 23, 16, 21, 12, 22, 11, 27, 25, 22, 15, 24, 14, 1, 23, 28, 22, 14, 11, 4, 31, 6, 12],
"ct": [20, 24, 2, 15, 29, 10, 12, 15, 6, 30, 3, 0, 5, 18, 9, 23, 21, 7, 9, 4, 23, 21, 10],
"result": "valid"
},
{
"tcId": 860,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "f9ca1420507f78",
"msg": [4, 6, 25, 1, 30, 17, 29, 13, 20, 18, 14, 27, 31, 25, 26, 17, 12, 9, 25, 15, 6, 13, 31],
"ct": [2, 17, 25, 5, 20, 24, 30, 3, 27, 18, 11, 1, 10, 3, 3, 27, 18, 4, 21, 11, 28, 17, 27],
"result": "valid"
},
{
"tcId": 861,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "76b39ac98bf507",
"msg": [24, 8, 24, 19, 11, 14, 26, 12, 18, 25, 19, 12, 23, 11, 27, 20, 18, 14, 24, 18, 25, 21, 30],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 26, 29, 18, 21, 4, 26, 10, 6, 16, 5, 28, 14],
"result": "valid"
},
{
"tcId": 862,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "76b39ac98bf507",
"msg": [5, 16, 20, 28, 16, 19, 5, 11, 31, 31, 14, 22, 3, 12, 19, 14, 23, 8, 12, 29, 19, 14, 29],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 22, 13, 12, 15, 0, 31, 2, 25, 27, 2, 5],
"result": "valid"
},
{
"tcId": 863,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "76b39ac98bf507",
"msg": [9, 5, 19, 3, 2, 24, 18, 9, 20, 19, 28, 14, 8, 21, 24, 31, 11, 15, 11, 26, 11, 3, 17],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 12, 16, 16, 2, 13, 30, 22, 6, 6, 4, 16, 20],
"result": "valid"
},
{
"tcId": 864,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "803b8c7284f7da1e37b0a019e63e34aa",
"tweak": "76b39ac98bf507",
"msg": [3, 26, 31, 23, 29, 6, 21, 6, 11, 2, 21, 2, 12, 2, 4, 14, 4, 18, 0, 24, 0, 25, 29],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 30, 2, 0, 15, 29, 21, 4, 12, 17, 28, 25, 4, 7],
"result": "valid"
},
{
"tcId": 865,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "44610a63e9615101e6bea82a9c0eda30",
"tweak": "b324bd04bb45a149",
"msg": [-1, 20, 11, 25, 24, 29, 4, 22, 6, 22, 29, 26, 31, 4, 8, 4, 6, 0, 1, 4, 31, 27, 18],
"ct": [0, 7, 23, 2, 14, 23, 23, 25, 29, 8, 30, 16, 30, 7, 25, 21, 15, 18, 29, 4, 9, 15, 14],
"result": "invalid"
},
{
"tcId": 866,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "44610a63e9615101e6bea82a9c0eda30",
"tweak": "b324bd04bb45a149",
"msg": [23, 20, 11, 25, 24, 29, 4, -1, 6, 22, 29, 26, 31, 4, 8, 4, 6, 0, 1, 4, 31, 27, 18],
"ct": [12, 3, 16, 10, 20, 10, 31, 3, 25, 21, 3, 11, 17, 7, 21, 16, 6, 1, 3, 7, 22, 23, 9],
"result": "invalid"
},
{
"tcId": 867,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "44610a63e9615101e6bea82a9c0eda30",
"tweak": "b324bd04bb45a149",
"msg": [23, 20, 11, 25, 24, 29, 4, 22, 6, 22, 29, 26, 31, 4, 8, 4, 6, 0, 1, 4, 31, 27, -1],
"ct": [17, 28, 17, 21, 26, 10, 12, 31, 27, 31, 21, 15, 20, 13, 16, 6, 20, 4, 0, 18, 24, 25, 18],
"result": "invalid"
},
{
"tcId": 868,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f546056c3d1788912db183bc5dbb8898",
"tweak": "db4a146c6db98c1c",
"msg": [32, 22, 22, 9, 11, 30, 19, 9, 19, 27, 18, 20, 0, 5, 23, 22, 20, 0, 2, 25, 1, 4, 20],
"ct": [20, 27, 13, 28, 25, 27, 25, 21, 11, 6, 18, 8, 8, 19, 25, 23, 20, 12, 21, 6, 6, 19, 10],
"result": "invalid"
},
{
"tcId": 869,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f546056c3d1788912db183bc5dbb8898",
"tweak": "db4a146c6db98c1c",
"msg": [8, 22, 22, 9, 11, 30, 19, 32, 19, 27, 18, 20, 0, 5, 23, 22, 20, 0, 2, 25, 1, 4, 20],
"ct": [30, 16, 26, 9, 10, 7, 13, 10, 21, 18, 4, 20, 10, 2, 22, 23, 16, 20, 15, 7, 16, 0, 16],
"result": "invalid"
},
{
"tcId": 870,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f546056c3d1788912db183bc5dbb8898",
"tweak": "db4a146c6db98c1c",
"msg": [8, 22, 22, 9, 11, 30, 19, 9, 19, 27, 18, 20, 0, 5, 23, 22, 20, 0, 2, 25, 1, 4, 32],
"ct": [0, 5, 23, 0, 25, 5, 14, 3, 12, 24, 21, 20, 17, 3, 12, 24, 25, 5, 27, 27, 28, 28, 7],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 24,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 871,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "904e573e4691681dc2db245bb369404a",
"tweak": "dc83f04ef1a5fc92",
"msg": [17, 5, 19, 0, 15, 23, 18, 22, 22, 23, 7, 4, 24, 24, 4, 16, 13, 26, 17, 31, 25, 13, 17, 30],
"ct": [27, 29, 11, 12, 7, 11, 10, 26, 17, 24, 31, 6, 23, 2, 16, 23, 12, 21, 10, 2, 0, 20, 7, 23],
"result": "valid"
},
{
"tcId": 872,
"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": [0, 5, 19, 28, 23, 15, 5, 25, 26, 7, 20, 3, 16, 15, 11, 15, 3, 21, 29, 6, 26, 5, 0, 26],
"result": "valid"
},
{
"tcId": 873,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [4, 22, 24, 12, 5, 9, 14, 18, 16, 11, 13, 23, 4, 9, 31, 13, 29, 9, 0, 5, 31, 20, 20, 12],
"result": "valid"
},
{
"tcId": 874,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [24, 5, 1, 14, 23, 17, 20, 13, 17, 16, 5, 5, 12, 21, 23, 10, 13, 27, 3, 24, 29, 16, 8, 23],
"result": "valid"
},
{
"tcId": 875,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [26, 30, 12, 9, 6, 25, 12, 11, 6, 16, 17, 6, 16, 28, 13, 7, 6, 8, 8, 10, 0, 2, 17, 12],
"result": "valid"
},
{
"tcId": 876,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [13, 10, 30, 1, 26, 25, 31, 2, 28, 8, 0, 2, 16, 18, 15, 5, 7, 11, 22, 14, 28, 19, 23, 9],
"ct": [17, 27, 8, 13, 14, 28, 7, 20, 22, 23, 18, 19, 25, 29, 27, 1, 28, 0, 4, 6, 9, 10, 5, 0],
"result": "valid"
},
{
"tcId": 877,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [8, 21, 13, 29, 10, 1, 21, 3, 15, 4, 29, 3, 18, 10, 13, 19, 15, 12, 14, 27, 0, 30, 21, 5],
"ct": [3, 18, 10, 8, 18, 26, 23, 15, 19, 12, 27, 26, 19, 23, 6, 9, 18, 15, 21, 19, 26, 24, 6, 24],
"result": "valid"
},
{
"tcId": 878,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [16, 17, 10, 11, 13, 13, 30, 19, 29, 4, 30, 17, 7, 0, 29, 23, 23, 13, 25, 23, 29, 4, 8, 8],
"ct": [18, 29, 19, 18, 17, 1, 1, 8, 11, 11, 20, 0, 17, 31, 14, 1, 28, 15, 30, 4, 31, 23, 11, 21],
"result": "valid"
},
{
"tcId": 879,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [31, 18, 4, 23, 22, 0, 16, 7, 17, 28, 10, 0, 27, 22, 27, 7, 22, 11, 31, 29, 27, 8, 28, 8],
"ct": [23, 30, 22, 30, 3, 10, 10, 4, 15, 12, 3, 27, 12, 22, 26, 21, 20, 10, 11, 18, 19, 25, 25, 3],
"result": "valid"
},
{
"tcId": 880,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [25, 15, 6, 6, 27, 13, 18, 15, 2, 29, 13, 21, 27, 30, 14, 7, 27, 5, 0, 21, 22, 2, 9, 7],
"ct": [21, 23, 29, 31, 20, 24, 22, 21, 22, 29, 29, 5, 22, 21, 2, 11, 14, 7, 10, 9, 13, 16, 31, 9],
"result": "valid"
},
{
"tcId": 881,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [7, 23, 0, 13, 28, 30, 7, 21, 25, 30, 1, 7, 3, 7, 21, 19, 29, 11, 10, 20, 9, 0, 9, 31],
"ct": [16, 9, 13, 7, 14, 17, 13, 4, 0, 24, 21, 9, 19, 16, 24, 2, 1, 17, 17, 16, 24, 19, 6, 1],
"result": "valid"
},
{
"tcId": 882,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [25, 1, 0, 18, 25, 15, 0, 9, 2, 16, 21, 27, 17, 17, 22, 15, 13, 17, 3, 20, 3, 18, 1, 20],
"ct": [18, 25, 17, 9, 13, 1, 0, 3, 1, 24, 3, 26, 4, 15, 24, 7, 0, 0, 12, 8, 25, 26, 13, 13],
"result": "valid"
},
{
"tcId": 883,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [12, 13, 26, 21, 30, 2, 26, 0, 8, 12, 7, 6, 28, 0, 2, 18, 31, 31, 1, 22, 18, 7, 2, 15],
"ct": [24, 7, 31, 22, 4, 9, 13, 23, 13, 28, 31, 20, 30, 2, 30, 15, 16, 9, 9, 15, 23, 26, 20, 1],
"result": "valid"
},
{
"tcId": 884,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [29, 13, 18, 7, 20, 24, 0, 5, 1, 4, 13, 8, 25, 4, 1, 28, 16, 11, 24, 17, 10, 17, 1, 16],
"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": 885,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [15, 1, 2, 12, 21, 22, 1, 18, 17, 6, 2, 6, 27, 7, 24, 13, 26, 16, 15, 8, 18, 23, 21, 23],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 886,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [24, 13, 22, 13, 18, 14, 0, 1, 29, 13, 22, 9, 5, 12, 30, 8, 18, 26, 9, 25, 29, 29, 25, 1],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 887,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc7c241656fbbb47d85dd0963ac63c5b",
"tweak": "de48d09d117319da",
"msg": [13, 11, 19, 15, 14, 17, 14, 15, 18, 11, 24, 26, 10, 9, 14, 7, 21, 31, 1, 30, 11, 7, 1, 0],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 888,
"comment": "y = 0 and (y + a) % radix**12 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "0a6252301cb102",
"msg": [26, 0, 8, 18, 2, 17, 9, 19, 12, 12, 2, 25, 2, 31, 4, 1, 30, 23, 12, 6, 27, 0, 15, 2],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 14, 31, 24, 5, 9, 21, 20, 9, 23, 22, 1],
"result": "valid"
},
{
"tcId": 889,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "0a6252301cb102",
"msg": [3, 9, 19, 4, 19, 15, 8, 4, 25, 1, 15, 2, 29, 16, 5, 20, 20, 1, 7, 22, 30, 9, 29, 23],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 24, 1, 6, 1, 1, 24, 8, 12, 16, 14, 28, 15],
"result": "valid"
},
{
"tcId": 890,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "0a6252301cb102",
"msg": [4, 14, 3, 17, 15, 10, 23, 23, 30, 22, 11, 17, 22, 0, 13, 9, 18, 5, 18, 24, 21, 27, 19, 26],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 7, 3, 3, 19, 24, 14, 18, 27, 29, 10, 1],
"result": "valid"
},
{
"tcId": 891,
"comment": "y = 0 and (y + a) % radix**12 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "0a6252301cb102",
"msg": [29, 17, 30, 18, 0, 11, 22, 7, 28, 27, 0, 0, 8, 3, 10, 15, 6, 13, 1, 30, 20, 13, 20, 29],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 13, 20, 26, 9, 24, 31, 13, 4, 3, 19, 26, 19],
"result": "valid"
},
{
"tcId": 892,
"comment": "y = 1 and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "65380a7bd8614b",
"msg": [9, 7, 20, 27, 8, 1, 18, 31, 16, 9, 19, 2, 9, 0, 12, 13, 31, 5, 25, 4, 14, 29, 18, 20],
"ct": [1, 17, 2, 23, 0, 31, 31, 3, 19, 18, 6, 1, 4, 0, 19, 11, 2, 10, 2, 10, 14, 4, 28, 3],
"result": "valid"
},
{
"tcId": 893,
"comment": "y = 1 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "65380a7bd8614b",
"msg": [10, 8, 0, 20, 10, 23, 17, 11, 23, 20, 19, 7, 20, 0, 24, 4, 9, 10, 14, 10, 14, 23, 11, 21],
"ct": [11, 13, 6, 23, 13, 20, 8, 17, 5, 21, 8, 7, 30, 6, 28, 11, 2, 1, 22, 4, 17, 12, 16, 27],
"result": "valid"
},
{
"tcId": 894,
"comment": "y = 1 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "65380a7bd8614b",
"msg": [1, 28, 10, 8, 11, 28, 3, 6, 17, 30, 29, 23, 20, 10, 6, 7, 6, 2, 4, 10, 0, 26, 26, 12],
"ct": [14, 29, 21, 3, 2, 7, 4, 10, 27, 11, 11, 13, 10, 8, 0, 9, 2, 4, 16, 2, 4, 7, 25, 13],
"result": "valid"
},
{
"tcId": 895,
"comment": "y = 1 and (y + a) % radix**12 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "65380a7bd8614b",
"msg": [3, 2, 4, 18, 12, 9, 30, 5, 30, 1, 17, 16, 31, 12, 15, 13, 31, 5, 8, 15, 14, 20, 26, 31],
"ct": [11, 19, 23, 22, 2, 29, 21, 0, 21, 12, 22, 0, 14, 8, 21, 31, 4, 3, 7, 15, 17, 28, 27, 4],
"result": "valid"
},
{
"tcId": 896,
"comment": "y = 1 and (y + a) % radix**12 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "65380a7bd8614b",
"msg": [26, 3, 22, 25, 1, 4, 16, 8, 3, 1, 19, 30, 29, 1, 28, 31, 17, 4, 24, 7, 21, 23, 29, 15],
"ct": [11, 17, 11, 30, 15, 20, 10, 23, 5, 16, 4, 26, 31, 19, 5, 22, 26, 30, 17, 6, 3, 27, 29, 24],
"result": "valid"
},
{
"tcId": 897,
"comment": "y is maximal and (y + a) % radix**12 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "a7e32fcf7110af",
"msg": [0, 6, 8, 27, 1, 20, 13, 12, 2, 15, 6, 7, 12, 3, 17, 31, 16, 29, 20, 25, 20, 2, 11, 14],
"ct": [0, 12, 25, 25, 1, 22, 19, 11, 26, 31, 18, 17, 0, 29, 9, 18, 23, 14, 25, 3, 21, 25, 15, 24],
"result": "valid"
},
{
"tcId": 898,
"comment": "y is maximal and (y + a) % radix**12 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "a7e32fcf7110af",
"msg": [18, 13, 20, 9, 9, 3, 7, 28, 6, 17, 27, 14, 19, 17, 8, 4, 3, 12, 7, 2, 5, 19, 24, 22],
"ct": [24, 0, 23, 24, 15, 23, 15, 30, 22, 11, 24, 27, 18, 2, 4, 3, 1, 31, 12, 1, 6, 30, 15, 1],
"result": "valid"
},
{
"tcId": 899,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "a7e32fcf7110af",
"msg": [4, 10, 10, 5, 0, 6, 16, 24, 18, 1, 7, 8, 25, 22, 13, 5, 12, 26, 21, 16, 14, 14, 24, 17],
"ct": [21, 24, 5, 11, 22, 8, 18, 19, 15, 18, 17, 6, 20, 9, 6, 28, 2, 19, 10, 26, 5, 22, 20, 26],
"result": "valid"
},
{
"tcId": 900,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "a7e32fcf7110af",
"msg": [13, 25, 4, 20, 31, 9, 14, 11, 8, 6, 7, 27, 14, 8, 30, 25, 4, 8, 1, 17, 7, 17, 21, 9],
"ct": [21, 2, 17, 20, 8, 22, 19, 10, 17, 10, 10, 25, 26, 16, 6, 0, 11, 21, 22, 17, 23, 24, 19, 12],
"result": "valid"
},
{
"tcId": 901,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "f5da629cbca273",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 17, 29, 9, 13, 13, 14, 0, 28, 24, 0, 2],
"ct": [10, 15, 23, 26, 17, 9, 23, 7, 27, 26, 1, 6, 12, 27, 13, 10, 16, 31, 25, 18, 18, 16, 8, 30],
"result": "valid"
},
{
"tcId": 902,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "f5da629cbca273",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 17, 29, 9, 13, 13, 14, 0, 28, 24, 0, 2],
"ct": [27, 30, 13, 24, 17, 19, 5, 19, 9, 8, 27, 22, 0, 8, 11, 25, 11, 14, 15, 5, 28, 17, 10, 5],
"result": "valid"
},
{
"tcId": 903,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "f5da629cbca273",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 3, 17, 29, 9, 13, 13, 14, 0, 28, 24, 0, 2],
"ct": [14, 26, 21, 10, 20, 0, 24, 4, 22, 20, 10, 21, 15, 12, 14, 28, 12, 1, 21, 18, 13, 14, 0, 3],
"result": "valid"
},
{
"tcId": 904,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "f5da629cbca273",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 3, 17, 29, 9, 13, 13, 14, 0, 28, 24, 0, 2],
"ct": [9, 10, 29, 1, 11, 17, 14, 28, 2, 15, 3, 8, 9, 9, 26, 7, 31, 30, 10, 10, 2, 30, 17, 28],
"result": "valid"
},
{
"tcId": 905,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "f5da629cbca273",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 17, 29, 9, 13, 13, 14, 0, 28, 24, 0, 2],
"ct": [21, 16, 4, 2, 9, 23, 8, 31, 27, 6, 23, 8, 15, 10, 0, 28, 11, 13, 10, 5, 11, 24, 20, 28],
"result": "valid"
},
{
"tcId": 906,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "f5da629cbca273",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 3, 17, 29, 9, 13, 13, 14, 0, 28, 24, 0, 2],
"ct": [30, 8, 11, 31, 21, 24, 20, 28, 3, 21, 19, 27, 29, 10, 31, 0, 6, 2, 16, 29, 19, 2, 4, 5],
"result": "valid"
},
{
"tcId": 907,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "35015f574301f3",
"msg": [3, 3, 7, 26, 25, 11, 13, 12, 29, 20, 14, 20, 3, 15, 12, 31, 6, 2, 28, 1, 15, 15, 23, 28],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 6, 18, 29, 0, 5, 10, 29, 15, 6, 5, 11, 16],
"result": "valid"
},
{
"tcId": 908,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "35015f574301f3",
"msg": [18, 22, 16, 30, 7, 19, 2, 16, 27, 17, 19, 3, 7, 27, 18, 2, 2, 31, 7, 13, 30, 24, 13, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 19, 26, 3, 4, 27, 12, 15, 9, 24, 27],
"result": "valid"
},
{
"tcId": 909,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "35015f574301f3",
"msg": [11, 7, 22, 3, 9, 13, 0, 5, 10, 23, 10, 7, 10, 18, 16, 19, 29, 29, 4, 31, 7, 26, 26, 7],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 28, 18, 0, 26, 14, 29, 8, 26, 16, 22, 20, 19],
"result": "valid"
},
{
"tcId": 910,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "185afbc592b66b4bf6c87703dfbd4cdf",
"tweak": "35015f574301f3",
"msg": [10, 3, 3, 28, 13, 10, 24, 19, 26, 5, 24, 11, 18, 5, 26, 5, 13, 15, 6, 5, 30, 5, 4, 23],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 30, 19, 28, 26, 30, 13, 22, 23, 27, 24, 2, 7, 22],
"result": "valid"
},
{
"tcId": 911,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6db335f49453200df662b9d1097a4ea7",
"tweak": "83f4d65d3964c007",
"msg": [-1, 23, 9, 25, 9, 0, 21, 15, 4, 31, 17, 24, 7, 24, 1, 18, 22, 15, 18, 21, 4, 15, 30, 25],
"ct": [21, 25, 12, 13, 25, 26, 26, 15, 30, 2, 2, 4, 30, 9, 7, 10, 31, 31, 11, 0, 23, 2, 28, 7],
"result": "invalid"
},
{
"tcId": 912,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6db335f49453200df662b9d1097a4ea7",
"tweak": "83f4d65d3964c007",
"msg": [9, 23, 9, 25, 9, 0, 21, 15, -1, 31, 17, 24, 7, 24, 1, 18, 22, 15, 18, 21, 4, 15, 30, 25],
"ct": [11, 15, 25, 25, 25, 5, 21, 7, 19, 20, 30, 4, 23, 25, 4, 18, 31, 21, 17, 15, 3, 12, 25, 19],
"result": "invalid"
},
{
"tcId": 913,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6db335f49453200df662b9d1097a4ea7",
"tweak": "83f4d65d3964c007",
"msg": [9, 23, 9, 25, 9, 0, 21, 15, 4, 31, 17, 24, 7, 24, 1, 18, 22, 15, 18, 21, 4, 15, 30, -1],
"ct": [30, 24, 23, 28, 26, 31, 21, 31, 3, 20, 27, 20, 15, 18, 20, 2, 5, 5, 26, 4, 18, 29, 18, 8],
"result": "invalid"
},
{
"tcId": 914,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "de0ffae14ac7b000d6cf00fe58d3ef99",
"tweak": "f2d2d188897a9f78",
"msg": [32, 22, 17, 17, 27, 14, 22, 30, 30, 3, 26, 16, 20, 5, 6, 22, 21, 14, 8, 7, 28, 14, 27, 7],
"ct": [29, 7, 30, 24, 23, 10, 4, 14, 29, 3, 21, 8, 31, 20, 26, 17, 0, 13, 1, 7, 26, 12, 30, 15],
"result": "invalid"
},
{
"tcId": 915,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "de0ffae14ac7b000d6cf00fe58d3ef99",
"tweak": "f2d2d188897a9f78",
"msg": [30, 22, 17, 17, 27, 14, 22, 30, 32, 3, 26, 16, 20, 5, 6, 22, 21, 14, 8, 7, 28, 14, 27, 7],
"ct": [29, 13, 16, 30, 30, 8, 4, 5, 10, 6, 1, 10, 30, 15, 8, 26, 17, 20, 0, 15, 10, 11, 27, 23],
"result": "invalid"
},
{
"tcId": 916,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "de0ffae14ac7b000d6cf00fe58d3ef99",
"tweak": "f2d2d188897a9f78",
"msg": [30, 22, 17, 17, 27, 14, 22, 30, 30, 3, 26, 16, 20, 5, 6, 22, 21, 14, 8, 7, 28, 14, 27, 32],
"ct": [31, 8, 1, 12, 4, 22, 5, 6, 26, 4, 12, 20, 9, 2, 16, 21, 9, 31, 10, 10, 14, 6, 5, 22],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 25,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 917,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "4605865b047c33cafb0c30500253573f",
"tweak": "a8b27f391744d48a",
"msg": [9, 26, 2, 22, 16, 30, 14, 15, 22, 0, 29, 24, 15, 6, 19, 18, 25, 15, 8, 28, 5, 19, 10, 18, 25],
"ct": [22, 21, 17, 3, 23, 17, 27, 31, 16, 30, 14, 11, 27, 2, 25, 17, 6, 14, 28, 30, 11, 0, 17, 19, 7],
"result": "valid"
},
{
"tcId": 918,
"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": [2, 4, 21, 8, 21, 1, 15, 0, 25, 4, 6, 22, 27, 24, 12, 25, 18, 17, 14, 11, 12, 18, 5, 10, 17],
"result": "valid"
},
{
"tcId": 919,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [17, 16, 1, 30, 15, 0, 1, 9, 12, 29, 4, 6, 4, 28, 20, 20, 30, 14, 2, 3, 5, 29, 9, 13, 3],
"result": "valid"
},
{
"tcId": 920,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [20, 31, 27, 4, 17, 31, 22, 27, 22, 26, 29, 26, 0, 17, 26, 27, 19, 6, 30, 23, 5, 8, 10, 14, 14],
"result": "valid"
},
{
"tcId": 921,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [12, 13, 22, 17, 23, 25, 23, 13, 1, 30, 7, 5, 18, 5, 24, 26, 9, 7, 3, 3, 16, 12, 14, 24, 2],
"result": "valid"
},
{
"tcId": 922,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [8, 28, 3, 13, 15, 31, 21, 8, 13, 29, 25, 0, 30, 1, 1, 23, 22, 16, 14, 22, 10, 21, 20, 31, 1],
"ct": [8, 19, 28, 13, 11, 23, 4, 17, 27, 23, 31, 16, 2, 4, 19, 10, 25, 25, 2, 9, 6, 30, 30, 3, 26],
"result": "valid"
},
{
"tcId": 923,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [10, 15, 21, 8, 10, 31, 16, 4, 6, 11, 17, 30, 17, 4, 13, 30, 30, 6, 3, 7, 10, 10, 22, 8, 1],
"ct": [21, 29, 24, 20, 25, 31, 30, 23, 30, 6, 19, 12, 11, 1, 31, 10, 4, 0, 14, 18, 5, 24, 24, 23, 10],
"result": "valid"
},
{
"tcId": 924,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [4, 26, 6, 21, 29, 27, 14, 10, 2, 16, 30, 19, 7, 14, 26, 14, 28, 26, 1, 29, 7, 27, 18, 3, 19],
"ct": [10, 16, 14, 29, 19, 7, 10, 20, 16, 20, 24, 30, 2, 12, 8, 7, 29, 24, 13, 24, 23, 16, 17, 4, 31],
"result": "valid"
},
{
"tcId": 925,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [19, 23, 25, 3, 6, 0, 2, 20, 21, 18, 4, 17, 17, 10, 16, 27, 11, 28, 11, 22, 30, 5, 25, 30, 21],
"ct": [7, 22, 12, 10, 22, 0, 23, 27, 5, 13, 12, 21, 8, 20, 20, 18, 24, 16, 1, 4, 19, 26, 1, 19, 14],
"result": "valid"
},
{
"tcId": 926,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [10, 24, 7, 18, 1, 8, 13, 14, 7, 31, 2, 30, 6, 5, 28, 20, 22, 4, 25, 10, 17, 17, 13, 8, 20],
"ct": [14, 30, 25, 3, 4, 4, 15, 11, 0, 2, 21, 4, 9, 4, 6, 7, 17, 8, 26, 1, 6, 27, 15, 1, 12],
"result": "valid"
},
{
"tcId": 927,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [18, 29, 28, 27, 11, 23, 5, 29, 9, 31, 17, 15, 11, 3, 0, 29, 18, 11, 21, 21, 18, 3, 24, 5, 28],
"ct": [9, 27, 13, 7, 23, 15, 16, 15, 14, 6, 18, 27, 11, 7, 6, 23, 11, 16, 15, 11, 6, 8, 19, 0, 29],
"result": "valid"
},
{
"tcId": 928,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [0, 28, 31, 11, 14, 29, 10, 26, 10, 25, 30, 2, 25, 3, 13, 21, 21, 25, 0, 0, 21, 8, 11, 21, 24],
"ct": [29, 3, 15, 30, 6, 30, 15, 27, 21, 3, 13, 19, 22, 30, 28, 6, 11, 30, 20, 22, 18, 8, 29, 16, 7],
"result": "valid"
},
{
"tcId": 929,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [7, 5, 21, 28, 17, 16, 19, 19, 20, 19, 1, 10, 27, 14, 30, 15, 13, 6, 28, 31, 10, 9, 11, 28, 18],
"ct": [30, 26, 23, 15, 3, 0, 19, 0, 1, 8, 8, 31, 16, 20, 15, 7, 29, 11, 8, 12, 7, 25, 17, 24, 3],
"result": "valid"
},
{
"tcId": 930,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [30, 13, 24, 5, 7, 30, 26, 14, 4, 6, 22, 31, 28, 16, 24, 12, 0, 16, 16, 20, 4, 17, 15, 4, 2],
"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": 931,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [8, 7, 8, 18, 3, 18, 6, 18, 22, 20, 2, 9, 22, 1, 3, 19, 1, 28, 24, 27, 14, 2, 27, 22, 27],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 932,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [12, 28, 20, 15, 20, 12, 4, 25, 4, 27, 16, 6, 10, 8, 18, 15, 18, 12, 19, 12, 22, 9, 14, 16, 24],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 933,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3559556c121b36b3586c6c583f3c2d9c",
"tweak": "9c9dcdb1c0690bea",
"msg": [7, 14, 27, 8, 29, 25, 19, 21, 0, 21, 8, 5, 1, 30, 13, 26, 18, 29, 26, 9, 17, 21, 25, 20, 25],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 934,
"comment": "y is maximal and (y + a) % radix**12 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "80979613be85f8253f191c6e21e850cd63513438176d",
"msg": [22, 0, 27, 26, 21, 16, 16, 9, 1, 15, 19, 15, 17, 3, 27, 30, 2, 6, 9, 28, 12, 2, 16, 10, 18],
"ct": [1, 28, 4, 8, 4, 16, 28, 13, 19, 29, 25, 15, 10, 4, 1, 16, 21, 22, 2, 25, 31, 30, 7, 14, 16],
"result": "valid"
},
{
"tcId": 935,
"comment": "y is maximal and (y + a) % radix**12 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "80979613be85f8253f191c6e21e850cd63513438176d",
"msg": [21, 20, 27, 1, 0, 7, 27, 25, 0, 12, 20, 13, 7, 27, 30, 12, 25, 25, 23, 22, 3, 31, 26, 12, 22],
"ct": [18, 26, 19, 15, 26, 2, 1, 15, 8, 18, 13, 16, 19, 8, 28, 0, 6, 10, 11, 11, 20, 31, 12, 13, 10],
"result": "valid"
},
{
"tcId": 936,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "80979613be85f8253f191c6e21e850cd63513438176d",
"msg": [15, 10, 22, 2, 24, 30, 12, 3, 12, 5, 7, 10, 31, 13, 17, 3, 21, 28, 25, 2, 15, 3, 3, 28, 5],
"ct": [19, 27, 18, 0, 9, 2, 11, 4, 12, 30, 25, 8, 30, 16, 18, 6, 24, 1, 11, 1, 22, 10, 18, 10, 6],
"result": "valid"
},
{
"tcId": 937,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "80979613be85f8253f191c6e21e850cd63513438176d",
"msg": [13, 6, 30, 10, 25, 19, 26, 15, 10, 20, 23, 17, 25, 8, 28, 29, 7, 24, 21, 28, 27, 31, 3, 15, 21],
"ct": [29, 18, 29, 6, 28, 16, 21, 4, 27, 21, 27, 21, 10, 29, 7, 7, 27, 11, 3, 5, 7, 22, 28, 10, 23],
"result": "valid"
},
{
"tcId": 938,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "2f8348a32355e6b6884d36457e2f1a5811c3ebcaaf21",
"msg": [27, 12, 25, 13, 25, 21, 17, 4, 23, 30, 26, 10, 8, 2, 20, 15, 9, 27, 5, 28, 19, 21, 7, 17, 15],
"ct": [11, 17, 7, 27, 21, 5, 30, 10, 0, 8, 26, 0, 4, 17, 1, 0, 11, 13, 31, 11, 20, 17, 24, 24, 31],
"result": "valid"
},
{
"tcId": 939,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "2f8348a32355e6b6884d36457e2f1a5811c3ebcaaf21",
"msg": [22, 12, 18, 23, 10, 30, 22, 25, 0, 1, 5, 29, 3, 21, 19, 17, 11, 6, 2, 28, 7, 4, 15, 12, 22],
"ct": [28, 22, 8, 16, 0, 27, 12, 11, 6, 27, 18, 5, 17, 29, 14, 28, 30, 0, 26, 6, 31, 4, 26, 2, 6],
"result": "valid"
},
{
"tcId": 940,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "2f8348a32355e6b6884d36457e2f1a5811c3ebcaaf21",
"msg": [14, 12, 14, 17, 11, 6, 15, 15, 23, 2, 21, 31, 27, 29, 13, 9, 17, 12, 0, 20, 4, 4, 16, 20, 7],
"ct": [0, 24, 10, 15, 26, 28, 21, 17, 26, 20, 16, 31, 17, 9, 2, 5, 10, 16, 7, 24, 2, 13, 19, 21, 26],
"result": "valid"
},
{
"tcId": 941,
"comment": "y is maximal after modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0526b8cd9181cbe9d29e520aef6d33b9",
"tweak": "2f8348a32355e6b6884d36457e2f1a5811c3ebcaaf21",
"msg": [19, 28, 7, 24, 0, 11, 25, 20, 2, 26, 16, 26, 7, 7, 11, 30, 24, 22, 21, 8, 19, 28, 8, 7, 24],
"ct": [28, 18, 21, 4, 5, 1, 5, 30, 31, 25, 14, 3, 0, 10, 4, 0, 19, 19, 4, 2, 0, 16, 10, 27, 21],
"result": "valid"
},
{
"tcId": 942,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "757d6cfed88de9a000990ad046202ce4",
"tweak": "97e4070e26277b60",
"msg": [-1, 5, 30, 12, 15, 10, 2, 7, 19, 6, 21, 5, 8, 3, 21, 9, 21, 1, 8, 11, 17, 19, 19, 30, 25],
"ct": [10, 23, 9, 18, 24, 12, 10, 15, 11, 2, 17, 27, 23, 18, 19, 10, 0, 31, 23, 22, 3, 29, 28, 18, 5],
"result": "invalid"
},
{
"tcId": 943,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "757d6cfed88de9a000990ad046202ce4",
"tweak": "97e4070e26277b60",
"msg": [26, 5, 30, 12, 15, 10, 2, 7, -1, 6, 21, 5, 8, 3, 21, 9, 21, 1, 8, 11, 17, 19, 19, 30, 25],
"ct": [15, 25, 10, 1, 19, 22, 25, 20, 6, 14, 22, 21, 1, 20, 10, 26, 21, 5, 25, 29, 31, 26, 16, 29, 26],
"result": "invalid"
},
{
"tcId": 944,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "757d6cfed88de9a000990ad046202ce4",
"tweak": "97e4070e26277b60",
"msg": [26, 5, 30, 12, 15, 10, 2, 7, 19, 6, 21, 5, 8, 3, 21, 9, 21, 1, 8, 11, 17, 19, 19, 30, -1],
"ct": [16, 16, 8, 14, 19, 23, 1, 8, 30, 9, 16, 22, 14, 21, 24, 12, 17, 27, 25, 20, 28, 13, 8, 27, 18],
"result": "invalid"
},
{
"tcId": 945,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4c88481488ef3fa7ca52680465bef527",
"tweak": "05d80cd6d7a7184a",
"msg": [32, 10, 3, 9, 0, 9, 17, 19, 27, 0, 7, 19, 12, 13, 17, 19, 1, 27, 10, 16, 8, 14, 8, 16, 15],
"ct": [10, 18, 14, 12, 23, 22, 19, 20, 12, 2, 1, 4, 26, 22, 7, 1, 9, 2, 3, 20, 11, 4, 9, 8, 19],
"result": "invalid"
},
{
"tcId": 946,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4c88481488ef3fa7ca52680465bef527",
"tweak": "05d80cd6d7a7184a",
"msg": [3, 10, 3, 9, 0, 9, 17, 19, 32, 0, 7, 19, 12, 13, 17, 19, 1, 27, 10, 16, 8, 14, 8, 16, 15],
"ct": [23, 22, 13, 24, 26, 14, 0, 12, 0, 17, 14, 12, 2, 28, 24, 16, 6, 11, 18, 10, 11, 27, 14, 0, 7],
"result": "invalid"
},
{
"tcId": 947,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4c88481488ef3fa7ca52680465bef527",
"tweak": "05d80cd6d7a7184a",
"msg": [3, 10, 3, 9, 0, 9, 17, 19, 27, 0, 7, 19, 12, 13, 17, 19, 1, 27, 10, 16, 8, 14, 8, 16, 32],
"ct": [31, 23, 4, 29, 3, 4, 6, 29, 14, 5, 14, 22, 29, 11, 2, 19, 17, 18, 20, 25, 6, 17, 8, 12, 12],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 4,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 948,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "f9626066827656fe088a7bf737c1cc1a3a3adc7015ffee7f",
"tweak": "bc6d9ff72c250366",
"msg": [14, 29, 24, 16],
"ct": [29, 22, 22, 28],
"result": "valid"
},
{
"tcId": 949,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [0, 0, 0, 0],
"ct": [30, 13, 23, 2],
"result": "valid"
},
{
"tcId": 950,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [31, 31, 31, 31],
"ct": [22, 5, 17, 3],
"result": "valid"
},
{
"tcId": 951,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [16, 0, 16, 0],
"ct": [10, 6, 7, 22],
"result": "valid"
},
{
"tcId": 952,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [15, 31, 15, 31],
"ct": [12, 30, 2, 15],
"result": "valid"
},
{
"tcId": 953,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [23, 10, 31, 28],
"ct": [23, 17, 6, 0],
"result": "valid"
},
{
"tcId": 954,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [14, 3, 27, 18],
"ct": [21, 18, 8, 6],
"result": "valid"
},
{
"tcId": 955,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [3, 6, 25, 8],
"ct": [29, 10, 22, 1],
"result": "valid"
},
{
"tcId": 956,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [9, 14, 27, 0],
"ct": [21, 21, 25, 29],
"result": "valid"
},
{
"tcId": 957,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [17, 3, 22, 21],
"ct": [0, 3, 17, 9],
"result": "valid"
},
{
"tcId": 958,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [14, 9, 4, 13],
"ct": [17, 20, 0, 22],
"result": "valid"
},
{
"tcId": 959,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [7, 7, 6, 10],
"ct": [3, 23, 21, 2],
"result": "valid"
},
{
"tcId": 960,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [22, 4, 14, 23],
"ct": [9, 1, 11, 14],
"result": "valid"
},
{
"tcId": 961,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [15, 3, 24, 19],
"ct": [0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 962,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [28, 24, 2, 22],
"ct": [31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 963,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [1, 25, 6, 6],
"ct": [16, 0, 16, 0],
"result": "valid"
},
{
"tcId": 964,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc",
"tweak": "f7e902be3a607c1c",
"msg": [25, 12, 6, 7],
"ct": [15, 31, 15, 31],
"result": "valid"
},
{
"tcId": 965,
"comment": "y = 0 and (y + a) % radix**2 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "57bced027c66aa22a702ab4e53",
"msg": [26, 26, 18, 5],
"ct": [9, 16, 26, 31],
"result": "valid"
},
{
"tcId": 966,
"comment": "y = 0 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "57bced027c66aa22a702ab4e53",
"msg": [10, 28, 7, 3],
"ct": [19, 28, 28, 25],
"result": "valid"
},
{
"tcId": 967,
"comment": "y = 0 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "57bced027c66aa22a702ab4e53",
"msg": [23, 18, 8, 14],
"ct": [9, 6, 15, 14],
"result": "valid"
},
{
"tcId": 968,
"comment": "y = 0 and (y + a) % radix**2 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "57bced027c66aa22a702ab4e53",
"msg": [29, 8, 21, 26],
"ct": [18, 21, 1, 29],
"result": "valid"
},
{
"tcId": 969,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "fbffa5ca54088c639c72f757d4",
"msg": [9, 7, 6, 15],
"ct": [25, 17, 8, 27],
"result": "valid"
},
{
"tcId": 970,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "fbffa5ca54088c639c72f757d4",
"msg": [4, 1, 2, 18],
"ct": [10, 30, 12, 16],
"result": "valid"
},
{
"tcId": 971,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "fbffa5ca54088c639c72f757d4",
"msg": [24, 17, 9, 31],
"ct": [18, 0, 25, 13],
"result": "valid"
},
{
"tcId": 972,
"comment": "y = 1 and (y + a) % radix**2 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "fbffa5ca54088c639c72f757d4",
"msg": [13, 16, 30, 13],
"ct": [17, 18, 2, 7],
"result": "valid"
},
{
"tcId": 973,
"comment": "y = 1 and (y + a) % radix**2 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "fbffa5ca54088c639c72f757d4",
"msg": [9, 0, 27, 4],
"ct": [23, 7, 11, 18],
"result": "valid"
},
{
"tcId": 974,
"comment": "y is maximal and (y + a) % radix**2 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "4bcae1df59c8bd7abc3dcc1e78",
"msg": [0, 0, 6, 14],
"ct": [20, 11, 18, 4],
"result": "valid"
},
{
"tcId": 975,
"comment": "y is maximal and (y + a) % radix**2 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "4bcae1df59c8bd7abc3dcc1e78",
"msg": [0, 1, 6, 14],
"ct": [31, 15, 24, 22],
"result": "valid"
},
{
"tcId": 976,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "4bcae1df59c8bd7abc3dcc1e78",
"msg": [16, 0, 6, 14],
"ct": [18, 28, 0, 18],
"result": "valid"
},
{
"tcId": 977,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "4bcae1df59c8bd7abc3dcc1e78",
"msg": [31, 31, 6, 14],
"ct": [0, 31, 8, 25],
"result": "valid"
},
{
"tcId": 978,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "767758f033aaa0ccc64f465e02",
"msg": [0, 0, 13, 13],
"ct": [10, 27, 28, 19],
"result": "valid"
},
{
"tcId": 979,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "767758f033aaa0ccc64f465e02",
"msg": [0, 1, 13, 13],
"ct": [2, 18, 12, 10],
"result": "valid"
},
{
"tcId": 980,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "767758f033aaa0ccc64f465e02",
"msg": [0, 31, 13, 13],
"ct": [20, 20, 2, 2],
"result": "valid"
},
{
"tcId": 981,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "767758f033aaa0ccc64f465e02",
"msg": [1, 0, 13, 13],
"ct": [0, 22, 13, 19],
"result": "valid"
},
{
"tcId": 982,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "767758f033aaa0ccc64f465e02",
"msg": [16, 0, 13, 13],
"ct": [12, 8, 25, 30],
"result": "valid"
},
{
"tcId": 983,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "767758f033aaa0ccc64f465e02",
"msg": [31, 31, 13, 13],
"ct": [25, 5, 10, 29],
"result": "valid"
},
{
"tcId": 984,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "c13aa0c9ba837d98ad03adc62f",
"msg": [2, 19, 19, 7],
"ct": [17, 9, 6, 5],
"result": "valid"
},
{
"tcId": 985,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "c13aa0c9ba837d98ad03adc62f",
"msg": [23, 11, 3, 10],
"ct": [0, 19, 4, 25],
"result": "valid"
},
{
"tcId": 986,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "c13aa0c9ba837d98ad03adc62f",
"msg": [25, 17, 20, 24],
"ct": [25, 11, 5, 12],
"result": "valid"
},
{
"tcId": 987,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3",
"tweak": "c13aa0c9ba837d98ad03adc62f",
"msg": [30, 9, 22, 9],
"ct": [2, 6, 25, 10],
"result": "valid"
},
{
"tcId": 988,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9",
"tweak": "2cd30b0db6e83292",
"msg": [-1, 17, 18, 2],
"ct": [29, 3, 22, 21],
"result": "invalid"
},
{
"tcId": 989,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9",
"tweak": "2cd30b0db6e83292",
"msg": [28, -1, 18, 2],
"ct": [4, 19, 19, 10],
"result": "invalid"
},
{
"tcId": 990,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9",
"tweak": "2cd30b0db6e83292",
"msg": [28, 17, 18, -1],
"ct": [10, 2, 16, 18],
"result": "invalid"
},
{
"tcId": 991,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d89e32bf664c9a7383b5354f0da3f9c9a90e63fbcea30087",
"tweak": "14cb008031297e92",
"msg": [32, 8, 21, 27],
"ct": [0, 21, 14, 24],
"result": "invalid"
},
{
"tcId": 992,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d89e32bf664c9a7383b5354f0da3f9c9a90e63fbcea30087",
"tweak": "14cb008031297e92",
"msg": [25, 32, 21, 27],
"ct": [18, 5, 0, 19],
"result": "invalid"
},
{
"tcId": 993,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d89e32bf664c9a7383b5354f0da3f9c9a90e63fbcea30087",
"tweak": "14cb008031297e92",
"msg": [25, 8, 21, 32],
"ct": [0, 17, 16, 0],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 5,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 994,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "a6c055a8cba4718f411d1a3d9c9e2051261ce3e369b2fa13",
"tweak": "c5d9512a52de22b7",
"msg": [23, 6, 18, 27, 20],
"ct": [14, 31, 26, 11, 1],
"result": "valid"
},
{
"tcId": 995,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [0, 0, 0, 0, 0],
"ct": [23, 12, 9, 1, 21],
"result": "valid"
},
{
"tcId": 996,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [31, 31, 31, 31, 31],
"ct": [27, 1, 5, 28, 25],
"result": "valid"
},
{
"tcId": 997,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [16, 0, 16, 0, 0],
"ct": [29, 12, 15, 20, 3],
"result": "valid"
},
{
"tcId": 998,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [15, 31, 15, 31, 31],
"ct": [30, 26, 27, 28, 24],
"result": "valid"
},
{
"tcId": 999,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [5, 2, 5, 13, 5],
"ct": [14, 21, 13, 27, 13],
"result": "valid"
},
{
"tcId": 1000,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [3, 17, 16, 23, 4],
"ct": [28, 1, 4, 9, 19],
"result": "valid"
},
{
"tcId": 1001,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [15, 12, 1, 8, 25],
"ct": [11, 25, 12, 31, 12],
"result": "valid"
},
{
"tcId": 1002,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [4, 24, 3, 6, 9],
"ct": [17, 20, 0, 29, 29],
"result": "valid"
},
{
"tcId": 1003,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [28, 30, 18, 28, 28],
"ct": [22, 17, 5, 0, 6],
"result": "valid"
},
{
"tcId": 1004,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [20, 9, 24, 8, 5],
"ct": [19, 3, 10, 12, 9],
"result": "valid"
},
{
"tcId": 1005,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [31, 9, 16, 27, 23],
"ct": [15, 6, 25, 23, 25],
"result": "valid"
},
{
"tcId": 1006,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [11, 23, 17, 8, 2],
"ct": [26, 1, 27, 24, 7],
"result": "valid"
},
{
"tcId": 1007,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [17, 10, 11, 6, 27],
"ct": [0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1008,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [23, 18, 24, 18, 2],
"ct": [31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1009,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [5, 6, 12, 30, 10],
"ct": [16, 0, 16, 0, 0],
"result": "valid"
},
{
"tcId": 1010,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e",
"tweak": "bdbf3377d69e6a6e",
"msg": [15, 27, 3, 14, 8],
"ct": [15, 31, 15, 31, 31],
"result": "valid"
},
{
"tcId": 1011,
"comment": "y = 0 and (y + a) % radix**2 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "3ff5be2e5218ff3583696337b2",
"msg": [19, 14, 12, 6, 18],
"ct": [0, 0, 6, 10, 31],
"result": "valid"
},
{
"tcId": 1012,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "3ff5be2e5218ff3583696337b2",
"msg": [8, 0, 7, 25, 28],
"ct": [0, 1, 12, 7, 25],
"result": "valid"
},
{
"tcId": 1013,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "3ff5be2e5218ff3583696337b2",
"msg": [18, 19, 25, 9, 10],
"ct": [16, 0, 23, 31, 29],
"result": "valid"
},
{
"tcId": 1014,
"comment": "y = 0 and (y + a) % radix**2 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "3ff5be2e5218ff3583696337b2",
"msg": [11, 21, 6, 24, 14],
"ct": [31, 31, 6, 5, 18],
"result": "valid"
},
{
"tcId": 1015,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "3bce522564b3c65fbec49ba175",
"msg": [2, 19, 18, 11, 29],
"ct": [28, 7, 9, 8, 2],
"result": "valid"
},
{
"tcId": 1016,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "3bce522564b3c65fbec49ba175",
"msg": [22, 5, 10, 10, 16],
"ct": [2, 23, 15, 18, 25],
"result": "valid"
},
{
"tcId": 1017,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "3bce522564b3c65fbec49ba175",
"msg": [22, 27, 23, 15, 5],
"ct": [0, 12, 30, 1, 19],
"result": "valid"
},
{
"tcId": 1018,
"comment": "y = 1 and (y + a) % radix**2 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "3bce522564b3c65fbec49ba175",
"msg": [30, 19, 23, 0, 12],
"ct": [5, 9, 13, 15, 7],
"result": "valid"
},
{
"tcId": 1019,
"comment": "y = 1 and (y + a) % radix**2 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "3bce522564b3c65fbec49ba175",
"msg": [24, 5, 20, 7, 5],
"ct": [27, 5, 4, 5, 2],
"result": "valid"
},
{
"tcId": 1020,
"comment": "y is maximal and (y + a) % radix**2 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "50b0fe6e1ea070acd0683f7c73",
"msg": [13, 19, 5, 24, 9],
"ct": [8, 17, 20, 7, 19],
"result": "valid"
},
{
"tcId": 1021,
"comment": "y is maximal and (y + a) % radix**2 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "50b0fe6e1ea070acd0683f7c73",
"msg": [18, 31, 11, 10, 13],
"ct": [27, 8, 0, 2, 8],
"result": "valid"
},
{
"tcId": 1022,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "50b0fe6e1ea070acd0683f7c73",
"msg": [25, 24, 25, 20, 21],
"ct": [26, 28, 3, 11, 13],
"result": "valid"
},
{
"tcId": 1023,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "50b0fe6e1ea070acd0683f7c73",
"msg": [9, 18, 7, 27, 26],
"ct": [21, 18, 20, 14, 11],
"result": "valid"
},
{
"tcId": 1024,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "219de9ae1be240ecc0b7c30bcd",
"msg": [16, 16, 29, 30, 28],
"ct": [28, 30, 20, 21, 21],
"result": "valid"
},
{
"tcId": 1025,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "219de9ae1be240ecc0b7c30bcd",
"msg": [27, 19, 19, 3, 2],
"ct": [1, 21, 6, 20, 30],
"result": "valid"
},
{
"tcId": 1026,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "219de9ae1be240ecc0b7c30bcd",
"msg": [4, 1, 23, 28, 2],
"ct": [19, 22, 16, 1, 7],
"result": "valid"
},
{
"tcId": 1027,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "219de9ae1be240ecc0b7c30bcd",
"msg": [24, 27, 16, 25, 6],
"ct": [2, 0, 18, 15, 6],
"result": "valid"
},
{
"tcId": 1028,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "219de9ae1be240ecc0b7c30bcd",
"msg": [16, 3, 5, 2, 27],
"ct": [29, 8, 1, 1, 0],
"result": "valid"
},
{
"tcId": 1029,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "219de9ae1be240ecc0b7c30bcd",
"msg": [11, 12, 2, 10, 19],
"ct": [8, 0, 29, 16, 4],
"result": "valid"
},
{
"tcId": 1030,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "2c04b988c48121002013ecc40f",
"msg": [10, 0, 15, 28, 12],
"ct": [24, 6, 11, 18, 20],
"result": "valid"
},
{
"tcId": 1031,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "2c04b988c48121002013ecc40f",
"msg": [3, 20, 13, 1, 16],
"ct": [10, 11, 17, 31, 30],
"result": "valid"
},
{
"tcId": 1032,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "2c04b988c48121002013ecc40f",
"msg": [10, 20, 9, 27, 4],
"ct": [16, 24, 20, 6, 4],
"result": "valid"
},
{
"tcId": 1033,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894",
"tweak": "2c04b988c48121002013ecc40f",
"msg": [19, 12, 21, 23, 11],
"ct": [3, 30, 21, 27, 28],
"result": "valid"
},
{
"tcId": 1034,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd",
"tweak": "2ae737de3b2aa4b0",
"msg": [-1, 28, 30, 25, 22],
"ct": [10, 26, 5, 15, 8],
"result": "invalid"
},
{
"tcId": 1035,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd",
"tweak": "2ae737de3b2aa4b0",
"msg": [12, -1, 30, 25, 22],
"ct": [2, 19, 11, 21, 26],
"result": "invalid"
},
{
"tcId": 1036,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd",
"tweak": "2ae737de3b2aa4b0",
"msg": [12, 28, 30, 25, -1],
"ct": [8, 13, 26, 9, 18],
"result": "invalid"
},
{
"tcId": 1037,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8e11fa279ec41552c272855863d552e373424c4c87433dc7",
"tweak": "caf0ff52ce094f0a",
"msg": [32, 18, 14, 5, 21],
"ct": [11, 18, 6, 15, 5],
"result": "invalid"
},
{
"tcId": 1038,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8e11fa279ec41552c272855863d552e373424c4c87433dc7",
"tweak": "caf0ff52ce094f0a",
"msg": [20, 32, 14, 5, 21],
"ct": [10, 15, 5, 28, 2],
"result": "invalid"
},
{
"tcId": 1039,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8e11fa279ec41552c272855863d552e373424c4c87433dc7",
"tweak": "caf0ff52ce094f0a",
"msg": [20, 18, 14, 5, 32],
"ct": [12, 20, 0, 26, 17],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 6,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1040,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "4d7429ddc83d27457a152d4981aab3ddf56dd2410647ad47",
"tweak": "ada060734534dfa1",
"msg": [2, 4, 20, 18, 8, 21],
"ct": [3, 17, 18, 15, 7, 14],
"result": "valid"
},
{
"tcId": 1041,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [0, 0, 0, 0, 0, 0],
"ct": [31, 20, 6, 8, 6, 5],
"result": "valid"
},
{
"tcId": 1042,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [31, 31, 31, 31, 31, 31],
"ct": [28, 3, 26, 6, 1, 6],
"result": "valid"
},
{
"tcId": 1043,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [16, 0, 0, 16, 0, 0],
"ct": [8, 15, 15, 30, 24, 13],
"result": "valid"
},
{
"tcId": 1044,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [15, 31, 31, 15, 31, 31],
"ct": [22, 29, 15, 25, 18, 4],
"result": "valid"
},
{
"tcId": 1045,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [22, 28, 19, 19, 2, 8],
"ct": [4, 29, 0, 14, 18, 17],
"result": "valid"
},
{
"tcId": 1046,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [18, 26, 31, 1, 4, 16],
"ct": [20, 15, 12, 18, 17, 21],
"result": "valid"
},
{
"tcId": 1047,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [14, 31, 16, 30, 18, 18],
"ct": [11, 5, 31, 11, 23, 16],
"result": "valid"
},
{
"tcId": 1048,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [8, 4, 16, 24, 31, 6],
"ct": [1, 17, 8, 0, 14, 5],
"result": "valid"
},
{
"tcId": 1049,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [6, 2, 27, 19, 10, 16],
"ct": [7, 5, 29, 9, 22, 16],
"result": "valid"
},
{
"tcId": 1050,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [5, 20, 22, 8, 13, 24],
"ct": [31, 22, 10, 31, 14, 20],
"result": "valid"
},
{
"tcId": 1051,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [1, 4, 12, 19, 16, 2],
"ct": [21, 25, 18, 24, 10, 7],
"result": "valid"
},
{
"tcId": 1052,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [22, 29, 22, 20, 20, 5],
"ct": [18, 7, 15, 21, 14, 22],
"result": "valid"
},
{
"tcId": 1053,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [2, 20, 27, 31, 5, 12],
"ct": [0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1054,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [26, 6, 22, 24, 13, 27],
"ct": [31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1055,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [22, 7, 14, 21, 31, 4],
"ct": [16, 0, 0, 16, 0, 0],
"result": "valid"
},
{
"tcId": 1056,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e",
"tweak": "94045aa1a1f8fef4",
"msg": [30, 5, 19, 20, 2, 3],
"ct": [15, 31, 31, 15, 31, 31],
"result": "valid"
},
{
"tcId": 1057,
"comment": "y = 0 and (y + a) % radix**3 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "d77780e2c45b40d14b6b6982fb",
"msg": [19, 8, 27, 10, 2, 17],
"ct": [13, 24, 3, 23, 25, 5],
"result": "valid"
},
{
"tcId": 1058,
"comment": "y = 0 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "d77780e2c45b40d14b6b6982fb",
"msg": [16, 14, 13, 7, 1, 21],
"ct": [0, 4, 3, 7, 7, 12],
"result": "valid"
},
{
"tcId": 1059,
"comment": "y = 0 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "d77780e2c45b40d14b6b6982fb",
"msg": [24, 1, 6, 25, 29, 12],
"ct": [8, 0, 22, 12, 16, 5],
"result": "valid"
},
{
"tcId": 1060,
"comment": "y = 0 and (y + a) % radix**3 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "d77780e2c45b40d14b6b6982fb",
"msg": [23, 22, 14, 6, 19, 0],
"ct": [21, 27, 15, 13, 20, 21],
"result": "valid"
},
{
"tcId": 1061,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "6f7b444c3e1fa679dc77c1cbeb",
"msg": [29, 3, 10, 10, 7, 27],
"ct": [27, 26, 7, 13, 7, 31],
"result": "valid"
},
{
"tcId": 1062,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "6f7b444c3e1fa679dc77c1cbeb",
"msg": [2, 28, 17, 16, 11, 22],
"ct": [16, 16, 30, 26, 3, 26],
"result": "valid"
},
{
"tcId": 1063,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "6f7b444c3e1fa679dc77c1cbeb",
"msg": [24, 17, 26, 16, 3, 11],
"ct": [29, 1, 11, 0, 9, 17],
"result": "valid"
},
{
"tcId": 1064,
"comment": "y = 1 and (y + a) % radix**3 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "6f7b444c3e1fa679dc77c1cbeb",
"msg": [21, 16, 28, 3, 9, 16],
"ct": [20, 30, 22, 30, 24, 16],
"result": "valid"
},
{
"tcId": 1065,
"comment": "y = 1 and (y + a) % radix**3 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "6f7b444c3e1fa679dc77c1cbeb",
"msg": [20, 5, 22, 4, 1, 6],
"ct": [28, 22, 29, 20, 9, 0],
"result": "valid"
},
{
"tcId": 1066,
"comment": "y is maximal and (y + a) % radix**3 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "edf73c29e2c9c571aed9984971",
"msg": [21, 1, 25, 17, 5, 11],
"ct": [30, 13, 13, 6, 9, 14],
"result": "valid"
},
{
"tcId": 1067,
"comment": "y is maximal and (y + a) % radix**3 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "edf73c29e2c9c571aed9984971",
"msg": [20, 7, 21, 30, 11, 15],
"ct": [28, 9, 6, 6, 23, 24],
"result": "valid"
},
{
"tcId": 1068,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "edf73c29e2c9c571aed9984971",
"msg": [9, 14, 21, 9, 22, 8],
"ct": [24, 30, 5, 25, 31, 5],
"result": "valid"
},
{
"tcId": 1069,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "edf73c29e2c9c571aed9984971",
"msg": [15, 7, 21, 21, 24, 21],
"ct": [14, 22, 22, 22, 19, 15],
"result": "valid"
},
{
"tcId": 1070,
"comment": "y is edge case for modular reduction and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "c2fef386f77cfac5bc723a0993",
"msg": [4, 28, 2, 7, 30, 2],
"ct": [16, 6, 19, 4, 4, 4],
"result": "valid"
},
{
"tcId": 1071,
"comment": "y is edge case for modular reduction and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "c2fef386f77cfac5bc723a0993",
"msg": [22, 30, 4, 4, 6, 12],
"ct": [22, 21, 30, 23, 20, 27],
"result": "valid"
},
{
"tcId": 1072,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "c2fef386f77cfac5bc723a0993",
"msg": [19, 26, 4, 29, 5, 7],
"ct": [17, 30, 29, 24, 23, 5],
"result": "valid"
},
{
"tcId": 1073,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "c2fef386f77cfac5bc723a0993",
"msg": [12, 24, 22, 22, 13, 27],
"ct": [3, 4, 12, 14, 21, 16],
"result": "valid"
},
{
"tcId": 1074,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "c2fef386f77cfac5bc723a0993",
"msg": [3, 3, 21, 17, 1, 8],
"ct": [27, 3, 6, 5, 5, 0],
"result": "valid"
},
{
"tcId": 1075,
"comment": "y is edge case for modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "c2fef386f77cfac5bc723a0993",
"msg": [0, 7, 12, 31, 17, 7],
"ct": [24, 6, 1, 3, 13, 11],
"result": "valid"
},
{
"tcId": 1076,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "f3581101765030088d5e695ccb",
"msg": [19, 7, 15, 0, 0, 0],
"ct": [20, 3, 11, 26, 18, 23],
"result": "valid"
},
{
"tcId": 1077,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "f3581101765030088d5e695ccb",
"msg": [21, 16, 24, 0, 0, 1],
"ct": [25, 28, 15, 17, 4, 13],
"result": "valid"
},
{
"tcId": 1078,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "f3581101765030088d5e695ccb",
"msg": [6, 9, 14, 16, 0, 0],
"ct": [23, 27, 7, 6, 28, 18],
"result": "valid"
},
{
"tcId": 1079,
"comment": "y is maximal after modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "554366274f70a25ea36c134016e632c910fb14f397c950ed",
"tweak": "f3581101765030088d5e695ccb",
"msg": [14, 19, 27, 31, 31, 31],
"ct": [27, 3, 30, 25, 21, 21],
"result": "valid"
},
{
"tcId": 1080,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda",
"tweak": "c0b22a647b59d5ca",
"msg": [-1, 21, 21, 28, 30, 27],
"ct": [10, 13, 16, 5, 11, 10],
"result": "invalid"
},
{
"tcId": 1081,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda",
"tweak": "c0b22a647b59d5ca",
"msg": [14, 21, -1, 28, 30, 27],
"ct": [12, 13, 7, 18, 3, 15],
"result": "invalid"
},
{
"tcId": 1082,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda",
"tweak": "c0b22a647b59d5ca",
"msg": [14, 21, 21, 28, 30, -1],
"ct": [19, 5, 23, 5, 23, 1],
"result": "invalid"
},
{
"tcId": 1083,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ffe6525916959a1d54427490f0aaf28f63a471c52102db61",
"tweak": "8df0420bf6598032",
"msg": [32, 1, 26, 27, 19, 4],
"ct": [15, 8, 2, 5, 15, 5],
"result": "invalid"
},
{
"tcId": 1084,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ffe6525916959a1d54427490f0aaf28f63a471c52102db61",
"tweak": "8df0420bf6598032",
"msg": [17, 1, 32, 27, 19, 4],
"ct": [7, 29, 17, 8, 15, 15],
"result": "invalid"
},
{
"tcId": 1085,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ffe6525916959a1d54427490f0aaf28f63a471c52102db61",
"tweak": "8df0420bf6598032",
"msg": [17, 1, 26, 27, 19, 32],
"ct": [9, 11, 27, 21, 7, 12],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 7,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1086,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "87f7c60d04f5313cff17a4e7fad56c33b0afb439939c1ab5",
"tweak": "20e854d3f367ab8e",
"msg": [8, 29, 9, 0, 16, 28, 8],
"ct": [31, 21, 15, 7, 31, 4, 14],
"result": "valid"
},
{
"tcId": 1087,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [0, 0, 0, 0, 0, 0, 0],
"ct": [8, 14, 29, 10, 0, 8, 24],
"result": "valid"
},
{
"tcId": 1088,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [31, 31, 31, 31, 31, 31, 31],
"ct": [13, 25, 1, 0, 10, 13, 26],
"result": "valid"
},
{
"tcId": 1089,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [16, 0, 0, 16, 0, 0, 0],
"ct": [30, 3, 14, 18, 29, 13, 20],
"result": "valid"
},
{
"tcId": 1090,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [15, 31, 31, 15, 31, 31, 31],
"ct": [17, 4, 12, 14, 6, 15, 7],
"result": "valid"
},
{
"tcId": 1091,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [21, 1, 17, 18, 14, 4, 19],
"ct": [11, 30, 1, 19, 19, 11, 19],
"result": "valid"
},
{
"tcId": 1092,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [26, 2, 9, 15, 3, 31, 6],
"ct": [6, 6, 23, 19, 2, 28, 19],
"result": "valid"
},
{
"tcId": 1093,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [22, 22, 24, 1, 9, 15, 18],
"ct": [26, 17, 10, 3, 18, 30, 6],
"result": "valid"
},
{
"tcId": 1094,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [30, 16, 10, 3, 4, 1, 7],
"ct": [31, 6, 26, 11, 10, 20, 17],
"result": "valid"
},
{
"tcId": 1095,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [22, 12, 26, 6, 31, 26, 11],
"ct": [22, 24, 8, 26, 2, 2, 25],
"result": "valid"
},
{
"tcId": 1096,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [30, 12, 5, 19, 22, 26, 12],
"ct": [19, 2, 28, 22, 7, 4, 6],
"result": "valid"
},
{
"tcId": 1097,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [3, 21, 19, 6, 19, 19, 9],
"ct": [29, 21, 10, 14, 18, 11, 1],
"result": "valid"
},
{
"tcId": 1098,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [22, 18, 2, 2, 30, 21, 8],
"ct": [24, 13, 19, 10, 26, 1, 18],
"result": "valid"
},
{
"tcId": 1099,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [8, 2, 15, 9, 31, 30, 5],
"ct": [0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1100,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [16, 22, 16, 15, 9, 15, 23],
"ct": [31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1101,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [22, 12, 21, 10, 21, 12, 30],
"ct": [16, 0, 0, 16, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1102,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c",
"tweak": "b08eb74eb083e732",
"msg": [24, 14, 8, 16, 27, 21, 5],
"ct": [15, 31, 31, 15, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1103,
"comment": "y = 0 and (y + a) % radix**3 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "99e421a1eed63fec0616b779",
"msg": [0, 0, 0, 29, 5, 3, 20],
"ct": [28, 25, 19, 23, 31, 19, 22],
"result": "valid"
},
{
"tcId": 1104,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "99e421a1eed63fec0616b779",
"msg": [0, 0, 1, 29, 5, 3, 20],
"ct": [25, 17, 31, 30, 3, 18, 1],
"result": "valid"
},
{
"tcId": 1105,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "99e421a1eed63fec0616b779",
"msg": [16, 0, 0, 29, 5, 3, 20],
"ct": [15, 7, 31, 16, 10, 28, 14],
"result": "valid"
},
{
"tcId": 1106,
"comment": "y = 0 and (y + a) % radix**3 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "99e421a1eed63fec0616b779",
"msg": [31, 31, 31, 29, 5, 3, 20],
"ct": [0, 27, 17, 29, 0, 21, 27],
"result": "valid"
},
{
"tcId": 1107,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "dcef86362bcfd95de9343e10",
"msg": [15, 30, 4, 21, 27, 30, 28],
"ct": [14, 28, 31, 11, 31, 18, 31],
"result": "valid"
},
{
"tcId": 1108,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "dcef86362bcfd95de9343e10",
"msg": [10, 18, 13, 1, 6, 30, 12],
"ct": [31, 30, 23, 11, 29, 30, 15],
"result": "valid"
},
{
"tcId": 1109,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "dcef86362bcfd95de9343e10",
"msg": [2, 22, 10, 10, 14, 12, 0],
"ct": [0, 15, 18, 3, 4, 5, 22],
"result": "valid"
},
{
"tcId": 1110,
"comment": "y = 1 and (y + a) % radix**3 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "dcef86362bcfd95de9343e10",
"msg": [4, 24, 9, 8, 10, 31, 17],
"ct": [19, 29, 15, 2, 1, 8, 27],
"result": "valid"
},
{
"tcId": 1111,
"comment": "y = 1 and (y + a) % radix**3 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "dcef86362bcfd95de9343e10",
"msg": [18, 9, 11, 6, 11, 14, 1],
"ct": [20, 2, 21, 21, 26, 14, 14],
"result": "valid"
},
{
"tcId": 1112,
"comment": "y is maximal and (y + a) % radix**3 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "cce1553a34e9ffde676fb4da",
"msg": [1, 23, 3, 21, 11, 15, 8],
"ct": [31, 31, 31, 25, 29, 18, 12],
"result": "valid"
},
{
"tcId": 1113,
"comment": "y is maximal and (y + a) % radix**3 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "cce1553a34e9ffde676fb4da",
"msg": [6, 21, 24, 13, 27, 11, 9],
"ct": [0, 0, 0, 6, 1, 15, 10],
"result": "valid"
},
{
"tcId": 1114,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "cce1553a34e9ffde676fb4da",
"msg": [26, 20, 27, 6, 3, 9, 16],
"ct": [15, 31, 31, 15, 23, 2, 1],
"result": "valid"
},
{
"tcId": 1115,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "cce1553a34e9ffde676fb4da",
"msg": [27, 30, 23, 27, 4, 29, 28],
"ct": [31, 31, 30, 1, 27, 15, 28],
"result": "valid"
},
{
"tcId": 1116,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "2437525ade765f4f095dda35",
"msg": [26, 25, 0, 4, 13, 14, 1],
"ct": [31, 31, 0, 5, 15, 6, 13],
"result": "valid"
},
{
"tcId": 1117,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "2437525ade765f4f095dda35",
"msg": [19, 23, 25, 8, 28, 25, 9],
"ct": [31, 31, 1, 13, 26, 27, 25],
"result": "valid"
},
{
"tcId": 1118,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "2437525ade765f4f095dda35",
"msg": [10, 4, 15, 5, 24, 16, 10],
"ct": [31, 31, 31, 10, 14, 13, 28],
"result": "valid"
},
{
"tcId": 1119,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "2437525ade765f4f095dda35",
"msg": [13, 17, 22, 16, 16, 18, 20],
"ct": [0, 0, 0, 11, 19, 15, 3],
"result": "valid"
},
{
"tcId": 1120,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "2437525ade765f4f095dda35",
"msg": [9, 21, 21, 9, 27, 25, 27],
"ct": [15, 31, 0, 21, 3, 17, 11],
"result": "valid"
},
{
"tcId": 1121,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "2437525ade765f4f095dda35",
"msg": [25, 9, 25, 1, 24, 20, 9],
"ct": [31, 30, 31, 4, 7, 25, 26],
"result": "valid"
},
{
"tcId": 1122,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "eaa291a08a30c7faa68acf8a",
"msg": [0, 0, 0, 8, 21, 1, 7],
"ct": [10, 28, 8, 2, 2, 28, 19],
"result": "valid"
},
{
"tcId": 1123,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "eaa291a08a30c7faa68acf8a",
"msg": [0, 0, 1, 8, 21, 1, 7],
"ct": [4, 23, 31, 17, 13, 30, 19],
"result": "valid"
},
{
"tcId": 1124,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "eaa291a08a30c7faa68acf8a",
"msg": [16, 0, 0, 8, 21, 1, 7],
"ct": [31, 10, 24, 9, 9, 19, 7],
"result": "valid"
},
{
"tcId": 1125,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695",
"tweak": "eaa291a08a30c7faa68acf8a",
"msg": [31, 31, 31, 8, 21, 1, 7],
"ct": [3, 4, 6, 29, 10, 13, 6],
"result": "valid"
},
{
"tcId": 1126,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b",
"tweak": "60ffe987c829b479",
"msg": [-1, 17, 14, 6, 28, 22, 12],
"ct": [26, 24, 22, 17, 23, 12, 25],
"result": "invalid"
},
{
"tcId": 1127,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b",
"tweak": "60ffe987c829b479",
"msg": [3, 17, -1, 6, 28, 22, 12],
"ct": [26, 18, 16, 28, 30, 11, 13],
"result": "invalid"
},
{
"tcId": 1128,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b",
"tweak": "60ffe987c829b479",
"msg": [3, 17, 14, 6, 28, 22, -1],
"ct": [25, 1, 19, 10, 7, 31, 0],
"result": "invalid"
},
{
"tcId": 1129,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a4c04962663b17f1262496fcd92e148a0e1c96e7974eb481",
"tweak": "daedc6eeb7814438",
"msg": [32, 8, 14, 24, 26, 22, 23],
"ct": [12, 21, 14, 9, 13, 30, 1],
"result": "invalid"
},
{
"tcId": 1130,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a4c04962663b17f1262496fcd92e148a0e1c96e7974eb481",
"tweak": "daedc6eeb7814438",
"msg": [10, 8, 32, 24, 26, 22, 23],
"ct": [31, 16, 10, 21, 23, 16, 1],
"result": "invalid"
},
{
"tcId": 1131,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a4c04962663b17f1262496fcd92e148a0e1c96e7974eb481",
"tweak": "daedc6eeb7814438",
"msg": [10, 8, 14, 24, 26, 22, 32],
"ct": [12, 27, 29, 2, 20, 7, 2],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 8,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1132,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "92a79c3f030f2aba3096f2537c9d47403d9f4b2ede166d87",
"tweak": "3146e53b9e1162f2",
"msg": [12, 18, 15, 27, 18, 31, 24, 20],
"ct": [14, 17, 10, 4, 19, 20, 19, 1],
"result": "valid"
},
{
"tcId": 1133,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [0, 0, 0, 0, 0, 0, 0, 0],
"ct": [26, 28, 11, 23, 19, 12, 2, 10],
"result": "valid"
},
{
"tcId": 1134,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [31, 31, 31, 31, 31, 31, 31, 31],
"ct": [11, 15, 18, 20, 11, 9, 13, 4],
"result": "valid"
},
{
"tcId": 1135,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [16, 0, 0, 0, 16, 0, 0, 0],
"ct": [9, 27, 15, 1, 25, 26, 0, 0],
"result": "valid"
},
{
"tcId": 1136,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [15, 31, 31, 31, 15, 31, 31, 31],
"ct": [18, 1, 27, 10, 14, 30, 16, 30],
"result": "valid"
},
{
"tcId": 1137,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [11, 7, 1, 14, 6, 20, 16, 4],
"ct": [27, 27, 30, 20, 31, 10, 25, 30],
"result": "valid"
},
{
"tcId": 1138,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [11, 29, 5, 14, 3, 29, 10, 1],
"ct": [0, 24, 22, 18, 20, 13, 18, 14],
"result": "valid"
},
{
"tcId": 1139,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [24, 3, 28, 31, 0, 19, 0, 3],
"ct": [18, 14, 18, 31, 24, 9, 26, 11],
"result": "valid"
},
{
"tcId": 1140,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [15, 22, 7, 28, 30, 22, 25, 2],
"ct": [21, 22, 28, 21, 11, 5, 18, 26],
"result": "valid"
},
{
"tcId": 1141,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [19, 21, 21, 31, 16, 7, 18, 1],
"ct": [3, 23, 30, 5, 19, 27, 2, 23],
"result": "valid"
},
{
"tcId": 1142,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [1, 6, 5, 29, 16, 24, 17, 6],
"ct": [7, 17, 25, 14, 19, 12, 23, 8],
"result": "valid"
},
{
"tcId": 1143,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [9, 3, 21, 0, 16, 21, 27, 7],
"ct": [10, 23, 17, 21, 0, 19, 22, 31],
"result": "valid"
},
{
"tcId": 1144,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [20, 31, 26, 6, 24, 31, 18, 8],
"ct": [14, 10, 7, 21, 27, 12, 30, 30],
"result": "valid"
},
{
"tcId": 1145,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [17, 23, 22, 7, 13, 7, 10, 0],
"ct": [0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1146,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [8, 16, 3, 23, 18, 0, 3, 6],
"ct": [31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1147,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [0, 11, 12, 27, 31, 28, 23, 19],
"ct": [16, 0, 0, 0, 16, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1148,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b",
"tweak": "b8519119f55eeaa7",
"msg": [0, 1, 0, 16, 30, 16, 28, 21],
"ct": [15, 31, 31, 31, 15, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1149,
"comment": "y = 0 and (y + a) % radix**4 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "2bbb19700f8c50f4e3aad66e",
"msg": [29, 20, 15, 22, 25, 28, 16, 16],
"ct": [12, 10, 30, 28, 16, 4, 2, 13],
"result": "valid"
},
{
"tcId": 1150,
"comment": "y = 0 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "2bbb19700f8c50f4e3aad66e",
"msg": [19, 13, 16, 28, 8, 21, 0, 8],
"ct": [23, 6, 27, 17, 21, 29, 0, 27],
"result": "valid"
},
{
"tcId": 1151,
"comment": "y = 0 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "2bbb19700f8c50f4e3aad66e",
"msg": [18, 30, 18, 8, 12, 26, 2, 26],
"ct": [3, 18, 0, 11, 27, 30, 8, 6],
"result": "valid"
},
{
"tcId": 1152,
"comment": "y = 0 and (y + a) % radix**4 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "2bbb19700f8c50f4e3aad66e",
"msg": [29, 9, 5, 12, 18, 20, 7, 14],
"ct": [24, 0, 21, 13, 31, 31, 5, 8],
"result": "valid"
},
{
"tcId": 1153,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "bd116af787a4beda83c54e27",
"msg": [0, 0, 0, 0, 0, 28, 28, 24],
"ct": [13, 9, 0, 30, 10, 13, 4, 14],
"result": "valid"
},
{
"tcId": 1154,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "bd116af787a4beda83c54e27",
"msg": [0, 0, 0, 1, 0, 28, 28, 24],
"ct": [21, 23, 14, 28, 25, 3, 21, 8],
"result": "valid"
},
{
"tcId": 1155,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "bd116af787a4beda83c54e27",
"msg": [16, 0, 0, 0, 0, 28, 28, 24],
"ct": [15, 15, 13, 26, 8, 9, 20, 31],
"result": "valid"
},
{
"tcId": 1156,
"comment": "y = 1 and (y + a) % radix**4 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "bd116af787a4beda83c54e27",
"msg": [31, 31, 31, 30, 0, 28, 28, 24],
"ct": [9, 0, 7, 26, 16, 28, 17, 2],
"result": "valid"
},
{
"tcId": 1157,
"comment": "y = 1 and (y + a) % radix**4 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "bd116af787a4beda83c54e27",
"msg": [31, 31, 31, 31, 0, 28, 28, 24],
"ct": [16, 24, 7, 12, 7, 23, 27, 17],
"result": "valid"
},
{
"tcId": 1158,
"comment": "y is maximal and (y + a) % radix**4 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "c3f4b991c8448eb622253c68",
"msg": [24, 16, 1, 12, 13, 29, 7, 20],
"ct": [17, 13, 1, 23, 27, 18, 29, 7],
"result": "valid"
},
{
"tcId": 1159,
"comment": "y is maximal and (y + a) % radix**4 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "c3f4b991c8448eb622253c68",
"msg": [13, 2, 5, 31, 17, 2, 12, 0],
"ct": [4, 17, 16, 18, 15, 4, 18, 11],
"result": "valid"
},
{
"tcId": 1160,
"comment": "y is maximal and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "c3f4b991c8448eb622253c68",
"msg": [11, 22, 23, 18, 29, 9, 4, 28],
"ct": [29, 27, 26, 27, 15, 28, 4, 30],
"result": "valid"
},
{
"tcId": 1161,
"comment": "y is maximal and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "c3f4b991c8448eb622253c68",
"msg": [9, 1, 29, 3, 5, 10, 25, 31],
"ct": [5, 20, 23, 2, 14, 17, 10, 14],
"result": "valid"
},
{
"tcId": 1162,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "7c5974831bc4b30c46155d2c",
"msg": [12, 20, 9, 6, 16, 6, 20, 17],
"ct": [17, 15, 17, 10, 17, 28, 0, 23],
"result": "valid"
},
{
"tcId": 1163,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "7c5974831bc4b30c46155d2c",
"msg": [29, 17, 8, 18, 31, 28, 9, 28],
"ct": [11, 30, 20, 7, 26, 26, 0, 19],
"result": "valid"
},
{
"tcId": 1164,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "7c5974831bc4b30c46155d2c",
"msg": [15, 9, 7, 18, 29, 19, 22, 13],
"ct": [25, 14, 9, 18, 27, 0, 17, 8],
"result": "valid"
},
{
"tcId": 1165,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "7c5974831bc4b30c46155d2c",
"msg": [17, 5, 5, 23, 15, 10, 10, 18],
"ct": [27, 16, 29, 10, 2, 6, 20, 11],
"result": "valid"
},
{
"tcId": 1166,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "7c5974831bc4b30c46155d2c",
"msg": [13, 0, 1, 11, 23, 22, 26, 10],
"ct": [20, 27, 25, 13, 29, 23, 10, 19],
"result": "valid"
},
{
"tcId": 1167,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "7c5974831bc4b30c46155d2c",
"msg": [14, 14, 28, 20, 26, 22, 23, 9],
"ct": [31, 24, 26, 28, 5, 14, 16, 23],
"result": "valid"
},
{
"tcId": 1168,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "22b3537910a1bab4fb58e85d",
"msg": [19, 17, 3, 16, 8, 16, 0, 5],
"ct": [2, 29, 21, 15, 30, 5, 11, 2],
"result": "valid"
},
{
"tcId": 1169,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "22b3537910a1bab4fb58e85d",
"msg": [10, 5, 6, 3, 22, 6, 12, 24],
"ct": [15, 23, 22, 22, 21, 8, 1, 10],
"result": "valid"
},
{
"tcId": 1170,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "22b3537910a1bab4fb58e85d",
"msg": [6, 7, 7, 11, 29, 13, 25, 9],
"ct": [4, 23, 27, 25, 31, 31, 7, 3],
"result": "valid"
},
{
"tcId": 1171,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81",
"tweak": "22b3537910a1bab4fb58e85d",
"msg": [7, 7, 24, 3, 3, 27, 10, 0],
"ct": [20, 11, 27, 6, 10, 28, 0, 30],
"result": "valid"
},
{
"tcId": 1172,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9",
"tweak": "1a7d6192c4daa46f",
"msg": [-1, 8, 13, 1, 4, 20, 23, 7],
"ct": [8, 26, 27, 18, 10, 18, 22, 12],
"result": "invalid"
},
{
"tcId": 1173,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9",
"tweak": "1a7d6192c4daa46f",
"msg": [29, 8, -1, 1, 4, 20, 23, 7],
"ct": [15, 15, 27, 18, 10, 24, 31, 31],
"result": "invalid"
},
{
"tcId": 1174,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9",
"tweak": "1a7d6192c4daa46f",
"msg": [29, 8, 13, 1, 4, 20, 23, -1],
"ct": [11, 22, 1, 19, 7, 22, 26, 11],
"result": "invalid"
},
{
"tcId": 1175,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0f90fcc72a99a1f67ef6063bf69730628354f3a5e13c11a1",
"tweak": "8f7ea1ac68c51f35",
"msg": [32, 16, 8, 17, 10, 11, 19, 5],
"ct": [24, 20, 5, 27, 12, 16, 23, 24],
"result": "invalid"
},
{
"tcId": 1176,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0f90fcc72a99a1f67ef6063bf69730628354f3a5e13c11a1",
"tweak": "8f7ea1ac68c51f35",
"msg": [9, 16, 32, 17, 10, 11, 19, 5],
"ct": [18, 20, 13, 2, 5, 0, 9, 26],
"result": "invalid"
},
{
"tcId": 1177,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0f90fcc72a99a1f67ef6063bf69730628354f3a5e13c11a1",
"tweak": "8f7ea1ac68c51f35",
"msg": [9, 16, 8, 17, 10, 11, 19, 32],
"ct": [25, 31, 4, 10, 15, 22, 17, 12],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 9,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1178,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "c5fa236ae679d3c1d533758578e3a5c48752179eb298ac0e",
"tweak": "72ac4fc84f5bc825",
"msg": [25, 21, 15, 19, 31, 13, 12, 25, 0],
"ct": [6, 4, 30, 17, 5, 7, 11, 0, 0],
"result": "valid"
},
{
"tcId": 1179,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [21, 8, 6, 5, 11, 24, 0, 30, 12],
"result": "valid"
},
{
"tcId": 1180,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [14, 6, 24, 29, 20, 28, 8, 10, 7],
"result": "valid"
},
{
"tcId": 1181,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [16, 0, 0, 0, 16, 0, 0, 0, 0],
"ct": [24, 10, 26, 5, 16, 5, 27, 9, 26],
"result": "valid"
},
{
"tcId": 1182,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [15, 31, 31, 31, 15, 31, 31, 31, 31],
"ct": [11, 26, 12, 19, 14, 19, 4, 10, 7],
"result": "valid"
},
{
"tcId": 1183,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [19, 6, 24, 29, 24, 16, 20, 29, 30],
"ct": [16, 31, 9, 28, 19, 13, 22, 18, 10],
"result": "valid"
},
{
"tcId": 1184,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [19, 23, 31, 26, 6, 10, 8, 2, 29],
"ct": [19, 16, 30, 28, 21, 3, 19, 21, 8],
"result": "valid"
},
{
"tcId": 1185,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [9, 9, 13, 26, 6, 20, 21, 10, 15],
"ct": [4, 29, 0, 9, 14, 2, 14, 7, 19],
"result": "valid"
},
{
"tcId": 1186,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [6, 11, 29, 12, 17, 21, 8, 22, 23],
"ct": [3, 12, 27, 20, 24, 10, 10, 5, 21],
"result": "valid"
},
{
"tcId": 1187,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [23, 9, 29, 31, 18, 12, 6, 21, 21],
"ct": [14, 2, 0, 11, 22, 12, 24, 12, 24],
"result": "valid"
},
{
"tcId": 1188,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [13, 7, 21, 21, 31, 26, 8, 17, 28],
"ct": [10, 22, 19, 29, 17, 17, 20, 23, 8],
"result": "valid"
},
{
"tcId": 1189,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [17, 14, 3, 17, 4, 2, 30, 5, 17],
"ct": [22, 17, 11, 25, 6, 10, 15, 3, 1],
"result": "valid"
},
{
"tcId": 1190,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [13, 22, 17, 15, 21, 3, 12, 7, 17],
"ct": [15, 2, 29, 2, 1, 8, 8, 23, 31],
"result": "valid"
},
{
"tcId": 1191,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [19, 27, 14, 17, 1, 18, 5, 16, 9],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1192,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [11, 30, 25, 2, 15, 4, 27, 29, 0],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1193,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [0, 16, 26, 27, 6, 5, 26, 22, 7],
"ct": [16, 0, 0, 0, 16, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1194,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706",
"tweak": "2f9eb9835c605c21",
"msg": [19, 22, 3, 19, 13, 25, 29, 16, 16],
"ct": [15, 31, 31, 31, 15, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1195,
"comment": "y = 0 and (y + a) % radix**4 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "ec9696f5b6da45d0c37e65",
"msg": [14, 5, 17, 17, 29, 31, 25, 1, 20],
"ct": [0, 0, 0, 0, 23, 15, 8, 18, 19],
"result": "valid"
},
{
"tcId": 1196,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "ec9696f5b6da45d0c37e65",
"msg": [0, 21, 16, 11, 14, 8, 1, 0, 18],
"ct": [0, 0, 0, 1, 14, 9, 24, 26, 9],
"result": "valid"
},
{
"tcId": 1197,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "ec9696f5b6da45d0c37e65",
"msg": [2, 6, 11, 23, 1, 1, 13, 2, 25],
"ct": [16, 0, 0, 0, 8, 1, 31, 7, 24],
"result": "valid"
},
{
"tcId": 1198,
"comment": "y = 0 and (y + a) % radix**4 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0",
"tweak": "ec9696f5b6da45d0c37e65",
"msg": [24, 25, 11, 17, 17, 10, 3, 6, 2],
"ct": [31, 31, 31, 31, 28, 4, 4, 21, 16],
"result": "valid"
},
{
"tcId": 1199,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909",
"tweak": "2f4481b579f8a5f8",
"msg": [-1, 15, 22, 31, 9, 21, 23, 28, 12],
"ct": [16, 16, 28, 0, 21, 16, 1, 16, 3],
"result": "invalid"
},
{
"tcId": 1200,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909",
"tweak": "2f4481b579f8a5f8",
"msg": [18, 15, 22, -1, 9, 21, 23, 28, 12],
"ct": [1, 22, 14, 12, 13, 15, 17, 29, 14],
"result": "invalid"
},
{
"tcId": 1201,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909",
"tweak": "2f4481b579f8a5f8",
"msg": [18, 15, 22, 31, 9, 21, 23, 28, -1],
"ct": [20, 29, 7, 26, 4, 8, 6, 19, 16],
"result": "invalid"
},
{
"tcId": 1202,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8f9abbf17b91c788621c76dab2bf46874f16f3aa86dc339c",
"tweak": "cc67b35fd2d15f33",
"msg": [32, 25, 27, 5, 3, 14, 18, 27, 20],
"ct": [10, 24, 26, 29, 26, 4, 24, 0, 1],
"result": "invalid"
},
{
"tcId": 1203,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8f9abbf17b91c788621c76dab2bf46874f16f3aa86dc339c",
"tweak": "cc67b35fd2d15f33",
"msg": [3, 25, 27, 32, 3, 14, 18, 27, 20],
"ct": [0, 18, 28, 18, 1, 28, 16, 25, 0],
"result": "invalid"
},
{
"tcId": 1204,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8f9abbf17b91c788621c76dab2bf46874f16f3aa86dc339c",
"tweak": "cc67b35fd2d15f33",
"msg": [3, 25, 27, 5, 3, 14, 18, 27, 32],
"ct": [17, 7, 3, 28, 1, 29, 12, 28, 24],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 10,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1205,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "8cf0a0e458eba1cc12ed18041ba331835519346134d0e908",
"tweak": "ea8c0ae555bb05ce",
"msg": [4, 29, 5, 22, 15, 9, 23, 31, 20, 11],
"ct": [12, 21, 29, 26, 18, 31, 24, 23, 15, 7],
"result": "valid"
},
{
"tcId": 1206,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 12, 17, 4, 1, 10, 2, 24, 0, 20],
"result": "valid"
},
{
"tcId": 1207,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [13, 14, 25, 24, 3, 4, 19, 14, 12, 23],
"result": "valid"
},
{
"tcId": 1208,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [16, 0, 0, 0, 0, 16, 0, 0, 0, 0],
"ct": [21, 4, 26, 6, 31, 2, 7, 23, 16, 6],
"result": "valid"
},
{
"tcId": 1209,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [15, 31, 31, 31, 31, 15, 31, 31, 31, 31],
"ct": [27, 7, 6, 19, 8, 13, 29, 5, 6, 12],
"result": "valid"
},
{
"tcId": 1210,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [13, 16, 8, 14, 9, 0, 18, 0, 31, 30],
"ct": [7, 25, 9, 2, 23, 1, 21, 15, 27, 19],
"result": "valid"
},
{
"tcId": 1211,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [1, 13, 20, 8, 1, 10, 15, 27, 17, 22],
"ct": [12, 22, 16, 8, 27, 26, 26, 12, 5, 7],
"result": "valid"
},
{
"tcId": 1212,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [12, 27, 2, 15, 19, 6, 3, 5, 27, 18],
"ct": [4, 29, 0, 22, 17, 30, 11, 21, 28, 30],
"result": "valid"
},
{
"tcId": 1213,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [29, 26, 15, 18, 29, 16, 20, 10, 26, 25],
"ct": [31, 0, 16, 2, 8, 0, 31, 7, 14, 27],
"result": "valid"
},
{
"tcId": 1214,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [27, 4, 14, 28, 31, 20, 6, 6, 19, 31],
"ct": [2, 21, 9, 21, 9, 20, 25, 15, 20, 14],
"result": "valid"
},
{
"tcId": 1215,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [22, 23, 13, 6, 8, 24, 9, 6, 12, 7],
"ct": [25, 16, 18, 2, 16, 19, 26, 10, 26, 25],
"result": "valid"
},
{
"tcId": 1216,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [12, 21, 3, 27, 30, 3, 22, 23, 7, 28],
"ct": [10, 9, 7, 19, 2, 5, 8, 20, 0, 1],
"result": "valid"
},
{
"tcId": 1217,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [15, 12, 15, 4, 24, 26, 31, 9, 3, 15],
"ct": [22, 15, 23, 26, 5, 0, 6, 13, 2, 5],
"result": "valid"
},
{
"tcId": 1218,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [17, 10, 24, 27, 30, 27, 31, 10, 31, 17],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1219,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [8, 15, 19, 23, 12, 22, 2, 17, 31, 3],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1220,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [29, 4, 9, 5, 12, 13, 22, 6, 18, 12],
"ct": [16, 0, 0, 0, 0, 16, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1221,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46",
"tweak": "6652c929f1c728b2",
"msg": [29, 26, 3, 28, 30, 30, 14, 21, 24, 11],
"ct": [15, 31, 31, 31, 31, 15, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1222,
"comment": "y = 0 and (y + a) % radix**5 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "350496d91f6b5a1d2ba351",
"msg": [27, 24, 7, 10, 17, 7, 30, 16, 3, 0],
"ct": [30, 20, 20, 29, 23, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1223,
"comment": "y = 0 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "350496d91f6b5a1d2ba351",
"msg": [9, 2, 24, 22, 11, 9, 9, 23, 20, 13],
"ct": [30, 20, 20, 29, 23, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 1224,
"comment": "y = 0 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "350496d91f6b5a1d2ba351",
"msg": [0, 8, 5, 25, 29, 31, 9, 17, 6, 0],
"ct": [30, 20, 20, 29, 23, 16, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1225,
"comment": "y = 0 and (y + a) % radix**5 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "350496d91f6b5a1d2ba351",
"msg": [27, 19, 5, 13, 29, 15, 10, 21, 15, 28],
"ct": [30, 20, 20, 29, 23, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1226,
"comment": "y is edge case for modular reduction and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "9fbc09dbfc1b5785642a0b",
"msg": [4, 26, 22, 9, 31, 16, 31, 31, 22, 9],
"ct": [15, 29, 31, 20, 16, 1, 12, 22, 4, 13],
"result": "valid"
},
{
"tcId": 1227,
"comment": "y is edge case for modular reduction and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "9fbc09dbfc1b5785642a0b",
"msg": [26, 13, 5, 4, 29, 27, 7, 8, 6, 27],
"ct": [11, 20, 6, 27, 16, 31, 11, 10, 8, 8],
"result": "valid"
},
{
"tcId": 1228,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "9fbc09dbfc1b5785642a0b",
"msg": [25, 27, 7, 18, 19, 1, 27, 7, 14, 18],
"ct": [13, 14, 15, 0, 25, 28, 25, 21, 7, 18],
"result": "valid"
},
{
"tcId": 1229,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "9fbc09dbfc1b5785642a0b",
"msg": [10, 5, 19, 7, 13, 21, 1, 15, 13, 20],
"ct": [16, 10, 20, 23, 3, 6, 20, 20, 15, 27],
"result": "valid"
},
{
"tcId": 1230,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "9fbc09dbfc1b5785642a0b",
"msg": [3, 8, 0, 14, 4, 6, 25, 4, 23, 13],
"ct": [0, 29, 22, 12, 7, 1, 6, 6, 25, 21],
"result": "valid"
},
{
"tcId": 1231,
"comment": "y is edge case for modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "9fbc09dbfc1b5785642a0b",
"msg": [0, 15, 2, 5, 25, 15, 9, 9, 19, 24],
"ct": [20, 3, 10, 19, 20, 18, 2, 30, 22, 25],
"result": "valid"
},
{
"tcId": 1232,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "a7960314b81e2e9e9de8d2",
"msg": [5, 17, 1, 10, 18, 4, 25, 27, 14, 4],
"ct": [8, 10, 13, 7, 4, 7, 5, 15, 31, 19],
"result": "valid"
},
{
"tcId": 1233,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "a7960314b81e2e9e9de8d2",
"msg": [4, 7, 5, 5, 3, 4, 18, 18, 12, 21],
"ct": [26, 9, 25, 7, 17, 11, 23, 31, 10, 31],
"result": "valid"
},
{
"tcId": 1234,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "a7960314b81e2e9e9de8d2",
"msg": [15, 28, 27, 9, 23, 8, 0, 17, 15, 22],
"ct": [17, 9, 8, 23, 21, 21, 22, 15, 25, 20],
"result": "valid"
},
{
"tcId": 1235,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d",
"tweak": "a7960314b81e2e9e9de8d2",
"msg": [31, 7, 16, 8, 24, 29, 4, 12, 29, 22],
"ct": [27, 15, 6, 15, 2, 1, 8, 14, 17, 20],
"result": "valid"
},
{
"tcId": 1236,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee",
"tweak": "4343b0033d260a29",
"msg": [-1, 17, 10, 4, 30, 14, 19, 11, 31, 2],
"ct": [22, 8, 16, 22, 23, 0, 10, 2, 7, 0],
"result": "invalid"
},
{
"tcId": 1237,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee",
"tweak": "4343b0033d260a29",
"msg": [6, 17, 10, -1, 30, 14, 19, 11, 31, 2],
"ct": [28, 26, 27, 26, 9, 17, 9, 2, 14, 0],
"result": "invalid"
},
{
"tcId": 1238,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee",
"tweak": "4343b0033d260a29",
"msg": [6, 17, 10, 4, 30, 14, 19, 11, 31, -1],
"ct": [28, 31, 21, 15, 10, 27, 12, 24, 23, 18],
"result": "invalid"
},
{
"tcId": 1239,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6788924cd0fcf244ee7c610695d05bb99ccf97660d5b2357",
"tweak": "1b1da38f82317c64",
"msg": [32, 28, 29, 0, 23, 15, 15, 25, 30, 27],
"ct": [27, 23, 20, 13, 9, 19, 13, 15, 3, 6],
"result": "invalid"
},
{
"tcId": 1240,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6788924cd0fcf244ee7c610695d05bb99ccf97660d5b2357",
"tweak": "1b1da38f82317c64",
"msg": [8, 28, 29, 32, 23, 15, 15, 25, 30, 27],
"ct": [13, 2, 28, 9, 8, 19, 23, 3, 30, 28],
"result": "invalid"
},
{
"tcId": 1241,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6788924cd0fcf244ee7c610695d05bb99ccf97660d5b2357",
"tweak": "1b1da38f82317c64",
"msg": [8, 28, 29, 0, 23, 15, 15, 25, 30, 32],
"ct": [5, 7, 0, 5, 21, 22, 1, 19, 7, 30],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 11,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1242,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "f8a4cc9863b4aa6eb5b16e9401b0b83e25dd78a96abe6870",
"tweak": "8d5a3a9b130e7bad",
"msg": [16, 7, 9, 29, 22, 19, 16, 7, 0, 21, 10],
"ct": [10, 20, 29, 19, 28, 6, 14, 11, 7, 10, 9],
"result": "valid"
},
{
"tcId": 1243,
"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": [5, 25, 18, 21, 30, 0, 15, 26, 17, 20, 15],
"result": "valid"
},
{
"tcId": 1244,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [14, 14, 7, 4, 5, 7, 2, 2, 1, 24, 30],
"result": "valid"
},
{
"tcId": 1245,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [16, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0],
"ct": [18, 0, 12, 27, 25, 17, 12, 26, 20, 3, 0],
"result": "valid"
},
{
"tcId": 1246,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [15, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31],
"ct": [8, 14, 11, 13, 25, 16, 30, 11, 19, 9, 9],
"result": "valid"
},
{
"tcId": 1247,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [24, 2, 19, 1, 17, 10, 21, 18, 7, 11, 5],
"ct": [21, 9, 7, 16, 0, 13, 24, 24, 8, 28, 3],
"result": "valid"
},
{
"tcId": 1248,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [17, 28, 26, 18, 0, 19, 12, 12, 3, 8, 29],
"ct": [22, 23, 0, 9, 12, 18, 14, 5, 9, 7, 28],
"result": "valid"
},
{
"tcId": 1249,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [7, 25, 14, 2, 31, 26, 20, 18, 15, 6, 3],
"ct": [18, 8, 0, 1, 8, 15, 14, 15, 19, 16, 13],
"result": "valid"
},
{
"tcId": 1250,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [22, 27, 25, 6, 19, 18, 15, 12, 18, 23, 4],
"ct": [11, 3, 2, 29, 13, 5, 16, 12, 30, 30, 10],
"result": "valid"
},
{
"tcId": 1251,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [30, 13, 14, 17, 3, 30, 24, 7, 8, 18, 8],
"ct": [22, 18, 26, 4, 7, 16, 8, 3, 6, 14, 22],
"result": "valid"
},
{
"tcId": 1252,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [23, 3, 15, 9, 10, 0, 10, 7, 15, 2, 11],
"ct": [7, 1, 11, 8, 27, 1, 1, 24, 10, 29, 0],
"result": "valid"
},
{
"tcId": 1253,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [19, 24, 23, 9, 11, 0, 14, 26, 9, 25, 21],
"ct": [0, 6, 17, 23, 25, 3, 27, 30, 3, 18, 10],
"result": "valid"
},
{
"tcId": 1254,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [29, 27, 4, 3, 20, 1, 31, 31, 9, 14, 5],
"ct": [30, 15, 22, 5, 7, 27, 9, 22, 18, 21, 31],
"result": "valid"
},
{
"tcId": 1255,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [30, 10, 7, 3, 23, 4, 14, 2, 30, 27, 27],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1256,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [18, 13, 27, 9, 28, 1, 5, 3, 14, 11, 11],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1257,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [31, 17, 12, 19, 20, 5, 19, 26, 28, 25, 15],
"ct": [16, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1258,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924",
"tweak": "60ba1190480fd9b7",
"msg": [7, 13, 31, 4, 19, 31, 11, 24, 3, 0, 25],
"ct": [15, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1259,
"comment": "y = 0 and (y + a) % radix**5 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "8b43cc621cec69c04f3032",
"msg": [6, 17, 16, 3, 12, 27, 7, 12, 30, 15, 2],
"ct": [19, 24, 13, 12, 16, 19, 22, 7, 15, 15, 12],
"result": "valid"
},
{
"tcId": 1260,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "8b43cc621cec69c04f3032",
"msg": [18, 7, 23, 25, 3, 17, 11, 9, 15, 7, 14],
"ct": [17, 22, 11, 9, 13, 7, 9, 9, 11, 4, 4],
"result": "valid"
},
{
"tcId": 1261,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "8b43cc621cec69c04f3032",
"msg": [29, 2, 15, 6, 9, 3, 15, 23, 26, 30, 14],
"ct": [12, 0, 29, 9, 29, 21, 25, 26, 24, 19, 2],
"result": "valid"
},
{
"tcId": 1262,
"comment": "y = 0 and (y + a) % radix**5 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "8b43cc621cec69c04f3032",
"msg": [21, 20, 5, 15, 24, 23, 20, 18, 4, 0, 1],
"ct": [17, 8, 19, 14, 9, 3, 25, 27, 19, 13, 20],
"result": "valid"
},
{
"tcId": 1263,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "c144989cd9379a41d2409c",
"msg": [0, 0, 0, 0, 0, 20, 25, 13, 12, 31, 12],
"ct": [5, 9, 29, 5, 26, 15, 19, 4, 1, 23, 16],
"result": "valid"
},
{
"tcId": 1264,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "c144989cd9379a41d2409c",
"msg": [0, 0, 0, 0, 1, 20, 25, 13, 12, 31, 12],
"ct": [23, 10, 2, 15, 13, 20, 3, 15, 2, 21, 0],
"result": "valid"
},
{
"tcId": 1265,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "c144989cd9379a41d2409c",
"msg": [16, 0, 0, 0, 0, 20, 25, 13, 12, 31, 12],
"ct": [30, 16, 4, 21, 10, 21, 27, 17, 26, 31, 19],
"result": "valid"
},
{
"tcId": 1266,
"comment": "y = 1 and (y + a) % radix**5 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "c144989cd9379a41d2409c",
"msg": [31, 31, 31, 31, 30, 20, 25, 13, 12, 31, 12],
"ct": [1, 9, 9, 9, 26, 16, 13, 30, 22, 24, 17],
"result": "valid"
},
{
"tcId": 1267,
"comment": "y = 1 and (y + a) % radix**5 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "c144989cd9379a41d2409c",
"msg": [31, 31, 31, 31, 31, 20, 25, 13, 12, 31, 12],
"ct": [9, 31, 8, 12, 12, 16, 2, 20, 15, 26, 14],
"result": "valid"
},
{
"tcId": 1268,
"comment": "y is maximal and (y + a) % radix**5 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "d3e25f67a51707166d7681",
"msg": [0, 0, 0, 0, 0, 11, 7, 7, 30, 31, 10],
"ct": [31, 26, 15, 5, 30, 24, 21, 4, 17, 23, 6],
"result": "valid"
},
{
"tcId": 1269,
"comment": "y is maximal and (y + a) % radix**5 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "d3e25f67a51707166d7681",
"msg": [0, 0, 0, 0, 1, 11, 7, 7, 30, 31, 10],
"ct": [9, 3, 15, 28, 10, 3, 15, 4, 25, 21, 5],
"result": "valid"
},
{
"tcId": 1270,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "d3e25f67a51707166d7681",
"msg": [16, 0, 0, 0, 0, 11, 7, 7, 30, 31, 10],
"ct": [19, 29, 10, 10, 20, 30, 2, 16, 23, 15, 30],
"result": "valid"
},
{
"tcId": 1271,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "d3e25f67a51707166d7681",
"msg": [31, 31, 31, 31, 31, 11, 7, 7, 30, 31, 10],
"ct": [14, 31, 18, 17, 15, 24, 24, 21, 6, 25, 24],
"result": "valid"
},
{
"tcId": 1272,
"comment": "y is edge case for modular reduction and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "57e05b478baf1e370a8b39",
"msg": [21, 25, 3, 3, 12, 0, 4, 10, 1, 2, 14],
"ct": [23, 20, 30, 21, 25, 28, 19, 24, 31, 5, 12],
"result": "valid"
},
{
"tcId": 1273,
"comment": "y is edge case for modular reduction and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "57e05b478baf1e370a8b39",
"msg": [25, 11, 24, 23, 11, 10, 1, 18, 17, 23, 20],
"ct": [19, 19, 24, 27, 21, 31, 26, 25, 20, 15, 5],
"result": "valid"
},
{
"tcId": 1274,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "57e05b478baf1e370a8b39",
"msg": [8, 11, 6, 13, 26, 4, 29, 21, 13, 31, 17],
"ct": [19, 25, 14, 13, 5, 14, 24, 16, 10, 19, 26],
"result": "valid"
},
{
"tcId": 1275,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "57e05b478baf1e370a8b39",
"msg": [0, 9, 15, 1, 16, 7, 21, 0, 20, 30, 18],
"ct": [12, 11, 4, 21, 17, 25, 19, 31, 14, 3, 18],
"result": "valid"
},
{
"tcId": 1276,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "57e05b478baf1e370a8b39",
"msg": [22, 21, 7, 22, 26, 22, 7, 0, 0, 12, 22],
"ct": [9, 28, 4, 16, 0, 4, 11, 10, 17, 12, 14],
"result": "valid"
},
{
"tcId": 1277,
"comment": "y is edge case for modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "57e05b478baf1e370a8b39",
"msg": [28, 31, 1, 18, 10, 30, 2, 17, 24, 21, 12],
"ct": [22, 29, 23, 5, 23, 22, 26, 0, 31, 16, 23],
"result": "valid"
},
{
"tcId": 1278,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "25ea0bda03f0845ed8fc21",
"msg": [15, 20, 24, 7, 2, 7, 3, 30, 29, 22, 11],
"ct": [31, 31, 31, 31, 31, 21, 19, 0, 28, 3, 0],
"result": "valid"
},
{
"tcId": 1279,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "25ea0bda03f0845ed8fc21",
"msg": [18, 20, 0, 23, 18, 26, 18, 4, 15, 27, 24],
"ct": [0, 0, 0, 0, 0, 18, 27, 0, 9, 27, 27],
"result": "valid"
},
{
"tcId": 1280,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "25ea0bda03f0845ed8fc21",
"msg": [24, 21, 7, 17, 24, 24, 27, 7, 14, 15, 2],
"ct": [15, 31, 31, 31, 31, 17, 6, 10, 23, 21, 28],
"result": "valid"
},
{
"tcId": 1281,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3",
"tweak": "25ea0bda03f0845ed8fc21",
"msg": [17, 8, 31, 15, 26, 14, 30, 15, 21, 10, 24],
"ct": [31, 31, 31, 31, 30, 20, 4, 30, 20, 12, 8],
"result": "valid"
},
{
"tcId": 1282,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07",
"tweak": "d0d85e79b79f69f7",
"msg": [-1, 15, 5, 24, 26, 4, 26, 10, 10, 9, 16],
"ct": [15, 28, 10, 27, 18, 17, 10, 5, 18, 8, 13],
"result": "invalid"
},
{
"tcId": 1283,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07",
"tweak": "d0d85e79b79f69f7",
"msg": [15, 15, 5, -1, 26, 4, 26, 10, 10, 9, 16],
"ct": [15, 21, 29, 30, 4, 6, 1, 5, 28, 13, 3],
"result": "invalid"
},
{
"tcId": 1284,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07",
"tweak": "d0d85e79b79f69f7",
"msg": [15, 15, 5, 24, 26, 4, 26, 10, 10, 9, -1],
"ct": [20, 0, 5, 22, 16, 18, 23, 14, 8, 31, 0],
"result": "invalid"
},
{
"tcId": 1285,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e0e1693755e9646ce1137183732e19869e5669ad643d302d",
"tweak": "943afbd5a6e2602b",
"msg": [32, 17, 17, 1, 10, 3, 17, 11, 12, 16, 28],
"ct": [5, 12, 12, 28, 27, 31, 29, 16, 6, 23, 12],
"result": "invalid"
},
{
"tcId": 1286,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e0e1693755e9646ce1137183732e19869e5669ad643d302d",
"tweak": "943afbd5a6e2602b",
"msg": [3, 17, 17, 32, 10, 3, 17, 11, 12, 16, 28],
"ct": [15, 18, 19, 30, 12, 9, 19, 25, 24, 27, 13],
"result": "invalid"
},
{
"tcId": 1287,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "e0e1693755e9646ce1137183732e19869e5669ad643d302d",
"tweak": "943afbd5a6e2602b",
"msg": [3, 17, 17, 1, 10, 3, 17, 11, 12, 16, 32],
"ct": [13, 9, 26, 7, 27, 8, 11, 11, 26, 30, 16],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 12,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1288,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "f095a5d39f0b499cef0130b4eb3bfae90253a1f30270efb5",
"tweak": "36b5ea2cee9c08d6",
"msg": [11, 16, 16, 21, 20, 26, 29, 18, 31, 29, 12, 15],
"ct": [14, 28, 8, 17, 13, 25, 1, 8, 7, 25, 20, 29],
"result": "valid"
},
{
"tcId": 1289,
"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": [2, 5, 28, 1, 17, 8, 4, 25, 12, 7, 17, 31],
"result": "valid"
},
{
"tcId": 1290,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [22, 20, 13, 17, 26, 18, 24, 6, 0, 31, 16, 18],
"result": "valid"
},
{
"tcId": 1291,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [16, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0],
"ct": [14, 29, 0, 17, 20, 9, 14, 17, 25, 4, 29, 18],
"result": "valid"
},
{
"tcId": 1292,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [15, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31],
"ct": [18, 30, 11, 6, 1, 28, 27, 6, 3, 3, 10, 21],
"result": "valid"
},
{
"tcId": 1293,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [13, 1, 6, 26, 21, 6, 5, 5, 13, 7, 14, 9],
"ct": [18, 4, 20, 19, 20, 4, 5, 29, 12, 18, 16, 5],
"result": "valid"
},
{
"tcId": 1294,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [13, 12, 15, 14, 10, 1, 5, 29, 22, 30, 6, 5],
"ct": [13, 22, 8, 17, 11, 28, 9, 14, 29, 24, 9, 3],
"result": "valid"
},
{
"tcId": 1295,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [15, 5, 21, 16, 2, 11, 20, 12, 18, 6, 28, 8],
"ct": [20, 10, 14, 4, 21, 16, 27, 2, 21, 28, 16, 16],
"result": "valid"
},
{
"tcId": 1296,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [29, 18, 17, 3, 3, 25, 30, 28, 31, 26, 11, 21],
"ct": [23, 20, 10, 7, 5, 4, 29, 10, 20, 22, 12, 3],
"result": "valid"
},
{
"tcId": 1297,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [25, 6, 31, 15, 12, 5, 13, 27, 2, 12, 8, 27],
"ct": [29, 23, 20, 26, 8, 22, 9, 21, 17, 9, 21, 31],
"result": "valid"
},
{
"tcId": 1298,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [12, 5, 26, 10, 12, 1, 5, 26, 12, 8, 23, 10],
"ct": [19, 18, 7, 28, 8, 22, 3, 29, 21, 12, 22, 5],
"result": "valid"
},
{
"tcId": 1299,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [11, 27, 26, 9, 6, 12, 21, 16, 29, 15, 14, 18],
"ct": [13, 12, 25, 6, 13, 28, 21, 4, 3, 31, 20, 21],
"result": "valid"
},
{
"tcId": 1300,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [20, 17, 18, 7, 12, 23, 21, 2, 29, 10, 3, 16],
"ct": [11, 9, 11, 21, 4, 1, 19, 6, 6, 16, 15, 21],
"result": "valid"
},
{
"tcId": 1301,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [1, 15, 11, 30, 28, 22, 1, 4, 16, 16, 13, 8],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1302,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [10, 6, 17, 28, 8, 0, 3, 18, 16, 23, 20, 30],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1303,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [6, 6, 12, 19, 8, 11, 18, 12, 3, 26, 15, 2],
"ct": [16, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1304,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd",
"tweak": "8f5a4485255e9e7a",
"msg": [21, 10, 16, 30, 6, 28, 16, 18, 26, 17, 0, 7],
"ct": [15, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1305,
"comment": "y = 0 and (y + a) % radix**6 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "3f6fe13f3b554e39c1b78a",
"msg": [6, 3, 10, 13, 29, 22, 9, 30, 17, 29, 28, 12],
"ct": [0, 0, 0, 0, 0, 0, 5, 12, 15, 12, 5, 2],
"result": "valid"
},
{
"tcId": 1306,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "3f6fe13f3b554e39c1b78a",
"msg": [24, 25, 8, 31, 9, 15, 6, 19, 29, 23, 9, 11],
"ct": [0, 0, 0, 0, 0, 1, 1, 10, 13, 25, 17, 15],
"result": "valid"
},
{
"tcId": 1307,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "3f6fe13f3b554e39c1b78a",
"msg": [25, 20, 17, 21, 28, 10, 6, 26, 30, 24, 26, 30],
"ct": [16, 0, 0, 0, 0, 0, 7, 27, 11, 15, 5, 11],
"result": "valid"
},
{
"tcId": 1308,
"comment": "y = 0 and (y + a) % radix**6 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "3f6fe13f3b554e39c1b78a",
"msg": [8, 11, 20, 31, 22, 12, 19, 13, 3, 14, 28, 3],
"ct": [31, 31, 31, 31, 31, 31, 24, 23, 8, 7, 2, 18],
"result": "valid"
},
{
"tcId": 1309,
"comment": "y = 1 and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "6677de6d0d3e03d24bc7b7",
"msg": [4, 24, 10, 30, 3, 6, 6, 12, 2, 3, 12, 16],
"ct": [0, 23, 14, 9, 14, 5, 21, 12, 6, 31, 10, 5],
"result": "valid"
},
{
"tcId": 1310,
"comment": "y = 1 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "6677de6d0d3e03d24bc7b7",
"msg": [15, 19, 26, 17, 24, 15, 13, 4, 30, 20, 3, 28],
"ct": [26, 12, 31, 30, 21, 21, 3, 29, 27, 6, 14, 31],
"result": "valid"
},
{
"tcId": 1311,
"comment": "y = 1 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "6677de6d0d3e03d24bc7b7",
"msg": [29, 4, 26, 17, 4, 21, 0, 20, 0, 27, 22, 26],
"ct": [9, 8, 1, 1, 16, 2, 20, 13, 5, 30, 12, 5],
"result": "valid"
},
{
"tcId": 1312,
"comment": "y = 1 and (y + a) % radix**6 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "6677de6d0d3e03d24bc7b7",
"msg": [15, 0, 4, 28, 11, 23, 24, 0, 7, 5, 7, 14],
"ct": [27, 3, 3, 19, 23, 25, 28, 18, 16, 11, 12, 9],
"result": "valid"
},
{
"tcId": 1313,
"comment": "y = 1 and (y + a) % radix**6 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "6677de6d0d3e03d24bc7b7",
"msg": [3, 15, 0, 0, 27, 9, 27, 1, 29, 13, 23, 28],
"ct": [30, 22, 22, 19, 31, 26, 20, 4, 21, 18, 3, 30],
"result": "valid"
},
{
"tcId": 1314,
"comment": "y is maximal and (y + a) % radix**6 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "c3564c250adea02243e915",
"msg": [27, 25, 11, 28, 14, 10, 14, 0, 29, 31, 20, 8],
"ct": [5, 6, 23, 14, 20, 10, 10, 17, 31, 25, 26, 4],
"result": "valid"
},
{
"tcId": 1315,
"comment": "y is maximal and (y + a) % radix**6 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "c3564c250adea02243e915",
"msg": [20, 30, 4, 6, 5, 23, 6, 12, 11, 9, 6, 3],
"ct": [2, 29, 10, 11, 24, 22, 7, 7, 15, 1, 12, 2],
"result": "valid"
},
{
"tcId": 1316,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "c3564c250adea02243e915",
"msg": [3, 23, 9, 11, 1, 3, 20, 25, 26, 26, 24, 29],
"ct": [2, 24, 22, 1, 14, 2, 7, 21, 8, 20, 28, 10],
"result": "valid"
},
{
"tcId": 1317,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "c3564c250adea02243e915",
"msg": [11, 16, 12, 7, 23, 12, 19, 4, 3, 30, 18, 4],
"ct": [31, 7, 0, 10, 20, 8, 28, 10, 13, 6, 15, 11],
"result": "valid"
},
{
"tcId": 1318,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "d0ffb6654fbe9bfe465133",
"msg": [28, 2, 8, 6, 14, 24, 17, 21, 15, 3, 15, 17],
"ct": [19, 24, 13, 2, 1, 26, 11, 27, 8, 6, 0, 25],
"result": "valid"
},
{
"tcId": 1319,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "d0ffb6654fbe9bfe465133",
"msg": [8, 30, 13, 12, 7, 23, 18, 16, 6, 14, 0, 12],
"ct": [10, 10, 12, 18, 22, 16, 5, 22, 6, 0, 16, 6],
"result": "valid"
},
{
"tcId": 1320,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "d0ffb6654fbe9bfe465133",
"msg": [10, 18, 28, 28, 16, 28, 10, 12, 24, 14, 4, 30],
"ct": [20, 21, 2, 27, 1, 6, 1, 16, 6, 17, 3, 14],
"result": "valid"
},
{
"tcId": 1321,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "d0ffb6654fbe9bfe465133",
"msg": [28, 30, 21, 7, 23, 17, 22, 28, 30, 27, 19, 21],
"ct": [21, 13, 29, 26, 20, 3, 27, 2, 21, 22, 20, 8],
"result": "valid"
},
{
"tcId": 1322,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "d0ffb6654fbe9bfe465133",
"msg": [31, 11, 17, 24, 0, 20, 23, 13, 2, 19, 27, 12],
"ct": [28, 16, 31, 24, 23, 25, 31, 8, 22, 27, 19, 0],
"result": "valid"
},
{
"tcId": 1323,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "d0ffb6654fbe9bfe465133",
"msg": [18, 29, 13, 5, 13, 29, 3, 26, 25, 9, 20, 8],
"ct": [13, 26, 28, 2, 17, 8, 18, 4, 28, 9, 2, 11],
"result": "valid"
},
{
"tcId": 1324,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "1272c17474389790c03d5c",
"msg": [26, 26, 1, 0, 18, 4, 11, 12, 14, 14, 24, 0],
"ct": [25, 9, 10, 22, 6, 11, 24, 24, 6, 20, 15, 10],
"result": "valid"
},
{
"tcId": 1325,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "1272c17474389790c03d5c",
"msg": [12, 10, 7, 24, 18, 27, 30, 30, 3, 20, 28, 8],
"ct": [18, 6, 1, 28, 16, 24, 8, 28, 16, 8, 29, 26],
"result": "valid"
},
{
"tcId": 1326,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "1272c17474389790c03d5c",
"msg": [8, 7, 28, 23, 26, 21, 22, 26, 22, 16, 27, 17],
"ct": [19, 13, 28, 4, 20, 18, 4, 28, 31, 22, 5, 3],
"result": "valid"
},
{
"tcId": 1327,
"comment": "y is maximal after modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b87921481252dee6c5917131e239a7e970010043b8ef047a",
"tweak": "1272c17474389790c03d5c",
"msg": [21, 20, 16, 4, 7, 31, 31, 8, 5, 19, 7, 4],
"ct": [23, 30, 23, 31, 30, 11, 1, 19, 3, 13, 6, 1],
"result": "valid"
},
{
"tcId": 1328,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f",
"tweak": "1f8dcd3dd4e01cbd",
"msg": [-1, 21, 23, 11, 5, 18, 7, 11, 5, 13, 31, 17],
"ct": [7, 17, 17, 14, 3, 25, 27, 8, 0, 17, 12, 25],
"result": "invalid"
},
{
"tcId": 1329,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f",
"tweak": "1f8dcd3dd4e01cbd",
"msg": [1, 21, 23, 11, -1, 18, 7, 11, 5, 13, 31, 17],
"ct": [25, 9, 8, 4, 10, 22, 31, 8, 26, 29, 28, 1],
"result": "invalid"
},
{
"tcId": 1330,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f",
"tweak": "1f8dcd3dd4e01cbd",
"msg": [1, 21, 23, 11, 5, 18, 7, 11, 5, 13, 31, -1],
"ct": [30, 12, 28, 3, 23, 27, 25, 0, 24, 24, 10, 9],
"result": "invalid"
},
{
"tcId": 1331,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "883b627e89f2deb34cc0c7aaefa34c5394df1ff11b4c191c",
"tweak": "b9188be0fe531988",
"msg": [32, 14, 31, 23, 4, 21, 0, 5, 18, 15, 19, 18],
"ct": [1, 25, 31, 9, 0, 17, 3, 25, 8, 28, 3, 22],
"result": "invalid"
},
{
"tcId": 1332,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "883b627e89f2deb34cc0c7aaefa34c5394df1ff11b4c191c",
"tweak": "b9188be0fe531988",
"msg": [7, 14, 31, 23, 32, 21, 0, 5, 18, 15, 19, 18],
"ct": [13, 17, 17, 12, 13, 16, 17, 7, 1, 9, 25, 2],
"result": "invalid"
},
{
"tcId": 1333,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "883b627e89f2deb34cc0c7aaefa34c5394df1ff11b4c191c",
"tweak": "b9188be0fe531988",
"msg": [7, 14, 31, 23, 4, 21, 0, 5, 18, 15, 19, 32],
"ct": [12, 27, 10, 12, 2, 2, 2, 6, 19, 4, 14, 12],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 13,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1334,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "2b36e8a149dbee09bdfc43feaab6aa2d22f6b46b5a967013",
"tweak": "506f5152883327d6",
"msg": [10, 23, 6, 18, 1, 3, 26, 3, 31, 10, 14, 22, 17],
"ct": [4, 2, 23, 22, 21, 17, 29, 24, 12, 28, 1, 1, 2],
"result": "valid"
},
{
"tcId": 1335,
"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": [16, 22, 14, 13, 6, 6, 5, 3, 22, 5, 29, 4, 25],
"result": "valid"
},
{
"tcId": 1336,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [27, 7, 7, 18, 15, 6, 9, 11, 2, 2, 6, 2, 30],
"result": "valid"
},
{
"tcId": 1337,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [16, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0],
"ct": [8, 6, 24, 21, 24, 27, 8, 23, 0, 26, 16, 12, 12],
"result": "valid"
},
{
"tcId": 1338,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [15, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31],
"ct": [20, 6, 4, 0, 2, 13, 7, 3, 14, 18, 23, 19, 17],
"result": "valid"
},
{
"tcId": 1339,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [17, 16, 17, 30, 27, 3, 9, 3, 17, 9, 20, 11, 12],
"ct": [9, 29, 14, 10, 0, 16, 5, 23, 14, 12, 24, 22, 13],
"result": "valid"
},
{
"tcId": 1340,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [24, 25, 0, 31, 11, 9, 27, 13, 8, 9, 16, 25, 14],
"ct": [23, 30, 11, 13, 22, 6, 13, 31, 14, 15, 10, 29, 15],
"result": "valid"
},
{
"tcId": 1341,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [24, 22, 10, 19, 18, 29, 31, 2, 10, 14, 31, 15, 1],
"ct": [2, 20, 27, 18, 30, 30, 22, 29, 13, 0, 17, 20, 3],
"result": "valid"
},
{
"tcId": 1342,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [8, 4, 5, 10, 21, 9, 0, 29, 0, 12, 25, 23, 4],
"ct": [23, 23, 31, 29, 15, 1, 0, 3, 10, 21, 2, 31, 11],
"result": "valid"
},
{
"tcId": 1343,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [6, 31, 23, 30, 30, 27, 20, 15, 28, 26, 20, 27, 6],
"ct": [29, 13, 11, 18, 1, 25, 28, 5, 22, 23, 23, 13, 13],
"result": "valid"
},
{
"tcId": 1344,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [28, 26, 5, 2, 31, 31, 10, 1, 17, 10, 10, 15, 23],
"ct": [22, 18, 29, 17, 26, 9, 28, 12, 1, 3, 12, 30, 31],
"result": "valid"
},
{
"tcId": 1345,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [31, 4, 2, 17, 23, 19, 3, 21, 22, 22, 7, 6, 19],
"ct": [10, 10, 17, 26, 11, 8, 20, 4, 11, 10, 22, 12, 9],
"result": "valid"
},
{
"tcId": 1346,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [16, 15, 7, 23, 26, 9, 30, 1, 25, 0, 22, 21, 31],
"ct": [25, 16, 27, 17, 16, 11, 11, 17, 5, 26, 18, 15, 28],
"result": "valid"
},
{
"tcId": 1347,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [5, 4, 23, 15, 13, 12, 24, 16, 28, 31, 4, 3, 26],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1348,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [5, 27, 30, 27, 25, 15, 25, 17, 24, 26, 17, 31, 29],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1349,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [13, 21, 29, 30, 23, 17, 17, 2, 22, 17, 20, 27, 3],
"ct": [16, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1350,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52",
"tweak": "6512674893abe1ba",
"msg": [26, 18, 21, 3, 4, 14, 20, 27, 3, 27, 29, 23, 18],
"ct": [15, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1351,
"comment": "y = 0 and (y + a) % radix**6 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "d6af8909775b29b84fda",
"msg": [0, 0, 0, 0, 0, 0, 13, 0, 9, 22, 10, 5, 14],
"ct": [29, 31, 16, 26, 0, 28, 9, 29, 6, 30, 12, 9, 24],
"result": "valid"
},
{
"tcId": 1352,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "d6af8909775b29b84fda",
"msg": [0, 0, 0, 0, 0, 1, 13, 0, 9, 22, 10, 5, 14],
"ct": [27, 4, 28, 19, 30, 7, 30, 2, 5, 20, 1, 31, 27],
"result": "valid"
},
{
"tcId": 1353,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "d6af8909775b29b84fda",
"msg": [16, 0, 0, 0, 0, 0, 13, 0, 9, 22, 10, 5, 14],
"ct": [19, 9, 21, 1, 26, 27, 6, 10, 2, 28, 18, 11, 1],
"result": "valid"
},
{
"tcId": 1354,
"comment": "y = 0 and (y + a) % radix**6 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "d6af8909775b29b84fda",
"msg": [31, 31, 31, 31, 31, 31, 13, 0, 9, 22, 10, 5, 14],
"ct": [8, 15, 25, 20, 2, 16, 20, 2, 13, 22, 19, 29, 3],
"result": "valid"
},
{
"tcId": 1355,
"comment": "y is maximal and (y + a) % radix**6 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "7d6980decc7dec012d3c",
"msg": [16, 20, 22, 10, 28, 4, 20, 15, 24, 5, 7, 7, 20],
"ct": [26, 19, 7, 19, 19, 4, 9, 14, 29, 16, 27, 21, 2],
"result": "valid"
},
{
"tcId": 1356,
"comment": "y is maximal and (y + a) % radix**6 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "7d6980decc7dec012d3c",
"msg": [20, 3, 11, 3, 27, 21, 31, 8, 18, 8, 19, 14, 26],
"ct": [6, 7, 30, 18, 11, 17, 27, 17, 5, 21, 27, 20, 0],
"result": "valid"
},
{
"tcId": 1357,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "7d6980decc7dec012d3c",
"msg": [3, 10, 5, 16, 20, 25, 29, 3, 24, 29, 26, 27, 28],
"ct": [21, 17, 15, 15, 7, 27, 25, 5, 20, 3, 0, 18, 7],
"result": "valid"
},
{
"tcId": 1358,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "7d6980decc7dec012d3c",
"msg": [25, 10, 3, 20, 29, 16, 23, 24, 25, 9, 22, 28, 8],
"ct": [17, 9, 8, 12, 2, 20, 12, 18, 1, 13, 8, 9, 19],
"result": "valid"
},
{
"tcId": 1359,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "3592395f30eb35322671",
"msg": [16, 18, 22, 16, 9, 18, 19, 18, 22, 26, 27, 2, 19],
"ct": [3, 14, 3, 26, 27, 0, 19, 14, 5, 13, 2, 13, 16],
"result": "valid"
},
{
"tcId": 1360,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "3592395f30eb35322671",
"msg": [2, 30, 24, 12, 10, 30, 2, 28, 15, 29, 19, 18, 31],
"ct": [5, 30, 7, 7, 20, 9, 9, 31, 20, 10, 13, 3, 11],
"result": "valid"
},
{
"tcId": 1361,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "3592395f30eb35322671",
"msg": [17, 19, 18, 15, 25, 8, 13, 30, 12, 2, 30, 9, 0],
"ct": [14, 22, 5, 19, 15, 15, 12, 19, 18, 18, 28, 4, 1],
"result": "valid"
},
{
"tcId": 1362,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728",
"tweak": "3592395f30eb35322671",
"msg": [0, 1, 19, 26, 31, 0, 31, 6, 31, 13, 25, 31, 18],
"ct": [13, 28, 26, 12, 3, 30, 26, 30, 21, 30, 24, 9, 0],
"result": "valid"
},
{
"tcId": 1363,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f",
"tweak": "bd80cf69edccc86d",
"msg": [-1, 13, 18, 25, 0, 17, 16, 24, 5, 14, 3, 12, 21],
"ct": [31, 18, 19, 27, 25, 3, 20, 22, 31, 21, 23, 23, 24],
"result": "invalid"
},
{
"tcId": 1364,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f",
"tweak": "bd80cf69edccc86d",
"msg": [4, 13, 18, 25, -1, 17, 16, 24, 5, 14, 3, 12, 21],
"ct": [24, 27, 25, 19, 30, 21, 8, 6, 22, 16, 31, 27, 4],
"result": "invalid"
},
{
"tcId": 1365,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f",
"tweak": "bd80cf69edccc86d",
"msg": [4, 13, 18, 25, 0, 17, 16, 24, 5, 14, 3, 12, -1],
"ct": [9, 23, 24, 1, 1, 10, 19, 23, 25, 14, 12, 17, 19],
"result": "invalid"
},
{
"tcId": 1366,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fb110113fdce2bb8493f1f9bb738a1d59d0de9ebf5adf7ab",
"tweak": "09680315071810ea",
"msg": [32, 27, 20, 6, 28, 17, 7, 28, 11, 8, 26, 21, 26],
"ct": [27, 19, 18, 23, 4, 0, 23, 3, 26, 11, 28, 17, 24],
"result": "invalid"
},
{
"tcId": 1367,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fb110113fdce2bb8493f1f9bb738a1d59d0de9ebf5adf7ab",
"tweak": "09680315071810ea",
"msg": [7, 27, 20, 6, 32, 17, 7, 28, 11, 8, 26, 21, 26],
"ct": [18, 19, 31, 11, 23, 7, 2, 11, 10, 0, 7, 29, 20],
"result": "invalid"
},
{
"tcId": 1368,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fb110113fdce2bb8493f1f9bb738a1d59d0de9ebf5adf7ab",
"tweak": "09680315071810ea",
"msg": [7, 27, 20, 6, 28, 17, 7, 28, 11, 8, 26, 21, 32],
"ct": [2, 14, 2, 4, 25, 0, 1, 11, 3, 22, 27, 15, 13],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 14,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1369,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "4a9421ed0d8105f41f06225c61a861adc98d34d2700dfd63",
"tweak": "6f60cf632424685f",
"msg": [22, 24, 19, 19, 12, 18, 24, 15, 15, 14, 8, 31, 8, 13],
"ct": [7, 9, 4, 15, 24, 25, 6, 22, 27, 5, 3, 9, 14, 2],
"result": "valid"
},
{
"tcId": 1370,
"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": [2, 16, 22, 7, 16, 25, 21, 2, 18, 16, 21, 3, 21, 17],
"result": "valid"
},
{
"tcId": 1371,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [4, 24, 0, 17, 29, 27, 21, 14, 10, 22, 0, 15, 10, 25],
"result": "valid"
},
{
"tcId": 1372,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [16, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0],
"ct": [25, 9, 13, 27, 18, 7, 24, 25, 18, 10, 26, 3, 1, 21],
"result": "valid"
},
{
"tcId": 1373,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [15, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31],
"ct": [25, 30, 8, 29, 3, 8, 13, 21, 16, 8, 23, 27, 28, 18],
"result": "valid"
},
{
"tcId": 1374,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [0, 7, 2, 6, 10, 26, 14, 4, 19, 16, 21, 0, 8, 15],
"ct": [30, 31, 1, 4, 12, 9, 30, 17, 22, 15, 30, 0, 7, 27],
"result": "valid"
},
{
"tcId": 1375,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [4, 23, 26, 10, 31, 6, 8, 11, 19, 22, 23, 22, 27, 21],
"ct": [27, 14, 22, 18, 9, 8, 21, 3, 16, 4, 11, 18, 9, 22],
"result": "valid"
},
{
"tcId": 1376,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [24, 28, 12, 4, 1, 8, 7, 5, 10, 1, 10, 21, 31, 13],
"ct": [11, 9, 18, 12, 13, 28, 22, 30, 1, 19, 1, 11, 0, 29],
"result": "valid"
},
{
"tcId": 1377,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [6, 7, 28, 19, 8, 19, 1, 6, 31, 9, 23, 22, 7, 11],
"ct": [2, 20, 21, 6, 5, 15, 8, 9, 5, 16, 15, 19, 23, 18],
"result": "valid"
},
{
"tcId": 1378,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [6, 15, 20, 0, 27, 29, 6, 23, 16, 24, 31, 30, 30, 2],
"ct": [13, 22, 21, 30, 18, 18, 29, 4, 24, 19, 8, 15, 26, 16],
"result": "valid"
},
{
"tcId": 1379,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [24, 23, 23, 28, 22, 5, 28, 9, 18, 14, 12, 8, 14, 28],
"ct": [4, 24, 17, 5, 16, 12, 12, 28, 6, 6, 28, 28, 7, 22],
"result": "valid"
},
{
"tcId": 1380,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [7, 19, 3, 7, 15, 22, 10, 9, 9, 16, 16, 3, 0, 24],
"ct": [11, 9, 28, 3, 2, 10, 30, 9, 18, 2, 29, 12, 18, 1],
"result": "valid"
},
{
"tcId": 1381,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [21, 20, 0, 29, 7, 10, 20, 28, 31, 18, 11, 8, 2, 9],
"ct": [21, 23, 6, 27, 11, 27, 26, 21, 29, 8, 17, 10, 8, 18],
"result": "valid"
},
{
"tcId": 1382,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [1, 14, 13, 26, 25, 14, 9, 19, 24, 22, 29, 7, 31, 4],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1383,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [30, 23, 7, 23, 13, 25, 13, 13, 28, 10, 30, 18, 21, 9],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1384,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [24, 16, 2, 15, 15, 7, 3, 14, 14, 13, 28, 3, 5, 2],
"ct": [16, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1385,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f",
"tweak": "78ed1f1221af7407",
"msg": [3, 27, 8, 1, 22, 6, 3, 30, 10, 28, 7, 24, 21, 18],
"ct": [15, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1386,
"comment": "y = 0 and (y + a) % radix**7 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "9284e1a6c75481d19316",
"msg": [2, 12, 15, 16, 4, 0, 3, 25, 27, 15, 5, 12, 12, 11],
"ct": [14, 14, 16, 18, 17, 16, 30, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1387,
"comment": "y = 0 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "9284e1a6c75481d19316",
"msg": [22, 25, 15, 19, 8, 20, 29, 8, 7, 14, 28, 30, 9, 24],
"ct": [14, 14, 16, 18, 17, 16, 30, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 1388,
"comment": "y = 0 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "9284e1a6c75481d19316",
"msg": [10, 2, 31, 6, 23, 24, 29, 0, 11, 22, 22, 4, 16, 8],
"ct": [14, 14, 16, 18, 17, 16, 30, 16, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1389,
"comment": "y = 0 and (y + a) % radix**7 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "9284e1a6c75481d19316",
"msg": [25, 5, 25, 29, 21, 0, 15, 12, 15, 0, 24, 18, 18, 2],
"ct": [14, 14, 16, 18, 17, 16, 30, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1390,
"comment": "y = 1 and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "9656d8537266748f1b40",
"msg": [21, 24, 12, 3, 19, 7, 8, 7, 20, 4, 5, 11, 16, 30],
"ct": [14, 11, 4, 18, 27, 17, 27, 31, 17, 9, 15, 21, 28, 24],
"result": "valid"
},
{
"tcId": 1391,
"comment": "y = 1 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "9656d8537266748f1b40",
"msg": [12, 30, 7, 29, 31, 24, 12, 31, 1, 19, 2, 9, 24, 11],
"ct": [20, 0, 9, 23, 25, 28, 31, 19, 10, 27, 7, 0, 12, 5],
"result": "valid"
},
{
"tcId": 1392,
"comment": "y = 1 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "9656d8537266748f1b40",
"msg": [15, 24, 18, 7, 20, 14, 6, 17, 29, 10, 6, 19, 30, 31],
"ct": [13, 10, 1, 26, 20, 10, 26, 27, 2, 21, 24, 25, 31, 2],
"result": "valid"
},
{
"tcId": 1393,
"comment": "y = 1 and (y + a) % radix**7 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "9656d8537266748f1b40",
"msg": [23, 24, 29, 16, 7, 4, 23, 2, 23, 24, 17, 29, 25, 27],
"ct": [7, 0, 0, 27, 20, 18, 28, 28, 4, 10, 7, 24, 6, 10],
"result": "valid"
},
{
"tcId": 1394,
"comment": "y = 1 and (y + a) % radix**7 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "9656d8537266748f1b40",
"msg": [2, 26, 18, 1, 12, 7, 7, 29, 16, 2, 10, 7, 7, 26],
"ct": [21, 22, 11, 1, 5, 4, 15, 12, 23, 1, 14, 1, 20, 13],
"result": "valid"
},
{
"tcId": 1395,
"comment": "y is maximal and (y + a) % radix**7 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "784df7ef2d203b21e7d2",
"msg": [20, 3, 14, 21, 27, 9, 12, 9, 21, 7, 6, 10, 21, 31],
"ct": [23, 14, 11, 10, 14, 1, 10, 24, 20, 20, 29, 23, 10, 19],
"result": "valid"
},
{
"tcId": 1396,
"comment": "y is maximal and (y + a) % radix**7 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "784df7ef2d203b21e7d2",
"msg": [20, 4, 24, 13, 21, 0, 30, 16, 8, 30, 25, 12, 9, 31],
"ct": [3, 4, 26, 26, 4, 14, 30, 28, 22, 24, 13, 25, 8, 15],
"result": "valid"
},
{
"tcId": 1397,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "784df7ef2d203b21e7d2",
"msg": [30, 15, 7, 6, 30, 10, 24, 20, 23, 28, 16, 13, 25, 25],
"ct": [18, 23, 25, 20, 2, 11, 1, 24, 16, 12, 25, 13, 14, 4],
"result": "valid"
},
{
"tcId": 1398,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "784df7ef2d203b21e7d2",
"msg": [17, 26, 30, 15, 26, 5, 18, 8, 6, 18, 29, 4, 8, 16],
"ct": [13, 1, 26, 12, 22, 14, 14, 29, 15, 11, 26, 23, 14, 27],
"result": "valid"
},
{
"tcId": 1399,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "e46832fe89d9b9696ede",
"msg": [13, 21, 22, 10, 21, 3, 27, 22, 17, 23, 18, 13, 0, 4],
"ct": [1, 7, 24, 1, 24, 13, 4, 6, 0, 26, 2, 6, 2, 6],
"result": "valid"
},
{
"tcId": 1400,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "e46832fe89d9b9696ede",
"msg": [22, 27, 14, 10, 26, 21, 20, 26, 3, 29, 22, 25, 7, 0],
"ct": [8, 26, 12, 26, 29, 31, 22, 12, 30, 21, 23, 19, 16, 21],
"result": "valid"
},
{
"tcId": 1401,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "e46832fe89d9b9696ede",
"msg": [0, 7, 20, 0, 1, 25, 1, 27, 28, 1, 12, 19, 18, 15],
"ct": [29, 5, 3, 4, 20, 19, 17, 13, 2, 31, 6, 20, 25, 30],
"result": "valid"
},
{
"tcId": 1402,
"comment": "y is maximal after modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe",
"tweak": "e46832fe89d9b9696ede",
"msg": [17, 0, 24, 13, 24, 29, 17, 16, 17, 17, 20, 16, 16, 19],
"ct": [0, 29, 18, 23, 6, 17, 28, 7, 3, 26, 31, 6, 3, 18],
"result": "valid"
},
{
"tcId": 1403,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5",
"tweak": "9a07b801ec3e37d6",
"msg": [-1, 24, 18, 22, 11, 31, 2, 13, 18, 16, 0, 9, 14, 6],
"ct": [14, 13, 16, 6, 23, 17, 10, 4, 9, 20, 2, 28, 15, 6],
"result": "invalid"
},
{
"tcId": 1404,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5",
"tweak": "9a07b801ec3e37d6",
"msg": [15, 24, 18, 22, -1, 31, 2, 13, 18, 16, 0, 9, 14, 6],
"ct": [4, 30, 1, 12, 0, 4, 11, 1, 10, 21, 25, 21, 17, 10],
"result": "invalid"
},
{
"tcId": 1405,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5",
"tweak": "9a07b801ec3e37d6",
"msg": [15, 24, 18, 22, 11, 31, 2, 13, 18, 16, 0, 9, 14, -1],
"ct": [9, 28, 4, 3, 9, 30, 25, 24, 15, 6, 30, 18, 28, 2],
"result": "invalid"
},
{
"tcId": 1406,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "efd01eef69b09f4c6636e538d50d08faa8e2eb226d597590",
"tweak": "42b4e4a66bb0d76e",
"msg": [32, 16, 16, 19, 7, 17, 31, 25, 13, 13, 31, 24, 14, 19],
"ct": [17, 25, 23, 17, 11, 24, 27, 24, 29, 22, 23, 12, 0, 5],
"result": "invalid"
},
{
"tcId": 1407,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "efd01eef69b09f4c6636e538d50d08faa8e2eb226d597590",
"tweak": "42b4e4a66bb0d76e",
"msg": [13, 16, 16, 19, 32, 17, 31, 25, 13, 13, 31, 24, 14, 19],
"ct": [30, 28, 6, 13, 31, 6, 30, 2, 10, 22, 24, 5, 21, 11],
"result": "invalid"
},
{
"tcId": 1408,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "efd01eef69b09f4c6636e538d50d08faa8e2eb226d597590",
"tweak": "42b4e4a66bb0d76e",
"msg": [13, 16, 16, 19, 7, 17, 31, 25, 13, 13, 31, 24, 14, 32],
"ct": [7, 3, 21, 25, 5, 6, 1, 7, 31, 4, 28, 6, 5, 13],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 15,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1409,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "38c2d6d8d1717f48e8e7bc3d54820ee7de2cecf0fc6f167b",
"tweak": "7a3ce6a3066b2e0b",
"msg": [22, 18, 5, 5, 11, 24, 12, 25, 26, 1, 31, 6, 0, 4, 30],
"ct": [20, 31, 11, 15, 21, 25, 13, 20, 24, 14, 27, 28, 23, 12, 23],
"result": "valid"
},
{
"tcId": 1410,
"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": [10, 18, 17, 6, 22, 3, 26, 7, 19, 31, 8, 4, 29, 14, 6],
"result": "valid"
},
{
"tcId": 1411,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [12, 25, 4, 20, 11, 20, 21, 30, 6, 13, 26, 17, 27, 28, 21],
"result": "valid"
},
{
"tcId": 1412,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [16, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0],
"ct": [31, 1, 17, 27, 12, 22, 11, 27, 2, 0, 8, 2, 5, 5, 6],
"result": "valid"
},
{
"tcId": 1413,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [15, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31],
"ct": [7, 29, 19, 12, 16, 11, 21, 28, 6, 30, 23, 20, 5, 22, 31],
"result": "valid"
},
{
"tcId": 1414,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [28, 18, 17, 1, 6, 13, 20, 27, 8, 23, 30, 11, 11, 10, 26],
"ct": [3, 8, 23, 7, 21, 18, 3, 9, 5, 24, 9, 8, 1, 15, 19],
"result": "valid"
},
{
"tcId": 1415,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [10, 25, 5, 19, 22, 9, 16, 15, 22, 9, 4, 14, 26, 30, 19],
"ct": [13, 22, 6, 23, 24, 18, 4, 31, 12, 28, 28, 17, 0, 30, 17],
"result": "valid"
},
{
"tcId": 1416,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [21, 4, 9, 3, 1, 13, 24, 3, 28, 22, 19, 16, 13, 24, 22],
"ct": [24, 19, 26, 0, 9, 30, 7, 4, 12, 9, 7, 3, 25, 18, 27],
"result": "valid"
},
{
"tcId": 1417,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [21, 7, 6, 19, 9, 22, 24, 16, 2, 18, 28, 6, 24, 2, 17],
"ct": [27, 21, 26, 9, 17, 15, 8, 27, 4, 0, 9, 0, 12, 26, 25],
"result": "valid"
},
{
"tcId": 1418,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [9, 19, 6, 31, 11, 24, 30, 10, 19, 1, 7, 14, 29, 6, 28],
"ct": [16, 0, 21, 5, 11, 30, 1, 17, 17, 3, 18, 8, 30, 14, 12],
"result": "valid"
},
{
"tcId": 1419,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [23, 20, 30, 10, 13, 29, 5, 30, 14, 27, 2, 4, 14, 21, 28],
"ct": [17, 14, 18, 7, 28, 7, 3, 9, 15, 18, 3, 19, 16, 23, 14],
"result": "valid"
},
{
"tcId": 1420,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [13, 11, 0, 8, 17, 1, 13, 12, 20, 30, 26, 12, 29, 6, 6],
"ct": [26, 27, 6, 9, 17, 25, 29, 1, 19, 15, 2, 1, 25, 26, 21],
"result": "valid"
},
{
"tcId": 1421,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [14, 3, 0, 22, 7, 15, 19, 1, 1, 17, 7, 21, 11, 11, 6],
"ct": [1, 17, 4, 8, 6, 21, 27, 13, 11, 20, 3, 26, 8, 30, 6],
"result": "valid"
},
{
"tcId": 1422,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [8, 28, 11, 7, 30, 11, 1, 16, 8, 3, 12, 31, 14, 9, 15],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1423,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [4, 5, 28, 7, 28, 6, 26, 9, 15, 8, 27, 30, 21, 8, 13],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1424,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [19, 16, 29, 31, 9, 29, 14, 26, 3, 14, 31, 4, 26, 26, 4],
"ct": [16, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1425,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442",
"tweak": "19c77fee40ebf48e",
"msg": [1, 29, 20, 26, 19, 5, 14, 24, 15, 17, 5, 13, 5, 5, 26],
"ct": [15, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1426,
"comment": "y = 0 and (y + a) % radix**7 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "75e00f78f8a1b26e6442",
"msg": [0, 0, 0, 0, 0, 0, 0, 18, 1, 20, 26, 2, 2, 27, 31],
"ct": [19, 1, 20, 5, 1, 29, 19, 4, 27, 31, 21, 21, 28, 2, 10],
"result": "valid"
},
{
"tcId": 1427,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "75e00f78f8a1b26e6442",
"msg": [0, 0, 0, 0, 0, 0, 1, 18, 1, 20, 26, 2, 2, 27, 31],
"ct": [2, 1, 30, 10, 15, 1, 8, 23, 1, 31, 12, 3, 25, 14, 3],
"result": "valid"
},
{
"tcId": 1428,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "75e00f78f8a1b26e6442",
"msg": [16, 0, 0, 0, 0, 0, 0, 18, 1, 20, 26, 2, 2, 27, 31],
"ct": [2, 1, 11, 16, 5, 4, 6, 8, 31, 19, 21, 15, 24, 29, 1],
"result": "valid"
},
{
"tcId": 1429,
"comment": "y = 0 and (y + a) % radix**7 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "75e00f78f8a1b26e6442",
"msg": [31, 31, 31, 31, 31, 31, 31, 18, 1, 20, 26, 2, 2, 27, 31],
"ct": [12, 31, 13, 24, 14, 3, 30, 27, 16, 15, 0, 30, 0, 31, 9],
"result": "valid"
},
{
"tcId": 1430,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "d7e357b948c76af18548",
"msg": [28, 13, 7, 16, 21, 20, 1, 15, 5, 18, 3, 1, 10, 1, 7],
"ct": [11, 0, 6, 12, 11, 8, 31, 7, 25, 0, 11, 4, 12, 26, 28],
"result": "valid"
},
{
"tcId": 1431,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "d7e357b948c76af18548",
"msg": [31, 7, 22, 5, 24, 7, 12, 30, 8, 30, 28, 21, 9, 5, 21],
"ct": [10, 3, 0, 25, 14, 29, 4, 1, 31, 9, 19, 24, 8, 13, 29],
"result": "valid"
},
{
"tcId": 1432,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "d7e357b948c76af18548",
"msg": [21, 31, 7, 8, 11, 18, 3, 23, 11, 5, 7, 30, 20, 11, 19],
"ct": [5, 11, 6, 30, 29, 16, 7, 3, 27, 19, 31, 1, 24, 6, 5],
"result": "valid"
},
{
"tcId": 1433,
"comment": "y = 1 and (y + a) % radix**7 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "d7e357b948c76af18548",
"msg": [19, 25, 6, 15, 0, 21, 5, 1, 13, 31, 30, 11, 23, 19, 5],
"ct": [10, 6, 31, 28, 16, 26, 29, 5, 1, 22, 11, 31, 15, 2, 10],
"result": "valid"
},
{
"tcId": 1434,
"comment": "y = 1 and (y + a) % radix**7 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "d7e357b948c76af18548",
"msg": [7, 1, 29, 27, 22, 16, 4, 20, 29, 18, 17, 2, 23, 13, 30],
"ct": [26, 23, 9, 30, 8, 9, 2, 9, 2, 13, 10, 30, 10, 30, 20],
"result": "valid"
},
{
"tcId": 1435,
"comment": "y is maximal and (y + a) % radix**7 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "a1940ac67dd295166699",
"msg": [12, 16, 17, 20, 19, 27, 29, 14, 3, 23, 10, 3, 20, 19, 12],
"ct": [25, 3, 6, 28, 27, 21, 14, 21, 4, 16, 17, 24, 30, 13, 13],
"result": "valid"
},
{
"tcId": 1436,
"comment": "y is maximal and (y + a) % radix**7 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "a1940ac67dd295166699",
"msg": [31, 2, 0, 30, 7, 29, 27, 25, 19, 24, 28, 8, 10, 31, 15],
"ct": [30, 22, 25, 10, 14, 27, 0, 14, 20, 23, 29, 27, 25, 23, 3],
"result": "valid"
},
{
"tcId": 1437,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "a1940ac67dd295166699",
"msg": [8, 22, 0, 29, 28, 5, 16, 27, 0, 7, 5, 14, 18, 4, 19],
"ct": [11, 18, 15, 28, 18, 18, 1, 18, 0, 22, 8, 25, 21, 20, 12],
"result": "valid"
},
{
"tcId": 1438,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "a1940ac67dd295166699",
"msg": [3, 14, 31, 12, 9, 29, 22, 4, 17, 7, 29, 18, 6, 14, 14],
"ct": [5, 15, 22, 6, 22, 6, 15, 28, 24, 29, 12, 16, 20, 18, 15],
"result": "valid"
},
{
"tcId": 1439,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "e0669a8d2f6f1b5a238e",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 10, 8, 11, 25, 18, 3, 22],
"ct": [24, 30, 3, 24, 7, 11, 23, 20, 4, 12, 31, 19, 28, 9, 31],
"result": "valid"
},
{
"tcId": 1440,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "e0669a8d2f6f1b5a238e",
"msg": [0, 0, 0, 0, 0, 0, 1, 0, 10, 8, 11, 25, 18, 3, 22],
"ct": [7, 13, 31, 14, 20, 20, 0, 5, 10, 26, 10, 9, 17, 18, 26],
"result": "valid"
},
{
"tcId": 1441,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "e0669a8d2f6f1b5a238e",
"msg": [0, 0, 0, 0, 0, 0, 31, 0, 10, 8, 11, 25, 18, 3, 22],
"ct": [21, 2, 7, 29, 2, 13, 25, 7, 4, 6, 25, 17, 24, 7, 22],
"result": "valid"
},
{
"tcId": 1442,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "e0669a8d2f6f1b5a238e",
"msg": [0, 0, 0, 0, 0, 1, 0, 0, 10, 8, 11, 25, 18, 3, 22],
"ct": [3, 1, 17, 9, 21, 8, 23, 10, 31, 7, 2, 30, 24, 16, 28],
"result": "valid"
},
{
"tcId": 1443,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "e0669a8d2f6f1b5a238e",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 10, 8, 11, 25, 18, 3, 22],
"ct": [27, 14, 16, 24, 6, 6, 7, 5, 29, 3, 9, 26, 18, 6, 6],
"result": "valid"
},
{
"tcId": 1444,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "e0669a8d2f6f1b5a238e",
"msg": [31, 31, 31, 31, 31, 31, 31, 0, 10, 8, 11, 25, 18, 3, 22],
"ct": [7, 30, 9, 13, 18, 5, 30, 10, 5, 23, 16, 19, 27, 31, 2],
"result": "valid"
},
{
"tcId": 1445,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "782f3e69eeae29fa5b45",
"msg": [31, 22, 12, 7, 21, 22, 21, 14, 12, 31, 2, 28, 6, 13, 30],
"ct": [10, 2, 22, 28, 27, 7, 16, 23, 22, 12, 2, 1, 22, 7, 17],
"result": "valid"
},
{
"tcId": 1446,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "782f3e69eeae29fa5b45",
"msg": [15, 31, 5, 31, 10, 19, 3, 17, 4, 3, 3, 14, 18, 9, 8],
"ct": [3, 14, 21, 29, 25, 30, 21, 15, 8, 22, 19, 31, 9, 21, 28],
"result": "valid"
},
{
"tcId": 1447,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "782f3e69eeae29fa5b45",
"msg": [27, 5, 23, 25, 5, 22, 0, 12, 13, 25, 5, 1, 20, 3, 10],
"ct": [19, 29, 13, 1, 10, 16, 23, 0, 25, 24, 26, 30, 0, 17, 7],
"result": "valid"
},
{
"tcId": 1448,
"comment": "y is maximal after modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d",
"tweak": "782f3e69eeae29fa5b45",
"msg": [23, 27, 25, 21, 5, 20, 13, 13, 26, 6, 25, 3, 14, 8, 14],
"ct": [13, 17, 19, 26, 22, 26, 16, 13, 30, 27, 27, 26, 26, 14, 21],
"result": "valid"
},
{
"tcId": 1449,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c",
"tweak": "ba017ceaf04a7470",
"msg": [-1, 2, 25, 24, 3, 25, 29, 29, 17, 6, 24, 23, 4, 24, 14],
"ct": [1, 29, 4, 11, 25, 7, 18, 1, 27, 28, 8, 26, 21, 2, 13],
"result": "invalid"
},
{
"tcId": 1450,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c",
"tweak": "ba017ceaf04a7470",
"msg": [5, 2, 25, 24, 3, -1, 29, 29, 17, 6, 24, 23, 4, 24, 14],
"ct": [6, 0, 18, 21, 22, 29, 18, 15, 8, 4, 9, 2, 22, 9, 21],
"result": "invalid"
},
{
"tcId": 1451,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c",
"tweak": "ba017ceaf04a7470",
"msg": [5, 2, 25, 24, 3, 25, 29, 29, 17, 6, 24, 23, 4, 24, -1],
"ct": [10, 5, 27, 29, 16, 25, 30, 20, 13, 12, 13, 20, 28, 22, 24],
"result": "invalid"
},
{
"tcId": 1452,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1e7acda1ff9e484aab836e8c7b2c8107a2e99427a4c1d010",
"tweak": "d63e1aec92a9d218",
"msg": [32, 5, 20, 1, 9, 4, 22, 20, 17, 17, 29, 22, 26, 31, 29],
"ct": [19, 9, 7, 29, 11, 3, 1, 15, 9, 16, 7, 6, 22, 24, 22],
"result": "invalid"
},
{
"tcId": 1453,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1e7acda1ff9e484aab836e8c7b2c8107a2e99427a4c1d010",
"tweak": "d63e1aec92a9d218",
"msg": [0, 5, 20, 1, 9, 32, 22, 20, 17, 17, 29, 22, 26, 31, 29],
"ct": [3, 7, 14, 8, 3, 21, 23, 22, 6, 25, 4, 16, 31, 27, 21],
"result": "invalid"
},
{
"tcId": 1454,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1e7acda1ff9e484aab836e8c7b2c8107a2e99427a4c1d010",
"tweak": "d63e1aec92a9d218",
"msg": [0, 5, 20, 1, 9, 4, 22, 20, 17, 17, 29, 22, 26, 31, 32],
"ct": [31, 4, 23, 20, 25, 18, 15, 12, 4, 15, 11, 29, 31, 14, 17],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 16,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1455,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "28d8da67806410e5565bcc5a9d7ab9fb357413fa0158378c",
"tweak": "63ff6d96b7960f8a",
"msg": [25, 21, 14, 29, 12, 8, 9, 9, 4, 11, 23, 23, 17, 14, 19, 2],
"ct": [10, 5, 11, 19, 1, 27, 3, 9, 17, 15, 23, 14, 31, 16, 21, 29],
"result": "valid"
},
{
"tcId": 1456,
"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": [24, 30, 30, 25, 14, 6, 26, 7, 13, 20, 5, 17, 23, 31, 5, 4],
"result": "valid"
},
{
"tcId": 1457,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [0, 15, 0, 20, 18, 25, 30, 11, 23, 18, 9, 19, 7, 0, 20, 10],
"result": "valid"
},
{
"tcId": 1458,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0],
"ct": [25, 6, 23, 8, 29, 20, 27, 24, 24, 7, 30, 28, 13, 3, 16, 16],
"result": "valid"
},
{
"tcId": 1459,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31],
"ct": [26, 31, 16, 15, 24, 13, 24, 21, 22, 26, 23, 17, 5, 14, 7, 28],
"result": "valid"
},
{
"tcId": 1460,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [1, 25, 26, 26, 14, 14, 4, 31, 17, 22, 27, 21, 22, 5, 31, 7],
"ct": [12, 25, 15, 8, 17, 23, 12, 20, 4, 6, 0, 6, 18, 8, 23, 4],
"result": "valid"
},
{
"tcId": 1461,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [2, 19, 28, 24, 22, 2, 14, 29, 11, 30, 6, 9, 21, 12, 7, 22],
"ct": [8, 22, 23, 4, 15, 27, 21, 17, 1, 9, 20, 6, 30, 3, 21, 24],
"result": "valid"
},
{
"tcId": 1462,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [11, 14, 5, 15, 20, 26, 29, 2, 2, 2, 7, 0, 1, 4, 12, 20],
"ct": [6, 17, 29, 10, 20, 31, 1, 8, 27, 2, 13, 24, 2, 11, 5, 18],
"result": "valid"
},
{
"tcId": 1463,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [22, 14, 26, 31, 4, 19, 7, 10, 24, 15, 6, 17, 21, 31, 17, 17],
"ct": [4, 27, 31, 20, 21, 24, 11, 16, 22, 10, 18, 9, 21, 2, 19, 17],
"result": "valid"
},
{
"tcId": 1464,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [8, 1, 8, 14, 5, 31, 7, 6, 30, 7, 19, 0, 25, 10, 20, 4],
"ct": [14, 3, 13, 20, 24, 3, 12, 10, 30, 10, 15, 30, 12, 7, 11, 5],
"result": "valid"
},
{
"tcId": 1465,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [27, 7, 11, 4, 24, 29, 8, 10, 23, 12, 16, 22, 27, 27, 6, 4],
"ct": [6, 31, 26, 31, 17, 5, 14, 11, 26, 8, 13, 12, 7, 6, 25, 27],
"result": "valid"
},
{
"tcId": 1466,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [0, 9, 22, 11, 2, 13, 9, 26, 18, 12, 19, 8, 21, 17, 27, 16],
"ct": [26, 11, 23, 2, 28, 15, 18, 28, 31, 2, 23, 17, 4, 8, 7, 1],
"result": "valid"
},
{
"tcId": 1467,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [9, 27, 2, 31, 22, 6, 15, 8, 18, 20, 24, 24, 7, 7, 9, 24],
"ct": [8, 27, 9, 0, 8, 15, 12, 1, 30, 3, 21, 31, 10, 12, 5, 29],
"result": "valid"
},
{
"tcId": 1468,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [31, 7, 6, 22, 13, 21, 23, 25, 20, 28, 9, 29, 5, 13, 6, 29],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1469,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [24, 8, 22, 4, 19, 13, 27, 21, 10, 29, 20, 24, 18, 16, 13, 1],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1470,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [13, 31, 31, 29, 7, 11, 4, 5, 22, 19, 2, 10, 13, 31, 15, 30],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1471,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36",
"tweak": "9fe4a8c4cc889cfa",
"msg": [26, 13, 9, 9, 7, 15, 13, 7, 27, 5, 18, 8, 2, 24, 27, 24],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1472,
"comment": "y = 0 and (y + a) % radix**8 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "8c8c940d9f51d005688c",
"msg": [30, 15, 3, 13, 23, 6, 5, 25, 0, 2, 13, 1, 13, 21, 25, 1],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 21, 7, 18, 14, 24, 7, 7, 20],
"result": "valid"
},
{
"tcId": 1473,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "8c8c940d9f51d005688c",
"msg": [16, 4, 31, 15, 3, 7, 12, 8, 7, 2, 30, 27, 15, 6, 20, 9],
"ct": [0, 0, 0, 0, 0, 0, 0, 1, 12, 18, 20, 26, 18, 17, 15, 28],
"result": "valid"
},
{
"tcId": 1474,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "8c8c940d9f51d005688c",
"msg": [15, 27, 13, 11, 1, 5, 2, 24, 25, 9, 10, 29, 22, 21, 5, 18],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 11, 25, 18, 22, 10, 12, 22, 25],
"result": "valid"
},
{
"tcId": 1475,
"comment": "y = 0 and (y + a) % radix**8 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "8c8c940d9f51d005688c",
"msg": [14, 18, 31, 23, 30, 2, 17, 5, 9, 3, 29, 8, 2, 31, 5, 7],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 6, 14, 12, 25, 26, 2, 20, 0],
"result": "valid"
},
{
"tcId": 1476,
"comment": "y = 1 and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "fbd62495af8ca6bd9109",
"msg": [29, 15, 3, 18, 27, 5, 17, 6, 24, 20, 5, 23, 26, 11, 4, 1],
"ct": [2, 22, 28, 16, 6, 14, 13, 20, 10, 26, 6, 20, 5, 29, 11, 14],
"result": "valid"
},
{
"tcId": 1477,
"comment": "y = 1 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "fbd62495af8ca6bd9109",
"msg": [8, 15, 4, 16, 22, 1, 0, 0, 0, 13, 12, 19, 3, 15, 31, 26],
"ct": [5, 2, 16, 24, 26, 27, 7, 21, 4, 23, 16, 26, 4, 31, 9, 28],
"result": "valid"
},
{
"tcId": 1478,
"comment": "y = 1 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "fbd62495af8ca6bd9109",
"msg": [1, 8, 5, 21, 2, 0, 15, 5, 7, 30, 29, 26, 14, 15, 8, 12],
"ct": [13, 24, 21, 24, 18, 15, 17, 30, 18, 4, 2, 11, 26, 25, 25, 4],
"result": "valid"
},
{
"tcId": 1479,
"comment": "y = 1 and (y + a) % radix**8 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "fbd62495af8ca6bd9109",
"msg": [25, 29, 12, 9, 11, 7, 14, 18, 27, 28, 18, 30, 24, 5, 4, 8],
"ct": [28, 19, 14, 13, 3, 31, 13, 31, 11, 16, 5, 9, 7, 5, 6, 1],
"result": "valid"
},
{
"tcId": 1480,
"comment": "y = 1 and (y + a) % radix**8 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "fbd62495af8ca6bd9109",
"msg": [2, 16, 23, 27, 30, 6, 23, 27, 6, 19, 21, 2, 16, 0, 5, 4],
"ct": [18, 24, 26, 24, 5, 18, 21, 19, 5, 23, 15, 6, 13, 13, 24, 5],
"result": "valid"
},
{
"tcId": 1481,
"comment": "y is maximal and (y + a) % radix**8 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "f2f47adaf4ebffba2969",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 5, 15, 4, 22, 29, 11, 10, 3],
"ct": [3, 8, 15, 10, 9, 29, 31, 28, 30, 30, 5, 3, 7, 5, 18, 10],
"result": "valid"
},
{
"tcId": 1482,
"comment": "y is maximal and (y + a) % radix**8 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "f2f47adaf4ebffba2969",
"msg": [0, 0, 0, 0, 0, 0, 0, 1, 5, 15, 4, 22, 29, 11, 10, 3],
"ct": [13, 7, 31, 0, 24, 10, 2, 3, 5, 21, 6, 12, 30, 5, 1, 7],
"result": "valid"
},
{
"tcId": 1483,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "f2f47adaf4ebffba2969",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 5, 15, 4, 22, 29, 11, 10, 3],
"ct": [0, 15, 29, 17, 9, 8, 9, 27, 6, 24, 1, 18, 5, 25, 20, 22],
"result": "valid"
},
{
"tcId": 1484,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "f2f47adaf4ebffba2969",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 5, 15, 4, 22, 29, 11, 10, 3],
"ct": [26, 26, 1, 8, 15, 31, 22, 0, 6, 0, 14, 29, 4, 2, 22, 17],
"result": "valid"
},
{
"tcId": 1485,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "d8cb7bcb127393962555",
"msg": [25, 15, 11, 9, 2, 26, 1, 21, 2, 30, 11, 24, 31, 23, 7, 6],
"ct": [31, 31, 31, 31, 31, 31, 31, 0, 23, 15, 29, 10, 10, 18, 31, 4],
"result": "valid"
},
{
"tcId": 1486,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "d8cb7bcb127393962555",
"msg": [31, 25, 21, 18, 7, 16, 3, 24, 21, 26, 11, 28, 19, 14, 28, 3],
"ct": [31, 31, 31, 31, 31, 31, 31, 1, 17, 28, 11, 19, 22, 20, 0, 23],
"result": "valid"
},
{
"tcId": 1487,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "d8cb7bcb127393962555",
"msg": [18, 4, 10, 20, 14, 0, 2, 15, 25, 22, 5, 12, 16, 23, 24, 3],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 12, 9, 19, 20, 31, 17, 19, 22],
"result": "valid"
},
{
"tcId": 1488,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "d8cb7bcb127393962555",
"msg": [9, 16, 6, 1, 7, 7, 13, 9, 6, 31, 10, 25, 17, 0, 23, 16],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 12, 31, 3, 30, 31, 25, 18, 29],
"result": "valid"
},
{
"tcId": 1489,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "d8cb7bcb127393962555",
"msg": [30, 25, 1, 16, 16, 23, 9, 0, 22, 13, 13, 2, 30, 16, 8, 25],
"ct": [15, 31, 31, 31, 31, 31, 31, 0, 31, 12, 10, 10, 25, 29, 12, 4],
"result": "valid"
},
{
"tcId": 1490,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "d8cb7bcb127393962555",
"msg": [29, 10, 8, 1, 17, 29, 21, 20, 19, 29, 21, 2, 24, 26, 2, 23],
"ct": [31, 31, 31, 31, 31, 31, 30, 31, 19, 22, 31, 30, 26, 21, 20, 12],
"result": "valid"
},
{
"tcId": 1491,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "06801f9772c3e60cbca7",
"msg": [25, 11, 29, 14, 0, 31, 30, 7, 22, 20, 7, 17, 7, 7, 18, 10],
"ct": [17, 12, 30, 1, 19, 0, 2, 10, 18, 1, 20, 31, 11, 16, 7, 30],
"result": "valid"
},
{
"tcId": 1492,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "06801f9772c3e60cbca7",
"msg": [2, 18, 30, 18, 7, 22, 13, 16, 30, 24, 21, 8, 26, 30, 20, 25],
"ct": [4, 5, 9, 12, 11, 9, 2, 2, 28, 30, 30, 23, 16, 31, 0, 5],
"result": "valid"
},
{
"tcId": 1493,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "06801f9772c3e60cbca7",
"msg": [22, 6, 5, 11, 31, 14, 19, 0, 3, 24, 10, 13, 18, 10, 7, 21],
"ct": [15, 0, 29, 17, 18, 28, 1, 9, 23, 26, 20, 31, 30, 1, 24, 25],
"result": "valid"
},
{
"tcId": 1494,
"comment": "y is maximal after modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1",
"tweak": "06801f9772c3e60cbca7",
"msg": [1, 21, 27, 28, 3, 8, 12, 12, 1, 21, 31, 21, 21, 0, 28, 4],
"ct": [22, 27, 14, 20, 16, 4, 11, 1, 28, 6, 18, 26, 22, 8, 5, 16],
"result": "valid"
},
{
"tcId": 1495,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6",
"tweak": "81c9e9d9fc6bb6db",
"msg": [-1, 0, 16, 31, 17, 5, 25, 11, 13, 28, 21, 21, 28, 5, 18, 31],
"ct": [18, 31, 19, 29, 16, 15, 25, 25, 1, 17, 16, 28, 0, 22, 13, 28],
"result": "invalid"
},
{
"tcId": 1496,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6",
"tweak": "81c9e9d9fc6bb6db",
"msg": [27, 0, 16, 31, 17, -1, 25, 11, 13, 28, 21, 21, 28, 5, 18, 31],
"ct": [0, 29, 10, 24, 8, 3, 24, 22, 5, 28, 12, 29, 3, 26, 6, 10],
"result": "invalid"
},
{
"tcId": 1497,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6",
"tweak": "81c9e9d9fc6bb6db",
"msg": [27, 0, 16, 31, 17, 5, 25, 11, 13, 28, 21, 21, 28, 5, 18, -1],
"ct": [11, 30, 0, 24, 8, 31, 6, 9, 28, 2, 4, 14, 4, 12, 19, 14],
"result": "invalid"
},
{
"tcId": 1498,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "731eaeabc19062c08a34b1cc006eadc803abd08ea76ae1c3",
"tweak": "f3f490688bbcb09d",
"msg": [32, 8, 14, 16, 11, 15, 7, 19, 0, 28, 29, 24, 30, 24, 13, 12],
"ct": [4, 6, 30, 29, 18, 4, 9, 16, 18, 19, 11, 8, 20, 25, 3, 17],
"result": "invalid"
},
{
"tcId": 1499,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "731eaeabc19062c08a34b1cc006eadc803abd08ea76ae1c3",
"tweak": "f3f490688bbcb09d",
"msg": [14, 8, 14, 16, 11, 32, 7, 19, 0, 28, 29, 24, 30, 24, 13, 12],
"ct": [24, 1, 5, 6, 28, 18, 14, 17, 0, 23, 16, 1, 31, 31, 15, 0],
"result": "invalid"
},
{
"tcId": 1500,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "731eaeabc19062c08a34b1cc006eadc803abd08ea76ae1c3",
"tweak": "f3f490688bbcb09d",
"msg": [14, 8, 14, 16, 11, 15, 7, 19, 0, 28, 29, 24, 30, 24, 13, 32],
"ct": [8, 8, 1, 11, 1, 12, 6, 28, 27, 5, 16, 2, 6, 28, 9, 24],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 17,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1501,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "f620ff36bcd7f62b38ee8dc91b2a1d1ac5645e4c31432921",
"tweak": "fedb3a07315c4484",
"msg": [11, 29, 28, 16, 18, 26, 4, 24, 25, 20, 21, 23, 31, 29, 1, 22, 30],
"ct": [18, 11, 7, 10, 30, 28, 22, 24, 14, 18, 24, 7, 19, 9, 23, 11, 23],
"result": "valid"
},
{
"tcId": 1502,
"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": [31, 3, 30, 10, 9, 13, 5, 5, 8, 19, 0, 28, 1, 26, 8, 20, 17],
"result": "valid"
},
{
"tcId": 1503,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [6, 21, 26, 8, 6, 19, 27, 8, 17, 11, 4, 2, 19, 29, 16, 28, 17],
"result": "valid"
},
{
"tcId": 1504,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [18, 6, 25, 10, 19, 28, 28, 8, 31, 23, 17, 24, 26, 19, 19, 31, 13],
"result": "valid"
},
{
"tcId": 1505,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [27, 24, 28, 28, 21, 22, 10, 12, 25, 19, 29, 3, 29, 27, 10, 14, 29],
"result": "valid"
},
{
"tcId": 1506,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [5, 30, 3, 22, 17, 25, 31, 17, 10, 19, 30, 24, 14, 14, 25, 24, 29],
"ct": [5, 25, 14, 29, 21, 25, 16, 16, 23, 28, 12, 10, 10, 15, 25, 29, 5],
"result": "valid"
},
{
"tcId": 1507,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [3, 23, 25, 28, 3, 6, 9, 30, 21, 27, 14, 23, 21, 8, 21, 19, 8],
"ct": [9, 26, 12, 24, 1, 28, 8, 4, 5, 0, 19, 23, 12, 21, 1, 1, 21],
"result": "valid"
},
{
"tcId": 1508,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [31, 28, 28, 17, 2, 13, 7, 1, 8, 25, 0, 15, 20, 7, 3, 8, 18],
"ct": [27, 8, 10, 0, 9, 8, 30, 8, 12, 22, 28, 15, 28, 5, 10, 11, 19],
"result": "valid"
},
{
"tcId": 1509,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [31, 20, 6, 7, 30, 2, 11, 7, 10, 9, 31, 10, 11, 15, 16, 1, 21],
"ct": [20, 13, 16, 26, 17, 24, 22, 24, 15, 23, 15, 24, 27, 17, 8, 5, 5],
"result": "valid"
},
{
"tcId": 1510,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [27, 0, 15, 9, 11, 16, 22, 18, 4, 4, 28, 7, 10, 21, 4, 13, 31],
"ct": [24, 3, 16, 17, 8, 15, 8, 17, 16, 24, 24, 22, 24, 13, 18, 3, 13],
"result": "valid"
},
{
"tcId": 1511,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [4, 8, 20, 26, 8, 27, 23, 19, 5, 2, 1, 8, 6, 23, 28, 3, 22],
"ct": [13, 27, 20, 25, 19, 11, 15, 2, 23, 5, 29, 28, 30, 14, 7, 9, 18],
"result": "valid"
},
{
"tcId": 1512,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [20, 18, 9, 30, 22, 26, 23, 21, 8, 21, 22, 2, 18, 8, 22, 17, 17],
"ct": [29, 25, 20, 22, 9, 14, 14, 15, 1, 20, 10, 25, 29, 2, 19, 24, 28],
"result": "valid"
},
{
"tcId": 1513,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [21, 6, 31, 7, 4, 6, 2, 11, 31, 31, 3, 8, 10, 17, 15, 7, 5],
"ct": [23, 27, 23, 27, 3, 29, 31, 13, 6, 13, 3, 26, 9, 13, 14, 25, 26],
"result": "valid"
},
{
"tcId": 1514,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [21, 11, 0, 11, 13, 0, 29, 13, 0, 1, 0, 18, 6, 3, 1, 2, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1515,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [18, 15, 25, 27, 14, 6, 12, 7, 21, 19, 24, 25, 20, 21, 24, 30, 18],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1516,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [25, 23, 8, 10, 12, 26, 20, 6, 10, 16, 17, 10, 24, 15, 24, 19, 25],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1517,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0",
"tweak": "13d480958d51fab5",
"msg": [1, 13, 30, 6, 6, 11, 0, 18, 8, 23, 4, 0, 10, 19, 14, 17, 28],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1518,
"comment": "y = 0 and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "59ada78480c70cef8b",
"msg": [14, 9, 19, 28, 20, 11, 5, 10, 2, 23, 9, 22, 18, 19, 20, 24, 25],
"ct": [3, 31, 0, 25, 24, 24, 13, 12, 30, 23, 9, 9, 21, 18, 22, 6, 15],
"result": "valid"
},
{
"tcId": 1519,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "59ada78480c70cef8b",
"msg": [9, 8, 19, 7, 6, 13, 22, 25, 7, 13, 19, 13, 19, 4, 9, 24, 28],
"ct": [15, 28, 23, 3, 16, 14, 29, 8, 28, 15, 19, 8, 25, 3, 24, 5, 4],
"result": "valid"
},
{
"tcId": 1520,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "59ada78480c70cef8b",
"msg": [24, 7, 11, 6, 30, 12, 14, 27, 17, 26, 19, 5, 7, 0, 13, 8, 20],
"ct": [12, 27, 0, 29, 27, 11, 6, 25, 4, 9, 28, 22, 8, 15, 31, 13, 19],
"result": "valid"
},
{
"tcId": 1521,
"comment": "y = 0 and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "59ada78480c70cef8b",
"msg": [5, 9, 23, 14, 29, 4, 3, 18, 11, 9, 3, 16, 16, 15, 2, 31, 16],
"ct": [18, 12, 13, 13, 31, 20, 18, 11, 23, 3, 28, 17, 14, 4, 13, 16, 11],
"result": "valid"
},
{
"tcId": 1522,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "fa1dc39dca2d828207",
"msg": [12, 22, 3, 21, 2, 12, 15, 8, 12, 3, 22, 23, 8, 4, 8, 11, 30],
"ct": [6, 29, 5, 11, 4, 22, 13, 18, 0, 19, 3, 21, 4, 11, 31, 24, 9],
"result": "valid"
},
{
"tcId": 1523,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "fa1dc39dca2d828207",
"msg": [7, 3, 12, 1, 26, 2, 7, 3, 6, 27, 9, 13, 18, 24, 30, 23, 27],
"ct": [5, 6, 17, 28, 25, 3, 8, 23, 25, 16, 24, 20, 2, 4, 15, 6, 29],
"result": "valid"
},
{
"tcId": 1524,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "fa1dc39dca2d828207",
"msg": [3, 25, 31, 11, 9, 3, 19, 17, 8, 12, 24, 24, 1, 6, 25, 30, 12],
"ct": [12, 10, 27, 15, 15, 7, 13, 7, 7, 18, 28, 5, 26, 30, 7, 3, 15],
"result": "valid"
},
{
"tcId": 1525,
"comment": "y = 1 and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "fa1dc39dca2d828207",
"msg": [16, 9, 19, 16, 10, 5, 17, 0, 1, 30, 25, 20, 12, 11, 7, 10, 25],
"ct": [6, 27, 16, 14, 28, 25, 1, 17, 16, 2, 31, 28, 1, 31, 9, 15, 0],
"result": "valid"
},
{
"tcId": 1526,
"comment": "y = 1 and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "fa1dc39dca2d828207",
"msg": [0, 2, 16, 29, 31, 25, 15, 13, 25, 4, 17, 26, 25, 27, 2, 9, 30],
"ct": [31, 1, 13, 18, 31, 14, 9, 19, 17, 28, 7, 30, 3, 21, 5, 3, 22],
"result": "valid"
},
{
"tcId": 1527,
"comment": "y is maximal and (y + a) % radix**8 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "09516ff4ad4083a1a5",
"msg": [16, 2, 0, 13, 9, 26, 30, 20, 23, 27, 30, 7, 9, 16, 26, 22, 19],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 20, 19, 31, 0, 10, 11, 15, 13, 2],
"result": "valid"
},
{
"tcId": 1528,
"comment": "y is maximal and (y + a) % radix**8 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "09516ff4ad4083a1a5",
"msg": [23, 9, 15, 3, 5, 9, 13, 6, 30, 4, 14, 23, 29, 17, 16, 24, 14],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 9, 16, 17, 20, 19, 1, 0, 7, 26],
"result": "valid"
},
{
"tcId": 1529,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "09516ff4ad4083a1a5",
"msg": [11, 19, 22, 2, 30, 25, 27, 30, 9, 19, 1, 30, 27, 8, 26, 28, 6],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 25, 6, 1, 26, 23, 28, 6, 8, 25],
"result": "valid"
},
{
"tcId": 1530,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "09516ff4ad4083a1a5",
"msg": [27, 1, 10, 21, 2, 1, 0, 28, 21, 3, 4, 26, 0, 19, 3, 22, 11],
"ct": [31, 31, 31, 31, 31, 31, 31, 30, 20, 1, 3, 15, 9, 3, 21, 27, 12],
"result": "valid"
},
{
"tcId": 1531,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "a20bd29555cd95d254",
"msg": [26, 2, 0, 15, 6, 3, 24, 0, 24, 16, 31, 15, 29, 0, 3, 27, 26],
"ct": [31, 31, 31, 31, 31, 31, 31, 0, 7, 2, 28, 4, 30, 0, 31, 17, 19],
"result": "valid"
},
{
"tcId": 1532,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "a20bd29555cd95d254",
"msg": [23, 14, 26, 29, 24, 5, 17, 7, 19, 14, 4, 17, 18, 22, 3, 8, 25],
"ct": [31, 31, 31, 31, 31, 31, 31, 1, 17, 20, 26, 5, 1, 1, 16, 5, 10],
"result": "valid"
},
{
"tcId": 1533,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "a20bd29555cd95d254",
"msg": [15, 4, 12, 14, 8, 31, 21, 23, 30, 10, 26, 8, 26, 17, 30, 4, 3],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 20, 21, 14, 18, 2, 1, 31, 16, 18],
"result": "valid"
},
{
"tcId": 1534,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "a20bd29555cd95d254",
"msg": [28, 7, 19, 20, 24, 10, 13, 15, 23, 5, 21, 12, 13, 27, 6, 20, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 4, 26, 7, 28, 6, 3, 28, 20, 24],
"result": "valid"
},
{
"tcId": 1535,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "a20bd29555cd95d254",
"msg": [7, 1, 2, 4, 4, 1, 11, 5, 4, 25, 27, 22, 26, 30, 28, 13, 15],
"ct": [15, 31, 31, 31, 31, 31, 31, 0, 15, 16, 11, 29, 2, 28, 11, 31, 30],
"result": "valid"
},
{
"tcId": 1536,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "a20bd29555cd95d254",
"msg": [0, 1, 0, 30, 3, 19, 14, 27, 16, 23, 14, 15, 21, 8, 12, 18, 3],
"ct": [31, 31, 31, 31, 31, 31, 30, 31, 16, 3, 7, 13, 14, 2, 8, 2, 22],
"result": "valid"
},
{
"tcId": 1537,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "c3094ed7acbe6e9bd4",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 30, 29, 24, 3, 24, 17, 12, 14, 23],
"ct": [28, 1, 26, 19, 15, 12, 3, 9, 26, 7, 20, 1, 24, 20, 1, 10, 4],
"result": "valid"
},
{
"tcId": 1538,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "c3094ed7acbe6e9bd4",
"msg": [0, 0, 0, 0, 0, 0, 0, 1, 30, 29, 24, 3, 24, 17, 12, 14, 23],
"ct": [22, 26, 18, 17, 23, 11, 9, 6, 5, 26, 24, 27, 11, 23, 4, 5, 9],
"result": "valid"
},
{
"tcId": 1539,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "c3094ed7acbe6e9bd4",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 30, 29, 24, 3, 24, 17, 12, 14, 23],
"ct": [23, 6, 3, 9, 14, 15, 2, 20, 25, 21, 14, 30, 17, 20, 7, 7, 24],
"result": "valid"
},
{
"tcId": 1540,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2",
"tweak": "c3094ed7acbe6e9bd4",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 30, 29, 24, 3, 24, 17, 12, 14, 23],
"ct": [9, 6, 7, 24, 26, 19, 4, 16, 15, 16, 17, 21, 0, 25, 1, 11, 3],
"result": "valid"
},
{
"tcId": 1541,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872",
"tweak": "0284255ddf9a1021",
"msg": [-1, 26, 19, 4, 7, 8, 26, 5, 9, 20, 22, 28, 17, 6, 4, 3, 22],
"ct": [24, 28, 24, 8, 21, 6, 7, 21, 8, 3, 2, 30, 17, 3, 27, 2, 26],
"result": "invalid"
},
{
"tcId": 1542,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872",
"tweak": "0284255ddf9a1021",
"msg": [13, 26, 19, 4, 7, -1, 26, 5, 9, 20, 22, 28, 17, 6, 4, 3, 22],
"ct": [16, 9, 15, 0, 6, 13, 4, 11, 15, 5, 27, 28, 15, 2, 11, 17, 10],
"result": "invalid"
},
{
"tcId": 1543,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872",
"tweak": "0284255ddf9a1021",
"msg": [13, 26, 19, 4, 7, 8, 26, 5, 9, 20, 22, 28, 17, 6, 4, 3, -1],
"ct": [24, 20, 17, 7, 1, 23, 8, 14, 23, 28, 13, 27, 15, 12, 20, 29, 24],
"result": "invalid"
},
{
"tcId": 1544,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4b858aa27c090737c2570f8f5fa13d463ccbfb3cf3c0aaf9",
"tweak": "1fb6e68985dccb50",
"msg": [32, 9, 19, 4, 14, 22, 14, 9, 4, 18, 12, 7, 24, 15, 27, 31, 2],
"ct": [30, 6, 22, 3, 3, 26, 20, 22, 8, 0, 21, 26, 3, 5, 17, 9, 8],
"result": "invalid"
},
{
"tcId": 1545,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4b858aa27c090737c2570f8f5fa13d463ccbfb3cf3c0aaf9",
"tweak": "1fb6e68985dccb50",
"msg": [11, 9, 19, 4, 14, 32, 14, 9, 4, 18, 12, 7, 24, 15, 27, 31, 2],
"ct": [20, 7, 19, 15, 3, 28, 6, 27, 29, 24, 10, 7, 14, 20, 2, 19, 26],
"result": "invalid"
},
{
"tcId": 1546,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4b858aa27c090737c2570f8f5fa13d463ccbfb3cf3c0aaf9",
"tweak": "1fb6e68985dccb50",
"msg": [11, 9, 19, 4, 14, 22, 14, 9, 4, 18, 12, 7, 24, 15, 27, 31, 32],
"ct": [18, 8, 5, 14, 17, 13, 7, 31, 0, 4, 22, 3, 12, 14, 24, 23, 0],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 18,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1547,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "47eb4430ea1cb545acc8f09ada1ecc8574d394b5a20e5017",
"tweak": "683baf80b9d31daa",
"msg": [13, 23, 4, 18, 9, 13, 30, 27, 0, 6, 21, 16, 23, 25, 27, 2, 8, 30],
"ct": [0, 17, 4, 0, 1, 14, 31, 9, 0, 0, 20, 10, 25, 11, 9, 31, 30, 27],
"result": "valid"
},
{
"tcId": 1548,
"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, 21, 13, 22, 28, 31, 9, 3, 14, 31, 12, 24, 1, 20, 4, 2, 25, 5],
"result": "valid"
},
{
"tcId": 1549,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [3, 30, 5, 25, 28, 16, 17, 6, 3, 23, 18, 10, 7, 2, 27, 2, 0, 8],
"result": "valid"
},
{
"tcId": 1550,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [12, 17, 25, 1, 12, 18, 3, 10, 25, 18, 20, 2, 4, 18, 28, 6, 3, 0],
"result": "valid"
},
{
"tcId": 1551,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [20, 7, 22, 7, 8, 24, 9, 25, 25, 16, 0, 11, 17, 25, 10, 20, 1, 9],
"result": "valid"
},
{
"tcId": 1552,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [23, 26, 18, 13, 2, 4, 21, 29, 24, 21, 19, 14, 23, 1, 3, 24, 30, 20],
"ct": [14, 10, 14, 29, 31, 3, 20, 14, 30, 15, 14, 13, 31, 21, 2, 7, 6, 30],
"result": "valid"
},
{
"tcId": 1553,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [25, 29, 19, 26, 30, 20, 24, 2, 8, 25, 28, 8, 9, 25, 28, 28, 1, 21],
"ct": [13, 19, 28, 19, 9, 8, 29, 28, 30, 25, 17, 15, 12, 6, 29, 31, 26, 23],
"result": "valid"
},
{
"tcId": 1554,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [16, 1, 20, 9, 1, 13, 24, 24, 22, 27, 2, 2, 21, 24, 12, 0, 17, 23],
"ct": [16, 18, 20, 13, 3, 29, 25, 22, 10, 6, 14, 3, 30, 7, 11, 8, 21, 20],
"result": "valid"
},
{
"tcId": 1555,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [30, 27, 4, 0, 14, 28, 18, 15, 3, 29, 25, 29, 25, 10, 26, 12, 27, 3],
"ct": [13, 27, 13, 26, 24, 23, 7, 18, 15, 11, 22, 21, 3, 25, 18, 12, 29, 3],
"result": "valid"
},
{
"tcId": 1556,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [29, 6, 14, 6, 6, 7, 12, 16, 15, 24, 10, 18, 24, 10, 7, 15, 2, 27],
"ct": [2, 26, 17, 27, 18, 14, 17, 13, 3, 7, 24, 14, 30, 27, 1, 26, 9, 11],
"result": "valid"
},
{
"tcId": 1557,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [7, 20, 31, 20, 16, 21, 5, 17, 13, 1, 26, 0, 3, 8, 7, 23, 19, 16],
"ct": [8, 25, 2, 1, 9, 21, 2, 3, 11, 16, 10, 4, 14, 15, 6, 27, 27, 0],
"result": "valid"
},
{
"tcId": 1558,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [24, 27, 0, 28, 19, 8, 26, 22, 7, 1, 25, 21, 21, 27, 28, 6, 26, 5],
"ct": [9, 12, 26, 13, 20, 20, 7, 23, 20, 22, 23, 0, 18, 22, 15, 27, 7, 21],
"result": "valid"
},
{
"tcId": 1559,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [10, 5, 30, 4, 31, 22, 21, 26, 1, 8, 26, 2, 10, 12, 22, 28, 16, 15],
"ct": [3, 5, 9, 29, 23, 28, 21, 22, 4, 25, 28, 17, 7, 10, 23, 24, 26, 3],
"result": "valid"
},
{
"tcId": 1560,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [7, 23, 30, 24, 0, 25, 9, 12, 10, 0, 21, 11, 17, 17, 27, 5, 28, 2],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1561,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [29, 11, 26, 9, 14, 17, 13, 30, 25, 8, 5, 14, 8, 9, 5, 15, 17, 16],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1562,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [24, 4, 13, 10, 27, 24, 16, 11, 3, 9, 19, 0, 12, 13, 21, 14, 6, 8],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1563,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d",
"tweak": "8ef1d4315ed3c68f",
"msg": [11, 7, 9, 5, 30, 29, 4, 19, 10, 20, 23, 19, 2, 8, 1, 1, 5, 5],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1564,
"comment": "y = 0 and (y + a) % radix**9 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "aa8f53ac44d5419cf2",
"msg": [7, 4, 9, 4, 29, 3, 22, 3, 18, 8, 17, 0, 0, 1, 25, 8, 3, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 13, 0, 14, 0, 17, 4, 30],
"result": "valid"
},
{
"tcId": 1565,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "aa8f53ac44d5419cf2",
"msg": [24, 12, 3, 10, 3, 28, 7, 8, 19, 17, 7, 3, 22, 17, 27, 9, 26, 11],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 1, 25, 13, 16, 14, 28, 15, 22, 28, 18],
"result": "valid"
},
{
"tcId": 1566,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "aa8f53ac44d5419cf2",
"msg": [16, 10, 18, 31, 30, 11, 15, 14, 31, 0, 22, 24, 0, 8, 17, 22, 6, 10],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 9, 14, 28, 7, 3, 2, 21, 31, 23],
"result": "valid"
},
{
"tcId": 1567,
"comment": "y = 0 and (y + a) % radix**9 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "aa8f53ac44d5419cf2",
"msg": [2, 9, 9, 2, 8, 5, 31, 8, 29, 21, 26, 5, 21, 27, 20, 21, 7, 9],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 2, 29, 20, 9, 1, 2, 21, 24],
"result": "valid"
},
{
"tcId": 1568,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "2f7b0fb9a248621447",
"msg": [3, 24, 26, 18, 8, 19, 28, 6, 24, 29, 20, 15, 0, 29, 29, 6, 7, 17],
"ct": [9, 20, 15, 13, 28, 30, 17, 1, 24, 6, 26, 16, 23, 5, 25, 25, 18, 15],
"result": "valid"
},
{
"tcId": 1569,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "2f7b0fb9a248621447",
"msg": [17, 22, 6, 30, 15, 19, 28, 5, 25, 15, 27, 4, 2, 3, 29, 23, 13, 3],
"ct": [28, 9, 22, 12, 0, 24, 31, 18, 5, 23, 3, 22, 4, 18, 10, 27, 31, 10],
"result": "valid"
},
{
"tcId": 1570,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "2f7b0fb9a248621447",
"msg": [4, 4, 9, 4, 10, 18, 11, 30, 28, 4, 14, 4, 13, 22, 12, 15, 3, 19],
"ct": [25, 8, 16, 25, 18, 24, 8, 15, 24, 18, 13, 22, 11, 2, 10, 1, 12, 31],
"result": "valid"
},
{
"tcId": 1571,
"comment": "y = 1 and (y + a) % radix**9 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "2f7b0fb9a248621447",
"msg": [18, 13, 10, 25, 13, 28, 31, 0, 2, 25, 23, 16, 24, 2, 27, 12, 27, 8],
"ct": [10, 4, 19, 23, 3, 21, 28, 3, 20, 7, 30, 27, 15, 19, 25, 22, 19, 2],
"result": "valid"
},
{
"tcId": 1572,
"comment": "y = 1 and (y + a) % radix**9 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "2f7b0fb9a248621447",
"msg": [4, 29, 25, 23, 31, 7, 0, 6, 20, 30, 2, 16, 9, 12, 9, 25, 18, 18],
"ct": [0, 13, 31, 15, 3, 10, 1, 3, 24, 9, 18, 29, 27, 2, 30, 31, 14, 7],
"result": "valid"
},
{
"tcId": 1573,
"comment": "y is maximal and (y + a) % radix**9 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "199ff1f742bbf08830",
"msg": [18, 27, 19, 28, 30, 30, 16, 21, 29, 18, 17, 1, 14, 18, 8, 17, 28, 13],
"ct": [16, 11, 13, 2, 11, 11, 30, 20, 24, 15, 31, 4, 17, 10, 3, 4, 18, 5],
"result": "valid"
},
{
"tcId": 1574,
"comment": "y is maximal and (y + a) % radix**9 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "199ff1f742bbf08830",
"msg": [10, 22, 11, 18, 13, 11, 4, 31, 18, 15, 20, 7, 14, 19, 15, 30, 14, 17],
"ct": [27, 1, 23, 3, 25, 18, 23, 14, 1, 24, 12, 17, 20, 15, 27, 11, 24, 26],
"result": "valid"
},
{
"tcId": 1575,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "199ff1f742bbf08830",
"msg": [16, 12, 15, 11, 12, 13, 18, 20, 28, 28, 25, 26, 28, 7, 6, 4, 3, 26],
"ct": [6, 15, 19, 22, 29, 28, 16, 5, 19, 15, 22, 24, 3, 30, 25, 0, 13, 14],
"result": "valid"
},
{
"tcId": 1576,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "199ff1f742bbf08830",
"msg": [10, 30, 31, 25, 0, 28, 17, 2, 19, 27, 27, 26, 26, 22, 5, 0, 5, 14],
"ct": [28, 8, 4, 20, 31, 6, 22, 14, 13, 14, 19, 21, 14, 12, 4, 31, 15, 31],
"result": "valid"
},
{
"tcId": 1577,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "e4cb679b854fe1aa3e",
"msg": [14, 23, 31, 7, 19, 26, 14, 4, 17, 19, 6, 10, 18, 9, 8, 19, 8, 12],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 0, 25, 3, 19, 31, 28, 3, 29, 0, 19],
"result": "valid"
},
{
"tcId": 1578,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "e4cb679b854fe1aa3e",
"msg": [30, 10, 8, 28, 20, 9, 22, 7, 3, 8, 17, 22, 20, 2, 12, 30, 3, 1],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 1, 6, 18, 28, 20, 3, 4, 10, 14, 18],
"result": "valid"
},
{
"tcId": 1579,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "e4cb679b854fe1aa3e",
"msg": [5, 0, 28, 11, 19, 7, 15, 20, 1, 1, 18, 3, 9, 17, 3, 8, 7, 1],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 6, 3, 14, 29, 25, 15, 16, 23, 11],
"result": "valid"
},
{
"tcId": 1580,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "e4cb679b854fe1aa3e",
"msg": [29, 20, 3, 17, 29, 1, 28, 8, 12, 0, 27, 17, 8, 30, 9, 11, 23, 17],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 27, 14, 21, 10, 13, 22, 12, 11],
"result": "valid"
},
{
"tcId": 1581,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "e4cb679b854fe1aa3e",
"msg": [12, 31, 27, 25, 11, 7, 17, 21, 13, 20, 0, 16, 12, 6, 14, 0, 2, 1],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 0, 22, 28, 21, 6, 19, 1, 30, 21, 7],
"result": "valid"
},
{
"tcId": 1582,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "e4cb679b854fe1aa3e",
"msg": [24, 15, 31, 5, 16, 0, 15, 8, 28, 18, 29, 20, 11, 19, 25, 20, 5, 19],
"ct": [31, 31, 31, 31, 31, 31, 31, 30, 31, 25, 6, 20, 7, 21, 24, 11, 30, 10],
"result": "valid"
},
{
"tcId": 1583,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "c0961a1dff9cb447d3",
"msg": [25, 17, 7, 3, 9, 26, 31, 11, 24, 5, 2, 9, 13, 10, 19, 27, 29, 2],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 12, 2, 26, 26, 13, 10, 0, 3, 6],
"result": "valid"
},
{
"tcId": 1584,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "c0961a1dff9cb447d3",
"msg": [13, 9, 5, 24, 26, 5, 11, 22, 18, 2, 1, 12, 12, 28, 2, 20, 16, 4],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 25, 31, 1, 8, 20, 13, 28, 29],
"result": "valid"
},
{
"tcId": 1585,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "c0961a1dff9cb447d3",
"msg": [23, 11, 30, 8, 6, 28, 28, 16, 23, 23, 22, 19, 12, 21, 10, 28, 8, 24],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 27, 29, 17, 6, 18, 2, 19, 18, 15],
"result": "valid"
},
{
"tcId": 1586,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6",
"tweak": "c0961a1dff9cb447d3",
"msg": [27, 5, 25, 14, 6, 30, 13, 12, 24, 25, 9, 16, 0, 22, 28, 1, 1, 26],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 30, 2, 27, 2, 19, 18, 9, 12, 22, 3],
"result": "valid"
},
{
"tcId": 1587,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f",
"tweak": "8fb4ffb3514c5fcc",
"msg": [-1, 27, 18, 1, 20, 1, 0, 23, 4, 4, 20, 21, 13, 23, 17, 2, 24, 0],
"ct": [18, 13, 6, 27, 7, 10, 14, 7, 12, 11, 27, 3, 31, 9, 18, 18, 25, 3],
"result": "invalid"
},
{
"tcId": 1588,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f",
"tweak": "8fb4ffb3514c5fcc",
"msg": [0, 27, 18, 1, 20, 1, -1, 23, 4, 4, 20, 21, 13, 23, 17, 2, 24, 0],
"ct": [29, 29, 20, 21, 14, 9, 11, 11, 2, 16, 2, 30, 11, 17, 9, 24, 0, 13],
"result": "invalid"
},
{
"tcId": 1589,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f",
"tweak": "8fb4ffb3514c5fcc",
"msg": [0, 27, 18, 1, 20, 1, 0, 23, 4, 4, 20, 21, 13, 23, 17, 2, 24, -1],
"ct": [23, 27, 14, 23, 27, 19, 23, 10, 9, 2, 11, 31, 12, 30, 15, 30, 15, 8],
"result": "invalid"
},
{
"tcId": 1590,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "32df3a4a91f9a8cb86921b9cdf203e7911a85f61ad0d8b44",
"tweak": "1a230ff95e7e1ca3",
"msg": [32, 27, 2, 7, 20, 11, 27, 16, 11, 22, 31, 0, 12, 26, 2, 14, 13, 19],
"ct": [12, 31, 2, 23, 8, 0, 11, 29, 18, 7, 27, 20, 18, 7, 3, 11, 23, 26],
"result": "invalid"
},
{
"tcId": 1591,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "32df3a4a91f9a8cb86921b9cdf203e7911a85f61ad0d8b44",
"tweak": "1a230ff95e7e1ca3",
"msg": [23, 27, 2, 7, 20, 11, 32, 16, 11, 22, 31, 0, 12, 26, 2, 14, 13, 19],
"ct": [27, 3, 24, 18, 25, 10, 21, 13, 7, 13, 6, 19, 4, 0, 11, 0, 19, 2],
"result": "invalid"
},
{
"tcId": 1592,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "32df3a4a91f9a8cb86921b9cdf203e7911a85f61ad0d8b44",
"tweak": "1a230ff95e7e1ca3",
"msg": [23, 27, 2, 7, 20, 11, 27, 16, 11, 22, 31, 0, 12, 26, 2, 14, 13, 32],
"ct": [24, 12, 3, 15, 5, 16, 25, 11, 31, 8, 17, 27, 28, 1, 1, 26, 8, 6],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 19,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1593,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "ba47709f6c5147bb5e20ee8869b439706fef5f984862cc0d",
"tweak": "1a8494e5274bc2df",
"msg": [8, 22, 30, 7, 10, 10, 10, 31, 27, 12, 9, 25, 20, 15, 9, 7, 8, 1, 5],
"ct": [10, 17, 17, 24, 2, 17, 23, 12, 18, 5, 0, 20, 20, 31, 20, 21, 15, 23, 13],
"result": "valid"
},
{
"tcId": 1594,
"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": [19, 25, 0, 8, 0, 15, 1, 18, 23, 13, 6, 26, 8, 16, 18, 31, 30, 23, 9],
"result": "valid"
},
{
"tcId": 1595,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [2, 3, 9, 27, 2, 20, 31, 23, 20, 6, 10, 0, 9, 10, 4, 2, 26, 1, 1],
"result": "valid"
},
{
"tcId": 1596,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [14, 9, 5, 31, 12, 18, 21, 21, 7, 4, 25, 10, 16, 25, 24, 6, 26, 9, 30],
"result": "valid"
},
{
"tcId": 1597,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [4, 3, 22, 15, 23, 0, 5, 13, 19, 10, 7, 12, 6, 7, 23, 3, 17, 21, 11],
"result": "valid"
},
{
"tcId": 1598,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [5, 8, 18, 2, 2, 27, 21, 28, 10, 8, 13, 4, 2, 20, 19, 24, 3, 3, 6],
"ct": [25, 18, 5, 9, 8, 29, 18, 25, 28, 10, 14, 23, 9, 28, 15, 5, 8, 8, 4],
"result": "valid"
},
{
"tcId": 1599,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [30, 3, 15, 21, 7, 13, 20, 9, 1, 6, 13, 2, 0, 23, 14, 9, 1, 13, 13],
"ct": [19, 1, 17, 25, 11, 31, 19, 0, 14, 30, 31, 11, 18, 24, 26, 19, 11, 31, 10],
"result": "valid"
},
{
"tcId": 1600,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [13, 30, 28, 31, 24, 25, 14, 19, 2, 22, 13, 14, 7, 4, 31, 1, 29, 8, 24],
"ct": [8, 23, 19, 24, 7, 26, 21, 24, 28, 5, 29, 27, 12, 3, 31, 23, 26, 21, 28],
"result": "valid"
},
{
"tcId": 1601,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [28, 12, 27, 29, 3, 9, 3, 3, 22, 4, 31, 15, 29, 10, 16, 29, 19, 29, 22],
"ct": [6, 23, 30, 1, 25, 27, 5, 11, 8, 21, 29, 30, 2, 5, 30, 14, 12, 25, 12],
"result": "valid"
},
{
"tcId": 1602,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [31, 18, 5, 24, 6, 19, 4, 16, 5, 6, 6, 13, 29, 31, 4, 0, 17, 3, 21],
"ct": [22, 16, 30, 0, 9, 27, 31, 8, 25, 1, 0, 13, 27, 21, 8, 1, 20, 5, 30],
"result": "valid"
},
{
"tcId": 1603,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [27, 2, 27, 3, 7, 12, 30, 5, 21, 9, 17, 25, 26, 31, 16, 11, 12, 7, 17],
"ct": [1, 5, 29, 24, 2, 19, 14, 0, 0, 26, 27, 31, 9, 30, 21, 10, 26, 9, 13],
"result": "valid"
},
{
"tcId": 1604,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [11, 27, 7, 19, 15, 10, 5, 3, 3, 3, 25, 21, 9, 26, 31, 0, 7, 0, 11],
"ct": [23, 23, 13, 13, 11, 13, 27, 20, 0, 15, 8, 5, 12, 24, 31, 11, 12, 30, 26],
"result": "valid"
},
{
"tcId": 1605,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [31, 16, 31, 29, 26, 0, 20, 20, 26, 28, 2, 1, 29, 3, 22, 18, 26, 21, 29],
"ct": [17, 1, 0, 16, 31, 5, 5, 4, 21, 20, 11, 29, 21, 21, 26, 1, 27, 7, 26],
"result": "valid"
},
{
"tcId": 1606,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [3, 0, 1, 0, 29, 24, 4, 11, 23, 13, 0, 26, 0, 4, 31, 12, 7, 2, 20],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1607,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [3, 5, 18, 17, 13, 4, 21, 17, 20, 4, 10, 19, 26, 11, 25, 7, 19, 5, 3],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1608,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [27, 29, 24, 1, 21, 2, 23, 21, 5, 20, 1, 31, 7, 2, 5, 15, 22, 27, 11],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1609,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78",
"tweak": "eb0ec722d32a5563",
"msg": [17, 30, 7, 6, 15, 3, 13, 10, 7, 15, 22, 12, 21, 26, 9, 10, 24, 0, 3],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1610,
"comment": "y = 0 and (y + a) % radix**9 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "9436f8af9ee76c9a",
"msg": [27, 20, 23, 26, 1, 28, 30, 26, 16, 19, 18, 31, 6, 30, 29, 10, 11, 10, 14],
"ct": [21, 25, 28, 12, 27, 26, 10, 2, 14, 23, 6, 11, 1, 17, 25, 2, 21, 0, 14],
"result": "valid"
},
{
"tcId": 1611,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "9436f8af9ee76c9a",
"msg": [25, 31, 18, 2, 7, 23, 27, 3, 4, 4, 25, 22, 28, 17, 26, 28, 11, 9, 2],
"ct": [17, 20, 22, 29, 16, 23, 1, 16, 19, 5, 2, 13, 24, 5, 28, 22, 1, 14, 8],
"result": "valid"
},
{
"tcId": 1612,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "9436f8af9ee76c9a",
"msg": [29, 28, 9, 18, 10, 20, 25, 21, 22, 11, 28, 27, 18, 18, 15, 22, 25, 5, 2],
"ct": [18, 6, 29, 22, 23, 30, 13, 14, 31, 23, 19, 8, 22, 6, 20, 0, 1, 14, 12],
"result": "valid"
},
{
"tcId": 1613,
"comment": "y = 0 and (y + a) % radix**9 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "9436f8af9ee76c9a",
"msg": [25, 16, 15, 1, 15, 26, 16, 3, 1, 7, 28, 3, 23, 31, 7, 30, 21, 18, 17],
"ct": [13, 24, 18, 0, 9, 5, 28, 4, 7, 13, 3, 11, 11, 9, 24, 7, 19, 6, 23],
"result": "valid"
},
{
"tcId": 1614,
"comment": "y is maximal and (y + a) % radix**9 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8e65fd9a3b59ec1d",
"msg": [8, 9, 25, 11, 31, 18, 31, 31, 17, 20, 31, 17, 22, 4, 27, 17, 21, 5, 30],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 10, 29, 28, 2, 15, 11, 26, 7, 30, 8],
"result": "valid"
},
{
"tcId": 1615,
"comment": "y is maximal and (y + a) % radix**9 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8e65fd9a3b59ec1d",
"msg": [21, 23, 12, 17, 29, 12, 12, 1, 28, 11, 25, 9, 5, 15, 20, 24, 12, 5, 7],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 8, 26, 17, 23, 22, 12, 22, 24],
"result": "valid"
},
{
"tcId": 1616,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8e65fd9a3b59ec1d",
"msg": [16, 10, 5, 27, 10, 4, 1, 29, 6, 29, 4, 11, 4, 30, 29, 14, 3, 24, 15],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 23, 20, 14, 8, 6, 10, 9, 15, 5, 13],
"result": "valid"
},
{
"tcId": 1617,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b",
"tweak": "8e65fd9a3b59ec1d",
"msg": [30, 22, 29, 11, 17, 7, 1, 5, 26, 5, 21, 11, 2, 13, 27, 7, 29, 13, 29],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 30, 25, 26, 7, 9, 26, 29, 19, 9, 19, 9],
"result": "valid"
},
{
"tcId": 1618,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9",
"tweak": "210a87007dcef98c",
"msg": [-1, 12, 16, 27, 23, 31, 12, 17, 29, 30, 15, 19, 23, 11, 6, 11, 4, 2, 21],
"ct": [28, 9, 4, 19, 20, 3, 9, 17, 2, 21, 27, 17, 11, 26, 16, 22, 20, 25, 2],
"result": "invalid"
},
{
"tcId": 1619,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9",
"tweak": "210a87007dcef98c",
"msg": [12, 12, 16, 27, 23, 31, -1, 17, 29, 30, 15, 19, 23, 11, 6, 11, 4, 2, 21],
"ct": [7, 22, 9, 3, 7, 17, 31, 16, 18, 17, 4, 0, 4, 18, 11, 26, 29, 2, 0],
"result": "invalid"
},
{
"tcId": 1620,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9",
"tweak": "210a87007dcef98c",
"msg": [12, 12, 16, 27, 23, 31, 12, 17, 29, 30, 15, 19, 23, 11, 6, 11, 4, 2, -1],
"ct": [0, 28, 22, 7, 14, 27, 20, 26, 17, 30, 6, 6, 4, 24, 1, 0, 13, 26, 27],
"result": "invalid"
},
{
"tcId": 1621,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4b27a5609e1c5a374fd994b53dc6726820184be63c866c82",
"tweak": "fe4bfa878ba18407",
"msg": [32, 30, 15, 16, 4, 13, 0, 27, 27, 30, 13, 27, 23, 18, 23, 1, 22, 8, 19],
"ct": [16, 10, 30, 13, 1, 16, 22, 10, 5, 9, 3, 1, 21, 6, 29, 29, 27, 30, 20],
"result": "invalid"
},
{
"tcId": 1622,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4b27a5609e1c5a374fd994b53dc6726820184be63c866c82",
"tweak": "fe4bfa878ba18407",
"msg": [9, 30, 15, 16, 4, 13, 32, 27, 27, 30, 13, 27, 23, 18, 23, 1, 22, 8, 19],
"ct": [6, 6, 13, 21, 31, 15, 19, 6, 15, 7, 16, 4, 12, 9, 31, 23, 6, 27, 7],
"result": "invalid"
},
{
"tcId": 1623,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "4b27a5609e1c5a374fd994b53dc6726820184be63c866c82",
"tweak": "fe4bfa878ba18407",
"msg": [9, 30, 15, 16, 4, 13, 0, 27, 27, 30, 13, 27, 23, 18, 23, 1, 22, 8, 32],
"ct": [29, 30, 9, 5, 5, 21, 26, 23, 25, 13, 7, 23, 5, 5, 20, 7, 9, 31, 3],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 20,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1624,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "141107e15df419395d338f34ef63f1e80d20b2dad04e5b54",
"tweak": "b069e365f5a623ff",
"msg": [3, 26, 26, 17, 15, 6, 15, 26, 17, 3, 17, 31, 13, 0, 17, 23, 3, 22, 18, 15],
"ct": [26, 17, 16, 11, 2, 11, 27, 21, 17, 12, 30, 23, 1, 14, 7, 9, 10, 31, 10, 19],
"result": "valid"
},
{
"tcId": 1625,
"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": [28, 24, 21, 21, 30, 30, 5, 10, 1, 11, 31, 26, 23, 16, 20, 23, 25, 29, 10, 8],
"result": "valid"
},
{
"tcId": 1626,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [8, 26, 25, 11, 15, 20, 28, 22, 23, 3, 6, 29, 6, 15, 2, 6, 20, 11, 30, 2],
"result": "valid"
},
{
"tcId": 1627,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 13, 3, 16, 27, 6, 14, 0, 25, 10, 8, 22, 19, 12, 16, 10, 19, 13, 0, 23],
"result": "valid"
},
{
"tcId": 1628,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [4, 28, 22, 7, 27, 27, 30, 27, 3, 4, 12, 12, 13, 1, 24, 31, 14, 20, 18, 11],
"result": "valid"
},
{
"tcId": 1629,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [0, 7, 9, 28, 3, 12, 28, 20, 19, 3, 8, 3, 1, 9, 18, 6, 3, 9, 14, 27],
"ct": [5, 1, 28, 3, 6, 17, 30, 2, 12, 31, 1, 22, 25, 31, 14, 19, 31, 12, 2, 19],
"result": "valid"
},
{
"tcId": 1630,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [4, 6, 30, 28, 19, 16, 21, 31, 16, 20, 22, 28, 22, 7, 6, 23, 15, 29, 18, 25],
"ct": [4, 9, 31, 2, 31, 16, 31, 1, 26, 9, 14, 12, 4, 21, 28, 21, 31, 7, 30, 10],
"result": "valid"
},
{
"tcId": 1631,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [30, 28, 1, 5, 8, 4, 23, 26, 7, 20, 7, 13, 25, 24, 28, 9, 15, 10, 17, 21],
"ct": [0, 9, 1, 8, 16, 17, 7, 9, 3, 25, 28, 25, 21, 7, 31, 26, 2, 5, 10, 7],
"result": "valid"
},
{
"tcId": 1632,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [2, 16, 21, 13, 21, 9, 19, 16, 24, 17, 0, 0, 23, 11, 10, 22, 31, 3, 23, 0],
"ct": [11, 24, 24, 11, 6, 14, 16, 9, 17, 29, 24, 11, 20, 8, 22, 8, 30, 10, 9, 28],
"result": "valid"
},
{
"tcId": 1633,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [7, 11, 23, 10, 11, 26, 1, 15, 10, 13, 16, 8, 6, 2, 18, 29, 29, 22, 17, 5],
"ct": [0, 17, 14, 29, 21, 27, 10, 19, 10, 3, 4, 15, 13, 2, 25, 0, 31, 25, 14, 30],
"result": "valid"
},
{
"tcId": 1634,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [23, 8, 8, 8, 6, 5, 2, 8, 22, 24, 20, 6, 17, 5, 2, 15, 2, 22, 30, 3],
"ct": [10, 19, 20, 5, 29, 1, 25, 6, 9, 26, 20, 8, 16, 13, 16, 1, 21, 5, 26, 17],
"result": "valid"
},
{
"tcId": 1635,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [0, 15, 27, 31, 1, 15, 14, 22, 3, 6, 10, 8, 21, 14, 31, 17, 12, 18, 25, 6],
"ct": [16, 26, 26, 18, 13, 8, 20, 16, 26, 12, 11, 1, 6, 24, 17, 5, 22, 6, 12, 31],
"result": "valid"
},
{
"tcId": 1636,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [28, 1, 0, 10, 22, 26, 4, 15, 1, 24, 20, 2, 7, 9, 24, 11, 14, 18, 18, 1],
"ct": [12, 12, 13, 3, 1, 30, 21, 24, 25, 10, 31, 31, 20, 11, 13, 30, 22, 26, 19, 3],
"result": "valid"
},
{
"tcId": 1637,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [22, 23, 31, 19, 11, 5, 9, 30, 23, 28, 13, 13, 21, 5, 31, 11, 29, 10, 7, 13],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1638,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [15, 25, 25, 0, 31, 23, 1, 6, 4, 15, 1, 26, 7, 27, 29, 1, 27, 19, 20, 19],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1639,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [11, 10, 14, 24, 4, 25, 3, 16, 18, 8, 18, 16, 15, 13, 11, 6, 8, 31, 27, 3],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1640,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824",
"tweak": "769ef53520d6bd5d",
"msg": [10, 1, 21, 13, 28, 13, 20, 31, 4, 0, 3, 31, 28, 9, 17, 5, 14, 0, 8, 6],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1641,
"comment": "y = 1 and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "014a9c340abc3f52",
"msg": [7, 10, 15, 17, 21, 22, 3, 19, 9, 25, 27, 14, 7, 24, 28, 0, 11, 30, 21, 23],
"ct": [13, 4, 30, 18, 29, 26, 10, 14, 2, 11, 24, 4, 22, 30, 23, 23, 14, 30, 14, 19],
"result": "valid"
},
{
"tcId": 1642,
"comment": "y = 1 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "014a9c340abc3f52",
"msg": [22, 17, 17, 19, 15, 4, 21, 15, 23, 1, 28, 25, 27, 10, 22, 18, 1, 18, 22, 8],
"ct": [24, 31, 12, 12, 3, 6, 19, 22, 20, 0, 5, 31, 14, 19, 12, 18, 19, 13, 0, 25],
"result": "valid"
},
{
"tcId": 1643,
"comment": "y = 1 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "014a9c340abc3f52",
"msg": [9, 31, 9, 19, 23, 8, 22, 27, 1, 9, 21, 14, 11, 7, 18, 23, 28, 26, 0, 4],
"ct": [26, 4, 28, 2, 21, 17, 21, 17, 20, 15, 1, 30, 11, 20, 20, 5, 10, 22, 3, 3],
"result": "valid"
},
{
"tcId": 1644,
"comment": "y = 1 and (y + a) % radix**10 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "014a9c340abc3f52",
"msg": [24, 2, 24, 20, 12, 9, 23, 17, 10, 17, 23, 27, 0, 18, 22, 2, 23, 11, 11, 20],
"ct": [10, 23, 27, 25, 24, 4, 5, 2, 19, 1, 31, 25, 2, 27, 10, 4, 6, 25, 22, 11],
"result": "valid"
},
{
"tcId": 1645,
"comment": "y = 1 and (y + a) % radix**10 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "014a9c340abc3f52",
"msg": [2, 0, 30, 21, 5, 28, 19, 31, 0, 6, 26, 0, 10, 5, 18, 11, 13, 1, 10, 4],
"ct": [28, 18, 12, 4, 7, 1, 4, 22, 20, 30, 25, 13, 15, 11, 7, 12, 31, 2, 15, 3],
"result": "valid"
},
{
"tcId": 1646,
"comment": "y is edge case for modular reduction and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "70d765abef82ef22",
"msg": [20, 31, 10, 17, 5, 4, 21, 19, 5, 19, 27, 29, 30, 11, 8, 2, 3, 17, 3, 31],
"ct": [5, 26, 28, 14, 30, 13, 22, 27, 4, 6, 8, 12, 22, 30, 5, 9, 1, 2, 26, 18],
"result": "valid"
},
{
"tcId": 1647,
"comment": "y is edge case for modular reduction and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "70d765abef82ef22",
"msg": [11, 24, 25, 30, 29, 31, 11, 26, 11, 23, 25, 12, 9, 30, 13, 13, 8, 25, 5, 20],
"ct": [9, 13, 11, 1, 26, 29, 31, 15, 6, 30, 14, 19, 29, 8, 18, 30, 1, 20, 11, 28],
"result": "valid"
},
{
"tcId": 1648,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "70d765abef82ef22",
"msg": [27, 19, 23, 29, 7, 28, 13, 22, 3, 4, 14, 25, 5, 2, 29, 25, 7, 17, 15, 13],
"ct": [2, 24, 18, 13, 13, 6, 7, 0, 14, 18, 3, 26, 15, 4, 13, 13, 10, 25, 21, 18],
"result": "valid"
},
{
"tcId": 1649,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "70d765abef82ef22",
"msg": [10, 25, 6, 6, 11, 29, 20, 18, 30, 11, 1, 4, 31, 31, 13, 23, 10, 29, 8, 13],
"ct": [6, 0, 25, 14, 11, 2, 17, 25, 4, 25, 6, 26, 18, 9, 11, 7, 27, 31, 16, 11],
"result": "valid"
},
{
"tcId": 1650,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "70d765abef82ef22",
"msg": [6, 6, 20, 21, 4, 9, 20, 0, 23, 15, 25, 15, 17, 5, 29, 7, 6, 17, 12, 9],
"ct": [20, 1, 10, 26, 0, 7, 2, 29, 31, 6, 18, 12, 1, 24, 4, 2, 6, 11, 28, 1],
"result": "valid"
},
{
"tcId": 1651,
"comment": "y is edge case for modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "70d765abef82ef22",
"msg": [18, 1, 17, 14, 26, 12, 24, 1, 20, 19, 19, 31, 21, 0, 17, 7, 26, 9, 4, 24],
"ct": [4, 29, 10, 13, 24, 8, 20, 5, 23, 15, 21, 30, 5, 12, 24, 18, 1, 25, 9, 8],
"result": "valid"
},
{
"tcId": 1652,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "c3c3824889bea77f",
"msg": [8, 2, 3, 2, 24, 3, 28, 18, 29, 9, 0, 5, 17, 15, 31, 14, 22, 7, 11, 3],
"ct": [9, 20, 1, 16, 17, 11, 6, 15, 29, 1, 0, 11, 31, 5, 15, 29, 14, 9, 3, 18],
"result": "valid"
},
{
"tcId": 1653,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "c3c3824889bea77f",
"msg": [8, 30, 9, 9, 27, 5, 4, 30, 7, 22, 12, 31, 3, 7, 22, 6, 25, 9, 28, 16],
"ct": [17, 0, 31, 13, 25, 3, 4, 17, 0, 26, 15, 1, 8, 17, 19, 30, 24, 28, 21, 12],
"result": "valid"
},
{
"tcId": 1654,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "c3c3824889bea77f",
"msg": [27, 12, 2, 16, 9, 31, 12, 28, 6, 19, 8, 9, 28, 12, 21, 22, 19, 30, 14, 22],
"ct": [15, 19, 14, 3, 13, 28, 29, 20, 23, 4, 6, 24, 28, 18, 8, 12, 21, 8, 5, 22],
"result": "valid"
},
{
"tcId": 1655,
"comment": "y is maximal after modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1",
"tweak": "c3c3824889bea77f",
"msg": [7, 4, 4, 19, 21, 30, 24, 20, 30, 28, 29, 12, 19, 31, 17, 26, 17, 28, 28, 21],
"ct": [26, 12, 1, 10, 19, 18, 4, 0, 23, 30, 8, 22, 8, 9, 19, 11, 7, 21, 2, 1],
"result": "valid"
},
{
"tcId": 1656,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f",
"tweak": "25733cf5c0f0d898",
"msg": [-1, 29, 9, 14, 29, 13, 27, 19, 21, 14, 6, 9, 8, 4, 1, 29, 3, 16, 5, 5],
"ct": [25, 13, 20, 11, 18, 26, 22, 6, 18, 15, 21, 0, 3, 21, 20, 18, 12, 22, 1, 21],
"result": "invalid"
},
{
"tcId": 1657,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f",
"tweak": "25733cf5c0f0d898",
"msg": [10, 29, 9, 14, 29, 13, -1, 19, 21, 14, 6, 9, 8, 4, 1, 29, 3, 16, 5, 5],
"ct": [9, 17, 1, 9, 18, 24, 3, 17, 7, 25, 15, 31, 19, 3, 26, 27, 2, 18, 1, 21],
"result": "invalid"
},
{
"tcId": 1658,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f",
"tweak": "25733cf5c0f0d898",
"msg": [10, 29, 9, 14, 29, 13, 27, 19, 21, 14, 6, 9, 8, 4, 1, 29, 3, 16, 5, -1],
"ct": [17, 14, 2, 10, 24, 1, 11, 28, 9, 24, 14, 2, 20, 18, 31, 31, 17, 9, 10, 23],
"result": "invalid"
},
{
"tcId": 1659,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2af84ce4344da281acb0399e4ddb64ed40d41ed53fb2c84e",
"tweak": "ff07d9a03c5b76f3",
"msg": [32, 2, 28, 6, 16, 4, 9, 24, 16, 24, 15, 7, 31, 7, 13, 0, 13, 31, 4, 23],
"ct": [2, 8, 31, 16, 29, 17, 18, 31, 5, 31, 22, 18, 5, 3, 12, 15, 24, 14, 14, 21],
"result": "invalid"
},
{
"tcId": 1660,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2af84ce4344da281acb0399e4ddb64ed40d41ed53fb2c84e",
"tweak": "ff07d9a03c5b76f3",
"msg": [9, 2, 28, 6, 16, 4, 32, 24, 16, 24, 15, 7, 31, 7, 13, 0, 13, 31, 4, 23],
"ct": [18, 4, 15, 22, 9, 3, 23, 26, 1, 15, 24, 8, 30, 16, 25, 13, 3, 16, 19, 28],
"result": "invalid"
},
{
"tcId": 1661,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2af84ce4344da281acb0399e4ddb64ed40d41ed53fb2c84e",
"tweak": "ff07d9a03c5b76f3",
"msg": [9, 2, 28, 6, 16, 4, 9, 24, 16, 24, 15, 7, 31, 7, 13, 0, 13, 31, 4, 32],
"ct": [8, 18, 16, 9, 29, 10, 9, 27, 14, 7, 27, 15, 2, 21, 10, 23, 18, 0, 23, 23],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 21,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1662,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "c3bb552dddc77917376b930dc911345e533a17542ddbf421",
"tweak": "2780a38c74385db3",
"msg": [29, 6, 19, 23, 30, 19, 29, 16, 26, 24, 4, 29, 11, 14, 17, 8, 22, 8, 0, 7, 30],
"ct": [9, 22, 30, 31, 25, 10, 9, 0, 5, 20, 17, 4, 27, 19, 11, 9, 2, 19, 10, 13, 8],
"result": "valid"
},
{
"tcId": 1663,
"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": [29, 27, 11, 12, 0, 4, 10, 29, 31, 24, 5, 29, 18, 0, 18, 5, 29, 10, 7, 17, 1],
"result": "valid"
},
{
"tcId": 1664,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [26, 25, 31, 30, 25, 5, 6, 10, 1, 30, 25, 2, 3, 1, 14, 6, 23, 12, 14, 16, 2],
"result": "valid"
},
{
"tcId": 1665,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [30, 10, 22, 3, 17, 13, 12, 12, 0, 6, 30, 14, 15, 28, 18, 21, 28, 21, 12, 5, 19],
"result": "valid"
},
{
"tcId": 1666,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [29, 0, 12, 31, 7, 11, 0, 7, 27, 27, 14, 23, 7, 1, 7, 9, 30, 26, 29, 4, 11],
"result": "valid"
},
{
"tcId": 1667,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [19, 27, 29, 26, 28, 20, 24, 9, 12, 14, 22, 19, 15, 22, 8, 11, 18, 30, 9, 8, 29],
"ct": [16, 18, 29, 8, 1, 6, 7, 20, 19, 24, 11, 4, 9, 17, 14, 7, 2, 10, 7, 31, 1],
"result": "valid"
},
{
"tcId": 1668,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [21, 1, 19, 9, 6, 10, 6, 29, 23, 30, 30, 11, 0, 3, 27, 19, 28, 26, 22, 22, 26],
"ct": [6, 25, 21, 1, 23, 25, 10, 19, 29, 4, 21, 1, 0, 15, 14, 0, 27, 16, 4, 7, 5],
"result": "valid"
},
{
"tcId": 1669,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [9, 11, 2, 15, 31, 2, 22, 4, 20, 4, 21, 5, 5, 3, 22, 12, 9, 25, 22, 15, 10],
"ct": [31, 3, 4, 10, 8, 27, 10, 14, 3, 10, 27, 21, 31, 5, 29, 28, 14, 12, 31, 16, 2],
"result": "valid"
},
{
"tcId": 1670,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [5, 16, 29, 12, 27, 31, 12, 6, 13, 1, 29, 13, 28, 6, 29, 0, 12, 14, 20, 7, 16],
"ct": [25, 1, 21, 16, 23, 29, 15, 25, 18, 8, 22, 27, 11, 12, 31, 13, 26, 26, 17, 4, 19],
"result": "valid"
},
{
"tcId": 1671,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [3, 12, 8, 4, 11, 15, 14, 17, 19, 6, 31, 30, 16, 3, 30, 27, 15, 27, 16, 11, 5],
"ct": [31, 29, 22, 5, 16, 10, 3, 14, 9, 28, 26, 23, 28, 15, 6, 10, 14, 17, 0, 28, 7],
"result": "valid"
},
{
"tcId": 1672,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [0, 2, 17, 10, 9, 8, 10, 6, 19, 8, 25, 24, 16, 28, 20, 28, 8, 28, 3, 7, 12],
"ct": [11, 3, 6, 28, 11, 30, 29, 10, 20, 0, 28, 17, 15, 17, 28, 4, 2, 8, 12, 20, 9],
"result": "valid"
},
{
"tcId": 1673,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [23, 23, 13, 29, 30, 1, 15, 2, 24, 1, 0, 24, 27, 6, 0, 19, 19, 21, 13, 0, 5],
"ct": [6, 6, 9, 31, 25, 28, 18, 31, 12, 19, 9, 21, 30, 21, 2, 3, 29, 6, 5, 31, 13],
"result": "valid"
},
{
"tcId": 1674,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [30, 1, 1, 11, 30, 3, 29, 15, 22, 4, 16, 26, 14, 10, 13, 10, 14, 15, 8, 17, 16],
"ct": [13, 7, 18, 26, 18, 22, 11, 18, 15, 8, 13, 30, 7, 26, 31, 9, 27, 28, 1, 18, 22],
"result": "valid"
},
{
"tcId": 1675,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [7, 22, 10, 25, 23, 9, 26, 25, 0, 4, 2, 11, 12, 3, 0, 22, 24, 16, 24, 12, 25],
"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": 1676,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [28, 2, 21, 23, 2, 10, 15, 10, 13, 25, 6, 9, 23, 14, 17, 29, 31, 23, 4, 7, 0],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1677,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [29, 13, 5, 6, 25, 5, 19, 22, 17, 6, 1, 28, 26, 4, 0, 18, 28, 22, 21, 27, 15],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1678,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d",
"tweak": "3409bef7dc1e87c7",
"msg": [27, 5, 15, 25, 16, 26, 20, 25, 30, 22, 16, 0, 5, 2, 1, 10, 10, 25, 29, 20, 9],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1679,
"comment": "y = 0 and (y + a) % radix**10 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "2669b203a794a713",
"msg": [11, 18, 29, 23, 12, 22, 1, 9, 5, 19, 12, 3, 22, 7, 26, 11, 10, 2, 13, 27, 21],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 13, 20, 0, 18, 8, 10, 12, 8, 19, 29],
"result": "valid"
},
{
"tcId": 1680,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "2669b203a794a713",
"msg": [20, 0, 19, 24, 14, 30, 17, 25, 22, 18, 21, 25, 30, 30, 17, 4, 10, 9, 8, 18, 14],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 12, 26, 21, 8, 27, 25, 29, 21, 10, 9, 19],
"result": "valid"
},
{
"tcId": 1681,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "2669b203a794a713",
"msg": [1, 13, 17, 30, 11, 27, 28, 5, 10, 31, 12, 2, 18, 24, 4, 28, 5, 12, 9, 3, 7],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 22, 16, 25, 12, 10, 21, 12, 9, 10, 9],
"result": "valid"
},
{
"tcId": 1682,
"comment": "y = 0 and (y + a) % radix**10 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "2669b203a794a713",
"msg": [31, 16, 17, 6, 19, 9, 10, 7, 11, 5, 12, 8, 14, 28, 23, 11, 21, 7, 27, 11, 16],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 21, 12, 22, 27, 30, 21, 25, 25, 25, 24, 1],
"result": "valid"
},
{
"tcId": 1683,
"comment": "y = 1 and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "4c350a6fcfe33d4d",
"msg": [19, 20, 12, 23, 7, 5, 14, 29, 15, 2, 23, 12, 8, 20, 11, 7, 23, 5, 15, 4, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 26, 12, 18, 7, 21, 9, 15, 12, 16, 3, 21],
"result": "valid"
},
{
"tcId": 1684,
"comment": "y = 1 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "4c350a6fcfe33d4d",
"msg": [23, 22, 27, 2, 19, 1, 28, 18, 23, 19, 19, 21, 6, 26, 26, 5, 22, 19, 22, 23, 15],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 24, 25, 12, 2, 17, 18, 15, 22, 16],
"result": "valid"
},
{
"tcId": 1685,
"comment": "y = 1 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "4c350a6fcfe33d4d",
"msg": [28, 15, 10, 31, 13, 5, 10, 4, 26, 16, 5, 8, 28, 28, 4, 30, 16, 4, 15, 23, 13],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 1, 7, 21, 7, 31, 13, 17, 27, 17, 1, 11, 8],
"result": "valid"
},
{
"tcId": 1686,
"comment": "y = 1 and (y + a) % radix**10 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "4c350a6fcfe33d4d",
"msg": [4, 3, 29, 3, 27, 30, 18, 30, 17, 13, 31, 23, 10, 11, 10, 30, 15, 16, 7, 12, 8],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 29, 6, 10, 1, 11, 8, 31, 26, 23, 24, 10],
"result": "valid"
},
{
"tcId": 1687,
"comment": "y = 1 and (y + a) % radix**10 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "4c350a6fcfe33d4d",
"msg": [9, 24, 30, 13, 3, 24, 12, 24, 12, 26, 21, 23, 30, 1, 10, 14, 0, 2, 25, 2, 6],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 26, 7, 16, 5, 25, 18, 23, 25, 24, 24],
"result": "valid"
},
{
"tcId": 1688,
"comment": "y is maximal and (y + a) % radix**10 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "d69747c38efb857a",
"msg": [16, 2, 4, 7, 30, 6, 31, 7, 14, 19, 8, 24, 23, 29, 0, 26, 4, 3, 15, 11, 31],
"ct": [22, 22, 2, 5, 31, 5, 10, 5, 3, 29, 9, 15, 8, 12, 9, 2, 23, 10, 28, 13, 28],
"result": "valid"
},
{
"tcId": 1689,
"comment": "y is maximal and (y + a) % radix**10 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "d69747c38efb857a",
"msg": [23, 11, 15, 31, 30, 4, 4, 2, 3, 18, 28, 5, 27, 20, 27, 9, 10, 6, 25, 16, 16],
"ct": [25, 18, 3, 2, 29, 13, 0, 20, 30, 8, 15, 0, 24, 14, 17, 19, 3, 21, 31, 19, 3],
"result": "valid"
},
{
"tcId": 1690,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "d69747c38efb857a",
"msg": [7, 18, 11, 10, 4, 25, 6, 20, 28, 19, 2, 12, 2, 10, 7, 24, 21, 1, 3, 28, 8],
"ct": [16, 27, 8, 5, 29, 14, 6, 25, 27, 3, 1, 25, 18, 11, 12, 7, 11, 13, 17, 5, 2],
"result": "valid"
},
{
"tcId": 1691,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "d69747c38efb857a",
"msg": [30, 18, 23, 21, 10, 3, 24, 0, 5, 20, 10, 22, 8, 25, 15, 9, 31, 10, 20, 14, 26],
"ct": [25, 20, 10, 25, 1, 16, 15, 7, 19, 4, 4, 12, 22, 29, 15, 25, 9, 7, 0, 28, 8],
"result": "valid"
},
{
"tcId": 1692,
"comment": "y is edge case for modular reduction and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "7162645c0eaf2439",
"msg": [13, 19, 7, 5, 4, 10, 28, 7, 13, 29, 11, 25, 7, 3, 17, 10, 4, 26, 11, 18, 4],
"ct": [4, 20, 27, 5, 21, 16, 30, 11, 15, 19, 14, 8, 15, 11, 24, 31, 26, 30, 13, 23, 30],
"result": "valid"
},
{
"tcId": 1693,
"comment": "y is edge case for modular reduction and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "7162645c0eaf2439",
"msg": [7, 18, 21, 0, 0, 29, 27, 17, 29, 31, 19, 5, 16, 13, 27, 22, 13, 17, 9, 21, 20],
"ct": [31, 7, 20, 16, 27, 1, 29, 15, 24, 6, 10, 15, 8, 19, 13, 17, 30, 19, 6, 24, 24],
"result": "valid"
},
{
"tcId": 1694,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "7162645c0eaf2439",
"msg": [22, 29, 23, 14, 0, 8, 16, 15, 10, 13, 15, 4, 8, 24, 7, 20, 21, 21, 15, 19, 3],
"ct": [0, 24, 27, 22, 11, 13, 1, 4, 24, 30, 23, 15, 25, 15, 31, 5, 18, 30, 5, 10, 28],
"result": "valid"
},
{
"tcId": 1695,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "7162645c0eaf2439",
"msg": [17, 1, 21, 2, 9, 31, 19, 18, 14, 23, 21, 1, 14, 12, 19, 0, 7, 31, 13, 17, 24],
"ct": [15, 28, 0, 11, 4, 7, 10, 3, 19, 21, 11, 20, 16, 5, 12, 24, 26, 31, 18, 5, 4],
"result": "valid"
},
{
"tcId": 1696,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "7162645c0eaf2439",
"msg": [22, 12, 22, 1, 4, 0, 19, 24, 16, 20, 18, 6, 2, 18, 20, 12, 19, 25, 8, 16, 27],
"ct": [10, 29, 19, 4, 2, 16, 10, 4, 4, 17, 25, 10, 18, 30, 6, 11, 11, 24, 2, 12, 22],
"result": "valid"
},
{
"tcId": 1697,
"comment": "y is edge case for modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "7162645c0eaf2439",
"msg": [29, 1, 15, 7, 25, 29, 2, 0, 3, 26, 1, 0, 30, 29, 5, 22, 0, 0, 19, 28, 12],
"ct": [18, 17, 20, 9, 10, 12, 3, 11, 11, 2, 2, 16, 5, 22, 15, 1, 1, 16, 30, 20, 12],
"result": "valid"
},
{
"tcId": 1698,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "c1d440518f7fe451",
"msg": [12, 27, 31, 26, 24, 29, 21, 8, 30, 25, 14, 4, 14, 30, 18, 29, 27, 31, 17, 22, 28],
"ct": [30, 21, 26, 28, 18, 24, 6, 25, 19, 17, 5, 14, 0, 15, 6, 12, 2, 17, 16, 11, 21],
"result": "valid"
},
{
"tcId": 1699,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "c1d440518f7fe451",
"msg": [8, 27, 10, 28, 13, 8, 19, 8, 19, 13, 2, 2, 17, 31, 29, 13, 1, 24, 28, 7, 13],
"ct": [1, 5, 17, 14, 23, 8, 22, 2, 0, 18, 12, 20, 2, 9, 11, 1, 9, 11, 0, 27, 15],
"result": "valid"
},
{
"tcId": 1700,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "c1d440518f7fe451",
"msg": [2, 24, 10, 6, 3, 10, 27, 12, 4, 14, 24, 8, 9, 22, 15, 25, 12, 18, 30, 20, 24],
"ct": [25, 27, 7, 31, 10, 2, 21, 9, 27, 21, 5, 29, 5, 12, 5, 14, 23, 2, 14, 8, 0],
"result": "valid"
},
{
"tcId": 1701,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9",
"tweak": "c1d440518f7fe451",
"msg": [4, 11, 20, 16, 2, 21, 29, 15, 29, 27, 9, 23, 4, 18, 10, 12, 18, 19, 10, 15, 11],
"ct": [28, 25, 3, 1, 9, 19, 8, 16, 30, 0, 12, 14, 4, 14, 24, 18, 22, 11, 21, 1, 21],
"result": "valid"
},
{
"tcId": 1702,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101",
"tweak": "08ab087236e7ba87",
"msg": [-1, 25, 6, 10, 22, 0, 25, 29, 11, 20, 2, 31, 28, 27, 30, 16, 30, 5, 10, 19, 26],
"ct": [21, 4, 21, 18, 23, 24, 19, 20, 22, 30, 15, 8, 3, 5, 9, 30, 6, 0, 30, 10, 24],
"result": "invalid"
},
{
"tcId": 1703,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101",
"tweak": "08ab087236e7ba87",
"msg": [19, 25, 6, 10, 22, 0, 25, -1, 11, 20, 2, 31, 28, 27, 30, 16, 30, 5, 10, 19, 26],
"ct": [30, 30, 27, 11, 20, 28, 21, 12, 28, 8, 22, 10, 7, 4, 23, 28, 7, 24, 28, 13, 3],
"result": "invalid"
},
{
"tcId": 1704,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101",
"tweak": "08ab087236e7ba87",
"msg": [19, 25, 6, 10, 22, 0, 25, 29, 11, 20, 2, 31, 28, 27, 30, 16, 30, 5, 10, 19, -1],
"ct": [30, 0, 3, 15, 21, 30, 8, 26, 27, 27, 0, 7, 29, 16, 3, 7, 8, 1, 26, 23, 5],
"result": "invalid"
},
{
"tcId": 1705,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "77318c74723fce1ddfc94e9856424ce91ca5b3d4496825eb",
"tweak": "325967b8e9dbf699",
"msg": [32, 14, 29, 3, 19, 11, 18, 25, 29, 18, 29, 12, 2, 18, 8, 9, 26, 11, 11, 25, 27],
"ct": [8, 17, 26, 29, 29, 22, 16, 29, 28, 23, 11, 24, 6, 5, 30, 21, 12, 15, 23, 11, 11],
"result": "invalid"
},
{
"tcId": 1706,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "77318c74723fce1ddfc94e9856424ce91ca5b3d4496825eb",
"tweak": "325967b8e9dbf699",
"msg": [31, 14, 29, 3, 19, 11, 18, 32, 29, 18, 29, 12, 2, 18, 8, 9, 26, 11, 11, 25, 27],
"ct": [24, 19, 13, 6, 7, 2, 23, 30, 20, 24, 26, 28, 18, 10, 21, 1, 23, 27, 7, 18, 12],
"result": "invalid"
},
{
"tcId": 1707,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "77318c74723fce1ddfc94e9856424ce91ca5b3d4496825eb",
"tweak": "325967b8e9dbf699",
"msg": [31, 14, 29, 3, 19, 11, 18, 25, 29, 18, 29, 12, 2, 18, 8, 9, 26, 11, 11, 25, 32],
"ct": [3, 1, 1, 15, 5, 16, 5, 23, 25, 27, 11, 14, 29, 15, 2, 4, 9, 23, 23, 19, 28],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 22,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1708,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "00bdb5e8b811c9617b0c07c9ed50b6d067ac817cbe06e44a",
"tweak": "d92d8fd1572665ab",
"msg": [10, 15, 30, 18, 16, 18, 18, 13, 11, 1, 10, 7, 27, 27, 8, 9, 8, 12, 1, 13, 10, 2],
"ct": [3, 17, 12, 11, 10, 28, 13, 8, 23, 26, 18, 21, 5, 31, 25, 16, 8, 31, 23, 27, 6, 16],
"result": "valid"
},
{
"tcId": 1709,
"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": [18, 0, 20, 30, 21, 7, 30, 26, 15, 1, 7, 31, 19, 13, 28, 11, 22, 7, 16, 31, 3, 10],
"result": "valid"
},
{
"tcId": 1710,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [5, 16, 16, 24, 27, 30, 1, 29, 24, 15, 0, 29, 26, 23, 29, 20, 7, 29, 19, 16, 31, 15],
"result": "valid"
},
{
"tcId": 1711,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [28, 14, 27, 6, 15, 7, 0, 6, 17, 3, 18, 29, 30, 1, 6, 7, 17, 31, 2, 21, 4, 31],
"result": "valid"
},
{
"tcId": 1712,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [1, 3, 15, 12, 30, 18, 30, 17, 1, 4, 19, 8, 30, 11, 12, 12, 26, 31, 27, 11, 22, 0],
"result": "valid"
},
{
"tcId": 1713,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [24, 30, 12, 7, 25, 0, 14, 12, 23, 7, 21, 28, 12, 24, 13, 20, 20, 6, 12, 8, 8, 25],
"ct": [27, 29, 0, 29, 26, 30, 8, 11, 7, 15, 18, 26, 20, 1, 15, 7, 24, 12, 25, 4, 4, 7],
"result": "valid"
},
{
"tcId": 1714,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [1, 13, 0, 1, 4, 26, 29, 6, 24, 8, 10, 28, 10, 31, 13, 5, 31, 9, 21, 9, 21, 18],
"ct": [28, 1, 31, 4, 2, 28, 2, 24, 23, 8, 10, 23, 31, 0, 16, 1, 9, 4, 4, 31, 14, 4],
"result": "valid"
},
{
"tcId": 1715,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [5, 11, 5, 1, 31, 26, 22, 11, 2, 16, 30, 2, 31, 23, 30, 2, 11, 9, 1, 6, 28, 24],
"ct": [17, 17, 17, 22, 13, 5, 23, 20, 4, 3, 17, 6, 17, 13, 16, 24, 24, 14, 26, 24, 28, 17],
"result": "valid"
},
{
"tcId": 1716,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [27, 28, 27, 12, 11, 29, 17, 3, 6, 26, 27, 29, 10, 31, 2, 19, 4, 30, 4, 3, 20, 26],
"ct": [20, 4, 10, 0, 18, 24, 18, 2, 24, 5, 27, 17, 17, 29, 9, 16, 23, 20, 29, 6, 30, 8],
"result": "valid"
},
{
"tcId": 1717,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [31, 22, 0, 11, 10, 7, 22, 1, 28, 3, 7, 25, 26, 25, 16, 20, 25, 7, 12, 5, 27, 29],
"ct": [29, 27, 28, 27, 22, 18, 22, 9, 14, 16, 10, 20, 26, 7, 17, 9, 19, 23, 20, 17, 6, 13],
"result": "valid"
},
{
"tcId": 1718,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [24, 31, 28, 5, 27, 3, 5, 19, 16, 0, 1, 19, 9, 1, 3, 15, 21, 14, 14, 7, 4, 26],
"ct": [12, 31, 29, 24, 13, 3, 20, 0, 15, 9, 3, 20, 16, 18, 25, 29, 28, 8, 9, 10, 28, 26],
"result": "valid"
},
{
"tcId": 1719,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [16, 10, 30, 9, 12, 25, 24, 8, 15, 7, 24, 30, 22, 21, 11, 14, 16, 22, 0, 22, 4, 25],
"ct": [22, 13, 23, 22, 17, 29, 24, 24, 23, 29, 23, 30, 19, 0, 2, 18, 1, 15, 25, 1, 28, 12],
"result": "valid"
},
{
"tcId": 1720,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [16, 31, 10, 8, 28, 12, 25, 1, 26, 1, 13, 14, 30, 27, 18, 7, 27, 6, 7, 5, 0, 21],
"ct": [21, 19, 19, 18, 12, 6, 6, 21, 13, 5, 11, 15, 20, 2, 1, 22, 8, 15, 28, 14, 27, 28],
"result": "valid"
},
{
"tcId": 1721,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [22, 16, 24, 16, 26, 27, 23, 19, 26, 27, 27, 10, 10, 5, 23, 18, 5, 20, 7, 25, 12, 22],
"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": 1722,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [22, 2, 28, 23, 13, 3, 14, 17, 14, 1, 23, 27, 13, 0, 1, 25, 7, 24, 12, 12, 27, 31],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1723,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [22, 14, 17, 7, 4, 14, 2, 24, 22, 9, 28, 8, 11, 11, 0, 30, 28, 15, 6, 1, 18, 16],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1724,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd",
"tweak": "ff8b7e8bbc7220f5",
"msg": [4, 10, 31, 31, 9, 19, 4, 15, 6, 17, 28, 30, 16, 2, 14, 20, 17, 22, 26, 30, 25, 23],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1725,
"comment": "y = 0 and (y + a) % radix**11 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "bc167fa1ac6c979b",
"msg": [31, 20, 19, 9, 13, 15, 15, 31, 22, 18, 10, 18, 30, 15, 18, 31, 9, 20, 13, 22, 23, 26],
"ct": [20, 4, 14, 12, 0, 27, 14, 10, 1, 17, 8, 17, 20, 0, 18, 19, 5, 25, 27, 20, 8, 20],
"result": "valid"
},
{
"tcId": 1726,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "bc167fa1ac6c979b",
"msg": [14, 28, 0, 5, 0, 29, 0, 24, 20, 24, 24, 0, 24, 3, 18, 19, 25, 3, 1, 11, 13, 26],
"ct": [2, 7, 1, 3, 15, 24, 13, 29, 10, 7, 23, 19, 24, 18, 16, 19, 1, 6, 24, 31, 0, 20],
"result": "valid"
},
{
"tcId": 1727,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "bc167fa1ac6c979b",
"msg": [31, 0, 6, 11, 10, 2, 5, 16, 10, 21, 30, 5, 18, 27, 19, 16, 4, 5, 2, 3, 31, 5],
"ct": [24, 23, 1, 23, 18, 12, 19, 17, 19, 0, 30, 23, 29, 23, 13, 30, 24, 26, 27, 3, 3, 12],
"result": "valid"
},
{
"tcId": 1728,
"comment": "y = 0 and (y + a) % radix**11 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "bc167fa1ac6c979b",
"msg": [26, 7, 24, 25, 17, 11, 29, 11, 4, 8, 30, 31, 26, 5, 5, 1, 7, 17, 24, 28, 4, 20],
"ct": [31, 1, 31, 18, 19, 9, 17, 4, 22, 22, 3, 7, 24, 1, 7, 15, 0, 25, 27, 13, 2, 6],
"result": "valid"
},
{
"tcId": 1729,
"comment": "y = 1 and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "c0cb93ba6c52adbd",
"msg": [2, 31, 14, 15, 30, 7, 30, 10, 9, 0, 31, 21, 0, 9, 29, 30, 16, 0, 25, 21, 13, 2],
"ct": [18, 1, 8, 15, 30, 6, 28, 24, 4, 20, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 1730,
"comment": "y = 1 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "c0cb93ba6c52adbd",
"msg": [1, 29, 23, 23, 0, 19, 21, 17, 4, 22, 20, 8, 9, 18, 3, 15, 9, 3, 25, 21, 27, 30],
"ct": [18, 1, 8, 15, 30, 6, 28, 24, 4, 20, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2],
"result": "valid"
},
{
"tcId": 1731,
"comment": "y = 1 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "c0cb93ba6c52adbd",
"msg": [6, 18, 24, 24, 1, 2, 1, 10, 18, 24, 12, 21, 16, 23, 16, 5, 8, 24, 9, 31, 20, 9],
"ct": [18, 1, 8, 15, 30, 6, 28, 24, 4, 20, 14, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 1732,
"comment": "y = 1 and (y + a) % radix**11 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "c0cb93ba6c52adbd",
"msg": [20, 8, 8, 10, 4, 18, 20, 8, 10, 30, 12, 8, 27, 5, 13, 11, 10, 28, 24, 10, 2, 23],
"ct": [18, 1, 8, 15, 30, 6, 28, 24, 4, 20, 14, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1733,
"comment": "y = 1 and (y + a) % radix**11 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "c0cb93ba6c52adbd",
"msg": [10, 22, 16, 1, 28, 11, 29, 11, 20, 15, 12, 7, 24, 30, 26, 4, 8, 9, 19, 9, 6, 31],
"ct": [18, 1, 8, 15, 30, 6, 28, 24, 4, 20, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1734,
"comment": "y is maximal and (y + a) % radix**11 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "99866664cdbc148c",
"msg": [27, 26, 17, 3, 15, 16, 27, 17, 0, 14, 31, 22, 4, 6, 21, 13, 6, 0, 0, 26, 31, 21],
"ct": [27, 21, 26, 6, 4, 29, 31, 18, 25, 7, 9, 11, 9, 23, 3, 17, 2, 2, 0, 4, 29, 3],
"result": "valid"
},
{
"tcId": 1735,
"comment": "y is maximal and (y + a) % radix**11 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "99866664cdbc148c",
"msg": [22, 3, 27, 23, 15, 23, 0, 17, 14, 14, 20, 10, 2, 13, 31, 26, 1, 23, 13, 24, 11, 8],
"ct": [18, 12, 12, 17, 17, 17, 10, 1, 6, 19, 16, 8, 5, 12, 6, 24, 29, 19, 14, 11, 12, 12],
"result": "valid"
},
{
"tcId": 1736,
"comment": "y is maximal and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "99866664cdbc148c",
"msg": [31, 13, 29, 21, 24, 7, 28, 24, 17, 12, 31, 16, 26, 6, 24, 8, 31, 5, 29, 7, 16, 7],
"ct": [30, 6, 5, 18, 31, 7, 10, 10, 6, 2, 20, 19, 20, 22, 20, 30, 12, 4, 1, 7, 18, 20],
"result": "valid"
},
{
"tcId": 1737,
"comment": "y is maximal and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "99866664cdbc148c",
"msg": [6, 11, 18, 29, 22, 10, 30, 31, 14, 28, 0, 20, 25, 12, 10, 17, 9, 31, 30, 16, 10, 10],
"ct": [31, 12, 12, 23, 14, 18, 9, 29, 9, 25, 14, 25, 21, 22, 17, 19, 28, 19, 24, 27, 27, 30],
"result": "valid"
},
{
"tcId": 1738,
"comment": "y is edge case for modular reduction and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "98b519cd05942d28",
"msg": [11, 28, 23, 29, 5, 1, 1, 12, 11, 15, 28, 27, 7, 17, 13, 28, 30, 27, 16, 3, 7, 20],
"ct": [11, 14, 30, 16, 11, 28, 25, 29, 21, 15, 4, 20, 25, 15, 4, 27, 31, 17, 9, 11, 21, 17],
"result": "valid"
},
{
"tcId": 1739,
"comment": "y is edge case for modular reduction and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "98b519cd05942d28",
"msg": [26, 22, 30, 16, 22, 0, 18, 26, 6, 0, 14, 28, 31, 13, 0, 16, 4, 19, 9, 19, 9, 2],
"ct": [1, 1, 1, 19, 12, 21, 3, 1, 19, 30, 7, 28, 29, 16, 26, 26, 13, 25, 12, 9, 29, 10],
"result": "valid"
},
{
"tcId": 1740,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "98b519cd05942d28",
"msg": [21, 5, 24, 23, 9, 18, 4, 23, 12, 16, 27, 16, 26, 17, 6, 10, 9, 13, 12, 2, 25, 20],
"ct": [14, 2, 20, 9, 11, 26, 31, 12, 25, 7, 13, 20, 19, 15, 11, 15, 13, 6, 17, 5, 31, 2],
"result": "valid"
},
{
"tcId": 1741,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "98b519cd05942d28",
"msg": [3, 21, 29, 5, 7, 14, 9, 21, 11, 16, 2, 31, 14, 11, 18, 13, 1, 18, 22, 2, 13, 22],
"ct": [30, 16, 14, 28, 0, 20, 10, 14, 28, 23, 23, 28, 9, 28, 9, 25, 5, 30, 21, 10, 15, 19],
"result": "valid"
},
{
"tcId": 1742,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "98b519cd05942d28",
"msg": [15, 10, 25, 2, 5, 17, 30, 6, 19, 1, 8, 10, 26, 3, 4, 28, 8, 10, 30, 22, 25, 24],
"ct": [6, 25, 12, 2, 7, 20, 29, 30, 10, 5, 5, 25, 18, 31, 4, 21, 25, 30, 20, 23, 28, 18],
"result": "valid"
},
{
"tcId": 1743,
"comment": "y is edge case for modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "98b519cd05942d28",
"msg": [22, 23, 15, 16, 30, 27, 27, 14, 2, 27, 26, 13, 18, 1, 3, 14, 1, 27, 7, 18, 13, 27],
"ct": [25, 4, 27, 6, 7, 9, 23, 19, 31, 10, 26, 27, 7, 20, 25, 21, 31, 1, 11, 6, 27, 7],
"result": "valid"
},
{
"tcId": 1744,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "d6fcc7aa99d72753",
"msg": [21, 2, 13, 0, 11, 23, 24, 31, 24, 11, 7, 4, 28, 17, 11, 0, 27, 19, 19, 15, 1, 17],
"ct": [29, 10, 28, 0, 24, 13, 8, 6, 17, 3, 13, 2, 18, 23, 7, 26, 2, 14, 10, 22, 5, 8],
"result": "valid"
},
{
"tcId": 1745,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "d6fcc7aa99d72753",
"msg": [12, 0, 24, 13, 21, 28, 16, 6, 25, 24, 0, 28, 22, 4, 30, 5, 27, 27, 10, 22, 28, 17],
"ct": [29, 6, 0, 19, 9, 28, 1, 14, 0, 27, 0, 29, 31, 31, 9, 2, 23, 9, 1, 29, 20, 19],
"result": "valid"
},
{
"tcId": 1746,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "d6fcc7aa99d72753",
"msg": [8, 13, 4, 9, 3, 10, 22, 30, 23, 31, 8, 17, 4, 23, 18, 0, 31, 9, 9, 14, 1, 24],
"ct": [12, 17, 3, 4, 15, 1, 18, 9, 25, 10, 30, 28, 19, 30, 14, 12, 8, 5, 12, 18, 24, 15],
"result": "valid"
},
{
"tcId": 1747,
"comment": "y is maximal after modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310",
"tweak": "d6fcc7aa99d72753",
"msg": [19, 29, 14, 18, 24, 18, 22, 28, 15, 28, 27, 15, 20, 30, 30, 18, 7, 13, 0, 5, 26, 13],
"ct": [16, 23, 19, 27, 5, 7, 4, 6, 17, 3, 0, 19, 28, 6, 26, 29, 28, 12, 6, 15, 26, 31],
"result": "valid"
},
{
"tcId": 1748,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c0368c9d6e841c60a9b9b8aa0477341aad026303200de7f8",
"tweak": "514738c10c8d12ff",
"msg": [-1, 15, 3, 25, 19, 24, 29, 26, 2, 1, 6, 29, 8, 16, 2, 24, 20, 9, 10, 9, 31, 15],
"ct": [11, 12, 21, 24, 31, 19, 2, 30, 21, 15, 27, 25, 7, 5, 25, 25, 2, 27, 9, 9, 29, 12],
"result": "invalid"
},
{
"tcId": 1749,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c0368c9d6e841c60a9b9b8aa0477341aad026303200de7f8",
"tweak": "514738c10c8d12ff",
"msg": [23, 15, 3, 25, 19, 24, 29, -1, 2, 1, 6, 29, 8, 16, 2, 24, 20, 9, 10, 9, 31, 15],
"ct": [26, 17, 7, 26, 17, 31, 5, 19, 26, 29, 7, 7, 28, 1, 0, 28, 10, 31, 20, 8, 12, 22],
"result": "invalid"
},
{
"tcId": 1750,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c0368c9d6e841c60a9b9b8aa0477341aad026303200de7f8",
"tweak": "514738c10c8d12ff",
"msg": [23, 15, 3, 25, 19, 24, 29, 26, 2, 1, 6, 29, 8, 16, 2, 24, 20, 9, 10, 9, 31, -1],
"ct": [12, 14, 30, 2, 7, 4, 28, 1, 22, 8, 6, 27, 12, 6, 12, 25, 23, 30, 24, 2, 31, 4],
"result": "invalid"
},
{
"tcId": 1751,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7867a8e9af3153fe83b5d322a79c8fdb4117258edb1c8471",
"tweak": "21ed240a4bbe8663",
"msg": [32, 0, 9, 0, 24, 21, 12, 2, 6, 3, 28, 22, 31, 15, 1, 0, 4, 10, 2, 19, 4, 31],
"ct": [16, 24, 16, 18, 9, 5, 7, 1, 2, 19, 10, 13, 5, 22, 22, 2, 17, 13, 19, 3, 30, 2],
"result": "invalid"
},
{
"tcId": 1752,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7867a8e9af3153fe83b5d322a79c8fdb4117258edb1c8471",
"tweak": "21ed240a4bbe8663",
"msg": [19, 0, 9, 0, 24, 21, 12, 32, 6, 3, 28, 22, 31, 15, 1, 0, 4, 10, 2, 19, 4, 31],
"ct": [7, 6, 1, 29, 8, 5, 8, 13, 14, 1, 16, 1, 13, 3, 6, 8, 8, 21, 22, 26, 19, 2],
"result": "invalid"
},
{
"tcId": 1753,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7867a8e9af3153fe83b5d322a79c8fdb4117258edb1c8471",
"tweak": "21ed240a4bbe8663",
"msg": [19, 0, 9, 0, 24, 21, 12, 2, 6, 3, 28, 22, 31, 15, 1, 0, 4, 10, 2, 19, 4, 32],
"ct": [30, 28, 19, 2, 22, 1, 30, 25, 14, 22, 3, 20, 14, 16, 16, 8, 25, 23, 0, 2, 26, 20],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 23,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1754,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "c7697b0dbeb87d7f395505c37c7aa8851539af55cf9ff48d",
"tweak": "81c250277f86145e",
"msg": [16, 20, 3, 22, 29, 3, 29, 11, 12, 8, 5, 6, 24, 27, 22, 9, 4, 30, 2, 23, 14, 5, 17],
"ct": [15, 23, 5, 14, 30, 29, 28, 2, 24, 22, 14, 4, 21, 2, 8, 9, 2, 24, 8, 27, 0, 19, 11],
"result": "valid"
},
{
"tcId": 1755,
"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": [20, 30, 16, 5, 27, 16, 27, 6, 29, 15, 10, 27, 14, 25, 17, 9, 0, 22, 9, 3, 17, 9, 18],
"result": "valid"
},
{
"tcId": 1756,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [3, 28, 15, 13, 15, 23, 7, 25, 9, 20, 12, 1, 16, 29, 6, 25, 15, 31, 11, 22, 21, 8, 28],
"result": "valid"
},
{
"tcId": 1757,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [8, 22, 31, 30, 9, 20, 5, 12, 26, 3, 17, 24, 27, 24, 26, 6, 5, 8, 25, 16, 27, 17, 11],
"result": "valid"
},
{
"tcId": 1758,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [11, 7, 27, 5, 27, 25, 28, 18, 31, 21, 28, 6, 28, 0, 25, 13, 11, 22, 15, 16, 28, 25, 7],
"result": "valid"
},
{
"tcId": 1759,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [17, 29, 28, 1, 12, 10, 25, 18, 16, 5, 15, 4, 2, 20, 27, 22, 20, 22, 31, 31, 1, 28, 18],
"ct": [10, 30, 16, 7, 23, 27, 12, 7, 7, 27, 12, 1, 18, 18, 29, 14, 23, 21, 8, 7, 6, 15, 10],
"result": "valid"
},
{
"tcId": 1760,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [22, 16, 26, 18, 9, 9, 28, 31, 6, 22, 18, 12, 0, 28, 13, 22, 20, 5, 13, 2, 29, 22, 25],
"ct": [1, 22, 3, 9, 15, 4, 26, 31, 20, 8, 2, 11, 6, 9, 16, 9, 10, 17, 16, 23, 29, 14, 8],
"result": "valid"
},
{
"tcId": 1761,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [30, 24, 29, 27, 10, 23, 9, 27, 22, 27, 8, 16, 29, 29, 0, 22, 7, 28, 13, 1, 6, 27, 4],
"ct": [20, 25, 26, 1, 27, 27, 20, 10, 24, 11, 0, 24, 28, 11, 19, 30, 31, 25, 24, 0, 21, 13, 28],
"result": "valid"
},
{
"tcId": 1762,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [29, 30, 5, 7, 0, 14, 3, 17, 17, 14, 6, 30, 7, 2, 27, 0, 14, 26, 29, 26, 14, 13, 29],
"ct": [7, 14, 2, 3, 18, 31, 6, 31, 18, 4, 7, 21, 25, 18, 4, 16, 16, 20, 10, 21, 16, 15, 4],
"result": "valid"
},
{
"tcId": 1763,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [19, 15, 22, 19, 20, 17, 15, 4, 6, 13, 21, 18, 1, 27, 0, 4, 16, 2, 10, 9, 29, 10, 11],
"ct": [11, 0, 31, 19, 7, 30, 24, 14, 31, 19, 26, 7, 19, 25, 10, 2, 29, 24, 28, 5, 7, 3, 1],
"result": "valid"
},
{
"tcId": 1764,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [3, 8, 27, 19, 27, 4, 18, 27, 12, 6, 20, 18, 25, 23, 17, 31, 10, 20, 17, 5, 26, 10, 30],
"ct": [2, 25, 6, 20, 12, 1, 23, 18, 30, 21, 25, 29, 6, 5, 24, 8, 31, 13, 26, 31, 2, 18, 14],
"result": "valid"
},
{
"tcId": 1765,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [12, 21, 13, 31, 18, 17, 24, 0, 7, 9, 31, 2, 3, 23, 17, 14, 29, 5, 19, 1, 4, 5, 8],
"ct": [15, 19, 21, 11, 15, 14, 1, 19, 12, 6, 8, 29, 23, 2, 11, 21, 3, 29, 14, 10, 4, 23, 23],
"result": "valid"
},
{
"tcId": 1766,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [25, 14, 30, 2, 19, 28, 25, 0, 18, 1, 5, 10, 30, 31, 4, 15, 21, 31, 13, 5, 18, 12, 17],
"ct": [4, 13, 30, 10, 14, 15, 12, 4, 20, 25, 13, 7, 26, 8, 29, 9, 22, 30, 5, 14, 11, 15, 9],
"result": "valid"
},
{
"tcId": 1767,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [28, 8, 22, 4, 3, 8, 10, 30, 15, 11, 10, 1, 7, 15, 24, 11, 5, 10, 30, 30, 28, 6, 29],
"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": 1768,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [25, 16, 15, 13, 7, 20, 4, 16, 24, 0, 3, 24, 20, 11, 6, 29, 21, 24, 29, 21, 12, 4, 13],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1769,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [29, 19, 10, 29, 22, 2, 11, 24, 19, 10, 27, 26, 27, 21, 11, 11, 11, 0, 1, 6, 10, 18, 13],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1770,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82",
"tweak": "64099a9d244cf70c",
"msg": [12, 16, 8, 13, 7, 27, 20, 8, 14, 27, 4, 17, 21, 21, 31, 18, 0, 8, 26, 10, 22, 22, 4],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1771,
"comment": "y = 0 and (y + a) % radix**11 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "f053560a254e67",
"msg": [17, 17, 29, 11, 17, 18, 16, 8, 24, 7, 26, 16, 22, 6, 31, 3, 24, 20, 12, 1, 8, 22, 15],
"ct": [7, 28, 24, 7, 15, 19, 29, 29, 26, 16, 11, 5, 19, 10, 16, 25, 24, 31, 27, 2, 19, 17, 6],
"result": "valid"
},
{
"tcId": 1772,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "f053560a254e67",
"msg": [7, 2, 17, 25, 30, 28, 21, 7, 29, 0, 28, 11, 4, 12, 26, 5, 10, 21, 30, 24, 21, 15, 20],
"ct": [20, 5, 21, 16, 0, 18, 1, 16, 15, 18, 9, 4, 23, 21, 22, 19, 26, 3, 31, 11, 28, 13, 21],
"result": "valid"
},
{
"tcId": 1773,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "f053560a254e67",
"msg": [29, 24, 10, 5, 9, 15, 23, 22, 28, 31, 8, 7, 4, 22, 12, 5, 26, 26, 20, 27, 20, 0, 21],
"ct": [10, 21, 8, 10, 21, 12, 14, 19, 25, 14, 7, 17, 21, 4, 26, 14, 8, 29, 9, 7, 11, 26, 23],
"result": "valid"
},
{
"tcId": 1774,
"comment": "y = 0 and (y + a) % radix**11 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "f053560a254e67",
"msg": [5, 31, 8, 31, 21, 29, 6, 31, 26, 19, 18, 27, 24, 15, 4, 3, 10, 9, 1, 31, 14, 9, 8],
"ct": [11, 10, 3, 6, 31, 6, 27, 3, 4, 12, 30, 13, 2, 12, 9, 8, 10, 23, 20, 21, 15, 2, 17],
"result": "valid"
},
{
"tcId": 1775,
"comment": "y = 1 and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "338e49229d8b7a",
"msg": [31, 22, 6, 3, 22, 21, 4, 2, 26, 17, 14, 17, 5, 23, 0, 30, 5, 5, 7, 25, 5, 14, 12],
"ct": [13, 2, 18, 21, 27, 30, 26, 1, 0, 6, 11, 7, 18, 6, 22, 4, 10, 14, 26, 9, 1, 17, 14],
"result": "valid"
},
{
"tcId": 1776,
"comment": "y = 1 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "338e49229d8b7a",
"msg": [7, 1, 21, 15, 12, 28, 30, 28, 1, 18, 14, 21, 15, 3, 24, 17, 6, 30, 10, 6, 7, 23, 2],
"ct": [11, 17, 22, 29, 17, 22, 14, 7, 16, 25, 28, 25, 18, 27, 23, 18, 28, 4, 3, 15, 14, 0, 12],
"result": "valid"
},
{
"tcId": 1777,
"comment": "y = 1 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "338e49229d8b7a",
"msg": [20, 10, 18, 7, 26, 21, 12, 11, 4, 9, 13, 16, 15, 14, 19, 12, 21, 23, 26, 7, 28, 12, 19],
"ct": [10, 17, 29, 27, 11, 20, 20, 5, 22, 21, 26, 31, 15, 23, 24, 30, 28, 8, 19, 18, 1, 20, 16],
"result": "valid"
},
{
"tcId": 1778,
"comment": "y = 1 and (y + a) % radix**12 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "338e49229d8b7a",
"msg": [9, 26, 19, 29, 18, 0, 8, 2, 31, 13, 11, 13, 23, 9, 26, 7, 22, 0, 0, 24, 26, 22, 26],
"ct": [19, 23, 4, 13, 9, 18, 15, 19, 12, 0, 8, 6, 16, 27, 10, 18, 1, 31, 26, 14, 24, 27, 17],
"result": "valid"
},
{
"tcId": 1779,
"comment": "y = 1 and (y + a) % radix**12 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "338e49229d8b7a",
"msg": [4, 9, 27, 1, 27, 30, 10, 14, 20, 5, 2, 10, 4, 18, 26, 31, 2, 27, 30, 31, 7, 22, 14],
"ct": [30, 11, 14, 26, 31, 27, 4, 21, 2, 14, 12, 8, 30, 11, 25, 6, 5, 30, 8, 20, 12, 7, 12],
"result": "valid"
},
{
"tcId": 1780,
"comment": "y is maximal and (y + a) % radix**11 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "903450c861f993",
"msg": [12, 27, 25, 13, 25, 30, 1, 3, 11, 25, 8, 18, 4, 20, 0, 3, 25, 7, 0, 4, 21, 31, 29],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 4, 19, 4, 7, 27, 5, 26, 4, 1, 13, 21, 19],
"result": "valid"
},
{
"tcId": 1781,
"comment": "y is maximal and (y + a) % radix**11 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "903450c861f993",
"msg": [21, 24, 1, 21, 14, 28, 28, 0, 20, 2, 2, 5, 24, 28, 19, 6, 9, 27, 18, 1, 25, 10, 5],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 20, 5, 11, 20, 24, 14, 10, 2, 9, 15],
"result": "valid"
},
{
"tcId": 1782,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "903450c861f993",
"msg": [27, 9, 14, 0, 2, 26, 24, 10, 21, 12, 26, 9, 27, 7, 29, 28, 5, 21, 27, 23, 29, 31, 4],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 5, 10, 16, 22, 29, 24, 9, 14, 30, 5, 8, 6],
"result": "valid"
},
{
"tcId": 1783,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "903450c861f993",
"msg": [28, 5, 18, 13, 24, 1, 31, 24, 19, 29, 4, 19, 14, 13, 24, 17, 27, 30, 1, 7, 30, 26, 22],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 30, 1, 7, 28, 22, 22, 22, 5, 15, 28, 30, 3, 1],
"result": "valid"
},
{
"tcId": 1784,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "179eeb7506bf9e",
"msg": [2, 30, 21, 2, 14, 15, 2, 27, 5, 0, 12, 16, 8, 28, 17, 20, 8, 25, 0, 20, 3, 4, 31],
"ct": [13, 2, 27, 4, 12, 5, 27, 12, 14, 26, 25, 27, 30, 31, 18, 20, 7, 12, 6, 31, 27, 3, 3],
"result": "valid"
},
{
"tcId": 1785,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "179eeb7506bf9e",
"msg": [25, 30, 3, 29, 3, 4, 18, 14, 23, 3, 29, 4, 8, 18, 0, 18, 21, 23, 31, 19, 24, 29, 2],
"ct": [21, 3, 15, 9, 15, 7, 7, 14, 5, 23, 5, 18, 16, 13, 28, 21, 3, 19, 22, 24, 15, 18, 26],
"result": "valid"
},
{
"tcId": 1786,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "179eeb7506bf9e",
"msg": [31, 9, 29, 17, 30, 16, 0, 25, 13, 5, 31, 28, 17, 12, 14, 21, 8, 27, 6, 18, 27, 7, 2],
"ct": [15, 2, 16, 11, 26, 10, 0, 30, 2, 24, 14, 9, 28, 19, 12, 9, 17, 20, 24, 19, 15, 22, 13],
"result": "valid"
},
{
"tcId": 1787,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "179eeb7506bf9e",
"msg": [16, 11, 17, 18, 15, 20, 12, 12, 29, 1, 26, 3, 4, 25, 3, 18, 20, 30, 20, 10, 22, 5, 15],
"ct": [22, 28, 31, 19, 29, 17, 10, 11, 1, 26, 10, 10, 15, 7, 1, 2, 13, 27, 31, 19, 20, 26, 0],
"result": "valid"
},
{
"tcId": 1788,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "179eeb7506bf9e",
"msg": [14, 7, 0, 0, 12, 25, 31, 9, 3, 25, 17, 20, 24, 5, 23, 24, 11, 26, 6, 18, 1, 17, 26],
"ct": [20, 20, 25, 8, 5, 9, 1, 27, 5, 22, 6, 29, 27, 2, 13, 29, 22, 1, 30, 11, 14, 18, 18],
"result": "valid"
},
{
"tcId": 1789,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "179eeb7506bf9e",
"msg": [10, 18, 6, 8, 4, 28, 21, 22, 13, 15, 22, 6, 20, 20, 14, 19, 10, 24, 19, 29, 0, 27, 30],
"ct": [9, 0, 9, 20, 11, 7, 24, 27, 16, 22, 31, 17, 2, 18, 28, 10, 8, 12, 5, 18, 12, 30, 15],
"result": "valid"
},
{
"tcId": 1790,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "9d5b822fd3cc0a",
"msg": [9, 22, 1, 20, 0, 30, 7, 20, 14, 22, 4, 31, 28, 5, 15, 4, 4, 28, 8, 5, 30, 24, 26],
"ct": [1, 15, 21, 27, 20, 7, 20, 10, 29, 20, 4, 17, 11, 16, 25, 19, 6, 21, 13, 13, 5, 4, 14],
"result": "valid"
},
{
"tcId": 1791,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "9d5b822fd3cc0a",
"msg": [20, 20, 7, 29, 25, 13, 30, 8, 2, 6, 31, 2, 10, 30, 24, 17, 16, 25, 23, 18, 11, 2, 29],
"ct": [31, 1, 15, 21, 16, 4, 31, 22, 28, 16, 14, 17, 7, 18, 7, 6, 6, 2, 20, 1, 28, 5, 15],
"result": "valid"
},
{
"tcId": 1792,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "9d5b822fd3cc0a",
"msg": [25, 10, 18, 14, 9, 3, 20, 10, 20, 27, 8, 16, 3, 11, 5, 13, 10, 24, 9, 4, 2, 6, 6],
"ct": [3, 1, 21, 10, 3, 1, 10, 6, 11, 28, 2, 7, 18, 16, 15, 12, 3, 12, 12, 13, 5, 14, 5],
"result": "valid"
},
{
"tcId": 1793,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114",
"tweak": "9d5b822fd3cc0a",
"msg": [26, 24, 22, 5, 20, 0, 6, 11, 3, 2, 6, 20, 28, 5, 23, 12, 8, 9, 20, 9, 26, 5, 23],
"ct": [30, 20, 4, 4, 28, 0, 11, 22, 25, 2, 3, 8, 14, 12, 7, 2, 30, 30, 28, 21, 22, 5, 3],
"result": "valid"
},
{
"tcId": 1794,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "42eedd322699aa74bc01428c809f266f9360611f6704f59a",
"tweak": "3641fc756f1c80d9",
"msg": [-1, 17, 28, 26, 6, 28, 22, 1, 18, 29, 13, 4, 31, 8, 29, 9, 14, 25, 18, 9, 0, 28, 30],
"ct": [0, 10, 3, 18, 27, 20, 22, 15, 22, 31, 19, 2, 26, 9, 14, 3, 4, 2, 21, 30, 5, 17, 14],
"result": "invalid"
},
{
"tcId": 1795,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "42eedd322699aa74bc01428c809f266f9360611f6704f59a",
"tweak": "3641fc756f1c80d9",
"msg": [17, 17, 28, 26, 6, 28, 22, -1, 18, 29, 13, 4, 31, 8, 29, 9, 14, 25, 18, 9, 0, 28, 30],
"ct": [31, 12, 3, 3, 14, 5, 6, 3, 25, 10, 21, 23, 12, 12, 15, 29, 27, 28, 8, 24, 16, 31, 17],
"result": "invalid"
},
{
"tcId": 1796,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "42eedd322699aa74bc01428c809f266f9360611f6704f59a",
"tweak": "3641fc756f1c80d9",
"msg": [17, 17, 28, 26, 6, 28, 22, 1, 18, 29, 13, 4, 31, 8, 29, 9, 14, 25, 18, 9, 0, 28, -1],
"ct": [21, 13, 23, 15, 17, 29, 29, 30, 17, 5, 5, 19, 3, 5, 8, 12, 31, 22, 10, 14, 20, 4, 7],
"result": "invalid"
},
{
"tcId": 1797,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ba29e8cd80840c56794e887ccb7362f0f4d9cce1010657cd",
"tweak": "6d7584488e027b46",
"msg": [32, 5, 28, 9, 13, 11, 20, 9, 7, 6, 1, 22, 14, 25, 6, 0, 2, 29, 30, 19, 6, 9, 14],
"ct": [1, 15, 31, 23, 26, 17, 6, 12, 4, 30, 11, 11, 1, 2, 3, 6, 12, 8, 17, 10, 6, 19, 15],
"result": "invalid"
},
{
"tcId": 1798,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ba29e8cd80840c56794e887ccb7362f0f4d9cce1010657cd",
"tweak": "6d7584488e027b46",
"msg": [18, 5, 28, 9, 13, 11, 20, 32, 7, 6, 1, 22, 14, 25, 6, 0, 2, 29, 30, 19, 6, 9, 14],
"ct": [16, 21, 3, 18, 17, 26, 21, 28, 17, 16, 3, 24, 30, 9, 18, 8, 2, 14, 12, 30, 1, 29, 1],
"result": "invalid"
},
{
"tcId": 1799,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ba29e8cd80840c56794e887ccb7362f0f4d9cce1010657cd",
"tweak": "6d7584488e027b46",
"msg": [18, 5, 28, 9, 13, 11, 20, 9, 7, 6, 1, 22, 14, 25, 6, 0, 2, 29, 30, 19, 6, 9, 32],
"ct": [5, 1, 7, 2, 21, 29, 13, 8, 22, 27, 10, 16, 13, 15, 3, 3, 1, 23, 2, 23, 7, 11, 18],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 24,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1800,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "ac7947235faeb09f47808bcdb7c28894767149cfe71948d9",
"tweak": "f7e5b4f29221b2aa",
"msg": [3, 2, 1, 9, 25, 11, 31, 9, 14, 30, 4, 29, 17, 13, 12, 11, 10, 4, 7, 2, 22, 12, 20, 13],
"ct": [28, 27, 30, 17, 22, 29, 30, 16, 31, 28, 14, 31, 3, 11, 10, 7, 9, 14, 26, 2, 6, 2, 17, 5],
"result": "valid"
},
{
"tcId": 1801,
"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": [18, 8, 7, 17, 20, 3, 5, 2, 20, 17, 16, 14, 10, 6, 26, 29, 7, 21, 31, 1, 12, 12, 7, 2],
"result": "valid"
},
{
"tcId": 1802,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [7, 9, 22, 9, 11, 29, 17, 15, 8, 12, 30, 7, 21, 11, 17, 8, 29, 29, 12, 15, 24, 11, 31, 3],
"result": "valid"
},
{
"tcId": 1803,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [26, 13, 23, 5, 25, 5, 0, 7, 21, 24, 12, 2, 7, 11, 10, 13, 15, 19, 22, 5, 7, 0, 13, 2],
"result": "valid"
},
{
"tcId": 1804,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [8, 22, 8, 9, 27, 13, 14, 13, 20, 15, 8, 8, 20, 4, 19, 26, 2, 1, 10, 22, 6, 1, 1, 15],
"result": "valid"
},
{
"tcId": 1805,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [23, 10, 20, 15, 10, 28, 11, 22, 3, 26, 23, 19, 26, 24, 19, 27, 16, 15, 11, 17, 26, 5, 18, 28],
"ct": [18, 1, 7, 14, 6, 6, 29, 16, 28, 24, 30, 8, 5, 27, 29, 18, 0, 22, 28, 15, 15, 16, 11, 10],
"result": "valid"
},
{
"tcId": 1806,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [22, 0, 4, 25, 15, 20, 23, 28, 22, 13, 22, 12, 19, 21, 10, 2, 0, 10, 28, 31, 14, 27, 5, 10],
"ct": [24, 18, 19, 27, 15, 17, 2, 22, 9, 22, 20, 24, 4, 1, 5, 12, 29, 22, 12, 2, 26, 27, 24, 20],
"result": "valid"
},
{
"tcId": 1807,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [0, 31, 22, 8, 15, 20, 26, 18, 25, 17, 15, 30, 24, 23, 25, 5, 20, 15, 26, 1, 31, 7, 9, 15],
"ct": [10, 6, 13, 7, 19, 23, 16, 11, 0, 23, 15, 3, 12, 5, 8, 24, 16, 5, 16, 19, 9, 21, 26, 5],
"result": "valid"
},
{
"tcId": 1808,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [0, 24, 22, 15, 24, 4, 22, 13, 5, 26, 23, 11, 24, 9, 26, 16, 24, 31, 26, 7, 10, 1, 1, 13],
"ct": [12, 19, 8, 9, 27, 20, 21, 26, 26, 19, 19, 16, 23, 15, 11, 3, 9, 4, 14, 1, 27, 25, 21, 26],
"result": "valid"
},
{
"tcId": 1809,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [6, 19, 21, 9, 6, 12, 14, 4, 31, 9, 24, 27, 27, 24, 15, 21, 30, 11, 19, 17, 2, 18, 1, 24],
"ct": [16, 21, 22, 25, 21, 19, 18, 20, 30, 22, 21, 28, 25, 27, 5, 23, 6, 13, 25, 13, 17, 4, 17, 15],
"result": "valid"
},
{
"tcId": 1810,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [24, 19, 31, 11, 7, 28, 22, 26, 13, 13, 31, 17, 27, 21, 5, 3, 20, 5, 5, 3, 3, 26, 18, 20],
"ct": [15, 2, 10, 0, 14, 18, 22, 26, 24, 22, 1, 2, 22, 3, 13, 11, 23, 30, 20, 8, 5, 13, 13, 15],
"result": "valid"
},
{
"tcId": 1811,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [25, 1, 0, 29, 29, 31, 14, 20, 16, 20, 16, 10, 12, 8, 5, 26, 4, 21, 8, 12, 27, 30, 22, 2],
"ct": [3, 13, 16, 0, 17, 18, 0, 13, 31, 2, 12, 6, 23, 6, 4, 15, 7, 20, 8, 5, 20, 12, 26, 3],
"result": "valid"
},
{
"tcId": 1812,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [30, 14, 23, 16, 10, 16, 3, 17, 14, 6, 11, 6, 29, 19, 16, 5, 20, 24, 24, 9, 24, 16, 7, 30],
"ct": [30, 21, 28, 23, 15, 26, 1, 15, 1, 28, 14, 3, 25, 2, 19, 8, 14, 3, 3, 7, 24, 5, 20, 31],
"result": "valid"
},
{
"tcId": 1813,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [9, 12, 19, 11, 18, 1, 16, 6, 16, 0, 28, 31, 14, 8, 14, 1, 10, 23, 4, 25, 8, 31, 25, 25],
"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": 1814,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [9, 2, 29, 0, 22, 16, 29, 1, 9, 31, 29, 10, 10, 7, 4, 4, 9, 7, 16, 10, 14, 21, 13, 2],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1815,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [8, 15, 21, 23, 12, 23, 4, 30, 16, 0, 27, 22, 1, 31, 5, 9, 23, 22, 20, 5, 17, 16, 18, 27],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1816,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8",
"tweak": "f69704f1171d8630",
"msg": [20, 1, 6, 31, 10, 9, 19, 7, 18, 23, 17, 0, 31, 19, 27, 8, 20, 14, 0, 21, 21, 27, 25, 24],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1817,
"comment": "y = 0 and (y + a) % radix**12 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "abe1bc8a6730fa",
"msg": [23, 16, 22, 11, 23, 20, 26, 24, 12, 27, 24, 30, 8, 25, 14, 19, 28, 6, 28, 17, 21, 15, 27, 0],
"ct": [4, 15, 20, 10, 27, 7, 16, 24, 21, 1, 18, 5, 0, 22, 6, 26, 30, 27, 9, 9, 5, 15, 31, 29],
"result": "valid"
},
{
"tcId": 1818,
"comment": "y = 0 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "abe1bc8a6730fa",
"msg": [4, 6, 19, 27, 17, 16, 18, 8, 15, 7, 5, 8, 11, 31, 30, 7, 12, 11, 18, 11, 16, 3, 5, 9],
"ct": [16, 8, 6, 15, 9, 2, 30, 24, 15, 30, 1, 5, 25, 10, 27, 25, 23, 12, 25, 1, 7, 28, 14, 31],
"result": "valid"
},
{
"tcId": 1819,
"comment": "y = 0 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "abe1bc8a6730fa",
"msg": [30, 4, 14, 1, 8, 5, 0, 30, 11, 23, 23, 20, 2, 23, 23, 30, 28, 6, 19, 13, 7, 26, 28, 3],
"ct": [9, 23, 2, 25, 18, 23, 16, 22, 2, 31, 8, 29, 18, 12, 12, 29, 24, 14, 24, 31, 9, 8, 14, 20],
"result": "valid"
},
{
"tcId": 1820,
"comment": "y = 0 and (y + a) % radix**12 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "abe1bc8a6730fa",
"msg": [3, 3, 27, 30, 23, 21, 1, 31, 21, 12, 13, 28, 12, 6, 13, 1, 29, 12, 25, 28, 17, 15, 19, 6],
"ct": [19, 12, 12, 6, 20, 27, 9, 7, 23, 18, 6, 25, 15, 31, 27, 6, 23, 9, 5, 12, 16, 27, 4, 7],
"result": "valid"
},
{
"tcId": 1821,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "329bf91e13349a",
"msg": [29, 1, 9, 7, 4, 30, 13, 4, 8, 6, 9, 13, 3, 11, 3, 28, 17, 11, 24, 6, 1, 11, 30, 2],
"ct": [2, 24, 8, 22, 31, 6, 20, 2, 12, 8, 14, 7, 12, 26, 13, 20, 11, 11, 19, 9, 9, 14, 4, 9],
"result": "valid"
},
{
"tcId": 1822,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "329bf91e13349a",
"msg": [7, 26, 5, 9, 23, 20, 19, 21, 30, 9, 22, 5, 18, 14, 8, 23, 6, 30, 4, 15, 24, 14, 14, 1],
"ct": [15, 3, 6, 12, 13, 28, 27, 10, 26, 18, 15, 15, 5, 26, 27, 28, 1, 1, 27, 18, 24, 30, 20, 6],
"result": "valid"
},
{
"tcId": 1823,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "329bf91e13349a",
"msg": [19, 7, 9, 19, 1, 29, 4, 31, 0, 19, 12, 25, 3, 2, 13, 14, 12, 20, 21, 0, 19, 2, 12, 0],
"ct": [0, 19, 0, 14, 5, 6, 3, 3, 14, 3, 2, 16, 3, 14, 31, 0, 14, 24, 3, 18, 31, 22, 29, 19],
"result": "valid"
},
{
"tcId": 1824,
"comment": "y = 1 and (y + a) % radix**12 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "329bf91e13349a",
"msg": [16, 25, 5, 26, 7, 17, 13, 15, 1, 22, 31, 26, 0, 5, 1, 27, 16, 21, 29, 25, 14, 27, 21, 28],
"ct": [5, 21, 7, 5, 28, 0, 21, 6, 4, 6, 19, 24, 31, 16, 26, 28, 22, 13, 1, 14, 31, 23, 24, 18],
"result": "valid"
},
{
"tcId": 1825,
"comment": "y = 1 and (y + a) % radix**12 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "329bf91e13349a",
"msg": [23, 5, 25, 3, 28, 23, 18, 24, 16, 19, 17, 19, 9, 6, 31, 12, 0, 13, 31, 0, 6, 30, 25, 24],
"ct": [17, 19, 1, 15, 22, 12, 17, 4, 14, 4, 18, 20, 13, 3, 8, 23, 29, 4, 31, 18, 27, 23, 6, 19],
"result": "valid"
},
{
"tcId": 1826,
"comment": "y is maximal and (y + a) % radix**12 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "b37cd6d8e955a3",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2, 31, 13, 26, 17, 14, 28, 22, 13, 0, 27],
"ct": [4, 23, 29, 4, 6, 18, 17, 30, 11, 0, 0, 24, 2, 20, 23, 11, 10, 3, 16, 18, 22, 31, 31, 5],
"result": "valid"
},
{
"tcId": 1827,
"comment": "y is maximal and (y + a) % radix**12 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "b37cd6d8e955a3",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 2, 31, 13, 26, 17, 14, 28, 22, 13, 0, 27],
"ct": [24, 30, 27, 29, 16, 11, 30, 1, 29, 25, 15, 25, 19, 27, 24, 18, 22, 20, 19, 30, 4, 20, 16, 2],
"result": "valid"
},
{
"tcId": 1828,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "b37cd6d8e955a3",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2, 31, 13, 26, 17, 14, 28, 22, 13, 0, 27],
"ct": [18, 7, 16, 4, 22, 25, 1, 20, 7, 8, 18, 5, 4, 15, 4, 15, 14, 5, 30, 29, 2, 15, 4, 4],
"result": "valid"
},
{
"tcId": 1829,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "b37cd6d8e955a3",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 3, 2, 31, 13, 26, 17, 14, 28, 22, 13, 0, 27],
"ct": [15, 29, 12, 31, 0, 4, 26, 5, 23, 25, 0, 26, 16, 24, 16, 30, 11, 19, 6, 14, 12, 15, 17, 27],
"result": "valid"
},
{
"tcId": 1830,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "8abffe40a7263c",
"msg": [15, 1, 29, 3, 20, 25, 28, 26, 24, 20, 8, 15, 19, 21, 30, 12, 29, 11, 8, 20, 2, 14, 28, 22],
"ct": [13, 26, 25, 7, 17, 4, 29, 3, 19, 8, 15, 21, 7, 29, 5, 20, 29, 26, 17, 26, 10, 30, 29, 13],
"result": "valid"
},
{
"tcId": 1831,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "8abffe40a7263c",
"msg": [19, 25, 31, 23, 31, 5, 17, 10, 0, 27, 24, 27, 4, 30, 4, 19, 26, 8, 16, 1, 4, 2, 24, 20],
"ct": [8, 15, 3, 17, 11, 20, 10, 1, 17, 8, 10, 12, 23, 31, 30, 31, 6, 8, 1, 16, 19, 3, 21, 20],
"result": "valid"
},
{
"tcId": 1832,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "8abffe40a7263c",
"msg": [24, 9, 24, 16, 14, 12, 8, 0, 19, 17, 27, 13, 19, 2, 2, 21, 17, 30, 22, 21, 30, 2, 17, 2],
"ct": [27, 25, 3, 4, 11, 2, 6, 13, 0, 4, 30, 30, 7, 20, 9, 15, 24, 24, 3, 1, 5, 15, 23, 8],
"result": "valid"
},
{
"tcId": 1833,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "8abffe40a7263c",
"msg": [8, 22, 24, 17, 3, 0, 19, 2, 16, 6, 30, 2, 24, 30, 31, 22, 7, 17, 30, 23, 8, 5, 14, 15],
"ct": [2, 0, 28, 1, 22, 13, 5, 27, 20, 19, 30, 29, 6, 15, 29, 20, 7, 27, 9, 23, 25, 12, 16, 0],
"result": "valid"
},
{
"tcId": 1834,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "8abffe40a7263c",
"msg": [29, 22, 3, 1, 10, 19, 12, 20, 3, 19, 14, 3, 14, 3, 18, 11, 2, 10, 20, 5, 12, 27, 14, 31],
"ct": [17, 28, 0, 29, 16, 16, 15, 26, 19, 23, 18, 20, 31, 23, 6, 2, 27, 31, 11, 10, 6, 30, 31, 0],
"result": "valid"
},
{
"tcId": 1835,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "8abffe40a7263c",
"msg": [16, 13, 15, 0, 30, 19, 28, 11, 8, 17, 28, 23, 3, 21, 2, 4, 4, 16, 2, 17, 20, 23, 1, 9],
"ct": [20, 19, 6, 30, 14, 14, 31, 9, 11, 19, 9, 6, 31, 5, 14, 31, 4, 11, 25, 27, 31, 19, 16, 10],
"result": "valid"
},
{
"tcId": 1836,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "d44ebc511bc098",
"msg": [3, 25, 22, 1, 26, 12, 25, 25, 1, 14, 26, 26, 25, 11, 26, 30, 25, 23, 18, 0, 11, 11, 20, 14],
"ct": [28, 3, 25, 3, 22, 13, 15, 19, 6, 4, 22, 29, 19, 2, 1, 18, 16, 5, 9, 26, 31, 8, 12, 13],
"result": "valid"
},
{
"tcId": 1837,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "d44ebc511bc098",
"msg": [19, 12, 5, 22, 15, 3, 25, 24, 20, 13, 24, 8, 13, 28, 18, 17, 11, 8, 27, 7, 6, 5, 23, 2],
"ct": [28, 30, 22, 19, 1, 16, 12, 4, 25, 11, 31, 20, 7, 30, 31, 22, 13, 27, 21, 29, 8, 5, 12, 3],
"result": "valid"
},
{
"tcId": 1838,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "d44ebc511bc098",
"msg": [16, 16, 11, 20, 31, 10, 31, 7, 5, 27, 18, 21, 23, 16, 25, 30, 27, 31, 5, 30, 8, 12, 13, 13],
"ct": [8, 4, 10, 11, 24, 27, 10, 30, 8, 7, 8, 11, 20, 29, 1, 25, 31, 9, 9, 27, 9, 3, 22, 28],
"result": "valid"
},
{
"tcId": 1839,
"comment": "y is maximal after modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c",
"tweak": "d44ebc511bc098",
"msg": [28, 29, 2, 15, 28, 8, 12, 22, 16, 14, 26, 17, 13, 24, 1, 14, 15, 9, 10, 23, 29, 25, 29, 25],
"ct": [11, 18, 16, 13, 24, 12, 21, 23, 21, 14, 11, 4, 11, 23, 0, 7, 9, 24, 10, 6, 16, 10, 12, 23],
"result": "valid"
},
{
"tcId": 1840,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9df42cfdf50bb3ae95f501aaa7aae50e8c7f7701322e524a",
"tweak": "394f12fdaf9fefef",
"msg": [-1, 1, 5, 24, 13, 0, 25, 20, 17, 24, 31, 12, 30, 8, 29, 31, 0, 4, 3, 28, 17, 5, 28, 17],
"ct": [13, 9, 17, 27, 24, 2, 27, 26, 8, 6, 20, 12, 29, 18, 8, 20, 6, 3, 15, 6, 21, 1, 9, 5],
"result": "invalid"
},
{
"tcId": 1841,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9df42cfdf50bb3ae95f501aaa7aae50e8c7f7701322e524a",
"tweak": "394f12fdaf9fefef",
"msg": [23, 1, 5, 24, 13, 0, 25, 20, -1, 24, 31, 12, 30, 8, 29, 31, 0, 4, 3, 28, 17, 5, 28, 17],
"ct": [12, 12, 21, 6, 20, 3, 19, 28, 24, 9, 16, 19, 26, 16, 30, 2, 15, 14, 2, 29, 23, 4, 8, 20],
"result": "invalid"
},
{
"tcId": 1842,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9df42cfdf50bb3ae95f501aaa7aae50e8c7f7701322e524a",
"tweak": "394f12fdaf9fefef",
"msg": [23, 1, 5, 24, 13, 0, 25, 20, 17, 24, 31, 12, 30, 8, 29, 31, 0, 4, 3, 28, 17, 5, 28, -1],
"ct": [18, 23, 7, 20, 28, 18, 30, 15, 8, 28, 13, 14, 25, 15, 10, 6, 22, 20, 25, 19, 20, 30, 4, 11],
"result": "invalid"
},
{
"tcId": 1843,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9b32701776dcf5b480607a883e2190a46499cfb82e7cd160",
"tweak": "672f6f63aa3898e1",
"msg": [32, 20, 13, 9, 16, 18, 2, 13, 27, 4, 18, 18, 3, 21, 13, 0, 20, 6, 29, 6, 21, 14, 9, 7],
"ct": [13, 29, 15, 8, 31, 25, 0, 5, 10, 18, 14, 5, 26, 12, 18, 27, 17, 29, 2, 29, 1, 23, 29, 5],
"result": "invalid"
},
{
"tcId": 1844,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9b32701776dcf5b480607a883e2190a46499cfb82e7cd160",
"tweak": "672f6f63aa3898e1",
"msg": [14, 20, 13, 9, 16, 18, 2, 13, 32, 4, 18, 18, 3, 21, 13, 0, 20, 6, 29, 6, 21, 14, 9, 7],
"ct": [16, 0, 12, 7, 13, 13, 3, 9, 24, 30, 16, 30, 10, 23, 24, 19, 5, 5, 20, 5, 8, 6, 15, 10],
"result": "invalid"
},
{
"tcId": 1845,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9b32701776dcf5b480607a883e2190a46499cfb82e7cd160",
"tweak": "672f6f63aa3898e1",
"msg": [14, 20, 13, 9, 16, 18, 2, 13, 27, 4, 18, 18, 3, 21, 13, 0, 20, 6, 29, 6, 21, 14, 9, 32],
"ct": [26, 21, 13, 3, 5, 0, 25, 16, 13, 28, 26, 20, 15, 5, 24, 17, 7, 3, 3, 6, 29, 28, 8, 24],
"result": "invalid"
}
]
},
{
"keySize": 192,
"msgSize": 25,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1846,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "d3cc660039922e4edf19ee000bf0190aa4a974e2af2df506",
"tweak": "c1eb1cd08201924c",
"msg": [21, 2, 11, 15, 2, 3, 7, 12, 5, 17, 17, 26, 5, 31, 29, 12, 6, 18, 13, 16, 13, 6, 21, 18, 8],
"ct": [23, 6, 23, 13, 3, 2, 20, 22, 1, 28, 18, 3, 10, 31, 5, 7, 8, 1, 26, 30, 22, 28, 17, 16, 5],
"result": "valid"
},
{
"tcId": 1847,
"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": [23, 0, 28, 23, 5, 24, 6, 26, 24, 19, 10, 5, 9, 4, 8, 14, 18, 25, 25, 11, 31, 12, 28, 0, 11],
"result": "valid"
},
{
"tcId": 1848,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [21, 4, 31, 13, 19, 31, 7, 27, 10, 15, 20, 1, 28, 27, 25, 10, 11, 27, 29, 12, 16, 5, 30, 25, 14],
"result": "valid"
},
{
"tcId": 1849,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 23, 8, 3, 28, 25, 16, 13, 16, 3, 24, 6, 16, 13, 20, 18, 16, 5, 21, 29, 8, 9, 4, 17, 8],
"result": "valid"
},
{
"tcId": 1850,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [13, 5, 12, 27, 21, 18, 0, 14, 23, 10, 22, 12, 16, 20, 26, 8, 27, 16, 20, 6, 14, 7, 6, 16, 25],
"result": "valid"
},
{
"tcId": 1851,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [18, 8, 26, 5, 9, 20, 22, 31, 10, 19, 25, 5, 21, 20, 1, 20, 21, 25, 14, 10, 0, 16, 10, 14, 21],
"ct": [12, 30, 6, 5, 14, 16, 24, 5, 7, 1, 9, 18, 13, 23, 28, 12, 13, 19, 27, 25, 12, 28, 10, 11, 17],
"result": "valid"
},
{
"tcId": 1852,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [2, 7, 8, 25, 14, 4, 13, 28, 9, 19, 31, 7, 3, 4, 21, 25, 23, 30, 7, 14, 25, 6, 18, 19, 0],
"ct": [5, 1, 28, 10, 24, 1, 13, 30, 19, 28, 11, 20, 5, 9, 19, 3, 5, 14, 10, 5, 28, 22, 12, 9, 20],
"result": "valid"
},
{
"tcId": 1853,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [26, 2, 26, 22, 11, 15, 8, 10, 19, 22, 19, 12, 14, 3, 4, 29, 26, 19, 31, 16, 19, 20, 19, 27, 9],
"ct": [13, 30, 4, 14, 24, 17, 28, 30, 17, 16, 24, 19, 21, 25, 12, 28, 10, 12, 18, 25, 19, 8, 2, 22, 9],
"result": "valid"
},
{
"tcId": 1854,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [20, 8, 16, 29, 19, 4, 30, 24, 12, 24, 23, 0, 30, 30, 24, 14, 20, 5, 5, 29, 7, 6, 14, 11, 3],
"ct": [26, 24, 28, 31, 31, 6, 17, 26, 11, 7, 18, 17, 14, 26, 0, 24, 22, 12, 12, 1, 16, 27, 0, 21, 17],
"result": "valid"
},
{
"tcId": 1855,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [24, 5, 12, 14, 3, 6, 12, 12, 20, 19, 29, 21, 16, 0, 16, 22, 11, 29, 3, 16, 23, 2, 23, 4, 22],
"ct": [20, 25, 15, 18, 22, 10, 17, 4, 15, 2, 3, 13, 3, 14, 21, 2, 1, 23, 21, 25, 10, 30, 7, 5, 21],
"result": "valid"
},
{
"tcId": 1856,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [23, 3, 11, 13, 27, 30, 28, 3, 9, 22, 5, 23, 4, 7, 15, 18, 14, 3, 3, 18, 0, 18, 30, 15, 22],
"ct": [12, 20, 10, 13, 25, 14, 5, 29, 12, 10, 30, 23, 16, 14, 26, 1, 9, 25, 25, 25, 1, 5, 3, 10, 11],
"result": "valid"
},
{
"tcId": 1857,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [11, 28, 7, 9, 9, 6, 0, 18, 25, 26, 20, 24, 0, 3, 22, 22, 2, 11, 17, 5, 10, 6, 4, 23, 19],
"ct": [1, 25, 6, 0, 30, 23, 24, 15, 25, 14, 29, 27, 31, 8, 0, 15, 28, 4, 25, 17, 28, 12, 21, 18, 5],
"result": "valid"
},
{
"tcId": 1858,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [24, 24, 28, 10, 18, 28, 7, 21, 1, 12, 28, 19, 17, 13, 23, 12, 25, 22, 11, 5, 13, 24, 13, 15, 6],
"ct": [0, 23, 18, 16, 12, 8, 24, 3, 2, 24, 14, 12, 23, 14, 12, 27, 27, 20, 22, 25, 16, 12, 0, 6, 13],
"result": "valid"
},
{
"tcId": 1859,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [20, 5, 10, 16, 1, 3, 3, 20, 21, 14, 12, 29, 3, 28, 5, 22, 14, 30, 11, 6, 28, 24, 17, 24, 9],
"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": 1860,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [21, 28, 30, 26, 10, 1, 25, 22, 11, 3, 3, 28, 27, 27, 17, 0, 28, 16, 2, 21, 24, 29, 26, 29, 16],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1861,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [29, 7, 7, 1, 14, 8, 5, 20, 4, 5, 23, 24, 20, 11, 14, 18, 25, 8, 19, 28, 16, 11, 30, 23, 18],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1862,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba",
"tweak": "798c50257d1a31fc",
"msg": [30, 1, 18, 31, 15, 23, 31, 25, 17, 2, 28, 19, 13, 17, 8, 14, 12, 22, 23, 26, 16, 31, 30, 3, 31],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1863,
"comment": "y = 0 and (y + a) % radix**12 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "72cb89429c663d436467e5115f5550f58369ccc29db4",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 13, 27, 2, 15, 16, 6, 31, 31, 31, 30, 0, 18],
"ct": [31, 21, 28, 8, 27, 1, 14, 23, 22, 29, 30, 21, 25, 2, 25, 13, 13, 27, 11, 13, 29, 30, 15, 17, 9],
"result": "valid"
},
{
"tcId": 1864,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "72cb89429c663d436467e5115f5550f58369ccc29db4",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 7, 13, 27, 2, 15, 16, 6, 31, 31, 31, 30, 0, 18],
"ct": [16, 7, 8, 20, 0, 4, 7, 1, 24, 13, 0, 10, 10, 3, 5, 7, 31, 9, 8, 23, 30, 6, 30, 10, 27],
"result": "valid"
},
{
"tcId": 1865,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "72cb89429c663d436467e5115f5550f58369ccc29db4",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 13, 27, 2, 15, 16, 6, 31, 31, 31, 30, 0, 18],
"ct": [19, 1, 21, 17, 25, 30, 20, 23, 13, 9, 20, 12, 13, 29, 25, 17, 11, 1, 16, 26, 19, 23, 18, 28, 12],
"result": "valid"
},
{
"tcId": 1866,
"comment": "y = 0 and (y + a) % radix**12 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05",
"tweak": "72cb89429c663d436467e5115f5550f58369ccc29db4",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 7, 13, 27, 2, 15, 16, 6, 31, 31, 31, 30, 0, 18],
"ct": [31, 8, 23, 28, 10, 28, 24, 23, 1, 10, 14, 2, 26, 17, 1, 25, 26, 31, 7, 6, 16, 20, 31, 18, 29],
"result": "valid"
},
{
"tcId": 1867,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "989c3e6ec86db3b5aeae309cdf63259252ca59dbd1119bf2",
"tweak": "a8f9219e0b7563c0",
"msg": [-1, 28, 15, 21, 1, 22, 25, 4, 13, 25, 5, 4, 13, 22, 10, 22, 7, 19, 21, 28, 21, 27, 3, 1, 6],
"ct": [28, 4, 4, 14, 1, 23, 7, 31, 8, 12, 11, 21, 8, 29, 14, 27, 20, 23, 18, 25, 18, 20, 4, 7, 2],
"result": "invalid"
},
{
"tcId": 1868,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "989c3e6ec86db3b5aeae309cdf63259252ca59dbd1119bf2",
"tweak": "a8f9219e0b7563c0",
"msg": [9, 28, 15, 21, 1, 22, 25, 4, -1, 25, 5, 4, 13, 22, 10, 22, 7, 19, 21, 28, 21, 27, 3, 1, 6],
"ct": [1, 14, 25, 29, 7, 17, 3, 25, 19, 19, 11, 23, 24, 13, 1, 28, 15, 26, 6, 13, 15, 17, 2, 23, 10],
"result": "invalid"
},
{
"tcId": 1869,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "989c3e6ec86db3b5aeae309cdf63259252ca59dbd1119bf2",
"tweak": "a8f9219e0b7563c0",
"msg": [9, 28, 15, 21, 1, 22, 25, 4, 13, 25, 5, 4, 13, 22, 10, 22, 7, 19, 21, 28, 21, 27, 3, 1, -1],
"ct": [30, 15, 26, 16, 10, 18, 15, 0, 8, 1, 30, 7, 7, 17, 21, 25, 28, 27, 25, 5, 9, 26, 29, 27, 18],
"result": "invalid"
},
{
"tcId": 1870,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "43332334eb5b57388bc81b1af5875ff2051c6a2029606128",
"tweak": "6e83083a73808622",
"msg": [32, 3, 22, 31, 8, 26, 6, 31, 8, 5, 18, 27, 21, 14, 26, 27, 15, 2, 27, 25, 2, 29, 22, 13, 8],
"ct": [23, 25, 1, 11, 6, 4, 11, 31, 22, 22, 16, 17, 29, 14, 1, 2, 9, 27, 6, 28, 0, 6, 26, 29, 11],
"result": "invalid"
},
{
"tcId": 1871,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "43332334eb5b57388bc81b1af5875ff2051c6a2029606128",
"tweak": "6e83083a73808622",
"msg": [6, 3, 22, 31, 8, 26, 6, 31, 32, 5, 18, 27, 21, 14, 26, 27, 15, 2, 27, 25, 2, 29, 22, 13, 8],
"ct": [9, 29, 2, 15, 4, 0, 22, 31, 20, 5, 25, 17, 25, 12, 12, 12, 4, 10, 9, 19, 31, 17, 27, 10, 25],
"result": "invalid"
},
{
"tcId": 1872,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "43332334eb5b57388bc81b1af5875ff2051c6a2029606128",
"tweak": "6e83083a73808622",
"msg": [6, 3, 22, 31, 8, 26, 6, 31, 8, 5, 18, 27, 21, 14, 26, 27, 15, 2, 27, 25, 2, 29, 22, 13, 32],
"ct": [10, 1, 24, 22, 20, 3, 16, 17, 11, 23, 30, 13, 16, 30, 8, 28, 5, 19, 15, 31, 14, 16, 8, 6, 22],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 4,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1873,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "c4acbec2544b6a08d8b24841fc55fccf7450bfd64169fa7dbea965ccae52ac13",
"tweak": "427713fa26fac273",
"msg": [20, 2, 25, 30],
"ct": [23, 26, 12, 29],
"result": "valid"
},
{
"tcId": 1874,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [0, 0, 0, 0],
"ct": [6, 16, 7, 12],
"result": "valid"
},
{
"tcId": 1875,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [31, 31, 31, 31],
"ct": [21, 16, 0, 16],
"result": "valid"
},
{
"tcId": 1876,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [16, 0, 16, 0],
"ct": [2, 8, 23, 4],
"result": "valid"
},
{
"tcId": 1877,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [15, 31, 15, 31],
"ct": [10, 15, 26, 22],
"result": "valid"
},
{
"tcId": 1878,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [19, 20, 3, 15],
"ct": [2, 6, 23, 1],
"result": "valid"
},
{
"tcId": 1879,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [9, 8, 13, 20],
"ct": [11, 13, 1, 13],
"result": "valid"
},
{
"tcId": 1880,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [12, 19, 9, 0],
"ct": [3, 15, 12, 12],
"result": "valid"
},
{
"tcId": 1881,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [29, 23, 9, 5],
"ct": [21, 17, 3, 1],
"result": "valid"
},
{
"tcId": 1882,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [31, 30, 14, 12],
"ct": [16, 2, 19, 27],
"result": "valid"
},
{
"tcId": 1883,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [9, 16, 16, 14],
"ct": [19, 29, 4, 22],
"result": "valid"
},
{
"tcId": 1884,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [10, 21, 24, 4],
"ct": [16, 18, 25, 5],
"result": "valid"
},
{
"tcId": 1885,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [5, 4, 0, 6],
"ct": [18, 31, 0, 13],
"result": "valid"
},
{
"tcId": 1886,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [19, 8, 16, 4],
"ct": [0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1887,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [21, 19, 4, 16],
"ct": [31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1888,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [10, 26, 2, 27],
"ct": [16, 0, 16, 0],
"result": "valid"
},
{
"tcId": 1889,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82",
"tweak": "943f8393fb6c5876",
"msg": [11, 21, 5, 14],
"ct": [15, 31, 15, 31],
"result": "valid"
},
{
"tcId": 1890,
"comment": "y = 0 and (y + a) % radix**2 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "423d960196a9ce42f6465bc0e2",
"msg": [0, 0, 2, 9],
"ct": [16, 12, 8, 2],
"result": "valid"
},
{
"tcId": 1891,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "423d960196a9ce42f6465bc0e2",
"msg": [0, 1, 2, 9],
"ct": [19, 21, 8, 29],
"result": "valid"
},
{
"tcId": 1892,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "423d960196a9ce42f6465bc0e2",
"msg": [16, 0, 2, 9],
"ct": [9, 28, 27, 29],
"result": "valid"
},
{
"tcId": 1893,
"comment": "y = 0 and (y + a) % radix**2 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "423d960196a9ce42f6465bc0e2",
"msg": [31, 31, 2, 9],
"ct": [28, 3, 28, 8],
"result": "valid"
},
{
"tcId": 1894,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "ae00c860e148cf75a118957ea7",
"msg": [23, 20, 14, 24],
"ct": [30, 7, 3, 12],
"result": "valid"
},
{
"tcId": 1895,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "ae00c860e148cf75a118957ea7",
"msg": [25, 10, 13, 7],
"ct": [15, 5, 12, 7],
"result": "valid"
},
{
"tcId": 1896,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "ae00c860e148cf75a118957ea7",
"msg": [20, 12, 30, 31],
"ct": [13, 25, 1, 13],
"result": "valid"
},
{
"tcId": 1897,
"comment": "y = 1 and (y + a) % radix**2 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "ae00c860e148cf75a118957ea7",
"msg": [29, 24, 12, 11],
"ct": [31, 2, 21, 25],
"result": "valid"
},
{
"tcId": 1898,
"comment": "y = 1 and (y + a) % radix**2 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "ae00c860e148cf75a118957ea7",
"msg": [30, 23, 7, 0],
"ct": [26, 1, 20, 27],
"result": "valid"
},
{
"tcId": 1899,
"comment": "y is edge case for modular reduction and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "58d3a9d3f9585a7630a9dfd3e6",
"msg": [0, 29, 2, 16],
"ct": [18, 1, 27, 22],
"result": "valid"
},
{
"tcId": 1900,
"comment": "y is edge case for modular reduction and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "58d3a9d3f9585a7630a9dfd3e6",
"msg": [5, 11, 16, 7],
"ct": [27, 13, 7, 27],
"result": "valid"
},
{
"tcId": 1901,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "58d3a9d3f9585a7630a9dfd3e6",
"msg": [0, 14, 3, 25],
"ct": [3, 31, 5, 30],
"result": "valid"
},
{
"tcId": 1902,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "58d3a9d3f9585a7630a9dfd3e6",
"msg": [29, 6, 10, 29],
"ct": [20, 21, 5, 12],
"result": "valid"
},
{
"tcId": 1903,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "58d3a9d3f9585a7630a9dfd3e6",
"msg": [7, 0, 19, 8],
"ct": [15, 11, 12, 22],
"result": "valid"
},
{
"tcId": 1904,
"comment": "y is edge case for modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd",
"tweak": "58d3a9d3f9585a7630a9dfd3e6",
"msg": [27, 5, 28, 20],
"ct": [13, 17, 19, 8],
"result": "valid"
},
{
"tcId": 1905,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5787be1a2ef7a6762f9b7c0ff6a7efb27139e087603476bd0046f1fd58814f6a",
"tweak": "498e5d8a4a05d992",
"msg": [-1, 22, 26, 25],
"ct": [25, 29, 5, 22],
"result": "invalid"
},
{
"tcId": 1906,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5787be1a2ef7a6762f9b7c0ff6a7efb27139e087603476bd0046f1fd58814f6a",
"tweak": "498e5d8a4a05d992",
"msg": [14, -1, 26, 25],
"ct": [4, 23, 24, 24],
"result": "invalid"
},
{
"tcId": 1907,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5787be1a2ef7a6762f9b7c0ff6a7efb27139e087603476bd0046f1fd58814f6a",
"tweak": "498e5d8a4a05d992",
"msg": [14, 22, 26, -1],
"ct": [7, 13, 30, 15],
"result": "invalid"
},
{
"tcId": 1908,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9965113a1d586e74076fc059c00d623d901de049da6157c625da141106a66f73",
"tweak": "0e069d9c4428e02d",
"msg": [32, 26, 2, 7],
"ct": [5, 4, 13, 29],
"result": "invalid"
},
{
"tcId": 1909,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9965113a1d586e74076fc059c00d623d901de049da6157c625da141106a66f73",
"tweak": "0e069d9c4428e02d",
"msg": [23, 32, 2, 7],
"ct": [17, 19, 1, 6],
"result": "invalid"
},
{
"tcId": 1910,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9965113a1d586e74076fc059c00d623d901de049da6157c625da141106a66f73",
"tweak": "0e069d9c4428e02d",
"msg": [23, 26, 2, 32],
"ct": [7, 22, 1, 21],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 5,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1911,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "7b533301e6a7ac808d56cba45eb385cafec081eac871832d6936e40dfdac432e",
"tweak": "3a8c315a81fe2e71",
"msg": [11, 12, 21, 9, 21],
"ct": [26, 25, 22, 1, 27],
"result": "valid"
},
{
"tcId": 1912,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [0, 0, 0, 0, 0],
"ct": [6, 27, 6, 28, 22],
"result": "valid"
},
{
"tcId": 1913,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [31, 31, 31, 31, 31],
"ct": [25, 5, 14, 20, 30],
"result": "valid"
},
{
"tcId": 1914,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [16, 0, 16, 0, 0],
"ct": [5, 1, 21, 18, 30],
"result": "valid"
},
{
"tcId": 1915,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [15, 31, 15, 31, 31],
"ct": [9, 15, 15, 29, 9],
"result": "valid"
},
{
"tcId": 1916,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [30, 13, 6, 5, 1],
"ct": [14, 20, 29, 3, 2],
"result": "valid"
},
{
"tcId": 1917,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [1, 12, 29, 2, 29],
"ct": [26, 20, 3, 9, 14],
"result": "valid"
},
{
"tcId": 1918,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [25, 5, 28, 16, 26],
"ct": [8, 5, 4, 17, 17],
"result": "valid"
},
{
"tcId": 1919,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [25, 21, 5, 19, 11],
"ct": [7, 0, 30, 8, 5],
"result": "valid"
},
{
"tcId": 1920,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [28, 25, 4, 13, 22],
"ct": [9, 1, 2, 0, 2],
"result": "valid"
},
{
"tcId": 1921,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [0, 23, 2, 17, 23],
"ct": [17, 30, 20, 26, 25],
"result": "valid"
},
{
"tcId": 1922,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [7, 18, 26, 11, 12],
"ct": [28, 24, 25, 7, 15],
"result": "valid"
},
{
"tcId": 1923,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [29, 3, 18, 31, 17],
"ct": [11, 8, 25, 23, 11],
"result": "valid"
},
{
"tcId": 1924,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [18, 1, 31, 10, 18],
"ct": [0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1925,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [14, 7, 11, 8, 20],
"ct": [31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1926,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [30, 11, 24, 12, 6],
"ct": [16, 0, 16, 0, 0],
"result": "valid"
},
{
"tcId": 1927,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026",
"tweak": "16208ad8581f9aa4",
"msg": [27, 19, 23, 31, 0],
"ct": [15, 31, 15, 31, 31],
"result": "valid"
},
{
"tcId": 1928,
"comment": "y = 0 and (y + a) % radix**2 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "4cb4e2b339ccc015d29ec7026c",
"msg": [0, 0, 17, 4, 20],
"ct": [23, 27, 8, 10, 7],
"result": "valid"
},
{
"tcId": 1929,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "4cb4e2b339ccc015d29ec7026c",
"msg": [0, 1, 17, 4, 20],
"ct": [28, 19, 5, 20, 3],
"result": "valid"
},
{
"tcId": 1930,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "4cb4e2b339ccc015d29ec7026c",
"msg": [16, 0, 17, 4, 20],
"ct": [15, 11, 10, 24, 24],
"result": "valid"
},
{
"tcId": 1931,
"comment": "y = 0 and (y + a) % radix**2 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "4cb4e2b339ccc015d29ec7026c",
"msg": [31, 31, 17, 4, 20],
"ct": [10, 28, 23, 16, 19],
"result": "valid"
},
{
"tcId": 1932,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "563a63f3377243d32b3872879e",
"msg": [30, 7, 23, 12, 8],
"ct": [26, 5, 11, 1, 19],
"result": "valid"
},
{
"tcId": 1933,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "563a63f3377243d32b3872879e",
"msg": [19, 24, 3, 16, 2],
"ct": [17, 31, 19, 22, 1],
"result": "valid"
},
{
"tcId": 1934,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "563a63f3377243d32b3872879e",
"msg": [31, 14, 24, 17, 21],
"ct": [24, 30, 14, 18, 28],
"result": "valid"
},
{
"tcId": 1935,
"comment": "y = 1 and (y + a) % radix**2 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "563a63f3377243d32b3872879e",
"msg": [2, 19, 1, 11, 8],
"ct": [0, 16, 10, 8, 22],
"result": "valid"
},
{
"tcId": 1936,
"comment": "y = 1 and (y + a) % radix**2 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "563a63f3377243d32b3872879e",
"msg": [10, 21, 27, 6, 24],
"ct": [14, 29, 20, 20, 31],
"result": "valid"
},
{
"tcId": 1937,
"comment": "y is maximal and (y + a) % radix**2 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "56a806e7dbb8e4317ce8ee2d16",
"msg": [18, 16, 20, 16, 17],
"ct": [1, 6, 12, 29, 1],
"result": "valid"
},
{
"tcId": 1938,
"comment": "y is maximal and (y + a) % radix**2 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "56a806e7dbb8e4317ce8ee2d16",
"msg": [15, 1, 13, 28, 29],
"ct": [26, 13, 22, 6, 29],
"result": "valid"
},
{
"tcId": 1939,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "56a806e7dbb8e4317ce8ee2d16",
"msg": [10, 21, 3, 2, 19],
"ct": [1, 6, 19, 3, 30],
"result": "valid"
},
{
"tcId": 1940,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "56a806e7dbb8e4317ce8ee2d16",
"msg": [26, 25, 11, 21, 14],
"ct": [1, 13, 21, 2, 16],
"result": "valid"
},
{
"tcId": 1941,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "43633fd5d8f20cea3ff62edd86",
"msg": [0, 0, 16, 21, 27],
"ct": [5, 23, 9, 29, 15],
"result": "valid"
},
{
"tcId": 1942,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "43633fd5d8f20cea3ff62edd86",
"msg": [0, 1, 16, 21, 27],
"ct": [22, 2, 31, 20, 28],
"result": "valid"
},
{
"tcId": 1943,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "43633fd5d8f20cea3ff62edd86",
"msg": [0, 31, 16, 21, 27],
"ct": [3, 17, 29, 2, 1],
"result": "valid"
},
{
"tcId": 1944,
"comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "43633fd5d8f20cea3ff62edd86",
"msg": [1, 0, 16, 21, 27],
"ct": [10, 20, 12, 0, 18],
"result": "valid"
},
{
"tcId": 1945,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "43633fd5d8f20cea3ff62edd86",
"msg": [16, 0, 16, 21, 27],
"ct": [12, 17, 26, 0, 25],
"result": "valid"
},
{
"tcId": 1946,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "43633fd5d8f20cea3ff62edd86",
"msg": [31, 31, 16, 21, 27],
"ct": [26, 20, 27, 30, 7],
"result": "valid"
},
{
"tcId": 1947,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "cdfb65ac8279de14297ca3ad81",
"msg": [28, 4, 3, 0, 7],
"ct": [3, 15, 8, 9, 18],
"result": "valid"
},
{
"tcId": 1948,
"comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "cdfb65ac8279de14297ca3ad81",
"msg": [21, 30, 16, 14, 6],
"ct": [20, 1, 10, 18, 29],
"result": "valid"
},
{
"tcId": 1949,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "cdfb65ac8279de14297ca3ad81",
"msg": [23, 9, 2, 12, 4],
"ct": [12, 22, 7, 15, 29],
"result": "valid"
},
{
"tcId": 1950,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497",
"tweak": "cdfb65ac8279de14297ca3ad81",
"msg": [11, 16, 9, 24, 7],
"ct": [1, 13, 29, 17, 31],
"result": "valid"
},
{
"tcId": 1951,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870",
"tweak": "b69e51a606729a69",
"msg": [-1, 29, 25, 12, 8],
"ct": [7, 1, 17, 7, 31],
"result": "invalid"
},
{
"tcId": 1952,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870",
"tweak": "b69e51a606729a69",
"msg": [4, -1, 25, 12, 8],
"ct": [3, 6, 17, 26, 11],
"result": "invalid"
},
{
"tcId": 1953,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870",
"tweak": "b69e51a606729a69",
"msg": [4, 29, 25, 12, -1],
"ct": [8, 4, 19, 2, 22],
"result": "invalid"
},
{
"tcId": 1954,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "16220712b5242eeab9b7a59cbc6d0958f1bc829efd36f8be4eab26557bd328cc",
"tweak": "cd0cc1336ee3c347",
"msg": [32, 29, 23, 9, 16],
"ct": [23, 8, 29, 30, 30],
"result": "invalid"
},
{
"tcId": 1955,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "16220712b5242eeab9b7a59cbc6d0958f1bc829efd36f8be4eab26557bd328cc",
"tweak": "cd0cc1336ee3c347",
"msg": [6, 32, 23, 9, 16],
"ct": [12, 5, 14, 8, 16],
"result": "invalid"
},
{
"tcId": 1956,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "16220712b5242eeab9b7a59cbc6d0958f1bc829efd36f8be4eab26557bd328cc",
"tweak": "cd0cc1336ee3c347",
"msg": [6, 29, 23, 9, 32],
"ct": [24, 30, 27, 11, 15],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 6,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 1957,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "d82810eea883aa693dafbad9520a23919e6d5eadef78b28226daca2af64a68e5",
"tweak": "44bbec52bad40a55",
"msg": [1, 1, 27, 1, 19, 4],
"ct": [0, 8, 1, 27, 23, 29],
"result": "valid"
},
{
"tcId": 1958,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [0, 0, 0, 0, 0, 0],
"ct": [7, 6, 15, 24, 15, 10],
"result": "valid"
},
{
"tcId": 1959,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [31, 31, 31, 31, 31, 31],
"ct": [3, 28, 12, 4, 27, 24],
"result": "valid"
},
{
"tcId": 1960,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [16, 0, 0, 16, 0, 0],
"ct": [21, 2, 6, 27, 3, 31],
"result": "valid"
},
{
"tcId": 1961,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [15, 31, 31, 15, 31, 31],
"ct": [26, 18, 6, 12, 9, 19],
"result": "valid"
},
{
"tcId": 1962,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [17, 20, 20, 28, 27, 31],
"ct": [24, 26, 8, 19, 21, 21],
"result": "valid"
},
{
"tcId": 1963,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [2, 19, 16, 5, 19, 30],
"ct": [27, 7, 30, 16, 2, 15],
"result": "valid"
},
{
"tcId": 1964,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [15, 19, 12, 7, 24, 21],
"ct": [29, 9, 9, 12, 23, 10],
"result": "valid"
},
{
"tcId": 1965,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [1, 21, 23, 19, 18, 6],
"ct": [6, 8, 9, 9, 27, 2],
"result": "valid"
},
{
"tcId": 1966,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [5, 3, 28, 8, 5, 27],
"ct": [26, 14, 7, 14, 21, 18],
"result": "valid"
},
{
"tcId": 1967,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [21, 11, 20, 16, 12, 21],
"ct": [1, 14, 31, 5, 3, 2],
"result": "valid"
},
{
"tcId": 1968,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [9, 21, 25, 26, 22, 17],
"ct": [3, 14, 5, 0, 2, 15],
"result": "valid"
},
{
"tcId": 1969,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [27, 31, 24, 24, 11, 31],
"ct": [10, 8, 10, 4, 4, 19],
"result": "valid"
},
{
"tcId": 1970,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [18, 6, 0, 4, 27, 0],
"ct": [0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 1971,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [22, 9, 2, 20, 23, 1],
"ct": [31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 1972,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [24, 2, 21, 29, 13, 18],
"ct": [16, 0, 0, 16, 0, 0],
"result": "valid"
},
{
"tcId": 1973,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd",
"tweak": "9342a88d4b672bbb",
"msg": [24, 13, 18, 6, 11, 5],
"ct": [15, 31, 31, 15, 31, 31],
"result": "valid"
},
{
"tcId": 1974,
"comment": "y = 0 and (y + a) % radix**3 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "2a4b023d9a20c1717d0d3f0ee2",
"msg": [26, 29, 9, 15, 3, 7],
"ct": [6, 26, 10, 22, 23, 4],
"result": "valid"
},
{
"tcId": 1975,
"comment": "y = 0 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "2a4b023d9a20c1717d0d3f0ee2",
"msg": [10, 30, 24, 7, 14, 9],
"ct": [6, 9, 24, 30, 11, 19],
"result": "valid"
},
{
"tcId": 1976,
"comment": "y = 0 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "2a4b023d9a20c1717d0d3f0ee2",
"msg": [11, 9, 29, 24, 13, 2],
"ct": [1, 1, 29, 25, 22, 17],
"result": "valid"
},
{
"tcId": 1977,
"comment": "y = 0 and (y + a) % radix**3 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "2a4b023d9a20c1717d0d3f0ee2",
"msg": [26, 18, 29, 21, 7, 25],
"ct": [11, 1, 11, 16, 1, 8],
"result": "valid"
},
{
"tcId": 1978,
"comment": "y = 1 and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "8d365617c12f9de4524619ec6a",
"msg": [30, 14, 8, 0, 0, 0],
"ct": [4, 27, 9, 0, 26, 28],
"result": "valid"
},
{
"tcId": 1979,
"comment": "y = 1 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "8d365617c12f9de4524619ec6a",
"msg": [24, 28, 0, 0, 0, 1],
"ct": [24, 15, 22, 30, 26, 12],
"result": "valid"
},
{
"tcId": 1980,
"comment": "y = 1 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "8d365617c12f9de4524619ec6a",
"msg": [2, 14, 11, 16, 0, 0],
"ct": [23, 29, 31, 7, 8, 24],
"result": "valid"
},
{
"tcId": 1981,
"comment": "y = 1 and (y + a) % radix**3 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "8d365617c12f9de4524619ec6a",
"msg": [2, 31, 12, 31, 31, 30],
"ct": [30, 27, 20, 27, 3, 25],
"result": "valid"
},
{
"tcId": 1982,
"comment": "y = 1 and (y + a) % radix**3 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "8d365617c12f9de4524619ec6a",
"msg": [1, 12, 10, 31, 31, 31],
"ct": [7, 17, 9, 26, 29, 24],
"result": "valid"
},
{
"tcId": 1983,
"comment": "y is maximal and (y + a) % radix**3 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "c5d0953aa2eecbbc577581acd5",
"msg": [18, 10, 23, 0, 0, 0],
"ct": [19, 23, 17, 28, 3, 20],
"result": "valid"
},
{
"tcId": 1984,
"comment": "y is maximal and (y + a) % radix**3 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "c5d0953aa2eecbbc577581acd5",
"msg": [7, 18, 16, 0, 0, 1],
"ct": [26, 28, 23, 11, 16, 18],
"result": "valid"
},
{
"tcId": 1985,
"comment": "y is maximal and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "c5d0953aa2eecbbc577581acd5",
"msg": [11, 18, 21, 16, 0, 0],
"ct": [13, 11, 8, 6, 24, 28],
"result": "valid"
},
{
"tcId": 1986,
"comment": "y is maximal and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "c5d0953aa2eecbbc577581acd5",
"msg": [15, 17, 10, 31, 31, 31],
"ct": [27, 3, 19, 10, 21, 8],
"result": "valid"
},
{
"tcId": 1987,
"comment": "y is edge case for modular reduction and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "05f45cef0b739605cdf75a2111",
"msg": [9, 21, 11, 28, 7, 18],
"ct": [5, 16, 10, 24, 12, 21],
"result": "valid"
},
{
"tcId": 1988,
"comment": "y is edge case for modular reduction and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "05f45cef0b739605cdf75a2111",
"msg": [28, 26, 0, 15, 20, 17],
"ct": [17, 29, 17, 8, 12, 12],
"result": "valid"
},
{
"tcId": 1989,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "05f45cef0b739605cdf75a2111",
"msg": [27, 19, 12, 15, 16, 3],
"ct": [23, 0, 10, 11, 23, 25],
"result": "valid"
},
{
"tcId": 1990,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "05f45cef0b739605cdf75a2111",
"msg": [22, 13, 31, 5, 1, 26],
"ct": [23, 10, 10, 30, 24, 1],
"result": "valid"
},
{
"tcId": 1991,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "05f45cef0b739605cdf75a2111",
"msg": [10, 3, 28, 27, 17, 4],
"ct": [31, 6, 18, 29, 0, 27],
"result": "valid"
},
{
"tcId": 1992,
"comment": "y is edge case for modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "05f45cef0b739605cdf75a2111",
"msg": [22, 4, 19, 24, 19, 0],
"ct": [23, 22, 10, 8, 6, 19],
"result": "valid"
},
{
"tcId": 1993,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "12044f2e4cfd95705c5d419814",
"msg": [2, 23, 26, 5, 18, 15],
"ct": [31, 31, 31, 23, 5, 28],
"result": "valid"
},
{
"tcId": 1994,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "12044f2e4cfd95705c5d419814",
"msg": [26, 5, 23, 25, 5, 20],
"ct": [0, 0, 0, 5, 29, 22],
"result": "valid"
},
{
"tcId": 1995,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "12044f2e4cfd95705c5d419814",
"msg": [2, 21, 10, 15, 22, 0],
"ct": [15, 31, 31, 13, 1, 28],
"result": "valid"
},
{
"tcId": 1996,
"comment": "y is maximal after modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59",
"tweak": "12044f2e4cfd95705c5d419814",
"msg": [22, 7, 15, 21, 0, 17],
"ct": [31, 31, 30, 31, 1, 8],
"result": "valid"
},
{
"tcId": 1997,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215",
"tweak": "bf692e602f57a277",
"msg": [-1, 15, 22, 10, 21, 11],
"ct": [24, 25, 13, 24, 23, 7],
"result": "invalid"
},
{
"tcId": 1998,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215",
"tweak": "bf692e602f57a277",
"msg": [26, 15, -1, 10, 21, 11],
"ct": [10, 26, 27, 6, 17, 3],
"result": "invalid"
},
{
"tcId": 1999,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215",
"tweak": "bf692e602f57a277",
"msg": [26, 15, 22, 10, 21, -1],
"ct": [22, 7, 7, 6, 23, 1],
"result": "invalid"
},
{
"tcId": 2000,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7e2033fe75298adf83d1ad260095325b1219abbfaa8376764def03839cf8a615",
"tweak": "53c7bf41f1c73158",
"msg": [32, 11, 31, 8, 20, 5],
"ct": [26, 21, 29, 17, 30, 12],
"result": "invalid"
},
{
"tcId": 2001,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7e2033fe75298adf83d1ad260095325b1219abbfaa8376764def03839cf8a615",
"tweak": "53c7bf41f1c73158",
"msg": [3, 11, 32, 8, 20, 5],
"ct": [0, 26, 14, 16, 0, 23],
"result": "invalid"
},
{
"tcId": 2002,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "7e2033fe75298adf83d1ad260095325b1219abbfaa8376764def03839cf8a615",
"tweak": "53c7bf41f1c73158",
"msg": [3, 11, 31, 8, 20, 32],
"ct": [15, 19, 14, 25, 16, 16],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 7,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2003,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "647b69567516a585377f3fc9a8129c255431b0b5ab6792f9aa3fd646f3146b13",
"tweak": "39774b45a4fdd85b",
"msg": [17, 30, 11, 10, 29, 11, 2],
"ct": [30, 14, 15, 13, 20, 19, 8],
"result": "valid"
},
{
"tcId": 2004,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [0, 0, 0, 0, 0, 0, 0],
"ct": [2, 15, 10, 26, 8, 5, 20],
"result": "valid"
},
{
"tcId": 2005,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [31, 31, 31, 31, 31, 31, 31],
"ct": [25, 10, 9, 31, 24, 17, 1],
"result": "valid"
},
{
"tcId": 2006,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [16, 0, 0, 16, 0, 0, 0],
"ct": [30, 12, 0, 1, 18, 22, 17],
"result": "valid"
},
{
"tcId": 2007,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [15, 31, 31, 15, 31, 31, 31],
"ct": [12, 21, 11, 17, 29, 9, 13],
"result": "valid"
},
{
"tcId": 2008,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [13, 18, 15, 12, 22, 12, 2],
"ct": [19, 9, 10, 0, 24, 15, 28],
"result": "valid"
},
{
"tcId": 2009,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [19, 13, 8, 17, 27, 14, 15],
"ct": [15, 30, 26, 8, 3, 27, 3],
"result": "valid"
},
{
"tcId": 2010,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [18, 5, 19, 18, 10, 2, 2],
"ct": [4, 0, 27, 16, 18, 13, 11],
"result": "valid"
},
{
"tcId": 2011,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [30, 21, 22, 13, 26, 31, 19],
"ct": [6, 15, 31, 18, 12, 2, 18],
"result": "valid"
},
{
"tcId": 2012,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [9, 28, 25, 2, 7, 21, 15],
"ct": [28, 4, 27, 31, 1, 10, 26],
"result": "valid"
},
{
"tcId": 2013,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [14, 21, 14, 24, 26, 12, 4],
"ct": [12, 13, 9, 14, 2, 17, 5],
"result": "valid"
},
{
"tcId": 2014,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [29, 0, 19, 28, 5, 7, 18],
"ct": [17, 18, 28, 6, 5, 26, 17],
"result": "valid"
},
{
"tcId": 2015,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [12, 29, 23, 14, 3, 3, 13],
"ct": [19, 5, 21, 18, 28, 7, 11],
"result": "valid"
},
{
"tcId": 2016,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [19, 22, 18, 21, 15, 6, 6],
"ct": [0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2017,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [22, 17, 25, 25, 11, 0, 25],
"ct": [31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2018,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [21, 11, 10, 10, 2, 26, 10],
"ct": [16, 0, 0, 16, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2019,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2",
"tweak": "85e4782f20e0178c",
"msg": [16, 13, 12, 1, 23, 1, 27],
"ct": [15, 31, 31, 15, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2020,
"comment": "y = 0 and (y + a) % radix**3 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "4acb41bdccd94f94776faba6",
"msg": [0, 0, 0, 18, 6, 0, 5],
"ct": [24, 7, 19, 11, 1, 22, 31],
"result": "valid"
},
{
"tcId": 2021,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "4acb41bdccd94f94776faba6",
"msg": [0, 0, 1, 18, 6, 0, 5],
"ct": [13, 16, 5, 3, 8, 29, 17],
"result": "valid"
},
{
"tcId": 2022,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "4acb41bdccd94f94776faba6",
"msg": [16, 0, 0, 18, 6, 0, 5],
"ct": [8, 23, 26, 2, 5, 19, 8],
"result": "valid"
},
{
"tcId": 2023,
"comment": "y = 0 and (y + a) % radix**3 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "4acb41bdccd94f94776faba6",
"msg": [31, 31, 31, 18, 6, 0, 5],
"ct": [13, 14, 16, 2, 1, 20, 25],
"result": "valid"
},
{
"tcId": 2024,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "8aa2a58f08b4034f0e9ef9a6",
"msg": [27, 9, 30, 9, 29, 25, 3],
"ct": [11, 22, 3, 9, 7, 4, 3],
"result": "valid"
},
{
"tcId": 2025,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "8aa2a58f08b4034f0e9ef9a6",
"msg": [3, 11, 16, 14, 12, 29, 17],
"ct": [14, 3, 29, 13, 2, 19, 30],
"result": "valid"
},
{
"tcId": 2026,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "8aa2a58f08b4034f0e9ef9a6",
"msg": [16, 21, 17, 0, 25, 20, 7],
"ct": [16, 1, 5, 2, 14, 20, 20],
"result": "valid"
},
{
"tcId": 2027,
"comment": "y = 1 and (y + a) % radix**3 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "8aa2a58f08b4034f0e9ef9a6",
"msg": [28, 25, 29, 4, 3, 2, 7],
"ct": [5, 4, 9, 4, 23, 16, 11],
"result": "valid"
},
{
"tcId": 2028,
"comment": "y = 1 and (y + a) % radix**3 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "8aa2a58f08b4034f0e9ef9a6",
"msg": [30, 16, 29, 30, 16, 16, 18],
"ct": [7, 18, 30, 6, 12, 25, 6],
"result": "valid"
},
{
"tcId": 2029,
"comment": "y is maximal and (y + a) % radix**3 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "c41a356b3addfb0444eee472",
"msg": [20, 13, 6, 22, 30, 10, 20],
"ct": [14, 5, 20, 15, 7, 9, 24],
"result": "valid"
},
{
"tcId": 2030,
"comment": "y is maximal and (y + a) % radix**3 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "c41a356b3addfb0444eee472",
"msg": [17, 21, 7, 27, 8, 2, 3],
"ct": [12, 2, 14, 16, 30, 16, 30],
"result": "valid"
},
{
"tcId": 2031,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "c41a356b3addfb0444eee472",
"msg": [3, 27, 14, 27, 18, 9, 2],
"ct": [9, 26, 27, 24, 8, 12, 30],
"result": "valid"
},
{
"tcId": 2032,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "c41a356b3addfb0444eee472",
"msg": [3, 15, 0, 16, 27, 8, 19],
"ct": [20, 16, 5, 9, 22, 6, 9],
"result": "valid"
},
{
"tcId": 2033,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "a0c0349d17ed3d938f1c7a70",
"msg": [17, 25, 21, 14, 18, 14, 1],
"ct": [17, 10, 17, 18, 8, 24, 31],
"result": "valid"
},
{
"tcId": 2034,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "a0c0349d17ed3d938f1c7a70",
"msg": [14, 3, 7, 16, 14, 1, 19],
"ct": [22, 14, 0, 11, 28, 27, 25],
"result": "valid"
},
{
"tcId": 2035,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "a0c0349d17ed3d938f1c7a70",
"msg": [22, 30, 1, 30, 12, 17, 26],
"ct": [23, 31, 5, 21, 21, 6, 1],
"result": "valid"
},
{
"tcId": 2036,
"comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "a0c0349d17ed3d938f1c7a70",
"msg": [20, 9, 8, 6, 21, 28, 17],
"ct": [9, 21, 31, 20, 14, 5, 29],
"result": "valid"
},
{
"tcId": 2037,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "a0c0349d17ed3d938f1c7a70",
"msg": [19, 12, 30, 31, 26, 6, 8],
"ct": [30, 4, 1, 20, 27, 27, 15],
"result": "valid"
},
{
"tcId": 2038,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "a0c0349d17ed3d938f1c7a70",
"msg": [16, 3, 16, 27, 2, 30, 6],
"ct": [24, 3, 1, 25, 26, 30, 21],
"result": "valid"
},
{
"tcId": 2039,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "958f8ffff8cfbda39a35452a",
"msg": [7, 22, 25, 30, 14, 30, 10],
"ct": [19, 25, 27, 21, 28, 27, 27],
"result": "valid"
},
{
"tcId": 2040,
"comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "958f8ffff8cfbda39a35452a",
"msg": [8, 26, 4, 22, 1, 4, 10],
"ct": [28, 17, 10, 2, 18, 22, 13],
"result": "valid"
},
{
"tcId": 2041,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "958f8ffff8cfbda39a35452a",
"msg": [28, 4, 17, 7, 6, 26, 7],
"ct": [3, 12, 2, 5, 9, 2, 9],
"result": "valid"
},
{
"tcId": 2042,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5",
"tweak": "958f8ffff8cfbda39a35452a",
"msg": [20, 31, 18, 15, 19, 24, 7],
"ct": [15, 30, 22, 29, 22, 4, 6],
"result": "valid"
},
{
"tcId": 2043,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac",
"tweak": "c5df6cad17b46d67",
"msg": [-1, 31, 18, 13, 23, 17, 6],
"ct": [16, 31, 9, 16, 30, 25, 24],
"result": "invalid"
},
{
"tcId": 2044,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac",
"tweak": "c5df6cad17b46d67",
"msg": [11, 31, -1, 13, 23, 17, 6],
"ct": [24, 19, 29, 13, 15, 11, 12],
"result": "invalid"
},
{
"tcId": 2045,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac",
"tweak": "c5df6cad17b46d67",
"msg": [11, 31, 18, 13, 23, 17, -1],
"ct": [23, 26, 18, 29, 20, 7, 29],
"result": "invalid"
},
{
"tcId": 2046,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "89f6d6dd18890c124efe6986419f44055c622039f26eee1a8c6471919421bf09",
"tweak": "8bd3fcbe0cd62441",
"msg": [32, 13, 28, 5, 5, 3, 10],
"ct": [7, 25, 27, 0, 30, 15, 18],
"result": "invalid"
},
{
"tcId": 2047,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "89f6d6dd18890c124efe6986419f44055c622039f26eee1a8c6471919421bf09",
"tweak": "8bd3fcbe0cd62441",
"msg": [29, 13, 32, 5, 5, 3, 10],
"ct": [22, 4, 12, 25, 11, 25, 2],
"result": "invalid"
},
{
"tcId": 2048,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "89f6d6dd18890c124efe6986419f44055c622039f26eee1a8c6471919421bf09",
"tweak": "8bd3fcbe0cd62441",
"msg": [29, 13, 28, 5, 5, 3, 32],
"ct": [25, 3, 17, 9, 16, 14, 2],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 8,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2049,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "066c6a83fd826a5fa7f3b4025bb9c833befa12044d3fbed87280a4c7a0435b03",
"tweak": "80650ae5bc5e1bb1",
"msg": [23, 6, 10, 12, 1, 19, 21, 30],
"ct": [15, 18, 14, 16, 22, 15, 13, 11],
"result": "valid"
},
{
"tcId": 2050,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [0, 0, 0, 0, 0, 0, 0, 0],
"ct": [1, 27, 2, 10, 24, 3, 19, 0],
"result": "valid"
},
{
"tcId": 2051,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [31, 31, 31, 31, 31, 31, 31, 31],
"ct": [10, 28, 17, 30, 25, 6, 10, 20],
"result": "valid"
},
{
"tcId": 2052,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [16, 0, 0, 0, 16, 0, 0, 0],
"ct": [14, 26, 23, 7, 23, 14, 20, 6],
"result": "valid"
},
{
"tcId": 2053,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [15, 31, 31, 31, 15, 31, 31, 31],
"ct": [27, 25, 25, 10, 15, 22, 6, 30],
"result": "valid"
},
{
"tcId": 2054,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [10, 31, 11, 23, 26, 21, 22, 23],
"ct": [27, 9, 31, 19, 16, 25, 6, 17],
"result": "valid"
},
{
"tcId": 2055,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [28, 25, 1, 28, 1, 17, 6, 29],
"ct": [17, 6, 12, 8, 20, 6, 1, 19],
"result": "valid"
},
{
"tcId": 2056,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [0, 0, 1, 3, 7, 21, 10, 8],
"ct": [28, 0, 12, 30, 15, 0, 7, 27],
"result": "valid"
},
{
"tcId": 2057,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [6, 15, 14, 2, 15, 2, 5, 31],
"ct": [5, 28, 8, 3, 3, 18, 29, 12],
"result": "valid"
},
{
"tcId": 2058,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [13, 5, 28, 23, 30, 29, 22, 11],
"ct": [22, 15, 27, 12, 20, 10, 17, 23],
"result": "valid"
},
{
"tcId": 2059,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [12, 11, 23, 27, 27, 5, 26, 4],
"ct": [31, 2, 30, 16, 21, 28, 31, 4],
"result": "valid"
},
{
"tcId": 2060,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [12, 31, 18, 20, 8, 18, 1, 14],
"ct": [10, 5, 26, 0, 24, 26, 29, 20],
"result": "valid"
},
{
"tcId": 2061,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [28, 0, 1, 9, 30, 1, 18, 25],
"ct": [11, 6, 22, 18, 5, 17, 29, 21],
"result": "valid"
},
{
"tcId": 2062,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [22, 28, 30, 12, 5, 20, 27, 29],
"ct": [0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2063,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [24, 12, 20, 11, 7, 5, 11, 17],
"ct": [31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2064,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [20, 6, 21, 10, 31, 31, 31, 12],
"ct": [16, 0, 0, 0, 16, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2065,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9",
"tweak": "6b79eea9265e4ccf",
"msg": [12, 3, 24, 4, 26, 29, 31, 10],
"ct": [15, 31, 31, 31, 15, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2066,
"comment": "y = 0 and (y + a) % radix**4 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "cafb3559ab07f999f215b231",
"msg": [27, 2, 6, 19, 0, 1, 12, 9],
"ct": [29, 4, 26, 15, 12, 26, 23, 31],
"result": "valid"
},
{
"tcId": 2067,
"comment": "y = 0 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "cafb3559ab07f999f215b231",
"msg": [13, 0, 21, 26, 25, 23, 7, 12],
"ct": [13, 18, 1, 14, 14, 4, 31, 1],
"result": "valid"
},
{
"tcId": 2068,
"comment": "y = 0 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "cafb3559ab07f999f215b231",
"msg": [26, 18, 25, 10, 0, 15, 31, 29],
"ct": [11, 9, 29, 2, 18, 0, 29, 9],
"result": "valid"
},
{
"tcId": 2069,
"comment": "y = 0 and (y + a) % radix**4 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "cafb3559ab07f999f215b231",
"msg": [24, 6, 21, 2, 12, 23, 19, 26],
"ct": [9, 11, 25, 0, 11, 16, 6, 2],
"result": "valid"
},
{
"tcId": 2070,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "dfb18063c2e206e6c9447bf5",
"msg": [23, 30, 5, 18, 11, 5, 0, 26],
"ct": [17, 30, 2, 31, 23, 4, 22, 30],
"result": "valid"
},
{
"tcId": 2071,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "dfb18063c2e206e6c9447bf5",
"msg": [26, 22, 10, 1, 22, 20, 30, 4],
"ct": [12, 11, 4, 15, 12, 21, 7, 12],
"result": "valid"
},
{
"tcId": 2072,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "dfb18063c2e206e6c9447bf5",
"msg": [13, 0, 27, 10, 21, 1, 12, 11],
"ct": [11, 13, 0, 13, 12, 16, 28, 30],
"result": "valid"
},
{
"tcId": 2073,
"comment": "y = 1 and (y + a) % radix**4 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "dfb18063c2e206e6c9447bf5",
"msg": [19, 19, 27, 21, 8, 6, 26, 31],
"ct": [23, 23, 8, 1, 5, 21, 3, 17],
"result": "valid"
},
{
"tcId": 2074,
"comment": "y = 1 and (y + a) % radix**4 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "dfb18063c2e206e6c9447bf5",
"msg": [12, 13, 24, 6, 21, 0, 6, 16],
"ct": [27, 1, 26, 13, 31, 26, 30, 1],
"result": "valid"
},
{
"tcId": 2075,
"comment": "y is maximal and (y + a) % radix**4 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "f9c431f5531ae4c9e96d6f3d",
"msg": [23, 5, 7, 7, 7, 30, 13, 17],
"ct": [8, 27, 6, 9, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2076,
"comment": "y is maximal and (y + a) % radix**4 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "f9c431f5531ae4c9e96d6f3d",
"msg": [19, 31, 13, 4, 26, 14, 22, 3],
"ct": [8, 27, 6, 9, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2077,
"comment": "y is maximal and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "f9c431f5531ae4c9e96d6f3d",
"msg": [7, 1, 12, 21, 19, 25, 22, 16],
"ct": [8, 27, 6, 9, 15, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2078,
"comment": "y is maximal and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "f9c431f5531ae4c9e96d6f3d",
"msg": [13, 18, 11, 27, 8, 0, 12, 23],
"ct": [8, 27, 6, 9, 31, 31, 31, 30],
"result": "valid"
},
{
"tcId": 2079,
"comment": "y is edge case for modular reduction and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "a155db32b29c4d62f82efeab",
"msg": [5, 10, 23, 4, 5, 26, 29, 31],
"ct": [2, 27, 20, 19, 19, 22, 31, 30],
"result": "valid"
},
{
"tcId": 2080,
"comment": "y is edge case for modular reduction and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "a155db32b29c4d62f82efeab",
"msg": [19, 1, 14, 6, 5, 8, 12, 14],
"ct": [1, 11, 29, 14, 5, 19, 10, 12],
"result": "valid"
},
{
"tcId": 2081,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "a155db32b29c4d62f82efeab",
"msg": [18, 10, 20, 8, 30, 21, 12, 22],
"ct": [6, 7, 16, 17, 29, 20, 13, 1],
"result": "valid"
},
{
"tcId": 2082,
"comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "a155db32b29c4d62f82efeab",
"msg": [4, 31, 31, 13, 27, 6, 24, 17],
"ct": [19, 30, 13, 27, 14, 20, 13, 15],
"result": "valid"
},
{
"tcId": 2083,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "a155db32b29c4d62f82efeab",
"msg": [15, 12, 17, 31, 26, 28, 11, 21],
"ct": [4, 21, 15, 26, 16, 18, 7, 17],
"result": "valid"
},
{
"tcId": 2084,
"comment": "y is edge case for modular reduction and a is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "a155db32b29c4d62f82efeab",
"msg": [25, 7, 15, 28, 17, 22, 9, 28],
"ct": [1, 23, 21, 1, 0, 2, 2, 6],
"result": "valid"
},
{
"tcId": 2085,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "94cc81f0231fbf3cfb08b88d",
"msg": [0, 0, 0, 0, 0, 16, 14, 28],
"ct": [6, 8, 7, 13, 5, 29, 29, 12],
"result": "valid"
},
{
"tcId": 2086,
"comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "94cc81f0231fbf3cfb08b88d",
"msg": [0, 0, 0, 1, 0, 16, 14, 28],
"ct": [5, 14, 30, 10, 1, 8, 30, 17],
"result": "valid"
},
{
"tcId": 2087,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "94cc81f0231fbf3cfb08b88d",
"msg": [16, 0, 0, 0, 0, 16, 14, 28],
"ct": [15, 15, 2, 30, 14, 14, 14, 28],
"result": "valid"
},
{
"tcId": 2088,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a",
"tweak": "94cc81f0231fbf3cfb08b88d",
"msg": [31, 31, 31, 31, 0, 16, 14, 28],
"ct": [7, 21, 4, 18, 14, 17, 21, 4],
"result": "valid"
},
{
"tcId": 2089,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882",
"tweak": "55d9bf63cd98d552",
"msg": [-1, 9, 0, 19, 4, 14, 29, 11],
"ct": [6, 7, 0, 4, 14, 2, 1, 13],
"result": "invalid"
},
{
"tcId": 2090,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882",
"tweak": "55d9bf63cd98d552",
"msg": [21, 9, -1, 19, 4, 14, 29, 11],
"ct": [28, 21, 25, 1, 17, 20, 13, 27],
"result": "invalid"
},
{
"tcId": 2091,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882",
"tweak": "55d9bf63cd98d552",
"msg": [21, 9, 0, 19, 4, 14, 29, -1],
"ct": [4, 1, 6, 20, 17, 30, 16, 29],
"result": "invalid"
},
{
"tcId": 2092,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1990051da0cc5405381a39b3e86cfb001f34982dabc55e020a35ef5a7486d0c8",
"tweak": "d3ad4a3c98c99863",
"msg": [32, 12, 7, 19, 27, 9, 7, 1],
"ct": [22, 23, 6, 4, 22, 23, 10, 17],
"result": "invalid"
},
{
"tcId": 2093,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1990051da0cc5405381a39b3e86cfb001f34982dabc55e020a35ef5a7486d0c8",
"tweak": "d3ad4a3c98c99863",
"msg": [26, 12, 32, 19, 27, 9, 7, 1],
"ct": [28, 19, 4, 5, 21, 26, 7, 27],
"result": "invalid"
},
{
"tcId": 2094,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1990051da0cc5405381a39b3e86cfb001f34982dabc55e020a35ef5a7486d0c8",
"tweak": "d3ad4a3c98c99863",
"msg": [26, 12, 7, 19, 27, 9, 7, 32],
"ct": [2, 19, 22, 8, 18, 19, 14, 12],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 9,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2095,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "f44f1e998316e5fe6f5c6f8d89919428d692d931130409c41ba4955dfc4c8c14",
"tweak": "387c0277bb97fa8e",
"msg": [23, 29, 12, 26, 26, 18, 7, 2, 4],
"ct": [3, 10, 9, 17, 9, 21, 27, 5, 26],
"result": "valid"
},
{
"tcId": 2096,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 17, 27, 15, 16, 27, 25, 10, 28],
"result": "valid"
},
{
"tcId": 2097,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [29, 22, 26, 22, 10, 25, 31, 31, 2],
"result": "valid"
},
{
"tcId": 2098,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [16, 0, 0, 0, 16, 0, 0, 0, 0],
"ct": [25, 18, 29, 15, 0, 8, 26, 16, 29],
"result": "valid"
},
{
"tcId": 2099,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [15, 31, 31, 31, 15, 31, 31, 31, 31],
"ct": [17, 12, 9, 20, 24, 18, 28, 26, 18],
"result": "valid"
},
{
"tcId": 2100,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [24, 5, 5, 10, 10, 5, 23, 3, 27],
"ct": [15, 7, 8, 20, 0, 13, 20, 29, 17],
"result": "valid"
},
{
"tcId": 2101,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [9, 25, 15, 15, 14, 31, 2, 24, 15],
"ct": [3, 11, 14, 15, 29, 5, 30, 10, 12],
"result": "valid"
},
{
"tcId": 2102,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [7, 0, 8, 31, 20, 8, 11, 5, 9],
"ct": [17, 29, 27, 24, 13, 6, 0, 22, 11],
"result": "valid"
},
{
"tcId": 2103,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [24, 25, 27, 9, 9, 21, 23, 24, 18],
"ct": [15, 4, 30, 5, 23, 5, 21, 30, 2],
"result": "valid"
},
{
"tcId": 2104,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [4, 5, 8, 29, 1, 5, 1, 20, 20],
"ct": [24, 29, 11, 20, 20, 6, 18, 17, 19],
"result": "valid"
},
{
"tcId": 2105,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [0, 8, 5, 30, 27, 3, 18, 14, 7],
"ct": [7, 18, 29, 0, 12, 21, 0, 13, 8],
"result": "valid"
},
{
"tcId": 2106,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [0, 19, 5, 17, 17, 10, 18, 27, 25],
"ct": [16, 4, 25, 2, 6, 23, 7, 22, 21],
"result": "valid"
},
{
"tcId": 2107,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [21, 8, 18, 26, 29, 11, 30, 0, 19],
"ct": [30, 26, 28, 15, 23, 2, 28, 6, 4],
"result": "valid"
},
{
"tcId": 2108,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [29, 5, 12, 12, 12, 9, 6, 23, 14],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2109,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [15, 2, 25, 8, 10, 13, 22, 7, 24],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2110,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [15, 4, 5, 17, 27, 28, 1, 27, 31],
"ct": [16, 0, 0, 0, 16, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2111,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119",
"tweak": "0f79bdd51e894679",
"msg": [30, 14, 23, 10, 10, 15, 4, 20, 23],
"ct": [15, 31, 31, 31, 15, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2112,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0",
"tweak": "5aa849326a17e15a",
"msg": [-1, 14, 19, 16, 17, 12, 4, 17, 8],
"ct": [28, 31, 6, 13, 4, 13, 6, 7, 3],
"result": "invalid"
},
{
"tcId": 2113,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0",
"tweak": "5aa849326a17e15a",
"msg": [25, 14, 19, -1, 17, 12, 4, 17, 8],
"ct": [10, 8, 8, 28, 10, 17, 17, 26, 0],
"result": "invalid"
},
{
"tcId": 2114,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0",
"tweak": "5aa849326a17e15a",
"msg": [25, 14, 19, 16, 17, 12, 4, 17, -1],
"ct": [17, 25, 13, 5, 5, 16, 27, 9, 27],
"result": "invalid"
},
{
"tcId": 2115,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "709c9a67a6b778aa0f7160bc2449d20d54c3261e2acea4a3b773c04a968872b9",
"tweak": "5e770f94dfc19ff5",
"msg": [32, 4, 14, 22, 18, 23, 7, 0, 20],
"ct": [20, 26, 9, 20, 6, 26, 24, 15, 14],
"result": "invalid"
},
{
"tcId": 2116,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "709c9a67a6b778aa0f7160bc2449d20d54c3261e2acea4a3b773c04a968872b9",
"tweak": "5e770f94dfc19ff5",
"msg": [18, 4, 14, 32, 18, 23, 7, 0, 20],
"ct": [14, 3, 26, 22, 26, 25, 23, 24, 29],
"result": "invalid"
},
{
"tcId": 2117,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "709c9a67a6b778aa0f7160bc2449d20d54c3261e2acea4a3b773c04a968872b9",
"tweak": "5e770f94dfc19ff5",
"msg": [18, 4, 14, 22, 18, 23, 7, 0, 32],
"ct": [15, 27, 18, 14, 1, 9, 31, 0, 31],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 10,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2118,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "267c361cd190db6be369183a3b1a71601103f958cd6b791112928244c9402939",
"tweak": "d00249da9e347109",
"msg": [20, 18, 5, 21, 17, 10, 15, 9, 8, 5],
"ct": [17, 11, 29, 19, 24, 21, 2, 28, 31, 19],
"result": "valid"
},
{
"tcId": 2119,
"comment": "minimal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [7, 19, 26, 16, 31, 8, 18, 31, 13, 1],
"result": "valid"
},
{
"tcId": 2120,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [18, 3, 8, 14, 0, 6, 21, 3, 13, 1],
"result": "valid"
},
{
"tcId": 2121,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [16, 0, 0, 0, 0, 16, 0, 0, 0, 0],
"ct": [7, 15, 14, 0, 9, 18, 6, 5, 6, 0],
"result": "valid"
},
{
"tcId": 2122,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [15, 31, 31, 31, 31, 15, 31, 31, 31, 31],
"ct": [26, 7, 3, 2, 31, 9, 31, 27, 7, 25],
"result": "valid"
},
{
"tcId": 2123,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [22, 12, 10, 0, 16, 8, 29, 1, 21, 26],
"ct": [15, 0, 22, 11, 29, 28, 24, 4, 12, 8],
"result": "valid"
},
{
"tcId": 2124,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [22, 25, 1, 24, 15, 30, 19, 24, 7, 1],
"ct": [14, 23, 22, 5, 0, 9, 31, 16, 22, 1],
"result": "valid"
},
{
"tcId": 2125,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [19, 29, 6, 17, 18, 16, 16, 22, 0, 22],
"ct": [1, 13, 21, 6, 27, 20, 5, 26, 5, 27],
"result": "valid"
},
{
"tcId": 2126,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [11, 9, 19, 29, 0, 29, 7, 31, 23, 2],
"ct": [23, 5, 13, 24, 9, 4, 9, 30, 20, 10],
"result": "valid"
},
{
"tcId": 2127,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [14, 11, 12, 13, 9, 2, 14, 5, 21, 31],
"ct": [29, 23, 5, 11, 27, 16, 7, 29, 29, 13],
"result": "valid"
},
{
"tcId": 2128,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [31, 27, 4, 23, 31, 13, 26, 17, 16, 31],
"ct": [17, 1, 17, 25, 28, 0, 17, 20, 7, 20],
"result": "valid"
},
{
"tcId": 2129,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [9, 0, 4, 13, 18, 1, 0, 13, 13, 23],
"ct": [27, 23, 28, 16, 18, 18, 6, 12, 2, 5],
"result": "valid"
},
{
"tcId": 2130,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [20, 5, 17, 14, 1, 23, 23, 1, 30, 4],
"ct": [12, 1, 9, 8, 23, 24, 28, 27, 7, 17],
"result": "valid"
},
{
"tcId": 2131,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [29, 28, 3, 15, 19, 22, 13, 28, 23, 27],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2132,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [30, 31, 0, 31, 4, 6, 17, 25, 1, 4],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2133,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [25, 21, 27, 17, 1, 18, 13, 9, 12, 10],
"ct": [16, 0, 0, 0, 0, 16, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2134,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771",
"tweak": "68801fd1e1ea4d75",
"msg": [23, 10, 31, 5, 18, 31, 30, 2, 24, 27],
"ct": [15, 31, 31, 31, 31, 15, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2135,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "f58d23f9664877c1fff84f",
"msg": [0, 0, 0, 0, 0, 14, 10, 11, 13, 12],
"ct": [29, 8, 27, 11, 24, 5, 10, 16, 12, 16],
"result": "valid"
},
{
"tcId": 2136,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "f58d23f9664877c1fff84f",
"msg": [0, 0, 0, 0, 1, 14, 10, 11, 13, 12],
"ct": [12, 12, 29, 15, 17, 21, 30, 25, 1, 26],
"result": "valid"
},
{
"tcId": 2137,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "f58d23f9664877c1fff84f",
"msg": [16, 0, 0, 0, 0, 14, 10, 11, 13, 12],
"ct": [27, 19, 9, 8, 10, 18, 28, 11, 26, 27],
"result": "valid"
},
{
"tcId": 2138,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd",
"tweak": "f58d23f9664877c1fff84f",
"msg": [31, 31, 31, 31, 31, 14, 10, 11, 13, 12],
"ct": [5, 27, 5, 21, 16, 6, 13, 23, 21, 26],
"result": "valid"
},
{
"tcId": 2139,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8",
"tweak": "aac963be9bb06d9c",
"msg": [-1, 22, 4, 16, 7, 31, 29, 3, 6, 8],
"ct": [29, 19, 14, 20, 4, 13, 19, 10, 3, 11],
"result": "invalid"
},
{
"tcId": 2140,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8",
"tweak": "aac963be9bb06d9c",
"msg": [8, 22, 4, -1, 7, 31, 29, 3, 6, 8],
"ct": [15, 15, 19, 9, 3, 3, 16, 21, 17, 8],
"result": "invalid"
},
{
"tcId": 2141,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8",
"tweak": "aac963be9bb06d9c",
"msg": [8, 22, 4, 16, 7, 31, 29, 3, 6, -1],
"ct": [15, 15, 23, 12, 12, 22, 21, 28, 11, 25],
"result": "invalid"
},
{
"tcId": 2142,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d8d9b85b4127d33569120ca654d955b65dbde887b5d15ff2c93937971a128b39",
"tweak": "eb9c7650e319a809",
"msg": [32, 0, 17, 31, 18, 22, 3, 7, 26, 2],
"ct": [5, 10, 11, 12, 9, 31, 27, 10, 0, 10],
"result": "invalid"
},
{
"tcId": 2143,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d8d9b85b4127d33569120ca654d955b65dbde887b5d15ff2c93937971a128b39",
"tweak": "eb9c7650e319a809",
"msg": [16, 0, 17, 32, 18, 22, 3, 7, 26, 2],
"ct": [26, 16, 25, 22, 9, 16, 6, 17, 24, 28],
"result": "invalid"
},
{
"tcId": 2144,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "d8d9b85b4127d33569120ca654d955b65dbde887b5d15ff2c93937971a128b39",
"tweak": "eb9c7650e319a809",
"msg": [16, 0, 17, 31, 18, 22, 3, 7, 26, 32],
"ct": [17, 25, 12, 26, 6, 13, 19, 23, 14, 16],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 11,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2145,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "a40786c69f8a487744536af3e952b5e4c3c848cf21a994e28fa555d8d1ac9beb",
"tweak": "8782789b84c8fa4a",
"msg": [7, 30, 28, 14, 23, 4, 9, 6, 21, 21, 8],
"ct": [2, 4, 18, 26, 5, 18, 30, 26, 1, 15, 23],
"result": "valid"
},
{
"tcId": 2146,
"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": [28, 18, 11, 22, 27, 17, 14, 13, 12, 11, 2],
"result": "valid"
},
{
"tcId": 2147,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [18, 21, 3, 14, 3, 21, 5, 30, 24, 24, 24],
"result": "valid"
},
{
"tcId": 2148,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [16, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0],
"ct": [9, 2, 25, 29, 28, 18, 28, 21, 29, 24, 21],
"result": "valid"
},
{
"tcId": 2149,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [15, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31],
"ct": [29, 6, 30, 20, 28, 7, 26, 9, 8, 9, 21],
"result": "valid"
},
{
"tcId": 2150,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [2, 15, 13, 9, 18, 10, 16, 14, 26, 14, 4],
"ct": [21, 24, 17, 27, 6, 22, 7, 24, 27, 10, 8],
"result": "valid"
},
{
"tcId": 2151,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [24, 6, 17, 24, 23, 11, 30, 27, 7, 2, 12],
"ct": [14, 20, 15, 3, 10, 24, 8, 24, 11, 20, 5],
"result": "valid"
},
{
"tcId": 2152,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [8, 1, 20, 0, 26, 30, 29, 13, 5, 25, 3],
"ct": [19, 21, 28, 31, 4, 1, 13, 26, 2, 21, 18],
"result": "valid"
},
{
"tcId": 2153,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [29, 19, 31, 5, 13, 2, 29, 11, 7, 24, 3],
"ct": [3, 16, 5, 10, 24, 12, 18, 21, 29, 11, 29],
"result": "valid"
},
{
"tcId": 2154,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [11, 19, 28, 6, 1, 1, 26, 2, 8, 29, 30],
"ct": [31, 2, 3, 10, 15, 31, 10, 20, 29, 15, 6],
"result": "valid"
},
{
"tcId": 2155,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [20, 7, 6, 4, 22, 24, 25, 12, 27, 4, 22],
"ct": [6, 9, 11, 19, 5, 10, 0, 26, 10, 19, 21],
"result": "valid"
},
{
"tcId": 2156,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [0, 13, 7, 7, 14, 25, 14, 14, 29, 8, 30],
"ct": [10, 21, 27, 17, 8, 14, 20, 4, 10, 16, 14],
"result": "valid"
},
{
"tcId": 2157,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [17, 11, 29, 22, 24, 3, 6, 0, 24, 21, 8],
"ct": [4, 29, 30, 31, 18, 1, 17, 11, 7, 19, 1],
"result": "valid"
},
{
"tcId": 2158,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [7, 28, 7, 27, 8, 19, 23, 29, 4, 31, 6],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2159,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [2, 4, 8, 27, 12, 31, 8, 3, 19, 24, 18],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2160,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [25, 7, 1, 6, 7, 13, 15, 15, 5, 22, 8],
"ct": [16, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2161,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d",
"tweak": "b72708737a746e25",
"msg": [26, 29, 25, 17, 13, 24, 22, 24, 0, 5, 10],
"ct": [15, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2162,
"comment": "y = 0 and (y + a) % radix**5 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "56722dfbcbc5d165282126",
"msg": [0, 0, 0, 0, 0, 0, 2, 14, 6, 15, 20],
"ct": [19, 28, 28, 8, 4, 22, 25, 17, 27, 19, 22],
"result": "valid"
},
{
"tcId": 2163,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "56722dfbcbc5d165282126",
"msg": [0, 0, 0, 0, 1, 0, 2, 14, 6, 15, 20],
"ct": [7, 9, 16, 31, 23, 13, 0, 17, 7, 21, 9],
"result": "valid"
},
{
"tcId": 2164,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "56722dfbcbc5d165282126",
"msg": [16, 0, 0, 0, 0, 0, 2, 14, 6, 15, 20],
"ct": [22, 31, 28, 2, 1, 2, 14, 6, 13, 12, 27],
"result": "valid"
},
{
"tcId": 2165,
"comment": "y = 0 and (y + a) % radix**5 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "56722dfbcbc5d165282126",
"msg": [31, 31, 31, 31, 31, 0, 2, 14, 6, 15, 20],
"ct": [8, 30, 23, 24, 25, 22, 25, 6, 18, 1, 17],
"result": "valid"
},
{
"tcId": 2166,
"comment": "y = 1 and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "4f33dc1282769a96831e3b",
"msg": [0, 0, 0, 0, 0, 24, 26, 27, 9, 17, 17],
"ct": [18, 27, 12, 15, 29, 7, 25, 19, 28, 27, 6],
"result": "valid"
},
{
"tcId": 2167,
"comment": "y = 1 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "4f33dc1282769a96831e3b",
"msg": [0, 0, 0, 0, 1, 24, 26, 27, 9, 17, 17],
"ct": [11, 7, 14, 6, 28, 28, 18, 22, 22, 3, 30],
"result": "valid"
},
{
"tcId": 2168,
"comment": "y = 1 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "4f33dc1282769a96831e3b",
"msg": [16, 0, 0, 0, 0, 24, 26, 27, 9, 17, 17],
"ct": [23, 21, 2, 0, 3, 19, 13, 3, 30, 8, 7],
"result": "valid"
},
{
"tcId": 2169,
"comment": "y = 1 and (y + a) % radix**5 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "4f33dc1282769a96831e3b",
"msg": [31, 31, 31, 31, 30, 24, 26, 27, 9, 17, 17],
"ct": [25, 9, 8, 8, 20, 16, 18, 8, 10, 24, 6],
"result": "valid"
},
{
"tcId": 2170,
"comment": "y = 1 and (y + a) % radix**5 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "4f33dc1282769a96831e3b",
"msg": [31, 31, 31, 31, 31, 24, 26, 27, 9, 17, 17],
"ct": [4, 24, 21, 20, 28, 14, 19, 21, 15, 8, 30],
"result": "valid"
},
{
"tcId": 2171,
"comment": "y is maximal and (y + a) % radix**5 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "69ed5bb8739c6a732a0f99",
"msg": [10, 25, 31, 11, 21, 5, 9, 0, 17, 2, 26],
"ct": [17, 23, 17, 16, 29, 0, 10, 9, 11, 21, 2],
"result": "valid"
},
{
"tcId": 2172,
"comment": "y is maximal and (y + a) % radix**5 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "69ed5bb8739c6a732a0f99",
"msg": [4, 9, 30, 28, 15, 29, 30, 31, 15, 9, 12],
"ct": [29, 4, 28, 13, 14, 31, 3, 30, 7, 11, 19],
"result": "valid"
},
{
"tcId": 2173,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "69ed5bb8739c6a732a0f99",
"msg": [7, 25, 19, 30, 25, 27, 6, 6, 17, 20, 3],
"ct": [14, 31, 9, 27, 29, 8, 22, 27, 24, 24, 23],
"result": "valid"
},
{
"tcId": 2174,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "69ed5bb8739c6a732a0f99",
"msg": [20, 4, 24, 31, 14, 15, 4, 27, 21, 4, 8],
"ct": [12, 5, 12, 20, 18, 8, 18, 13, 12, 7, 6],
"result": "valid"
},
{
"tcId": 2175,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "a56e40d5995f40b23e66f3",
"msg": [27, 29, 29, 31, 16, 25, 21, 1, 22, 9, 9],
"ct": [29, 15, 11, 23, 22, 1, 21, 26, 9, 9, 13],
"result": "valid"
},
{
"tcId": 2176,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "a56e40d5995f40b23e66f3",
"msg": [22, 14, 11, 14, 4, 5, 6, 17, 20, 19, 4],
"ct": [21, 12, 12, 0, 7, 2, 30, 21, 8, 17, 0],
"result": "valid"
},
{
"tcId": 2177,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "a56e40d5995f40b23e66f3",
"msg": [8, 2, 10, 6, 20, 8, 19, 18, 11, 10, 23],
"ct": [9, 0, 5, 18, 15, 22, 0, 1, 24, 17, 6],
"result": "valid"
},
{
"tcId": 2178,
"comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "a56e40d5995f40b23e66f3",
"msg": [15, 19, 23, 21, 28, 12, 12, 26, 22, 15, 4],
"ct": [25, 0, 20, 29, 22, 25, 18, 31, 12, 23, 7],
"result": "valid"
},
{
"tcId": 2179,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "a56e40d5995f40b23e66f3",
"msg": [3, 10, 22, 8, 10, 19, 16, 22, 15, 18, 1],
"ct": [29, 23, 24, 20, 26, 5, 27, 26, 17, 2, 1],
"result": "valid"
},
{
"tcId": 2180,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "a56e40d5995f40b23e66f3",
"msg": [29, 25, 26, 18, 23, 15, 13, 30, 1, 8, 14],
"ct": [22, 31, 5, 5, 28, 1, 11, 15, 6, 10, 21],
"result": "valid"
},
{
"tcId": 2181,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "3ec07e22134966ac3c43dc",
"msg": [12, 25, 15, 19, 6, 20, 30, 5, 18, 2, 5],
"ct": [5, 2, 26, 13, 20, 10, 8, 21, 22, 15, 24],
"result": "valid"
},
{
"tcId": 2182,
"comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "3ec07e22134966ac3c43dc",
"msg": [8, 20, 27, 15, 21, 11, 3, 22, 22, 1, 3],
"ct": [31, 8, 5, 0, 16, 18, 31, 22, 13, 10, 7],
"result": "valid"
},
{
"tcId": 2183,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "3ec07e22134966ac3c43dc",
"msg": [29, 17, 10, 21, 17, 26, 17, 11, 16, 27, 20],
"ct": [21, 9, 6, 6, 25, 6, 28, 17, 7, 4, 6],
"result": "valid"
},
{
"tcId": 2184,
"comment": "y is maximal after modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d",
"tweak": "3ec07e22134966ac3c43dc",
"msg": [15, 27, 5, 29, 1, 24, 1, 27, 21, 2, 28],
"ct": [24, 4, 1, 8, 2, 23, 22, 20, 26, 22, 30],
"result": "valid"
},
{
"tcId": 2185,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab",
"tweak": "788f47262b8e7b97",
"msg": [-1, 8, 15, 0, 6, 0, 13, 30, 18, 22, 25],
"ct": [7, 6, 21, 15, 11, 13, 24, 25, 30, 17, 30],
"result": "invalid"
},
{
"tcId": 2186,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab",
"tweak": "788f47262b8e7b97",
"msg": [26, 8, 15, -1, 6, 0, 13, 30, 18, 22, 25],
"ct": [10, 20, 2, 27, 7, 10, 19, 6, 27, 20, 26],
"result": "invalid"
},
{
"tcId": 2187,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab",
"tweak": "788f47262b8e7b97",
"msg": [26, 8, 15, 0, 6, 0, 13, 30, 18, 22, -1],
"ct": [22, 29, 17, 28, 18, 29, 26, 4, 4, 22, 23],
"result": "invalid"
},
{
"tcId": 2188,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "85d3e9c1797034583b3c78df29e004a1e4050273a69c41ae34f2c3ad6460c37d",
"tweak": "cf0a5a6c8a064818",
"msg": [32, 9, 19, 8, 1, 5, 27, 18, 23, 15, 22],
"ct": [6, 11, 31, 25, 6, 21, 28, 4, 28, 16, 4],
"result": "invalid"
},
{
"tcId": 2189,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "85d3e9c1797034583b3c78df29e004a1e4050273a69c41ae34f2c3ad6460c37d",
"tweak": "cf0a5a6c8a064818",
"msg": [15, 9, 19, 32, 1, 5, 27, 18, 23, 15, 22],
"ct": [17, 31, 24, 4, 15, 12, 5, 12, 19, 1, 8],
"result": "invalid"
},
{
"tcId": 2190,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "85d3e9c1797034583b3c78df29e004a1e4050273a69c41ae34f2c3ad6460c37d",
"tweak": "cf0a5a6c8a064818",
"msg": [15, 9, 19, 8, 1, 5, 27, 18, 23, 15, 32],
"ct": [0, 5, 15, 19, 7, 20, 31, 8, 24, 12, 12],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 12,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2191,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "2e94a84c78be80cd598366058d4f6cdf8095666dcac7a00ad832d9f33e20d13c",
"tweak": "415e0101a302aaa6",
"msg": [31, 20, 31, 25, 20, 20, 1, 23, 11, 18, 10, 29],
"ct": [0, 28, 27, 25, 28, 13, 17, 12, 4, 21, 21, 1],
"result": "valid"
},
{
"tcId": 2192,
"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": [13, 16, 3, 18, 22, 14, 30, 9, 10, 22, 30, 14],
"result": "valid"
},
{
"tcId": 2193,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [3, 2, 2, 16, 29, 15, 11, 16, 29, 19, 16, 4],
"result": "valid"
},
{
"tcId": 2194,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [16, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0],
"ct": [6, 28, 12, 4, 8, 22, 29, 28, 9, 30, 24, 8],
"result": "valid"
},
{
"tcId": 2195,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [15, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31],
"ct": [29, 24, 16, 21, 30, 12, 26, 9, 1, 3, 11, 28],
"result": "valid"
},
{
"tcId": 2196,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [3, 7, 0, 19, 15, 11, 25, 2, 3, 22, 5, 7],
"ct": [0, 6, 2, 21, 24, 2, 26, 30, 30, 20, 3, 20],
"result": "valid"
},
{
"tcId": 2197,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [16, 12, 23, 5, 14, 11, 9, 23, 17, 1, 18, 6],
"ct": [6, 8, 26, 9, 10, 12, 22, 5, 28, 13, 4, 10],
"result": "valid"
},
{
"tcId": 2198,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [4, 16, 9, 16, 23, 20, 0, 10, 12, 25, 29, 30],
"ct": [14, 14, 27, 6, 30, 20, 13, 3, 8, 12, 1, 31],
"result": "valid"
},
{
"tcId": 2199,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [9, 0, 28, 4, 10, 4, 22, 30, 23, 7, 19, 10],
"ct": [1, 4, 19, 29, 11, 9, 14, 6, 15, 17, 12, 3],
"result": "valid"
},
{
"tcId": 2200,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [22, 5, 19, 31, 16, 14, 11, 19, 22, 20, 22, 12],
"ct": [31, 2, 20, 18, 2, 9, 21, 15, 31, 27, 8, 30],
"result": "valid"
},
{
"tcId": 2201,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [20, 5, 9, 18, 2, 14, 25, 7, 27, 7, 24, 20],
"ct": [21, 19, 24, 11, 29, 31, 20, 0, 13, 20, 17, 14],
"result": "valid"
},
{
"tcId": 2202,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [10, 27, 19, 21, 27, 0, 31, 27, 28, 19, 8, 26],
"ct": [12, 5, 14, 25, 29, 8, 21, 25, 7, 14, 25, 20],
"result": "valid"
},
{
"tcId": 2203,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [14, 23, 31, 13, 18, 28, 30, 0, 15, 13, 2, 9],
"ct": [13, 29, 25, 12, 15, 21, 16, 22, 18, 27, 30, 8],
"result": "valid"
},
{
"tcId": 2204,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [31, 13, 9, 20, 23, 17, 8, 0, 25, 9, 31, 7],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2205,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [13, 1, 19, 6, 22, 4, 28, 1, 27, 6, 26, 25],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2206,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [14, 23, 26, 15, 23, 29, 24, 25, 14, 10, 9, 19],
"ct": [16, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2207,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65",
"tweak": "b44b719ef00f7276",
"msg": [20, 14, 26, 16, 23, 14, 26, 15, 28, 13, 15, 6],
"ct": [15, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2208,
"comment": "y = 0 and (y + a) % radix**6 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "94bb74cf5741cc06eb8a1d",
"msg": [30, 27, 23, 9, 9, 15, 0, 0, 0, 0, 0, 0],
"ct": [15, 15, 29, 1, 11, 23, 8, 24, 7, 23, 20, 28],
"result": "valid"
},
{
"tcId": 2209,
"comment": "y = 0 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "94bb74cf5741cc06eb8a1d",
"msg": [21, 7, 3, 2, 0, 17, 0, 0, 0, 0, 0, 1],
"ct": [18, 1, 21, 23, 4, 17, 26, 4, 26, 6, 2, 17],
"result": "valid"
},
{
"tcId": 2210,
"comment": "y = 0 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "94bb74cf5741cc06eb8a1d",
"msg": [14, 28, 15, 18, 20, 29, 16, 0, 0, 0, 0, 0],
"ct": [4, 31, 25, 1, 7, 15, 2, 5, 16, 4, 14, 12],
"result": "valid"
},
{
"tcId": 2211,
"comment": "y = 0 and (y + a) % radix**6 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "94bb74cf5741cc06eb8a1d",
"msg": [26, 20, 17, 0, 21, 29, 31, 31, 31, 31, 31, 31],
"ct": [6, 3, 4, 25, 17, 1, 3, 30, 28, 17, 30, 9],
"result": "valid"
},
{
"tcId": 2212,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "57fedb46b03bf9c6763144",
"msg": [26, 6, 23, 18, 7, 3, 7, 22, 27, 28, 3, 24],
"ct": [15, 25, 4, 17, 9, 16, 27, 26, 13, 20, 17, 10],
"result": "valid"
},
{
"tcId": 2213,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "57fedb46b03bf9c6763144",
"msg": [13, 15, 10, 1, 11, 15, 4, 28, 9, 29, 20, 16],
"ct": [6, 30, 4, 23, 24, 3, 2, 31, 10, 10, 3, 10],
"result": "valid"
},
{
"tcId": 2214,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "57fedb46b03bf9c6763144",
"msg": [16, 16, 14, 30, 21, 7, 9, 26, 4, 26, 31, 29],
"ct": [4, 10, 8, 15, 2, 15, 3, 29, 2, 26, 27, 22],
"result": "valid"
},
{
"tcId": 2215,
"comment": "y = 1 and (y + a) % radix**6 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "57fedb46b03bf9c6763144",
"msg": [8, 10, 24, 8, 26, 0, 1, 26, 3, 3, 9, 1],
"ct": [15, 20, 7, 17, 2, 27, 27, 22, 23, 6, 2, 30],
"result": "valid"
},
{
"tcId": 2216,
"comment": "y = 1 and (y + a) % radix**6 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "57fedb46b03bf9c6763144",
"msg": [16, 18, 7, 25, 21, 27, 19, 10, 31, 31, 8, 17],
"ct": [25, 17, 28, 12, 19, 2, 4, 24, 4, 28, 25, 11],
"result": "valid"
},
{
"tcId": 2217,
"comment": "y is maximal and (y + a) % radix**6 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "a575e521da43095911acfb",
"msg": [2, 17, 31, 9, 18, 22, 8, 5, 26, 2, 15, 15],
"ct": [28, 6, 26, 3, 27, 10, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2218,
"comment": "y is maximal and (y + a) % radix**6 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "a575e521da43095911acfb",
"msg": [21, 16, 28, 7, 24, 14, 10, 14, 27, 5, 3, 3],
"ct": [28, 6, 26, 3, 27, 10, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2219,
"comment": "y is maximal and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "a575e521da43095911acfb",
"msg": [16, 21, 0, 21, 23, 14, 10, 13, 11, 26, 20, 19],
"ct": [28, 6, 26, 3, 27, 10, 15, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2220,
"comment": "y is maximal and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "a575e521da43095911acfb",
"msg": [12, 9, 30, 0, 14, 22, 18, 3, 25, 22, 17, 7],
"ct": [28, 6, 26, 3, 27, 10, 31, 31, 31, 31, 31, 30],
"result": "valid"
},
{
"tcId": 2221,
"comment": "y is edge case for modular reduction and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "9a594076759387f155ca25",
"msg": [0, 30, 29, 11, 29, 30, 0, 0, 0, 0, 0, 0],
"ct": [23, 12, 19, 2, 5, 5, 25, 19, 27, 18, 14, 13],
"result": "valid"
},
{
"tcId": 2222,
"comment": "y is edge case for modular reduction and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "9a594076759387f155ca25",
"msg": [18, 15, 7, 26, 4, 24, 0, 0, 0, 0, 0, 1],
"ct": [23, 14, 2, 25, 20, 13, 12, 17, 5, 8, 1, 4],
"result": "valid"
},
{
"tcId": 2223,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "9a594076759387f155ca25",
"msg": [5, 20, 30, 12, 17, 27, 0, 0, 0, 0, 0, 31],
"ct": [19, 23, 6, 12, 2, 5, 19, 5, 17, 25, 18, 7],
"result": "valid"
},
{
"tcId": 2224,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "9a594076759387f155ca25",
"msg": [1, 1, 17, 18, 27, 30, 0, 0, 0, 0, 1, 0],
"ct": [7, 28, 11, 7, 26, 16, 14, 25, 18, 21, 2, 15],
"result": "valid"
},
{
"tcId": 2225,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "9a594076759387f155ca25",
"msg": [12, 22, 18, 28, 23, 19, 16, 0, 0, 0, 0, 0],
"ct": [16, 6, 8, 21, 15, 4, 18, 26, 16, 4, 15, 29],
"result": "valid"
},
{
"tcId": 2226,
"comment": "y is edge case for modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "9a594076759387f155ca25",
"msg": [14, 4, 17, 16, 20, 10, 31, 31, 31, 31, 31, 31],
"ct": [12, 8, 7, 28, 31, 15, 27, 5, 6, 24, 20, 22],
"result": "valid"
},
{
"tcId": 2227,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "5b43f977fcf826196d3a6b",
"msg": [13, 31, 13, 2, 6, 11, 2, 6, 4, 12, 3, 28],
"ct": [12, 29, 21, 20, 3, 29, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2228,
"comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "5b43f977fcf826196d3a6b",
"msg": [2, 0, 22, 9, 8, 9, 6, 0, 28, 16, 26, 14],
"ct": [12, 29, 21, 20, 3, 29, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2229,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "5b43f977fcf826196d3a6b",
"msg": [16, 26, 13, 2, 14, 8, 5, 23, 4, 8, 2, 21],
"ct": [12, 29, 21, 20, 3, 29, 15, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2230,
"comment": "y is maximal after modular reduction and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388",
"tweak": "5b43f977fcf826196d3a6b",
"msg": [28, 20, 0, 6, 29, 26, 1, 16, 0, 17, 24, 0],
"ct": [12, 29, 21, 20, 3, 29, 31, 31, 31, 31, 31, 30],
"result": "valid"
},
{
"tcId": 2231,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3",
"tweak": "17f2087530ca7e57",
"msg": [-1, 22, 29, 25, 31, 15, 12, 6, 21, 2, 15, 0],
"ct": [9, 26, 24, 28, 25, 8, 1, 30, 6, 18, 15, 7],
"result": "invalid"
},
{
"tcId": 2232,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3",
"tweak": "17f2087530ca7e57",
"msg": [29, 22, 29, 25, -1, 15, 12, 6, 21, 2, 15, 0],
"ct": [25, 16, 11, 4, 20, 25, 26, 22, 2, 11, 4, 25],
"result": "invalid"
},
{
"tcId": 2233,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3",
"tweak": "17f2087530ca7e57",
"msg": [29, 22, 29, 25, 31, 15, 12, 6, 21, 2, 15, -1],
"ct": [28, 15, 25, 12, 3, 24, 25, 15, 10, 14, 12, 5],
"result": "invalid"
},
{
"tcId": 2234,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fb048d40c96373634ca7549609d98f6360b111bdceec741269a35b37bba595ba",
"tweak": "683bb3c3bcc210d5",
"msg": [32, 5, 23, 10, 31, 21, 4, 28, 10, 22, 20, 13],
"ct": [31, 21, 18, 30, 31, 22, 2, 13, 6, 28, 11, 4],
"result": "invalid"
},
{
"tcId": 2235,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fb048d40c96373634ca7549609d98f6360b111bdceec741269a35b37bba595ba",
"tweak": "683bb3c3bcc210d5",
"msg": [30, 5, 23, 10, 32, 21, 4, 28, 10, 22, 20, 13],
"ct": [26, 10, 9, 30, 27, 31, 8, 1, 14, 28, 5, 23],
"result": "invalid"
},
{
"tcId": 2236,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "fb048d40c96373634ca7549609d98f6360b111bdceec741269a35b37bba595ba",
"tweak": "683bb3c3bcc210d5",
"msg": [30, 5, 23, 10, 31, 21, 4, 28, 10, 22, 20, 32],
"ct": [9, 17, 27, 6, 4, 19, 2, 16, 13, 0, 3, 19],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 13,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2237,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "82685c3a0cab8a3c5777c43196c7f9eb6d1cbc31f79de68bc23a066b6d9d2053",
"tweak": "3fd780e554341138",
"msg": [12, 28, 6, 20, 31, 19, 14, 20, 24, 14, 20, 31, 24],
"ct": [2, 21, 31, 11, 0, 24, 29, 30, 25, 8, 13, 14, 26],
"result": "valid"
},
{
"tcId": 2238,
"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": [4, 6, 22, 12, 3, 14, 8, 7, 4, 17, 22, 15, 0],
"result": "valid"
},
{
"tcId": 2239,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [11, 2, 8, 13, 18, 6, 28, 20, 17, 29, 14, 9, 23],
"result": "valid"
},
{
"tcId": 2240,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [16, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0],
"ct": [3, 19, 22, 2, 29, 29, 6, 22, 9, 26, 28, 25, 11],
"result": "valid"
},
{
"tcId": 2241,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [15, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31],
"ct": [13, 3, 29, 3, 10, 31, 7, 6, 12, 5, 1, 31, 10],
"result": "valid"
},
{
"tcId": 2242,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [2, 23, 18, 11, 13, 26, 10, 24, 13, 24, 25, 16, 16],
"ct": [0, 22, 3, 29, 5, 11, 28, 31, 0, 5, 28, 24, 26],
"result": "valid"
},
{
"tcId": 2243,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [6, 18, 28, 4, 1, 13, 10, 6, 9, 29, 23, 10, 16],
"ct": [11, 2, 15, 30, 15, 12, 5, 2, 23, 8, 7, 25, 19],
"result": "valid"
},
{
"tcId": 2244,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [8, 11, 20, 7, 26, 29, 1, 13, 16, 0, 27, 14, 12],
"ct": [9, 27, 5, 22, 26, 16, 31, 6, 16, 7, 16, 8, 20],
"result": "valid"
},
{
"tcId": 2245,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [28, 11, 12, 2, 3, 31, 18, 27, 30, 10, 11, 30, 27],
"ct": [9, 0, 1, 30, 14, 22, 0, 19, 29, 31, 2, 23, 26],
"result": "valid"
},
{
"tcId": 2246,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [29, 6, 0, 15, 25, 10, 26, 3, 5, 1, 9, 17, 9],
"ct": [8, 8, 3, 0, 23, 1, 20, 28, 10, 20, 14, 13, 18],
"result": "valid"
},
{
"tcId": 2247,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [11, 4, 27, 0, 19, 20, 27, 30, 2, 22, 10, 18, 7],
"ct": [3, 15, 13, 20, 14, 27, 28, 26, 16, 11, 0, 1, 10],
"result": "valid"
},
{
"tcId": 2248,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [13, 6, 29, 22, 14, 17, 27, 1, 27, 11, 16, 7, 24],
"ct": [10, 12, 7, 2, 2, 5, 9, 27, 28, 12, 10, 10, 7],
"result": "valid"
},
{
"tcId": 2249,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [12, 24, 29, 15, 23, 24, 10, 1, 2, 29, 18, 0, 5],
"ct": [26, 2, 21, 22, 24, 8, 3, 19, 28, 21, 13, 0, 26],
"result": "valid"
},
{
"tcId": 2250,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [4, 19, 7, 13, 6, 12, 21, 8, 19, 12, 22, 3, 19],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2251,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [10, 23, 30, 6, 31, 0, 22, 23, 18, 28, 23, 6, 14],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2252,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [21, 24, 3, 11, 6, 23, 22, 13, 0, 29, 20, 30, 20],
"ct": [16, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2253,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554",
"tweak": "d5479b1a88388aa8",
"msg": [28, 31, 3, 19, 28, 15, 29, 11, 6, 2, 7, 0, 18],
"ct": [15, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2254,
"comment": "y = 0 and (y + a) % radix**6 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "fb155638eb965a5ccdef",
"msg": [0, 0, 0, 0, 0, 0, 6, 3, 16, 2, 5, 24, 15],
"ct": [12, 25, 26, 7, 24, 29, 5, 28, 5, 7, 28, 11, 20],
"result": "valid"
},
{
"tcId": 2255,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "fb155638eb965a5ccdef",
"msg": [0, 0, 0, 0, 0, 1, 6, 3, 16, 2, 5, 24, 15],
"ct": [11, 1, 29, 7, 19, 18, 25, 9, 24, 17, 28, 17, 4],
"result": "valid"
},
{
"tcId": 2256,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "fb155638eb965a5ccdef",
"msg": [16, 0, 0, 0, 0, 0, 6, 3, 16, 2, 5, 24, 15],
"ct": [30, 6, 30, 14, 21, 7, 26, 12, 22, 1, 10, 29, 9],
"result": "valid"
},
{
"tcId": 2257,
"comment": "y = 0 and (y + a) % radix**6 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "fb155638eb965a5ccdef",
"msg": [31, 31, 31, 31, 31, 31, 6, 3, 16, 2, 5, 24, 15],
"ct": [23, 12, 25, 6, 10, 13, 0, 3, 1, 17, 31, 8, 8],
"result": "valid"
},
{
"tcId": 2258,
"comment": "y = 1 and a = 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "c7e67480816a03b700a5",
"msg": [19, 6, 19, 24, 21, 15, 20, 3, 16, 15, 0, 23, 15],
"ct": [0, 18, 4, 16, 23, 31, 18, 28, 10, 22, 5, 11, 0],
"result": "valid"
},
{
"tcId": 2259,
"comment": "y = 1 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "c7e67480816a03b700a5",
"msg": [25, 13, 25, 31, 29, 7, 10, 11, 15, 25, 6, 2, 13],
"ct": [28, 29, 29, 16, 26, 4, 19, 24, 6, 2, 5, 21, 28],
"result": "valid"
},
{
"tcId": 2260,
"comment": "y = 1 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "c7e67480816a03b700a5",
"msg": [31, 23, 5, 13, 29, 13, 23, 22, 30, 17, 9, 12, 29],
"ct": [20, 10, 6, 9, 25, 9, 10, 28, 23, 3, 24, 2, 31],
"result": "valid"
},
{
"tcId": 2261,
"comment": "y = 1 and (y + a) % radix**7 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "c7e67480816a03b700a5",
"msg": [17, 1, 21, 0, 18, 5, 7, 23, 5, 24, 2, 4, 18],
"ct": [20, 3, 11, 18, 17, 5, 26, 15, 1, 6, 18, 17, 18],
"result": "valid"
},
{
"tcId": 2262,
"comment": "y = 1 and (y + a) % radix**7 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "c7e67480816a03b700a5",
"msg": [6, 17, 17, 8, 14, 30, 10, 16, 13, 27, 25, 0, 15],
"ct": [14, 30, 29, 8, 5, 15, 5, 28, 12, 25, 16, 13, 20],
"result": "valid"
},
{
"tcId": 2263,
"comment": "y is maximal and (y + a) % radix**6 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "6493d6693f87971ce009",
"msg": [0, 0, 0, 0, 0, 0, 21, 21, 3, 20, 25, 13, 3],
"ct": [27, 31, 11, 29, 10, 10, 31, 8, 25, 20, 5, 15, 11],
"result": "valid"
},
{
"tcId": 2264,
"comment": "y is maximal and (y + a) % radix**6 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "6493d6693f87971ce009",
"msg": [0, 0, 0, 0, 0, 1, 21, 21, 3, 20, 25, 13, 3],
"ct": [29, 24, 6, 31, 24, 1, 21, 0, 2, 22, 2, 3, 30],
"result": "valid"
},
{
"tcId": 2265,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "6493d6693f87971ce009",
"msg": [16, 0, 0, 0, 0, 0, 21, 21, 3, 20, 25, 13, 3],
"ct": [23, 5, 5, 31, 24, 15, 18, 4, 29, 1, 0, 28, 31],
"result": "valid"
},
{
"tcId": 2266,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "6493d6693f87971ce009",
"msg": [31, 31, 31, 31, 31, 31, 21, 21, 3, 20, 25, 13, 3],
"ct": [24, 17, 19, 4, 2, 7, 8, 23, 29, 8, 19, 9, 27],
"result": "valid"
},
{
"tcId": 2267,
"comment": "y is edge case for modular reduction and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "43778229df28db10b377",
"msg": [17, 21, 10, 16, 3, 19, 2, 3, 4, 21, 14, 9, 31],
"ct": [16, 21, 27, 4, 31, 11, 31, 8, 20, 30, 8, 22, 4],
"result": "valid"
},
{
"tcId": 2268,
"comment": "y is edge case for modular reduction and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "43778229df28db10b377",
"msg": [8, 4, 28, 12, 10, 29, 0, 31, 18, 30, 30, 14, 29],
"ct": [1, 28, 3, 11, 28, 28, 11, 30, 18, 15, 13, 14, 7],
"result": "valid"
},
{
"tcId": 2269,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "43778229df28db10b377",
"msg": [29, 8, 19, 3, 31, 25, 27, 29, 25, 23, 24, 4, 21],
"ct": [5, 25, 19, 5, 14, 26, 31, 12, 17, 5, 10, 1, 6],
"result": "valid"
},
{
"tcId": 2270,
"comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "43778229df28db10b377",
"msg": [15, 9, 10, 5, 26, 25, 21, 15, 13, 23, 15, 10, 5],
"ct": [18, 12, 20, 10, 20, 5, 25, 21, 21, 22, 25, 0, 17],
"result": "valid"
},
{
"tcId": 2271,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "43778229df28db10b377",
"msg": [29, 11, 15, 23, 16, 24, 16, 26, 14, 9, 3, 13, 28],
"ct": [10, 2, 6, 6, 20, 5, 26, 8, 14, 25, 30, 24, 30],
"result": "valid"
},
{
"tcId": 2272,
"comment": "y is edge case for modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d",
"tweak": "43778229df28db10b377",
"msg": [4, 19, 26, 15, 19, 27, 19, 6, 4, 27, 22, 3, 10],
"ct": [8, 3, 22, 6, 12, 10, 14, 13, 15, 3, 21, 8, 3],
"result": "valid"
},
{
"tcId": 2273,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002",
"tweak": "f39c64c847f175d6",
"msg": [-1, 5, 9, 14, 16, 5, 6, 28, 3, 4, 9, 20, 25],
"ct": [6, 22, 5, 8, 23, 11, 25, 17, 5, 11, 9, 0, 0],
"result": "invalid"
},
{
"tcId": 2274,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002",
"tweak": "f39c64c847f175d6",
"msg": [30, 5, 9, 14, -1, 5, 6, 28, 3, 4, 9, 20, 25],
"ct": [2, 5, 9, 5, 27, 22, 15, 25, 31, 9, 6, 0, 13],
"result": "invalid"
},
{
"tcId": 2275,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002",
"tweak": "f39c64c847f175d6",
"msg": [30, 5, 9, 14, 16, 5, 6, 28, 3, 4, 9, 20, -1],
"ct": [18, 3, 23, 6, 19, 24, 15, 26, 30, 3, 10, 28, 22],
"result": "invalid"
},
{
"tcId": 2276,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a9e9fedaf007597c105384ec8e0d0a54f494cd5c0b095a356c1663eee7014d75",
"tweak": "63ceabc1f8b1a6bd",
"msg": [32, 14, 4, 30, 6, 14, 8, 25, 15, 12, 9, 0, 25],
"ct": [20, 24, 29, 0, 8, 26, 22, 9, 1, 11, 15, 16, 27],
"result": "invalid"
},
{
"tcId": 2277,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a9e9fedaf007597c105384ec8e0d0a54f494cd5c0b095a356c1663eee7014d75",
"tweak": "63ceabc1f8b1a6bd",
"msg": [27, 14, 4, 30, 32, 14, 8, 25, 15, 12, 9, 0, 25],
"ct": [19, 12, 1, 29, 10, 0, 31, 23, 22, 31, 28, 15, 11],
"result": "invalid"
},
{
"tcId": 2278,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "a9e9fedaf007597c105384ec8e0d0a54f494cd5c0b095a356c1663eee7014d75",
"tweak": "63ceabc1f8b1a6bd",
"msg": [27, 14, 4, 30, 6, 14, 8, 25, 15, 12, 9, 0, 32],
"ct": [18, 8, 13, 2, 28, 1, 10, 19, 23, 26, 23, 23, 6],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 14,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2279,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "fdd21f2020d809a2930f3d6c0b2cc23e65e1240eb5e301531aecb8180808393b",
"tweak": "104403ed1d3acccc",
"msg": [11, 31, 15, 9, 19, 21, 11, 12, 26, 11, 30, 18, 6, 21],
"ct": [15, 16, 31, 3, 25, 22, 19, 28, 18, 11, 23, 5, 6, 18],
"result": "valid"
},
{
"tcId": 2280,
"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": [16, 24, 19, 24, 0, 15, 24, 13, 13, 14, 21, 16, 22, 30],
"result": "valid"
},
{
"tcId": 2281,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [0, 0, 14, 20, 29, 20, 17, 14, 16, 21, 13, 15, 22, 26],
"result": "valid"
},
{
"tcId": 2282,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [16, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0],
"ct": [10, 0, 8, 29, 3, 16, 23, 25, 17, 13, 1, 11, 26, 30],
"result": "valid"
},
{
"tcId": 2283,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [15, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31],
"ct": [1, 24, 9, 22, 1, 26, 17, 19, 29, 8, 10, 6, 22, 21],
"result": "valid"
},
{
"tcId": 2284,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [20, 15, 8, 8, 5, 27, 1, 11, 5, 19, 0, 13, 10, 18],
"ct": [21, 2, 29, 19, 12, 19, 15, 17, 2, 9, 10, 3, 23, 21],
"result": "valid"
},
{
"tcId": 2285,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [1, 20, 6, 10, 3, 12, 5, 3, 26, 1, 27, 5, 4, 12],
"ct": [1, 3, 25, 31, 31, 1, 21, 20, 5, 22, 31, 15, 25, 10],
"result": "valid"
},
{
"tcId": 2286,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [14, 12, 23, 29, 18, 13, 6, 23, 10, 1, 15, 13, 12, 21],
"ct": [18, 18, 19, 31, 16, 17, 9, 24, 18, 31, 10, 3, 23, 20],
"result": "valid"
},
{
"tcId": 2287,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [31, 28, 30, 31, 17, 3, 11, 3, 2, 14, 14, 17, 15, 4],
"ct": [28, 23, 15, 12, 21, 27, 10, 0, 27, 28, 25, 4, 22, 1],
"result": "valid"
},
{
"tcId": 2288,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [16, 12, 7, 29, 23, 16, 0, 14, 26, 20, 8, 30, 1, 12],
"ct": [30, 26, 28, 28, 16, 17, 27, 9, 10, 8, 28, 6, 14, 26],
"result": "valid"
},
{
"tcId": 2289,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [17, 16, 6, 19, 29, 10, 30, 15, 6, 22, 27, 7, 29, 22],
"ct": [7, 9, 31, 15, 8, 22, 19, 29, 29, 0, 0, 8, 17, 2],
"result": "valid"
},
{
"tcId": 2290,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [14, 30, 12, 28, 7, 16, 25, 23, 24, 16, 21, 0, 25, 30],
"ct": [1, 29, 12, 0, 27, 21, 5, 22, 0, 29, 21, 30, 25, 6],
"result": "valid"
},
{
"tcId": 2291,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [18, 24, 1, 12, 24, 5, 1, 18, 24, 12, 3, 14, 16, 23],
"ct": [13, 6, 9, 31, 17, 8, 31, 18, 25, 13, 24, 2, 15, 25],
"result": "valid"
},
{
"tcId": 2292,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [20, 24, 17, 7, 4, 24, 20, 9, 4, 28, 24, 18, 28, 17],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2293,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [15, 11, 25, 19, 26, 8, 31, 7, 1, 31, 5, 28, 23, 18],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2294,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [6, 19, 27, 28, 21, 5, 1, 5, 6, 24, 2, 28, 8, 12],
"ct": [16, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2295,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0",
"tweak": "f9993f625da88752",
"msg": [30, 22, 11, 29, 29, 21, 1, 31, 19, 18, 26, 6, 26, 25],
"ct": [15, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2296,
"comment": "y = 0 and (y + a) % radix**7 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "dd5f7392d53c94e3fa51",
"msg": [30, 8, 8, 23, 26, 5, 12, 14, 4, 11, 14, 12, 23, 26],
"ct": [17, 24, 22, 7, 18, 24, 11, 4, 18, 14, 18, 16, 19, 19],
"result": "valid"
},
{
"tcId": 2297,
"comment": "y = 0 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "dd5f7392d53c94e3fa51",
"msg": [0, 14, 15, 30, 29, 14, 10, 3, 29, 19, 20, 29, 5, 1],
"ct": [0, 19, 7, 23, 13, 12, 12, 19, 11, 3, 9, 20, 9, 22],
"result": "valid"
},
{
"tcId": 2298,
"comment": "y = 0 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "dd5f7392d53c94e3fa51",
"msg": [30, 28, 20, 12, 12, 31, 22, 31, 15, 14, 21, 20, 8, 25],
"ct": [19, 6, 29, 20, 7, 12, 11, 25, 5, 31, 21, 10, 26, 26],
"result": "valid"
},
{
"tcId": 2299,
"comment": "y = 0 and (y + a) % radix**7 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "dd5f7392d53c94e3fa51",
"msg": [18, 27, 26, 16, 20, 16, 8, 16, 26, 25, 16, 12, 27, 31],
"ct": [16, 26, 28, 16, 19, 23, 5, 15, 9, 30, 28, 3, 31, 8],
"result": "valid"
},
{
"tcId": 2300,
"comment": "y = 1 and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "46856f99360196422a1d",
"msg": [25, 7, 19, 22, 31, 13, 27, 8, 25, 1, 29, 3, 21, 13],
"ct": [19, 29, 21, 5, 17, 19, 19, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 2301,
"comment": "y = 1 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "46856f99360196422a1d",
"msg": [0, 19, 19, 29, 22, 4, 6, 11, 27, 14, 27, 29, 10, 23],
"ct": [19, 29, 21, 5, 17, 19, 19, 0, 0, 0, 0, 0, 0, 2],
"result": "valid"
},
{
"tcId": 2302,
"comment": "y = 1 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "46856f99360196422a1d",
"msg": [8, 19, 30, 28, 3, 0, 28, 17, 21, 13, 31, 4, 20, 1],
"ct": [19, 29, 21, 5, 17, 19, 19, 16, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 2303,
"comment": "y = 1 and (y + a) % radix**7 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "46856f99360196422a1d",
"msg": [2, 15, 7, 7, 7, 21, 12, 21, 30, 20, 6, 8, 7, 22],
"ct": [19, 29, 21, 5, 17, 19, 19, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2304,
"comment": "y = 1 and (y + a) % radix**7 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "46856f99360196422a1d",
"msg": [26, 13, 9, 5, 31, 30, 17, 16, 21, 15, 14, 0, 15, 21],
"ct": [19, 29, 21, 5, 17, 19, 19, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2305,
"comment": "y is maximal and (y + a) % radix**7 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "35ba4348c5067fa4107f",
"msg": [27, 27, 29, 1, 27, 13, 20, 15, 26, 7, 18, 28, 5, 30],
"ct": [25, 21, 7, 9, 5, 17, 28, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2306,
"comment": "y is maximal and (y + a) % radix**7 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "35ba4348c5067fa4107f",
"msg": [18, 3, 27, 0, 23, 5, 0, 9, 5, 12, 21, 18, 2, 5],
"ct": [25, 21, 7, 9, 5, 17, 28, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2307,
"comment": "y is maximal and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "35ba4348c5067fa4107f",
"msg": [13, 26, 23, 6, 12, 28, 4, 7, 27, 3, 24, 17, 24, 5],
"ct": [25, 21, 7, 9, 5, 17, 28, 15, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2308,
"comment": "y is maximal and a is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "35ba4348c5067fa4107f",
"msg": [19, 5, 26, 16, 8, 6, 26, 3, 12, 27, 29, 30, 1, 8],
"ct": [25, 21, 7, 9, 5, 17, 28, 31, 31, 31, 31, 31, 31, 30],
"result": "valid"
},
{
"tcId": 2309,
"comment": "y is edge case for modular reduction and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "8e82a0089bc46be00973",
"msg": [20, 14, 14, 10, 14, 7, 2, 19, 13, 18, 10, 1, 1, 25],
"ct": [7, 10, 30, 2, 10, 13, 13, 20, 30, 9, 14, 12, 6, 11],
"result": "valid"
},
{
"tcId": 2310,
"comment": "y is edge case for modular reduction and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "8e82a0089bc46be00973",
"msg": [1, 12, 16, 15, 22, 6, 15, 5, 1, 21, 29, 20, 2, 18],
"ct": [2, 4, 25, 1, 17, 2, 7, 8, 8, 18, 21, 28, 8, 4],
"result": "valid"
},
{
"tcId": 2311,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "8e82a0089bc46be00973",
"msg": [4, 12, 2, 10, 9, 31, 13, 20, 9, 16, 10, 9, 1, 3],
"ct": [8, 7, 26, 27, 7, 3, 31, 22, 31, 20, 1, 10, 8, 7],
"result": "valid"
},
{
"tcId": 2312,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "8e82a0089bc46be00973",
"msg": [8, 0, 16, 6, 14, 24, 4, 16, 18, 25, 7, 29, 24, 2],
"ct": [0, 19, 9, 22, 31, 23, 8, 24, 2, 12, 29, 0, 26, 18],
"result": "valid"
},
{
"tcId": 2313,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "8e82a0089bc46be00973",
"msg": [25, 11, 4, 7, 31, 11, 12, 10, 6, 26, 27, 9, 7, 1],
"ct": [11, 19, 10, 29, 20, 31, 28, 11, 13, 24, 2, 6, 26, 1],
"result": "valid"
},
{
"tcId": 2314,
"comment": "y is edge case for modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "8e82a0089bc46be00973",
"msg": [18, 25, 10, 23, 21, 3, 2, 11, 20, 19, 0, 9, 9, 9],
"ct": [4, 24, 2, 22, 9, 19, 4, 9, 30, 1, 15, 21, 15, 13],
"result": "valid"
},
{
"tcId": 2315,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "e6709d037b5915c9e2d5",
"msg": [4, 12, 9, 24, 17, 0, 21, 0, 26, 5, 20, 4, 7, 18],
"ct": [29, 12, 30, 29, 11, 20, 5, 29, 21, 29, 9, 24, 30, 11],
"result": "valid"
},
{
"tcId": 2316,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "e6709d037b5915c9e2d5",
"msg": [1, 15, 6, 25, 7, 25, 29, 15, 19, 23, 23, 0, 18, 14],
"ct": [24, 21, 25, 20, 16, 31, 5, 9, 12, 10, 17, 27, 1, 22],
"result": "valid"
},
{
"tcId": 2317,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "e6709d037b5915c9e2d5",
"msg": [30, 6, 11, 15, 9, 11, 22, 6, 29, 16, 24, 9, 2, 2],
"ct": [0, 0, 30, 5, 17, 8, 19, 2, 13, 20, 30, 10, 4, 25],
"result": "valid"
},
{
"tcId": 2318,
"comment": "y is maximal after modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae",
"tweak": "e6709d037b5915c9e2d5",
"msg": [10, 26, 31, 12, 20, 27, 1, 7, 4, 2, 17, 31, 17, 30],
"ct": [24, 28, 27, 7, 19, 15, 9, 28, 0, 21, 5, 8, 26, 2],
"result": "valid"
},
{
"tcId": 2319,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235",
"tweak": "00f218eb912f6eeb",
"msg": [-1, 25, 28, 14, 24, 19, 1, 21, 21, 26, 31, 30, 14, 22],
"ct": [16, 19, 11, 23, 28, 21, 5, 27, 21, 4, 12, 20, 7, 16],
"result": "invalid"
},
{
"tcId": 2320,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235",
"tweak": "00f218eb912f6eeb",
"msg": [7, 25, 28, 14, -1, 19, 1, 21, 21, 26, 31, 30, 14, 22],
"ct": [15, 23, 1, 22, 6, 11, 21, 8, 17, 1, 20, 31, 15, 2],
"result": "invalid"
},
{
"tcId": 2321,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235",
"tweak": "00f218eb912f6eeb",
"msg": [7, 25, 28, 14, 24, 19, 1, 21, 21, 26, 31, 30, 14, -1],
"ct": [0, 5, 11, 9, 31, 25, 10, 1, 29, 14, 27, 21, 20, 25],
"result": "invalid"
},
{
"tcId": 2322,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "57684cabf87d2345449254862a5afd5c7b28a114a7244524ecb53c9c57cefbe5",
"tweak": "bb64a970b5aba168",
"msg": [32, 12, 14, 10, 30, 28, 26, 31, 13, 18, 7, 14, 3, 16],
"ct": [7, 5, 2, 13, 10, 12, 8, 7, 19, 0, 28, 0, 3, 25],
"result": "invalid"
},
{
"tcId": 2323,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "57684cabf87d2345449254862a5afd5c7b28a114a7244524ecb53c9c57cefbe5",
"tweak": "bb64a970b5aba168",
"msg": [16, 12, 14, 10, 32, 28, 26, 31, 13, 18, 7, 14, 3, 16],
"ct": [23, 13, 4, 10, 23, 12, 9, 22, 18, 16, 9, 17, 13, 26],
"result": "invalid"
},
{
"tcId": 2324,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "57684cabf87d2345449254862a5afd5c7b28a114a7244524ecb53c9c57cefbe5",
"tweak": "bb64a970b5aba168",
"msg": [16, 12, 14, 10, 30, 28, 26, 31, 13, 18, 7, 14, 3, 32],
"ct": [13, 13, 14, 29, 7, 27, 0, 6, 5, 21, 23, 21, 14, 13],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 15,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2325,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "2f9e5c52ea98009130c5c4302ab79c69e9b89a3871ef8b13d04e3cb3ab09d963",
"tweak": "c6eca51b923fbd6f",
"msg": [16, 28, 12, 25, 5, 21, 9, 15, 14, 7, 13, 26, 27, 0, 14],
"ct": [11, 11, 30, 3, 2, 12, 25, 0, 11, 2, 12, 20, 26, 1, 16],
"result": "valid"
},
{
"tcId": 2326,
"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": [20, 1, 22, 11, 1, 20, 14, 11, 25, 19, 13, 29, 14, 26, 22],
"result": "valid"
},
{
"tcId": 2327,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [3, 8, 30, 0, 7, 12, 14, 17, 11, 23, 14, 23, 4, 22, 16],
"result": "valid"
},
{
"tcId": 2328,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [16, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0],
"ct": [18, 12, 20, 9, 29, 13, 12, 28, 18, 4, 3, 24, 2, 2, 7],
"result": "valid"
},
{
"tcId": 2329,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [15, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31],
"ct": [29, 10, 24, 30, 13, 7, 30, 17, 30, 23, 24, 16, 8, 6, 8],
"result": "valid"
},
{
"tcId": 2330,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [0, 21, 30, 23, 9, 6, 13, 25, 20, 15, 14, 13, 9, 10, 30],
"ct": [2, 7, 21, 13, 2, 1, 25, 9, 23, 29, 29, 25, 20, 7, 17],
"result": "valid"
},
{
"tcId": 2331,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [28, 3, 18, 24, 20, 24, 6, 20, 28, 7, 17, 1, 23, 3, 19],
"ct": [30, 3, 18, 26, 23, 2, 26, 9, 1, 5, 29, 24, 27, 17, 23],
"result": "valid"
},
{
"tcId": 2332,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [29, 0, 3, 12, 17, 4, 10, 0, 30, 23, 24, 31, 9, 18, 5],
"ct": [19, 10, 22, 4, 26, 7, 16, 11, 26, 21, 11, 30, 30, 11, 4],
"result": "valid"
},
{
"tcId": 2333,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [1, 7, 2, 4, 21, 12, 14, 4, 10, 23, 22, 11, 9, 23, 15],
"ct": [18, 9, 25, 7, 8, 18, 23, 23, 13, 27, 4, 0, 19, 16, 18],
"result": "valid"
},
{
"tcId": 2334,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [6, 13, 2, 12, 20, 12, 6, 6, 5, 18, 24, 7, 2, 6, 12],
"ct": [5, 27, 0, 4, 12, 19, 20, 14, 1, 24, 6, 12, 7, 0, 30],
"result": "valid"
},
{
"tcId": 2335,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [0, 0, 7, 27, 13, 16, 7, 19, 13, 13, 17, 31, 31, 31, 27],
"ct": [15, 16, 22, 11, 15, 26, 22, 30, 10, 8, 27, 21, 27, 16, 21],
"result": "valid"
},
{
"tcId": 2336,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [30, 5, 30, 25, 7, 13, 17, 6, 2, 17, 18, 5, 23, 20, 29],
"ct": [22, 11, 4, 19, 30, 21, 18, 25, 6, 6, 18, 3, 18, 0, 9],
"result": "valid"
},
{
"tcId": 2337,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [16, 31, 8, 23, 22, 13, 27, 28, 29, 13, 25, 3, 12, 20, 24],
"ct": [31, 0, 8, 9, 28, 18, 18, 13, 9, 16, 26, 19, 15, 3, 20],
"result": "valid"
},
{
"tcId": 2338,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [20, 3, 17, 29, 15, 2, 20, 31, 5, 22, 18, 7, 5, 1, 14],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2339,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [4, 9, 30, 5, 0, 5, 10, 9, 23, 17, 13, 22, 24, 16, 23],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2340,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [7, 23, 19, 6, 11, 11, 5, 16, 18, 13, 3, 28, 13, 5, 19],
"ct": [16, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2341,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a",
"tweak": "9a4d59b9efd8816a",
"msg": [3, 1, 24, 13, 20, 27, 17, 25, 23, 17, 28, 26, 22, 9, 10],
"ct": [15, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2342,
"comment": "y = 0 and (y + a) % radix**8 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "608ff14a5404ce9846c5",
"msg": [24, 5, 27, 21, 24, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [10, 2, 3, 13, 30, 10, 27, 14, 21, 1, 12, 31, 26, 6, 18],
"result": "valid"
},
{
"tcId": 2343,
"comment": "y = 0 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "608ff14a5404ce9846c5",
"msg": [13, 19, 6, 13, 23, 23, 4, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [13, 3, 20, 28, 2, 15, 9, 1, 21, 30, 22, 6, 17, 7, 5],
"result": "valid"
},
{
"tcId": 2344,
"comment": "y = 0 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "608ff14a5404ce9846c5",
"msg": [4, 29, 1, 29, 25, 9, 3, 16, 0, 0, 0, 0, 0, 0, 0],
"ct": [18, 21, 4, 31, 3, 6, 30, 20, 29, 8, 29, 8, 5, 0, 1],
"result": "valid"
},
{
"tcId": 2345,
"comment": "y = 0 and (y + a) % radix**8 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "608ff14a5404ce9846c5",
"msg": [19, 24, 11, 23, 12, 19, 14, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [19, 23, 1, 22, 2, 8, 1, 14, 22, 10, 0, 18, 15, 14, 22],
"result": "valid"
},
{
"tcId": 2346,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "879deb016174cac7c6a1",
"msg": [9, 21, 22, 11, 1, 7, 11, 12, 1, 29, 21, 7, 11, 4, 21],
"ct": [7, 24, 31, 23, 21, 30, 24, 19, 3, 2, 26, 23, 26, 23, 19],
"result": "valid"
},
{
"tcId": 2347,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "879deb016174cac7c6a1",
"msg": [23, 3, 9, 26, 22, 13, 14, 1, 13, 21, 31, 25, 21, 2, 15],
"ct": [9, 21, 1, 26, 20, 9, 11, 5, 22, 4, 3, 14, 4, 2, 2],
"result": "valid"
},
{
"tcId": 2348,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "879deb016174cac7c6a1",
"msg": [16, 31, 16, 15, 16, 24, 10, 25, 19, 5, 29, 5, 5, 20, 11],
"ct": [7, 5, 17, 27, 20, 5, 29, 11, 3, 21, 17, 1, 23, 6, 10],
"result": "valid"
},
{
"tcId": 2349,
"comment": "y = 1 and (y + a) % radix**7 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "879deb016174cac7c6a1",
"msg": [23, 3, 22, 28, 13, 0, 27, 12, 26, 21, 11, 16, 0, 1, 10],
"ct": [25, 30, 29, 27, 9, 4, 20, 11, 7, 5, 24, 18, 5, 29, 23],
"result": "valid"
},
{
"tcId": 2350,
"comment": "y = 1 and (y + a) % radix**7 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "879deb016174cac7c6a1",
"msg": [28, 14, 27, 18, 28, 19, 31, 18, 5, 8, 16, 8, 3, 25, 27],
"ct": [23, 9, 28, 26, 17, 19, 9, 19, 12, 29, 14, 2, 3, 19, 29],
"result": "valid"
},
{
"tcId": 2351,
"comment": "y is maximal and (y + a) % radix**7 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "5dd2399f4ecb5c650b5c",
"msg": [0, 0, 0, 0, 0, 0, 0, 22, 8, 15, 27, 31, 25, 4, 26],
"ct": [14, 11, 27, 4, 2, 10, 2, 28, 0, 22, 24, 5, 0, 14, 13],
"result": "valid"
},
{
"tcId": 2352,
"comment": "y is maximal and (y + a) % radix**7 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "5dd2399f4ecb5c650b5c",
"msg": [0, 0, 0, 0, 0, 0, 1, 22, 8, 15, 27, 31, 25, 4, 26],
"ct": [3, 18, 7, 17, 29, 19, 23, 16, 5, 0, 24, 20, 27, 14, 1],
"result": "valid"
},
{
"tcId": 2353,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "5dd2399f4ecb5c650b5c",
"msg": [16, 0, 0, 0, 0, 0, 0, 22, 8, 15, 27, 31, 25, 4, 26],
"ct": [20, 14, 10, 3, 29, 22, 13, 29, 13, 16, 28, 10, 15, 13, 9],
"result": "valid"
},
{
"tcId": 2354,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "5dd2399f4ecb5c650b5c",
"msg": [31, 31, 31, 31, 31, 31, 31, 22, 8, 15, 27, 31, 25, 4, 26],
"ct": [12, 0, 11, 21, 10, 28, 23, 6, 6, 25, 30, 11, 1, 12, 19],
"result": "valid"
},
{
"tcId": 2355,
"comment": "y is edge case for modular reduction and a = 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "de1ce65787dbf19c1402",
"msg": [0, 0, 0, 0, 0, 0, 0, 19, 3, 30, 8, 26, 7, 3, 5],
"ct": [29, 28, 26, 15, 28, 10, 23, 31, 31, 31, 26, 19, 8, 15, 14],
"result": "valid"
},
{
"tcId": 2356,
"comment": "y is edge case for modular reduction and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "de1ce65787dbf19c1402",
"msg": [0, 0, 0, 0, 0, 0, 1, 19, 3, 30, 8, 26, 7, 3, 5],
"ct": [31, 26, 26, 18, 9, 26, 10, 12, 23, 4, 16, 31, 31, 29, 8],
"result": "valid"
},
{
"tcId": 2357,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "de1ce65787dbf19c1402",
"msg": [0, 0, 0, 0, 0, 0, 31, 19, 3, 30, 8, 26, 7, 3, 5],
"ct": [27, 31, 15, 25, 20, 13, 22, 27, 29, 23, 1, 16, 31, 22, 23],
"result": "valid"
},
{
"tcId": 2358,
"comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "de1ce65787dbf19c1402",
"msg": [0, 0, 0, 0, 0, 1, 0, 19, 3, 30, 8, 26, 7, 3, 5],
"ct": [20, 10, 17, 6, 30, 27, 28, 21, 19, 16, 23, 18, 29, 31, 6],
"result": "valid"
},
{
"tcId": 2359,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "de1ce65787dbf19c1402",
"msg": [16, 0, 0, 0, 0, 0, 0, 19, 3, 30, 8, 26, 7, 3, 5],
"ct": [3, 4, 9, 17, 14, 27, 3, 24, 12, 29, 9, 12, 23, 30, 8],
"result": "valid"
},
{
"tcId": 2360,
"comment": "y is edge case for modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "de1ce65787dbf19c1402",
"msg": [31, 31, 31, 31, 31, 31, 31, 19, 3, 30, 8, 26, 7, 3, 5],
"ct": [12, 5, 6, 7, 30, 4, 18, 16, 2, 6, 31, 31, 2, 12, 21],
"result": "valid"
},
{
"tcId": 2361,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "1aefcba39453f5595ca8",
"msg": [3, 20, 15, 0, 26, 19, 12, 5, 3, 14, 16, 2, 18, 25, 10],
"ct": [12, 13, 21, 13, 6, 24, 12, 26, 3, 16, 23, 5, 15, 28, 11],
"result": "valid"
},
{
"tcId": 2362,
"comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "1aefcba39453f5595ca8",
"msg": [22, 29, 20, 25, 17, 8, 17, 8, 26, 0, 10, 12, 24, 31, 30],
"ct": [7, 25, 20, 4, 29, 20, 19, 10, 29, 15, 30, 30, 5, 29, 3],
"result": "valid"
},
{
"tcId": 2363,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "1aefcba39453f5595ca8",
"msg": [7, 11, 27, 17, 9, 20, 19, 27, 28, 13, 18, 2, 3, 7, 15],
"ct": [18, 15, 5, 0, 0, 5, 19, 2, 3, 10, 27, 22, 17, 5, 1],
"result": "valid"
},
{
"tcId": 2364,
"comment": "y is maximal after modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9",
"tweak": "1aefcba39453f5595ca8",
"msg": [30, 21, 21, 9, 28, 0, 21, 5, 4, 30, 3, 24, 11, 23, 27],
"ct": [3, 6, 25, 30, 0, 16, 16, 17, 13, 0, 15, 28, 26, 9, 10],
"result": "valid"
},
{
"tcId": 2365,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440",
"tweak": "351b957ffa7ac601",
"msg": [-1, 8, 8, 26, 14, 27, 9, 26, 0, 27, 4, 14, 2, 30, 8],
"ct": [20, 22, 2, 5, 8, 26, 26, 10, 16, 18, 11, 22, 1, 23, 27],
"result": "invalid"
},
{
"tcId": 2366,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440",
"tweak": "351b957ffa7ac601",
"msg": [7, 8, 8, 26, 14, -1, 9, 26, 0, 27, 4, 14, 2, 30, 8],
"ct": [13, 13, 31, 2, 8, 20, 12, 15, 23, 21, 10, 24, 29, 19, 19],
"result": "invalid"
},
{
"tcId": 2367,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440",
"tweak": "351b957ffa7ac601",
"msg": [7, 8, 8, 26, 14, 27, 9, 26, 0, 27, 4, 14, 2, 30, -1],
"ct": [24, 23, 21, 15, 16, 29, 9, 14, 7, 14, 0, 17, 14, 21, 22],
"result": "invalid"
},
{
"tcId": 2368,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5648c26281ec5f379e0d95d0f4127714641535b2f5c759a2d7f28e1efb9f0bb9",
"tweak": "b6fda4b71d2a06a2",
"msg": [32, 20, 23, 28, 11, 1, 7, 9, 5, 18, 17, 4, 17, 18, 8],
"ct": [5, 29, 24, 23, 30, 28, 21, 9, 8, 14, 19, 22, 4, 26, 3],
"result": "invalid"
},
{
"tcId": 2369,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5648c26281ec5f379e0d95d0f4127714641535b2f5c759a2d7f28e1efb9f0bb9",
"tweak": "b6fda4b71d2a06a2",
"msg": [1, 20, 23, 28, 11, 32, 7, 9, 5, 18, 17, 4, 17, 18, 8],
"ct": [14, 20, 3, 6, 16, 1, 4, 21, 4, 10, 16, 24, 13, 15, 27],
"result": "invalid"
},
{
"tcId": 2370,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "5648c26281ec5f379e0d95d0f4127714641535b2f5c759a2d7f28e1efb9f0bb9",
"tweak": "b6fda4b71d2a06a2",
"msg": [1, 20, 23, 28, 11, 1, 7, 9, 5, 18, 17, 4, 17, 18, 32],
"ct": [5, 23, 11, 31, 10, 25, 28, 1, 24, 16, 18, 9, 12, 10, 30],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 16,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2371,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "505aa98819809ef63b9a368a1e8bc2e922da45b03ce02d9a7966b15006dba2d5",
"tweak": "5b54b73e6af6a275",
"msg": [30, 18, 29, 22, 25, 15, 9, 5, 30, 24, 11, 4, 4, 5, 31, 30],
"ct": [8, 27, 17, 3, 15, 17, 4, 14, 17, 17, 8, 6, 16, 17, 17, 13],
"result": "valid"
},
{
"tcId": 2372,
"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": [24, 2, 18, 7, 14, 20, 4, 23, 18, 26, 17, 21, 23, 20, 30, 6],
"result": "valid"
},
{
"tcId": 2373,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [1, 0, 16, 12, 8, 19, 26, 26, 23, 18, 17, 24, 7, 15, 21, 6],
"result": "valid"
},
{
"tcId": 2374,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0],
"ct": [0, 31, 25, 10, 6, 24, 8, 6, 14, 24, 4, 19, 11, 31, 30, 25],
"result": "valid"
},
{
"tcId": 2375,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31],
"ct": [18, 7, 13, 22, 19, 2, 17, 1, 13, 8, 2, 31, 22, 8, 23, 26],
"result": "valid"
},
{
"tcId": 2376,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [1, 9, 13, 20, 20, 13, 31, 26, 7, 25, 23, 12, 20, 18, 19, 4],
"ct": [10, 20, 28, 19, 24, 3, 10, 11, 9, 10, 2, 22, 23, 2, 26, 1],
"result": "valid"
},
{
"tcId": 2377,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [3, 4, 30, 27, 26, 22, 3, 15, 15, 18, 22, 27, 15, 7, 27, 14],
"ct": [1, 5, 29, 22, 25, 11, 2, 30, 6, 8, 1, 0, 8, 20, 11, 23],
"result": "valid"
},
{
"tcId": 2378,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [27, 19, 7, 29, 7, 2, 7, 22, 7, 30, 0, 31, 2, 17, 0, 12],
"ct": [20, 21, 15, 13, 1, 21, 28, 13, 11, 23, 5, 16, 9, 30, 17, 28],
"result": "valid"
},
{
"tcId": 2379,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [24, 16, 12, 8, 17, 2, 1, 9, 22, 9, 31, 31, 8, 18, 28, 17],
"ct": [17, 21, 17, 8, 7, 13, 8, 8, 5, 3, 29, 13, 11, 20, 3, 29],
"result": "valid"
},
{
"tcId": 2380,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [11, 8, 0, 5, 27, 14, 28, 30, 24, 31, 2, 14, 31, 24, 2, 9],
"ct": [14, 4, 7, 4, 8, 15, 16, 3, 25, 28, 10, 2, 5, 7, 16, 19],
"result": "valid"
},
{
"tcId": 2381,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [1, 6, 1, 31, 5, 25, 10, 2, 11, 29, 14, 6, 10, 2, 21, 19],
"ct": [19, 7, 1, 5, 12, 27, 7, 4, 31, 0, 23, 16, 25, 18, 12, 3],
"result": "valid"
},
{
"tcId": 2382,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [23, 1, 30, 5, 19, 8, 18, 14, 24, 26, 27, 0, 6, 1, 3, 10],
"ct": [27, 6, 27, 16, 26, 9, 6, 23, 6, 15, 18, 29, 10, 7, 12, 27],
"result": "valid"
},
{
"tcId": 2383,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [2, 3, 4, 13, 17, 17, 1, 15, 5, 1, 31, 8, 13, 18, 18, 27],
"ct": [26, 30, 23, 4, 17, 12, 28, 3, 29, 2, 4, 0, 5, 5, 31, 7],
"result": "valid"
},
{
"tcId": 2384,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [6, 16, 18, 3, 20, 2, 31, 16, 11, 8, 21, 13, 12, 5, 7, 28],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2385,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [9, 14, 4, 12, 2, 16, 8, 11, 5, 1, 26, 4, 21, 21, 21, 16],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2386,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [4, 26, 29, 4, 1, 23, 10, 22, 1, 1, 15, 26, 21, 24, 14, 8],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2387,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db",
"tweak": "283b7fe6bd1b14cc",
"msg": [15, 20, 12, 11, 25, 16, 23, 3, 30, 5, 4, 29, 19, 31, 3, 12],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2388,
"comment": "y = 0 and (y + a) % radix**8 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "1e175cd8fd2a8aa6545b",
"msg": [19, 20, 14, 11, 21, 4, 22, 13, 8, 19, 30, 24, 14, 5, 18, 2],
"ct": [18, 3, 14, 8, 18, 20, 30, 8, 25, 17, 28, 17, 19, 25, 21, 4],
"result": "valid"
},
{
"tcId": 2389,
"comment": "y = 0 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "1e175cd8fd2a8aa6545b",
"msg": [5, 0, 6, 20, 26, 23, 30, 16, 21, 3, 17, 9, 30, 22, 10, 10],
"ct": [10, 0, 6, 26, 9, 4, 12, 13, 3, 22, 14, 14, 26, 13, 26, 28],
"result": "valid"
},
{
"tcId": 2390,
"comment": "y = 0 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "1e175cd8fd2a8aa6545b",
"msg": [5, 4, 24, 30, 1, 17, 31, 27, 17, 27, 7, 11, 2, 21, 0, 3],
"ct": [14, 11, 3, 0, 5, 8, 10, 17, 5, 3, 17, 23, 3, 12, 30, 10],
"result": "valid"
},
{
"tcId": 2391,
"comment": "y = 0 and (y + a) % radix**8 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "1e175cd8fd2a8aa6545b",
"msg": [7, 29, 29, 13, 17, 29, 23, 2, 5, 19, 13, 9, 24, 14, 30, 0],
"ct": [4, 4, 3, 24, 30, 0, 20, 29, 18, 16, 5, 18, 5, 2, 26, 20],
"result": "valid"
},
{
"tcId": 2392,
"comment": "y = 1 and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "89376c1a9740ffe79cf9",
"msg": [27, 21, 11, 12, 30, 3, 28, 12, 17, 0, 27, 23, 4, 15, 28, 10],
"ct": [16, 17, 16, 15, 7, 25, 30, 28, 29, 9, 10, 30, 14, 20, 20, 22],
"result": "valid"
},
{
"tcId": 2393,
"comment": "y = 1 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "89376c1a9740ffe79cf9",
"msg": [30, 20, 8, 12, 1, 14, 12, 24, 31, 3, 20, 19, 2, 17, 3, 8],
"ct": [24, 15, 2, 13, 30, 19, 15, 10, 24, 21, 20, 17, 9, 31, 9, 19],
"result": "valid"
},
{
"tcId": 2394,
"comment": "y = 1 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "89376c1a9740ffe79cf9",
"msg": [3, 1, 18, 23, 20, 12, 4, 26, 13, 4, 12, 25, 30, 1, 2, 13],
"ct": [20, 16, 19, 0, 7, 24, 2, 26, 14, 3, 9, 25, 30, 8, 30, 19],
"result": "valid"
},
{
"tcId": 2395,
"comment": "y = 1 and (y + a) % radix**8 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "89376c1a9740ffe79cf9",
"msg": [3, 1, 26, 25, 11, 2, 6, 18, 10, 22, 19, 5, 24, 7, 22, 31],
"ct": [18, 23, 12, 23, 4, 19, 7, 2, 31, 7, 19, 2, 20, 29, 13, 4],
"result": "valid"
},
{
"tcId": 2396,
"comment": "y = 1 and (y + a) % radix**8 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "89376c1a9740ffe79cf9",
"msg": [28, 12, 13, 9, 30, 19, 7, 11, 30, 13, 4, 4, 3, 29, 6, 30],
"ct": [28, 23, 13, 23, 4, 15, 13, 31, 7, 14, 31, 4, 31, 7, 27, 1],
"result": "valid"
},
{
"tcId": 2397,
"comment": "y is maximal and (y + a) % radix**8 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "87b64256037a22149d8e",
"msg": [9, 28, 0, 27, 30, 24, 9, 17, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [21, 7, 3, 2, 25, 2, 2, 15, 29, 6, 6, 4, 19, 16, 25, 18],
"result": "valid"
},
{
"tcId": 2398,
"comment": "y is maximal and (y + a) % radix**8 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "87b64256037a22149d8e",
"msg": [26, 22, 6, 15, 4, 15, 12, 24, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [24, 25, 3, 1, 7, 29, 11, 19, 7, 22, 5, 28, 7, 29, 22, 15],
"result": "valid"
},
{
"tcId": 2399,
"comment": "y is maximal and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "87b64256037a22149d8e",
"msg": [14, 23, 2, 23, 15, 21, 5, 4, 16, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 23, 23, 9, 16, 8, 23, 21, 23, 29, 26, 7, 19, 22, 27, 17],
"result": "valid"
},
{
"tcId": 2400,
"comment": "y is maximal and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "87b64256037a22149d8e",
"msg": [4, 9, 14, 29, 3, 28, 27, 6, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [19, 10, 24, 21, 30, 19, 8, 23, 16, 9, 11, 15, 15, 10, 27, 13],
"result": "valid"
},
{
"tcId": 2401,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "ef6ea37037185ca65c7a",
"msg": [4, 11, 0, 25, 5, 20, 1, 12, 29, 22, 5, 23, 4, 16, 20, 9],
"ct": [27, 25, 13, 27, 12, 13, 25, 25, 4, 3, 13, 23, 3, 19, 12, 12],
"result": "valid"
},
{
"tcId": 2402,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "ef6ea37037185ca65c7a",
"msg": [2, 27, 6, 0, 28, 4, 27, 22, 24, 12, 24, 1, 1, 26, 26, 13],
"ct": [18, 0, 2, 7, 29, 23, 20, 26, 26, 1, 28, 11, 24, 8, 8, 6],
"result": "valid"
},
{
"tcId": 2403,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "ef6ea37037185ca65c7a",
"msg": [19, 18, 23, 11, 1, 17, 30, 22, 6, 2, 18, 8, 7, 20, 15, 14],
"ct": [18, 9, 3, 26, 8, 14, 14, 9, 8, 30, 1, 11, 20, 15, 31, 7],
"result": "valid"
},
{
"tcId": 2404,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "ef6ea37037185ca65c7a",
"msg": [7, 16, 9, 0, 23, 19, 14, 12, 23, 9, 29, 12, 5, 18, 13, 11],
"ct": [12, 28, 23, 18, 21, 16, 24, 18, 15, 1, 22, 14, 1, 12, 31, 10],
"result": "valid"
},
{
"tcId": 2405,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "ef6ea37037185ca65c7a",
"msg": [15, 10, 13, 17, 30, 17, 7, 11, 15, 11, 7, 12, 18, 3, 7, 4],
"ct": [13, 18, 30, 31, 12, 11, 3, 14, 10, 3, 1, 28, 13, 29, 29, 27],
"result": "valid"
},
{
"tcId": 2406,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "ef6ea37037185ca65c7a",
"msg": [21, 1, 5, 31, 11, 26, 8, 20, 22, 7, 31, 21, 18, 28, 0, 22],
"ct": [3, 5, 17, 14, 19, 31, 18, 23, 10, 30, 11, 5, 9, 14, 28, 5],
"result": "valid"
},
{
"tcId": 2407,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "cd14ab1ba377139b5c20",
"msg": [8, 8, 31, 3, 20, 18, 29, 14, 10, 25, 14, 28, 0, 23, 19, 8],
"ct": [7, 2, 20, 6, 23, 7, 20, 16, 29, 28, 26, 8, 12, 31, 23, 27],
"result": "valid"
},
{
"tcId": 2408,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "cd14ab1ba377139b5c20",
"msg": [15, 8, 22, 18, 11, 30, 19, 3, 19, 17, 6, 9, 4, 16, 11, 3],
"ct": [16, 9, 18, 12, 16, 9, 19, 13, 30, 27, 24, 31, 25, 1, 8, 18],
"result": "valid"
},
{
"tcId": 2409,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "cd14ab1ba377139b5c20",
"msg": [28, 10, 8, 3, 29, 22, 0, 1, 31, 30, 29, 29, 25, 17, 26, 10],
"ct": [8, 17, 31, 10, 15, 27, 7, 30, 30, 16, 17, 9, 23, 29, 5, 26],
"result": "valid"
},
{
"tcId": 2410,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668",
"tweak": "cd14ab1ba377139b5c20",
"msg": [5, 22, 25, 18, 9, 1, 26, 12, 10, 20, 5, 13, 4, 27, 1, 5],
"ct": [25, 22, 9, 11, 29, 28, 3, 15, 18, 28, 12, 13, 8, 28, 9, 15],
"result": "valid"
},
{
"tcId": 2411,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7",
"tweak": "a48cfeaa6646b0c5",
"msg": [-1, 22, 13, 26, 7, 18, 12, 17, 26, 10, 13, 4, 18, 2, 31, 27],
"ct": [17, 17, 3, 3, 28, 30, 29, 10, 24, 9, 1, 31, 6, 21, 9, 17],
"result": "invalid"
},
{
"tcId": 2412,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7",
"tweak": "a48cfeaa6646b0c5",
"msg": [11, 22, 13, 26, 7, -1, 12, 17, 26, 10, 13, 4, 18, 2, 31, 27],
"ct": [6, 20, 29, 1, 18, 21, 13, 3, 20, 24, 7, 7, 9, 7, 15, 22],
"result": "invalid"
},
{
"tcId": 2413,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7",
"tweak": "a48cfeaa6646b0c5",
"msg": [11, 22, 13, 26, 7, 18, 12, 17, 26, 10, 13, 4, 18, 2, 31, -1],
"ct": [10, 27, 1, 18, 13, 14, 15, 22, 8, 29, 30, 14, 21, 22, 5, 18],
"result": "invalid"
},
{
"tcId": 2414,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c253191fb660aa711c177ed9c3f92d9208cb705debee1d14da32cc69bcfa5691",
"tweak": "d1cbb70673ca6962",
"msg": [32, 20, 29, 4, 3, 17, 19, 2, 23, 20, 15, 28, 3, 15, 9, 30],
"ct": [18, 15, 21, 22, 16, 22, 2, 21, 14, 22, 18, 29, 6, 15, 10, 9],
"result": "invalid"
},
{
"tcId": 2415,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c253191fb660aa711c177ed9c3f92d9208cb705debee1d14da32cc69bcfa5691",
"tweak": "d1cbb70673ca6962",
"msg": [5, 20, 29, 4, 3, 32, 19, 2, 23, 20, 15, 28, 3, 15, 9, 30],
"ct": [0, 9, 9, 5, 17, 29, 30, 23, 6, 30, 3, 17, 22, 7, 10, 18],
"result": "invalid"
},
{
"tcId": 2416,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c253191fb660aa711c177ed9c3f92d9208cb705debee1d14da32cc69bcfa5691",
"tweak": "d1cbb70673ca6962",
"msg": [5, 20, 29, 4, 3, 17, 19, 2, 23, 20, 15, 28, 3, 15, 9, 32],
"ct": [27, 18, 28, 4, 25, 31, 9, 11, 28, 6, 4, 5, 25, 15, 10, 6],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 17,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2417,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "abd43681541e9a9233091509ee06c648b45a34c0ddc73f39d804bcaf7bf31a0e",
"tweak": "011400c2b81f3e50",
"msg": [0, 26, 1, 18, 29, 31, 0, 5, 31, 7, 5, 2, 7, 19, 9, 11, 21],
"ct": [18, 14, 18, 18, 24, 6, 19, 23, 30, 7, 26, 28, 8, 4, 29, 1, 25],
"result": "valid"
},
{
"tcId": 2418,
"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": [12, 24, 9, 16, 13, 5, 18, 28, 13, 29, 26, 15, 30, 15, 9, 18, 31],
"result": "valid"
},
{
"tcId": 2419,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [12, 21, 6, 9, 6, 7, 12, 21, 24, 11, 16, 8, 18, 18, 18, 1, 4],
"result": "valid"
},
{
"tcId": 2420,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [31, 8, 24, 2, 2, 18, 23, 8, 21, 10, 20, 0, 12, 14, 18, 17, 2],
"result": "valid"
},
{
"tcId": 2421,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [1, 8, 13, 31, 11, 29, 17, 22, 3, 12, 8, 16, 17, 24, 27, 3, 29],
"result": "valid"
},
{
"tcId": 2422,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [20, 22, 31, 17, 27, 23, 30, 26, 17, 21, 14, 22, 23, 19, 12, 9, 22],
"ct": [3, 29, 3, 8, 10, 12, 31, 8, 3, 13, 30, 25, 10, 12, 12, 27, 6],
"result": "valid"
},
{
"tcId": 2423,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [4, 19, 7, 7, 19, 12, 4, 1, 14, 1, 10, 7, 25, 29, 16, 28, 15],
"ct": [2, 3, 4, 2, 2, 18, 29, 14, 7, 25, 19, 7, 8, 0, 3, 29, 29],
"result": "valid"
},
{
"tcId": 2424,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [1, 17, 7, 24, 15, 19, 20, 26, 26, 13, 22, 12, 27, 6, 9, 31, 4],
"ct": [15, 0, 8, 30, 7, 14, 31, 18, 22, 22, 1, 10, 27, 21, 5, 19, 2],
"result": "valid"
},
{
"tcId": 2425,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [14, 22, 27, 24, 2, 20, 5, 12, 30, 14, 7, 5, 15, 7, 22, 18, 9],
"ct": [20, 7, 12, 26, 29, 18, 4, 4, 30, 28, 1, 3, 22, 14, 18, 0, 5],
"result": "valid"
},
{
"tcId": 2426,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [6, 0, 31, 19, 21, 4, 30, 17, 3, 19, 3, 12, 27, 0, 2, 26, 8],
"ct": [9, 31, 22, 8, 26, 27, 21, 31, 4, 20, 28, 13, 11, 3, 31, 4, 13],
"result": "valid"
},
{
"tcId": 2427,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [16, 3, 30, 28, 3, 7, 24, 21, 22, 5, 18, 28, 15, 19, 3, 10, 16],
"ct": [10, 27, 18, 3, 8, 24, 3, 18, 7, 17, 7, 21, 26, 17, 6, 29, 18],
"result": "valid"
},
{
"tcId": 2428,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [1, 6, 18, 28, 2, 21, 12, 11, 31, 12, 14, 4, 1, 16, 0, 22, 31],
"ct": [24, 23, 4, 5, 24, 23, 22, 2, 29, 29, 29, 12, 30, 14, 2, 13, 30],
"result": "valid"
},
{
"tcId": 2429,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [11, 9, 28, 28, 28, 25, 18, 17, 23, 31, 5, 28, 20, 0, 19, 10, 15],
"ct": [30, 19, 4, 18, 4, 7, 5, 5, 9, 22, 21, 1, 28, 29, 13, 8, 19],
"result": "valid"
},
{
"tcId": 2430,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [15, 19, 8, 3, 14, 23, 2, 22, 20, 27, 14, 24, 18, 15, 6, 6, 19],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2431,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [25, 28, 31, 14, 7, 24, 22, 12, 15, 4, 30, 12, 20, 4, 22, 19, 2],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2432,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [31, 16, 16, 20, 17, 22, 30, 5, 29, 3, 6, 31, 17, 8, 22, 19, 28],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2433,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c",
"tweak": "5921a49a5ca9233a",
"msg": [26, 7, 17, 0, 17, 5, 25, 7, 18, 10, 26, 2, 21, 15, 24, 24, 2],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2434,
"comment": "y = 0 and (y + a) % radix**8 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "67a0a8f07ae2e04010",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 3, 10, 20, 30, 3, 25, 28, 19, 5],
"ct": [17, 0, 3, 13, 6, 29, 16, 16, 11, 18, 2, 18, 0, 25, 4, 7, 27],
"result": "valid"
},
{
"tcId": 2435,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "67a0a8f07ae2e04010",
"msg": [0, 0, 0, 0, 0, 0, 0, 1, 3, 10, 20, 30, 3, 25, 28, 19, 5],
"ct": [14, 3, 24, 8, 1, 0, 6, 26, 27, 14, 5, 7, 22, 0, 9, 12, 16],
"result": "valid"
},
{
"tcId": 2436,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "67a0a8f07ae2e04010",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 3, 10, 20, 30, 3, 25, 28, 19, 5],
"ct": [19, 30, 24, 9, 25, 3, 26, 12, 8, 7, 27, 5, 9, 1, 21, 10, 23],
"result": "valid"
},
{
"tcId": 2437,
"comment": "y = 0 and (y + a) % radix**8 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "67a0a8f07ae2e04010",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 3, 10, 20, 30, 3, 25, 28, 19, 5],
"ct": [0, 19, 18, 27, 1, 16, 26, 1, 23, 8, 13, 28, 4, 16, 2, 16, 11],
"result": "valid"
},
{
"tcId": 2438,
"comment": "y = 1 and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "334928e61286c5bbe4",
"msg": [12, 3, 18, 17, 6, 31, 23, 27, 14, 15, 15, 9, 31, 25, 6, 8, 2],
"ct": [5, 31, 2, 5, 9, 26, 15, 6, 28, 11, 23, 8, 1, 15, 7, 28, 0],
"result": "valid"
},
{
"tcId": 2439,
"comment": "y = 1 and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "334928e61286c5bbe4",
"msg": [31, 11, 12, 31, 3, 16, 22, 4, 11, 18, 1, 17, 13, 8, 25, 21, 23],
"ct": [23, 7, 28, 18, 9, 24, 19, 9, 0, 7, 8, 21, 19, 30, 9, 12, 6],
"result": "valid"
},
{
"tcId": 2440,
"comment": "y = 1 and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "334928e61286c5bbe4",
"msg": [6, 10, 14, 5, 12, 15, 6, 3, 31, 9, 17, 4, 23, 5, 24, 6, 4],
"ct": [24, 3, 11, 5, 22, 17, 25, 24, 21, 7, 27, 31, 23, 3, 1, 18, 8],
"result": "valid"
},
{
"tcId": 2441,
"comment": "y = 1 and (y + a) % radix**8 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "334928e61286c5bbe4",
"msg": [3, 20, 19, 29, 4, 5, 26, 7, 23, 9, 22, 22, 17, 14, 27, 9, 0],
"ct": [5, 9, 28, 0, 2, 0, 12, 28, 29, 10, 18, 13, 15, 29, 24, 2, 2],
"result": "valid"
},
{
"tcId": 2442,
"comment": "y = 1 and (y + a) % radix**8 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "334928e61286c5bbe4",
"msg": [7, 21, 7, 29, 10, 3, 7, 16, 24, 3, 17, 22, 6, 18, 7, 5, 19],
"ct": [29, 9, 12, 21, 4, 16, 19, 9, 26, 6, 23, 26, 17, 25, 10, 5, 22],
"result": "valid"
},
{
"tcId": 2443,
"comment": "y is maximal and (y + a) % radix**8 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "7591c06b8adcb4ad32",
"msg": [10, 21, 12, 18, 27, 28, 3, 12, 6, 13, 20, 16, 2, 29, 27, 11, 3],
"ct": [3, 22, 0, 4, 24, 1, 16, 3, 12, 30, 18, 3, 26, 24, 7, 26, 1],
"result": "valid"
},
{
"tcId": 2444,
"comment": "y is maximal and (y + a) % radix**8 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "7591c06b8adcb4ad32",
"msg": [17, 24, 8, 6, 11, 21, 7, 11, 28, 17, 19, 5, 0, 28, 12, 13, 12],
"ct": [18, 28, 31, 1, 23, 21, 0, 23, 7, 25, 20, 26, 22, 30, 3, 27, 6],
"result": "valid"
},
{
"tcId": 2445,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "7591c06b8adcb4ad32",
"msg": [8, 30, 13, 0, 7, 0, 16, 0, 28, 28, 8, 25, 14, 28, 14, 24, 31],
"ct": [10, 3, 28, 0, 14, 28, 7, 6, 9, 19, 6, 17, 9, 4, 28, 13, 16],
"result": "valid"
},
{
"tcId": 2446,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "7591c06b8adcb4ad32",
"msg": [20, 4, 10, 9, 25, 28, 29, 25, 9, 14, 19, 26, 25, 8, 17, 30, 11],
"ct": [31, 12, 20, 24, 5, 20, 10, 11, 8, 14, 9, 13, 30, 26, 29, 8, 30],
"result": "valid"
},
{
"tcId": 2447,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "a9edffd9641140b230",
"msg": [13, 30, 26, 20, 24, 3, 30, 24, 21, 29, 27, 15, 30, 13, 12, 6, 28],
"ct": [16, 6, 16, 20, 18, 27, 28, 27, 14, 2, 31, 14, 15, 7, 2, 26, 7],
"result": "valid"
},
{
"tcId": 2448,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "a9edffd9641140b230",
"msg": [10, 8, 19, 8, 18, 27, 12, 10, 5, 12, 31, 1, 9, 18, 6, 8, 11],
"ct": [13, 23, 22, 21, 5, 18, 7, 28, 26, 9, 30, 26, 17, 27, 23, 8, 21],
"result": "valid"
},
{
"tcId": 2449,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "a9edffd9641140b230",
"msg": [27, 14, 7, 16, 14, 19, 5, 15, 13, 3, 9, 4, 0, 15, 25, 24, 31],
"ct": [12, 26, 19, 8, 18, 1, 8, 29, 12, 18, 14, 23, 16, 18, 18, 31, 3],
"result": "valid"
},
{
"tcId": 2450,
"comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "a9edffd9641140b230",
"msg": [15, 6, 12, 10, 9, 17, 24, 18, 0, 26, 21, 12, 17, 1, 1, 13, 17],
"ct": [4, 30, 17, 21, 14, 28, 9, 5, 6, 15, 20, 23, 8, 2, 16, 13, 25],
"result": "valid"
},
{
"tcId": 2451,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "a9edffd9641140b230",
"msg": [2, 28, 31, 9, 11, 16, 15, 19, 16, 5, 1, 25, 17, 22, 3, 17, 24],
"ct": [5, 7, 13, 1, 24, 2, 16, 17, 16, 16, 30, 31, 10, 22, 9, 14, 20],
"result": "valid"
},
{
"tcId": 2452,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "a9edffd9641140b230",
"msg": [22, 7, 20, 4, 21, 10, 10, 25, 14, 4, 17, 29, 12, 8, 2, 31, 16],
"ct": [7, 8, 6, 3, 6, 27, 24, 23, 30, 3, 14, 24, 16, 23, 1, 27, 7],
"result": "valid"
},
{
"tcId": 2453,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "f410188214c13f3728",
"msg": [1, 10, 30, 5, 9, 9, 20, 6, 20, 15, 21, 19, 27, 21, 22, 20, 11],
"ct": [28, 29, 10, 7, 19, 29, 16, 3, 30, 17, 1, 5, 8, 7, 3, 13, 19],
"result": "valid"
},
{
"tcId": 2454,
"comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "f410188214c13f3728",
"msg": [21, 1, 9, 0, 12, 13, 24, 31, 30, 15, 16, 6, 28, 5, 15, 10, 8],
"ct": [30, 26, 24, 13, 0, 19, 18, 6, 15, 19, 26, 20, 8, 1, 27, 17, 10],
"result": "valid"
},
{
"tcId": 2455,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "f410188214c13f3728",
"msg": [21, 19, 31, 25, 6, 19, 9, 11, 4, 19, 16, 6, 26, 13, 23, 23, 10],
"ct": [29, 11, 23, 6, 21, 5, 8, 24, 30, 8, 6, 4, 31, 22, 7, 9, 25],
"result": "valid"
},
{
"tcId": 2456,
"comment": "y is maximal after modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a",
"tweak": "f410188214c13f3728",
"msg": [31, 10, 23, 7, 3, 31, 26, 3, 17, 11, 14, 31, 10, 9, 30, 5, 20],
"ct": [30, 15, 26, 22, 16, 13, 0, 30, 2, 13, 21, 26, 19, 7, 18, 6, 21],
"result": "valid"
},
{
"tcId": 2457,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc",
"tweak": "6460d80894ab337d",
"msg": [-1, 9, 14, 0, 25, 4, 1, 20, 15, 12, 23, 9, 2, 9, 29, 24, 20],
"ct": [20, 27, 1, 19, 1, 27, 23, 5, 21, 16, 22, 28, 21, 27, 9, 11, 15],
"result": "invalid"
},
{
"tcId": 2458,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc",
"tweak": "6460d80894ab337d",
"msg": [3, 9, 14, 0, 25, -1, 1, 20, 15, 12, 23, 9, 2, 9, 29, 24, 20],
"ct": [11, 3, 24, 21, 6, 11, 16, 0, 24, 31, 14, 16, 10, 10, 26, 1, 16],
"result": "invalid"
},
{
"tcId": 2459,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc",
"tweak": "6460d80894ab337d",
"msg": [3, 9, 14, 0, 25, 4, 1, 20, 15, 12, 23, 9, 2, 9, 29, 24, -1],
"ct": [12, 29, 24, 27, 25, 24, 1, 28, 27, 0, 15, 22, 10, 27, 30, 14, 3],
"result": "invalid"
},
{
"tcId": 2460,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9aaf99d3be5bc7b09eefaa959f24af1780380939e2157a1bf40a1df3ab0b92ad",
"tweak": "03d757304b9f64a5",
"msg": [32, 7, 0, 11, 16, 23, 7, 4, 3, 31, 13, 31, 4, 9, 8, 23, 8],
"ct": [17, 18, 10, 28, 5, 12, 7, 11, 11, 3, 6, 17, 6, 27, 15, 13, 8],
"result": "invalid"
},
{
"tcId": 2461,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9aaf99d3be5bc7b09eefaa959f24af1780380939e2157a1bf40a1df3ab0b92ad",
"tweak": "03d757304b9f64a5",
"msg": [27, 7, 0, 11, 16, 32, 7, 4, 3, 31, 13, 31, 4, 9, 8, 23, 8],
"ct": [6, 10, 4, 6, 4, 19, 12, 23, 17, 24, 17, 24, 28, 28, 10, 4, 16],
"result": "invalid"
},
{
"tcId": 2462,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9aaf99d3be5bc7b09eefaa959f24af1780380939e2157a1bf40a1df3ab0b92ad",
"tweak": "03d757304b9f64a5",
"msg": [27, 7, 0, 11, 16, 23, 7, 4, 3, 31, 13, 31, 4, 9, 8, 23, 32],
"ct": [11, 3, 7, 26, 19, 16, 22, 31, 17, 30, 5, 0, 5, 25, 27, 31, 9],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 18,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2463,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "be748dab0203d19a98eb126a8ed6fcbd99aeea49f1cff7512529f201bf0eff67",
"tweak": "4977c3ee944e48cb",
"msg": [5, 1, 27, 7, 4, 2, 11, 21, 8, 4, 8, 17, 6, 0, 11, 9, 11, 4],
"ct": [24, 29, 14, 26, 10, 17, 4, 19, 5, 23, 23, 19, 27, 26, 17, 23, 25, 21],
"result": "valid"
},
{
"tcId": 2464,
"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": [17, 1, 7, 3, 31, 25, 1, 4, 27, 21, 15, 0, 28, 0, 28, 8, 7, 0],
"result": "valid"
},
{
"tcId": 2465,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [27, 24, 26, 4, 9, 31, 19, 9, 15, 31, 2, 12, 13, 30, 12, 31, 3, 29],
"result": "valid"
},
{
"tcId": 2466,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 25, 23, 22, 13, 29, 1, 16, 28, 16, 22, 21, 30, 16, 0, 31, 10, 21],
"result": "valid"
},
{
"tcId": 2467,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [10, 22, 21, 20, 8, 10, 18, 20, 20, 28, 10, 18, 6, 0, 28, 20, 19, 29],
"result": "valid"
},
{
"tcId": 2468,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [7, 17, 29, 5, 24, 30, 14, 28, 31, 1, 15, 0, 26, 17, 11, 21, 2, 11],
"ct": [25, 29, 16, 21, 28, 11, 7, 16, 10, 30, 17, 30, 29, 0, 21, 7, 13, 19],
"result": "valid"
},
{
"tcId": 2469,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [7, 0, 11, 31, 15, 11, 30, 14, 23, 3, 2, 6, 24, 29, 27, 22, 13, 14],
"ct": [19, 0, 19, 25, 8, 10, 28, 25, 21, 16, 13, 8, 11, 18, 27, 28, 7, 19],
"result": "valid"
},
{
"tcId": 2470,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [12, 29, 3, 6, 31, 29, 2, 9, 9, 4, 22, 14, 31, 27, 22, 4, 29, 0],
"ct": [26, 20, 28, 29, 7, 4, 21, 7, 31, 14, 26, 29, 25, 1, 5, 27, 4, 4],
"result": "valid"
},
{
"tcId": 2471,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [11, 27, 9, 29, 26, 12, 14, 1, 8, 9, 21, 16, 18, 15, 11, 30, 29, 28],
"ct": [2, 29, 19, 25, 21, 31, 9, 9, 14, 9, 15, 4, 15, 27, 9, 31, 22, 21],
"result": "valid"
},
{
"tcId": 2472,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [1, 16, 12, 18, 8, 15, 18, 24, 26, 25, 11, 13, 13, 30, 10, 13, 14, 15],
"ct": [1, 16, 11, 0, 27, 0, 11, 8, 5, 4, 18, 12, 13, 23, 19, 8, 27, 1],
"result": "valid"
},
{
"tcId": 2473,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [4, 31, 4, 1, 3, 19, 27, 18, 14, 15, 26, 20, 30, 0, 23, 3, 26, 26],
"ct": [6, 6, 11, 2, 27, 11, 2, 10, 5, 8, 25, 16, 20, 10, 12, 3, 7, 30],
"result": "valid"
},
{
"tcId": 2474,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [22, 3, 12, 18, 25, 14, 2, 6, 25, 18, 11, 11, 11, 13, 4, 10, 6, 11],
"ct": [10, 25, 19, 27, 10, 30, 8, 19, 8, 31, 11, 23, 26, 12, 6, 6, 13, 4],
"result": "valid"
},
{
"tcId": 2475,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [17, 13, 6, 7, 13, 23, 23, 7, 31, 0, 2, 23, 7, 1, 0, 31, 29, 26],
"ct": [29, 21, 19, 26, 12, 21, 10, 0, 24, 27, 19, 22, 16, 14, 2, 9, 27, 19],
"result": "valid"
},
{
"tcId": 2476,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [19, 30, 4, 9, 0, 19, 3, 24, 16, 15, 29, 14, 18, 4, 8, 26, 26, 4],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2477,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [14, 6, 9, 5, 6, 27, 11, 29, 0, 21, 21, 2, 3, 25, 14, 29, 4, 26],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2478,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [12, 0, 2, 1, 23, 13, 2, 6, 27, 17, 7, 2, 20, 10, 20, 12, 16, 24],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2479,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df",
"tweak": "b2fbca44db9eaec7",
"msg": [14, 28, 25, 26, 3, 27, 31, 11, 17, 14, 23, 5, 30, 1, 4, 10, 2, 25],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2480,
"comment": "y = 0 and (y + a) % radix**9 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "c93415491df6ddde30",
"msg": [26, 19, 26, 25, 2, 15, 27, 17, 11, 31, 17, 27, 7, 2, 21, 16, 2, 12],
"ct": [4, 12, 25, 12, 5, 17, 1, 21, 15, 2, 20, 4, 14, 1, 3, 4, 16, 20],
"result": "valid"
},
{
"tcId": 2481,
"comment": "y = 0 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "c93415491df6ddde30",
"msg": [27, 18, 17, 17, 29, 8, 26, 17, 6, 10, 19, 19, 31, 24, 24, 27, 23, 14],
"ct": [22, 8, 11, 29, 31, 23, 18, 13, 28, 9, 24, 27, 31, 17, 24, 10, 21, 3],
"result": "valid"
},
{
"tcId": 2482,
"comment": "y = 0 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "c93415491df6ddde30",
"msg": [26, 21, 10, 11, 27, 14, 22, 26, 2, 3, 25, 1, 0, 22, 29, 17, 10, 21],
"ct": [28, 29, 19, 10, 26, 31, 3, 12, 29, 21, 21, 28, 23, 16, 2, 16, 22, 16],
"result": "valid"
},
{
"tcId": 2483,
"comment": "y = 0 and (y + a) % radix**9 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "c93415491df6ddde30",
"msg": [18, 4, 10, 20, 17, 29, 23, 24, 3, 27, 5, 26, 12, 10, 16, 27, 1, 9],
"ct": [15, 1, 5, 31, 9, 2, 24, 30, 3, 25, 0, 19, 8, 30, 15, 23, 14, 31],
"result": "valid"
},
{
"tcId": 2484,
"comment": "y = 1 and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "65019e42960c29ef63",
"msg": [26, 2, 23, 7, 12, 18, 6, 0, 16, 13, 18, 23, 4, 12, 4, 20, 4, 9],
"ct": [11, 11, 18, 5, 12, 26, 4, 14, 17, 16, 6, 27, 19, 10, 24, 28, 12, 13],
"result": "valid"
},
{
"tcId": 2485,
"comment": "y = 1 and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "65019e42960c29ef63",
"msg": [25, 18, 17, 16, 8, 2, 25, 3, 8, 22, 6, 17, 28, 16, 11, 4, 8, 1],
"ct": [17, 4, 23, 30, 28, 28, 30, 17, 0, 3, 26, 3, 20, 14, 30, 9, 9, 13],
"result": "valid"
},
{
"tcId": 2486,
"comment": "y = 1 and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "65019e42960c29ef63",
"msg": [21, 30, 15, 22, 5, 26, 25, 10, 21, 29, 0, 11, 6, 29, 22, 15, 7, 19],
"ct": [9, 23, 14, 4, 8, 9, 10, 18, 8, 23, 11, 15, 1, 10, 12, 22, 29, 13],
"result": "valid"
},
{
"tcId": 2487,
"comment": "y = 1 and (y + a) % radix**9 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "65019e42960c29ef63",
"msg": [29, 20, 1, 30, 21, 23, 24, 15, 1, 24, 17, 8, 19, 2, 13, 10, 10, 0],
"ct": [15, 24, 6, 25, 5, 28, 13, 9, 14, 0, 30, 6, 20, 9, 0, 0, 31, 28],
"result": "valid"
},
{
"tcId": 2488,
"comment": "y = 1 and (y + a) % radix**9 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "65019e42960c29ef63",
"msg": [11, 26, 12, 30, 9, 26, 26, 6, 16, 6, 30, 26, 15, 23, 25, 2, 14, 2],
"ct": [15, 28, 10, 14, 29, 29, 26, 21, 20, 29, 8, 2, 1, 1, 6, 16, 13, 8],
"result": "valid"
},
{
"tcId": 2489,
"comment": "y is maximal and (y + a) % radix**9 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "9c7f63400fbd9f5ed4",
"msg": [18, 3, 6, 19, 29, 31, 24, 4, 19, 8, 9, 13, 17, 7, 25, 19, 4, 28],
"ct": [29, 20, 14, 17, 13, 10, 16, 3, 27, 5, 4, 8, 6, 2, 29, 28, 7, 13],
"result": "valid"
},
{
"tcId": 2490,
"comment": "y is maximal and (y + a) % radix**9 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "9c7f63400fbd9f5ed4",
"msg": [16, 31, 5, 5, 5, 21, 10, 31, 12, 20, 9, 3, 19, 0, 12, 9, 25, 26],
"ct": [10, 20, 0, 2, 14, 9, 20, 23, 3, 8, 13, 23, 23, 13, 3, 6, 22, 30],
"result": "valid"
},
{
"tcId": 2491,
"comment": "y is maximal and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "9c7f63400fbd9f5ed4",
"msg": [25, 4, 26, 31, 28, 19, 21, 30, 19, 26, 23, 24, 9, 8, 20, 28, 14, 15],
"ct": [12, 10, 14, 19, 26, 29, 1, 14, 25, 23, 9, 1, 5, 14, 30, 18, 21, 3],
"result": "valid"
},
{
"tcId": 2492,
"comment": "y is maximal and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "9c7f63400fbd9f5ed4",
"msg": [16, 19, 6, 11, 26, 22, 11, 4, 25, 6, 5, 21, 16, 30, 2, 24, 12, 10],
"ct": [0, 30, 6, 10, 22, 15, 4, 20, 11, 18, 0, 6, 2, 9, 31, 20, 0, 21],
"result": "valid"
},
{
"tcId": 2493,
"comment": "y is edge case for modular reduction and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "7e506ac6ce1e6c3e13",
"msg": [5, 21, 1, 17, 11, 14, 19, 18, 23, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [31, 23, 30, 0, 14, 0, 4, 25, 14, 10, 2, 18, 12, 28, 21, 21, 26, 30],
"result": "valid"
},
{
"tcId": 2494,
"comment": "y is edge case for modular reduction and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "7e506ac6ce1e6c3e13",
"msg": [31, 5, 9, 29, 15, 25, 2, 8, 7, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [14, 16, 27, 10, 0, 7, 8, 8, 31, 0, 13, 5, 1, 14, 23, 18, 22, 5],
"result": "valid"
},
{
"tcId": 2495,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "7e506ac6ce1e6c3e13",
"msg": [9, 1, 13, 7, 30, 16, 24, 18, 15, 0, 0, 0, 0, 0, 0, 0, 0, 31],
"ct": [24, 28, 13, 5, 24, 27, 10, 19, 17, 22, 4, 4, 5, 10, 26, 8, 11, 2],
"result": "valid"
},
{
"tcId": 2496,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "7e506ac6ce1e6c3e13",
"msg": [4, 27, 22, 9, 3, 8, 7, 18, 14, 0, 0, 0, 0, 0, 0, 0, 1, 0],
"ct": [14, 11, 27, 1, 19, 26, 8, 5, 2, 29, 17, 9, 24, 16, 11, 12, 22, 3],
"result": "valid"
},
{
"tcId": 2497,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "7e506ac6ce1e6c3e13",
"msg": [22, 6, 6, 6, 15, 1, 10, 16, 17, 16, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 22, 21, 23, 28, 27, 17, 14, 25, 10, 22, 11, 8, 21, 1, 9, 13, 10],
"result": "valid"
},
{
"tcId": 2498,
"comment": "y is edge case for modular reduction and a is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "7e506ac6ce1e6c3e13",
"msg": [0, 12, 9, 27, 7, 31, 20, 15, 19, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [10, 20, 1, 10, 3, 15, 4, 1, 7, 18, 16, 25, 4, 19, 28, 8, 29, 4],
"result": "valid"
},
{
"tcId": 2499,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "81392fcebe2c71ee78",
"msg": [3, 21, 25, 25, 4, 1, 17, 7, 10, 6, 13, 11, 0, 22, 17, 10, 9, 12],
"ct": [16, 31, 6, 2, 17, 16, 11, 15, 9, 8, 29, 14, 10, 15, 8, 25, 22, 9],
"result": "valid"
},
{
"tcId": 2500,
"comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "81392fcebe2c71ee78",
"msg": [0, 21, 14, 27, 25, 5, 0, 23, 31, 28, 17, 27, 10, 22, 18, 25, 25, 4],
"ct": [14, 15, 17, 10, 20, 26, 7, 14, 1, 1, 4, 13, 30, 20, 23, 23, 26, 31],
"result": "valid"
},
{
"tcId": 2501,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "81392fcebe2c71ee78",
"msg": [23, 2, 26, 8, 16, 6, 12, 8, 28, 16, 6, 8, 13, 21, 23, 1, 30, 4],
"ct": [11, 19, 5, 3, 14, 30, 10, 16, 27, 28, 15, 15, 12, 14, 9, 4, 11, 23],
"result": "valid"
},
{
"tcId": 2502,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1",
"tweak": "81392fcebe2c71ee78",
"msg": [28, 29, 26, 3, 3, 26, 10, 8, 2, 5, 14, 30, 7, 29, 1, 28, 2, 24],
"ct": [19, 0, 22, 17, 15, 27, 7, 5, 24, 9, 30, 19, 31, 27, 5, 16, 1, 29],
"result": "valid"
},
{
"tcId": 2503,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2",
"tweak": "ff61916e9620be47",
"msg": [-1, 31, 19, 20, 29, 24, 21, 31, 25, 7, 1, 18, 26, 9, 14, 15, 3, 30],
"ct": [7, 5, 18, 8, 9, 22, 2, 14, 11, 11, 26, 4, 17, 7, 6, 15, 30, 31],
"result": "invalid"
},
{
"tcId": 2504,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2",
"tweak": "ff61916e9620be47",
"msg": [8, 31, 19, 20, 29, 24, -1, 31, 25, 7, 1, 18, 26, 9, 14, 15, 3, 30],
"ct": [13, 31, 15, 23, 20, 7, 29, 22, 29, 4, 17, 31, 25, 31, 8, 28, 22, 14],
"result": "invalid"
},
{
"tcId": 2505,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2",
"tweak": "ff61916e9620be47",
"msg": [8, 31, 19, 20, 29, 24, 21, 31, 25, 7, 1, 18, 26, 9, 14, 15, 3, -1],
"ct": [28, 27, 10, 0, 6, 3, 18, 10, 29, 1, 17, 0, 21, 25, 30, 4, 16, 13],
"result": "invalid"
},
{
"tcId": 2506,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9da33787d636b6d401a865b1e2fcabf9cebd97a2cf1e3a09ba658d3757788dfb",
"tweak": "6c6b904d2b1b3619",
"msg": [32, 12, 6, 1, 27, 10, 13, 6, 12, 30, 2, 5, 18, 29, 14, 28, 25, 16],
"ct": [30, 5, 21, 3, 11, 4, 14, 5, 24, 11, 19, 11, 4, 15, 17, 15, 8, 17],
"result": "invalid"
},
{
"tcId": 2507,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9da33787d636b6d401a865b1e2fcabf9cebd97a2cf1e3a09ba658d3757788dfb",
"tweak": "6c6b904d2b1b3619",
"msg": [18, 12, 6, 1, 27, 10, 32, 6, 12, 30, 2, 5, 18, 29, 14, 28, 25, 16],
"ct": [20, 30, 29, 26, 6, 22, 24, 6, 12, 1, 4, 9, 1, 14, 7, 4, 18, 15],
"result": "invalid"
},
{
"tcId": 2508,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9da33787d636b6d401a865b1e2fcabf9cebd97a2cf1e3a09ba658d3757788dfb",
"tweak": "6c6b904d2b1b3619",
"msg": [18, 12, 6, 1, 27, 10, 13, 6, 12, 30, 2, 5, 18, 29, 14, 28, 25, 32],
"ct": [23, 8, 31, 24, 5, 29, 16, 26, 11, 1, 3, 23, 1, 15, 10, 6, 14, 11],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 19,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2509,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "1ba9f170be79c755e07202291871538a2c1b47600b59ec264c04d27f61cd3c28",
"tweak": "c8655169a0f80a05",
"msg": [21, 29, 26, 21, 11, 31, 8, 17, 26, 26, 7, 19, 21, 20, 19, 10, 3, 13, 23],
"ct": [16, 13, 6, 27, 1, 17, 17, 15, 17, 8, 11, 31, 5, 4, 10, 13, 0, 23, 18],
"result": "valid"
},
{
"tcId": 2510,
"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": [24, 26, 10, 17, 9, 7, 3, 10, 17, 29, 8, 11, 18, 6, 11, 11, 12, 17, 24],
"result": "valid"
},
{
"tcId": 2511,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [5, 11, 26, 2, 9, 16, 20, 6, 22, 2, 10, 4, 11, 16, 12, 0, 18, 4, 17],
"result": "valid"
},
{
"tcId": 2512,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [4, 29, 22, 12, 16, 20, 5, 12, 24, 29, 9, 27, 24, 30, 20, 30, 1, 5, 12],
"result": "valid"
},
{
"tcId": 2513,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [15, 12, 19, 29, 21, 31, 29, 24, 6, 31, 16, 2, 31, 29, 17, 0, 23, 31, 2],
"result": "valid"
},
{
"tcId": 2514,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [9, 7, 15, 30, 15, 9, 28, 7, 10, 21, 11, 11, 6, 22, 29, 14, 21, 15, 13],
"ct": [5, 7, 1, 1, 0, 27, 29, 23, 10, 16, 8, 7, 23, 22, 8, 17, 3, 5, 14],
"result": "valid"
},
{
"tcId": 2515,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [6, 24, 31, 25, 22, 23, 3, 16, 23, 11, 4, 23, 15, 7, 4, 5, 25, 3, 16],
"ct": [16, 28, 20, 31, 23, 6, 16, 23, 24, 20, 26, 20, 5, 16, 22, 11, 12, 0, 13],
"result": "valid"
},
{
"tcId": 2516,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [13, 12, 26, 23, 5, 30, 8, 5, 24, 27, 9, 19, 8, 15, 23, 15, 3, 14, 31],
"ct": [5, 13, 0, 9, 5, 21, 26, 14, 22, 20, 29, 23, 11, 0, 25, 20, 20, 24, 16],
"result": "valid"
},
{
"tcId": 2517,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [24, 25, 10, 10, 6, 15, 26, 11, 28, 8, 15, 5, 25, 12, 20, 27, 9, 0, 22],
"ct": [1, 0, 18, 8, 28, 21, 26, 17, 31, 1, 24, 10, 16, 6, 16, 14, 8, 12, 6],
"result": "valid"
},
{
"tcId": 2518,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [16, 30, 9, 24, 9, 18, 30, 22, 13, 0, 5, 14, 0, 28, 31, 13, 17, 28, 12],
"ct": [12, 15, 13, 4, 7, 10, 15, 3, 14, 24, 18, 1, 5, 5, 9, 13, 29, 30, 22],
"result": "valid"
},
{
"tcId": 2519,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [25, 3, 22, 15, 0, 27, 25, 5, 19, 11, 7, 21, 25, 9, 4, 15, 29, 10, 6],
"ct": [19, 20, 18, 22, 9, 26, 17, 11, 23, 31, 0, 1, 20, 17, 16, 23, 15, 21, 23],
"result": "valid"
},
{
"tcId": 2520,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [2, 17, 9, 19, 28, 7, 4, 3, 26, 23, 7, 20, 29, 16, 27, 17, 16, 5, 30],
"ct": [18, 1, 23, 8, 6, 13, 23, 4, 10, 7, 20, 8, 11, 10, 8, 3, 1, 17, 10],
"result": "valid"
},
{
"tcId": 2521,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [28, 7, 5, 0, 11, 4, 13, 6, 22, 22, 27, 7, 20, 11, 7, 1, 11, 0, 1],
"ct": [18, 18, 17, 17, 21, 5, 3, 30, 26, 1, 6, 3, 3, 29, 29, 7, 1, 8, 7],
"result": "valid"
},
{
"tcId": 2522,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [13, 20, 14, 7, 29, 31, 7, 31, 16, 22, 28, 6, 0, 17, 20, 27, 4, 10, 2],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2523,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [10, 25, 5, 25, 0, 12, 17, 1, 15, 6, 8, 14, 8, 24, 24, 20, 22, 5, 15],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2524,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [1, 7, 16, 31, 31, 3, 8, 13, 11, 9, 3, 16, 22, 10, 31, 17, 0, 10, 20],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2525,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d",
"tweak": "8aba2989a0fe4e14",
"msg": [18, 22, 22, 22, 11, 6, 4, 27, 29, 26, 15, 30, 9, 6, 21, 19, 1, 2, 29],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2526,
"comment": "y is edge case for modular reduction and a = 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "74bf5695e7ef225f",
"msg": [20, 25, 15, 21, 14, 10, 27, 11, 1, 25, 20, 20, 13, 29, 12, 24, 24, 25, 14],
"ct": [31, 10, 12, 14, 30, 15, 20, 9, 22, 18, 18, 28, 4, 9, 23, 27, 7, 5, 12],
"result": "valid"
},
{
"tcId": 2527,
"comment": "y is edge case for modular reduction and a = 1 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "74bf5695e7ef225f",
"msg": [5, 2, 19, 27, 10, 4, 22, 0, 9, 1, 10, 19, 8, 31, 7, 24, 29, 18, 31],
"ct": [13, 10, 27, 9, 28, 22, 13, 14, 13, 11, 28, 27, 22, 8, 26, 21, 24, 21, 2],
"result": "valid"
},
{
"tcId": 2528,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "74bf5695e7ef225f",
"msg": [30, 23, 31, 22, 6, 11, 10, 8, 6, 3, 9, 19, 21, 11, 13, 6, 18, 29, 18],
"ct": [25, 28, 17, 20, 31, 2, 0, 7, 5, 23, 22, 3, 15, 21, 24, 31, 16, 4, 13],
"result": "valid"
},
{
"tcId": 2529,
"comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "74bf5695e7ef225f",
"msg": [1, 29, 4, 18, 6, 29, 25, 5, 9, 4, 5, 0, 23, 19, 21, 2, 15, 15, 16],
"ct": [15, 28, 30, 19, 13, 18, 23, 17, 17, 28, 24, 0, 22, 30, 14, 23, 6, 29, 15],
"result": "valid"
},
{
"tcId": 2530,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "74bf5695e7ef225f",
"msg": [13, 21, 7, 20, 21, 12, 21, 19, 11, 2, 30, 3, 19, 14, 10, 13, 9, 28, 14],
"ct": [13, 20, 13, 8, 2, 9, 9, 16, 10, 22, 22, 12, 15, 18, 2, 24, 13, 12, 11],
"result": "valid"
},
{
"tcId": 2531,
"comment": "y is edge case for modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67",
"tweak": "74bf5695e7ef225f",
"msg": [2, 1, 0, 11, 2, 25, 26, 20, 0, 22, 10, 14, 16, 10, 4, 21, 20, 19, 5],
"ct": [16, 6, 9, 20, 30, 29, 26, 7, 16, 29, 5, 6, 30, 9, 21, 18, 7, 15, 17],
"result": "valid"
},
{
"tcId": 2532,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0",
"tweak": "9561fc88a8ee3dda",
"msg": [-1, 24, 9, 0, 17, 8, 0, 10, 11, 4, 4, 3, 26, 9, 5, 19, 21, 7, 30],
"ct": [20, 21, 16, 8, 8, 23, 25, 18, 24, 16, 10, 22, 23, 3, 4, 17, 8, 27, 27],
"result": "invalid"
},
{
"tcId": 2533,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0",
"tweak": "9561fc88a8ee3dda",
"msg": [11, 24, 9, 0, 17, 8, -1, 10, 11, 4, 4, 3, 26, 9, 5, 19, 21, 7, 30],
"ct": [6, 31, 4, 5, 12, 10, 18, 17, 10, 6, 11, 7, 16, 20, 23, 10, 0, 22, 8],
"result": "invalid"
},
{
"tcId": 2534,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0",
"tweak": "9561fc88a8ee3dda",
"msg": [11, 24, 9, 0, 17, 8, 0, 10, 11, 4, 4, 3, 26, 9, 5, 19, 21, 7, -1],
"ct": [14, 13, 3, 16, 6, 24, 2, 6, 10, 4, 7, 28, 30, 7, 14, 17, 31, 5, 18],
"result": "invalid"
},
{
"tcId": 2535,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ee7cffd52f04048e95921a01e68ee9abf4aacb5018f531e794bb966970e94e5e",
"tweak": "37f2655014dcf378",
"msg": [32, 23, 23, 6, 16, 21, 8, 25, 21, 12, 16, 7, 4, 14, 28, 31, 31, 30, 10],
"ct": [17, 30, 17, 22, 28, 16, 1, 15, 19, 2, 3, 22, 25, 11, 16, 0, 20, 31, 24],
"result": "invalid"
},
{
"tcId": 2536,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ee7cffd52f04048e95921a01e68ee9abf4aacb5018f531e794bb966970e94e5e",
"tweak": "37f2655014dcf378",
"msg": [28, 23, 23, 6, 16, 21, 32, 25, 21, 12, 16, 7, 4, 14, 28, 31, 31, 30, 10],
"ct": [5, 23, 5, 3, 2, 17, 11, 0, 29, 13, 9, 23, 31, 18, 14, 0, 20, 9, 4],
"result": "invalid"
},
{
"tcId": 2537,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ee7cffd52f04048e95921a01e68ee9abf4aacb5018f531e794bb966970e94e5e",
"tweak": "37f2655014dcf378",
"msg": [28, 23, 23, 6, 16, 21, 8, 25, 21, 12, 16, 7, 4, 14, 28, 31, 31, 30, 32],
"ct": [1, 18, 26, 12, 8, 4, 20, 28, 4, 8, 23, 25, 31, 0, 27, 13, 17, 18, 27],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 20,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2538,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "4c4c444584b22485ca88c6afcdbb7beb70c7271f1dece986e93f8c26dceedde2",
"tweak": "be2f2b3534bdde03",
"msg": [31, 25, 2, 26, 8, 2, 10, 7, 25, 21, 13, 7, 4, 13, 23, 9, 9, 10, 3, 25],
"ct": [22, 15, 15, 24, 8, 20, 29, 30, 13, 12, 6, 17, 20, 26, 24, 10, 8, 18, 25, 7],
"result": "valid"
},
{
"tcId": 2539,
"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": [11, 21, 8, 22, 1, 13, 2, 31, 0, 22, 12, 15, 5, 16, 3, 23, 29, 31, 4, 10],
"result": "valid"
},
{
"tcId": 2540,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [10, 17, 21, 31, 24, 14, 30, 28, 18, 24, 3, 20, 7, 2, 22, 17, 13, 18, 17, 1],
"result": "valid"
},
{
"tcId": 2541,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [2, 0, 13, 0, 10, 16, 14, 29, 13, 25, 16, 12, 3, 9, 20, 25, 17, 26, 15, 11],
"result": "valid"
},
{
"tcId": 2542,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [17, 1, 19, 27, 28, 24, 7, 27, 1, 22, 17, 3, 7, 14, 4, 23, 5, 7, 15, 28],
"result": "valid"
},
{
"tcId": 2543,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [31, 1, 15, 5, 31, 14, 13, 24, 17, 1, 8, 31, 10, 14, 25, 20, 24, 9, 16, 20],
"ct": [25, 23, 22, 15, 28, 13, 7, 1, 9, 13, 24, 20, 11, 6, 5, 2, 24, 5, 10, 2],
"result": "valid"
},
{
"tcId": 2544,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [7, 28, 11, 1, 2, 27, 28, 7, 22, 8, 28, 24, 24, 2, 19, 29, 0, 14, 7, 26],
"ct": [24, 1, 10, 31, 15, 23, 27, 23, 18, 2, 7, 6, 2, 22, 22, 31, 0, 30, 23, 27],
"result": "valid"
},
{
"tcId": 2545,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [18, 2, 12, 0, 5, 14, 14, 10, 1, 5, 17, 2, 28, 14, 30, 18, 16, 31, 24, 26],
"ct": [31, 8, 23, 12, 16, 21, 17, 5, 13, 20, 16, 17, 24, 17, 14, 7, 10, 1, 30, 8],
"result": "valid"
},
{
"tcId": 2546,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [22, 26, 12, 11, 30, 13, 18, 3, 27, 22, 4, 27, 16, 19, 4, 29, 24, 7, 6, 15],
"ct": [26, 10, 24, 11, 9, 24, 31, 29, 27, 2, 22, 13, 12, 17, 15, 23, 9, 23, 8, 16],
"result": "valid"
},
{
"tcId": 2547,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [25, 15, 13, 31, 1, 21, 28, 5, 3, 17, 0, 29, 18, 4, 26, 2, 25, 25, 4, 13],
"ct": [14, 17, 31, 27, 9, 6, 13, 10, 30, 19, 4, 24, 7, 1, 9, 14, 14, 2, 3, 22],
"result": "valid"
},
{
"tcId": 2548,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [15, 20, 31, 8, 22, 9, 9, 12, 16, 11, 9, 26, 1, 30, 2, 28, 4, 14, 16, 0],
"ct": [13, 7, 10, 11, 7, 21, 9, 31, 23, 11, 18, 19, 1, 30, 3, 18, 24, 25, 1, 6],
"result": "valid"
},
{
"tcId": 2549,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [5, 2, 13, 15, 5, 7, 22, 6, 11, 18, 26, 22, 13, 27, 20, 9, 20, 14, 12, 24],
"ct": [30, 0, 29, 15, 1, 18, 9, 6, 8, 21, 29, 3, 27, 6, 7, 18, 27, 30, 19, 2],
"result": "valid"
},
{
"tcId": 2550,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [7, 6, 18, 9, 14, 19, 31, 1, 12, 21, 7, 2, 23, 25, 26, 22, 19, 26, 9, 18],
"ct": [0, 1, 1, 19, 18, 5, 11, 25, 30, 23, 0, 4, 30, 11, 0, 16, 2, 17, 1, 2],
"result": "valid"
},
{
"tcId": 2551,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [13, 1, 2, 16, 25, 7, 5, 8, 16, 6, 18, 30, 13, 1, 7, 1, 1, 7, 24, 26],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2552,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [11, 14, 8, 11, 3, 7, 21, 26, 27, 4, 7, 0, 18, 28, 5, 7, 20, 30, 27, 22],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2553,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [24, 18, 4, 23, 22, 19, 9, 0, 19, 27, 18, 8, 28, 24, 25, 3, 14, 27, 22, 6],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2554,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26",
"tweak": "14a5f056d3d03443",
"msg": [14, 26, 30, 21, 22, 27, 10, 17, 3, 2, 29, 10, 0, 7, 24, 25, 28, 16, 28, 20],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2555,
"comment": "y = 0 and (y + a) % radix**10 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "e54f4ac8c152b2b2",
"msg": [13, 18, 20, 25, 14, 1, 17, 26, 6, 11, 4, 25, 30, 6, 14, 3, 3, 16, 17, 2],
"ct": [18, 3, 31, 5, 6, 21, 27, 26, 22, 19, 6, 3, 11, 8, 25, 31, 12, 16, 16, 27],
"result": "valid"
},
{
"tcId": 2556,
"comment": "y = 0 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "e54f4ac8c152b2b2",
"msg": [13, 23, 11, 14, 4, 27, 31, 3, 8, 18, 0, 27, 14, 27, 9, 20, 31, 2, 26, 5],
"ct": [25, 25, 8, 10, 0, 12, 30, 5, 11, 20, 4, 22, 27, 3, 22, 6, 27, 28, 15, 11],
"result": "valid"
},
{
"tcId": 2557,
"comment": "y = 0 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "e54f4ac8c152b2b2",
"msg": [28, 2, 12, 1, 16, 11, 8, 9, 4, 4, 28, 9, 7, 18, 0, 11, 24, 14, 22, 12],
"ct": [17, 18, 16, 31, 29, 15, 3, 18, 1, 12, 2, 26, 30, 16, 25, 17, 26, 17, 4, 15],
"result": "valid"
},
{
"tcId": 2558,
"comment": "y = 0 and (y + a) % radix**10 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "e54f4ac8c152b2b2",
"msg": [17, 19, 30, 19, 30, 25, 13, 2, 2, 14, 6, 17, 21, 23, 12, 26, 23, 12, 4, 16],
"ct": [24, 27, 17, 7, 23, 0, 13, 28, 5, 5, 17, 14, 16, 19, 12, 2, 1, 31, 12, 10],
"result": "valid"
},
{
"tcId": 2559,
"comment": "y = 1 and a = 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "87de90aec2eff2b4",
"msg": [12, 23, 13, 28, 19, 9, 2, 4, 23, 3, 19, 9, 6, 25, 24, 30, 22, 29, 13, 10],
"ct": [23, 12, 16, 9, 7, 1, 26, 15, 27, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 2560,
"comment": "y = 1 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "87de90aec2eff2b4",
"msg": [5, 18, 12, 8, 2, 4, 11, 28, 29, 25, 4, 20, 5, 9, 5, 15, 17, 12, 1, 27],
"ct": [23, 12, 16, 9, 7, 1, 26, 15, 27, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2],
"result": "valid"
},
{
"tcId": 2561,
"comment": "y = 1 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "87de90aec2eff2b4",
"msg": [11, 29, 2, 14, 0, 14, 19, 24, 11, 9, 13, 13, 28, 19, 19, 27, 1, 11, 7, 30],
"ct": [23, 12, 16, 9, 7, 1, 26, 15, 27, 6, 16, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 2562,
"comment": "y = 1 and (y + a) % radix**10 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "87de90aec2eff2b4",
"msg": [8, 27, 21, 6, 29, 3, 19, 18, 10, 8, 12, 21, 28, 12, 0, 8, 17, 21, 12, 26],
"ct": [23, 12, 16, 9, 7, 1, 26, 15, 27, 6, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2563,
"comment": "y = 1 and (y + a) % radix**10 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "87de90aec2eff2b4",
"msg": [10, 25, 5, 23, 27, 25, 3, 22, 17, 14, 19, 17, 27, 1, 24, 16, 27, 2, 2, 4],
"ct": [23, 12, 16, 9, 7, 1, 26, 15, 27, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2564,
"comment": "y is edge case for modular reduction and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "beafa4ae6b5e0b18",
"msg": [15, 9, 12, 27, 19, 6, 12, 0, 12, 4, 31, 27, 7, 6, 17, 24, 16, 15, 6, 24],
"ct": [4, 6, 26, 21, 20, 6, 17, 15, 28, 16, 15, 5, 9, 7, 21, 31, 21, 20, 10, 23],
"result": "valid"
},
{
"tcId": 2565,
"comment": "y is edge case for modular reduction and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "beafa4ae6b5e0b18",
"msg": [7, 31, 16, 10, 5, 26, 6, 3, 10, 2, 24, 5, 23, 15, 17, 10, 21, 28, 2, 20],
"ct": [8, 0, 9, 1, 15, 23, 11, 23, 29, 22, 30, 25, 0, 31, 10, 26, 17, 10, 19, 29],
"result": "valid"
},
{
"tcId": 2566,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "beafa4ae6b5e0b18",
"msg": [2, 18, 4, 9, 2, 21, 4, 21, 18, 7, 23, 31, 24, 16, 13, 24, 24, 19, 21, 11],
"ct": [17, 6, 22, 7, 23, 16, 3, 20, 27, 21, 10, 14, 28, 14, 19, 8, 17, 5, 25, 12],
"result": "valid"
},
{
"tcId": 2567,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "beafa4ae6b5e0b18",
"msg": [5, 4, 8, 9, 6, 26, 21, 28, 27, 14, 15, 8, 5, 15, 30, 9, 29, 18, 2, 7],
"ct": [23, 8, 4, 27, 31, 18, 2, 27, 5, 31, 9, 28, 13, 31, 0, 15, 12, 12, 2, 18],
"result": "valid"
},
{
"tcId": 2568,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "beafa4ae6b5e0b18",
"msg": [2, 0, 26, 9, 6, 25, 24, 23, 29, 7, 1, 3, 12, 25, 2, 2, 27, 12, 3, 7],
"ct": [29, 20, 13, 29, 19, 12, 27, 16, 11, 24, 23, 10, 3, 17, 9, 8, 25, 20, 2, 27],
"result": "valid"
},
{
"tcId": 2569,
"comment": "y is edge case for modular reduction and a is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "beafa4ae6b5e0b18",
"msg": [31, 29, 15, 10, 25, 26, 21, 4, 18, 20, 7, 10, 0, 6, 8, 11, 10, 15, 2, 16],
"ct": [7, 23, 16, 0, 21, 24, 28, 26, 4, 9, 12, 26, 13, 28, 20, 23, 5, 25, 14, 25],
"result": "valid"
},
{
"tcId": 2570,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "57ab2b7f0a3dc6c7",
"msg": [20, 19, 23, 0, 30, 20, 19, 18, 8, 5, 29, 3, 15, 26, 20, 13, 21, 3, 18, 31],
"ct": [0, 4, 29, 5, 13, 7, 25, 14, 7, 27, 18, 9, 15, 22, 20, 13, 22, 22, 30, 15],
"result": "valid"
},
{
"tcId": 2571,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "57ab2b7f0a3dc6c7",
"msg": [17, 15, 12, 20, 13, 28, 10, 26, 19, 15, 15, 19, 11, 21, 29, 22, 18, 2, 16, 4],
"ct": [22, 9, 30, 21, 31, 28, 12, 5, 15, 20, 16, 5, 4, 12, 14, 29, 20, 12, 23, 5],
"result": "valid"
},
{
"tcId": 2572,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "57ab2b7f0a3dc6c7",
"msg": [16, 10, 6, 24, 25, 11, 18, 29, 5, 6, 31, 1, 9, 9, 30, 29, 8, 27, 17, 10],
"ct": [31, 18, 10, 13, 17, 5, 25, 14, 28, 6, 28, 10, 7, 30, 12, 2, 0, 15, 1, 26],
"result": "valid"
},
{
"tcId": 2573,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5",
"tweak": "57ab2b7f0a3dc6c7",
"msg": [24, 31, 2, 23, 13, 21, 28, 28, 22, 1, 0, 13, 2, 25, 4, 24, 6, 30, 13, 25],
"ct": [18, 23, 19, 0, 4, 23, 3, 2, 4, 21, 5, 31, 10, 31, 10, 15, 6, 29, 8, 22],
"result": "valid"
},
{
"tcId": 2574,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28",
"tweak": "daa46c7bc98cf1f4",
"msg": [-1, 5, 14, 7, 9, 12, 5, 18, 19, 26, 7, 18, 14, 16, 29, 15, 16, 15, 15, 25],
"ct": [21, 15, 12, 13, 15, 21, 24, 15, 27, 15, 8, 31, 12, 23, 30, 22, 12, 19, 25, 30],
"result": "invalid"
},
{
"tcId": 2575,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28",
"tweak": "daa46c7bc98cf1f4",
"msg": [11, 5, 14, 7, 9, 12, -1, 18, 19, 26, 7, 18, 14, 16, 29, 15, 16, 15, 15, 25],
"ct": [17, 17, 9, 5, 16, 2, 17, 30, 9, 4, 0, 0, 22, 18, 1, 18, 4, 15, 23, 10],
"result": "invalid"
},
{
"tcId": 2576,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28",
"tweak": "daa46c7bc98cf1f4",
"msg": [11, 5, 14, 7, 9, 12, 5, 18, 19, 26, 7, 18, 14, 16, 29, 15, 16, 15, 15, -1],
"ct": [21, 15, 23, 11, 19, 0, 15, 18, 21, 4, 22, 10, 13, 18, 24, 23, 30, 31, 14, 14],
"result": "invalid"
},
{
"tcId": 2577,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2a64c2acdb4769c0828b846235b9fdce83affe810c288fb3ca9f07b0fb198835",
"tweak": "bc1b71244f5b1c2a",
"msg": [32, 27, 17, 13, 11, 28, 12, 0, 13, 2, 8, 26, 0, 0, 2, 23, 22, 27, 19, 2],
"ct": [4, 18, 3, 16, 27, 9, 0, 13, 7, 24, 16, 31, 4, 16, 19, 29, 28, 18, 5, 31],
"result": "invalid"
},
{
"tcId": 2578,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2a64c2acdb4769c0828b846235b9fdce83affe810c288fb3ca9f07b0fb198835",
"tweak": "bc1b71244f5b1c2a",
"msg": [18, 27, 17, 13, 11, 28, 32, 0, 13, 2, 8, 26, 0, 0, 2, 23, 22, 27, 19, 2],
"ct": [2, 13, 22, 29, 20, 0, 24, 18, 26, 8, 16, 5, 21, 1, 7, 18, 26, 12, 23, 19],
"result": "invalid"
},
{
"tcId": 2579,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "2a64c2acdb4769c0828b846235b9fdce83affe810c288fb3ca9f07b0fb198835",
"tweak": "bc1b71244f5b1c2a",
"msg": [18, 27, 17, 13, 11, 28, 12, 0, 13, 2, 8, 26, 0, 0, 2, 23, 22, 27, 19, 32],
"ct": [28, 27, 23, 22, 13, 25, 7, 17, 16, 24, 18, 29, 9, 24, 13, 7, 25, 11, 23, 4],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 21,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2580,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "dda27ee12a33f1e1d641185aa62d77f8788cb29adf7c1d869e5476e04cf8d6a2",
"tweak": "a07df02be247e7f9",
"msg": [24, 17, 10, 27, 2, 23, 30, 11, 6, 31, 16, 8, 11, 18, 31, 19, 6, 9, 30, 4, 22],
"ct": [5, 27, 11, 9, 29, 11, 12, 0, 18, 30, 25, 7, 15, 27, 23, 30, 1, 25, 13, 11, 1],
"result": "valid"
},
{
"tcId": 2581,
"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": [11, 23, 29, 5, 4, 8, 6, 25, 18, 23, 17, 26, 19, 27, 28, 21, 20, 16, 11, 16, 20],
"result": "valid"
},
{
"tcId": 2582,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [25, 22, 2, 28, 23, 24, 9, 12, 14, 3, 6, 1, 2, 22, 31, 14, 24, 2, 9, 17, 23],
"result": "valid"
},
{
"tcId": 2583,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [30, 0, 2, 17, 9, 2, 3, 11, 9, 22, 17, 3, 1, 13, 13, 4, 26, 21, 16, 24, 21],
"result": "valid"
},
{
"tcId": 2584,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [2, 21, 31, 9, 4, 24, 31, 12, 1, 28, 9, 15, 10, 5, 6, 9, 19, 16, 16, 30, 16],
"result": "valid"
},
{
"tcId": 2585,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [20, 23, 10, 14, 10, 10, 14, 19, 7, 2, 5, 13, 17, 3, 10, 4, 11, 9, 5, 3, 2],
"ct": [8, 26, 1, 9, 29, 23, 17, 17, 2, 4, 5, 5, 15, 9, 24, 19, 21, 11, 18, 29, 28],
"result": "valid"
},
{
"tcId": 2586,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [4, 28, 4, 17, 16, 22, 8, 3, 1, 14, 17, 8, 10, 9, 4, 16, 12, 9, 2, 8, 28],
"ct": [7, 19, 25, 2, 5, 11, 11, 13, 6, 30, 10, 11, 5, 31, 10, 19, 11, 17, 7, 25, 26],
"result": "valid"
},
{
"tcId": 2587,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [7, 0, 21, 16, 11, 2, 12, 11, 3, 26, 1, 15, 19, 16, 28, 10, 2, 19, 2, 25, 6],
"ct": [0, 1, 12, 23, 1, 13, 9, 22, 20, 14, 30, 18, 1, 10, 20, 22, 14, 21, 25, 30, 10],
"result": "valid"
},
{
"tcId": 2588,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [11, 3, 27, 19, 26, 5, 16, 30, 15, 9, 15, 19, 14, 12, 0, 23, 11, 20, 22, 27, 13],
"ct": [15, 20, 10, 26, 17, 19, 25, 17, 16, 13, 17, 21, 20, 7, 1, 18, 15, 19, 24, 12, 4],
"result": "valid"
},
{
"tcId": 2589,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [18, 2, 19, 10, 23, 31, 3, 15, 14, 19, 19, 25, 8, 23, 26, 19, 28, 16, 22, 26, 25],
"ct": [28, 1, 3, 30, 31, 0, 17, 26, 4, 13, 23, 7, 11, 9, 17, 12, 7, 11, 17, 1, 3],
"result": "valid"
},
{
"tcId": 2590,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [19, 12, 14, 25, 30, 22, 3, 20, 15, 25, 22, 2, 28, 17, 7, 16, 3, 24, 6, 7, 16],
"ct": [12, 1, 10, 12, 5, 1, 26, 6, 6, 6, 29, 29, 29, 24, 10, 21, 5, 7, 13, 31, 3],
"result": "valid"
},
{
"tcId": 2591,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [27, 3, 16, 17, 29, 30, 3, 4, 11, 7, 5, 10, 1, 4, 21, 28, 4, 12, 23, 3, 15],
"ct": [3, 30, 17, 8, 31, 30, 9, 4, 14, 9, 19, 19, 27, 16, 11, 1, 29, 6, 9, 27, 16],
"result": "valid"
},
{
"tcId": 2592,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [8, 9, 7, 19, 13, 7, 6, 7, 2, 21, 15, 23, 24, 20, 17, 26, 1, 21, 21, 22, 26],
"ct": [9, 12, 30, 13, 21, 28, 1, 18, 23, 3, 26, 7, 3, 8, 26, 30, 25, 29, 28, 3, 15],
"result": "valid"
},
{
"tcId": 2593,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [0, 19, 31, 25, 13, 16, 1, 26, 25, 17, 3, 4, 0, 16, 28, 6, 12, 1, 28, 28, 5],
"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": 2594,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [27, 22, 11, 22, 10, 8, 23, 24, 30, 15, 25, 0, 13, 26, 21, 25, 30, 2, 15, 11, 29],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2595,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [24, 15, 15, 15, 3, 31, 0, 5, 24, 23, 11, 30, 20, 22, 17, 10, 17, 20, 8, 0, 26],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2596,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62",
"tweak": "15ed7a9f2c4ead98",
"msg": [14, 30, 31, 20, 14, 13, 24, 25, 12, 17, 5, 30, 8, 21, 4, 29, 19, 12, 31, 0, 0],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2597,
"comment": "y = 0 and (y + a) % radix**10 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "270033d032f2625a",
"msg": [21, 22, 24, 10, 3, 5, 26, 25, 5, 16, 16, 5, 18, 30, 30, 8, 21, 4, 30, 31, 28],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 29, 10, 7, 20, 11, 13, 26, 11, 19, 29],
"result": "valid"
},
{
"tcId": 2598,
"comment": "y = 0 and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "270033d032f2625a",
"msg": [22, 20, 15, 6, 10, 11, 28, 19, 21, 10, 9, 29, 14, 27, 6, 2, 11, 8, 21, 19, 21],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 15, 12, 26, 13, 24, 22, 4, 19, 18, 27, 27],
"result": "valid"
},
{
"tcId": 2599,
"comment": "y = 0 and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "270033d032f2625a",
"msg": [29, 29, 4, 0, 1, 24, 11, 3, 19, 3, 27, 7, 28, 25, 31, 2, 14, 0, 11, 28, 19],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 6, 19, 31, 16, 6, 31, 24, 12, 23, 24],
"result": "valid"
},
{
"tcId": 2600,
"comment": "y = 0 and (y + a) % radix**10 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "270033d032f2625a",
"msg": [18, 10, 14, 14, 31, 31, 12, 21, 12, 22, 15, 0, 30, 1, 22, 27, 29, 11, 10, 9, 27],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 28, 6, 0, 9, 13, 15, 17, 30, 26, 2, 29],
"result": "valid"
},
{
"tcId": 2601,
"comment": "y = 1 and a = 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "8bbef1be1540ba3e",
"msg": [22, 13, 11, 14, 20, 6, 1, 24, 4, 5, 21, 24, 4, 6, 24, 8, 28, 17, 25, 23, 21],
"ct": [26, 3, 9, 31, 4, 22, 31, 28, 13, 8, 11, 20, 26, 13, 26, 24, 3, 21, 20, 27, 13],
"result": "valid"
},
{
"tcId": 2602,
"comment": "y = 1 and a = 1 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "8bbef1be1540ba3e",
"msg": [25, 13, 28, 3, 23, 23, 10, 29, 23, 7, 8, 17, 31, 1, 11, 22, 5, 4, 26, 20, 19],
"ct": [16, 11, 7, 21, 12, 17, 24, 13, 16, 6, 11, 15, 5, 7, 17, 0, 6, 5, 5, 4, 12],
"result": "valid"
},
{
"tcId": 2603,
"comment": "y = 1 and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "8bbef1be1540ba3e",
"msg": [26, 30, 17, 19, 20, 11, 9, 9, 0, 0, 13, 30, 20, 18, 25, 7, 21, 3, 16, 26, 3],
"ct": [2, 3, 4, 23, 17, 7, 16, 2, 25, 23, 7, 0, 3, 2, 17, 8, 23, 13, 7, 28, 0],
"result": "valid"
},
{
"tcId": 2604,
"comment": "y = 1 and (y + a) % radix**10 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "8bbef1be1540ba3e",
"msg": [20, 26, 31, 22, 22, 3, 29, 6, 0, 28, 6, 1, 28, 7, 24, 19, 31, 1, 2, 12, 16],
"ct": [30, 12, 30, 8, 27, 16, 23, 20, 16, 23, 2, 11, 8, 16, 3, 21, 24, 22, 31, 6, 10],
"result": "valid"
},
{
"tcId": 2605,
"comment": "y = 1 and (y + a) % radix**10 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "8bbef1be1540ba3e",
"msg": [0, 31, 20, 15, 2, 26, 24, 27, 22, 22, 19, 6, 16, 12, 0, 17, 14, 11, 15, 22, 1],
"ct": [8, 22, 4, 24, 10, 6, 3, 18, 29, 29, 29, 6, 6, 23, 29, 10, 0, 25, 28, 2, 11],
"result": "valid"
},
{
"tcId": 2606,
"comment": "y is maximal and (y + a) % radix**10 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "c1382593b40886a4",
"msg": [10, 30, 0, 29, 12, 11, 24, 0, 10, 6, 19, 13, 20, 22, 6, 7, 14, 23, 15, 21, 27],
"ct": [30, 13, 26, 26, 5, 9, 15, 0, 2, 16, 13, 7, 15, 0, 3, 30, 4, 23, 19, 26, 1],
"result": "valid"
},
{
"tcId": 2607,
"comment": "y is maximal and (y + a) % radix**10 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "c1382593b40886a4",
"msg": [20, 9, 18, 26, 12, 10, 20, 3, 29, 21, 28, 9, 13, 7, 29, 0, 31, 21, 11, 15, 18],
"ct": [15, 13, 27, 25, 6, 16, 28, 22, 28, 31, 0, 14, 29, 27, 29, 29, 28, 19, 1, 23, 23],
"result": "valid"
},
{
"tcId": 2608,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "c1382593b40886a4",
"msg": [27, 24, 5, 22, 26, 6, 19, 27, 28, 14, 16, 27, 0, 0, 16, 11, 14, 4, 27, 16, 24],
"ct": [5, 14, 12, 24, 2, 30, 10, 10, 20, 5, 25, 22, 6, 7, 22, 0, 29, 24, 30, 21, 0],
"result": "valid"
},
{
"tcId": 2609,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "c1382593b40886a4",
"msg": [21, 16, 13, 23, 27, 12, 13, 12, 4, 17, 28, 3, 16, 17, 5, 5, 8, 7, 17, 18, 27],
"ct": [30, 6, 30, 28, 21, 18, 11, 8, 27, 28, 29, 7, 30, 26, 27, 16, 0, 18, 26, 9, 14],
"result": "valid"
},
{
"tcId": 2610,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "decd96fe18235084",
"msg": [11, 27, 31, 10, 18, 22, 10, 31, 10, 0, 31, 20, 4, 31, 12, 17, 2, 10, 17, 19, 29],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 0, 24, 2, 7, 11, 28, 6, 9, 19, 24, 17, 7],
"result": "valid"
},
{
"tcId": 2611,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "decd96fe18235084",
"msg": [17, 14, 13, 11, 0, 14, 6, 23, 1, 13, 13, 11, 27, 27, 26, 15, 7, 26, 0, 15, 19],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 1, 12, 31, 29, 4, 25, 8, 30, 7, 16, 25, 13],
"result": "valid"
},
{
"tcId": 2612,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "decd96fe18235084",
"msg": [3, 22, 1, 27, 14, 1, 26, 21, 13, 7, 24, 22, 14, 21, 0, 24, 25, 13, 1, 22, 30],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 30, 26, 20, 4, 9, 13, 22, 27, 5, 4, 8],
"result": "valid"
},
{
"tcId": 2613,
"comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "decd96fe18235084",
"msg": [10, 4, 1, 8, 20, 29, 23, 12, 22, 18, 9, 2, 3, 29, 15, 22, 3, 1, 9, 5, 31],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 28, 8, 12, 3, 6, 7, 2, 19, 28, 3],
"result": "valid"
},
{
"tcId": 2614,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "decd96fe18235084",
"msg": [22, 21, 29, 24, 5, 31, 8, 21, 25, 12, 23, 30, 4, 3, 1, 8, 25, 21, 30, 19, 0],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 0, 23, 16, 17, 19, 15, 30, 21, 19, 29, 10, 1],
"result": "valid"
},
{
"tcId": 2615,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "decd96fe18235084",
"msg": [21, 10, 0, 15, 4, 30, 21, 4, 20, 28, 18, 1, 5, 2, 13, 16, 14, 15, 7, 29, 10],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 30, 31, 1, 15, 19, 18, 1, 25, 29, 31, 18, 26, 1],
"result": "valid"
},
{
"tcId": 2616,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "bb24bcfc3f32a7f6",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 12, 8, 10, 21, 1, 9, 7, 28, 27, 8],
"ct": [26, 6, 18, 8, 31, 23, 10, 2, 8, 23, 22, 8, 9, 18, 19, 6, 20, 18, 21, 25, 6],
"result": "valid"
},
{
"tcId": 2617,
"comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "bb24bcfc3f32a7f6",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 28, 12, 8, 10, 21, 1, 9, 7, 28, 27, 8],
"ct": [26, 26, 7, 11, 8, 30, 9, 17, 25, 5, 14, 3, 18, 23, 4, 8, 30, 1, 15, 28, 30],
"result": "valid"
},
{
"tcId": 2618,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "bb24bcfc3f32a7f6",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 12, 8, 10, 21, 1, 9, 7, 28, 27, 8],
"ct": [9, 18, 21, 16, 2, 14, 12, 5, 11, 3, 1, 31, 21, 3, 0, 6, 27, 31, 21, 8, 23],
"result": "valid"
},
{
"tcId": 2619,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02",
"tweak": "bb24bcfc3f32a7f6",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 28, 12, 8, 10, 21, 1, 9, 7, 28, 27, 8],
"ct": [16, 27, 21, 1, 16, 28, 18, 3, 28, 30, 16, 23, 22, 30, 8, 18, 12, 2, 2, 8, 7],
"result": "valid"
},
{
"tcId": 2620,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d",
"tweak": "5b8af4b3a1f2cd3c",
"msg": [-1, 10, 25, 18, 11, 27, 28, 10, 8, 27, 4, 26, 18, 12, 12, 17, 14, 29, 7, 15, 16],
"ct": [24, 26, 30, 1, 16, 15, 0, 0, 15, 31, 21, 16, 19, 27, 1, 27, 6, 19, 0, 11, 6],
"result": "invalid"
},
{
"tcId": 2621,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d",
"tweak": "5b8af4b3a1f2cd3c",
"msg": [24, 10, 25, 18, 11, 27, 28, -1, 8, 27, 4, 26, 18, 12, 12, 17, 14, 29, 7, 15, 16],
"ct": [13, 20, 9, 20, 17, 28, 0, 28, 26, 4, 14, 25, 0, 10, 6, 22, 25, 10, 7, 3, 25],
"result": "invalid"
},
{
"tcId": 2622,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d",
"tweak": "5b8af4b3a1f2cd3c",
"msg": [24, 10, 25, 18, 11, 27, 28, 10, 8, 27, 4, 26, 18, 12, 12, 17, 14, 29, 7, 15, -1],
"ct": [20, 24, 26, 26, 22, 31, 19, 30, 17, 5, 10, 14, 13, 31, 2, 29, 1, 8, 26, 22, 29],
"result": "invalid"
},
{
"tcId": 2623,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8d7479c43912b85257a493cf4589d31990f25a724bf003811262125764903cd6",
"tweak": "f444025126d792bd",
"msg": [32, 21, 25, 17, 13, 5, 12, 28, 22, 3, 13, 1, 24, 10, 27, 23, 3, 5, 5, 31, 27],
"ct": [26, 4, 25, 28, 3, 11, 28, 6, 0, 0, 17, 26, 19, 20, 2, 15, 26, 9, 20, 11, 2],
"result": "invalid"
},
{
"tcId": 2624,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8d7479c43912b85257a493cf4589d31990f25a724bf003811262125764903cd6",
"tweak": "f444025126d792bd",
"msg": [8, 21, 25, 17, 13, 5, 12, 32, 22, 3, 13, 1, 24, 10, 27, 23, 3, 5, 5, 31, 27],
"ct": [11, 11, 20, 5, 25, 11, 4, 31, 6, 10, 31, 25, 10, 12, 6, 25, 16, 24, 20, 21, 18],
"result": "invalid"
},
{
"tcId": 2625,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "8d7479c43912b85257a493cf4589d31990f25a724bf003811262125764903cd6",
"tweak": "f444025126d792bd",
"msg": [8, 21, 25, 17, 13, 5, 12, 28, 22, 3, 13, 1, 24, 10, 27, 23, 3, 5, 5, 31, 32],
"ct": [6, 9, 29, 17, 20, 6, 17, 28, 31, 27, 21, 4, 18, 0, 6, 19, 25, 23, 6, 16, 16],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 22,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2626,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "e4d7316dc8f207a390bb0975ae78c2a506361b7a3c762dc970dff471d015a634",
"tweak": "457e89bd400af1ab",
"msg": [30, 7, 0, 2, 6, 16, 8, 14, 14, 28, 23, 8, 15, 7, 12, 5, 26, 0, 0, 30, 20, 15],
"ct": [8, 1, 5, 10, 19, 14, 3, 5, 3, 30, 8, 24, 16, 26, 5, 9, 30, 4, 15, 17, 18, 25],
"result": "valid"
},
{
"tcId": 2627,
"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": [7, 31, 2, 27, 19, 3, 15, 23, 14, 18, 20, 15, 19, 14, 19, 23, 22, 18, 12, 17, 4, 15],
"result": "valid"
},
{
"tcId": 2628,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [26, 30, 14, 28, 21, 27, 19, 6, 15, 10, 21, 14, 8, 15, 8, 2, 6, 17, 27, 9, 23, 1],
"result": "valid"
},
{
"tcId": 2629,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [22, 5, 24, 28, 23, 8, 20, 15, 17, 15, 6, 7, 22, 21, 15, 19, 24, 28, 6, 13, 11, 24],
"result": "valid"
},
{
"tcId": 2630,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [25, 13, 4, 0, 18, 27, 24, 3, 5, 22, 6, 31, 24, 31, 29, 30, 3, 24, 5, 20, 5, 31],
"result": "valid"
},
{
"tcId": 2631,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [5, 20, 12, 25, 14, 29, 4, 20, 5, 12, 15, 24, 28, 25, 19, 11, 27, 29, 0, 0, 30, 29],
"ct": [29, 4, 8, 10, 11, 13, 7, 2, 15, 2, 0, 0, 2, 1, 5, 21, 23, 22, 11, 19, 4, 17],
"result": "valid"
},
{
"tcId": 2632,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [24, 1, 10, 5, 23, 27, 17, 9, 7, 4, 10, 24, 14, 1, 23, 1, 0, 26, 19, 2, 16, 25],
"ct": [29, 8, 6, 10, 11, 17, 16, 13, 19, 29, 16, 31, 11, 29, 5, 22, 3, 13, 16, 10, 19, 28],
"result": "valid"
},
{
"tcId": 2633,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [18, 12, 18, 25, 25, 2, 18, 12, 27, 4, 8, 13, 22, 9, 10, 27, 31, 20, 15, 25, 18, 30],
"ct": [22, 17, 9, 30, 13, 17, 0, 7, 8, 6, 28, 16, 11, 10, 11, 10, 26, 20, 30, 3, 28, 19],
"result": "valid"
},
{
"tcId": 2634,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [15, 8, 27, 12, 17, 11, 27, 10, 9, 6, 27, 7, 15, 10, 6, 20, 4, 29, 1, 23, 13, 20],
"ct": [0, 14, 21, 20, 1, 10, 13, 21, 4, 16, 26, 16, 3, 6, 14, 6, 31, 31, 27, 15, 26, 3],
"result": "valid"
},
{
"tcId": 2635,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [18, 10, 24, 7, 28, 3, 15, 11, 8, 17, 1, 19, 1, 19, 18, 8, 9, 9, 9, 27, 15, 0],
"ct": [2, 18, 0, 26, 9, 2, 26, 23, 13, 16, 26, 21, 18, 13, 4, 8, 20, 3, 7, 26, 13, 27],
"result": "valid"
},
{
"tcId": 2636,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [7, 21, 13, 24, 7, 5, 20, 5, 1, 6, 2, 1, 18, 20, 22, 14, 27, 21, 11, 23, 16, 0],
"ct": [16, 18, 8, 30, 21, 31, 8, 25, 5, 5, 20, 7, 23, 21, 22, 9, 8, 16, 16, 25, 17, 26],
"result": "valid"
},
{
"tcId": 2637,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [30, 11, 31, 28, 15, 30, 10, 29, 31, 9, 3, 7, 15, 28, 17, 4, 7, 13, 28, 29, 12, 23],
"ct": [17, 8, 15, 27, 24, 5, 25, 22, 14, 7, 23, 16, 12, 20, 1, 24, 15, 30, 4, 3, 13, 4],
"result": "valid"
},
{
"tcId": 2638,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [30, 27, 4, 28, 20, 27, 10, 7, 8, 11, 6, 18, 16, 31, 2, 28, 20, 8, 16, 14, 29, 18],
"ct": [5, 0, 1, 5, 6, 18, 7, 12, 5, 0, 0, 5, 11, 29, 24, 26, 24, 20, 1, 3, 31, 27],
"result": "valid"
},
{
"tcId": 2639,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [18, 1, 12, 10, 26, 13, 26, 6, 15, 17, 12, 0, 4, 21, 2, 24, 23, 28, 21, 10, 19, 18],
"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": 2640,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [8, 25, 20, 30, 21, 14, 30, 31, 11, 12, 12, 11, 14, 31, 26, 14, 26, 30, 18, 6, 14, 9],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2641,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [5, 11, 31, 20, 6, 23, 0, 1, 2, 23, 5, 8, 7, 8, 29, 19, 12, 22, 4, 27, 25, 5],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2642,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997",
"tweak": "69c0fd7f8b3219e9",
"msg": [31, 12, 3, 1, 12, 21, 2, 8, 23, 4, 21, 17, 10, 10, 7, 4, 18, 16, 25, 24, 6, 18],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2643,
"comment": "y = 0 and (y + a) % radix**11 == 0 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "4ce686066b0d6dff",
"msg": [31, 31, 16, 23, 17, 27, 0, 21, 30, 0, 25, 18, 11, 29, 20, 15, 5, 1, 29, 27, 6, 26],
"ct": [7, 31, 27, 17, 29, 19, 6, 31, 21, 19, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2644,
"comment": "y = 0 and a = 1 in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "4ce686066b0d6dff",
"msg": [5, 26, 12, 20, 28, 10, 24, 25, 13, 1, 2, 18, 1, 11, 22, 28, 18, 27, 25, 3, 11, 27],
"ct": [7, 31, 27, 17, 29, 19, 6, 31, 21, 19, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"result": "valid"
},
{
"tcId": 2645,
"comment": "y = 0 and a has large Hamming weight in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "4ce686066b0d6dff",
"msg": [1, 26, 2, 5, 1, 26, 23, 4, 6, 29, 6, 21, 24, 19, 30, 19, 15, 22, 24, 22, 16, 31],
"ct": [7, 31, 27, 17, 29, 19, 6, 31, 21, 19, 5, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2646,
"comment": "y = 0 and (y + a) % radix**11 is maximal in round 9",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "4ce686066b0d6dff",
"msg": [7, 11, 15, 26, 30, 1, 19, 11, 31, 1, 10, 7, 4, 27, 5, 20, 17, 13, 4, 13, 30, 26],
"ct": [7, 31, 27, 17, 29, 19, 6, 31, 21, 19, 5, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2647,
"comment": "y = 1 and a = 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "7f23f57a63b4227b",
"msg": [20, 4, 26, 1, 19, 24, 2, 24, 24, 0, 29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [18, 12, 9, 3, 29, 10, 5, 18, 10, 10, 17, 17, 11, 15, 19, 21, 31, 23, 22, 9, 1, 2],
"result": "valid"
},
{
"tcId": 2648,
"comment": "y = 1 and a = 1 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "7f23f57a63b4227b",
"msg": [8, 3, 12, 7, 17, 5, 11, 12, 1, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"ct": [6, 27, 7, 22, 19, 5, 2, 7, 0, 1, 12, 20, 17, 1, 24, 29, 29, 21, 21, 19, 9, 25],
"result": "valid"
},
{
"tcId": 2649,
"comment": "y = 1 and a has large Hamming weight in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "7f23f57a63b4227b",
"msg": [15, 11, 12, 27, 16, 28, 6, 14, 20, 11, 31, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [3, 24, 12, 13, 11, 27, 18, 10, 24, 23, 18, 6, 15, 2, 24, 0, 12, 5, 25, 28, 30, 7],
"result": "valid"
},
{
"tcId": 2650,
"comment": "y = 1 and (y + a) % radix**11 is maximal in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "7f23f57a63b4227b",
"msg": [25, 21, 15, 24, 10, 3, 11, 15, 14, 0, 16, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 30],
"ct": [19, 14, 13, 24, 16, 12, 21, 16, 5, 3, 4, 1, 28, 18, 31, 18, 12, 8, 8, 23, 31, 27],
"result": "valid"
},
{
"tcId": 2651,
"comment": "y = 1 and (y + a) % radix**11 == 0 in round 1",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "7f23f57a63b4227b",
"msg": [21, 6, 11, 11, 16, 2, 7, 7, 10, 13, 27, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [22, 15, 6, 22, 30, 20, 15, 10, 30, 5, 20, 16, 8, 25, 4, 17, 8, 4, 16, 1, 17, 16],
"result": "valid"
},
{
"tcId": 2652,
"comment": "y is maximal and (y + a) % radix**11 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "0f087652489fc166",
"msg": [15, 9, 18, 12, 26, 25, 27, 27, 16, 19, 8, 17, 7, 11, 1, 16, 21, 27, 13, 19, 13, 9],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 29, 23, 18, 1, 19, 5, 19, 14, 15, 20, 1],
"result": "valid"
},
{
"tcId": 2653,
"comment": "y is maximal and (y + a) % radix**11 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "0f087652489fc166",
"msg": [21, 28, 28, 18, 2, 28, 0, 12, 9, 20, 5, 0, 20, 2, 30, 5, 9, 23, 16, 5, 30, 16],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 14, 3, 16, 15, 10, 23, 11, 26, 3, 6],
"result": "valid"
},
{
"tcId": 2654,
"comment": "y is maximal and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "0f087652489fc166",
"msg": [24, 1, 11, 3, 28, 6, 30, 1, 9, 16, 21, 23, 1, 25, 20, 31, 17, 22, 29, 9, 24, 4],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 19, 20, 13, 22, 31, 18, 28, 0, 30, 7, 6],
"result": "valid"
},
{
"tcId": 2655,
"comment": "y is maximal and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "0f087652489fc166",
"msg": [6, 8, 9, 8, 20, 9, 18, 31, 18, 27, 6, 30, 16, 6, 16, 22, 17, 14, 22, 2, 27, 9],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 30, 15, 12, 12, 12, 3, 24, 13, 25, 2, 5, 25],
"result": "valid"
},
{
"tcId": 2656,
"comment": "y is edge case for modular reduction and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "90ac37db198fe4bd",
"msg": [16, 24, 15, 29, 20, 21, 16, 6, 5, 26, 22, 24, 16, 25, 1, 26, 19, 15, 28, 4, 26, 0],
"ct": [9, 19, 12, 13, 12, 19, 2, 18, 5, 19, 21, 6, 11, 29, 15, 12, 22, 19, 17, 20, 21, 27],
"result": "valid"
},
{
"tcId": 2657,
"comment": "y is edge case for modular reduction and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "90ac37db198fe4bd",
"msg": [29, 18, 6, 14, 26, 4, 21, 3, 10, 30, 26, 19, 5, 21, 22, 1, 30, 19, 27, 18, 7, 2],
"ct": [10, 7, 15, 27, 26, 12, 28, 3, 25, 0, 31, 11, 7, 19, 13, 24, 25, 11, 11, 10, 4, 28],
"result": "valid"
},
{
"tcId": 2658,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "90ac37db198fe4bd",
"msg": [4, 17, 16, 4, 18, 27, 21, 8, 26, 11, 10, 18, 19, 26, 24, 18, 28, 19, 19, 0, 3, 24],
"ct": [11, 25, 2, 24, 11, 30, 15, 29, 0, 25, 2, 1, 11, 29, 31, 6, 0, 17, 20, 25, 9, 0],
"result": "valid"
},
{
"tcId": 2659,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "90ac37db198fe4bd",
"msg": [27, 26, 12, 1, 17, 27, 15, 26, 6, 15, 15, 30, 1, 30, 29, 14, 3, 20, 12, 23, 30, 5],
"ct": [0, 16, 22, 22, 2, 31, 30, 19, 0, 22, 25, 1, 13, 19, 2, 2, 20, 29, 12, 27, 9, 1],
"result": "valid"
},
{
"tcId": 2660,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "90ac37db198fe4bd",
"msg": [4, 29, 30, 19, 6, 29, 12, 21, 11, 19, 30, 29, 23, 9, 25, 29, 0, 25, 5, 15, 10, 18],
"ct": [19, 28, 4, 29, 15, 5, 25, 9, 7, 19, 19, 6, 22, 27, 13, 1, 28, 10, 19, 28, 7, 11],
"result": "valid"
},
{
"tcId": 2661,
"comment": "y is edge case for modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "90ac37db198fe4bd",
"msg": [7, 6, 4, 10, 11, 1, 27, 29, 7, 24, 8, 22, 12, 0, 10, 22, 19, 12, 28, 25, 14, 3],
"ct": [2, 19, 9, 10, 2, 1, 12, 1, 25, 2, 3, 0, 27, 19, 4, 9, 15, 18, 27, 15, 20, 4],
"result": "valid"
},
{
"tcId": 2662,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "9f4600dd7e216bab",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 10, 14, 21, 26, 8, 16, 26, 14, 21, 30],
"ct": [13, 26, 30, 28, 13, 21, 13, 30, 21, 6, 9, 6, 12, 15, 22, 4, 26, 9, 8, 17, 5, 4],
"result": "valid"
},
{
"tcId": 2663,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "9f4600dd7e216bab",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 26, 10, 14, 21, 26, 8, 16, 26, 14, 21, 30],
"ct": [7, 20, 29, 12, 25, 4, 4, 20, 17, 19, 21, 31, 24, 6, 25, 10, 15, 28, 9, 1, 20, 10],
"result": "valid"
},
{
"tcId": 2664,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "9f4600dd7e216bab",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 10, 14, 21, 26, 8, 16, 26, 14, 21, 30],
"ct": [13, 21, 10, 21, 2, 17, 20, 16, 16, 27, 22, 24, 1, 12, 6, 29, 0, 13, 3, 25, 18, 17],
"result": "valid"
},
{
"tcId": 2665,
"comment": "y is maximal after modular reduction and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa",
"tweak": "9f4600dd7e216bab",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 26, 10, 14, 21, 26, 8, 16, 26, 14, 21, 30],
"ct": [9, 5, 3, 13, 30, 21, 21, 19, 9, 5, 23, 7, 2, 25, 14, 21, 20, 31, 29, 16, 20, 10],
"result": "valid"
},
{
"tcId": 2666,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dda15131a435c537838bfa170584af230656e50a6a5ed6cfc1cc16594dbd7c24",
"tweak": "be1bdc9a75492a3d",
"msg": [-1, 19, 0, 13, 12, 20, 5, 19, 2, 17, 4, 29, 23, 19, 29, 8, 23, 8, 29, 6, 31, 21],
"ct": [29, 25, 9, 14, 2, 24, 19, 0, 3, 17, 16, 12, 1, 2, 28, 5, 29, 7, 2, 13, 1, 6],
"result": "invalid"
},
{
"tcId": 2667,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dda15131a435c537838bfa170584af230656e50a6a5ed6cfc1cc16594dbd7c24",
"tweak": "be1bdc9a75492a3d",
"msg": [6, 19, 0, 13, 12, 20, 5, -1, 2, 17, 4, 29, 23, 19, 29, 8, 23, 8, 29, 6, 31, 21],
"ct": [18, 8, 7, 21, 0, 18, 20, 24, 13, 14, 1, 30, 9, 11, 23, 24, 28, 24, 14, 1, 2, 23],
"result": "invalid"
},
{
"tcId": 2668,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "dda15131a435c537838bfa170584af230656e50a6a5ed6cfc1cc16594dbd7c24",
"tweak": "be1bdc9a75492a3d",
"msg": [6, 19, 0, 13, 12, 20, 5, 19, 2, 17, 4, 29, 23, 19, 29, 8, 23, 8, 29, 6, 31, -1],
"ct": [24, 1, 25, 6, 29, 9, 25, 16, 9, 27, 25, 6, 8, 7, 21, 25, 15, 31, 28, 27, 4, 31],
"result": "invalid"
},
{
"tcId": 2669,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f4f05a2e88afe80d0ebc6254d905d66ea51505eabd2f61d6854a2299f1015789",
"tweak": "8a040882c41d6065",
"msg": [32, 6, 21, 2, 29, 19, 28, 24, 24, 24, 17, 12, 28, 20, 15, 19, 31, 10, 4, 3, 7, 4],
"ct": [9, 1, 26, 28, 12, 5, 0, 22, 15, 28, 2, 29, 13, 19, 13, 5, 11, 24, 11, 7, 7, 4],
"result": "invalid"
},
{
"tcId": 2670,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f4f05a2e88afe80d0ebc6254d905d66ea51505eabd2f61d6854a2299f1015789",
"tweak": "8a040882c41d6065",
"msg": [18, 6, 21, 2, 29, 19, 28, 32, 24, 24, 17, 12, 28, 20, 15, 19, 31, 10, 4, 3, 7, 4],
"ct": [11, 0, 16, 8, 8, 17, 10, 13, 19, 30, 26, 30, 15, 27, 23, 10, 29, 16, 26, 1, 7, 28],
"result": "invalid"
},
{
"tcId": 2671,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f4f05a2e88afe80d0ebc6254d905d66ea51505eabd2f61d6854a2299f1015789",
"tweak": "8a040882c41d6065",
"msg": [18, 6, 21, 2, 29, 19, 28, 24, 24, 24, 17, 12, 28, 20, 15, 19, 31, 10, 4, 3, 7, 32],
"ct": [13, 3, 24, 5, 6, 13, 14, 28, 12, 20, 30, 3, 5, 10, 3, 14, 14, 2, 16, 7, 20, 15],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 23,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2672,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "0d3ce9853bb4fc12233e5c394be7fa40a52f13ce1a348b3ebf7656fb5dd4357b",
"tweak": "bf83b0337f56f7bf",
"msg": [24, 17, 1, 24, 1, 20, 28, 13, 1, 29, 29, 22, 13, 28, 30, 19, 1, 0, 31, 29, 18, 8, 6],
"ct": [31, 27, 20, 5, 28, 26, 27, 27, 25, 3, 6, 0, 26, 7, 6, 9, 29, 5, 3, 9, 28, 2, 4],
"result": "valid"
},
{
"tcId": 2673,
"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": [19, 29, 7, 6, 2, 7, 20, 16, 25, 26, 20, 22, 29, 14, 10, 4, 27, 25, 6, 10, 13, 19, 27],
"result": "valid"
},
{
"tcId": 2674,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [12, 29, 30, 9, 6, 10, 19, 6, 24, 15, 13, 5, 25, 0, 9, 14, 1, 9, 28, 12, 1, 26, 26],
"result": "valid"
},
{
"tcId": 2675,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [15, 7, 24, 20, 24, 17, 3, 22, 15, 10, 24, 25, 1, 27, 27, 11, 27, 8, 13, 21, 21, 7, 26],
"result": "valid"
},
{
"tcId": 2676,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [14, 18, 25, 7, 10, 24, 0, 12, 24, 20, 22, 20, 21, 14, 19, 12, 30, 21, 25, 24, 31, 25, 26],
"result": "valid"
},
{
"tcId": 2677,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [13, 3, 17, 30, 4, 15, 30, 13, 30, 29, 17, 24, 25, 8, 22, 15, 1, 7, 4, 22, 30, 16, 4],
"ct": [10, 24, 7, 21, 3, 11, 27, 31, 20, 23, 6, 11, 29, 30, 21, 13, 7, 16, 8, 22, 27, 2, 30],
"result": "valid"
},
{
"tcId": 2678,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [3, 8, 16, 4, 1, 14, 18, 13, 22, 25, 26, 18, 14, 26, 15, 24, 18, 12, 25, 26, 28, 23, 29],
"ct": [29, 5, 20, 16, 12, 11, 15, 11, 14, 18, 15, 2, 27, 5, 30, 16, 0, 4, 23, 5, 0, 5, 8],
"result": "valid"
},
{
"tcId": 2679,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [5, 14, 18, 12, 19, 26, 18, 22, 30, 16, 9, 22, 7, 3, 13, 13, 11, 8, 15, 25, 29, 2, 14],
"ct": [13, 8, 26, 25, 30, 14, 29, 20, 9, 13, 19, 18, 6, 25, 8, 21, 17, 18, 27, 8, 1, 19, 16],
"result": "valid"
},
{
"tcId": 2680,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [3, 20, 16, 1, 18, 11, 13, 30, 15, 0, 5, 0, 15, 28, 13, 5, 27, 23, 1, 1, 25, 18, 29],
"ct": [11, 18, 9, 25, 2, 19, 6, 14, 19, 10, 15, 23, 24, 15, 11, 17, 20, 2, 26, 11, 10, 2, 19],
"result": "valid"
},
{
"tcId": 2681,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [19, 21, 14, 24, 18, 16, 22, 16, 1, 11, 13, 21, 21, 2, 2, 0, 19, 23, 29, 24, 25, 1, 9],
"ct": [7, 25, 7, 17, 1, 9, 28, 22, 1, 25, 17, 14, 16, 0, 16, 15, 24, 30, 5, 3, 30, 24, 8],
"result": "valid"
},
{
"tcId": 2682,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [17, 27, 5, 30, 10, 21, 31, 20, 15, 31, 29, 26, 28, 18, 31, 20, 4, 5, 11, 4, 1, 22, 7],
"ct": [20, 16, 28, 9, 14, 23, 23, 1, 24, 7, 25, 6, 9, 22, 2, 15, 13, 12, 13, 7, 2, 10, 31],
"result": "valid"
},
{
"tcId": 2683,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [1, 1, 22, 2, 24, 11, 17, 27, 0, 29, 30, 0, 13, 5, 31, 21, 17, 29, 12, 20, 5, 16, 17],
"ct": [7, 13, 11, 25, 23, 4, 16, 21, 14, 13, 6, 13, 8, 21, 2, 2, 18, 20, 5, 2, 29, 13, 20],
"result": "valid"
},
{
"tcId": 2684,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [28, 12, 28, 22, 31, 30, 10, 6, 3, 6, 15, 10, 22, 0, 27, 9, 0, 13, 20, 14, 20, 25, 16],
"ct": [16, 27, 31, 29, 26, 12, 2, 9, 19, 14, 9, 2, 7, 8, 16, 19, 6, 19, 12, 14, 25, 24, 22],
"result": "valid"
},
{
"tcId": 2685,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [25, 20, 29, 21, 7, 11, 23, 18, 3, 0, 14, 9, 30, 2, 31, 25, 30, 5, 28, 0, 9, 10, 26],
"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": 2686,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [2, 6, 9, 9, 9, 18, 7, 26, 4, 6, 5, 18, 0, 0, 21, 28, 26, 14, 2, 30, 19, 24, 27],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2687,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [14, 26, 2, 23, 20, 22, 20, 17, 28, 17, 17, 13, 0, 11, 3, 27, 18, 20, 22, 24, 28, 0, 6],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2688,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217",
"tweak": "7738e9d9521066bd",
"msg": [9, 28, 3, 23, 17, 0, 17, 11, 13, 22, 20, 21, 9, 19, 23, 28, 24, 3, 16, 13, 18, 26, 2],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2689,
"comment": "y = 0 and (y + a) % radix**11 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "677fe18660d8f5",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 12, 6, 10, 2, 7, 26, 3, 24, 1, 0, 8],
"ct": [13, 4, 23, 11, 9, 9, 1, 8, 23, 3, 3, 13, 25, 1, 11, 5, 6, 28, 0, 28, 19, 16, 20],
"result": "valid"
},
{
"tcId": 2690,
"comment": "y = 0 and a = 1 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "677fe18660d8f5",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 24, 12, 6, 10, 2, 7, 26, 3, 24, 1, 0, 8],
"ct": [21, 22, 10, 8, 21, 27, 0, 29, 10, 10, 6, 30, 14, 18, 31, 29, 29, 23, 26, 1, 4, 9, 8],
"result": "valid"
},
{
"tcId": 2691,
"comment": "y = 0 and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "677fe18660d8f5",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 12, 6, 10, 2, 7, 26, 3, 24, 1, 0, 8],
"ct": [8, 20, 22, 6, 9, 15, 5, 23, 3, 11, 18, 22, 28, 13, 7, 7, 2, 4, 6, 12, 16, 9, 11],
"result": "valid"
},
{
"tcId": 2692,
"comment": "y = 0 and (y + a) % radix**11 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "677fe18660d8f5",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 24, 12, 6, 10, 2, 7, 26, 3, 24, 1, 0, 8],
"ct": [9, 21, 2, 14, 16, 23, 10, 9, 12, 20, 12, 11, 14, 10, 31, 26, 5, 3, 29, 12, 11, 21, 13],
"result": "valid"
},
{
"tcId": 2693,
"comment": "y = 1 and a = 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "945ee50c69be65",
"msg": [1, 28, 5, 5, 27, 12, 3, 17, 1, 23, 12, 6, 16, 24, 7, 5, 14, 28, 27, 20, 14, 13, 25],
"ct": [26, 9, 14, 4, 16, 0, 14, 1, 28, 30, 5, 31, 6, 18, 19, 4, 3, 1, 13, 30, 31, 2, 12],
"result": "valid"
},
{
"tcId": 2694,
"comment": "y = 1 and a = 1 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "945ee50c69be65",
"msg": [16, 26, 20, 17, 6, 2, 25, 31, 28, 13, 15, 6, 27, 3, 22, 31, 25, 0, 16, 31, 13, 22, 2],
"ct": [14, 12, 16, 25, 12, 4, 10, 28, 31, 20, 15, 26, 2, 9, 13, 10, 29, 6, 9, 1, 4, 1, 25],
"result": "valid"
},
{
"tcId": 2695,
"comment": "y = 1 and a has large Hamming weight in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "945ee50c69be65",
"msg": [26, 28, 17, 6, 4, 13, 20, 21, 11, 0, 25, 18, 5, 13, 31, 31, 24, 2, 17, 27, 21, 28, 1],
"ct": [4, 25, 14, 3, 25, 20, 6, 28, 10, 2, 5, 22, 14, 23, 15, 12, 10, 6, 20, 10, 22, 11, 22],
"result": "valid"
},
{
"tcId": 2696,
"comment": "y = 1 and (y + a) % radix**11 is maximal in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "945ee50c69be65",
"msg": [4, 11, 21, 6, 6, 8, 14, 21, 29, 3, 31, 5, 28, 21, 29, 25, 10, 13, 1, 29, 9, 12, 20],
"ct": [16, 20, 10, 1, 4, 1, 21, 1, 26, 11, 14, 6, 14, 16, 12, 31, 7, 21, 15, 13, 20, 9, 30],
"result": "valid"
},
{
"tcId": 2697,
"comment": "y = 1 and (y + a) % radix**11 == 0 in round 6",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "945ee50c69be65",
"msg": [24, 11, 28, 23, 5, 11, 25, 10, 2, 10, 4, 6, 20, 19, 20, 17, 8, 29, 4, 19, 22, 6, 9],
"ct": [15, 9, 13, 3, 23, 15, 29, 18, 24, 10, 17, 17, 10, 3, 22, 11, 15, 23, 17, 22, 19, 19, 7],
"result": "valid"
},
{
"tcId": 2698,
"comment": "y is maximal and (y + a) % radix**11 is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "c59085a2f8f41c",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 28, 16, 5, 9, 7, 7, 24, 3, 15, 4, 30],
"ct": [28, 20, 23, 3, 0, 9, 19, 23, 17, 12, 7, 23, 31, 0, 21, 6, 13, 30, 7, 12, 13, 0, 14],
"result": "valid"
},
{
"tcId": 2699,
"comment": "y is maximal and (y + a) % radix**11 == 0 in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "c59085a2f8f41c",
"msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 29, 28, 16, 5, 9, 7, 7, 24, 3, 15, 4, 30],
"ct": [23, 4, 21, 26, 15, 7, 11, 22, 31, 26, 5, 10, 4, 14, 8, 20, 28, 16, 2, 12, 0, 5, 11],
"result": "valid"
},
{
"tcId": 2700,
"comment": "y is maximal and a has large Hamming weight in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "c59085a2f8f41c",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 28, 16, 5, 9, 7, 7, 24, 3, 15, 4, 30],
"ct": [29, 27, 21, 31, 19, 24, 28, 8, 13, 1, 25, 2, 0, 18, 6, 19, 5, 14, 20, 30, 4, 29, 14],
"result": "valid"
},
{
"tcId": 2701,
"comment": "y is maximal and a is maximal in round 0",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "c59085a2f8f41c",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 29, 28, 16, 5, 9, 7, 7, 24, 3, 15, 4, 30],
"ct": [2, 25, 15, 26, 2, 20, 17, 23, 23, 13, 27, 5, 26, 18, 20, 8, 27, 21, 20, 19, 1, 4, 14],
"result": "valid"
},
{
"tcId": 2702,
"comment": "y is edge case for modular reduction and a = 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "f7562011ab65f5",
"msg": [13, 1, 30, 24, 27, 17, 25, 19, 2, 2, 22, 23, 18, 23, 15, 30, 25, 16, 21, 29, 2, 5, 9],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 0, 5, 18, 29, 22, 12, 7, 27, 19, 21, 4, 24, 29],
"result": "valid"
},
{
"tcId": 2703,
"comment": "y is edge case for modular reduction and a = 1 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "f7562011ab65f5",
"msg": [6, 7, 22, 29, 4, 25, 10, 3, 23, 30, 4, 15, 16, 9, 17, 11, 7, 26, 24, 13, 12, 15, 28],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 1, 6, 4, 2, 14, 24, 10, 11, 4, 20, 1, 10, 1],
"result": "valid"
},
{
"tcId": 2704,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "f7562011ab65f5",
"msg": [8, 8, 8, 14, 30, 6, 4, 20, 2, 3, 31, 9, 21, 18, 1, 1, 8, 7, 6, 0, 22, 18, 29],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 2, 16, 6, 16, 11, 10, 26, 22, 16, 1, 17, 20],
"result": "valid"
},
{
"tcId": 2705,
"comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "f7562011ab65f5",
"msg": [17, 13, 10, 22, 8, 4, 21, 23, 2, 23, 24, 7, 21, 11, 23, 31, 5, 22, 29, 3, 19, 19, 10],
"ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 1, 1, 25, 2, 17, 2, 19, 8, 14, 16, 26],
"result": "valid"
},
{
"tcId": 2706,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "f7562011ab65f5",
"msg": [20, 22, 2, 13, 2, 27, 2, 24, 29, 1, 26, 18, 9, 15, 17, 29, 5, 28, 27, 24, 16, 22, 1],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 0, 5, 28, 19, 23, 9, 3, 7, 9, 1, 30, 8, 20],
"result": "valid"
},
{
"tcId": 2707,
"comment": "y is edge case for modular reduction and a is maximal in round 8",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "f7562011ab65f5",
"msg": [2, 27, 22, 1, 20, 22, 30, 10, 5, 28, 21, 20, 6, 16, 12, 5, 28, 25, 0, 14, 21, 30, 6],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 30, 31, 11, 11, 13, 22, 0, 28, 29, 6, 27, 7, 7, 4],
"result": "valid"
},
{
"tcId": 2708,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "024ddc31e43fc1",
"msg": [2, 17, 18, 10, 18, 5, 23, 8, 23, 10, 18, 17, 6, 24, 6, 0, 23, 9, 4, 18, 6, 1, 17],
"ct": [11, 8, 13, 7, 1, 12, 28, 16, 9, 24, 26, 24, 7, 3, 3, 22, 20, 15, 17, 16, 16, 4, 14],
"result": "valid"
},
{
"tcId": 2709,
"comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "024ddc31e43fc1",
"msg": [5, 11, 14, 23, 9, 28, 1, 16, 12, 20, 31, 5, 16, 10, 11, 26, 15, 14, 26, 19, 17, 24, 19],
"ct": [0, 0, 30, 31, 31, 26, 11, 29, 27, 14, 14, 2, 16, 10, 13, 26, 9, 25, 31, 20, 26, 16, 14],
"result": "valid"
},
{
"tcId": 2710,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "024ddc31e43fc1",
"msg": [7, 31, 12, 13, 19, 5, 1, 23, 18, 6, 5, 26, 24, 15, 31, 16, 4, 6, 21, 24, 15, 16, 3],
"ct": [5, 20, 31, 15, 16, 17, 28, 15, 12, 3, 8, 25, 1, 12, 20, 19, 6, 18, 11, 3, 26, 7, 12],
"result": "valid"
},
{
"tcId": 2711,
"comment": "y is maximal after modular reduction and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3",
"tweak": "024ddc31e43fc1",
"msg": [29, 25, 26, 21, 2, 29, 13, 4, 15, 18, 5, 26, 14, 1, 2, 3, 26, 16, 17, 23, 15, 30, 3],
"ct": [24, 15, 22, 25, 24, 30, 4, 28, 21, 6, 31, 24, 17, 27, 0, 25, 16, 8, 20, 5, 12, 25, 21],
"result": "valid"
},
{
"tcId": 2712,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ad4918b57782cbf6a641d6f9531d57ba353eb7a615eb36b449c0b076fe1693f6",
"tweak": "247c466d8f9108e2",
"msg": [-1, 8, 28, 31, 2, 29, 4, 22, 1, 28, 16, 23, 27, 3, 26, 10, 6, 2, 20, 8, 3, 15, 15],
"ct": [11, 14, 8, 2, 25, 17, 9, 31, 19, 23, 30, 13, 2, 25, 7, 8, 10, 6, 31, 3, 25, 10, 4],
"result": "invalid"
},
{
"tcId": 2713,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ad4918b57782cbf6a641d6f9531d57ba353eb7a615eb36b449c0b076fe1693f6",
"tweak": "247c466d8f9108e2",
"msg": [18, 8, 28, 31, 2, 29, 4, -1, 1, 28, 16, 23, 27, 3, 26, 10, 6, 2, 20, 8, 3, 15, 15],
"ct": [25, 23, 1, 0, 2, 19, 30, 7, 24, 13, 11, 8, 28, 12, 25, 14, 14, 1, 22, 13, 29, 7, 0],
"result": "invalid"
},
{
"tcId": 2714,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "ad4918b57782cbf6a641d6f9531d57ba353eb7a615eb36b449c0b076fe1693f6",
"tweak": "247c466d8f9108e2",
"msg": [18, 8, 28, 31, 2, 29, 4, 22, 1, 28, 16, 23, 27, 3, 26, 10, 6, 2, 20, 8, 3, 15, -1],
"ct": [6, 0, 29, 5, 21, 8, 2, 17, 28, 6, 9, 28, 25, 31, 20, 9, 19, 26, 12, 19, 22, 21, 14],
"result": "invalid"
},
{
"tcId": 2715,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0d7556b18f3926d493f036193e5d4d9de70e46c7d6c57e1df5ef61106a0824ef",
"tweak": "a97a1f702e27c58d",
"msg": [32, 1, 4, 21, 1, 31, 11, 2, 12, 13, 28, 22, 13, 4, 11, 1, 22, 11, 27, 13, 18, 29, 27],
"ct": [17, 22, 24, 22, 8, 28, 10, 8, 4, 1, 22, 26, 29, 20, 3, 6, 7, 1, 0, 18, 19, 27, 9],
"result": "invalid"
},
{
"tcId": 2716,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0d7556b18f3926d493f036193e5d4d9de70e46c7d6c57e1df5ef61106a0824ef",
"tweak": "a97a1f702e27c58d",
"msg": [20, 1, 4, 21, 1, 31, 11, 32, 12, 13, 28, 22, 13, 4, 11, 1, 22, 11, 27, 13, 18, 29, 27],
"ct": [14, 21, 27, 7, 27, 13, 0, 1, 2, 21, 17, 7, 0, 5, 10, 0, 2, 20, 8, 25, 6, 22, 30],
"result": "invalid"
},
{
"tcId": 2717,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "0d7556b18f3926d493f036193e5d4d9de70e46c7d6c57e1df5ef61106a0824ef",
"tweak": "a97a1f702e27c58d",
"msg": [20, 1, 4, 21, 1, 31, 11, 2, 12, 13, 28, 22, 13, 4, 11, 1, 22, 11, 27, 13, 18, 29, 32],
"ct": [20, 6, 9, 26, 5, 25, 23, 16, 13, 16, 0, 23, 22, 22, 27, 5, 18, 13, 0, 18, 14, 3, 16],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 24,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2718,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "6dd6f146d834e25b75f7cde4071293e1cb4ed6be6f3e93a1338f21699c844fef",
"tweak": "a043702fce39a1ce",
"msg": [22, 0, 27, 12, 14, 5, 7, 7, 6, 26, 16, 21, 9, 20, 30, 31, 10, 12, 22, 14, 14, 6, 22, 10],
"ct": [29, 27, 9, 11, 21, 1, 20, 8, 14, 8, 1, 20, 21, 25, 19, 2, 1, 19, 19, 5, 17, 6, 19, 6],
"result": "valid"
},
{
"tcId": 2719,
"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": [8, 26, 1, 9, 20, 30, 11, 22, 2, 20, 26, 10, 18, 24, 9, 26, 14, 0, 14, 13, 7, 20, 15, 18],
"result": "valid"
},
{
"tcId": 2720,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [13, 22, 12, 21, 15, 7, 3, 29, 15, 16, 20, 13, 26, 4, 13, 27, 11, 30, 10, 2, 14, 0, 30, 6],
"result": "valid"
},
{
"tcId": 2721,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [22, 18, 2, 5, 17, 30, 7, 12, 31, 7, 22, 23, 2, 14, 16, 2, 26, 18, 9, 15, 20, 20, 10, 4],
"result": "valid"
},
{
"tcId": 2722,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [5, 31, 1, 7, 19, 29, 17, 29, 5, 19, 1, 25, 2, 19, 13, 12, 17, 1, 8, 15, 0, 21, 20, 3],
"result": "valid"
},
{
"tcId": 2723,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [10, 0, 9, 16, 15, 26, 4, 9, 21, 19, 13, 9, 0, 25, 14, 29, 20, 5, 27, 1, 13, 10, 13, 24],
"ct": [9, 16, 1, 29, 0, 15, 10, 2, 28, 1, 28, 8, 28, 15, 4, 19, 23, 24, 9, 25, 2, 19, 4, 7],
"result": "valid"
},
{
"tcId": 2724,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [23, 15, 8, 22, 3, 9, 8, 30, 11, 19, 12, 8, 2, 20, 13, 6, 17, 9, 28, 19, 25, 8, 2, 7],
"ct": [4, 6, 13, 0, 22, 29, 26, 17, 4, 30, 26, 28, 28, 0, 15, 16, 11, 19, 14, 15, 17, 16, 29, 8],
"result": "valid"
},
{
"tcId": 2725,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [21, 10, 30, 10, 8, 31, 19, 26, 2, 13, 3, 4, 18, 0, 3, 21, 3, 14, 8, 19, 10, 22, 5, 5],
"ct": [10, 3, 26, 25, 6, 6, 29, 27, 13, 29, 3, 26, 24, 29, 18, 25, 26, 5, 1, 26, 17, 0, 0, 8],
"result": "valid"
},
{
"tcId": 2726,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [16, 28, 2, 12, 4, 19, 26, 9, 24, 6, 5, 29, 7, 22, 23, 29, 7, 9, 3, 4, 13, 5, 4, 22],
"ct": [0, 16, 6, 13, 29, 24, 20, 3, 14, 29, 24, 24, 13, 0, 28, 5, 13, 10, 22, 20, 7, 15, 20, 14],
"result": "valid"
},
{
"tcId": 2727,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [29, 17, 17, 1, 8, 27, 23, 4, 2, 6, 25, 22, 13, 13, 14, 28, 7, 6, 28, 20, 22, 5, 10, 18],
"ct": [1, 21, 27, 28, 0, 12, 26, 7, 5, 15, 14, 17, 4, 28, 4, 15, 14, 0, 28, 27, 6, 8, 26, 0],
"result": "valid"
},
{
"tcId": 2728,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [22, 5, 5, 29, 8, 19, 8, 31, 16, 12, 27, 3, 13, 15, 6, 19, 25, 14, 19, 10, 28, 13, 28, 0],
"ct": [31, 17, 8, 6, 14, 24, 29, 20, 18, 17, 23, 23, 28, 16, 8, 6, 3, 3, 6, 24, 3, 25, 16, 16],
"result": "valid"
},
{
"tcId": 2729,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [11, 31, 26, 1, 7, 27, 27, 15, 7, 10, 6, 15, 15, 3, 24, 9, 11, 9, 5, 3, 23, 27, 11, 27],
"ct": [26, 14, 26, 30, 9, 15, 15, 28, 4, 7, 25, 17, 4, 14, 10, 28, 13, 24, 1, 14, 12, 3, 15, 25],
"result": "valid"
},
{
"tcId": 2730,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [26, 1, 9, 15, 7, 28, 27, 6, 15, 21, 20, 21, 5, 14, 8, 11, 16, 10, 3, 3, 24, 10, 14, 4],
"ct": [28, 19, 27, 14, 0, 29, 18, 21, 12, 21, 28, 17, 17, 28, 24, 16, 9, 30, 18, 6, 14, 30, 16, 29],
"result": "valid"
},
{
"tcId": 2731,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [11, 14, 10, 13, 7, 31, 10, 28, 27, 13, 15, 5, 20, 13, 12, 0, 25, 28, 14, 12, 25, 14, 24, 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],
"result": "valid"
},
{
"tcId": 2732,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [13, 29, 29, 1, 9, 22, 29, 8, 14, 3, 2, 26, 12, 17, 2, 7, 28, 22, 1, 9, 22, 19, 3, 30],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2733,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [11, 18, 27, 8, 19, 27, 27, 7, 14, 18, 8, 11, 24, 30, 13, 1, 17, 22, 3, 27, 30, 30, 2, 25],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2734,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72",
"tweak": "2e677aed4931f7b2",
"msg": [23, 18, 8, 31, 15, 14, 9, 20, 26, 24, 0, 11, 18, 17, 16, 29, 30, 18, 2, 2, 14, 12, 12, 3],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2735,
"comment": "y = 0 and (y + a) % radix**12 == 0 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "4b74a0996152f0",
"msg": [7, 5, 31, 11, 4, 9, 24, 31, 31, 8, 1, 10, 9, 24, 15, 15, 20, 14, 20, 25, 14, 19, 13, 15],
"ct": [13, 27, 29, 19, 1, 28, 12, 29, 31, 16, 25, 24, 2, 7, 17, 21, 17, 28, 15, 6, 26, 30, 30, 26],
"result": "valid"
},
{
"tcId": 2736,
"comment": "y = 0 and a = 1 in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "4b74a0996152f0",
"msg": [4, 3, 31, 22, 7, 6, 22, 18, 20, 28, 31, 14, 17, 29, 31, 25, 24, 11, 7, 29, 5, 23, 30, 22],
"ct": [24, 17, 23, 21, 24, 25, 29, 22, 6, 20, 15, 27, 0, 11, 3, 12, 13, 9, 14, 16, 27, 3, 28, 12],
"result": "valid"
},
{
"tcId": 2737,
"comment": "y = 0 and a has large Hamming weight in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "4b74a0996152f0",
"msg": [31, 11, 5, 22, 12, 7, 13, 13, 21, 23, 24, 15, 21, 14, 25, 17, 18, 5, 18, 12, 7, 25, 24, 11],
"ct": [2, 7, 12, 1, 30, 26, 11, 3, 23, 29, 17, 0, 24, 10, 26, 2, 27, 0, 3, 21, 22, 27, 23, 21],
"result": "valid"
},
{
"tcId": 2738,
"comment": "y = 0 and (y + a) % radix**12 is maximal in round 3",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "4b74a0996152f0",
"msg": [1, 3, 7, 6, 1, 16, 6, 25, 29, 10, 7, 28, 19, 3, 22, 14, 12, 16, 1, 10, 2, 2, 1, 23],
"ct": [1, 15, 17, 15, 18, 8, 16, 14, 13, 29, 26, 20, 26, 22, 23, 19, 0, 17, 5, 30, 6, 20, 28, 14],
"result": "valid"
},
{
"tcId": 2739,
"comment": "y = 1 and a = 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "24b5b7da8c1237",
"msg": [4, 16, 16, 19, 12, 26, 30, 8, 2, 6, 5, 31, 22, 31, 25, 29, 14, 17, 11, 11, 0, 16, 5, 18],
"ct": [30, 7, 30, 5, 16, 11, 10, 17, 9, 17, 26, 25, 27, 16, 26, 31, 2, 29, 18, 9, 22, 1, 10, 9],
"result": "valid"
},
{
"tcId": 2740,
"comment": "y = 1 and a = 1 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "24b5b7da8c1237",
"msg": [29, 21, 2, 5, 19, 28, 15, 11, 9, 30, 21, 7, 1, 23, 0, 18, 12, 18, 30, 29, 6, 22, 13, 22],
"ct": [11, 8, 22, 0, 18, 8, 15, 24, 25, 24, 20, 11, 16, 4, 23, 8, 12, 23, 14, 15, 0, 17, 10, 5],
"result": "valid"
},
{
"tcId": 2741,
"comment": "y = 1 and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "24b5b7da8c1237",
"msg": [5, 25, 1, 15, 0, 23, 20, 11, 7, 6, 30, 28, 28, 25, 7, 23, 10, 21, 15, 5, 28, 5, 4, 24],
"ct": [5, 23, 17, 26, 25, 17, 10, 29, 31, 1, 14, 25, 0, 22, 7, 0, 14, 29, 21, 21, 1, 11, 6, 27],
"result": "valid"
},
{
"tcId": 2742,
"comment": "y = 1 and (y + a) % radix**12 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "24b5b7da8c1237",
"msg": [21, 31, 21, 3, 2, 20, 14, 31, 16, 1, 13, 9, 14, 10, 17, 3, 25, 2, 10, 25, 5, 6, 17, 27],
"ct": [7, 24, 6, 14, 1, 6, 1, 21, 29, 23, 31, 14, 23, 23, 21, 25, 19, 26, 0, 4, 31, 28, 11, 15],
"result": "valid"
},
{
"tcId": 2743,
"comment": "y = 1 and (y + a) % radix**12 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "24b5b7da8c1237",
"msg": [4, 25, 9, 17, 6, 0, 31, 26, 28, 1, 8, 15, 8, 30, 15, 21, 24, 10, 27, 31, 15, 17, 1, 20],
"ct": [26, 5, 16, 6, 24, 15, 14, 17, 28, 6, 17, 18, 8, 4, 27, 0, 6, 20, 17, 13, 9, 7, 6, 20],
"result": "valid"
},
{
"tcId": 2744,
"comment": "y is maximal and (y + a) % radix**12 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "e47b14671a908d",
"msg": [18, 25, 20, 9, 18, 18, 13, 2, 13, 27, 2, 31, 19, 20, 14, 13, 14, 31, 8, 20, 5, 30, 1, 23],
"ct": [21, 11, 25, 7, 11, 31, 30, 6, 23, 30, 31, 3, 16, 30, 11, 3, 31, 7, 13, 21, 8, 17, 20, 1],
"result": "valid"
},
{
"tcId": 2745,
"comment": "y is maximal and (y + a) % radix**12 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "e47b14671a908d",
"msg": [8, 2, 21, 0, 10, 23, 23, 20, 28, 9, 5, 16, 14, 20, 9, 29, 26, 21, 8, 17, 31, 3, 17, 14],
"ct": [7, 8, 2, 18, 25, 25, 2, 2, 23, 5, 21, 5, 0, 4, 2, 6, 7, 19, 30, 2, 2, 2, 13, 5],
"result": "valid"
},
{
"tcId": 2746,
"comment": "y is maximal and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "e47b14671a908d",
"msg": [23, 6, 25, 19, 22, 10, 16, 29, 31, 22, 5, 20, 8, 29, 6, 11, 2, 24, 15, 28, 13, 10, 27, 31],
"ct": [12, 18, 2, 7, 24, 21, 28, 9, 7, 13, 5, 14, 19, 23, 26, 14, 13, 7, 28, 15, 17, 20, 13, 22],
"result": "valid"
},
{
"tcId": 2747,
"comment": "y is maximal and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "e47b14671a908d",
"msg": [7, 14, 14, 2, 26, 31, 1, 29, 22, 29, 6, 23, 21, 26, 11, 30, 13, 5, 28, 6, 12, 6, 30, 10],
"ct": [9, 15, 8, 0, 20, 15, 19, 2, 25, 12, 20, 22, 9, 22, 28, 9, 4, 14, 28, 27, 24, 27, 7, 31],
"result": "valid"
},
{
"tcId": 2748,
"comment": "y is edge case for modular reduction and a = 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "f3ccd5e881af35",
"msg": [1, 11, 0, 17, 26, 11, 30, 27, 12, 19, 9, 0, 19, 21, 0, 11, 30, 12, 20, 24, 18, 17, 8, 24],
"ct": [6, 17, 31, 14, 31, 15, 15, 5, 22, 19, 21, 12, 16, 2, 5, 19, 20, 28, 26, 7, 3, 15, 27, 7],
"result": "valid"
},
{
"tcId": 2749,
"comment": "y is edge case for modular reduction and a = 1 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "f3ccd5e881af35",
"msg": [31, 7, 23, 21, 24, 10, 0, 2, 24, 9, 15, 23, 13, 30, 13, 5, 15, 18, 27, 5, 31, 19, 26, 5],
"ct": [12, 1, 15, 6, 25, 21, 17, 19, 31, 6, 17, 28, 28, 18, 0, 31, 6, 0, 29, 2, 0, 17, 21, 31],
"result": "valid"
},
{
"tcId": 2750,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "f3ccd5e881af35",
"msg": [21, 30, 31, 29, 18, 28, 7, 23, 19, 2, 3, 10, 12, 29, 25, 26, 4, 19, 7, 13, 1, 18, 31, 29],
"ct": [22, 26, 2, 14, 13, 9, 18, 14, 17, 21, 20, 11, 2, 4, 24, 7, 26, 26, 19, 0, 15, 23, 18, 14],
"result": "valid"
},
{
"tcId": 2751,
"comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "f3ccd5e881af35",
"msg": [8, 3, 6, 9, 5, 1, 21, 21, 7, 17, 19, 23, 24, 31, 30, 25, 14, 15, 27, 17, 31, 22, 27, 18],
"ct": [27, 3, 0, 12, 15, 30, 7, 4, 3, 25, 13, 20, 16, 0, 28, 10, 15, 21, 26, 24, 14, 15, 4, 25],
"result": "valid"
},
{
"tcId": 2752,
"comment": "y is edge case for modular reduction and a has large Hamming weight in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "f3ccd5e881af35",
"msg": [10, 7, 31, 23, 28, 13, 16, 29, 18, 19, 28, 11, 25, 4, 15, 9, 21, 17, 22, 25, 6, 0, 20, 6],
"ct": [15, 7, 16, 0, 31, 3, 28, 5, 0, 7, 8, 5, 8, 10, 27, 27, 5, 7, 26, 8, 14, 7, 7, 14],
"result": "valid"
},
{
"tcId": 2753,
"comment": "y is edge case for modular reduction and a is maximal in round 7",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "f3ccd5e881af35",
"msg": [10, 14, 12, 1, 21, 12, 30, 23, 31, 12, 19, 14, 18, 3, 23, 22, 23, 16, 8, 7, 7, 28, 7, 17],
"ct": [19, 2, 29, 15, 0, 25, 22, 11, 23, 6, 17, 12, 18, 15, 25, 30, 29, 4, 24, 4, 13, 21, 7, 25],
"result": "valid"
},
{
"tcId": 2754,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "f5c4eb0cf466fa",
"msg": [3, 7, 18, 31, 18, 5, 26, 2, 3, 28, 0, 17, 1, 5, 23, 16, 19, 10, 11, 30, 14, 16, 31, 29],
"ct": [20, 16, 18, 28, 16, 6, 2, 5, 14, 28, 28, 3, 13, 5, 2, 0, 14, 11, 14, 18, 18, 31, 9, 5],
"result": "valid"
},
{
"tcId": 2755,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "f5c4eb0cf466fa",
"msg": [1, 25, 22, 29, 15, 20, 24, 8, 2, 28, 0, 11, 25, 31, 20, 22, 13, 0, 30, 5, 12, 23, 19, 23],
"ct": [30, 12, 8, 31, 13, 1, 30, 4, 7, 20, 26, 26, 7, 5, 21, 14, 30, 18, 25, 7, 29, 15, 4, 14],
"result": "valid"
},
{
"tcId": 2756,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "f5c4eb0cf466fa",
"msg": [7, 7, 6, 15, 3, 16, 23, 13, 5, 18, 17, 12, 18, 7, 16, 15, 0, 15, 20, 5, 2, 21, 26, 28],
"ct": [25, 22, 9, 25, 29, 30, 23, 10, 4, 13, 23, 19, 4, 17, 16, 16, 10, 24, 0, 22, 31, 21, 24, 1],
"result": "valid"
},
{
"tcId": 2757,
"comment": "y is maximal after modular reduction and a is maximal in round 5",
"flags": [
"EdgeCasePrf"
],
"key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada",
"tweak": "f5c4eb0cf466fa",
"msg": [4, 8, 15, 25, 11, 31, 2, 3, 29, 8, 10, 25, 24, 8, 29, 2, 6, 29, 7, 31, 22, 29, 13, 4],
"ct": [5, 0, 1, 4, 7, 17, 18, 21, 8, 29, 28, 3, 31, 8, 27, 20, 14, 13, 22, 18, 6, 31, 7, 23],
"result": "valid"
},
{
"tcId": 2758,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f9c16b469c7b8f158194d619cc5aab9b6cc05020040e50f0e15d20bda3e70b74",
"tweak": "b1fb20f69cda04bb",
"msg": [-1, 10, 23, 8, 14, 15, 16, 31, 25, 15, 6, 1, 22, 24, 26, 29, 11, 20, 11, 7, 26, 19, 14, 7],
"ct": [2, 31, 21, 7, 7, 17, 5, 22, 8, 0, 9, 15, 7, 1, 4, 13, 25, 10, 15, 0, 7, 28, 6, 0],
"result": "invalid"
},
{
"tcId": 2759,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f9c16b469c7b8f158194d619cc5aab9b6cc05020040e50f0e15d20bda3e70b74",
"tweak": "b1fb20f69cda04bb",
"msg": [27, 10, 23, 8, 14, 15, 16, 31, -1, 15, 6, 1, 22, 24, 26, 29, 11, 20, 11, 7, 26, 19, 14, 7],
"ct": [6, 18, 28, 1, 14, 22, 17, 9, 9, 7, 19, 11, 4, 4, 17, 30, 31, 27, 22, 8, 22, 8, 23, 21],
"result": "invalid"
},
{
"tcId": 2760,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "f9c16b469c7b8f158194d619cc5aab9b6cc05020040e50f0e15d20bda3e70b74",
"tweak": "b1fb20f69cda04bb",
"msg": [27, 10, 23, 8, 14, 15, 16, 31, 25, 15, 6, 1, 22, 24, 26, 29, 11, 20, 11, 7, 26, 19, 14, -1],
"ct": [19, 20, 6, 25, 4, 3, 29, 6, 8, 17, 27, 7, 3, 1, 4, 12, 9, 14, 30, 6, 30, 25, 26, 26],
"result": "invalid"
},
{
"tcId": 2761,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c77f15c3aa5955e2e57ccd41198c7af55bbd429baf4ba2f995dcb0100c5f044c",
"tweak": "667f36d363270c0d",
"msg": [32, 30, 4, 20, 26, 5, 7, 31, 1, 22, 16, 20, 6, 14, 11, 2, 1, 9, 27, 13, 16, 20, 16, 9],
"ct": [27, 22, 18, 18, 1, 17, 28, 8, 18, 12, 23, 0, 10, 18, 17, 7, 24, 7, 4, 2, 1, 31, 23, 11],
"result": "invalid"
},
{
"tcId": 2762,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c77f15c3aa5955e2e57ccd41198c7af55bbd429baf4ba2f995dcb0100c5f044c",
"tweak": "667f36d363270c0d",
"msg": [0, 30, 4, 20, 26, 5, 7, 31, 32, 22, 16, 20, 6, 14, 11, 2, 1, 9, 27, 13, 16, 20, 16, 9],
"ct": [20, 31, 20, 3, 27, 4, 17, 2, 27, 11, 11, 25, 1, 25, 10, 29, 21, 23, 27, 30, 14, 6, 29, 0],
"result": "invalid"
},
{
"tcId": 2763,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "c77f15c3aa5955e2e57ccd41198c7af55bbd429baf4ba2f995dcb0100c5f044c",
"tweak": "667f36d363270c0d",
"msg": [0, 30, 4, 20, 26, 5, 7, 31, 1, 22, 16, 20, 6, 14, 11, 2, 1, 9, 27, 13, 16, 20, 16, 32],
"ct": [6, 29, 4, 13, 24, 0, 26, 1, 14, 29, 28, 11, 1, 13, 6, 7, 8, 2, 2, 0, 25, 16, 14, 21],
"result": "invalid"
}
]
},
{
"keySize": 256,
"msgSize": 25,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2764,
"comment": "normal message size",
"flags": [
"NormalMessageSize"
],
"key": "e0325d51f62ed182ca91eb839e255cae9917f657cb90ac5c9f891c4ecbfb44ba",
"tweak": "6a15097e7edd42a0",
"msg": [21, 7, 22, 16, 0, 6, 23, 10, 24, 27, 24, 26, 29, 20, 8, 20, 7, 25, 17, 14, 21, 5, 31, 22, 6],
"ct": [25, 3, 12, 1, 28, 7, 19, 9, 17, 25, 28, 29, 6, 22, 24, 29, 24, 1, 17, 8, 21, 9, 26, 3, 19],
"result": "valid"
},
{
"tcId": 2765,
"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": [23, 25, 23, 28, 30, 21, 16, 13, 3, 26, 23, 18, 28, 21, 11, 29, 16, 13, 30, 8, 0, 16, 14, 25, 6],
"result": "valid"
},
{
"tcId": 2766,
"comment": "maximal integer values in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [15, 28, 31, 18, 27, 24, 5, 22, 29, 11, 25, 26, 14, 8, 15, 27, 14, 24, 1, 29, 13, 25, 0, 28, 21],
"result": "valid"
},
{
"tcId": 2767,
"comment": "powers of two in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"ct": [16, 16, 17, 19, 7, 20, 18, 6, 23, 24, 25, 26, 25, 25, 31, 1, 2, 19, 11, 19, 29, 10, 2, 14, 8],
"result": "valid"
},
{
"tcId": 2768,
"comment": "integers with large hamming weight in plaintext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"ct": [2, 9, 18, 31, 14, 4, 12, 4, 21, 14, 22, 6, 23, 3, 19, 29, 21, 6, 23, 17, 22, 19, 16, 24, 28],
"result": "valid"
},
{
"tcId": 2769,
"comment": "minimal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [19, 0, 21, 12, 26, 24, 0, 26, 9, 25, 9, 3, 30, 7, 31, 23, 0, 12, 7, 17, 4, 28, 31, 23, 22],
"ct": [31, 29, 20, 26, 14, 25, 8, 29, 19, 12, 25, 14, 3, 1, 7, 0, 8, 19, 24, 23, 5, 25, 24, 1, 15],
"result": "valid"
},
{
"tcId": 2770,
"comment": "maximal integer values in round 5",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [18, 20, 19, 2, 12, 12, 16, 18, 8, 18, 31, 16, 30, 29, 31, 7, 4, 28, 19, 4, 16, 12, 24, 28, 29],
"ct": [25, 5, 15, 1, 18, 12, 5, 1, 6, 28, 7, 16, 1, 11, 9, 26, 31, 27, 12, 31, 7, 31, 22, 2, 31],
"result": "valid"
},
{
"tcId": 2771,
"comment": "powers of two in round 5",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [8, 26, 22, 23, 29, 20, 5, 3, 28, 6, 1, 30, 10, 15, 10, 22, 12, 10, 5, 24, 29, 12, 16, 18, 22],
"ct": [23, 3, 6, 8, 11, 16, 25, 24, 3, 30, 13, 7, 19, 5, 6, 26, 2, 15, 21, 3, 1, 25, 23, 17, 9],
"result": "valid"
},
{
"tcId": 2772,
"comment": "integers with large hamming weight in round 5",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [2, 0, 6, 13, 11, 26, 25, 6, 12, 3, 4, 12, 9, 0, 0, 12, 8, 31, 3, 30, 30, 15, 10, 13, 3],
"ct": [3, 10, 0, 10, 9, 12, 16, 26, 7, 31, 24, 8, 14, 21, 2, 17, 26, 19, 5, 5, 25, 2, 0, 19, 13],
"result": "valid"
},
{
"tcId": 2773,
"comment": "minimal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [4, 18, 8, 21, 7, 31, 24, 27, 0, 0, 25, 8, 20, 27, 30, 6, 31, 3, 16, 20, 0, 3, 19, 0, 29],
"ct": [8, 11, 0, 4, 11, 6, 3, 2, 5, 1, 12, 9, 7, 11, 22, 2, 12, 13, 10, 1, 4, 7, 6, 16, 21],
"result": "valid"
},
{
"tcId": 2774,
"comment": "maximal integer values in round 6",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [14, 15, 31, 22, 21, 10, 4, 28, 13, 8, 5, 17, 23, 17, 23, 15, 21, 12, 3, 7, 15, 20, 3, 8, 26],
"ct": [26, 15, 29, 21, 6, 22, 27, 8, 13, 28, 27, 23, 9, 8, 26, 14, 10, 2, 22, 26, 22, 16, 27, 17, 16],
"result": "valid"
},
{
"tcId": 2775,
"comment": "powers of two in round 6",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [28, 30, 26, 16, 22, 9, 4, 7, 18, 2, 16, 14, 21, 29, 8, 18, 0, 7, 26, 23, 1, 11, 5, 10, 9],
"ct": [2, 11, 28, 6, 14, 17, 2, 29, 1, 25, 28, 29, 15, 3, 12, 4, 25, 14, 12, 22, 0, 30, 1, 20, 17],
"result": "valid"
},
{
"tcId": 2776,
"comment": "integers with large hamming weight in round 6",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [1, 29, 8, 10, 10, 24, 27, 17, 5, 19, 16, 10, 6, 30, 27, 10, 8, 17, 19, 7, 10, 26, 21, 2, 29],
"ct": [18, 6, 30, 31, 8, 23, 20, 23, 15, 19, 4, 17, 17, 19, 6, 20, 29, 27, 16, 12, 25, 18, 17, 28, 16],
"result": "valid"
},
{
"tcId": 2777,
"comment": "minimal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [6, 8, 26, 5, 26, 19, 0, 2, 20, 29, 30, 29, 7, 25, 30, 3, 8, 30, 27, 15, 21, 17, 31, 7, 17],
"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": 2778,
"comment": "maximal integer values in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [6, 18, 9, 7, 24, 6, 17, 29, 15, 26, 7, 4, 21, 3, 28, 21, 0, 17, 14, 3, 31, 25, 13, 16, 21],
"ct": [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2779,
"comment": "powers of two in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [1, 14, 19, 27, 8, 2, 31, 21, 15, 13, 18, 28, 22, 12, 11, 3, 10, 19, 13, 28, 30, 28, 17, 15, 0],
"ct": [16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"result": "valid"
},
{
"tcId": 2780,
"comment": "integers with large hamming weight in ciphertext",
"flags": [
"EdgeCaseState"
],
"key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b",
"tweak": "771b26c32d3398f6",
"msg": [15, 31, 4, 18, 0, 28, 21, 22, 31, 3, 2, 22, 1, 25, 28, 31, 25, 14, 16, 31, 26, 24, 28, 10, 19],
"ct": [15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31],
"result": "valid"
},
{
"tcId": 2781,
"comment": "y is maximal and (y + a) % radix**12 is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "e4f3409b7a663fcaaa58daf727c96a865d4517961b6f",
"msg": [26, 29, 21, 9, 31, 17, 7, 19, 14, 22, 3, 7, 31, 30, 24, 15, 7, 0, 29, 17, 8, 29, 6, 29, 27],
"ct": [28, 7, 31, 24, 1, 7, 4, 5, 12, 28, 0, 30, 5, 14, 18, 27, 20, 10, 1, 11, 13, 30, 19, 27, 13],
"result": "valid"
},
{
"tcId": 2782,
"comment": "y is maximal and (y + a) % radix**12 == 0 in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "e4f3409b7a663fcaaa58daf727c96a865d4517961b6f",
"msg": [29, 10, 25, 16, 25, 15, 1, 26, 15, 31, 0, 31, 14, 24, 13, 18, 31, 2, 10, 11, 23, 21, 29, 10, 13],
"ct": [14, 11, 13, 0, 5, 31, 24, 4, 24, 21, 22, 29, 19, 23, 7, 6, 18, 28, 23, 20, 8, 25, 3, 28, 9],
"result": "valid"
},
{
"tcId": 2783,
"comment": "y is maximal and a has large Hamming weight in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "e4f3409b7a663fcaaa58daf727c96a865d4517961b6f",
"msg": [5, 1, 6, 30, 13, 21, 27, 22, 25, 23, 21, 9, 25, 10, 10, 12, 13, 5, 10, 12, 3, 4, 0, 8, 3],
"ct": [1, 21, 28, 4, 1, 14, 27, 5, 30, 4, 29, 3, 13, 2, 30, 2, 18, 9, 31, 2, 13, 21, 19, 25, 16],
"result": "valid"
},
{
"tcId": 2784,
"comment": "y is maximal and a is maximal in round 2",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "e4f3409b7a663fcaaa58daf727c96a865d4517961b6f",
"msg": [24, 2, 21, 26, 2, 7, 5, 4, 19, 31, 22, 24, 7, 23, 24, 27, 19, 17, 31, 11, 24, 26, 29, 1, 12],
"ct": [14, 10, 1, 20, 12, 0, 25, 25, 24, 31, 9, 31, 16, 17, 1, 28, 24, 4, 25, 4, 27, 14, 24, 23, 8],
"result": "valid"
},
{
"tcId": 2785,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "f98342205e944fd61325ca90d08389b004bc6fbdc5ab",
"msg": [0, 7, 13, 14, 18, 18, 29, 10, 29, 21, 19, 3, 15, 6, 6, 4, 0, 23, 13, 1, 17, 31, 15, 21, 5],
"ct": [20, 14, 25, 14, 29, 18, 24, 6, 2, 31, 19, 19, 5, 5, 18, 16, 23, 2, 0, 13, 16, 8, 20, 7, 0],
"result": "valid"
},
{
"tcId": 2786,
"comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "f98342205e944fd61325ca90d08389b004bc6fbdc5ab",
"msg": [8, 10, 13, 6, 3, 10, 5, 24, 28, 26, 12, 20, 29, 6, 28, 10, 31, 4, 8, 23, 19, 31, 26, 11, 14],
"ct": [21, 10, 7, 22, 18, 24, 12, 23, 20, 8, 19, 3, 13, 10, 16, 9, 28, 28, 20, 10, 22, 15, 22, 2, 21],
"result": "valid"
},
{
"tcId": 2787,
"comment": "y is maximal after modular reduction and a has large Hamming weight in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "f98342205e944fd61325ca90d08389b004bc6fbdc5ab",
"msg": [11, 23, 7, 16, 27, 18, 12, 10, 17, 1, 8, 4, 1, 28, 6, 15, 4, 9, 1, 0, 29, 21, 4, 6, 5],
"ct": [6, 0, 29, 23, 20, 20, 5, 15, 18, 0, 3, 23, 5, 11, 28, 16, 12, 27, 15, 29, 15, 2, 29, 31, 13],
"result": "valid"
},
{
"tcId": 2788,
"comment": "y is maximal after modular reduction and a is maximal in round 4",
"flags": [
"EdgeCasePrf"
],
"key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0",
"tweak": "f98342205e944fd61325ca90d08389b004bc6fbdc5ab",
"msg": [30, 15, 25, 18, 29, 10, 5, 23, 25, 1, 24, 12, 10, 16, 6, 8, 24, 6, 19, 5, 2, 22, 19, 26, 2],
"ct": [15, 12, 23, 17, 6, 1, 16, 12, 21, 24, 26, 4, 1, 3, 1, 28, 30, 12, 17, 30, 24, 11, 19, 0, 23],
"result": "valid"
},
{
"tcId": 2789,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1ff630b00e63e5aac0dcd64e41af744c7c686b300a98117cc40e432d87de5a76",
"tweak": "1403a297b3d5581a",
"msg": [-1, 30, 18, 2, 3, 0, 29, 18, 22, 19, 10, 19, 23, 15, 20, 15, 28, 18, 27, 15, 4, 27, 6, 8, 13],
"ct": [14, 29, 14, 1, 20, 17, 30, 25, 31, 8, 22, 16, 0, 7, 29, 14, 21, 9, 24, 17, 1, 19, 22, 5, 28],
"result": "invalid"
},
{
"tcId": 2790,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1ff630b00e63e5aac0dcd64e41af744c7c686b300a98117cc40e432d87de5a76",
"tweak": "1403a297b3d5581a",
"msg": [22, 30, 18, 2, 3, 0, 29, 18, -1, 19, 10, 19, 23, 15, 20, 15, 28, 18, 27, 15, 4, 27, 6, 8, 13],
"ct": [10, 4, 2, 5, 22, 11, 1, 4, 30, 29, 25, 9, 31, 2, 7, 25, 0, 18, 27, 28, 26, 30, 8, 25, 17],
"result": "invalid"
},
{
"tcId": 2791,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "1ff630b00e63e5aac0dcd64e41af744c7c686b300a98117cc40e432d87de5a76",
"tweak": "1403a297b3d5581a",
"msg": [22, 30, 18, 2, 3, 0, 29, 18, 22, 19, 10, 19, 23, 15, 20, 15, 28, 18, 27, 15, 4, 27, 6, 8, -1],
"ct": [8, 14, 22, 4, 3, 31, 15, 18, 3, 2, 24, 4, 29, 20, 26, 10, 4, 20, 26, 12, 3, 13, 16, 29, 24],
"result": "invalid"
},
{
"tcId": 2792,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "442577c66e7f0fe30537e50309da85fc5bbeca69b9ec02584656f665e635700e",
"tweak": "f5bac5e9c5f42aa3",
"msg": [32, 5, 20, 6, 10, 24, 13, 13, 28, 3, 10, 30, 19, 8, 11, 31, 14, 7, 1, 30, 14, 27, 13, 6, 11],
"ct": [14, 9, 22, 8, 23, 20, 6, 24, 29, 27, 21, 15, 28, 26, 5, 0, 0, 19, 2, 28, 12, 10, 29, 24, 29],
"result": "invalid"
},
{
"tcId": 2793,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "442577c66e7f0fe30537e50309da85fc5bbeca69b9ec02584656f665e635700e",
"tweak": "f5bac5e9c5f42aa3",
"msg": [22, 5, 20, 6, 10, 24, 13, 13, 32, 3, 10, 30, 19, 8, 11, 31, 14, 7, 1, 30, 14, 27, 13, 6, 11],
"ct": [8, 1, 9, 19, 3, 27, 8, 19, 16, 28, 29, 26, 15, 18, 18, 14, 17, 21, 8, 11, 1, 2, 30, 22, 8],
"result": "invalid"
},
{
"tcId": 2794,
"comment": "plaintext contains invalid values",
"flags": [
"InvalidPlaintext"
],
"key": "442577c66e7f0fe30537e50309da85fc5bbeca69b9ec02584656f665e635700e",
"tweak": "f5bac5e9c5f42aa3",
"msg": [22, 5, 20, 6, 10, 24, 13, 13, 28, 3, 10, 30, 19, 8, 11, 31, 14, 7, 1, 30, 14, 27, 13, 6, 32],
"ct": [19, 7, 26, 8, 6, 28, 18, 31, 8, 1, 28, 13, 19, 9, 0, 20, 8, 1, 26, 17, 18, 28, 6, 17, 23],
"result": "invalid"
}
]
},
{
"keySize": 128,
"msgSize": 26,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2795,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "0fb1979af3a9860c485e2ef06c6010c3",
"tweak": "60de513786f3f0a6",
"msg": [9, 23, 20, 1, 10, 24, 18, 7, 4, 27, 2, 6, 3, 20, 13, 29, 24, 21, 19, 12, 4, 26, 19, 24, 22, 24],
"ct": [8, 8, 2, 27, 11, 25, 12, 10, 21, 25, 1, 25, 22, 25, 10, 4, 11, 4, 5, 2, 30, 1, 15, 28, 28, 28],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 27,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2796,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "5d9ce920d89d03dcb83a0bf8ba68c9a1",
"tweak": "9b6124a5067acaf1",
"msg": [13, 20, 3, 0, 17, 0, 10, 2, 11, 27, 23, 16, 13, 5, 3, 16, 22, 6, 10, 22, 16, 15, 23, 20, 4, 19, 16],
"ct": [1, 6, 29, 8, 0, 10, 11, 11, 13, 24, 1, 14, 22, 19, 27, 16, 15, 20, 16, 9, 24, 29, 2, 13, 7, 29, 24],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 28,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2797,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "1480e7206367c3365ec5a9b11f61261e",
"tweak": "895ad94343672108",
"msg": [30, 13, 22, 26, 7, 7, 19, 7, 17, 29, 12, 27, 4, 24, 30, 0, 19, 29, 5, 19, 12, 11, 21, 16, 10, 29, 26, 29],
"ct": [3, 3, 20, 19, 23, 16, 31, 28, 23, 27, 28, 13, 31, 24, 12, 1, 28, 5, 5, 9, 31, 18, 18, 16, 25, 21, 4, 21],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 29,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2798,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "a8ed8a1627e4ea301c4d007a30a7fd71",
"tweak": "dbbf38e615dc2fee",
"msg": [1, 13, 30, 11, 19, 8, 24, 5, 13, 22, 12, 18, 17, 31, 3, 17, 12, 29, 30, 7, 16, 24, 6, 31, 26, 3, 29, 13, 25],
"ct": [22, 22, 14, 1, 6, 18, 14, 14, 20, 8, 26, 2, 9, 20, 10, 8, 20, 16, 14, 1, 24, 28, 18, 3, 29, 30, 19, 15, 26],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 30,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2799,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "abbd25e59680efd575c00d24e9fdcad8",
"tweak": "070cffc4a9b88ee7",
"msg": [17, 5, 16, 30, 8, 9, 22, 20, 16, 20, 13, 13, 3, 2, 28, 2, 22, 2, 28, 28, 27, 25, 17, 23, 16, 13, 28, 2, 1, 12],
"ct": [21, 24, 2, 2, 14, 4, 27, 1, 25, 25, 8, 23, 1, 31, 12, 2, 5, 31, 30, 15, 22, 29, 30, 11, 29, 23, 24, 30, 13, 25],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 31,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2800,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "cb4b74bac0ecce5c21f47f39c22ae70c",
"tweak": "dd1e66e61ea45250",
"msg": [17, 17, 0, 24, 12, 4, 2, 6, 16, 30, 29, 13, 20, 9, 21, 20, 16, 20, 21, 25, 9, 11, 1, 30, 1, 14, 22, 24, 17, 28, 26],
"ct": [13, 21, 20, 12, 27, 14, 6, 18, 8, 22, 9, 11, 7, 6, 21, 9, 11, 24, 27, 18, 20, 29, 22, 29, 12, 22, 16, 19, 11, 14, 9],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 32,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2801,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "1ee98a204d8de6bc2fb2416fa2efe03f",
"tweak": "302f76d9825d6eb5",
"msg": [18, 23, 1, 15, 31, 1, 30, 1, 9, 3, 13, 22, 1, 13, 24, 4, 10, 17, 16, 12, 30, 27, 4, 0, 17, 2, 2, 24, 30, 1, 0, 24],
"ct": [28, 28, 24, 9, 29, 24, 20, 12, 17, 25, 19, 11, 14, 3, 9, 29, 29, 20, 9, 0, 5, 31, 6, 14, 9, 9, 9, 7, 20, 22, 12, 5],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 33,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2802,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "df76fc71b7d899068b43f16bc5858dbd",
"tweak": "8e55911ef156dfe2",
"msg": [15, 12, 24, 22, 21, 6, 5, 16, 9, 12, 1, 6, 29, 2, 2, 22, 28, 1, 12, 8, 30, 7, 7, 24, 24, 28, 2, 30, 3, 19, 28, 6, 9],
"ct": [27, 6, 11, 29, 10, 26, 12, 14, 1, 20, 12, 18, 18, 15, 1, 29, 14, 5, 0, 22, 28, 11, 17, 29, 27, 31, 0, 5, 18, 6, 10, 14, 8],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 38,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2803,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "1882ed1962852c6fc7c2218ba48d3c58",
"tweak": "25e032b39da50d1e",
"msg": [21, 2, 7, 22, 28, 27, 14, 7, 7, 9, 16, 12, 30, 2, 27, 18, 13, 28, 16, 24, 13, 28, 23, 8, 17, 6, 23, 8, 31, 19, 26, 3, 14, 6, 23, 30, 31, 10],
"ct": [12, 3, 27, 27, 15, 25, 2, 0, 16, 16, 31, 30, 24, 11, 24, 12, 0, 10, 11, 10, 16, 7, 16, 11, 6, 12, 16, 19, 20, 21, 25, 25, 4, 18, 23, 6, 25, 26],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 39,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2804,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "bc6cef918ac6324a4b8d61e094ff570e",
"tweak": "c17cf59fe1e5421c",
"msg": [12, 23, 24, 24, 12, 26, 12, 24, 29, 5, 16, 8, 16, 7, 7, 19, 15, 5, 2, 1, 21, 1, 17, 7, 10, 17, 10, 29, 8, 31, 20, 27, 19, 8, 3, 29, 18, 1, 23],
"ct": [31, 24, 27, 19, 28, 11, 8, 2, 10, 27, 7, 24, 29, 30, 25, 17, 11, 21, 7, 19, 12, 19, 0, 9, 28, 5, 29, 25, 11, 15, 9, 19, 10, 11, 8, 22, 12, 26, 28],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 40,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2805,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "ebac6d5741e58a3af7fd72a5db46b863",
"tweak": "fb13dc638ef728e5",
"msg": [0, 4, 4, 27, 14, 24, 25, 4, 4, 26, 30, 6, 17, 12, 1, 12, 21, 22, 13, 24, 14, 18, 26, 15, 0, 18, 11, 1, 6, 20, 5, 13, 17, 23, 17, 2, 20, 3, 29, 29],
"ct": [21, 2, 4, 2, 19, 15, 5, 15, 14, 24, 21, 19, 8, 27, 3, 13, 23, 23, 16, 28, 29, 2, 0, 1, 21, 14, 22, 5, 28, 6, 17, 1, 28, 15, 18, 12, 14, 13, 17, 3],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 50,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2806,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "2b202923ca78ce28f38092c79a42581d",
"tweak": "615666c7c4bc41de",
"msg": [5, 21, 12, 4, 28, 20, 9, 20, 7, 14, 26, 27, 7, 23, 0, 24, 23, 31, 31, 10, 1, 8, 21, 27, 6, 21, 21, 15, 9, 0, 12, 0, 25, 18, 28, 26, 0, 17, 20, 29, 21, 24, 14, 1, 19, 26, 23, 24, 1, 24],
"ct": [16, 23, 10, 1, 26, 0, 28, 25, 22, 18, 6, 21, 1, 28, 13, 5, 14, 29, 25, 28, 3, 27, 21, 26, 24, 14, 7, 11, 28, 23, 11, 8, 10, 11, 5, 24, 25, 12, 18, 28, 20, 10, 28, 28, 4, 14, 22, 18, 31, 4],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 51,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2807,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "e530805bec47310bfc22b00c76cd3917",
"tweak": "c9b2d28e50063cf9",
"msg": [7, 17, 18, 23, 5, 15, 31, 10, 30, 0, 29, 9, 26, 1, 2, 27, 27, 16, 2, 31, 17, 26, 13, 28, 16, 0, 6, 6, 14, 29, 23, 30, 19, 22, 31, 29, 27, 19, 17, 26, 17, 13, 28, 13, 18, 16, 9, 30, 30, 7, 9],
"ct": [13, 24, 1, 21, 4, 7, 17, 8, 3, 1, 23, 6, 20, 9, 17, 25, 26, 6, 26, 31, 19, 30, 31, 24, 4, 24, 17, 1, 8, 26, 8, 29, 23, 31, 10, 9, 25, 15, 28, 20, 6, 27, 9, 26, 24, 16, 13, 16, 15, 15, 11],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 64,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2808,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "908bc4120a20f0043e43376761b2735e",
"tweak": "841888c5b9be1c84",
"msg": [29, 6, 23, 10, 11, 14, 2, 14, 30, 12, 22, 24, 22, 24, 20, 23, 8, 0, 8, 16, 15, 3, 19, 14, 22, 4, 25, 26, 18, 31, 3, 25, 4, 29, 25, 4, 26, 2, 12, 1, 15, 16, 29, 28, 6, 18, 23, 4, 13, 21, 19, 11, 0, 1, 14, 2, 19, 5, 10, 7, 17, 2, 25, 20],
"ct": [5, 7, 4, 6, 8, 25, 16, 10, 2, 18, 23, 2, 19, 3, 26, 14, 9, 11, 10, 19, 0, 26, 15, 15, 26, 9, 0, 23, 19, 6, 5, 28, 2, 12, 3, 12, 22, 24, 19, 27, 29, 7, 30, 30, 12, 22, 7, 25, 0, 29, 21, 23, 20, 12, 24, 29, 19, 10, 9, 4, 7, 8, 16, 10],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 65,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2809,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "c945c13570b5a262c58c6dac7480bbe0",
"tweak": "f1e07408b8c9feb7",
"msg": [23, 29, 22, 5, 21, 12, 30, 22, 15, 10, 0, 5, 4, 5, 27, 19, 11, 14, 18, 6, 7, 3, 1, 25, 6, 11, 15, 17, 15, 26, 30, 28, 2, 15, 22, 12, 26, 3, 30, 28, 27, 24, 9, 20, 28, 24, 3, 3, 13, 7, 12, 17, 22, 11, 5, 13, 12, 5, 21, 25, 0, 3, 22, 26, 28],
"ct": [30, 1, 9, 17, 25, 9, 12, 14, 23, 7, 6, 1, 28, 22, 2, 12, 13, 1, 6, 24, 9, 29, 28, 27, 21, 24, 23, 12, 1, 29, 2, 10, 29, 27, 14, 5, 8, 11, 1, 27, 8, 27, 12, 1, 18, 20, 6, 2, 31, 20, 25, 30, 19, 14, 26, 4, 29, 14, 3, 24, 3, 30, 12, 1, 26],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 76,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2810,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "fcbca98cf0cd2fc8b2541c75f8d9d9ba",
"tweak": "1c96e207c127f405",
"msg": [0, 15, 4, 23, 23, 16, 8, 4, 16, 4, 7, 4, 12, 2, 15, 21, 21, 4, 5, 13, 8, 13, 28, 9, 9, 19, 28, 17, 2, 3, 9, 9, 17, 31, 3, 24, 5, 27, 22, 18, 28, 18, 23, 29, 4, 19, 2, 16, 25, 5, 13, 1, 20, 1, 4, 28, 7, 28, 17, 21, 19, 4, 8, 18, 7, 6, 2, 19, 17, 30, 13, 25, 24, 16, 30, 0],
"ct": [19, 3, 4, 23, 16, 21, 27, 27, 13, 8, 1, 11, 31, 2, 28, 20, 6, 9, 16, 1, 17, 30, 20, 15, 8, 25, 6, 5, 7, 8, 19, 21, 15, 27, 26, 29, 16, 16, 6, 27, 22, 17, 4, 30, 23, 21, 4, 23, 9, 12, 30, 12, 31, 2, 3, 9, 6, 22, 31, 13, 6, 24, 18, 16, 24, 28, 24, 24, 29, 6, 1, 18, 12, 29, 7, 27],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 77,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2811,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "cef55b85029a36c198b754ad02f6cebb",
"tweak": "971443cf5484ed74",
"msg": [28, 7, 13, 5, 28, 16, 7, 25, 5, 6, 22, 28, 1, 20, 29, 11, 3, 26, 15, 3, 21, 30, 28, 1, 29, 11, 2, 23, 26, 25, 13, 28, 28, 5, 29, 3, 25, 20, 11, 29, 23, 11, 31, 23, 24, 9, 21, 16, 17, 1, 20, 14, 1, 4, 22, 2, 2, 30, 21, 3, 11, 14, 27, 27, 20, 14, 17, 20, 0, 30, 23, 6, 12, 11, 0, 16, 10],
"ct": [16, 28, 28, 13, 12, 10, 11, 16, 21, 14, 5, 20, 22, 1, 11, 9, 7, 8, 20, 3, 24, 4, 23, 28, 25, 8, 16, 0, 28, 26, 23, 13, 29, 19, 1, 3, 0, 25, 5, 1, 19, 22, 30, 10, 18, 4, 17, 10, 31, 19, 13, 22, 3, 4, 28, 28, 10, 22, 17, 17, 17, 17, 25, 2, 23, 30, 22, 21, 19, 4, 16, 1, 10, 20, 17, 0, 9],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 80,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2812,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "f763833eb5dcad3df492092080b404b6",
"tweak": "46dc6b38a24f7002",
"msg": [31, 27, 31, 0, 13, 18, 24, 20, 28, 24, 29, 15, 6, 12, 31, 21, 27, 2, 17, 23, 4, 6, 10, 21, 10, 6, 20, 10, 22, 11, 13, 26, 0, 27, 13, 8, 27, 22, 3, 6, 23, 1, 28, 11, 9, 12, 4, 22, 16, 13, 26, 31, 3, 22, 5, 11, 7, 0, 22, 26, 9, 11, 0, 11, 5, 22, 9, 24, 13, 10, 25, 25, 17, 26, 19, 7, 13, 20, 13, 23],
"ct": [15, 13, 22, 15, 18, 20, 5, 9, 14, 13, 15, 24, 30, 4, 1, 0, 0, 27, 3, 29, 13, 13, 7, 19, 25, 23, 17, 5, 28, 3, 1, 7, 5, 27, 5, 18, 2, 27, 30, 27, 15, 23, 0, 16, 10, 5, 28, 9, 24, 22, 1, 6, 14, 16, 20, 31, 1, 29, 28, 25, 5, 8, 27, 12, 18, 10, 18, 0, 25, 20, 26, 30, 4, 9, 2, 2, 12, 10, 10, 10],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 88,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2813,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "aa4d1f3bfaa5f7f10a3cfa683817050f",
"tweak": "ca0e84ed957a62be",
"msg": [10, 15, 5, 8, 27, 4, 18, 25, 14, 14, 10, 2, 28, 17, 26, 19, 4, 24, 3, 11, 15, 26, 12, 16, 7, 28, 20, 4, 9, 9, 29, 11, 22, 14, 2, 31, 26, 6, 2, 1, 13, 13, 6, 10, 25, 15, 4, 23, 29, 13, 11, 16, 5, 8, 25, 28, 14, 27, 6, 5, 25, 15, 8, 3, 16, 19, 16, 11, 18, 5, 21, 14, 27, 12, 10, 22, 21, 17, 3, 21, 8, 19, 22, 16, 26, 11, 27, 31],
"ct": [20, 7, 13, 12, 19, 3, 30, 15, 13, 15, 12, 22, 11, 6, 19, 2, 23, 5, 14, 31, 14, 17, 10, 0, 8, 27, 14, 0, 13, 3, 1, 19, 18, 17, 16, 10, 6, 25, 12, 13, 15, 0, 11, 15, 4, 14, 29, 24, 25, 11, 3, 6, 26, 20, 27, 21, 19, 27, 21, 7, 9, 11, 22, 6, 1, 18, 4, 27, 23, 6, 0, 5, 1, 7, 25, 23, 19, 15, 20, 8, 6, 19, 6, 28, 6, 27, 17, 30],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 89,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2814,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "c9d1412edfe8e9c12e2c83e51b17d9d9",
"tweak": "00de1bf7f4c0f05b",
"msg": [31, 7, 5, 20, 22, 8, 15, 11, 18, 1, 20, 2, 12, 3, 19, 14, 16, 13, 6, 26, 6, 8, 7, 11, 28, 18, 6, 28, 11, 26, 16, 11, 0, 17, 2, 5, 31, 26, 18, 9, 3, 23, 25, 29, 12, 2, 12, 25, 30, 1, 23, 11, 0, 24, 6, 20, 9, 5, 2, 2, 20, 16, 16, 18, 9, 22, 16, 1, 15, 14, 5, 13, 21, 29, 20, 27, 3, 16, 14, 16, 25, 25, 23, 23, 31, 9, 4, 24, 5],
"ct": [4, 16, 0, 11, 14, 28, 19, 10, 19, 16, 24, 19, 23, 21, 16, 31, 21, 5, 31, 2, 26, 5, 17, 11, 27, 14, 9, 5, 21, 14, 29, 31, 8, 6, 26, 10, 8, 22, 8, 29, 1, 10, 9, 9, 4, 18, 16, 10, 1, 30, 6, 20, 17, 21, 25, 2, 13, 28, 30, 31, 20, 27, 24, 0, 9, 23, 21, 17, 7, 25, 18, 6, 15, 3, 18, 7, 28, 20, 3, 31, 22, 14, 14, 0, 7, 13, 13, 21, 14],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 102,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2815,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "464fadf9aebebb3d3ee681e428ec8fc4",
"tweak": "0e5e8d8a599cfa01",
"msg": [2, 20, 2, 8, 23, 21, 21, 7, 16, 6, 4, 23, 26, 30, 21, 31, 12, 1, 11, 25, 24, 3, 5, 5, 11, 16, 23, 10, 23, 8, 12, 22, 20, 23, 3, 31, 26, 18, 6, 25, 1, 25, 0, 25, 27, 13, 15, 21, 5, 26, 1, 3, 30, 0, 14, 23, 4, 4, 17, 23, 2, 12, 30, 23, 12, 1, 10, 29, 26, 23, 9, 23, 20, 31, 24, 13, 13, 18, 24, 14, 12, 6, 2, 28, 11, 10, 18, 8, 23, 26, 24, 30, 22, 29, 22, 29, 18, 5, 5, 23, 21, 23],
"ct": [24, 7, 17, 22, 25, 25, 16, 13, 3, 12, 7, 7, 21, 8, 13, 0, 13, 29, 12, 3, 25, 20, 5, 1, 16, 29, 23, 1, 17, 27, 23, 16, 11, 21, 18, 31, 23, 20, 16, 30, 4, 1, 14, 8, 17, 3, 3, 22, 30, 2, 22, 24, 4, 3, 10, 4, 18, 27, 11, 17, 3, 17, 19, 22, 3, 24, 8, 20, 14, 11, 27, 10, 31, 12, 15, 26, 17, 30, 7, 20, 12, 16, 1, 0, 13, 17, 25, 9, 27, 10, 22, 24, 24, 19, 26, 25, 23, 20, 30, 25, 18, 20],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 128,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2816,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "6e2c702c4dd6ac18054df9905a2a6d63",
"tweak": "245070546cc82a65",
"msg": [24, 30, 10, 27, 18, 21, 7, 0, 12, 20, 11, 25, 18, 11, 15, 18, 29, 3, 22, 31, 25, 24, 14, 31, 4, 28, 9, 9, 28, 15, 22, 24, 8, 1, 16, 15, 16, 10, 11, 27, 30, 26, 14, 28, 21, 8, 28, 7, 7, 29, 30, 30, 26, 21, 16, 4, 5, 0, 26, 13, 15, 12, 22, 6, 18, 8, 10, 25, 30, 4, 31, 25, 25, 20, 9, 16, 12, 4, 1, 31, 28, 5, 23, 24, 4, 29, 31, 17, 5, 0, 21, 26, 4, 17, 23, 13, 12, 10, 23, 20, 11, 21, 16, 23, 20, 6, 31, 4, 6, 22, 12, 29, 23, 2, 30, 17, 31, 29, 1, 4, 29, 17, 28, 8, 15, 6, 23, 18],
"ct": [2, 15, 7, 3, 1, 23, 20, 2, 1, 28, 30, 26, 11, 20, 26, 3, 5, 15, 20, 23, 21, 24, 16, 28, 23, 11, 29, 9, 4, 1, 10, 1, 1, 9, 0, 10, 19, 24, 12, 14, 29, 28, 27, 8, 23, 21, 19, 31, 26, 28, 15, 15, 9, 16, 10, 8, 9, 27, 24, 0, 2, 14, 31, 12, 4, 3, 4, 30, 28, 31, 10, 1, 16, 7, 25, 12, 25, 18, 14, 27, 27, 0, 28, 1, 29, 13, 24, 30, 10, 0, 13, 15, 8, 21, 15, 20, 1, 21, 6, 15, 15, 25, 15, 19, 7, 26, 9, 30, 8, 8, 7, 26, 10, 26, 18, 18, 19, 9, 3, 5, 21, 31, 2, 21, 18, 4, 4, 28],
"result": "valid"
}
]
},
{
"keySize": 128,
"msgSize": 260,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2817,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "39fd85d1a418270e382f927fa7d69afe",
"tweak": "3a0bb251adfea53c",
"msg": [30, 19, 6, 19, 27, 12, 29, 30, 22, 5, 31, 23, 21, 28, 31, 8, 3, 23, 11, 1, 4, 26, 18, 6, 18, 0, 26, 24, 10, 13, 26, 19, 17, 17, 28, 1, 25, 10, 19, 27, 24, 30, 23, 12, 14, 29, 8, 15, 10, 3, 19, 15, 27, 23, 29, 26, 11, 0, 5, 0, 9, 23, 0, 25, 29, 12, 15, 11, 28, 31, 13, 25, 14, 10, 6, 24, 22, 25, 4, 5, 31, 20, 24, 6, 25, 28, 21, 22, 29, 6, 22, 15, 27, 5, 10, 26, 26, 23, 19, 0, 4, 4, 8, 19, 29, 12, 18, 14, 6, 6, 19, 13, 27, 23, 1, 15, 15, 5, 30, 19, 31, 1, 15, 13, 2, 13, 19, 31, 13, 19, 10, 11, 27, 16, 21, 22, 29, 25, 0, 21, 14, 4, 14, 28, 26, 26, 18, 13, 28, 27, 16, 26, 5, 10, 6, 27, 11, 27, 23, 20, 9, 2, 7, 30, 31, 3, 3, 25, 15, 1, 3, 20, 30, 6, 17, 20, 9, 29, 0, 4, 29, 17, 9, 8, 7, 21, 5, 0, 18, 25, 24, 3, 16, 18, 9, 7, 24, 19, 29, 7, 28, 30, 20, 11, 19, 12, 29, 18, 28, 14, 17, 13, 4, 12, 6, 31, 10, 8, 19, 27, 8, 16, 27, 17, 11, 26, 11, 31, 15, 13, 29, 9, 17, 8, 30, 6, 31, 24, 24, 5, 28, 18, 25, 0, 25, 12, 6, 3, 28, 25, 0, 21, 2, 15, 21, 30, 24, 22, 4, 1],
"ct": [27, 31, 4, 2, 10, 13, 3, 18, 4, 15, 11, 3, 9, 25, 22, 27, 27, 10, 29, 2, 14, 12, 3, 2, 10, 17, 25, 11, 20, 7, 7, 22, 4, 3, 21, 13, 19, 5, 17, 26, 13, 14, 8, 1, 8, 27, 30, 28, 16, 23, 15, 11, 27, 29, 20, 22, 8, 2, 24, 2, 11, 29, 8, 20, 15, 15, 6, 20, 27, 5, 21, 20, 9, 10, 28, 11, 28, 16, 28, 22, 14, 18, 22, 9, 31, 5, 21, 28, 15, 26, 19, 29, 7, 12, 21, 20, 21, 10, 3, 14, 21, 17, 0, 30, 14, 23, 12, 27, 18, 8, 14, 21, 26, 28, 3, 24, 20, 17, 5, 17, 12, 6, 8, 27, 4, 20, 20, 26, 0, 9, 4, 10, 2, 6, 7, 8, 18, 6, 1, 19, 20, 9, 5, 14, 20, 26, 5, 31, 3, 22, 26, 23, 12, 11, 1, 18, 5, 18, 24, 25, 14, 27, 10, 3, 23, 3, 26, 10, 6, 15, 23, 12, 6, 19, 27, 20, 24, 0, 13, 3, 4, 28, 5, 24, 14, 27, 2, 12, 11, 11, 0, 31, 27, 20, 6, 13, 3, 7, 30, 12, 25, 23, 9, 28, 26, 27, 0, 5, 7, 11, 10, 1, 11, 9, 21, 27, 21, 15, 12, 12, 30, 7, 6, 14, 20, 6, 21, 27, 18, 19, 28, 19, 14, 29, 4, 26, 21, 8, 6, 20, 10, 18, 8, 30, 2, 18, 14, 18, 11, 22, 16, 10, 12, 24, 21, 28, 6, 20, 19, 0],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 26,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2818,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "a08b283fbb882bc35ad665f439ba1ba3cb45faa7ef953e75",
"tweak": "a8bad0d760a36482",
"msg": [25, 21, 26, 6, 21, 29, 11, 15, 28, 17, 27, 14, 3, 23, 12, 23, 8, 15, 18, 28, 18, 28, 6, 7, 2, 27],
"ct": [8, 2, 30, 24, 5, 14, 27, 5, 14, 30, 3, 31, 10, 21, 11, 14, 19, 28, 1, 23, 27, 13, 5, 13, 29, 3],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 27,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2819,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "bc8a31cd3bf14b148eb6519268b2bd472de9cce165061efd",
"tweak": "f62b70082bb992d2",
"msg": [16, 5, 15, 9, 11, 5, 10, 27, 2, 10, 20, 19, 6, 24, 4, 28, 15, 4, 22, 22, 27, 0, 20, 23, 12, 19, 19],
"ct": [7, 24, 8, 1, 23, 8, 15, 6, 25, 17, 19, 17, 14, 10, 25, 7, 6, 23, 16, 29, 9, 20, 24, 8, 19, 18, 28],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 28,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2820,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "0c6561b42c5cde205f8ba1b4fe71ac110ff2807958a069d4",
"tweak": "1b2ce7022ea31126",
"msg": [13, 24, 11, 2, 30, 29, 31, 6, 9, 3, 3, 5, 16, 4, 30, 1, 28, 16, 31, 6, 1, 31, 14, 17, 16, 16, 8, 17],
"ct": [15, 19, 13, 27, 20, 31, 5, 19, 9, 23, 7, 8, 14, 13, 9, 21, 26, 8, 0, 11, 15, 23, 26, 11, 23, 6, 1, 0],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 29,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2821,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "4e08042735575708e4a9a0df5ae920c4fd181e38e731eb2e",
"tweak": "36502a1e0aeca248",
"msg": [7, 31, 21, 28, 28, 6, 20, 22, 7, 1, 21, 2, 3, 17, 22, 15, 0, 7, 21, 11, 24, 26, 9, 23, 19, 26, 4, 11, 16],
"ct": [20, 28, 5, 18, 31, 14, 6, 6, 14, 11, 30, 21, 29, 21, 24, 11, 0, 12, 10, 7, 30, 20, 14, 24, 25, 23, 16, 27, 24],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 30,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2822,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "5fd8e11413d7659bc1b0be8e8febf6d6342060aa9a91d63d",
"tweak": "f249815599506c40",
"msg": [20, 31, 3, 18, 29, 7, 23, 1, 20, 13, 25, 26, 29, 5, 4, 0, 14, 21, 3, 11, 25, 29, 8, 27, 21, 17, 4, 2, 2, 15],
"ct": [4, 28, 27, 8, 21, 24, 4, 8, 2, 30, 22, 13, 7, 13, 14, 24, 6, 7, 5, 8, 13, 1, 6, 22, 29, 17, 20, 29, 7, 23],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 31,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2823,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "77b5e0675cc0ecffd9a187798870ce49ce4a9b6807e14b2b",
"tweak": "dc5996a3061cff92",
"msg": [30, 14, 10, 7, 8, 0, 10, 0, 14, 31, 22, 14, 18, 26, 22, 2, 12, 5, 15, 16, 18, 23, 25, 3, 19, 16, 16, 0, 17, 10, 10],
"ct": [30, 8, 22, 0, 30, 28, 20, 2, 26, 17, 27, 29, 12, 31, 17, 25, 26, 21, 3, 0, 28, 10, 20, 15, 7, 4, 5, 7, 7, 3, 18],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 32,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2824,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "51bc85303caaaad311ecfdbad7b6d390f51de4de32beeb24",
"tweak": "5ba80100c8ec15b3",
"msg": [21, 30, 6, 23, 21, 18, 19, 15, 18, 3, 12, 12, 29, 27, 11, 31, 13, 30, 1, 10, 12, 4, 10, 1, 8, 25, 8, 10, 27, 14, 18, 15],
"ct": [28, 23, 1, 28, 22, 5, 26, 20, 13, 8, 3, 3, 31, 1, 19, 30, 0, 10, 14, 31, 21, 27, 17, 20, 10, 19, 10, 6, 4, 2, 14, 20],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 33,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2825,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "c873cf24452bb6d1ac26d53a77387c345eb0d8567f49d5ea",
"tweak": "b46136fc98b7e9f8",
"msg": [9, 17, 20, 21, 30, 28, 12, 10, 16, 15, 7, 12, 10, 11, 20, 27, 17, 18, 3, 31, 17, 6, 2, 26, 6, 17, 9, 30, 27, 28, 31, 26, 9],
"ct": [10, 4, 24, 19, 19, 8, 29, 6, 29, 12, 2, 14, 31, 21, 2, 18, 30, 27, 2, 27, 9, 10, 0, 31, 26, 9, 24, 1, 15, 1, 20, 10, 8],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 38,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2826,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "53604548a0e8efc31ac3036e9cd142b0d201fff86faa3a4a",
"tweak": "d8aca824d25129ed",
"msg": [25, 30, 19, 27, 2, 3, 9, 25, 21, 18, 22, 0, 20, 22, 15, 5, 14, 17, 7, 1, 9, 17, 29, 19, 4, 27, 12, 23, 4, 24, 5, 12, 23, 29, 1, 14, 18, 6],
"ct": [4, 17, 5, 5, 14, 17, 8, 1, 18, 3, 18, 5, 0, 1, 13, 22, 30, 1, 29, 1, 4, 30, 8, 25, 4, 29, 30, 4, 26, 25, 1, 5, 8, 22, 29, 1, 12, 25],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 39,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2827,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "f41a007fe8c306f6bf580b158a5b4c87c6f460e843f8d372",
"tweak": "722e8d6d7b738fef",
"msg": [24, 4, 29, 21, 1, 6, 7, 9, 22, 11, 2, 17, 25, 26, 17, 10, 3, 26, 0, 5, 8, 22, 0, 2, 19, 30, 23, 27, 2, 6, 20, 16, 13, 27, 13, 13, 3, 26, 0],
"ct": [6, 22, 17, 19, 16, 9, 23, 21, 30, 25, 9, 30, 19, 13, 17, 8, 11, 26, 4, 0, 5, 13, 24, 3, 7, 26, 22, 10, 31, 3, 4, 18, 31, 21, 6, 30, 8, 11, 5],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 40,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2828,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "874c932451575931e99c482805c40441d978af9c68bd82af",
"tweak": "f4a660ef48089bb0",
"msg": [28, 16, 28, 22, 7, 5, 3, 22, 11, 31, 13, 22, 23, 30, 22, 0, 18, 13, 14, 25, 29, 26, 14, 9, 18, 12, 4, 19, 5, 17, 5, 9, 19, 11, 2, 4, 22, 7, 27, 27],
"ct": [25, 29, 15, 9, 9, 25, 2, 27, 23, 9, 29, 22, 0, 0, 9, 14, 22, 4, 15, 26, 15, 30, 23, 28, 5, 24, 13, 10, 9, 14, 15, 31, 0, 29, 24, 11, 29, 18, 21, 22],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 50,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2829,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "94e55b2a8b7d3d3da20a8874c0214e0fe3927e87fd461da0",
"tweak": "7a33c37091c1d4d3",
"msg": [20, 26, 2, 15, 26, 27, 5, 3, 21, 28, 20, 24, 2, 17, 26, 3, 11, 6, 4, 7, 18, 20, 0, 26, 9, 11, 14, 13, 21, 15, 30, 15, 9, 16, 24, 13, 18, 20, 18, 0, 7, 18, 20, 12, 24, 0, 11, 2, 5, 18],
"ct": [7, 23, 0, 21, 3, 9, 13, 22, 25, 16, 8, 9, 9, 1, 3, 19, 17, 29, 25, 31, 9, 17, 9, 3, 10, 20, 22, 7, 24, 21, 3, 6, 10, 0, 27, 5, 25, 6, 12, 20, 16, 13, 1, 28, 10, 8, 23, 25, 12, 14],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 51,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2830,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "340b68d8e577e7fa57bdb9797b28c6446fe7fcfff72e5c64",
"tweak": "29320cfa3a9dcb16",
"msg": [6, 14, 30, 11, 6, 3, 14, 9, 31, 0, 5, 13, 8, 7, 26, 13, 6, 30, 26, 2, 23, 17, 26, 19, 5, 21, 30, 10, 16, 9, 5, 12, 12, 22, 14, 11, 25, 1, 31, 12, 6, 9, 28, 28, 13, 17, 0, 5, 27, 31, 19],
"ct": [17, 4, 22, 29, 25, 9, 2, 24, 9, 16, 14, 12, 18, 9, 13, 5, 20, 31, 19, 1, 24, 20, 9, 2, 14, 6, 31, 27, 8, 13, 16, 23, 15, 5, 8, 12, 2, 15, 6, 7, 23, 2, 31, 24, 22, 16, 17, 16, 1, 13, 8],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 64,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2831,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "e4c130f163d45035558190d51f439765679a202370a0ce7f",
"tweak": "d99a093ac4bd3488",
"msg": [13, 29, 2, 4, 6, 10, 30, 22, 14, 19, 12, 16, 6, 19, 21, 8, 8, 24, 13, 26, 12, 17, 4, 29, 24, 23, 28, 18, 3, 31, 18, 1, 11, 23, 24, 15, 0, 6, 21, 5, 22, 19, 2, 8, 8, 0, 27, 13, 25, 18, 11, 25, 10, 25, 1, 12, 12, 8, 9, 27, 1, 9, 19, 20],
"ct": [22, 1, 3, 29, 31, 29, 11, 6, 0, 5, 25, 28, 1, 11, 14, 21, 10, 13, 23, 2, 18, 18, 10, 0, 12, 0, 3, 21, 11, 30, 23, 5, 26, 28, 20, 31, 29, 21, 22, 22, 22, 5, 7, 23, 21, 22, 9, 31, 10, 19, 15, 17, 9, 30, 16, 1, 2, 22, 23, 23, 26, 9, 19, 9],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 65,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2832,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "8b8eaed962db0042a7016dcf4324721463c3dc2b02621e2f",
"tweak": "9e87e82de847d792",
"msg": [2, 29, 5, 10, 16, 14, 4, 16, 7, 19, 22, 9, 7, 3, 3, 30, 24, 24, 20, 19, 0, 6, 4, 8, 7, 8, 30, 10, 10, 16, 1, 8, 3, 30, 0, 16, 10, 20, 27, 30, 4, 26, 20, 13, 20, 31, 31, 6, 2, 19, 25, 13, 1, 31, 15, 25, 7, 29, 14, 6, 2, 20, 25, 27, 24],
"ct": [17, 18, 15, 3, 8, 24, 15, 17, 11, 7, 8, 4, 6, 20, 4, 6, 7, 9, 12, 17, 15, 21, 27, 17, 9, 14, 13, 16, 15, 9, 20, 28, 22, 25, 1, 0, 13, 30, 19, 12, 28, 13, 23, 26, 15, 16, 19, 31, 0, 11, 5, 14, 2, 24, 25, 12, 10, 0, 5, 30, 5, 0, 23, 16, 9],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 76,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2833,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "37d5915b991fae86548b46195e67d21731676c0911847323",
"tweak": "a3e2a76f8910e260",
"msg": [12, 15, 18, 1, 6, 24, 0, 22, 20, 17, 0, 3, 22, 3, 26, 10, 2, 10, 14, 22, 18, 28, 19, 11, 6, 17, 0, 6, 13, 22, 17, 11, 1, 26, 8, 12, 20, 17, 30, 19, 25, 15, 4, 5, 27, 8, 23, 16, 14, 15, 17, 2, 0, 25, 26, 11, 6, 28, 23, 6, 17, 29, 12, 7, 27, 9, 7, 8, 29, 0, 10, 31, 7, 25, 30, 30],
"ct": [3, 14, 25, 13, 15, 13, 11, 18, 24, 21, 15, 11, 21, 5, 16, 16, 8, 10, 19, 30, 18, 21, 20, 9, 9, 3, 30, 20, 1, 24, 17, 27, 21, 21, 14, 20, 6, 18, 1, 17, 28, 14, 26, 24, 14, 13, 29, 31, 22, 25, 21, 7, 17, 16, 17, 10, 31, 20, 26, 3, 31, 13, 8, 2, 27, 1, 29, 31, 16, 12, 5, 11, 18, 8, 1, 21],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 77,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2834,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "2181414823dbab9a36cd2a2db85f154cb96e6a6d984d40f0",
"tweak": "486039b8041a6987",
"msg": [17, 19, 29, 27, 12, 10, 6, 6, 18, 19, 14, 12, 20, 30, 3, 15, 23, 4, 6, 18, 29, 17, 26, 20, 24, 22, 1, 22, 11, 25, 10, 8, 0, 16, 26, 4, 3, 23, 11, 13, 31, 10, 27, 27, 27, 11, 20, 31, 8, 31, 22, 16, 4, 6, 31, 23, 14, 23, 15, 20, 27, 16, 5, 20, 17, 25, 19, 21, 16, 15, 21, 13, 13, 10, 18, 11, 10],
"ct": [1, 24, 31, 5, 11, 2, 29, 7, 21, 16, 18, 11, 13, 24, 30, 13, 25, 17, 26, 31, 8, 29, 15, 19, 7, 23, 2, 1, 30, 4, 8, 22, 4, 24, 16, 31, 15, 14, 2, 18, 15, 28, 7, 6, 27, 2, 28, 10, 19, 12, 19, 7, 16, 6, 8, 21, 7, 24, 24, 14, 20, 22, 19, 2, 19, 21, 24, 22, 22, 0, 20, 8, 7, 21, 31, 8, 7],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 80,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2835,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "c3290a053478ca018533e702e2d0bf805933488260457c79",
"tweak": "c814a8fb2641f8ef",
"msg": [10, 1, 15, 3, 18, 3, 4, 3, 31, 12, 19, 11, 13, 1, 19, 9, 30, 2, 25, 24, 27, 18, 14, 25, 2, 12, 20, 26, 9, 24, 5, 10, 9, 1, 16, 19, 28, 29, 4, 7, 18, 31, 5, 9, 1, 25, 20, 13, 0, 28, 31, 29, 30, 2, 11, 25, 2, 13, 1, 4, 0, 8, 0, 18, 13, 10, 25, 24, 11, 24, 28, 25, 9, 31, 26, 18, 27, 10, 2, 0],
"ct": [27, 27, 26, 5, 2, 12, 5, 0, 19, 7, 4, 15, 15, 31, 29, 28, 23, 19, 20, 25, 23, 0, 29, 21, 31, 24, 30, 19, 21, 7, 30, 13, 14, 11, 22, 12, 3, 26, 11, 7, 0, 17, 25, 3, 30, 18, 20, 20, 24, 0, 28, 24, 6, 18, 0, 9, 17, 1, 8, 19, 27, 21, 23, 27, 16, 11, 0, 8, 12, 30, 8, 27, 1, 21, 31, 26, 13, 13, 4, 25],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 88,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2836,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "f8b8da7af085e43d1d9200ca1c3febe1ec987610ded5dd21",
"tweak": "a7d199abddf91fbd",
"msg": [12, 4, 26, 6, 14, 30, 26, 6, 10, 29, 23, 2, 31, 9, 30, 12, 22, 29, 24, 16, 12, 22, 5, 17, 12, 1, 7, 19, 24, 19, 30, 7, 30, 3, 26, 8, 4, 4, 20, 23, 30, 30, 9, 14, 4, 5, 21, 0, 16, 27, 21, 8, 11, 24, 27, 20, 0, 28, 8, 16, 18, 26, 5, 11, 21, 22, 29, 8, 16, 5, 28, 26, 16, 9, 29, 23, 25, 20, 20, 19, 15, 18, 18, 23, 14, 28, 18, 20],
"ct": [3, 19, 22, 23, 31, 20, 19, 13, 13, 23, 16, 1, 14, 10, 4, 24, 8, 30, 25, 20, 22, 22, 5, 7, 18, 10, 27, 29, 27, 29, 4, 22, 6, 24, 7, 11, 11, 5, 24, 5, 3, 29, 1, 21, 15, 18, 30, 6, 7, 6, 2, 4, 16, 3, 27, 2, 13, 31, 14, 17, 19, 26, 8, 4, 17, 6, 0, 31, 24, 2, 19, 16, 3, 3, 18, 4, 24, 22, 29, 31, 15, 16, 19, 21, 5, 14, 11, 6],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 89,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2837,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "df45ffa1696cfedf4826bf1ca5e7d7d0c97d9b945e480845",
"tweak": "3ed636218ce9eb4d",
"msg": [15, 15, 9, 30, 6, 1, 31, 2, 5, 11, 13, 31, 16, 6, 11, 9, 13, 17, 2, 4, 1, 22, 7, 20, 30, 29, 25, 30, 23, 19, 10, 19, 10, 1, 22, 22, 28, 19, 8, 17, 22, 18, 6, 12, 7, 24, 3, 5, 16, 5, 12, 23, 24, 23, 25, 16, 0, 8, 17, 27, 23, 5, 31, 2, 10, 16, 14, 17, 29, 6, 10, 19, 25, 26, 23, 30, 21, 7, 18, 20, 14, 0, 26, 23, 30, 5, 6, 7, 0],
"ct": [20, 19, 26, 22, 17, 15, 0, 30, 23, 28, 24, 11, 24, 3, 5, 5, 13, 12, 18, 21, 11, 19, 24, 5, 1, 29, 24, 7, 5, 5, 24, 4, 19, 15, 19, 12, 4, 0, 17, 22, 25, 17, 16, 15, 15, 10, 20, 18, 11, 19, 30, 6, 18, 19, 2, 12, 5, 26, 16, 4, 11, 29, 20, 4, 5, 26, 12, 28, 13, 28, 20, 7, 12, 26, 24, 20, 20, 28, 15, 30, 23, 1, 20, 18, 8, 19, 14, 24, 5],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 102,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2838,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "8c5e269047b73c8173fafb883bdf5549ea81f5000233ae8d",
"tweak": "de19120ae5a573db",
"msg": [9, 4, 28, 18, 9, 23, 22, 13, 22, 27, 12, 14, 16, 21, 7, 8, 20, 29, 26, 26, 29, 1, 8, 24, 27, 24, 10, 6, 17, 8, 13, 17, 28, 9, 11, 7, 12, 2, 0, 26, 30, 30, 4, 22, 11, 10, 23, 25, 6, 19, 10, 1, 25, 12, 22, 19, 7, 25, 26, 18, 3, 25, 21, 9, 2, 12, 13, 20, 3, 10, 24, 6, 5, 7, 10, 6, 12, 17, 18, 24, 29, 5, 16, 25, 17, 9, 31, 24, 2, 11, 17, 8, 20, 0, 24, 23, 21, 13, 21, 7, 2, 13],
"ct": [19, 8, 30, 26, 9, 21, 14, 23, 17, 1, 12, 18, 28, 21, 23, 30, 24, 16, 12, 5, 23, 25, 21, 25, 25, 2, 30, 19, 7, 20, 21, 14, 27, 31, 15, 2, 20, 16, 12, 21, 5, 6, 26, 23, 6, 13, 24, 11, 12, 29, 31, 30, 30, 17, 23, 9, 3, 23, 17, 22, 11, 3, 2, 31, 27, 14, 13, 7, 25, 9, 19, 17, 13, 13, 1, 0, 5, 13, 17, 25, 21, 10, 0, 31, 23, 22, 28, 11, 6, 22, 30, 26, 11, 29, 26, 26, 4, 18, 12, 25, 2, 27],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 128,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2839,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "f38798eb8567d4a7f70c50782361b5a6261d07e43c8b54ca",
"tweak": "36c24b7c62ee3538",
"msg": [12, 7, 2, 27, 17, 4, 25, 12, 13, 9, 24, 8, 12, 10, 0, 9, 11, 24, 11, 20, 27, 19, 28, 29, 14, 14, 19, 24, 22, 10, 25, 26, 13, 31, 19, 0, 28, 29, 16, 3, 8, 30, 10, 31, 2, 21, 11, 30, 16, 27, 17, 24, 6, 10, 24, 28, 20, 9, 25, 14, 5, 4, 20, 17, 28, 6, 14, 21, 23, 15, 20, 2, 22, 25, 28, 9, 20, 15, 30, 25, 14, 20, 1, 25, 18, 28, 7, 13, 4, 16, 12, 23, 12, 8, 10, 31, 6, 12, 18, 2, 21, 0, 7, 7, 22, 23, 16, 0, 29, 0, 18, 11, 29, 9, 23, 3, 2, 4, 31, 11, 19, 11, 19, 14, 15, 3, 17, 30],
"ct": [0, 16, 18, 24, 11, 31, 12, 26, 12, 29, 11, 22, 10, 31, 5, 19, 28, 18, 17, 6, 22, 20, 8, 13, 1, 20, 0, 10, 9, 10, 0, 5, 19, 21, 0, 16, 31, 23, 30, 12, 22, 29, 6, 18, 4, 5, 1, 6, 27, 21, 11, 1, 14, 26, 2, 3, 9, 12, 2, 8, 12, 28, 24, 16, 20, 17, 25, 23, 28, 24, 23, 10, 17, 0, 28, 30, 29, 19, 15, 14, 27, 16, 9, 26, 21, 8, 13, 17, 8, 4, 19, 4, 11, 3, 13, 23, 18, 31, 10, 17, 3, 24, 3, 20, 19, 2, 16, 12, 24, 17, 13, 1, 20, 15, 9, 11, 4, 8, 17, 31, 21, 21, 16, 7, 21, 5, 30, 8],
"result": "valid"
}
]
},
{
"keySize": 192,
"msgSize": 260,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2840,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "ddf845415ef282ad312951d506329229d34582b869cec20f",
"tweak": "fa3a2a07855bde0b",
"msg": [0, 18, 12, 29, 26, 7, 13, 24, 29, 15, 11, 31, 15, 27, 18, 22, 13, 10, 8, 11, 31, 2, 20, 4, 17, 9, 15, 7, 16, 18, 2, 23, 4, 4, 16, 9, 17, 19, 27, 31, 21, 7, 10, 9, 12, 31, 10, 6, 6, 4, 10, 30, 12, 9, 27, 31, 1, 23, 3, 31, 23, 2, 4, 23, 14, 21, 23, 7, 11, 0, 26, 31, 12, 28, 16, 19, 3, 29, 13, 6, 3, 4, 0, 31, 25, 14, 21, 4, 22, 3, 1, 9, 5, 22, 19, 7, 15, 13, 21, 31, 31, 18, 24, 28, 1, 29, 27, 23, 21, 13, 29, 19, 12, 0, 29, 28, 23, 15, 4, 3, 31, 10, 30, 2, 2, 5, 8, 16, 11, 14, 10, 22, 21, 5, 19, 25, 10, 15, 9, 9, 22, 14, 28, 21, 12, 13, 20, 22, 11, 7, 10, 23, 16, 9, 24, 0, 17, 30, 16, 23, 1, 28, 21, 11, 21, 5, 18, 7, 6, 26, 11, 14, 26, 23, 22, 11, 23, 25, 23, 25, 21, 14, 8, 29, 5, 25, 9, 23, 13, 31, 0, 18, 18, 11, 28, 28, 23, 31, 28, 22, 18, 2, 18, 20, 25, 24, 9, 3, 0, 23, 11, 3, 7, 10, 28, 15, 29, 20, 14, 9, 16, 23, 23, 2, 24, 4, 9, 2, 12, 16, 17, 3, 22, 5, 31, 2, 8, 6, 14, 8, 10, 14, 20, 9, 8, 9, 9, 24, 25, 1, 18, 1, 1, 30, 11, 9, 23, 31, 29, 3],
"ct": [17, 20, 8, 4, 0, 11, 31, 7, 17, 20, 7, 19, 15, 29, 30, 7, 17, 3, 15, 8, 6, 2, 27, 12, 23, 8, 17, 28, 14, 4, 4, 29, 17, 25, 14, 16, 7, 17, 19, 29, 23, 14, 25, 29, 14, 30, 28, 10, 19, 16, 18, 3, 30, 6, 18, 26, 29, 25, 24, 8, 12, 30, 24, 15, 14, 5, 12, 30, 19, 15, 19, 21, 14, 21, 15, 24, 12, 26, 4, 7, 17, 28, 14, 31, 0, 28, 8, 10, 24, 20, 0, 2, 15, 29, 21, 15, 18, 0, 0, 3, 25, 7, 30, 25, 9, 17, 12, 12, 27, 5, 29, 6, 31, 19, 16, 8, 3, 5, 14, 26, 20, 20, 31, 24, 31, 13, 1, 4, 13, 22, 26, 8, 7, 7, 8, 18, 31, 26, 23, 9, 26, 19, 19, 17, 1, 31, 2, 29, 6, 30, 12, 1, 17, 26, 14, 11, 25, 14, 23, 11, 28, 0, 23, 4, 11, 6, 26, 24, 3, 21, 13, 0, 12, 14, 12, 1, 3, 20, 25, 4, 17, 21, 24, 28, 3, 16, 23, 2, 31, 10, 10, 1, 8, 4, 28, 5, 5, 16, 30, 19, 21, 25, 14, 23, 3, 12, 0, 20, 30, 1, 22, 22, 27, 25, 0, 1, 20, 23, 19, 14, 24, 18, 12, 30, 3, 16, 18, 10, 16, 28, 21, 5, 0, 30, 4, 10, 11, 15, 15, 16, 11, 6, 9, 31, 30, 27, 30, 11, 0, 25, 30, 18, 13, 15, 1, 28, 29, 23, 24, 1],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 26,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2841,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "219dd3d491cb992c6c8c4d4292b5ee76784b4b383fc415b654f09d600248858b",
"tweak": "6434003b257c6b31",
"msg": [19, 8, 25, 24, 14, 24, 11, 25, 4, 31, 31, 21, 24, 19, 16, 0, 24, 2, 30, 14, 17, 17, 16, 31, 4, 28],
"ct": [1, 29, 21, 26, 0, 5, 17, 22, 13, 10, 14, 28, 0, 18, 20, 24, 28, 10, 9, 2, 13, 22, 5, 17, 27, 11],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 27,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2842,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "89dcb7b56207898e6bbf9275e00e68d7f08eee8ef17be1a0359b5f15a4c7f476",
"tweak": "2146a4ee0ca89f28",
"msg": [2, 1, 19, 8, 16, 0, 25, 10, 30, 24, 17, 20, 25, 1, 2, 15, 19, 25, 20, 19, 9, 15, 25, 9, 21, 14, 3],
"ct": [16, 31, 23, 11, 4, 4, 29, 1, 17, 6, 22, 0, 29, 26, 20, 26, 10, 14, 25, 9, 22, 6, 5, 21, 20, 16, 27],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 28,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2843,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "56b5a4449c4eab69ba4deb8094c02b97de3992b606485185334642bf8626dcee",
"tweak": "46ab2623206bced3",
"msg": [4, 20, 6, 22, 19, 22, 8, 2, 7, 2, 9, 5, 8, 18, 29, 27, 9, 22, 18, 14, 31, 31, 22, 20, 18, 1, 24, 6],
"ct": [7, 16, 11, 3, 0, 21, 30, 20, 7, 13, 12, 25, 12, 20, 11, 18, 21, 3, 25, 31, 21, 22, 1, 25, 17, 29, 30, 11],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 29,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2844,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "289b50c9fef3028eebb6d8121536042e818bcf1ce7829d123daf3704c95a803d",
"tweak": "6fc54bb5ade03038",
"msg": [10, 10, 5, 6, 28, 21, 14, 29, 29, 10, 20, 1, 8, 5, 12, 10, 24, 22, 21, 19, 31, 21, 0, 8, 15, 11, 0, 15, 25],
"ct": [2, 13, 24, 11, 0, 24, 22, 9, 3, 20, 3, 13, 2, 8, 21, 16, 30, 3, 19, 9, 28, 0, 9, 3, 25, 30, 22, 11, 31],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 30,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2845,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "73fb9509d5105cc23dc27665da2603ae368bb7472ee6faba1f50369cd283944e",
"tweak": "5cbf2c8926102868",
"msg": [15, 22, 26, 3, 6, 1, 26, 2, 28, 20, 9, 22, 18, 3, 4, 26, 26, 8, 3, 7, 23, 29, 19, 6, 16, 12, 26, 24, 1, 14],
"ct": [14, 29, 30, 12, 15, 17, 13, 8, 1, 4, 18, 31, 27, 22, 14, 10, 7, 25, 0, 19, 30, 25, 30, 30, 31, 4, 9, 16, 21, 31],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 31,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2846,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "c469e6908749a713e6ef407c557cea98515c3e931222e22d13b85ea1f6071231",
"tweak": "47b8d0890cbc7d4d",
"msg": [17, 31, 0, 24, 20, 13, 12, 31, 21, 12, 27, 5, 16, 30, 27, 26, 3, 27, 18, 10, 5, 31, 24, 2, 14, 22, 23, 4, 0, 3, 7],
"ct": [19, 7, 15, 15, 13, 15, 11, 8, 2, 8, 12, 2, 8, 22, 5, 8, 29, 29, 5, 4, 23, 10, 8, 31, 12, 18, 8, 15, 8, 0, 1],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 32,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2847,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "233e4fdee70bcc20235b6977ddfc05b0df66f5635d827c66e5a63cdb16a24938",
"tweak": "1b6819798da15c7a",
"msg": [31, 28, 22, 16, 17, 29, 11, 30, 20, 15, 4, 24, 15, 21, 15, 19, 26, 17, 26, 29, 29, 16, 2, 4, 1, 30, 17, 30, 31, 10, 1, 15],
"ct": [9, 3, 29, 31, 16, 6, 20, 21, 5, 26, 14, 22, 1, 31, 20, 29, 24, 4, 13, 11, 2, 5, 13, 13, 8, 26, 12, 3, 18, 29, 28, 17],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 33,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2848,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "ff5595a976430f9c424459d7206cfa55562f5f2328f12e31232499fb1e7c49b4",
"tweak": "2d1ad468fddd0754",
"msg": [5, 24, 4, 24, 27, 7, 8, 31, 8, 6, 19, 17, 25, 11, 10, 24, 5, 20, 3, 19, 14, 5, 13, 13, 8, 29, 20, 28, 23, 8, 16, 13, 6],
"ct": [9, 7, 13, 2, 3, 15, 22, 14, 21, 16, 5, 30, 5, 10, 27, 17, 12, 13, 24, 18, 11, 13, 11, 25, 0, 19, 17, 23, 30, 28, 23, 11, 21],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 38,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2849,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "0e7e9058a2bad0b221380073334245863a3806b40db72f97123830b3cf2049f0",
"tweak": "bd44d8a87bbe2d54",
"msg": [3, 11, 6, 23, 16, 24, 26, 22, 26, 4, 4, 17, 23, 20, 22, 27, 22, 3, 5, 23, 7, 6, 16, 3, 26, 21, 12, 25, 11, 13, 7, 31, 20, 23, 15, 4, 9, 16],
"ct": [21, 31, 22, 5, 31, 12, 18, 18, 19, 19, 23, 28, 14, 11, 5, 11, 15, 18, 6, 31, 0, 25, 18, 8, 3, 31, 28, 1, 1, 30, 3, 28, 14, 0, 6, 25, 2, 18],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 39,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2850,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "11e30ec3090687f70bb498193541ded7d7accc0b6a8e5106fdf2ca38d34a6ffa",
"tweak": "c1aec33763cc79cf",
"msg": [11, 26, 30, 19, 21, 9, 11, 20, 7, 11, 15, 16, 13, 17, 4, 3, 29, 29, 9, 8, 12, 21, 12, 28, 18, 25, 29, 2, 20, 2, 22, 5, 24, 25, 27, 15, 9, 22, 18],
"ct": [28, 12, 27, 5, 30, 8, 15, 5, 26, 19, 27, 16, 26, 30, 13, 31, 21, 8, 7, 1, 10, 29, 24, 28, 5, 18, 31, 3, 17, 29, 18, 19, 4, 16, 21, 28, 20, 8, 4],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 40,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2851,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "44d6353fd4623666bb7617a2235ebe645e1685dc11e084d7408c75042d94c06c",
"tweak": "e0b69ccb91ebb7a3",
"msg": [31, 13, 2, 5, 26, 10, 14, 18, 23, 5, 9, 0, 10, 18, 14, 15, 19, 20, 27, 21, 10, 25, 6, 20, 22, 30, 25, 16, 25, 2, 9, 7, 29, 28, 11, 24, 21, 2, 9, 14],
"ct": [16, 19, 24, 26, 6, 0, 22, 23, 27, 0, 0, 31, 11, 16, 10, 31, 13, 19, 19, 8, 26, 8, 30, 9, 30, 30, 12, 4, 25, 20, 10, 21, 11, 11, 20, 30, 24, 10, 17, 23],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 50,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2852,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "d28ef4521e8c1cb1560dedefc1b5eaa15e7db0f2915302453517f34409c2a770",
"tweak": "894c10191f9b73d5",
"msg": [4, 20, 30, 6, 18, 26, 23, 22, 11, 29, 13, 27, 0, 25, 14, 1, 31, 23, 17, 10, 13, 30, 12, 31, 2, 6, 17, 17, 5, 1, 24, 23, 9, 9, 1, 16, 21, 24, 19, 31, 20, 27, 4, 22, 23, 0, 26, 6, 29, 19],
"ct": [17, 12, 17, 8, 8, 4, 7, 4, 16, 13, 20, 11, 17, 30, 17, 13, 26, 30, 25, 2, 0, 26, 0, 14, 22, 20, 10, 20, 8, 14, 22, 24, 10, 13, 1, 30, 17, 27, 7, 18, 20, 28, 21, 13, 10, 12, 0, 31, 0, 6],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 51,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2853,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "e0c97fb07909e71d32a48014cdb0c5b66d2df9b0016ec7f6f98010a36a034a58",
"tweak": "e93d13e2507d3e88",
"msg": [22, 24, 12, 13, 13, 5, 30, 31, 15, 1, 6, 9, 27, 25, 26, 13, 12, 18, 25, 24, 4, 0, 23, 2, 2, 3, 18, 23, 10, 5, 5, 16, 16, 2, 11, 16, 4, 14, 22, 29, 3, 23, 27, 21, 26, 9, 17, 14, 27, 31, 24],
"ct": [15, 1, 24, 14, 28, 20, 1, 29, 23, 7, 22, 30, 15, 2, 1, 31, 14, 9, 2, 23, 22, 2, 23, 3, 24, 11, 20, 24, 7, 7, 6, 27, 20, 3, 14, 0, 26, 16, 8, 10, 28, 14, 19, 3, 5, 3, 20, 5, 29, 17, 21],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 64,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2854,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "2f18635c07eefa940f9f24050f44a9ef0a635c87a70897eaceeeeef15fefe1f8",
"tweak": "4ccb9dd3441d2cfb",
"msg": [31, 7, 30, 23, 27, 1, 1, 28, 22, 22, 9, 8, 19, 19, 23, 1, 4, 30, 3, 24, 30, 20, 9, 7, 10, 2, 15, 30, 11, 6, 3, 12, 7, 30, 21, 18, 9, 29, 22, 9, 25, 0, 6, 29, 5, 20, 18, 25, 3, 17, 21, 5, 16, 18, 25, 18, 23, 18, 23, 23, 22, 1, 31, 12],
"ct": [7, 19, 5, 26, 27, 17, 13, 1, 1, 7, 19, 11, 21, 22, 13, 1, 15, 19, 10, 28, 23, 26, 29, 14, 20, 30, 0, 28, 11, 5, 22, 3, 25, 28, 21, 1, 31, 11, 10, 29, 27, 5, 19, 30, 14, 16, 19, 8, 12, 1, 29, 21, 13, 14, 22, 1, 20, 1, 12, 19, 28, 16, 24, 28],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 65,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2855,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "81ff5cc5ffed8bba24714f6ea45c939632398d901a35289e7293f9abb65aa7d8",
"tweak": "ecd9bd3638d8cee2",
"msg": [23, 31, 24, 22, 30, 31, 13, 8, 17, 9, 7, 10, 18, 1, 15, 16, 15, 19, 19, 19, 22, 11, 29, 2, 3, 13, 30, 20, 31, 2, 22, 10, 19, 20, 30, 1, 18, 23, 29, 31, 20, 9, 31, 6, 19, 0, 11, 18, 10, 14, 3, 26, 13, 6, 29, 25, 1, 0, 22, 21, 21, 22, 1, 1, 15],
"ct": [30, 25, 17, 27, 19, 19, 5, 7, 13, 7, 15, 8, 15, 17, 3, 5, 28, 1, 14, 21, 8, 29, 0, 30, 11, 3, 13, 27, 18, 10, 21, 5, 8, 12, 25, 3, 3, 0, 7, 0, 31, 13, 6, 9, 17, 6, 31, 3, 14, 7, 21, 5, 1, 31, 16, 6, 15, 18, 23, 16, 14, 21, 4, 4, 15],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 76,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2856,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "bb44eb887d52af308b251b5b6a4f75a6976548e2640ae354638de7d53a9b9438",
"tweak": "5fcb7e5e25916a27",
"msg": [25, 7, 11, 19, 25, 22, 0, 16, 7, 23, 18, 20, 16, 21, 18, 22, 6, 25, 7, 9, 22, 30, 3, 24, 26, 1, 29, 31, 9, 5, 17, 30, 19, 7, 27, 7, 13, 21, 28, 4, 5, 26, 27, 29, 13, 11, 29, 31, 1, 9, 18, 27, 26, 2, 9, 11, 10, 25, 28, 23, 1, 1, 1, 15, 1, 3, 14, 4, 29, 11, 31, 27, 0, 8, 20, 19],
"ct": [9, 22, 0, 19, 28, 9, 16, 9, 17, 15, 30, 4, 8, 23, 23, 13, 22, 22, 7, 2, 10, 17, 10, 4, 17, 30, 4, 22, 1, 20, 2, 26, 17, 5, 17, 28, 0, 23, 19, 8, 27, 31, 26, 9, 30, 14, 22, 3, 1, 18, 12, 15, 27, 15, 18, 30, 0, 3, 29, 11, 17, 2, 19, 16, 29, 25, 11, 2, 1, 19, 7, 6, 6, 29, 3, 26],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 77,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2857,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "09d4eaa9cfce1276a6402313b0b9c77e6e830ac39888e0418e1d652b7b123909",
"tweak": "de48e38ff930091c",
"msg": [30, 4, 9, 6, 27, 1, 25, 3, 18, 24, 31, 11, 9, 5, 20, 4, 9, 19, 26, 17, 2, 22, 13, 17, 2, 14, 15, 22, 16, 1, 21, 23, 21, 14, 16, 7, 22, 14, 0, 8, 10, 26, 16, 15, 14, 22, 29, 19, 12, 3, 2, 25, 10, 10, 25, 11, 24, 16, 23, 18, 18, 15, 10, 30, 3, 1, 24, 17, 31, 8, 29, 14, 19, 31, 30, 23, 18],
"ct": [12, 16, 9, 20, 29, 12, 11, 9, 2, 12, 11, 27, 7, 17, 10, 10, 10, 16, 24, 7, 0, 24, 21, 17, 21, 3, 19, 10, 23, 27, 1, 24, 15, 1, 7, 4, 10, 15, 26, 16, 26, 0, 21, 7, 29, 3, 10, 30, 3, 15, 8, 7, 5, 4, 17, 20, 21, 21, 0, 5, 31, 29, 9, 18, 24, 11, 28, 22, 12, 6, 19, 18, 18, 17, 4, 30, 16],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 80,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2858,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "4c21f21cf45f61eea701cdae4a3e06a74cd18fd63eec698b49b3a21f4e1c3bf9",
"tweak": "0ec0a2520507286d",
"msg": [6, 28, 16, 10, 8, 0, 19, 15, 1, 27, 29, 4, 11, 10, 11, 15, 20, 24, 14, 11, 19, 4, 21, 2, 19, 2, 22, 7, 31, 12, 16, 29, 10, 21, 9, 9, 26, 17, 8, 28, 20, 6, 23, 17, 19, 5, 1, 30, 4, 1, 8, 6, 12, 3, 29, 15, 7, 31, 3, 22, 19, 7, 19, 19, 24, 27, 2, 31, 15, 23, 12, 20, 14, 20, 28, 12, 29, 3, 24, 20],
"ct": [10, 3, 20, 2, 9, 27, 15, 0, 1, 26, 16, 12, 26, 16, 3, 5, 6, 21, 9, 8, 18, 14, 11, 19, 21, 13, 29, 4, 30, 15, 20, 19, 19, 3, 15, 22, 19, 1, 28, 23, 26, 29, 26, 10, 1, 25, 3, 27, 29, 1, 2, 13, 30, 23, 30, 13, 5, 16, 28, 15, 21, 24, 21, 23, 28, 24, 9, 11, 17, 2, 14, 25, 0, 1, 12, 20, 30, 31, 22, 24],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 88,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2859,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "7ae1050cbe9aa75303198c184379521578586665b5a7970fa984911598ff340b",
"tweak": "2d321e6f95647b24",
"msg": [14, 8, 7, 15, 30, 0, 13, 7, 11, 28, 0, 25, 19, 31, 7, 12, 25, 0, 13, 16, 31, 25, 6, 19, 9, 24, 8, 1, 26, 12, 23, 27, 27, 13, 1, 12, 23, 29, 22, 30, 31, 28, 16, 28, 18, 22, 4, 19, 28, 19, 3, 2, 0, 6, 10, 6, 18, 14, 20, 11, 2, 15, 14, 29, 16, 29, 24, 6, 14, 23, 19, 21, 12, 28, 6, 23, 5, 15, 25, 16, 4, 12, 29, 21, 0, 14, 30, 13],
"ct": [14, 5, 31, 25, 19, 16, 25, 9, 11, 9, 3, 24, 6, 26, 18, 22, 7, 0, 7, 22, 27, 7, 12, 25, 2, 25, 9, 23, 25, 13, 25, 9, 21, 23, 30, 24, 3, 19, 30, 20, 26, 26, 15, 24, 9, 24, 28, 19, 16, 7, 18, 1, 11, 6, 21, 13, 7, 16, 31, 15, 1, 6, 10, 8, 19, 4, 31, 0, 11, 1, 20, 29, 16, 31, 23, 0, 20, 20, 16, 1, 25, 9, 16, 22, 10, 13, 20, 10],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 89,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2860,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "4e1dc0e6f5e2dc9edff2274f90f4fded8ab77e1190201bec58c26e3b7c83c43a",
"tweak": "f7c7fea8b82e3e09",
"msg": [15, 10, 8, 8, 5, 15, 13, 26, 10, 0, 7, 9, 9, 8, 18, 14, 31, 4, 20, 27, 28, 31, 0, 24, 23, 18, 27, 29, 13, 28, 17, 24, 9, 27, 12, 20, 11, 20, 25, 24, 15, 11, 17, 23, 30, 8, 2, 13, 25, 25, 31, 24, 19, 18, 23, 12, 29, 22, 16, 20, 9, 16, 21, 5, 9, 6, 28, 13, 12, 30, 8, 2, 10, 8, 6, 30, 17, 27, 3, 25, 4, 13, 4, 7, 20, 12, 27, 8, 30],
"ct": [14, 23, 14, 11, 7, 2, 6, 10, 30, 15, 22, 22, 22, 10, 6, 17, 12, 11, 16, 21, 7, 25, 22, 29, 7, 15, 30, 19, 27, 26, 9, 9, 25, 17, 21, 11, 29, 0, 3, 14, 28, 16, 11, 24, 0, 21, 24, 25, 8, 9, 4, 23, 5, 30, 13, 4, 7, 30, 17, 14, 20, 12, 8, 23, 26, 16, 5, 16, 8, 16, 8, 3, 27, 11, 31, 31, 3, 28, 20, 29, 28, 11, 4, 26, 11, 14, 7, 12, 19],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 102,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2861,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "7e1cefca146aa68fdb249a7627debbfdc15b6bbfec8cee281caaa7b8a2f13555",
"tweak": "3178011077c18015",
"msg": [15, 19, 31, 8, 7, 24, 10, 17, 30, 9, 22, 4, 13, 19, 15, 26, 0, 6, 15, 11, 24, 11, 21, 31, 21, 8, 1, 1, 5, 7, 8, 0, 3, 25, 17, 4, 18, 7, 30, 16, 21, 10, 5, 31, 30, 11, 15, 9, 9, 30, 31, 22, 12, 25, 15, 29, 16, 27, 21, 31, 31, 22, 10, 28, 19, 17, 18, 15, 30, 29, 5, 9, 11, 12, 28, 16, 0, 15, 9, 16, 15, 27, 30, 29, 31, 8, 7, 23, 4, 12, 17, 2, 5, 13, 11, 13, 28, 13, 17, 11, 16, 6],
"ct": [19, 7, 2, 3, 0, 25, 29, 30, 23, 28, 26, 9, 26, 24, 14, 3, 14, 21, 8, 7, 10, 16, 20, 5, 31, 24, 17, 21, 30, 9, 14, 11, 23, 12, 22, 14, 30, 10, 29, 13, 31, 21, 31, 21, 11, 26, 24, 26, 17, 29, 6, 25, 4, 7, 11, 25, 21, 13, 29, 19, 8, 22, 15, 14, 28, 31, 8, 26, 7, 7, 14, 25, 19, 8, 17, 10, 28, 21, 28, 3, 10, 26, 31, 0, 26, 16, 0, 28, 14, 18, 30, 6, 15, 15, 3, 28, 29, 24, 28, 25, 14, 15],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 128,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2862,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "0a04c284ea0028d71c986b4e547c0e03cc8969ac81ec89dacf67df23bf72d461",
"tweak": "fdb7b6eda7cdb93c",
"msg": [26, 29, 30, 10, 4, 8, 27, 13, 17, 22, 3, 27, 18, 1, 16, 25, 14, 29, 23, 10, 16, 1, 25, 23, 19, 15, 20, 3, 8, 2, 23, 11, 12, 1, 28, 6, 30, 13, 19, 21, 6, 3, 29, 15, 1, 29, 6, 30, 18, 31, 12, 18, 9, 13, 19, 21, 31, 27, 31, 22, 2, 22, 22, 31, 22, 23, 25, 13, 26, 4, 0, 14, 6, 16, 31, 20, 2, 25, 9, 15, 23, 30, 2, 29, 10, 17, 8, 28, 16, 18, 23, 18, 17, 11, 2, 21, 3, 6, 2, 24, 2, 8, 13, 27, 20, 3, 3, 2, 13, 8, 15, 16, 22, 1, 20, 31, 18, 2, 23, 21, 13, 26, 6, 21, 6, 14, 30, 6],
"ct": [21, 8, 9, 18, 6, 10, 28, 10, 28, 7, 0, 21, 10, 17, 9, 18, 18, 4, 19, 4, 23, 13, 9, 18, 13, 8, 9, 16, 31, 16, 27, 22, 4, 27, 1, 6, 5, 17, 30, 9, 26, 9, 31, 22, 13, 20, 20, 17, 24, 23, 7, 13, 16, 16, 13, 27, 29, 11, 11, 2, 26, 13, 16, 20, 9, 8, 23, 21, 26, 23, 22, 7, 28, 19, 0, 12, 6, 26, 9, 19, 21, 24, 2, 6, 26, 27, 21, 6, 9, 13, 16, 15, 7, 26, 4, 6, 6, 17, 6, 29, 23, 6, 30, 7, 0, 27, 23, 6, 16, 25, 3, 1, 28, 19, 10, 9, 29, 0, 24, 29, 16, 0, 13, 23, 27, 30, 10, 19],
"result": "valid"
}
]
},
{
"keySize": 256,
"msgSize": 260,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2863,
"comment": "large message size",
"flags": [
"LargeMessageSize"
],
"key": "e3009a081a300a5d2c99b076d69e8479ab2e040342b7558d4fb8c6cf978e809f",
"tweak": "ae2aa7fbd0c4542d",
"msg": [8, 10, 20, 28, 30, 29, 0, 31, 5, 17, 1, 15, 23, 0, 8, 14, 2, 26, 8, 7, 2, 21, 4, 9, 13, 24, 18, 12, 17, 27, 19, 7, 13, 25, 1, 12, 22, 28, 19, 4, 18, 5, 16, 29, 14, 9, 1, 31, 19, 3, 8, 26, 11, 8, 26, 21, 12, 4, 17, 26, 20, 5, 29, 8, 9, 3, 31, 16, 31, 13, 7, 31, 1, 26, 3, 0, 31, 7, 30, 19, 9, 3, 21, 14, 14, 28, 26, 8, 24, 16, 31, 17, 6, 12, 9, 9, 25, 20, 29, 3, 2, 30, 18, 20, 30, 1, 14, 4, 2, 26, 5, 4, 23, 22, 5, 14, 28, 14, 19, 5, 15, 6, 5, 25, 14, 28, 5, 5, 29, 24, 27, 31, 1, 8, 23, 20, 0, 4, 27, 11, 29, 24, 23, 11, 16, 31, 29, 1, 13, 13, 25, 25, 15, 31, 8, 21, 30, 19, 0, 10, 1, 21, 14, 18, 23, 17, 30, 22, 9, 14, 12, 4, 24, 11, 7, 14, 10, 25, 17, 14, 10, 29, 0, 30, 4, 15, 3, 23, 3, 28, 10, 16, 28, 14, 2, 24, 0, 16, 23, 14, 19, 4, 10, 29, 2, 13, 24, 2, 26, 14, 14, 19, 31, 2, 26, 30, 14, 10, 9, 4, 6, 14, 25, 26, 23, 6, 8, 29, 24, 5, 10, 15, 25, 28, 31, 1, 12, 8, 7, 15, 4, 17, 23, 16, 29, 11, 1, 29, 14, 18, 5, 20, 8, 29, 18, 10, 0, 2, 29, 18],
"ct": [25, 30, 6, 15, 23, 16, 8, 17, 6, 17, 10, 28, 1, 21, 18, 29, 11, 18, 29, 12, 1, 16, 2, 14, 28, 28, 17, 5, 5, 6, 31, 8, 12, 0, 28, 25, 23, 30, 22, 17, 23, 23, 20, 20, 24, 9, 2, 1, 17, 10, 18, 9, 26, 5, 11, 24, 28, 5, 30, 25, 20, 10, 5, 4, 23, 20, 13, 5, 18, 16, 25, 28, 3, 27, 4, 31, 3, 31, 0, 20, 3, 1, 5, 26, 24, 19, 29, 0, 21, 29, 20, 15, 19, 30, 3, 24, 26, 29, 16, 6, 5, 10, 5, 22, 13, 4, 0, 24, 4, 7, 10, 26, 27, 21, 10, 26, 6, 28, 30, 7, 4, 24, 4, 24, 18, 18, 1, 5, 18, 5, 17, 5, 5, 8, 4, 24, 19, 24, 28, 28, 12, 16, 11, 15, 21, 22, 16, 29, 25, 11, 27, 7, 26, 22, 22, 2, 19, 3, 8, 15, 7, 30, 12, 25, 13, 31, 9, 30, 5, 7, 14, 11, 20, 7, 22, 16, 14, 28, 8, 22, 3, 24, 27, 14, 12, 5, 13, 12, 9, 14, 23, 22, 22, 22, 0, 6, 13, 11, 4, 13, 0, 18, 21, 3, 1, 16, 18, 28, 3, 23, 6, 12, 12, 16, 14, 15, 9, 16, 28, 11, 21, 10, 18, 19, 2, 4, 17, 27, 12, 12, 10, 31, 0, 18, 17, 5, 30, 31, 22, 9, 3, 22, 20, 12, 23, 20, 31, 19, 26, 16, 8, 20, 18, 28, 4, 6, 1, 20, 24, 14],
"result": "valid"
}
]
},
{
"keySize": 0,
"msgSize": 4,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2864,
"comment": "invalid key size",
"flags": [
"InvalidKeySize"
],
"key": "",
"tweak": "a5016eb62efc7e72",
"msg": [3, 7, 4, 20],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 8,
"msgSize": 4,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2865,
"comment": "invalid key size",
"flags": [
"InvalidKeySize"
],
"key": "2e",
"tweak": "f33d831e66c0db16",
"msg": [0, 30, 14, 18],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 64,
"msgSize": 4,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2866,
"comment": "invalid key size",
"flags": [
"InvalidKeySize"
],
"key": "1f22cd7ded80f7a8",
"tweak": "f40e82cd7c24eee2",
"msg": [15, 5, 16, 0],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 160,
"msgSize": 4,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2867,
"comment": "invalid key size",
"flags": [
"InvalidKeySize"
],
"key": "9b708898ae15bbf6758a68366f724bc1b299e6ba",
"tweak": "a769d9747fa24abf",
"msg": [2, 19, 30, 21],
"ct": [],
"result": "invalid"
}
]
},
{
"keySize": 320,
"msgSize": 4,
"radix": 32,
"type": "FpeListTest",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"tests": [
{
"tcId": 2868,
"comment": "invalid key size",
"flags": [
"InvalidKeySize"
],
"key": "9a1b29efd5efb6504153004d40c73dba3157f7aa627104918b6d1abf5723830f4d106d3178a59209",
"tweak": "c91e67905cb51765",
"msg": [20, 31, 7, 23],
"ct": [],
"result": "invalid"
}
]
}
]
}